:root {
    --oihr-navy: #071d31;
    --oihr-navy-soft: #0d2b43;
    --oihr-accent: #ef643c;
    --oihr-white: #ffffff;
    --oihr-container: 100%;
    --oihr-shell-fallback: 1240px;
}

body.oihr-active .tdc-header-template-wrap,
body.oihr-active .td-header-wrap,
body.oihr-active .td-header-template-wrap,
body.oihr-active .td-header-desktop-sticky-wrap,
body.oihr-active .td-header-mobile-sticky-wrap,
body.oihr-active #td-mobile-nav,
body.oihr-active .td-menu-background {
    display: none !important;
}

#oihr-header,
#oihr-header * {
    box-sizing: border-box;
}

#oihr-header {
    position: relative;
    z-index: 80;
    width: 100%;
    max-width: var(--oihr-shell-fallback);
    margin: 0 auto;
    color: var(--oihr-white);
    background: var(--oihr-navy);
    box-shadow: 0 10px 30px rgba(4, 23, 38, 0.14);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.oihr-container {
    width: min(100%, var(--oihr-container));
    margin: 0 auto;
    padding-right: 52px;
    padding-left: 52px;
}

.oihr-topbar {
    background: rgba(3, 21, 38, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.oihr-topbar-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
    line-height: 1;
}

.oihr-topbar-left,
.oihr-topbar-right,
.oihr-weather,
.oihr-account-link,
.oihr-logout-link,
.oihr-language-switcher {
    display: flex;
    align-items: center;
}

.oihr-topbar-left,
.oihr-topbar-right {
    gap: 13px;
    min-width: 0;
}

.oihr-weather {
    gap: 5px;
    white-space: nowrap;
}

.oihr-weather-value {
    margin-left: 3px;
    font-weight: 600;
}

.oihr-weather-unit {
    margin-left: -3px;
    font-size: 11px;
    opacity: 0.95;
}

.oihr-weather-city {
    margin-left: 5px;
    font-weight: 600;
}

.oihr-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
}

.oihr-icon svg,
.oihr-search-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.oihr-icon-sun svg circle {
    fill: currentColor;
    stroke: none;
}

.oihr-icon-sun {
    color: #fff9e9;
}

.oihr-separator {
    width: 1px;
    height: 22px;
    flex: 0 0 1px;
    background: rgba(255, 255, 255, 0.32);
}

.oihr-date {
    white-space: nowrap;
    opacity: 0.94;
}

.oihr-language-switcher {
    gap: 10px;
}

.oihr-language-switcher a,
.oihr-account-link,
.oihr-logout-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.oihr-language-switcher a {
    font-weight: 600;
    opacity: 0.75;
}

.oihr-language-switcher a.is-active,
.oihr-language-switcher a:hover,
.oihr-account-link:hover,
.oihr-logout-link:hover {
    color: #fff;
    opacity: 1;
}

.oihr-language-divider {
    opacity: 0.38;
}

.oihr-account-link,
.oihr-logout-link {
    gap: 8px;
    white-space: nowrap;
    opacity: 0.92;
}

.oihr-hero {
    position: relative;
    min-height: 306px;
    isolation: isolate;
    overflow: hidden;
    background-color: #18384e;
    background-image: var(--oihr-hero-image);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.oihr-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 24, 40, 0.24) 0%, rgba(4, 24, 40, 0.16) 34%, rgba(4, 24, 40, 0.035) 68%, rgba(4, 24, 40, 0.07) 100%),
        linear-gradient(180deg, rgba(255, 196, 150, 0.025) 0%, rgba(3, 20, 34, 0.055) 100%);
}

.oihr-hero-inner {
    min-height: 306px;
    display: grid;
    grid-template-columns: 220px 2px minmax(300px, 1fr) 240px;
    align-items: center;
    gap: 22px;
}

