.site-brand__logo,
.home .hero-logo {
    display: block;
    height: auto;
}

.site-header .primary-navigation {
    width: min(1168px, calc(100% - 64px));
    min-height: 54px;
    margin-inline: auto;
    padding: 0;
}

.site-header .site-brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    color: #f3ecef;
    text-decoration: none;
}

.site-brand__logo {
    width: 38px;
    filter: brightness(0) invert(.81);
}

.site-brand__name {
    display: none;
}

.site-header .primary-menu a {
    color: #f3ecef;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-header :is(.primary-menu a, .site-brand):focus-visible {
    outline: 2px solid #e3dce0;
    outline-offset: 3px;
}

.site-header .primary-navigation .primary-menu a[aria-current="page"] {
    box-shadow: inset 0 -2px var(--ado-primary);
}

.home .hero-logo {
    width: clamp(82px, 8vw, 108px);
    margin: 0 auto 17px;
    filter: brightness(0) invert(1);
    transform: scale(1.4);
    transform-origin: center 80%;
}

.home .hero-banner {
    background-image: url("images/homepage-banner.jpg");
}

.home .hero-banner .hero-overlay {
    display: none;
}

.home .hero-content h1 {
    color: #fff;
    font-weight: 700;
}

.home .hero-content .donate-btn {
    min-width: 182px;
    min-height: 52px;
    justify-content: center;
    gap: 9px;
    padding: 10px 23px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    color: var(--ado-primary);
    font-size: .9375rem;
    font-weight: 500;
    letter-spacing: .045em;
    backdrop-filter: none;
}

.home .hero-content .donate-btn i {
    color: inherit;
    font-size: 1rem;
}

.home .hero-content .donate-btn:hover {
    background: var(--ado-secondary);
    color: var(--ado-primary);
}

.home .hero-content .social-icons a {
    border: 1px solid #fff;
    background: #ffffff06;
    transition: border-color .2s ease, color .2s ease;
}

.home .hero-content .social-icons a:is(:hover, :focus-visible) {
    border-color: var(--ado-primary);
    color: var(--ado-primary);
}

.hero-contact-strip {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    border-block: 1px solid #ffffff26;
    color: #dedada;
}

.hero-contact-strip__inner {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 0 24px;
    padding: 5px 17px;
}

.hero-contact-strip .hero-email {
    margin: 0 0 2px;
}

.hero-contact-strip .hero-email a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    color: #dedada;
    font-size: .9375rem;
    font-weight: 400;
}

.hero-contact-strip .hero-email i {
    font-size: .9375rem;
}

.hero-contact-strip .hero-email a:hover span {
    text-decoration: underline;
}

.hero-contact-strip .hero-cuit {
    padding-left: 24px;
    border-left: 1px solid #ffffff26;
    font-size: .875rem;
    font-weight: 300;
    line-height: 1.45;
    white-space: nowrap;
}

/* Keep the CUIT legible if a browser automatically detects a phone number. */
.hero-contact-strip .hero-cuit,
.hero-contact-strip .hero-cuit a {
    color: #e3dce0 !important;
    -webkit-text-fill-color: currentColor !important;
}

.hero-contact-strip .hero-cuit a {
    pointer-events: none;
    text-decoration: none !important;
}

.home .hero-content :is(.donate-btn, .hero-email a, .social-icons a):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (min-width: 769px) {
    .site-header .primary-navigation {
        display: grid;
        grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    }

    .site-header .site-brand {
        justify-self: start;
    }

    .site-header .primary-menu {
        grid-column: 2;
        gap: clamp(18px, 2.8vw, 39px);
        width: auto;
    }

    .site-header .primary-menu a {
        min-height: 54px;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .site-header .primary-navigation {
        justify-content: space-between;
        gap: 16px;
        width: calc(100% - 40px);
        min-height: 52px;
    }

    .site-header .site-brand {
        margin-inline-end: auto;
    }

    .site-brand__logo {
        width: 34px;
    }

    .site-brand__name {
        display: inline;
        color: rgba(255, 255, 255, .82);
        font-size: .9375rem;
        font-weight: 700;
        letter-spacing: .035em;
        text-transform: capitalize;
    }

    .site-header .primary-menu {
        top: 100%;
        padding: 8px 20px 12px;
        border-bottom: 1px solid #ffffff26;
    }

    .site-header .primary-menu li + li {
        border-top: 1px solid #ffffff18;
    }

    .site-header .primary-menu a {
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }

    .site-header .primary-navigation .primary-menu a[aria-current="page"] {
        box-shadow: none;
        color: #fff;
        font-weight: 400;
    }
}

@media (max-width: 480px) {
    .hero-contact-strip__inner {
        flex-direction: column;
        padding: 4px 16px 11px;
    }

    .hero-contact-strip .hero-cuit {
        padding-left: 0;
        border-left: 0;
    }
}

