/* 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: 28px;
        --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%;
        z-index: 2;
        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 30px before the search control. */
        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%;
        z-index: 2;
        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;
}

body.oreilly-public .oreilly-footer__trust-heading h4 {
    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;
    min-height: 84px;
    padding: 0 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;
}
.oreilly-footer__bottom-left,
.oreilly-footer__legal-links,
.oreilly-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.oreilly-footer__bottom-left {
    min-width: 0;
}

.oreilly-footer__legal-links,
.oreilly-footer__bottom-right {
    flex-wrap: wrap;
}

.oreilly-footer__bottom-right {
    justify-content: flex-end;
}

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

@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: repeat(2, minmax(0, 1fr));
        gap: 36px 18px;
    }

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


    .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;
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding: 18px 0;
    }
    .oreilly-footer__bottom-left,
    .oreilly-footer__legal-links,
    .oreilly-footer__bottom-right {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px 16px;
    }

    .oreilly-footer__bottom-left {
        flex-direction: column;
    }
}

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

    .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}
.school-site-icon{display:inline-block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;vertical-align:middle}

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

@media screen and (max-width: 767px) {
    .progress-wrap {
        bottom: 44px;
    }
    .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;
    }

    .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;
    }
}

.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: 52px !important;
        max-width: 74px;
    }

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

/* 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. */
body.search-open { overflow: hidden; }

@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;
    }
}

