:root {
    --redd-shell-teal: #347782;
    --redd-shell-teal-deep: #245f69;
    --redd-shell-teal-soft: #4d919a;
    --redd-shell-gold: #c4b396;
    --redd-shell-gold-light: #eadfc9;
    --redd-shell-white: #fff;
    --redd-shell-ink: #173f46;
    --redd-shell-muted: #5c777c;
    --redd-shell-line: rgba(255, 255, 255, .16);
    --redd-shell-shadow: 0 18px 45px rgba(18, 58, 64, .16);
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.menu-open {
    overflow: hidden;
}

/* Unified public navbar: internal appbar proportions, using the current public teal instead of white. */
#reddSiteHeader.redd-site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    color: var(--redd-shell-white);
    background: #347782 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 28px rgba(15, 52, 58, .14);
    transition: box-shadow .22s ease;
}

#reddSiteHeader.redd-site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(20, 61, 67, .2);
}

#reddSiteHeader .navbar {
    width: 100%;
    min-height: 76px;
    height: auto !important;
    padding: 0 !important;
    color: inherit;
    background: transparent !important;
}

#reddSiteHeader .redd-site-header__inner,
.redd-site-newsletter__container,
.redd-site-footer__container {
    width: min(100% - 32px, 1500px);
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: 0;
}

#reddSiteHeader .redd-site-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}

#reddSiteHeader .redd-site-header__brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    height: 54px;
    padding: 0 6px !important;
    background: transparent !important;
}

#reddSiteHeader .redd-site-header__brand img {
    display: block;
    width: auto;
    height: 48px !important;
    max-width: 172px;
    margin: 0 !important;
    object-fit: contain;
}

#reddSiteHeader .redd-site-header__collapse {
    min-width: 0;
    align-items: center;
    gap: clamp(13px, 1.5vw, 25px);
}

#reddSiteHeader .redd-site-header__links {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 !important;
}

#reddSiteHeader .redd-site-header__links .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px clamp(9px, .8vw, 13px) !important;
    color: rgba(255, 255, 255, .9) !important;
    background: transparent !important;
    border-radius: 11px;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
}

#reddSiteHeader .redd-site-header__links .nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 99px;
    background: var(--redd-shell-gold-light);
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

#reddSiteHeader .redd-site-header__links .nav-link:hover,
#reddSiteHeader .redd-site-header__links .nav-link:focus-visible,
#reddSiteHeader .redd-site-header__links .nav-link.active {
    color: var(--redd-shell-white) !important;
    background: rgba(255, 255, 255, .1) !important;
}

#reddSiteHeader .redd-site-header__links .nav-link:hover::after,
#reddSiteHeader .redd-site-header__links .nav-link:focus-visible::after,
#reddSiteHeader .redd-site-header__links .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

#reddSiteHeader .redd-site-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

#reddSiteHeader .redd-site-header__utility,
#reddSiteHeader .redd-site-header__icon-button,
#reddSiteHeader .redd-site-header__login,
#reddSiteHeader .redd-site-header__join,
#reddSiteHeader .redd-site-user__button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 12px;
    color: var(--redd-shell-white) !important;
    background: rgba(255, 255, 255, .07) !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

#reddSiteHeader .redd-site-header__utility:hover,
#reddSiteHeader .redd-site-header__utility:focus-visible,
#reddSiteHeader .redd-site-header__icon-button:hover,
#reddSiteHeader .redd-site-header__icon-button:focus-visible,
#reddSiteHeader .redd-site-header__login:hover,
#reddSiteHeader .redd-site-header__login:focus-visible,
#reddSiteHeader .redd-site-user__button:hover,
#reddSiteHeader .redd-site-user__button:focus-visible {
    color: var(--redd-shell-white) !important;
    background: rgba(255, 255, 255, .15) !important;
    border-color: rgba(255, 255, 255, .42);
    transform: translateY(-1px);
}

#reddSiteHeader .redd-site-header__profile-file {
    color: var(--redd-shell-white) !important;
}

