/* Full-width content for these three pages only. */
main.main.information-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

main.main.information-main > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.info-page {
    --info-paper: #fcfaf5;
    --info-blue: #5c7f9b;
    --info-olive: #6b6555;
    --info-ink: #2d3947;
    --info-muted: #6d7984;
    --info-border: #e5ddd0;
    --info-placeholder: #e7e1d5;
    --info-panel: #f5efe5;
    --info-gold: #edbd56;

    width: 100%;
    background: var(--info-paper);
    color: var(--info-ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
}

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

.info-page h1,
.info-page h2,
.info-page p,
.info-page figure {
    margin: 0;
}

.info-page h1,
.info-page h2 {
    color: inherit;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: normal;
}

.info-page a {
    text-decoration: none;
}

.info-page img {
    display: block;
    max-width: 100%;
}

.info-page a:focus-visible,
.info-page button:focus-visible {
    outline: 3px solid #b97d18;
    outline-offset: 5px;
}

.info-page .info-container {
    width: 82%;
    max-width: 1080px;
    margin-inline: auto;
}

/* Hero */

.info-page .info-hero {
    padding: 44px 0;
    background: var(--info-blue);
    color: white;
    text-align: center;
}

.info-page .info-eyebrow {
    margin-bottom: 10px;
    color: var(--info-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.info-page .info-hero h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.info-page .info-hero p:not(.info-eyebrow) {
    color: #e6edf2;
    font-size: 14px;
}

.info-page .info-hero-sustainability {
    display: flex;
    align-items: flex-end;
    min-height: 330px;
    padding-block: 50px;
    background: var(--info-olive);
    text-align: left;
}

.info-page .info-hero-photo-note {
    display: none;
}

/* Content */

.info-page .info-content {
    padding-block: 52px;
}

.info-page .info-intro {
    margin-bottom: 46px;
    color: var(--info-muted);
}

.info-page .info-content h2 + h2 {
    margin-top: 40px;
}

.info-page .info-note {
    margin-top: 32px;
    color: var(--info-muted);
    font-size: 12px;
    line-height: 1.5;
}

/* Card layout */

.info-page .info-team-grid,
.info-page .info-sustainability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.info-page .info-team-grid {
    width: 76%;
    gap: 18px;
}

/* Reset existing button styles before applying flip-card styles. */
.info-page button.info-flip-card,
.info-page button.info-flip-card:hover,
.info-page button.info-flip-card:focus,
.info-page button.info-flip-card:active {
    display: block;
    appearance: none;
    width: 100%;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--info-ink);
    box-shadow: none;
    font: inherit;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
    perspective: 1200px;
    -webkit-tap-highlight-color: transparent;
}

.info-page .info-flip-inner {
    display: grid;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.info-page .info-flip-card.is-flipped .info-flip-inner {
    transform: rotateY(180deg);
}

.info-page .info-flip-face {
    display: flex;
    grid-area: 1 / 1;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--info-border);
    border-radius: 9px;
    background: white;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow-wrap: anywhere;
}

.info-page .info-flip-front {
    transform: rotateY(0deg);
}

.info-page .info-flip-back {
    justify-content: center;
    gap: 12px;
    background: var(--info-panel);
    transform: rotateY(180deg);
}

.info-page .info-card-image {
    width: 100%;
    aspect-ratio: 2.2 / 1;
    border-radius: 6px;
    object-fit: cover;
}

.info-page .info-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--info-placeholder);
    color: var(--info-muted);
    font-size: 10px;
}

.info-page .info-card-title {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.info-page .info-card-context {
    display: block;
    color: var(--info-muted);
    font-size: 14px;
    line-height: 1.5;
}

.info-page .info-flip-back .info-card-title {
    margin-top: 0;
}

.info-page .info-team-grid .info-flip-face {
    min-height: 250px;
    padding: 14px;
}

.info-page .info-team-grid .info-card-image {
    aspect-ratio: 1.25 / 1;
}

.info-page .info-team-grid .info-card-title {
    font-size: 15px;
}

/* Sustainability */

.info-page .info-program-note {
    display: none;
}

.info-page .info-curriculum {
    margin-top: 50px;
    padding: 26px 28px;
    border-radius: 10px;
    background: var(--info-panel);
}

.info-page .info-curriculum h2 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.3;
}

.info-page .info-curriculum-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-page .info-curriculum-links a {
    padding: 6px 14px;
    border: 1px solid var(--info-border);
    border-radius: 999px;
    background: white;
    color: var(--info-ink);
    font-size: 12px;
    font-weight: 700;
}

.info-page .info-curriculum-links a:hover {
    border-color: var(--info-blue);
}

/* Facilities */

.info-page .info-facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.info-page .info-facility {
    position: relative;
    aspect-ratio: 1.48 / 1;
    overflow: hidden;
    border-radius: 7px;
    background: var(--info-placeholder);
}

.info-page .info-facility img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-page .info-facility figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 18px 10px 10px;
    background: linear-gradient(transparent, #000000a6);
    color: white;
    font-size: 12px;
}