.oihr-logo {
    display: block;
    width: 205px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.oihr-logo img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

.oihr-brand-divider {
    width: 2px;
    height: 72px;
    background: var(--oihr-accent);
    box-shadow: 0 0 0 1px rgba(239, 100, 60, 0.08);
}

.oihr-brand-copy {
    min-width: 0;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.oihr-tagline {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 2.15vw, 32px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.oihr-subtitle {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.oihr-search {
    width: 100%;
    height: 48px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 3px solid var(--oihr-accent);
    border-radius: 8px;
    background: rgba(5, 24, 41, 0.62);
    box-shadow: 0 10px 28px rgba(1, 13, 24, 0.18);
    backdrop-filter: blur(6px);
}

.oihr-search:focus-within {
    border-color: rgba(255, 255, 255, 0.56);
    border-right-color: var(--oihr-accent);
    box-shadow: 0 0 0 3px rgba(239, 100, 60, 0.18);
}

.oihr-search-icon {
    width: 20px;
    height: 20px;
    margin-left: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.oihr-search input[type="search"] {
    width: 100%;
    height: 46px;
    min-width: 0;
    margin: 0;
    padding: 0 14px 0 5px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 15px;
    box-shadow: none;
    -webkit-appearance: none;
}

.oihr-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.67);
    opacity: 1;
}

.oihr-search input[type="search"]::-webkit-search-cancel-button {
    filter: invert(1);
}

.oihr-search button {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.oihr-navigation {
    min-height: 54px;
    background: rgba(3, 22, 38, 0.99);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 12px rgba(2, 17, 29, 0.12);
}

.oihr-nav-inner {
    min-height: 54px;
    display: flex;
    align-items: stretch;
}

.oihr-menu-wrap {
    width: 100%;
}

.oihr-menu {
    min-height: 54px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oihr-menu li {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oihr-menu > li > a {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: color 0.18s ease, background 0.18s ease;
}

.oihr-menu > li:first-child > a {
    padding-left: 12px;
}

.oihr-menu > li > a:hover,
.oihr-menu > li.current-menu-item > a,
.oihr-menu > li.current-menu-ancestor > a,
.oihr-menu > li.current_page_item > a {
    color: var(--oihr-accent);
    background: rgba(255, 255, 255, 0.025);
}

.oihr-menu > li.current-menu-item::after,
.oihr-menu > li.current-menu-ancestor::after,
.oihr-menu > li.current_page_item::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 3px;
    background: var(--oihr-accent);
}

.oihr-menu .sub-menu {
    min-width: 230px;
    display: none;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 14px 32px rgba(2, 19, 32, 0.22);
}

.oihr-menu li:hover > .sub-menu,
.oihr-menu li:focus-within > .sub-menu {
    display: block;
}

.oihr-menu .sub-menu li,
.oihr-menu .sub-menu a {
    display: block;
    width: 100%;
}

.oihr-menu .sub-menu a {
    padding: 11px 18px;
    color: #173247;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
}

.oihr-menu .sub-menu a:hover {
    color: var(--oihr-accent);
    background: #f4f7f9;
}

.oihr-mobile-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1280px) {
    .oihr-container {
        padding-right: 36px;
        padding-left: 36px;
    }
}

@media (max-width: 1180px) {
    .oihr-container {
        padding-right: 28px;
        padding-left: 28px;
    }

    .oihr-hero-inner {
        grid-template-columns: 220px 2px minmax(300px, 1fr) 240px;
        gap: 22px;
    }

    .oihr-logo {
        width: 205px;
    }

    .oihr-tagline {
        font-size: 30px;
    }

    .oihr-subtitle {
        font-size: 15px;
    }

    .oihr-menu > li > a {
        padding-right: 18px;
        padding-left: 18px;
        font-size: 13px;
    }
}

@media (max-width: 930px) {
    .oihr-topbar-inner {
        min-height: 48px;
    }

    .oihr-account-link span:last-child,
    .oihr-logout-link span:last-child,
    .oihr-account-separator {
        display: none;
    }

    .oihr-hero,
    .oihr-hero-inner {
        min-height: 245px;
    }

    .oihr-hero-inner {
        grid-template-columns: 185px 2px minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        column-gap: 20px;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .oihr-logo {
        width: 175px;
    }

    .oihr-brand-divider {
        height: 62px;
    }

    .oihr-tagline {
        font-size: 28px;
    }

    .oihr-search {
        grid-column: 1 / -1;
        width: min(420px, 100%);
        justify-self: end;
    }

    .oihr-navigation,
    .oihr-nav-inner {
        min-height: 52px;
    }

    .oihr-mobile-toggle {
        min-height: 52px;
        display: flex;
    }

    .oihr-menu-wrap {
        display: none;
        position: absolute;
        z-index: 120;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--oihr-navy);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    }

    .oihr-navigation {
        position: relative;
    }

    .oihr-navigation.is-open .oihr-menu-wrap {
        display: block;
    }

    .oihr-menu {
        min-height: 0;
        display: block;
        padding: 8px 0 14px;
    }

    .oihr-menu li {
        display: block;
    }

    .oihr-menu > li > a,
    .oihr-menu > li:first-child > a {
        min-height: 46px;
        padding: 0 28px;
        font-size: 14px;
    }

    .oihr-menu > li.current-menu-item::after,
    .oihr-menu > li.current-menu-ancestor::after,
    .oihr-menu > li.current_page_item::after {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 0;
        width: 3px;
        height: auto;
    }

    .oihr-menu .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 4px 18px;
        background: transparent;
        box-shadow: none;
    }

    .oihr-menu .sub-menu a {
        color: rgba(255, 255, 255, 0.78);
        padding: 8px 28px;
    }
}

@media (max-width: 640px) {
    .oihr-container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .oihr-topbar-inner {
        min-height: 44px;
        gap: 10px;
        font-size: 12px;
    }

    .oihr-date,
    .oihr-topbar-left > .oihr-separator,
    .oihr-topbar-right > .oihr-separator,
    .oihr-account-link,
    .oihr-logout-link {
        display: none;
    }

    .oihr-topbar-left,
    .oihr-topbar-right {
        gap: 8px;
    }

    .oihr-hero,
    .oihr-hero-inner {
        min-height: 265px;
    }

    .oihr-hero {
        background-position: 38% center;
    }

    .oihr-hero-inner {
        display: grid;
        grid-template-columns: 132px 1px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 16px;
        align-content: center;
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .oihr-logo {
        width: 130px;
    }

    .oihr-brand-divider {
        width: 1px;
        height: 54px;
    }

    .oihr-tagline {
        font-size: clamp(20px, 6vw, 25px);
        letter-spacing: -0.025em;
    }

    .oihr-subtitle {
        margin-top: 6px;
        font-size: 12px;
    }

    .oihr-search {
        grid-column: 1 / -1;
        width: 100%;
        height: 44px;
    }

    .oihr-search input[type="search"] {
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #oihr-header *,
    #oihr-header *::before,
    #oihr-header *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* Version 1.3.0: fixed 1240px shell, flush content integration and lighter visual treatment. */
body.oihr-active .oihr-artifact-hidden {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

body.home.oihr-active .td-crumb-container,
body.home.oihr-active .td-breadcrumbs,
body.home.oihr-active .td-page-header,
body.home.oihr-active .td-page-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.oihr-active #oihr-header ~ .tdc-content-wrap,
body.oihr-active #oihr-header ~ .td-main-content-wrap,
body.oihr-active #oihr-header ~ .td-main-page-wrap,
body.oihr-active .oihr-content-shell {
    margin-top: 0 !important;
}

body.oihr-active .oihr-content-shell {
    width: 100% !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

@media (max-width: 1240px) {
    #oihr-header,
    body.oihr-active .oihr-content-shell {
        max-width: 100% !important;
    }
}


/* Version 1.4.0: keep the TagDiv footer on the same 1240px outer shell as the header and homepage. */
body.oihr-active .tdc-footer-template-wrap,
body.oihr-active .td-footer-template-wrap,
body.oihr-active .td-footer-wrap,
body.oihr-active footer.td-footer-wrap,
body.oihr-active footer[role="contentinfo"] {
    width: 100% !important;
    max-width: 1240px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* TagDiv commonly keeps the visible footer background on a narrower 1140px row.
   Expand only footer rows/wrappers; editorial rows elsewhere are not affected. */
body.oihr-active .tdc-footer-template-wrap .tdc-zone,
body.oihr-active .tdc-footer-template-wrap .tdc_zone,
body.oihr-active .tdc-footer-template-wrap .tdc-row,
body.oihr-active .tdc-footer-template-wrap .td-container,
body.oihr-active .tdc-footer-template-wrap .td-container-wrap,
body.oihr-active .td-footer-template-wrap .tdc-zone,
body.oihr-active .td-footer-template-wrap .tdc_zone,
body.oihr-active .td-footer-template-wrap .tdc-row,
body.oihr-active .td-footer-template-wrap .td-container,
body.oihr-active .td-footer-template-wrap .td-container-wrap,
body.oihr-active .td-footer-wrap .td-container,
body.oihr-active .td-footer-wrap .td-container-wrap,
body.oihr-active .td-footer-wrap .td-pb-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (max-width: 1240px) {
    body.oihr-active .tdc-footer-template-wrap,
    body.oihr-active .td-footer-template-wrap,
    body.oihr-active .td-footer-wrap,
    body.oihr-active footer.td-footer-wrap,
    body.oihr-active footer[role="contentinfo"] {
        max-width: 100% !important;
    }
}


/* Version 1.5.0: prevent TagDiv footer padding from increasing the rendered shell width.
   In 1.4.0 some footer rows used content-box sizing, so width:100% plus their
   horizontal padding made the visible footer slightly wider than the header. */
body.oihr-active .tdc-footer-template-wrap,
body.oihr-active .td-footer-template-wrap,
body.oihr-active .td-footer-wrap,
body.oihr-active footer.td-footer-wrap,
body.oihr-active footer[role="contentinfo"],
body.oihr-active .tdc-footer-template-wrap .tdc-zone,
body.oihr-active .tdc-footer-template-wrap .tdc_zone,
body.oihr-active .tdc-footer-template-wrap .tdc-row,
body.oihr-active .tdc-footer-template-wrap .td-container,
body.oihr-active .tdc-footer-template-wrap .td-container-wrap,
body.oihr-active .td-footer-template-wrap .tdc-zone,
body.oihr-active .td-footer-template-wrap .tdc_zone,
body.oihr-active .td-footer-template-wrap .tdc-row,
body.oihr-active .td-footer-template-wrap .td-container,
body.oihr-active .td-footer-template-wrap .td-container-wrap,
body.oihr-active .td-footer-wrap .td-container,
body.oihr-active .td-footer-wrap .td-container-wrap,
body.oihr-active .td-footer-wrap .td-pb-row {
    box-sizing: border-box !important;
}

/* Version 1.6.0: exact footer-to-header alignment.
   The visible overrun was caused by TagDiv rows using negative margins / offsets,
   not by box-sizing. Keep one exact shell and prevent descendants from escaping it. */
body.oihr-active .oihr-footer-shell {
    display: block !important;
    width: var(--oihr-footer-width, 1240px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-x: clip !important;
}

body.oihr-active .oihr-footer-shell .oihr-footer-normalized-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 700px) {
    body.oihr-active .oihr-footer-shell {
        max-width: 100% !important;
    }
}

/* Version 1.7.1 — approved luminous Variant A.
   Exact 1.6.0 shell/footer alignment is preserved. Only the visual header is changed. */
#oihr-header {
    --oihr-navy: #062542;
    --oihr-navy-soft: #0b3154;
    --oihr-accent: #f36b35;
    background: var(--oihr-navy);
    box-shadow: 0 9px 26px rgba(3, 28, 49, 0.13);
}

#oihr-header .oihr-topbar {
    min-height: 44px;
    background: #062542;
    border-bottom: 1px solid rgba(255,255,255,.11);
}

#oihr-header .oihr-topbar-inner {
    min-height: 44px;
    padding-right: 34px;
    padding-left: 34px;
    font-size: 13px;
}

#oihr-header .oihr-icon-sun {
    color: #ffb125;
}

/* The bundled panorama has the exact proportions of the approved mockup. */
#oihr-header .oihr-hero {
    min-height: 0;
    aspect-ratio: 1472 / 298;
    background-color: #eef8fd;
    background-position: center center;
    background-size: 100% 100%;
}

#oihr-header .oihr-hero::before {
    display: none;
}

#oihr-header .oihr-hero-inner {
    min-height: 0;
    height: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 168px 2px minmax(390px, 560px);
    justify-content: start;
    align-items: center;
    gap: 20px;
    padding: 0 34px;
}

#oihr-header .oihr-logo {
    width: 160px;
}

#oihr-header .oihr-logo img {
    filter: drop-shadow(0 3px 7px rgba(30, 82, 116, .06));
}