#reddSiteHeader .redd-site-header__join {
    padding-inline: 16px;
    color: var(--redd-shell-teal-deep) !important;
    background: var(--redd-shell-gold-light) !important;
    border-color: var(--redd-shell-gold-light);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(17, 53, 58, .12);
}

#reddSiteHeader .redd-site-header__join:hover,
#reddSiteHeader .redd-site-header__join:focus-visible {
    color: var(--redd-shell-teal-deep) !important;
    background: var(--redd-shell-white) !important;
    border-color: var(--redd-shell-white);
    transform: translateY(-1px);
}

#reddSiteHeader .redd-site-header__icon-button {
    position: relative;
    width: 42px;
    flex: 0 0 42px;
    padding: 0;
    font-size: 16px !important;
}

#reddSiteHeader .redd-site-header__badge {
    position: absolute;
    top: -5px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #347782;
    border-radius: 99px;
    color: var(--redd-shell-teal-deep);
    background: var(--redd-shell-gold-light);
    font-size: 9px !important;
    font-weight: 700;
}

#reddSiteHeader .redd-site-header__chevron {
    font-size: 8px;
    opacity: .7;
}

#reddSiteHeader .redd-site-user__button {
    height: 52px;
    padding: 5px 10px 5px 6px;
    background: var(--redd-shell-white) !important;
    color: var(--redd-shell-teal-deep) !important;
    border-color: var(--redd-shell-white);
}

html[dir="ltr"] #reddSiteHeader .redd-site-user__button {
    padding: 5px 6px 5px 10px;
}

#reddSiteHeader .redd-site-user__button:hover,
#reddSiteHeader .redd-site-user__button:focus-visible {
    color: var(--redd-shell-teal-deep) !important;
    background: #f1f7f6 !important;
}

#reddSiteHeader .redd-site-user__button img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(52, 119, 130, .15);
}

#reddSiteHeader .redd-site-user__copy {
    min-width: 96px;
    display: grid;
    text-align: start;
    line-height: 1.25;
}

#reddSiteHeader .redd-site-user__copy strong {
    max-width: 130px;
    overflow: hidden;
    color: var(--redd-shell-ink);
    font-size: 12px !important;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#reddSiteHeader .redd-site-user__copy small {
    color: #6f898e;
    font-size: 10px !important;
    font-weight: 400;
}

#reddSiteHeader .redd-site-user__button > i {
    font-size: 8px;
    opacity: .65;
}

#reddSiteHeader .dropdown-menu {
    min-width: 175px;
    margin-top: 11px !important;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(52, 119, 130, .13);
    border-radius: 15px;
    background: var(--redd-shell-white);
    box-shadow: var(--redd-shell-shadow);
}

#reddSiteHeader .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    color: var(--redd-shell-ink) !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 500;
    white-space: normal;
}

#reddSiteHeader .dropdown-item:hover,
#reddSiteHeader .dropdown-item:focus,
#reddSiteHeader .dropdown-item.active {
    color: var(--redd-shell-teal-deep) !important;
    background: #eaf4f3 !important;
}

#reddSiteHeader .dropdown-item img {
    width: 21px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

#reddSiteHeader .redd-site-user__logout {
    color: #9b3d3d !important;
}

#reddSiteHeader .redd-site-notifications__menu {
    width: min(340px, calc(100vw - 32px));
    max-height: 390px;
    overflow-y: auto;
}

#reddSiteHeader .redd-site-notifications__item {
    padding: 11px 10px;
    border-bottom: 1px solid #e5eeee;
}

#reddSiteHeader .redd-site-notifications__item p {
    margin: 0 0 3px;
    color: var(--redd-shell-ink);
    font-size: 13px !important;
    line-height: 1.6;
}

#reddSiteHeader .redd-site-notifications__item span,
#reddSiteHeader .redd-site-notifications__empty {
    color: var(--redd-shell-muted);
    font-size: 11px !important;
}

