:root {
    --eit-green: #2dbb3f;
    --eit-green-dark: #188c31;
    --eit-blue: #32aee6;
    --eit-blue-dark: #167dab;
    --eit-ink: #24343c;
    --eit-muted: #62727a;
    --eit-canvas: #f6faf8;
    --eit-soft-green: #edf9f0;
    --eit-soft-blue: #eef8fc;
    --eit-line: #dce9e3;
}

body:not(.wp-admin) {
    background: var(--eit-canvas);
    color: var(--eit-ink);
}

#site-header {
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid var(--eit-line) !important;
    box-shadow: 0 8px 28px rgba(35, 77, 58, .07);
    color: var(--eit-ink) !important;
    backdrop-filter: blur(12px);
}

#site-header .header__inner {
    max-width: 1180px !important;
    margin: auto !important;
}

#site-header .site-logo img,
#site-header img.custom-logo {
    width: 190px !important;
    height: 86px !important;
    max-width: 190px !important;
    max-height: 86px !important;
    object-fit: contain;
    opacity: 0;
}

#site-header .site-logo a,
#site-header .custom-logo-link {
    display: block;
    width: 190px;
    height: 86px;
    background: url("logo-google-wide.png") center / contain no-repeat;
}

#site-header a,
#site-header .site-title,
#site-header .site-description,
#site-header .primary-menu li > a,
#site-header .modal-menu a {
    color: var(--eit-ink) !important;
}

#site-header .primary-menu li > a {
    font-weight: 700;
}

#site-header .primary-menu li > a:hover,
#site-header .primary-menu li > a:focus,
#site-header .primary-menu .current-menu-item > a {
    color: var(--eit-green-dark) !important;
}

#site-header svg {
    fill: var(--eit-blue) !important;
}

#site-content,
.post-inner,
.entry-content {
    background-color: transparent;
}

.entry-content > .eit-portal,
.entry-content > .eit-onboarding,
.entry-content > .eit-device-enrollment {
    width: min(1120px, calc(100% - 32px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.eit-portal {
    color: var(--eit-ink) !important;
}

.eit-portal__header {
    background: linear-gradient(135deg, #ffffff 15%, var(--eit-soft-green) 58%, var(--eit-soft-blue)) !important;
    border: 1px solid var(--eit-line) !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 55px rgba(29, 83, 57, .09) !important;
}

.eit-portal__header h2,
.eit-portal h2,
.eit-portal h3 {
    color: var(--eit-ink) !important;
}

.eit-portal .eit-kicker {
    color: var(--eit-green-dark) !important;
}

.eit-portal article,
.eit-portal .eit-card {
    background: #fff !important;
    border: 1px solid var(--eit-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 38px rgba(35, 77, 58, .07) !important;
}

.eit-portal article:hover,
.eit-portal .eit-card:hover {
    border-color: #b9dbca !important;
    box-shadow: 0 20px 48px rgba(35, 109, 73, .11) !important;
}

.eit-portal button,
.eit-portal input[type="submit"],
.eit-portal .button {
    background: linear-gradient(135deg, var(--eit-green), var(--eit-green-dark)) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 9px 24px rgba(45, 187, 63, .2) !important;
    color: #fff !important;
    font-weight: 800 !important;
}

.eit-portal button:hover,
.eit-portal input[type="submit"]:hover,
.eit-portal .button:hover {
    filter: brightness(.96);
    transform: translateY(-1px);
}

.eit-portal button.eit-secondary {
    background: #fff !important;
    border: 1px solid #b9d8ca !important;
    box-shadow: none !important;
    color: var(--eit-green-dark) !important;
}

.eit-portal input,
.eit-portal select,
.eit-portal textarea {
    background: #fff !important;
    border: 1px solid #cbded5 !important;
    border-radius: 12px !important;
    color: var(--eit-ink) !important;
}

.eit-portal input:focus,
.eit-portal select:focus,
.eit-portal textarea:focus {
    border-color: var(--eit-blue) !important;
    box-shadow: 0 0 0 4px rgba(50, 174, 230, .14) !important;
    outline: none !important;
}

.eit-notice {
    background: var(--eit-soft-blue) !important;
    border-left: 4px solid var(--eit-blue) !important;
    color: #365660 !important;
}

.eit-featured {
    border-color: #9dd7ae !important;
    box-shadow: 0 20px 50px rgba(45, 187, 63, .12) !important;
}

.site-footer {
    background: #eef5f1 !important;
    border-top: 1px solid var(--eit-line) !important;
    color: var(--eit-muted) !important;
}

.site-footer a {
    color: var(--eit-ink) !important;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--eit-green-dark) !important;
}

@media (max-width: 999px) {
    #site-header .site-logo img,
    #site-header img.custom-logo {
        width: 150px !important;
        height: 70px !important;
        max-width: 150px !important;
        max-height: 70px !important;
    }

    #site-header .site-logo a,
    #site-header .custom-logo-link {
        width: 150px;
        height: 70px;
    }
}

@media (max-width: 700px) {
    .entry-content > .eit-portal,
    .entry-content > .eit-onboarding,
    .entry-content > .eit-device-enrollment {
        width: min(100% - 20px, 1120px) !important;
    }

    .eit-portal__header,
    .eit-portal article,
    .eit-portal .eit-card {
        border-radius: 16px !important;
    }
}