#oihr-header .oihr-brand-divider {
    width: 2px;
    height: 76px;
    background: var(--oihr-accent);
    box-shadow: none;
}

#oihr-header .oihr-brand-copy {
    min-width: 0;
    text-shadow: none;
}

#oihr-header .oihr-tagline {
    color: #082a4b;
    font-size: clamp(27px, 2.3vw, 34px);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.03;
    white-space: nowrap;
}

#oihr-header .oihr-subtitle {
    margin-top: 9px;
    color: #415a70;
    font-size: 14px;
    font-weight: 450;
}

/* Positioned over and slightly larger than the visual search field in the mockup source,
   so the real WordPress search remains fully functional and visually exact. */
#oihr-header .oihr-search {
    position: absolute;
    top: 36.9%;
    right: 44px;
    width: 310px;
    height: 50px;
    grid-template-columns: 42px minmax(0, 1fr);
    border: 1px solid rgba(7, 42, 75, .10);
    border-right: 3px solid var(--oihr-accent);
    border-radius: 11px;
    background: rgba(255,255,255,.985);
    box-shadow: 0 10px 24px rgba(9,44,72,.14);
    backdrop-filter: blur(8px);
}

#oihr-header .oihr-search:focus-within {
    border-color: rgba(8,42,75,.23);
    border-right-color: var(--oihr-accent);
    box-shadow: 0 0 0 3px rgba(243,107,53,.13), 0 10px 24px rgba(9,44,72,.14);
}

#oihr-header .oihr-search-icon {
    color: #526a7e;
}

#oihr-header .oihr-search input[type="search"] {
    height: 48px;
    color: #0b2d4d;
    font-size: 14px;
}

#oihr-header .oihr-search input[type="search"]::placeholder {
    color: #697d8d;
}

#oihr-header .oihr-search input[type="search"]::-webkit-search-cancel-button {
    filter: none;
}

#oihr-header .oihr-navigation {
    min-height: 52px;
    background: #062542;
    border-bottom-color: rgba(255,255,255,.07);
}

#oihr-header .oihr-nav-inner,
#oihr-header .oihr-menu,
#oihr-header .oihr-menu > li > a {
    min-height: 52px;
}

#oihr-header .oihr-nav-inner {
    padding-right: 34px;
    padding-left: 34px;
}

#oihr-header .oihr-menu > li > a {
    padding: 0 20px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    #oihr-header .oihr-hero-inner {
        grid-template-columns: 150px 2px minmax(310px, 480px);
        gap: 17px;
    }

    #oihr-header .oihr-logo {
        width: 144px;
    }

    #oihr-header .oihr-tagline {
        font-size: 28px;
    }

    #oihr-header .oihr-search {
        right: 30px;
        width: 235px;
    }
}

@media (max-width: 930px) {
    #oihr-header .oihr-hero {
        min-height: 250px;
        aspect-ratio: auto;
        background-position: 44% center;
        background-size: cover;
    }

    #oihr-header .oihr-hero-inner {
        min-height: 250px;
        grid-template-columns: 142px 2px minmax(0, 1fr);
        grid-template-rows: 1fr auto;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    #oihr-header .oihr-logo {
        width: 136px;
    }

    #oihr-header .oihr-tagline {
        white-space: normal;
        font-size: 26px;
    }

    #oihr-header .oihr-search {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 1 / -1;
        width: min(410px, 100%);
        height: 46px;
    }
}

@media (max-width: 640px) {
    #oihr-header .oihr-topbar-inner,
    #oihr-header .oihr-hero-inner,
    #oihr-header .oihr-nav-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    #oihr-header .oihr-hero {
        min-height: 270px;
        background-position: 30% center;
    }

    #oihr-header .oihr-hero-inner {
        min-height: 270px;
        grid-template-columns: 118px 1px minmax(0, 1fr);
        gap: 13px;
    }

    #oihr-header .oihr-logo {
        width: 112px;
    }

    #oihr-header .oihr-brand-divider {
        height: 52px;
    }

    #oihr-header .oihr-tagline {
        font-size: clamp(19px, 5.8vw, 24px);
    }

    #oihr-header .oihr-subtitle {
        font-size: 11.5px;
    }

    #oihr-header .oihr-search {
        width: 100%;
    }
}


/* 1.7.1 hard guarantee: the approved panorama is shown at native brightness. */
#oihr-header .oihr-hero {
    filter: none !important;
    opacity: 1 !important;
    background-blend-mode: normal !important;
}
#oihr-header .oihr-hero::before,
#oihr-header .oihr-hero::after {
    display: none !important;
    content: none !important;
    background: none !important;
}


/* Version 1.7.2 — mobile search belongs to the navigation bar, not over the sea. */
#oihr-header .oihr-mobile-search {
    display: none;
}

@media (max-width: 930px) {
    /* The desktop search remains in the luminous hero only on desktop. */
    #oihr-header .oihr-hero .oihr-search {
        display: none !important;
    }

    #oihr-header .oihr-navigation,
    #oihr-header .oihr-nav-inner {
        min-height: 58px;
    }

    #oihr-header .oihr-nav-inner {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    #oihr-header .oihr-mobile-toggle {
        min-height: 58px;
        flex: 0 0 auto;
    }

    #oihr-header .oihr-mobile-search {
        width: min(240px, 52vw);
        height: 40px;
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        position: relative;
        margin-left: auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .20);
        border-right: 3px solid var(--oihr-accent);
        border-radius: 9px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 6px 16px rgba(0, 13, 25, .18);
    }

    #oihr-header .oihr-mobile-search:focus-within {
        border-color: rgba(255, 255, 255, .52);
        border-right-color: var(--oihr-accent);
        box-shadow: 0 0 0 3px rgba(243, 107, 53, .16), 0 6px 16px rgba(0, 13, 25, .18);
    }

    #oihr-header .oihr-mobile-search-icon {
        width: 19px;
        height: 19px;
        margin-left: 12px;
        color: #526a7e;
    }

    #oihr-header .oihr-mobile-search-icon svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #oihr-header .oihr-mobile-search input[type="search"] {
        width: 100%;
        height: 38px;
        min-width: 0;
        margin: 0;
        padding: 0 10px 0 3px;
        border: 0;
        outline: 0;
        color: #0b2d4d;
        background: transparent;
        font: inherit;
        font-size: 13px;
        box-shadow: none;
        -webkit-appearance: none;
    }

    #oihr-header .oihr-mobile-search input[type="search"]::placeholder {
        color: #697d8d;
        opacity: 1;
    }

    #oihr-header .oihr-mobile-search button {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    #oihr-header .oihr-menu-wrap {
        top: 100%;
    }
}

@media (max-width: 430px) {
    #oihr-header .oihr-nav-inner {
        gap: 10px;
    }

    #oihr-header .oihr-mobile-toggle {
        font-size: 14px;
    }

    #oihr-header .oihr-mobile-search {
        width: min(190px, 56vw);
        grid-template-columns: 34px minmax(0, 1fr);
    }

    #oihr-header .oihr-mobile-search-icon {
        width: 17px;
        height: 17px;
        margin-left: 10px;
    }

    #oihr-header .oihr-mobile-search input[type="search"] {
        font-size: 12.5px;
        padding-right: 8px;
    }
}

/* Version 1.8.1 — Featured Today aligned editorial grid.
   The replacement is inserted at the shared section level, then constrained
   to the same content width as the homepage. Existing WordPress content,
   links, categories, dates and images remain the source of truth. */
body.oihr-active .oihr-featured-original-hidden {
    display: none !important;
}