#reddSiteHeader .redd-site-notifications__empty {
    padding: 18px 10px;
    text-align: center;
}

#reddSiteHeader .redd-site-notifications__more {
    justify-content: center;
    margin-top: 5px;
}

#reddSiteHeader .redd-site-header__toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    color: var(--redd-shell-white) !important;
    background: rgba(255, 255, 255, .09) !important;
    font-size: 19px !important;
    box-shadow: none !important;
}

html[dir="ltr"] #reddSiteHeader .redd-site-header__join i {
    transform: rotate(180deg);
}

/* Newsletter bridge */
.redd-site-newsletter.subscription-section {
    position: relative;
    z-index: 2;
    padding: 58px 0 0 !important;
    background: #f4f8f7 !important;
}

.redd-site-newsletter__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
    padding: clamp(26px, 3vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 26px;
    background: linear-gradient(120deg, var(--redd-shell-teal-deep), var(--redd-shell-teal));
    box-shadow: 0 22px 48px rgba(30, 84, 91, .16);
    transform: translateY(42px);
}

.redd-site-newsletter__card::after {
    content: '';
    position: absolute;
    width: 270px;
    height: 270px;
    inset-block-start: -170px;
    inset-inline-end: -90px;
    border: 45px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.redd-site-newsletter__copy {
    position: relative;
    z-index: 1;
}

.redd-site-newsletter__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--redd-shell-gold-light);
    font-size: 12px !important;
    font-weight: 500;
}

.redd-site-newsletter .redd-site-newsletter__copy h2 {
    margin: 0 0 8px;
    color: var(--redd-shell-white) !important;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 600 !important;
    line-height: 1.35;
}

.redd-site-newsletter .redd-site-newsletter__copy p {
    max-width: 540px;
    margin: 0;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8;
}

.redd-site-newsletter__form {
    position: relative;
    z-index: 1;
}

.redd-site-newsletter__field {
    min-height: 60px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 16px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 13px 30px rgba(17, 53, 58, .14);
}

html[dir="ltr"] .redd-site-newsletter__field {
    padding: 7px 16px 7px 7px;
}

.redd-site-newsletter__field > i {
    color: var(--redd-shell-teal);
    font-size: 17px;
}

.redd-site-newsletter .redd-site-newsletter__field input.form-control {
    width: 100%;
    height: 44px;
    margin: 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--redd-shell-ink);
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    direction: inherit;
}

.redd-site-newsletter .redd-site-newsletter__field input::placeholder {
    color: #8aa0a4 !important;
}

.redd-site-newsletter .redd-site-newsletter__field .button {
    height: 46px;
    min-width: 112px;
    margin: 0 !important;
    padding: 8px 18px !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: var(--redd-shell-teal-deep) !important;
    background: var(--redd-shell-gold-light) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.redd-site-newsletter .redd-site-newsletter__field .button:hover,
.redd-site-newsletter .redd-site-newsletter__field .button:focus-visible {
    color: var(--redd-shell-white) !important;
    background: var(--redd-shell-teal-deep) !important;
}

.redd-site-honeypot {
    position: absolute !important;
    inset-inline-start: -5000px !important;
}

/* Unified footer */
.footer.redd-site-footer {
    position: relative;
    padding: 112px 0 0 !important;
    color: rgba(255, 255, 255, .78);
    background: #1e5962 !important;
}

.footer.redd-site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(234, 223, 201, .55), transparent);
}

.redd-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, .62fr) minmax(260px, .78fr);
    gap: clamp(38px, 6vw, 92px);
    padding: 24px 0 54px;
}

.redd-site-footer__logo {
    display: inline-flex;
    margin: 0 0 15px;
    padding: 0;
    background: transparent !important;
}

.footer .redd-site-footer__logo img {
    width: auto;
    height: 76px;
    max-width: 210px;
    margin: 0;
    object-fit: contain;
}

.footer .redd-site-footer__brand .title,
.redd-site-footer__links h3,
.redd-site-footer__contact h3 {
    margin: 0 0 15px !important;
    color: var(--redd-shell-white) !important;
    font-size: 18px;
    font-weight: 600 !important;
}

