/* O'Reilly shared public header and footer refinements. */
.header.v__3 .header__left,
.header.v__3 .header__right {
    min-width: 0;
    display: flex;
    align-items: center;
}

.header.v__3 .header__left {
    justify-content: flex-end;
    gap: clamp(20px, 2vw, 32px);
}

.header.v__3 .header__right {
    justify-content: flex-start;
    gap: clamp(18px, 1.8vw, 28px);
}

@media screen and (min-width: 1201px) {
    .header.v__3 .header__wrapper {
        --header-nav-gap: clamp(9px, 1.1vw, 20px);
        --header-switch-gap: clamp(16px, 1.4vw, 24px);
        --header-switch-width: 100px;
        --header-utility-width: 128px;
        --header-menu-utility-gap: 30px;
        min-height: 76px;
        padding-inline: clamp(24px, 3vw, 48px);
        display: grid;
        grid-template-columns: minmax(0, 1fr) 164px minmax(0, 1fr);
        align-items: center;
    }

    .header.v__3 .header__left {
        width: 100%;
        position: relative;
        display: block;
    }

    /* Keep social links anchored to the left grid-cell boundary. They are
       intentionally removed from the flex calculation used by the nav. */
    .header.v__3 .header__social__link {
        position: absolute;
        inset-inline-start: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .header.v__3 .header__mode-nav {
        min-width: 0;
    }

    .header.v__3 .header__mode-nav--left {
        min-width: 0;
        display: block;
    }

    .header.v__3 .header__mode-nav--right {
        min-width: 0;
        display: flex;
        justify-content: flex-end;
        /* Keep the last menu item exactly 30px before the language/search
           controls, which remain anchored at the far right. */
        padding-inline-end: calc(var(--header-utility-width) + var(--header-menu-utility-gap));
    }

    .header.v__3 .header__mode-nav--left > ul,
    .header.v__3 .header__mode-nav--right > ul {
        min-width: 0;
        gap: var(--header-nav-gap);
        align-items: center;
        white-space: nowrap;
    }

    .header.v__3 .header__mode-nav--left > ul {
        justify-content: center;
    }

    .header.v__3 .header__mode-nav--right > ul {
        justify-content: flex-end;
        padding-inline-end: 0;
    }

    .header.v__3 .header__mode-switch {
        width: var(--header-switch-width);
        min-width: var(--header-switch-width);
    }

    .header.v__3 .header__right {
        width: 100%;
        position: relative;
        display: block;
    }

    .header.v__3 .header__right--item {
        width: var(--header-utility-width);
        min-width: var(--header-utility-width);
        position: absolute;
        inset-inline-end: 0;
        top: 50%;
        justify-content: flex-end;
        transform: translateY(-50%);
    }

    .header.v__3 .navigation__menu > ul {
        max-width: none;
        align-items: center;
    }

    .header.v__3 .navigation__menu--item__link {
        font-size: 14px;
        padding-block: 28px;
        white-space: nowrap;
    }

    /* The equal side tracks keep the crest centered independently of link widths. */
    .header.v__3 .header__logo {
        width: 164px;
        justify-self: center;
    }
}

@media screen and (min-width: 1201px) and (max-width: 1350px) {
    .header.v__3 .header__wrapper {
        --header-nav-gap: 8px;
    }

    .header.v__3 .header__right {
        gap: 12px;
    }

    .header.v__3 .header__site-switch-link {
        font-size: 10px;
    }
}

@media screen and (min-width: 1201px) {
    .header.v__3 .header__right--item .menu__trigger {
        display: none;
    }
}

.header.v__3 .header__logo--link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header.v__3 .header__logo--link img {
    width: 164px;
    height: 54px;
    max-width: 164px;
    object-fit: contain;
}

/* Home 3 adds a baseline pseudo-element on primary-link hover. Keep the
   existing navigation behaviour, but make primary-menu hover color-only. */
.header.v__3 .navigation__menu--item > .navigation__menu--item__link,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link:hover,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link:focus-visible,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link.is-active {
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header.v__3 .navigation__menu--item > .navigation__menu--item__link:hover,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link:focus-visible,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link.is-active {
    color: var(--rt-primary-2);
}

.header.v__3 .navigation__menu--item:hover > .navigation__menu--item__link::before,
.header.v__3 .navigation__menu--item > .navigation__menu--item__link::before {
    content: none;
}

.header.v__3 .navigation__menu--item.has-arrow:hover::before {
    content: "+";
    color: var(--rt-heading);
    transition: none;
}

.oreilly-footer {
    --footer-container: var(--oreilly-container-width);
    --footer-accent: var(--rt-primary-2, #7455c3);
    --footer-ink: #120d2d;
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 8% 10%, rgba(104, 72, 190, .24), transparent 30%),
        radial-gradient(circle at 92% 90%, rgba(80, 52, 155, .18), transparent 28%),
        var(--footer-ink);
    color: rgba(255, 255, 255, .74);
}

.oreilly-footer .container {
    width: min(var(--footer-container), calc(100% - 64px));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.oreilly-footer__main {
    padding-top: clamp(60px, 5vw, 72px);
}

.oreilly-footer__grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.4fr) minmax(145px, .62fr) minmax(175px, .72fr) minmax(260px, 1fr);
    gap: clamp(34px, 4vw, 68px);
    align-items: start;
}

.oreilly-footer .footer__widget {
    min-width: 0;
}

.oreilly-footer .footer__widget--logo {
    margin-bottom: 22px;
}

.oreilly-footer .footer__widget--logo a {
    display: inline-flex;
    min-height: 64px;
    align-items: center;
}

.oreilly-footer .footer__widget--logo img {
    display: block;
    width: 176px;
    height: 64px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.oreilly-footer .footer__widget--description {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.8;
}

.oreilly-footer .footer__widget--title {
    margin: 4px 0 22px;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.oreilly-footer .footer__widget--menu ul,
.oreilly-footer .footer__widget--social .social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.oreilly-footer .footer__widget--menu ul li {
    margin: 0;
}

.oreilly-footer .footer__widget--menu ul li + li {
    margin-top: 13px;
}

.oreilly-footer .footer__widget--menu ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

.oreilly-footer .footer__widget--menu ul li a::before {
    width: 0;
    height: 1px;
    margin-right: 0;
    background: var(--footer-accent);
    content: "";
    transition: width .25s ease, margin-right .25s ease;
}

.oreilly-footer .footer__widget--menu ul li a:hover,
.oreilly-footer .footer__widget--menu ul li a:focus-visible {
    color: #fff;
}

.oreilly-footer .footer__widget--menu ul li a:hover::before,
.oreilly-footer .footer__widget--menu ul li a:focus-visible::before {
    width: 16px;
    margin-right: 9px;
}

.oreilly-footer .footer__widget--social {
    margin-top: 24px;
}

.oreilly-footer .footer__widget--social .social {
    display: flex;
    gap: 12px;
}

.oreilly-footer .footer__widget--social .social li a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    text-decoration: none;
    transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.oreilly-footer .footer__widget--social .social li a:hover,
.oreilly-footer .footer__widget--social .social li a:focus-visible {
    border-color: var(--footer-accent);
    background: var(--footer-accent);
    transform: translateY(-2px);
}

.oreilly-footer__contact-list {
    display: grid;
    gap: 16px;
}

.oreilly-footer__contact-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.oreilly-footer__contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: #b9a7ef;
    font-size: 15px;
}

.oreilly-footer__contact-label {
    display: block;
    margin: 1px 0 4px;
    color: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.oreilly-footer__contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.oreilly-footer__contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

.oreilly-footer__contact-item a:hover,
.oreilly-footer__contact-item a:focus-visible {
    color: #fff;
}

.oreilly-footer__trust {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, .75fr);
    gap: clamp(34px, 5vw, 80px);
    align-items: center;
    margin-top: 48px;
    padding: 30px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, .11);
}

.oreilly-footer__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #b9a7ef;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.oreilly-footer__trust-heading h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-secondary);
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.oreilly-footer__trust-logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.oreilly-footer__trust-logo {
    display: grid;
    padding: 10px 15px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: rgb(255 255 255 / 75%);
}

.oreilly-footer__trust-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 65px;
    object-fit: contain;
}