body.oihr-active .oihr-featured-section-enhanced {
    overflow: visible !important;
}

body.oihr-active .oihr-featured-redesign {
    --oifr-navy: #082a4b;
    --oifr-blue: #147cc1;
    --oifr-accent: #f36b35;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 22px auto 10px !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.oihr-active .oihr-featured-new-card {
    width: 100% !important;
    min-width: 0 !important;
    height: 332px !important;
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(8, 42, 75, .08) !important;
    border-radius: 18px !important;
    color: #fff !important;
    text-decoration: none !important;
    background: #dce9f1 !important;
    box-shadow: 0 12px 30px rgba(8, 42, 75, .10) !important;
    isolation: isolate;
    transform: translateZ(0) !important;
    transition: transform .24s ease, box-shadow .24s ease !important;
}

body.oihr-active .oihr-featured-new-card:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 36px rgba(8, 42, 75, .14) !important;
}

body.oihr-active .oihr-featured-media,
body.oihr-active .oihr-featured-media img,
body.oihr-active .oihr-featured-shade {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

body.oihr-active .oihr-featured-media {
    z-index: -3 !important;
    background: #dce9f1 !important;
}

body.oihr-active .oihr-featured-media img {
    display: block !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform .55s cubic-bezier(.2,.7,.2,1) !important;
}

body.oihr-active .oihr-featured-new-card:hover .oihr-featured-media img {
    transform: scale(1.018) !important;
}

body.oihr-active .oihr-featured-shade {
    z-index: -2 !important;
    background: linear-gradient(180deg, rgba(3, 22, 38, .02) 20%, rgba(3, 22, 38, .22) 50%, rgba(3, 22, 38, .94) 100%) !important;
}

body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-shade {
    background:
        linear-gradient(90deg, rgba(3, 22, 38, .74) 0%, rgba(3, 22, 38, .42) 54%, rgba(3, 22, 38, .08) 100%),
        linear-gradient(180deg, rgba(3, 22, 38, .00) 28%, rgba(3, 22, 38, .88) 100%) !important;
}

body.oihr-active .oihr-featured-content {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 22px !important;
}

body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-content {
    padding: 26px !important;
}

body.oihr-active .oihr-featured-meta {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 11px !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

body.oihr-active .oihr-featured-category {
    max-width: 100% !important;
    min-height: 24px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 9px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(20, 124, 193, .90) !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

body.oihr-active .oihr-featured-date {
    color: rgba(255,255,255,.78) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

body.oihr-active .oihr-featured-title {
    min-width: 0 !important;
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: clamp(20px, 1.65vw, 25px) !important;
    font-weight: 760 !important;
    line-height: 1.09 !important;
    letter-spacing: -.028em !important;
    text-wrap: balance !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
}

body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-title {
    max-width: 88% !important;
    font-size: clamp(29px, 2.45vw, 36px) !important;
    line-height: 1.04 !important;
    -webkit-line-clamp: 3 !important;
}

body.oihr-active .oihr-featured-excerpt {
    max-width: 82% !important;
    display: -webkit-box !important;
    margin: 11px 0 0 !important;
    overflow: hidden !important;
    color: rgba(255,255,255,.84) !important;
    font-size: 13.5px !important;
    line-height: 1.42 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

body.oihr-active .oihr-featured-cta {
    width: max-content !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 16px !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    color: var(--oifr-navy) !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.10) !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: .075em !important;
    text-transform: uppercase !important;
}

body.oihr-active .oihr-featured-cta::after {
    content: "→" !important;
    color: var(--oifr-blue) !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-excerpt,
body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-cta {
    display: none !important;
}

@media (max-width: 1100px) {
    body.oihr-active .oihr-featured-redesign {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
        grid-template-rows: repeat(2, 157px) !important;
        gap: 16px !important;
    }

    body.oihr-active .oihr-featured-new-card {
        height: 157px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary {
        height: 330px !important;
        grid-row: 1 / span 2 !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        padding: 18px !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-meta {
        margin-bottom: 7px !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        font-size: clamp(18px, 2.25vw, 23px) !important;
        -webkit-line-clamp: 3 !important;
    }
}

@media (max-width: 760px) {
    body.oihr-active .oihr-featured-redesign {
        display: flex !important;
        flex-direction: column !important;
        gap: 13px !important;
        margin: 15px auto 5px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary {
        width: 100% !important;
        height: 310px !important;
        min-height: 0 !important;
        grid-row: auto !important;
        border-radius: 17px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-content {
        padding: 20px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-title {
        max-width: 94% !important;
        font-size: clamp(25px, 7vw, 31px) !important;
        line-height: 1.04 !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-excerpt {
        display: none !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-cta {
        margin-top: 14px !important;
        padding: 8px 12px !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) {
        width: 100% !important;
        height: 132px !important;
        min-height: 132px !important;
        display: grid !important;
        grid-template-columns: 38% minmax(0, 1fr) !important;
        overflow: hidden !important;
        border-color: rgba(8,42,75,.10) !important;
        border-radius: 16px !important;
        color: var(--oifr-navy) !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(8,42,75,.08) !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary):hover {
        color: var(--oifr-navy) !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        width: 38% !important;
        height: 100% !important;
        position: absolute !important;
        inset: 0 auto 0 0 !important;
        z-index: 0 !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-media img {
        position: static !important;
        object-position: center center !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-shade {
        display: none !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        grid-column: 2 !important;
        height: 100% !important;
        justify-content: center !important;
        z-index: 2 !important;
        padding: 13px 14px !important;
        color: var(--oifr-navy) !important;
        background: #fff !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-meta {
        gap: 6px !important;
        margin-bottom: 7px !important;
        font-size: 8.5px !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-category {
        min-height: 21px !important;
        max-width: 100% !important;
        padding: 3px 7px !important;
        color: #0b5f98 !important;
        border-color: rgba(20,124,193,.13) !important;
        background: #eaf6fd !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-date {
        color: #6a7d8e !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        color: var(--oifr-navy) !important;
        font-size: clamp(16px, 4.3vw, 20px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.022em !important;
        -webkit-line-clamp: 3 !important;
    }
}

@media (max-width: 430px) {
    body.oihr-active .oihr-featured-new-card.is-primary {
        height: 285px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-content {
        padding: 18px !important;
    }

    body.oihr-active .oihr-featured-new-card.is-primary .oihr-featured-title {
        font-size: clamp(23px, 6.9vw, 28px) !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) {
        height: 120px !important;
        min-height: 120px !important;
        grid-template-columns: 36% minmax(0, 1fr) !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        width: 36% !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        padding: 11px 12px !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        font-size: clamp(15px, 4.1vw, 18px) !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-new-card:not(.is-primary) .oihr-featured-date {
        display: none !important;
    }
}


/* Version 1.8.4 — deterministic Featured Today geometry and refined editorial cards.
   The module may be injected from inside a narrow TagDiv column, so its width
   and horizontal offset are measured against the full section-title wrapper. */
body.oihr-active .oihr-featured-overflow-host {
    overflow: visible !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
    width: var(--oihr-featured-target-width, 100%) !important;
    max-width: var(--oihr-featured-target-width, none) !important;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    margin: 22px 0 12px var(--oihr-featured-offset, 0px) !important;
    justify-content: stretch !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card {
    height: 304px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 24px rgba(8, 42, 75, .09) !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-content {
    padding: 21px !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content {
    padding: 23px !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-title {
    font-size: clamp(19px, 1.45vw, 23px) !important;
    line-height: 1.10 !important;
    -webkit-line-clamp: 4 !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title {
    max-width: 92% !important;
    font-size: clamp(26px, 2vw, 31px) !important;
    line-height: 1.05 !important;
    -webkit-line-clamp: 3 !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-excerpt {
    display: none !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta {
    margin-top: 14px !important;
    padding: 8px 12px !important;
}

body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-meta {
    margin-bottom: 9px !important;
}

@media (max-width: 980px) and (min-width: 761px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
        grid-template-rows: repeat(2, 144px) !important;
        gap: 16px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card {
        height: 144px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary {
        height: 304px !important;
        grid-row: 1 / span 2 !important;
    }
}

@media (max-width: 760px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        width: var(--oihr-featured-target-width, 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin: 15px 0 6px var(--oihr-featured-offset, 0px) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary {
        height: 258px !important;
        min-height: 258px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content {
        padding: 18px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title {
        max-width: 96% !important;
        font-size: clamp(23px, 6.4vw, 28px) !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) {
        height: 116px !important;
        min-height: 116px !important;
        grid-template-columns: 35% minmax(0, 1fr) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        width: 35% !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        padding: 11px 12px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        font-size: clamp(15px, 4vw, 18px) !important;
        -webkit-line-clamp: 3 !important;
    }
}

/* Version 1.8.4 — mobile Featured Today cards match the editorial cards used
   in the sections below: full-width image, white information panel and a
   dedicated read-action row. Desktop and tablet geometry remain unchanged. */
@media (max-width: 760px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        width: var(--oihr-featured-target-width, calc(100vw - 40px)) !important;
        max-width: calc(100vw - 40px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 22px !important;
        margin: 20px 0 12px var(--oihr-featured-offset, 0px) !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-row: auto !important;
        overflow: hidden !important;
        border: 1px solid #d7e2eb !important;
        border-radius: 18px !important;
        color: #082a4b !important;
        background: #fff !important;
        box-shadow: 0 10px 28px rgba(8, 42, 75, .08) !important;
        transform: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:hover {
        color: #082a4b !important;
        transform: none !important;
        box-shadow: 0 10px 28px rgba(8, 42, 75, .08) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        position: relative !important;
        inset: auto !important;
        z-index: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        flex: 0 0 auto !important;
        overflow: hidden !important;
        background: #dce9f1 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-media img,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media img {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-shade {
        display: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
        padding: 22px 24px 20px !important;
        color: #082a4b !important;
        background: #fff !important;
        white-space: normal !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-meta,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-meta {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        margin: 0 0 14px !important;
        color: #6f8090 !important;
        font-size: 10px !important;
        font-weight: 750 !important;
        line-height: 1.25 !important;
        letter-spacing: .12em !important;
        text-transform: uppercase !important;
        white-space: normal !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-category,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-category {
        min-height: 0 !important;
        max-width: 68% !important;
        display: block !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #075d94 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 10px !important;
        line-height: 1.3 !important;
        letter-spacing: .13em !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-date,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-date {
        flex: 0 0 auto !important;
        display: block !important;
        color: #8998a6 !important;
        font-size: 10px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        max-width: 100% !important;
        min-width: 0 !important;
        display: -webkit-box !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: #102b43 !important;
        font-size: clamp(23px, 6.1vw, 29px) !important;
        font-weight: 760 !important;
        line-height: 1.13 !important;
        letter-spacing: -.03em !important;
        text-wrap: pretty !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-excerpt,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-excerpt {
        max-width: 100% !important;
        display: -webkit-box !important;
        margin: 15px 0 0 !important;
        overflow: hidden !important;
        color: #6a7c8d !important;
        font-size: 15.5px !important;
        line-height: 1.48 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-cta {
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: 18px 0 0 !important;
        padding: 15px 0 0 !important;
        border-top: 1px solid #e4ebf0 !important;
        border-radius: 0 !important;
        color: #075d94 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: .13em !important;
        text-transform: uppercase !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta::after {
        content: "→" !important;
        width: 34px !important;
        height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 34px !important;
        border-radius: 50% !important;
        color: #075d94 !important;
        background: #eaf6fd !important;
        font-size: 18px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 430px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        max-width: calc(100vw - 32px) !important;
        gap: 18px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        padding: 19px 20px 18px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        font-size: clamp(21px, 6vw, 25px) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-excerpt,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-excerpt {
        font-size: 14.5px !important;
    }
}


/* Version 1.8.4 — desktop Featured Today uses the same editorial language as
   the homepage category cards: image above, white information panel below,
   dark readable typography and a dedicated action row. Mobile keeps the
   approved 1.8.3 editorial-card layout unchanged. */
@media (min-width: 981px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 22px !important;
        margin-top: 26px !important;
        margin-bottom: 18px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) {
        width: 100% !important;
        height: 458px !important;
        min-height: 458px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border: 1px solid #d8e3eb !important;
        border-radius: 18px !important;
        color: #102b43 !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(8, 42, 75, .075) !important;
        isolation: isolate !important;
        transform: translateZ(0) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:hover {
        color: #102b43 !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 17px 38px rgba(8, 42, 75, .115) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        position: relative !important;
        inset: auto !important;
        z-index: 0 !important;
        width: 100% !important;
        height: 205px !important;
        min-height: 205px !important;
        flex: 0 0 205px !important;
        overflow: hidden !important;
        background: #dce9f1 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-media img,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media img {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:hover .oihr-featured-media img {
        transform: scale(1.025) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-shade {
        display: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        padding: 22px 23px 20px !important;
        color: #102b43 !important;
        background: #fff !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-meta,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-meta {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        margin: 0 0 13px !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        letter-spacing: .115em !important;
        text-transform: uppercase !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-category,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-category {
        min-height: 0 !important;
        max-width: 68% !important;
        display: block !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #075d94 !important;
        background: transparent !important;
        box-shadow: none !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-date,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-date {
        flex: 0 0 auto !important;
        color: #8a99a7 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        max-width: 100% !important;
        min-width: 0 !important;
        display: -webkit-box !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: #102b43 !important;
        font-size: clamp(20px, 1.45vw, 24px) !important;
        font-weight: 760 !important;
        line-height: 1.13 !important;
        letter-spacing: -.028em !important;
        text-wrap: pretty !important;
        overflow-wrap: anywhere !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title {
        font-size: clamp(23px, 1.75vw, 29px) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-excerpt,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-excerpt {
        max-width: 100% !important;
        display: -webkit-box !important;
        margin: 12px 0 0 !important;
        overflow: hidden !important;
        color: #6b7d8e !important;
        font-size: 13.5px !important;
        line-height: 1.46 !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-cta {
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: auto 0 0 !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid #e5ecf1 !important;
        border-radius: 0 !important;
        color: #075d94 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        letter-spacing: .12em !important;
        text-transform: uppercase !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta::after {
        content: "→" !important;
        width: 30px !important;
        height: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 30px !important;
        border-radius: 50% !important;
        color: #075d94 !important;
        background: #eaf6fd !important;
        font-size: 17px !important;
        line-height: 1 !important;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto !important;
        gap: 18px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) {
        height: 430px !important;
        min-height: 430px !important;
        display: flex !important;
        flex-direction: column !important;
        grid-row: auto !important;
        overflow: hidden !important;
        border: 1px solid #d8e3eb !important;
        border-radius: 18px !important;
        color: #102b43 !important;
        background: #fff !important;
        box-shadow: 0 12px 30px rgba(8, 42, 75, .075) !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary {
        grid-column: 1 / -1 !important;
        height: 445px !important;
        min-height: 445px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-media,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-media {
        position: relative !important;
        inset: auto !important;
        z-index: 0 !important;
        width: 100% !important;
        height: 190px !important;
        min-height: 190px !important;
        flex: 0 0 190px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-media {
        height: 215px !important;
        min-height: 215px !important;
        flex-basis: 215px !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-shade {
        display: none !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-content,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-content {
        position: relative !important;
        z-index: 1 !important;
        height: auto !important;
        flex: 1 1 auto !important;
        justify-content: flex-start !important;
        padding: 20px 21px 18px !important;
        color: #102b43 !important;
        background: #fff !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-category {
        color: #075d94 !important;
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-date {
        color: #8998a6 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card.is-primary .oihr-featured-title,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-title {
        max-width: 100% !important;
        color: #102b43 !important;
        font-size: clamp(21px, 2.6vw, 27px) !important;
        -webkit-line-clamp: 3 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-excerpt,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-excerpt {
        display: -webkit-box !important;
        color: #6b7d8e !important;
        -webkit-line-clamp: 2 !important;
    }

    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-cta,
    body.oihr-active .oihr-featured-redesign[data-oihr-featured="1.8.4"] .oihr-featured-new-card:not(.is-primary) .oihr-featured-cta {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        margin-top: auto !important;
        padding: 13px 0 0 !important;
        border-top: 1px solid #e5ecf1 !important;
        border-radius: 0 !important;
        color: #075d94 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* 1.8.6 — connect the homepage newsletter CTA to the existing subscription popup. */
body.oihr-newsletter-modal-open {
    overflow: hidden !important;
}

.oihr-newsletter-fallback {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 17, 31, 0.64);
    backdrop-filter: blur(2px);
}

.oihr-newsletter-fallback.is-open {
    display: flex;
}

.oihr-newsletter-fallback-dialog {
    position: relative;
    width: min(860px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 54px 38px 38px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 24, 49, 0.28);
}

.oihr-newsletter-fallback-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    border: 0;
    background: #ffac2f;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.oihr-newsletter-fallback-title {
    margin: 0 0 28px;
    color: #111;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.oihr-newsletter-fallback-body form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 640px) {
    .oihr-newsletter-fallback {
        padding: 12px;
    }
    .oihr-newsletter-fallback-dialog {
        max-height: calc(100vh - 24px);
        padding: 48px 20px 24px;
    }
    .oihr-newsletter-fallback-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
    .oihr-newsletter-fallback-title {
        margin-bottom: 20px;
        font-size: 24px;
    }
}


/* 1.8.7 — readable, newsletter-only fallback modal. */
.oihr-newsletter-fallback-dialog {
    width: min(720px, 100%) !important;
    padding: 48px 42px 38px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
}

.oihr-newsletter-fallback-title {
    margin: 0 0 26px !important;
    padding-right: 70px !important;
    color: #0c2943 !important;
    font-family: inherit !important;
    font-size: clamp(26px, 3vw, 36px) !important;
    line-height: 1.15 !important;
}

.oihr-newsletter-fallback-body,
.oihr-newsletter-fallback-body form,
.oihr-newsletter-fallback-body form * {
    box-sizing: border-box !important;
}

.oihr-newsletter-fallback-body,
.oihr-newsletter-fallback-body form {
    color: #183247 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.oihr-newsletter-fallback-body form p,
.oihr-newsletter-fallback-body form div,
.oihr-newsletter-fallback-body form span,
.oihr-newsletter-fallback-body form label,
.oihr-newsletter-fallback-body form small,
.oihr-newsletter-fallback-body form strong {
    color: #183247 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.oihr-newsletter-fallback-body form label {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.oihr-newsletter-fallback-body form p,
.oihr-newsletter-fallback-body form .wpcf7-form-control-wrap,
.oihr-newsletter-fallback-body form .mc4wp-form-fields > *,
.oihr-newsletter-fallback-body form .form-group,
.oihr-newsletter-fallback-body form .field-wrap,
.oihr-newsletter-fallback-body form .wpforms-field {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.oihr-newsletter-fallback-body form input[type="text"],
.oihr-newsletter-fallback-body form input[type="email"],
.oihr-newsletter-fallback-body form input[type="tel"],
.oihr-newsletter-fallback-body form input[type="number"],
.oihr-newsletter-fallback-body form input[type="url"],
.oihr-newsletter-fallback-body form select,
.oihr-newsletter-fallback-body form textarea {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #bdcad5 !important;
    border-radius: 5px !important;
    outline: none !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #102b43 !important;
    caret-color: #102b43 !important;
    font: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.oihr-newsletter-fallback-body form textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

.oihr-newsletter-fallback-body form input::placeholder,
.oihr-newsletter-fallback-body form textarea::placeholder {
    color: #718596 !important;
    opacity: 1 !important;
}

.oihr-newsletter-fallback-body form input:focus,
.oihr-newsletter-fallback-body form select:focus,
.oihr-newsletter-fallback-body form textarea:focus {
    border-color: #0875b8 !important;
    box-shadow: 0 0 0 3px rgba(8, 117, 184, 0.14) !important;
}

.oihr-newsletter-fallback-body form input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 2px 9px 0 0 !important;
    vertical-align: top !important;
    opacity: 1 !important;
}

.oihr-newsletter-fallback-body form .wpcf7-list-item,
.oihr-newsletter-fallback-body form .mc4wp-checkbox,
.oihr-newsletter-fallback-body form .tdn-checkbox-wrap,
.oihr-newsletter-fallback-body form .td-newsletter-checkbox,
.oihr-newsletter-fallback-body form .newsletter-privacy,
.oihr-newsletter-fallback-body form .privacy-policy {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 8px 0 22px !important;
    color: #314a5e !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.oihr-newsletter-fallback-body form a {
    color: #0875b8 !important;
    text-decoration: underline !important;
}

.oihr-newsletter-fallback-body form button[type="submit"],
.oihr-newsletter-fallback-body form input[type="submit"],
.oihr-newsletter-fallback-body form button:not([type]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 6px 0 0 !important;
    padding: 13px 24px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: #ffab2f !important;
    box-shadow: none !important;
    color: #082a45 !important;
    font: inherit !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.oihr-newsletter-fallback-body form button[type="submit"]:hover,
.oihr-newsletter-fallback-body form input[type="submit"]:hover,
.oihr-newsletter-fallback-body form button:not([type]):hover {
    background: #ffba4f !important;
}

.oihr-newsletter-fallback-body form input[type="password"],
.oihr-newsletter-fallback-body form [class*="password"],
.oihr-newsletter-fallback-body form .show-password-input {
    display: none !important;
}

@media (max-width: 640px) {
    .oihr-newsletter-fallback-dialog {
        padding: 42px 20px 24px !important;
        border-radius: 8px !important;
    }
    .oihr-newsletter-fallback-title {
        margin-bottom: 20px !important;
        padding-right: 48px !important;
    }
    .oihr-newsletter-fallback-body form input[type="text"],
    .oihr-newsletter-fallback-body form input[type="email"],
    .oihr-newsletter-fallback-body form input[type="tel"],
    .oihr-newsletter-fallback-body form select,
    .oihr-newsletter-fallback-body form textarea {
        min-height: 48px !important;
    }
}

/* 1.8.8 — use the real newsletter form and a complete native fallback. */
.oihr-newsletter-fallback-dialog {
    width: min(820px, 100%) !important;
    max-height: calc(100vh - 48px) !important;
    padding: 50px 42px 38px !important;
}

.oihr-newsletter-fallback-body .gform_wrapper,
.oihr-newsletter-fallback-body .gform_wrapper form,
.oihr-newsletter-fallback-body .oihr-native-newsletter-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.oihr-newsletter-fallback-body .gform_required_legend,
.oihr-required-legend {
    margin: -8px 0 18px !important;
    color: #5e6d78 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

.oihr-newsletter-fallback-body .gform_fields {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 17px !important;
}

.oihr-newsletter-fallback-body .gfield,
.oihr-newsletter-field {
    margin: 0 !important;
    padding: 0 !important;
}

.oihr-newsletter-fallback-body .gfield_label,
.oihr-newsletter-field > label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #102b43 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.oihr-newsletter-fallback-body .gfield_required,
.oihr-newsletter-field > label span {
    color: #e64f2d !important;
}

.oihr-newsletter-fallback-body .ginput_container,
.oihr-newsletter-fallback-body .ginput_complex,
.oihr-newsletter-fallback-body .ginput_container input,
.oihr-newsletter-fallback-body .ginput_container select,
.oihr-newsletter-fallback-body .ginput_container textarea {
    width: 100% !important;
    max-width: none !important;
}

.oihr-newsletter-fallback-body .ginput_complex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.oihr-newsletter-fallback-body .ginput_complex label {
    margin-top: 5px !important;
    color: #66798a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.oihr-newsletter-fallback-body .gform_footer {
    margin: 22px 0 0 !important;
    padding: 0 !important;
}

.oihr-newsletter-fallback-body .gform_footer input[type="submit"],
.oihr-newsletter-fallback-body .gform_footer button,
.oihr-newsletter-submit {
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffb032 !important;
    color: #0c2943 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
}

.oihr-newsletter-fallback-body .gform_footer input[type="submit"]:hover,
.oihr-newsletter-fallback-body .gform_footer button:hover,
.oihr-newsletter-submit:hover {
    background: #ffc05a !important;
}

.oihr-newsletter-fallback-body .gfield--type-consent .ginput_container,
.oihr-newsletter-fallback-body .gfield_checkbox .gchoice,
.oihr-newsletter-consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 2px 0 0 !important;
    color: #324b5f !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.oihr-newsletter-fallback-body .gfield--type-consent input[type="checkbox"],
.oihr-newsletter-fallback-body .gfield_checkbox input[type="checkbox"],
.oihr-newsletter-consent input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
}

.oihr-newsletter-consent span {
    color: #324b5f !important;
}

.oihr-newsletter-consent a {
    color: #087c75 !important;
    text-decoration: underline !important;
}

.oihr-newsletter-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.oihr-newsletter-status {
    min-height: 24px;
    margin-top: 14px;
    color: #52687a;
    font-size: 14px;
    line-height: 1.45;
}

.oihr-newsletter-status.is-success {
    color: #087c55;
    font-weight: 700;
}

.oihr-newsletter-status.is-error,
.oihr-newsletter-fallback-body .gform_validation_errors,
.oihr-newsletter-fallback-body .validation_message {
    color: #b42318 !important;
}

.oihr-newsletter-fallback-body .gform_confirmation_message {
    padding: 22px !important;
    border: 1px solid #b9dfcf !important;
    background: #f1fbf6 !important;
    color: #17633f !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    .oihr-newsletter-fallback-dialog {
        padding: 46px 20px 24px !important;
    }

    .oihr-newsletter-fallback-body .ginput_complex {
        grid-template-columns: 1fr !important;
    }

    .oihr-newsletter-fallback-body .gform_required_legend,
    .oihr-required-legend {
        text-align: left !important;
    }
}


/* 1.8.9 — dedicated Contact Form 7 newsletter modal + MailPoet workflow. */
.oihr-newsletter-fallback-body .wpcf7,
.oihr-newsletter-fallback-body .wpcf7-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #0b2d4e !important;
}

.oihr-newsletter-fallback-body .wpcf7-form > p:empty,
.oihr-newsletter-fallback-body .wpcf7-form br {
    display: none !important;
}

.oihr-cf7-required {
    margin: -8px 0 20px !important;
    text-align: right;
    color: #5e6d7d !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.oihr-cf7-required span,
.oihr-cf7-field > span {
    color: #ed5b2a !important;
}

.oihr-cf7-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 20px !important;
    width: 100% !important;
}

.oihr-cf7-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #0b2d4e !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.oihr-cf7-field.oihr-cf7-full {
    grid-column: 1 / -1 !important;
}

.oihr-newsletter-fallback-body .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.oihr-newsletter-fallback-body .wpcf7 input[type="text"],
.oihr-newsletter-fallback-body .wpcf7 input[type="email"],
.oihr-newsletter-fallback-body .wpcf7 input[type="tel"] {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 1px solid #cbd6e2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #102d49 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none !important;
    opacity: 1 !important;
}

.oihr-newsletter-fallback-body .wpcf7 input[type="text"]:focus,
.oihr-newsletter-fallback-body .wpcf7 input[type="email"]:focus,
.oihr-newsletter-fallback-body .wpcf7 input[type="tel"]:focus {
    border-color: #0d73b7 !important;
    box-shadow: 0 0 0 3px rgba(13, 115, 183, .12) !important;
}

.oihr-cf7-consent {
    margin: 22px 0 0 !important;
    color: #334b61 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.oihr-cf7-consent .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
}

.oihr-cf7-consent label {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    line-height: inherit !important;
    cursor: pointer !important;
}

.oihr-cf7-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
    accent-color: #0d73b7 !important;
}

.oihr-cf7-consent a {
    color: #007e74 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

.oihr-cf7-submit-wrap {
    position: relative !important;
    margin-top: 24px !important;
}

.oihr-newsletter-fallback-body .wpcf7 .oihr-newsletter-submit,
.oihr-newsletter-fallback-body .wpcf7 input[type="submit"].oihr-newsletter-submit {
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #ff9f22, #ff7a1a) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(255, 132, 28, .22) !important;
}

.oihr-newsletter-fallback-body .wpcf7 .wpcf7-spinner {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    margin: -12px 0 0 !important;
}

.oihr-newsletter-fallback-body .wpcf7-not-valid-tip {
    display: block !important;
    margin-top: 6px !important;
    color: #c92727 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.oihr-newsletter-fallback-body .wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #d5e2ee !important;
    border-radius: 8px !important;
    background: #f3f8fc !important;
    color: #0b2d4e !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}

.oihr-newsletter-fallback-body .wpcf7 form.sent .wpcf7-response-output {
    border-color: #98d5bb !important;
    background: #eefaf5 !important;
    color: #176744 !important;
}

.oihr-newsletter-fallback-body .wpcf7 form.invalid .wpcf7-response-output,
.oihr-newsletter-fallback-body .wpcf7 form.failed .wpcf7-response-output,
.oihr-newsletter-fallback-body .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #efb4b4 !important;
    background: #fff4f4 !important;
    color: #9a2020 !important;
}

@media (max-width: 767px) {
    .oihr-cf7-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .oihr-cf7-field.oihr-cf7-full {
        grid-column: auto !important;
    }
    .oihr-cf7-required {
        text-align: left !important;
        margin-bottom: 16px !important;
    }
    .oihr-newsletter-fallback-body .wpcf7 input[type="text"],
    .oihr-newsletter-fallback-body .wpcf7 input[type="email"],
    .oihr-newsletter-fallback-body .wpcf7 input[type="tel"] {
        height: 48px !important;
        min-height: 48px !important;
        font-size: 16px !important;
    }
}


/* 1.8.10 — compact responsive newsletter modal, clean CF7 text and OnlineIzmir blue action. */
.oihr-newsletter-fallback {
    padding: clamp(10px, 2.5vw, 24px) !important;
}

.oihr-newsletter-fallback-dialog {
    width: min(620px, calc(100vw - 32px)) !important;
    max-height: min(760px, calc(100dvh - 32px)) !important;
    padding: 34px 32px 28px !important;
    border-radius: 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}

.oihr-newsletter-fallback-close {
    top: 14px !important;
    right: 14px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    font-size: 28px !important;
}

.oihr-newsletter-fallback-title {
    margin: 0 0 18px !important;
    padding-right: 58px !important;
    font-size: clamp(25px, 3vw, 32px) !important;
    line-height: 1.08 !important;
}

.oihr-newsletter-fallback-body .wpcf7-form,
.oihr-newsletter-fallback-body .wpcf7-form * {
    white-space: normal !important;
}

.oihr-cf7-required {
    margin: -4px 0 14px !important;
    font-size: 12px !important;
}

.oihr-cf7-grid {
    gap: 13px 16px !important;
}

.oihr-cf7-field {
    gap: 6px !important;
    font-size: 14px !important;
}

.oihr-newsletter-fallback-body .wpcf7 input[type="text"],
.oihr-newsletter-fallback-body .wpcf7 input[type="email"],
.oihr-newsletter-fallback-body .wpcf7 input[type="tel"] {
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 13px !important;
    border-radius: 7px !important;
    font-size: 15px !important;
}

.oihr-cf7-consent {
    margin-top: 16px !important;
    font-size: 12.5px !important;
    line-height: 1.42 !important;
}

.oihr-cf7-consent label {
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 9px !important;
}

.oihr-cf7-consent input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
    accent-color: #0875b8 !important;
}

.oihr-cf7-submit-wrap {
    margin-top: 18px !important;
}

.oihr-newsletter-fallback-body .wpcf7 .oihr-newsletter-submit,
.oihr-newsletter-fallback-body .wpcf7 input[type="submit"].oihr-newsletter-submit,
.oihr-newsletter-fallback-body .oihr-native-newsletter-form .oihr-newsletter-submit {
    min-height: 48px !important;
    border-radius: 9px !important;
    background: #0875b8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    box-shadow: 0 9px 22px rgba(8, 117, 184, .22) !important;
}

.oihr-newsletter-fallback-body .wpcf7 .oihr-newsletter-submit:hover,
.oihr-newsletter-fallback-body .wpcf7 input[type="submit"].oihr-newsletter-submit:hover,
.oihr-newsletter-fallback-body .oihr-native-newsletter-form .oihr-newsletter-submit:hover {
    background: #065f97 !important;
    box-shadow: 0 11px 26px rgba(8, 117, 184, .28) !important;
}

.oihr-newsletter-fallback-body .wpcf7-not-valid-tip {
    margin-top: 4px !important;
    font-size: 12px !important;
}

.oihr-newsletter-fallback-body .wpcf7 form .wpcf7-response-output {
    margin-top: 12px !important;
    padding: 10px 12px !important;
    font-size: 12.5px !important;
}

@media (max-width: 560px) {
    .oihr-newsletter-fallback {
        align-items: flex-start !important;
        padding: 10px !important;
    }

    .oihr-newsletter-fallback-dialog {
        width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        margin: auto 0 !important;
        padding: 52px 16px 18px !important;
        border-radius: 12px !important;
    }

    .oihr-newsletter-fallback-close {
        top: 9px !important;
        right: 9px !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 25px !important;
    }

    .oihr-newsletter-fallback-title {
        margin-bottom: 14px !important;
        padding-right: 0 !important;
        font-size: 25px !important;
    }

    .oihr-cf7-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .oihr-cf7-field.oihr-cf7-full {
        grid-column: auto !important;
    }

    .oihr-cf7-required {
        margin-bottom: 11px !important;
        text-align: left !important;
    }

    .oihr-newsletter-fallback-body .wpcf7 input[type="text"],
    .oihr-newsletter-fallback-body .wpcf7 input[type="email"],
    .oihr-newsletter-fallback-body .wpcf7 input[type="tel"] {
        height: 43px !important;
        min-height: 43px !important;
    }

    .oihr-cf7-consent {
        margin-top: 13px !important;
        font-size: 12px !important;
    }

    .oihr-cf7-submit-wrap {
        margin-top: 14px !important;
    }
}

@media (max-height: 660px) and (min-width: 561px) {
    .oihr-newsletter-fallback-dialog {
        padding-top: 28px !important;
        padding-bottom: 22px !important;
    }
    .oihr-newsletter-fallback-title {
        margin-bottom: 12px !important;
    }
    .oihr-cf7-grid {
        gap: 9px 14px !important;
    }
    .oihr-cf7-consent {
        margin-top: 11px !important;
    }
    .oihr-cf7-submit-wrap {
        margin-top: 12px !important;
    }
}

/* 1.8.11 — single-post shell alignment.
   Newspaper uses a narrower centred .td-container for article + sidebar than
   the 1240px homepage shell. JavaScript measures that real container and sets
   --oihr-single-shell-width. Header and footer then share the exact same edge. */
body.oihr-active.oihr-single-post #oihr-header.oihr-single-shell-synced,
body.oihr-active.single-post #oihr-header.oihr-single-shell-synced {
    width: var(--oihr-single-shell-width) !important;
    max-width: var(--oihr-single-shell-width) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.oihr-active.oihr-single-post .oihr-footer-shell,
body.oihr-active.single-post .oihr-footer-shell {
    width: var(--oihr-single-shell-width, var(--oihr-footer-width, 1068px)) !important;
    max-width: min(var(--oihr-single-shell-width, 1068px), 100vw) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (max-width: 700px) {
    body.oihr-active.oihr-single-post #oihr-header.oihr-single-shell-synced,
    body.oihr-active.single-post #oihr-header.oihr-single-shell-synced,
    body.oihr-active.oihr-single-post .oihr-footer-shell,
    body.oihr-active.single-post .oihr-footer-shell {
        max-width: 100% !important;
    }
}


/* 1.8.13 — definitive modal layering fix.
   The previous 1.8.12 package accidentally contained literal "\\n" text,
   so those declarations were not parsed by the browser. */
html.oihr-newsletter-modal-open,
body.oihr-newsletter-modal-open {
    overflow: hidden !important;
}

html body > #oihr-newsletter-fallback.oihr-newsletter-fallback {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
    isolation: isolate !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: layout style paint !important;
}

html body > #oihr-newsletter-fallback.oihr-newsletter-fallback.is-open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.oihr-newsletter-modal-open #wpadminbar,
body.oihr-newsletter-modal-open #oihr-header,
body.oihr-newsletter-modal-open .td-header-wrap,
body.oihr-newsletter-modal-open .tdc-header-template-wrap,
body.oihr-newsletter-modal-open .td-header-desktop-sticky-wrap,
body.oihr-newsletter-modal-open .td-header-mobile-sticky-wrap,
body.oihr-newsletter-modal-open .td-header-menu-wrap-full,
body.oihr-newsletter-modal-open .td-header-main-menu,
body.oihr-newsletter-modal-open header:not(.oihr-newsletter-fallback-dialog) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html body > #oihr-newsletter-fallback .oihr-newsletter-fallback-dialog {
    position: relative !important;
    z-index: 2 !important;
    transform: none !important;
}

@media (max-width: 560px) {
    html body > #oihr-newsletter-fallback.oihr-newsletter-fallback.is-open {
        align-items: center !important;
    }
}


/* 1.8.19 — single-post emergency recovery and safe popup stacking.
 * Do not move, clone or observe the existing Mailchimp form. The custom header
 * is not sticky, so it must not create a higher stacking context than the
 * theme's native modal. These rules also neutralize stale 1.8.18 classes. */
html.oihr-mailchimp-post-popup-open,
body.oihr-mailchimp-post-popup-open,
html.oihr-newsletter-modal-open,
body.oihr-newsletter-modal-open {
    overflow-y: auto !important;
}

body.oihr-active.oihr-single-post #oihr-header,
body.oihr-active.single-post #oihr-header,
body.oihr-mailchimp-post-popup-open #oihr-header,
body.oihr-newsletter-modal-open #oihr-header {
    z-index: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Raise the original Newspaper/TagDiv modal without changing its DOM or form. */
body.oihr-single-post .td-login-modal-wrap,
body.oihr-single-post .td-login-modal-js,
body.oihr-single-post .td-login-modal,
body.oihr-single-post [class*="td-login-modal"],
body.single-post .td-login-modal-wrap,
body.single-post .td-login-modal-js,
body.single-post .td-login-modal,
body.single-post [class*="td-login-modal"] {
    z-index: 2147483000 !important;
}

@supports selector(:has(*)) {
    body.oihr-single-post *:has(> #mc-embedded-subscribe-form),
    body.oihr-single-post *:has(#mc-embedded-subscribe-form),
    body.single-post *:has(> #mc-embedded-subscribe-form),
    body.single-post *:has(#mc-embedded-subscribe-form) {
        z-index: 2147483000 !important;
    }
}


/* 1.8.20 — Keep the original Mailchimp popup close control fully visible.
 * The popup itself already works correctly in 1.8.19; this change is limited
 * to the existing #mnppsbody > .mnpcls control and does not alter modal logic. */
body.oihr-single-post #mnppsbody {
    position: relative !important;
    overflow: visible !important;
    isolation: isolate !important;
}

body.oihr-single-post #mnppsbody > .mnpcls,
body.oihr-single-post #mnppsbody .mnpcls {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #ffad32 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font: 400 25px/1 Arial, sans-serif !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 5px 14px rgba(3, 30, 55, 0.18) !important;
}

body.oihr-single-post #mnppsbody > .mnpcls:hover,
body.oihr-single-post #mnppsbody .mnpcls:hover {
    background: #0875b8 !important;
}

body.oihr-single-post #mnppsbody #mc_embed_shell,
body.oihr-single-post #mnppsbody #mc_embed_signup {
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 640px) {
    body.oihr-single-post #mnppsbody > .mnpcls,
    body.oihr-single-post #mnppsbody .mnpcls {
        top: 10px !important;
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        font-size: 23px !important;
    }
}