.footer .redd-site-footer__brand .text {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .7) !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.9;
}

.footer .redd-site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
}

.footer .redd-site-footer__social li {
    margin: 0 !important;
}

.footer .redd-site-footer__social li a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 11px;
    color: rgba(255, 255, 255, .82) !important;
    background: rgba(255, 255, 255, .06) !important;
    font-size: 16px !important;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.footer .redd-site-footer__social li a:hover,
.footer .redd-site-footer__social li a:focus-visible {
    color: var(--redd-shell-teal-deep) !important;
    background: var(--redd-shell-gold-light) !important;
    border-color: var(--redd-shell-gold-light);
    transform: translateY(-2px);
}

.redd-site-footer__links nav {
    display: grid;
    gap: 5px;
}

.footer .redd-site-footer__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 0;
    color: rgba(255, 255, 255, .72) !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 400;
    transition: color .18s ease, transform .18s ease;
}

.footer .redd-site-footer__links a::before {
    content: '';
    width: 5px;
    height: 5px;
    margin-inline-end: 9px;
    border-radius: 50%;
    background: var(--redd-shell-gold);
    opacity: .72;
}

.footer .redd-site-footer__links a:hover,
.footer .redd-site-footer__links a:focus-visible {
    color: var(--redd-shell-white) !important;
    transform: translateX(-3px);
}

html[dir="ltr"] .footer .redd-site-footer__links a:hover,
html[dir="ltr"] .footer .redd-site-footer__links a:focus-visible {
    transform: translateX(3px);
}

.redd-site-footer__contact {
    width: 100%;
}

.footer .redd-site-footer__contact-line {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    padding: 6px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .74) !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.65;
}

.footer a.redd-site-footer__contact-line:hover,
.footer a.redd-site-footer__contact-line:focus-visible {
    color: var(--redd-shell-white) !important;
    background: rgba(255, 255, 255, .06) !important;
}

.redd-site-footer__contact-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(234, 223, 201, .24);
    border-radius: 11px;
    color: var(--redd-shell-gold-light);
    background: rgba(255, 255, 255, .05);
}

.footer .redd-site-footer__contact-line .info {
    color: inherit;
}

.footer .redd-site-footer__bottom {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 !important;
    padding: 18px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .11);
    color: rgba(255, 255, 255, .62) !important;
    background: transparent !important;
    font-size: 12px !important;
}

.redd-site-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer .redd-site-footer__bottom a {
    color: rgba(255, 255, 255, .78) !important;
    background: transparent !important;
    text-decoration: none !important;
}

.footer .redd-site-footer__bottom a:hover,
.footer .redd-site-footer__bottom a:focus-visible {
    color: var(--redd-shell-gold-light) !important;
}

.redd-site-footer__divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.footer .redd-site-footer__rega {
    width: auto;
    height: 48px;
    max-width: 130px;
    margin: 0 !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .68;
}

.redd-site-go-top {
    position: fixed;
    z-index: 1030;
    inset-inline-end: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    color: var(--redd-shell-white) !important;
    background: var(--redd-shell-teal) !important;
    box-shadow: 0 12px 28px rgba(22, 65, 71, .22);
}

.redd-site-go-top:hover,
.redd-site-go-top:focus-visible {
    color: var(--redd-shell-teal-deep) !important;
    background: var(--redd-shell-gold-light) !important;
}