.oreilly-footer__bottom {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(5, 3, 18, .28);
}

.oreilly-footer__bottom .copyright__wrapper {
    display: flex;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 0;
}

.oreilly-footer__bottom .copyright__wrapper p,
.oreilly-footer__bottom .copyright__wrapper a {
    margin: 0;
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.oreilly-footer__bottom .copyright__wrapper a:hover,
.oreilly-footer__bottom .copyright__wrapper a:focus-visible {
    color: #fff;
}

@media screen and (max-width: 1200px) {
    .header.v__3 .header__logo--link img {
        width: 150px;
        height: 50px;
    }
}

@media screen and (max-width: 1100px) {
    .oreilly-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 34px;
    }

    .oreilly-footer__identity {
        grid-column: 1 / -1;
    }

    .oreilly-footer .footer__widget--description {
        max-width: 630px;
    }

    .oreilly-footer__contact {
        grid-column: 1 / -1;
    }

    .oreilly-footer__contact-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .oreilly-footer__contact-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
    }

    .oreilly-footer__contact-icon {
        width: 38px;
        height: 38px;
    }

    .oreilly-footer__contact-item p {
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {
    .header.v__3 .header__right--item {
        gap: 0;
    }

    .oreilly-footer .container {
        width: calc(100% - 32px);
    }

    .oreilly-footer__main {
        padding-top: 52px;
    }

    .oreilly-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .oreilly-footer__identity {
        grid-column: auto;
    }

    .oreilly-footer__contact {
        grid-column: auto;
    }

    .oreilly-footer__contact-list {
        grid-template-columns: 1fr;
    }

    .oreilly-footer .footer__widget--title {
        margin-bottom: 22px;
    }

    .oreilly-footer .footer__widget--menu ul li + li {
        margin-top: 10px;
    }

    .oreilly-footer .footer__widget--menu ul li a {
        min-height: 34px;
    }

    .oreilly-footer__trust {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 40px;
        padding: 28px 0 30px;
    }

    .oreilly-footer__trust-logo {
        min-height: 84px;
        padding: 16px;
    }

    .oreilly-footer__trust-logo img {
        max-width: 132px;
        max-height: 52px;
    }

    .oreilly-footer__bottom .copyright__wrapper {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding: 18px 0;
    }
}

@media screen and (max-width: 576px) {
    .header.v__3 .header__logo--link img {
        width: 132px;
        height: 44px;
    }

    .oreilly-footer .footer__widget--logo img {width: 160px;height: 60px}
}

@media (prefers-reduced-motion: reduce) {
    .oreilly-footer *,
    .oreilly-footer *::before,
    .oreilly-footer *::after {
        transition-duration: .01ms;
    }
}

/* Shared semantic treatment for CMS-managed organisational values. */
.core-value-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border: 1px solid rgba(50, 23, 127, .16);
    border-radius: 15px;
    background: rgba(111, 85, 207, .09);
    color: var(--rt-primary-2);
    font-size: 20px;
    line-height: 1;
}