.info-page .info-facility-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px;
    color: var(--info-muted);
    font-size: 11px;
    text-align: center;
}

.info-page .info-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.info-page .info-room-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--info-border);
    border-radius: 8px;
    background: white;
    color: var(--info-ink);
}

.info-page .info-room-card:hover {
    border-color: var(--info-blue);
}

.info-page .info-room-card h2 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.3;
}

.info-page .info-room-card p {
    margin-bottom: 5px;
    color: var(--info-muted);
    font-size: 13px;
}

.info-page .info-room-card span {
    color: var(--info-blue);
    font-size: 13px;
}

/* Booking section */

.info-page .info-cta {
    padding: 42px 0;
    background: var(--info-blue);
    color: white;
    text-align: center;
}

.info-page .info-cta h2 {
    margin-bottom: 9px;
    font-size: 26px;
    line-height: 1.25;
}

.info-page .info-cta p {
    margin-bottom: 16px;
    color: #e5edf3;
}

.info-page .info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 25px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: white;
    color: var(--info-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.info-page .info-button:hover {
    background: #f3f5f7;
    color: var(--info-blue);
}

/* Chinese Language Program panel: the site's accent blue (the Book a tour button) with white type. */

.info-page .info-language {
    padding-top: 56px;
}

.info-page .info-language-panel {
    position: relative;
    left: 50%;
    width: min(1080px, calc(100vw - 40px));
    padding: 56px 48px;
    border-radius: 28px;
    background: #7fa6c4;
    color: white;
    text-align: center;
    transform: translateX(-50%);
}

/* Keeps the default h2 size so it matches the "Learning Chinese" heading. */
.info-page .info-language-panel h2 {
    margin-bottom: 16px;
}

.info-page .info-language-intro {
    max-width: 760px;
    margin: 0 auto 36px;
}

.info-page .info-language-intro + .info-language-intro {
    margin-top: -20px;
    color: white;
    font-size: 15px;
    line-height: 1.8;
}

.info-page .info-activities {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.info-page .info-activity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    aspect-ratio: 1 / 1;
    /* Stops a tall picture stretching its tile past square. */
    min-height: 0;
    margin: 0;
    padding: 18px 14px 14px;
    border-radius: 18px;
    background: white;
}

/* The illustration takes whatever height the label leaves. */
.info-page .info-activity-image {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    object-fit: contain;
}

.info-page .info-activity-name {
    color: var(--info-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

/* Chinese Bilingual benefits: cards cycle through pale tints of the logo's coral, teal and green. */

.info-page .info-benefits {
    --benefit-coral: #fdeaeb;
    --benefit-teal: #e3f3f5;
    --benefit-green: #eff4e2;

    /* Same breathing room above and below as the room pages' photo sections. */
    padding-block: 72px;
    text-align: center;
}

.info-page .info-benefits h2 {
    margin-bottom: 10px;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.2;
}

.info-page .info-benefits-intro {
    margin-bottom: 36px;
    color: var(--info-muted);
}

/* Matches the site's 1080px content column (as on the room pages), wider than
   the text above it, so each title fits on one line. */
.info-page .info-benefits-grid {
    position: relative;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(1080px, calc(100vw - 40px));
    margin: 0;
    transform: translateX(-50%);
    padding: 0;
    list-style: none;
    text-align: left;
}

.info-page .info-benefit-card {
    margin: 0;
    padding: 24px 20px;
    border-radius: 18px;
    background: var(--benefit-coral);
}

.info-page .info-benefit-card:nth-child(3n + 2) {
    background: var(--benefit-teal);
}

.info-page .info-benefit-card:nth-child(3n) {
    background: var(--benefit-green);
}

.info-page .info-benefit-card h3 {
    margin: 0 0 8px;
    color: var(--info-ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
}

.info-page .info-benefit-card p {
    color: var(--info-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Tablet */

@media (min-width: 641px) and (max-width: 1000px) {
    .info-page .info-activities {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-page .info-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-page .info-team-grid {
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .info-page .info-language-panel {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .info-page .info-activities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .info-page .info-benefits {
        padding-block: 48px;
    }

    .info-page .info-benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .info-page .info-container {
        width: calc(100% - 44px);
    }

    .info-page .info-hero {
        padding-block: 32px;
    }

    .info-page .info-hero h1 {
        font-size: 25px;
    }

    .info-page .info-eyebrow {
        font-size: 9px;
    }

    .info-page .info-hero p:not(.info-eyebrow) {
        font-size: 12px;
    }

    .info-page .info-hero-sustainability {
        min-height: 270px;
        padding-block: 30px;
    }

    .info-page .info-hero-sustainability h1 {
        max-width: 360px;
    }

    .info-page .info-hero .info-hero-photo-note {
        display: block;
        margin-top: 8px;
        font-size: 11px;
    }

    .info-page .info-content {
        padding-block: 32px;
    }

    .info-page .info-intro {
        margin-bottom: 34px;
    }

    .info-page .info-team-grid,
    .info-page .info-sustainability-grid,
    .info-page .info-facilities-grid,
    .info-page .info-rooms-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .info-page .info-card-image,
    .info-page .info-team-grid .info-card-image {
        aspect-ratio: 2 / 1;
    }

    .info-page .info-team-grid .info-flip-face {
        min-height: 220px;
        padding: 16px;
    }

    .info-page .info-card-title {
        font-size: 17px;
    }

    .info-page .info-note {
        margin-top: 32px;
        font-size: 12px;
    }

    .info-page .info-program-note {
        display: block;
        margin-top: 54px;
    }

    .info-page .info-curriculum {
        margin-top: 48px;
        padding: 24px;
    }

    .info-page .info-curriculum h2 {
        font-size: 20px;
    }

    .info-page .info-curriculum-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .info-page .info-facility {
        aspect-ratio: 1.8 / 1;
    }

    .info-page .info-rooms-grid {
        margin-top: 32px;
    }

    .info-page .info-room-card {
        padding: 22px;
    }

    .info-page .info-room-card h2 {
        font-size: 17px;
    }

    .info-page .info-cta {
        padding-block: 32px;
    }

    .info-page .info-cta h2 {
        font-size: 23px;
    }

    .info-page .info-cta p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .info-page .info-flip-inner {
        transition: none;
    }
}

.info-page .info-hero,
.info-page .info-cta {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
}

.info-page .info-team-grid {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    gap: 24px;
}

/* Keep Team cards at a consistent height. */
.info-page.info-team-page .info-team-grid button.info-flip-card {
    height: 340px;
    min-height: 0;
}

.info-page.info-team-page .info-team-grid .info-flip-inner {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
}

.info-page.info-team-page .info-team-grid .info-flip-face {
    height: 100%;
    min-height: 0;
}

/* Fit the photograph above the member's name. */
.info-page.info-team-page .info-team-grid .info-flip-front {
    overflow: hidden;
}

.info-page.info-team-page .info-team-grid .info-card-image {
    flex: 1 1 0;
    min-height: 0;
    height: 0;
    aspect-ratio: auto;
    object-fit: cover;
}

.info-page.info-team-page .info-team-grid .info-flip-front .info-card-title {
    flex: 0 0 auto;
    max-height: 35%;
    overflow-y: auto;
}

/* Allow long descriptions to scroll without stretching the card. */
.info-page.info-team-page .info-team-grid .info-flip-back {
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
}

.info-page.info-team-page .info-team-grid .info-flip-back > * {
    flex-shrink: 0;
}

.meals-page {
    background-color: #FCFAF5;
    box-shadow: 0 0 0 100vmax #FCFAF5;
    clip-path: inset(0 -100vmax);
}

.info-sustainability-page .sus-photo-hero {
    position: relative;
    left: 50%;
    display: flex;
    align-items: flex-end;
    width: 100vw;
    min-height: 51rem;
    margin-left: -50vw;
    background-color: #33404D;
    overflow: hidden;
}

.info-sustainability-page .sus-photo-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.info-sustainability-page .sus-photo-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to top, rgba(23, 30, 38, 0.62), rgba(23, 30, 38, 0.12));
}

.info-sustainability-page .sus-photo-hero--light::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.55) 15%, rgba(255, 255, 255, 0) 55%);
}

.info-sustainability-page .sus-photo-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 112rem;
    margin: 0 auto;
    padding: 6.4rem 2rem 4.8rem;
}

.info-sustainability-page .sus-photo-hero .sus-photo-hero-title {
    margin: 0 0 0.96rem;
    max-width: 24ch;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 4.6rem;
    font-weight: 600;
    line-height: 1.15;
    color: #FFFFFF;
}

.info-sustainability-page .sus-photo-hero .sus-photo-hero-copy {
    margin: 0;
    max-width: 46ch;
    font-size: 1.7rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.info-sustainability-page .sus-photo-hero--light .sus-photo-hero-title {
    color: #1C1C1C;
}

.info-sustainability-page .sus-photo-hero--light .sus-photo-hero-copy {
    color: rgba(28, 28, 28, 0.85);
}

.info-page.info-sustainability-page {
    background-color: #FCFAF5;
    box-shadow: 0 0 0 100vmax #FCFAF5;
    clip-path: inset(0 -100vmax);
}

.info-sustainability-page .info-intro {
    font-size: 1.6rem;
    line-height: 1.75;
    color: #33404D;
    text-align: justify;
}

.info-sustainability-page .info-sustainability-grid {
    gap: 3.2rem 2.4rem;
}

.info-sustainability-page .info-flip-front {
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.info-sustainability-page .info-flip-front .info-card-image {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
}

.info-sustainability-page .info-flip-front .info-card-title {
    margin: 0;
    padding: 1.4rem 1rem 0;
    text-align: center;
}

.info-sustainability-page .info-flip-back {
    align-items: center;
    text-align: center;
}

@media (max-width: 600px) {
    .info-sustainability-page .sus-photo-hero {
        min-height: 34rem;
    }

    .info-sustainability-page .sus-photo-hero .sus-photo-hero-title {
        font-size: 3.2rem;
    }
}