.flash-stack {
    position: fixed;
    z-index: 1090;
    top: 104px;
    inset-inline-end: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.flash-stack .alert {
    min-width: 320px;
    max-width: min(92vw, 560px);
    margin: 0;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
    pointer-events: auto;
    font-weight: 500;
}

@media (max-width: 1399.98px) {
    #reddSiteHeader .redd-site-header__brand img {
        height: 46px !important;
        max-width: 158px;
    }

    #reddSiteHeader .redd-site-header__links .nav-link {
        padding-inline: 8px !important;
        font-size: 13px !important;
    }

    #reddSiteHeader .redd-site-header__actions {
        gap: 6px;
    }

    #reddSiteHeader .redd-site-header__utility,
    #reddSiteHeader .redd-site-header__login,
    #reddSiteHeader .redd-site-header__join,
    #reddSiteHeader .redd-site-user__button {
        padding-inline: 9px;
        font-size: 12px !important;
    }

    #reddSiteHeader .redd-site-user__copy {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    #reddSiteHeader .navbar,
    #reddSiteHeader .redd-site-header__inner {
        min-height: 68px;
    }

    #reddSiteHeader .redd-site-header__brand img {
        height: 40px !important;
    }

    #reddSiteHeader .redd-site-header__toggle {
        display: inline-flex;
        margin-inline-start: auto;
    }

    #reddSiteHeader .redd-site-header__collapse {
        position: absolute;
        top: 100%;
        inset-inline: 0;
        width: 100%;
        max-height: calc(100vh - 68px);
        padding: 16px;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, .1);
        border-radius: 0 0 20px 20px;
        background: var(--redd-shell-teal-deep) !important;
        box-shadow: 0 22px 35px rgba(17, 52, 58, .24);
    }

    #reddSiteHeader .redd-site-header__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    #reddSiteHeader .redd-site-header__links .nav-link {
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    #reddSiteHeader .redd-site-header__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        margin-top: 13px;
        padding-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    #reddSiteHeader .redd-site-header__utility,
    #reddSiteHeader .redd-site-header__icon-button,
    #reddSiteHeader .redd-site-header__login,
    #reddSiteHeader .redd-site-header__join,
    #reddSiteHeader .redd-site-user__button {
        width: 100%;
        min-height: 46px;
        padding: 9px 12px;
        font-size: 13px !important;
    }

    #reddSiteHeader .redd-site-header__icon-button {
        flex-basis: auto;
    }

    #reddSiteHeader .redd-site-user__copy {
        display: grid;
    }

    #reddSiteHeader .dropdown-menu {
        width: 100%;
        min-width: 0;
    }

    .redd-site-newsletter__card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .redd-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .redd-site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    #reddSiteHeader .redd-site-header__inner,
    .redd-site-newsletter__container,
    .redd-site-footer__container {
        width: min(100% - 24px, 1500px);
    }

    #reddSiteHeader .redd-site-header__brand img {
        height: 38px !important;
        max-width: 120px;
    }

    #reddSiteHeader .redd-site-header__links,
    #reddSiteHeader .redd-site-header__actions {
        grid-template-columns: 1fr;
    }

    .redd-site-newsletter.subscription-section {
        padding-top: 38px !important;
    }

    .redd-site-newsletter__card {
        padding: 24px 18px;
        border-radius: 20px;
        transform: translateY(30px);
    }

    .redd-site-newsletter__field {
        min-height: 58px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 8px 13px;
    }

    .redd-site-newsletter .redd-site-newsletter__field .button {
        width: 100%;
        grid-column: 1 / -1;
        margin-top: 3px !important;
    }

    .footer.redd-site-footer {
        padding-top: 82px !important;
    }

    .redd-site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }

    .redd-site-footer__brand {
        grid-column: auto;
    }

    .footer .redd-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .redd-site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .redd-site-footer__divider {
        display: none;
    }

    .flash-stack {
        top: 82px;
        inset-inline: 12px;
    }

    .flash-stack .alert {
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #reddSiteHeader *,
    .redd-site-footer *,
    .redd-site-newsletter *,
    .redd-site-go-top {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* v2.6 compact scale for the shared public navbar, newsletter, and footer. */
#reddSiteHeader .navbar,
#reddSiteHeader .redd-site-header__inner {
    min-height: 68px;
}

#reddSiteHeader .redd-site-header__inner,
.redd-site-newsletter__container,
.redd-site-footer__container {
    width: min(100% - 40px, 1420px);
    max-width: 1420px;
}

#reddSiteHeader .redd-site-header__inner {
    gap: clamp(14px, 1.5vw, 24px);
}