/* Search stays inside the header beside its trigger. */
.header.v__3 .header-search[hidden] { display: none !important; }
.header.v__3 .header-search {
    position: absolute;
    z-index: 10;
    top: 50%;
    right: calc(100% + 10px);
    display: flex;
    width: min(260px, 24vw);
    height: 42px;
    align-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(50, 23, 127, .2);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(27, 19, 57, .1);
}
.header.v__3 .header-search input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 8px 0 13px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--rt-heading);
    font-size: 14px;
}
.header.v__3 .header-search button[type="submit"] {
    display: grid;
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin-right: 3px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: var(--rt-primary);
    color: #fff;
    place-items: center;
    cursor: pointer;
}
.header.v__3 .header-search__close {
    display: grid;
    width: 28px;
    min-width: 28px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #625d72;
    place-items: center;
    cursor: pointer;
}
.header.v__3 .header-search__close:hover { color: var(--rt-primary); }
.header.v__3 .header-search:focus-within { border-color: var(--rt-primary); }
.header.v__3 .header-search__suggestions[hidden] { display: none !important; }
.header.v__3 .header-search__suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: -1px;
    width: calc(100% + 2px);
    max-height: min(420px, calc(100vh - 100px));
    overflow-y: auto;
    border: 1px solid rgba(50, 23, 127, .14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(27, 19, 57, .16);
}
.header.v__3 .header-search__suggestions-list { padding: 5px; }
.header.v__3 .header-search__option {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 7px;
    color: var(--rt-heading);
    text-decoration: none;
}
.header.v__3 .header-search__option:hover,
.header.v__3 .header-search__option.is-active {
    background: #f3f0fb;
    color: var(--rt-primary);
}
.header.v__3 .header-search__option span {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header.v__3 .header-search__option small {
    color: #77718c;
    font-size: 11px;
    line-height: 1.2;
}
.header.v__3 .header-search__status {
    margin: 0;
    padding: 13px 15px;
    color: #625d72;
    font-size: 13px;
    line-height: 1.4;
}
.header.v__3 .header-search__status[hidden] { display: none !important; }
.header.v__3 .header-search__view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    border-top: 1px solid #eeeaf5;
    color: var(--rt-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.header.v__3 .header-search__view-all:hover { background: #faf8ff; }
.header.v__3.header-search-open .search__trigger,
.header.v__3.header-search-closing .search__trigger { display: none; }
@media screen and (min-width: 1201px) {
    .header.v__3 .header__wrapper {
        transition: none;
    }
    .header.v__3 .header__right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: var(--header-menu-utility-gap);
        transition: gap .34s cubic-bezier(.2, .7, .2, 1);
    }
    .header.v__3 .header__mode-nav--right {
        display: flex;
        flex: 1 1 auto;
        justify-content: flex-end;
        padding-inline-end: 0;
    }
    .header.v__3 .header__right--item {
        position: relative;
        display: flex;
        width: 28px;
        min-width: 28px;
        flex: 0 0 28px;
        align-items: center;
        flex-direction: row-reverse;
        inset-inline-end: auto;
        top: auto;
        transform: none;
    }
    .header.v__3 .header-search {
        position: absolute;
        z-index: 30;
        top: 50%;
        right: 0;
        width: 0;
        flex: 0 0 auto;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        border-width: 0;
        box-shadow: none;
        transform: translateY(-50%);
        transition: width .34s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, visibility .34s;
    }
    .header.v__3.header-search-open .header__right { gap: var(--header-menu-utility-gap); }
    .header.v__3.header-search-open .header-search {
        width: clamp(300px, calc(40vw - 220px), 360px);
        overflow: visible;
        opacity: 1;
        visibility: visible;
        border-width: 1px;
        box-shadow: 0 4px 14px rgba(27, 19, 57, .1);
    }
}
@media screen and (min-width: 1201px) and (max-width: 1350px) {
    .header.v__3.header-search-open .header-search {
        width: clamp(240px, calc(40vw - 220px), 300px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .header.v__3 .header__wrapper,
    .header.v__3 .header__right,
    .header.v__3 .header-search {
        transition-duration: .01ms;
    }
}
@media screen and (max-width: 1200px) {
    .header.v__3 .header__right--item { position: relative; }
    .header.v__3 .header-search { width: min(260px, calc(100vw - 165px)); }
    .header.v__3 .header-search__suggestions { right: auto; left: -1px; }
    .header.v__3.header-search-open .header-search { width: min(280px, calc(100vw - 110px)); }
}
@media screen and (max-width: 767px) {
    .header.v__3.header-search-open .header__logo { visibility: hidden; }
}

/* Balance the two desktop navigation groups around the centered school crest. */
@media screen and (min-width: 1201px) {
    .header.v__3 .header__left {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-content: stretch;
        gap: clamp(16px, 1.6vw, 24px);
    }

    .header.v__3 .header__social__link {
        position: static;
        transform: none;
    }

    .header.v__3 .header__mode-nav--left {
        width: 100%;
        padding-inline-end: clamp(20px, 1.75vw, 28px);
    }

    .header.v__3 .header__mode-nav--right {
        min-width: 0;
        padding-inline: clamp(20px, 1.75vw, 28px) 0;
    }

    .header.v__3 .header__mode-nav--left > ul,
    .header.v__3 .header__mode-nav--right > ul {
        width: 100%;
        max-width: none;
        gap: clamp(10px, 1.15vw, 16px);
    }

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

    .header.v__3 .header__mode-nav--right > ul {
        justify-content: flex-start;
    }
}
.oreilly-legal-page {
    padding: clamp(54px, 7vw, 100px) 0;
    color: #17112f;
    background: #f5f1e9;
}

.oreilly-legal-page__content {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(20, 12, 56, .08);
}

.oreilly-legal-page__eyebrow {
    margin: 0 0 14px;
    color: #6f4bd8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.oreilly-legal-page h1 {
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
}

.oreilly-legal-page__intro,
.oreilly-legal-page section p,
.oreilly-legal-page__contact {
    color: #645f70;
    font-size: 16px;
    line-height: 1.75;
}

.oreilly-legal-page__intro {
    margin: 0 0 34px;
}

.oreilly-legal-page section + section {
    margin-top: 28px;
}

.oreilly-legal-page h3 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.2;
}

.oreilly-legal-page section p,
.oreilly-legal-page__contact {
    margin: 0;
}

.oreilly-legal-page__contact {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(18, 13, 44, .12);
}

.oreilly-legal-page__contact a {
    color: #35178c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 767px) {
    .oreilly-legal-page {
        padding: 28px 0;
    }

    .oreilly-legal-page__content {
        padding: 24px;
        border-radius: 14px;
    }

    .oreilly-legal-page__intro,
    .oreilly-legal-page section p,
    .oreilly-legal-page__contact {
        font-size: 15px;
    }
}
body.oreilly-public h2.section-title,
body.oreilly-public h2.rts__section--title,
body.oreilly-public h2.rts-section-title,
body.oreilly-public .school-home__section-title,
body.oreilly-public h2[id^="school-home-"] {
    font-size: clamp(2.2rem, 9vw, 2.875rem);
    line-height: 1;
}

body.oreilly-public h3.tution__single--box--title,
body.oreilly-public h3.academy__single__title,
body.oreilly-public h3.rts__program--item--title,
body.oreilly-public h3.rts__single--event--meta--title,
body.oreilly-public .school-home__student-life-points h3,
body.oreilly-public .school-home__admissions-steps h3 {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    line-height: 1.2;
}

body.oreilly-public h4.rts-section-title,
body.oreilly-public h4.tution__single--box--title,
body.oreilly-public h4.academy__single__title,
body.oreilly-public h4.rts__program--item--title,
body.oreilly-public h4.rts__single--event--meta--title,
body.oreilly-public .school-home__student-life-points h4,
body.oreilly-public .school-home__admissions-steps h4 {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    line-height: 1.2;
}

body.oreilly-public .rts-faq h2.faq__title {
    font-size: clamp(2.2rem, 9vw, 2.875rem);
    line-height: 1;
}

body.oreilly-public .rts-application-form-content h3.heading-title {
    font-size: clamp(1.5rem, 2.2vw, 1.875rem);
    line-height: 1.2;
}