.core-value-icon i {line-height: 1}

/* Preserve the approved header appearance when its interactive triggers use
   native button semantics. */
.header.v__3 .lang__button,
.header.v__3 .search__trigger,
.header.v__3 .menu__trigger {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.header.v__3 .lang__button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .header.v__3 .lang__button,
    .header.v__3 .search__trigger,
    .header.v__3 .menu__trigger {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .header.v__3 .lang__trigger {
        min-width: 44px;
        max-width: 44px;
    }

    .header.v__3 .lang__trigger .selected__lang {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .mobile-menu-main .mainmenu a,
    .mobile-menu-main .offcanvase__info--content > a,
    .oreilly-footer .footer__widget--menu a {
        display: flex;
        min-height: 44px;
        align-items: center;
    }

    .rts-campus-life .container > .rts-section-title {
        margin-bottom: 34px;
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.08;
    }

    .rts-campus-life .rts-campus-life__single {
        height: auto;
        min-height: 0;
    }

    .rts-campus-life .rts-campus-life__single .rts-section-title {
        margin: 0 0 18px;
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.12;
    }

    .rts-campus-life .rts-campus-life__single .content p {
        margin-bottom: 14px;
        line-height: 1.55;
    }
}

/* Unified School/Foundation navigation: one server-rendered mode split
   around the centered logo. */
.site-mode-float {
    position: fixed;
    z-index: 1100;
    top: 50%;
    right: 0;
    display: flex;
    width: 100px;
    min-height: 90px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 11px 9px;
    border-radius: 13px 0 0 13px;
    background: #1f5c9f;
    box-shadow: 0 5px 14px rgba(16, 44, 79, .25);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease;
}

.site-mode-float i { font-size: 22px; }
.site-mode-float span { max-width: 82px; }
.site-mode-float:hover,
.site-mode-float:focus-visible { background: #174b84; color: #fff; transform: translateY(-50%) translateX(-3px); }
.site-mode-float:focus-visible { outline: 3px solid rgba(255, 255, 255, .9); outline-offset: -6px; }

@media screen and (max-width: 767px) {
    .site-mode-float { top: auto; bottom: 18px; min-height: 76px; width: 88px; font-size: 12px; transform: none; }
    .site-mode-float:hover, .site-mode-float:focus-visible { transform: translateX(-3px); }
    .site-mode-float i { font-size: 18px; }
}

.header.v__3 .header__site-switch-link {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border: 1px solid rgba(50, 23, 127, .24);
    border-radius: var(--oreilly-radius-pill, 999px);
    color: var(--rt-heading);
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.header.v__3 .header__mode-switch {
    flex: 0 0 auto;
}

.header.v__3 .header__mode-nav--right > ul {
    justify-content: flex-end;
}

@media screen and (min-width: 1201px) and (max-width: 1350px) {
    .header.v__3 .header__site-switch-link {
        padding-inline: 6px;
        font-size: 10px;
    }
}

.header.v__3 .header__site-switch-link:hover,
.header.v__3 .header__site-switch-link:focus-visible {
    border-color: var(--rt-primary-2);
    background: var(--rt-primary-2);
    color: #fff;
}

.header.v__3 .header__site-switch-link:focus-visible,
.side-bar .mobile-navigation__site-switch-link:focus-visible {
    outline: 3px solid rgba(111, 85, 207, .38);
    outline-offset: 3px;
}

/* The drawer must contain navigation anywhere the desktop menu is collapsed. */
@media screen and (max-width: 1200px) {
    .header.v__3 .header__wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }

    .header.v__3 .header__left {
        justify-content: flex-start;
        gap: 0;
    }

    .header.v__3 .header__right {
        justify-content: flex-end;
        gap: 0;
    }

    .header.v__3 .header__mode-nav {
        display: none;
    }

    .side-bar .mobile-navigation__item-control > a.main {
        font-size: 12px;
    }

    #side-bar .inner-main-wrapper-desk {
        display: none !important;
    }

    #side-bar .mobile-menu-main {
        display: block !important;
    }
}

body.navigation-drawer-open {
    overflow: hidden !important;
}

.side-bar .mobile-navigation {
    margin: 0;
    padding: 0 20px !important;
}

.side-bar .mobile-navigation__item {
    margin: 0;
    padding: 0;
}

.side-bar .mobile-navigation__item-control {
    display: block;
    border-bottom: 1px solid #f3f3f3;
}

.side-bar .mobile-navigation__item-control > a.main {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 0;
    border: 0;
    color: var(--rt-body);
}

.side-bar .mobile-navigation__item-control > a.main.is-active {
    color: var(--rt-primary-2);
    font-weight: 600;
}

.side-bar .mobile-navigation__site-switch {
    margin: 22px 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(50, 23, 127, .14);
}

.side-bar .mobile-navigation__site-switch-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 1px solid rgba(50, 23, 127, .24);
    border-radius: 10px;
    color: var(--rt-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
}

.side-bar .mobile-navigation__site-switch-link:hover,
.side-bar .mobile-navigation__site-switch-link:focus-visible {
    border-color: var(--rt-primary-2);
    background: var(--rt-primary-2);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .header.v__3 .header__site-switch-link,
    .side-bar .mobile-navigation__site-switch-link,
    .side-bar {
        transition-duration: .01ms !important;
    }
}

/* On phones, keep the brand mark at the far left and the utility controls
   together on the right. */
@media screen and (max-width: 767px) {
    .header.v__3 .header__wrapper {
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: 10px;
    }

    .header.v__3 .header__left { display: none; }
    .header.v__3 .header__logo { grid-column: 1; grid-row: 1; }
    .header.v__3 .header__right { grid-column: 3; }

    .header.v__3 .header__logo--link img {
        width: 74px !important;
        height: 42px !important;
        max-width: 74px;
    }

    .header.v__3 .header__right--item { gap: 12px; }
    .header.v__3 .header__right--item .lang__trigger {
        display: flex;
        min-width: 0;
        max-width: none;
    }
    .header.v__3 .header__right--item .lang__trigger .selected__lang { display: none; }
}

/* Preserve the legacy close-control appearance on smaller viewports after
   making it a semantic button. */
.search-input-area .search-close-icon {
    padding: 0;
    border: 0;
    background: transparent;
}

/* Keep the pre-existing compact tablet/mobile structure intact. */
@media screen and (max-width: 1023px) {
    .search-input-area .search-overlay-header {
        display: contents;
    }

    .search-input-area .search-overlay-title,
    .search-input-area .search-input-icon {
        display: none;
    }
}

/* Desktop search overlay: a compact floating search card using the existing
   input, close button, and JavaScript hooks. */
@media screen and (min-width: 1024px) {
    #anywhere-home.bgshow {
        opacity: .42;
    }

    .search-input-area {
        height: auto;
        min-height: 0;
        padding: 64px 24px 72px;
        align-items: flex-start;
    }

    .search-input-area > .container {
        width: calc(100% - 48px);
        max-width: 820px;
        margin: 0 auto;
        padding: 0;
    }

    .search-input-area .search-overlay-panel {
        width: 100%;
        padding: 22px;
        border: 1px solid rgba(50, 23, 127, .14);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(27, 19, 57, .08);
    }

    .search-input-area .search-overlay-header {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        min-height: 42px;
        align-items: center;
        margin-bottom: 18px;
    }

    .search-input-area .search-overlay-title {
        grid-column: 2;
        margin: 0;
        color: var(--rt-heading);
        font-family: var(--font-primary);
        font-size: 25px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }

    .search-input-area .search-close-icon {
        display: grid;
        grid-column: 3;
        grid-row: 1;
        width: 42px;
        height: 42px;
        padding: 0;
        position: static;
        border: 1px solid rgba(50, 23, 127, .16);
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 3px 10px rgba(27, 19, 57, .05);
        color: var(--rt-primary);
        cursor: pointer;
        font-size: 17px;
        line-height: 1;
        place-items: center;
        transition: background-color .2s ease, border-color .2s ease, color .2s ease;
    }

    .search-input-area .search-close-icon i,
    .search-input-area .search-close-icon i:hover {
        color: currentColor;
    }

    .search-input-area .search-close-icon i::after {
        content: none;
    }

    .search-input-area .search-close-icon:hover,
    .search-input-area .search-close-icon:focus-visible {
        border-color: var(--rt-primary);
        background: var(--rt-primary);
        color: #fff;
    }

    .search-input-area .search-close-icon:focus-visible {
        outline: 3px solid rgba(85, 60, 223, .38);
        outline-offset: 3px;
    }

    .search-input-area .search-input-inner,
    .search-input-area .search-input-inner .input-div {
        width: 100%;
    }

    .search-input-area .search-input-inner .input-div {
        height: 60px;
        margin: 0;
        overflow: hidden;
        border: 1px solid rgba(50, 23, 127, .12);
        border-radius: 12px;
        background: #faf9fd;
        box-shadow: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .search-input-area .search-input-inner .input-div:focus-within {
        border-color: var(--rt-primary);
        box-shadow: 0 0 0 3px rgba(85, 60, 223, .15);
    }

    .search-input-area .search-input-icon {
        display: grid;
        width: 56px;
        min-width: 56px;
        height: 60px;
        color: rgba(43, 42, 72, .58);
        font-size: 17px;
        place-items: center;
    }

    .search-input-area .search-input-inner .input-div input {
        flex: 1 1 auto;
        width: auto;
        height: 60px;
        min-width: 0;
        padding: 0 10px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--rt-heading);
        font-size: 17px;
        font-weight: 400;
        line-height: 1.4;
        outline: 0;
    }

    .search-input-area .search-input-inner .input-div input::placeholder {
        color: rgba(43, 42, 72, .65);
        opacity: 1;
    }

    .search-input-area .search-input-inner .input-div button {
        display: grid;
        width: 48px;
        min-width: 48px;
        height: 48px;
        margin: 6px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: var(--rt-primary);
        color: #fff;
        font-size: 17px;
        line-height: 1;
        place-items: center;
        transition: background-color .2s ease, transform .2s ease;
    }

    .search-input-area .search-input-inner .input-div button:hover {
        background: var(--rt-primary-2);
        transform: translateY(-1px);
    }

    .search-input-area .search-input-inner .input-div button:focus-visible {
        outline: 3px solid rgba(85, 60, 223, .38);
        outline-offset: 2px;
    }
}