#reddSiteHeader .redd-site-header__brand {
    height: 49px;
}

#reddSiteHeader .redd-site-header__brand img {
    height: 43px !important;
    max-width: 156px;
}

#reddSiteHeader .redd-site-header__collapse {
    gap: clamp(10px, 1.15vw, 18px);
}

#reddSiteHeader .redd-site-header__links .nav-link {
    min-height: 38px;
    padding: 7px clamp(8px, .65vw, 11px) !important;
    border-radius: 10px;
    font-size: 13px !important;
    font-weight: 500;
}

#reddSiteHeader .redd-site-header__actions {
    gap: 7px;
}

#reddSiteHeader .redd-site-header__utility,
#reddSiteHeader .redd-site-header__icon-button,
#reddSiteHeader .redd-site-header__login,
#reddSiteHeader .redd-site-header__join,
#reddSiteHeader .redd-site-user__button {
    min-height: 40px;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 12px !important;
    font-weight: 500;
}

#reddSiteHeader .redd-site-header__join {
    padding-inline: 14px;
    font-weight: 600;
}

#reddSiteHeader .redd-site-header__icon-button {
    width: 38px;
    flex-basis: 38px;
    font-size: 14px !important;
}

#reddSiteHeader .redd-site-user__button {
    height: 46px;
}

.redd-site-newsletter.subscription-section {
    padding-top: 44px !important;
}

.redd-site-newsletter__card {
    gap: clamp(24px, 3.5vw, 50px);
    padding: clamp(22px, 2.4vw, 32px);
    border-radius: 22px;
    transform: translateY(34px);
}

.redd-site-newsletter .redd-site-newsletter__copy h2 {
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 600 !important;
}

.redd-site-newsletter .redd-site-newsletter__copy p {
    font-size: 13px !important;
    line-height: 1.7;
}

.redd-site-newsletter__field {
    min-height: 54px;
    border-radius: 14px;
}

.redd-site-newsletter .redd-site-newsletter__field input.form-control {
    height: 40px;
    font-size: 13px !important;
}

.redd-site-newsletter .redd-site-newsletter__field .button {
    height: 41px;
    min-width: 100px;
    padding-inline: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.footer.redd-site-footer {
    padding-top: 90px !important;
}

.redd-site-footer__grid {
    gap: clamp(30px, 4.5vw, 68px);
    padding: 20px 0 42px;
}

.footer .redd-site-footer__logo img {
    height: 66px;
    max-width: 190px;
}

.footer .redd-site-footer__brand .title,
.redd-site-footer__links h3,
.redd-site-footer__contact h3 {
    margin-bottom: 12px !important;
    font-size: 16px;
    font-weight: 600 !important;
}

.footer .redd-site-footer__brand .text,
.footer .redd-site-footer__links a,
.footer .redd-site-footer__contact-line {
    font-size: 13px !important;
}

.footer .redd-site-footer__bottom {
    min-height: 66px;
    padding: 14px 0 !important;
}

@media (max-width: 991.98px) {
    #reddSiteHeader .redd-site-header__inner,
    .redd-site-newsletter__container,
    .redd-site-footer__container {
        width: min(100% - 28px, 1420px);
    }

    #reddSiteHeader .redd-site-header__collapse {
        max-height: calc(100vh - 82px);
    }
}

@media (max-width: 575.98px) {
    #reddSiteHeader .navbar,
    #reddSiteHeader .redd-site-header__inner {
        min-height: 62px;
    }

    #reddSiteHeader .redd-site-header__brand {
        height: 45px;
    }

    #reddSiteHeader .redd-site-header__brand img {
        height: 39px !important;
    }

    #reddSiteHeader .redd-site-header__toggle {
        width: 39px;
        height: 39px;
    }

    .redd-site-newsletter__card {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .footer.redd-site-footer {
        padding-top: 78px !important;
    }
}
