.about-editor-page {
    margin: 0 auto;
    max-width: 1200px;
    padding: clamp(1.25rem, 3vw, 3rem) 1rem;
}

.about-section-grid {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.about-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--about-card-text, #263c54);
    display: flex;
    flex: 0 1 calc(var(--about-section-width, 100%) - 1.25rem);
    gap: 1.25rem;
    max-width: 100%;
    overflow: visible;
    padding: clamp(.5rem, 1.5vw, 1rem);
}

.about-section--text-navy {
    --about-card-text: #263c54;
}

.about-section--text-black {
    --about-card-text: #111111;
}

.about-section--text-white {
    --about-card-text: #ffffff;
}

.about-section--text-cream {
    --about-card-text: #fffdf0;
}

.about-section--text-blue {
    --about-card-text: #214f97;
}

.about-section--text-brown {
    --about-card-text: #6f4e16;
}

.about-section--text-gold {
    --about-card-text: #e0ad31;
}

.about-section--text-deep_gold {
    --about-card-text: #b87e0f;
}

/* Section font choices use browser-safe fallback stacks. */
.about-section--heading-font-default {
    --about-heading-font: inherit;
}

.about-section--heading-font-georgia {
    --about-heading-font: Georgia, "Times New Roman", serif;
}

.about-section--heading-font-palatino {
    --about-heading-font: "Palatino Linotype", Palatino, Georgia, serif;
}

.about-section--heading-font-times {
    --about-heading-font: "Times New Roman", Times, serif;
}

.about-section--heading-font-arial {
    --about-heading-font: Arial, Helvetica, sans-serif;
}

.about-section--heading-font-trebuchet {
    --about-heading-font: "Trebuchet MS", Arial, sans-serif;
}

.about-section--heading-font-verdana {
    --about-heading-font: Verdana, Geneva, sans-serif;
}

.about-section--heading-font-courier {
    --about-heading-font: "Courier New", Courier, monospace;
}

.about-section--body-font-default {
    --about-body-font: inherit;
}

.about-section--body-font-georgia {
    --about-body-font: "Cormorant Garamond", Georgia, serif;
}

.about-section--body-font-palatino {
    --about-body-font: "Palatino Linotype", Palatino, Georgia, serif;
}

.about-section--body-font-times {
    --about-body-font: "Times New Roman", Times, serif;
}

.about-section--body-font-arial {
    --about-body-font: Arial, Helvetica, sans-serif;
}

.about-section--body-font-trebuchet {
    --about-body-font: "Trebuchet MS", Arial, sans-serif;
}

.about-section--body-font-verdana {
    --about-body-font: Verdana, Geneva, sans-serif;
}

.about-section--body-font-courier {
    --about-body-font: "Courier New", Courier, monospace;
}

.about-section__text h2,
.about-section__text p,
.about-section__text li,
.about-section__text strong,
.about-section__text em,
.about-section__text a {
    color: inherit;
}

.about-section__text a {
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.16em;
}

.about-section__text a:hover,
.about-section__text a:focus-visible {
    opacity: 0.78;
}

.about-section--picture-right {
    flex-direction: row-reverse;
}

.about-section--picture-top,
.about-section--image {
    flex-direction: column;
}

.about-section--picture-top .about-section__picture,
.about-section--image .about-section__picture {
    align-self: center;
    flex-basis: auto;
    max-width: 100%;
    width: var(--about-picture-width, 50%);
}

.about-section__picture {
    flex: 0 1 var(--about-picture-width, 50%);
    min-width: 0;
}

.about-section__picture img {
    border-radius: 0.8rem;
    display: block;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    width: 100%;
}

.about-section__text {
    flex: 1 1 0;
    font-family: var(--about-body-font, inherit);
    min-width: 0;
}

.about-section__text h2 {
    font-family: var(--about-heading-font, inherit);
    margin-top: 0;
}

.about-section--empty {
    display: block;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 820px) {
    .about-section {
        flex-basis: 100%;
        flex-direction: column;
    }

    .about-section__picture {
        flex-basis: auto;
        width: 100%;
    }
}


.about-section--impact {
    flex-basis: 100%;
    width: 100%;
}

.impact-about-summary {
    text-align: center;
    width: 100%;
}

.impact-about-summary__numbers {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    margin: 1rem 0;
}

.impact-about-summary__numbers div {
    border-bottom: 3px solid #e0ad31;
    padding: 0.65rem;
}

.impact-about-summary__numbers dt {
    font-weight: 700;
}

.impact-about-summary__numbers dd {
    color: #214f97;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0.2rem 0 0;
}

.impact-about-summary__button {
    display: inline-flex;
    margin-top: 0.5rem;
}

.page-about main {
    background: #f9f6f1 url("../animals/images/christmas/about-winter-background.5ccaf0b02012.webp") center top / cover no-repeat;
}

.about-title-art {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: clamp(240px, 38vw, 480px);
}

.about-story {
    display: grid;
    flex-basis: 100%;
    gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    min-width: 0;
}

.about-story__photo {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

.about-story__column--1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.about-story__column--2 {
    grid-column: 2;
    grid-row: 2;
}

.about-story__column--3 {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.about-story .about-section__text {
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    text-shadow: 0 0 3px #fff, 0 0 10px #fff;
}

@media (max-width: 820px) {
    .about-story {
        display: flex;
        flex-direction: column;
    }

    .about-story__photo {
        align-self: center;
        max-width: 24rem;
    }
}

.about-editor-page__header {
    color: #273a4d;
    margin: 0 auto clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.about-editor-page__header h1 {
    color: #825110;
    font: 400 clamp(2.8rem, 6.4vw, 5.7rem) / 1.18 "Pinyon Script", Georgia, serif;
    margin: 0;
    padding-inline: .12em;
    text-shadow: 0 1px 0 #fffdf3, 0 0 12px #ffc855a6, 0 0 26px #ffdf92;
    text-wrap: balance;
}

.about-heading-rule {
    align-items: center;
    color: #356282;
    display: flex;
    font-size: 1.1rem;
    gap: .6rem;
    justify-content: center;
    margin: .4rem auto .75rem;
    max-width: min(65%, 17rem);
    text-shadow: 0 0 8px #a2c9e0;
}

.about-heading-rule::before,
.about-heading-rule::after {
    background: linear-gradient(90deg, transparent, #b07a25, transparent);
    content: "";
    flex: 1;
    height: 1px;
}

.about-editor-page__intro,
.about-film > header p {
    font: 1.12rem / 1.55 Georgia, "Times New Roman", serif;
    margin: .5rem auto 0;
    max-width: 58ch;
    text-wrap: pretty;
}

.about-editor-page .about-section--text-white,
.about-editor-page .about-section--text-cream,
.about-editor-page .about-section--text-gold,
.about-editor-page .about-section--text-deep_gold {
    --about-card-text: #6b4818;
}

.about-editor-page .about-section--heading-font-default {
    --about-heading-font: Georgia, "Times New Roman", serif;
}

.about-editor-page .about-section__text {
    font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem);
    line-height: 1.5;
    max-width: 66ch;
    overflow-wrap: anywhere;
}

.about-editor-page .about-section--body-font-default,
.about-editor-page .about-section--body-font-courier {
    --about-body-font: Georgia, "Times New Roman", serif;
}

.about-editor-page .about-section__text h2,
.about-film h2,
.about-editor-page .impact-about-summary h2 {
    color: #754a12;
    font: 700 clamp(1.45rem, 2.6vw, 2rem) / 1.25 var(--about-heading-font, Georgia), serif;
    letter-spacing: .035em;
    margin: 0 0 .65rem;
    text-wrap: balance;
}

.about-editor-page .about-section__text p {
    margin: 0 0 .85em;
}

.about-editor-page .about-section__text p:last-child {
    margin-bottom: 0;
}

.about-editor-page .about-section__picture {
    --frame-vertical: clamp(16px, 2.6vw, 32px);
    --frame-horizontal: clamp(20px, 3.3vw, 40px);
    box-sizing: border-box;
    max-inline-size: 29rem;
    padding: calc(var(--frame-vertical) * .75) calc(var(--frame-horizontal) * .74);
    position: relative;
}

.about-editor-page .about-section__picture img {
    max-height: none;
}

.about-editor-page .about-section__picture::after {
    border: solid transparent;
    border-width: var(--frame-vertical) var(--frame-horizontal);
    border-image: url("../animals/decorations/rococo-gold-flowers-frame-v2.1cf5502063ff.webp") 200 260 stretch round;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.about-film {
    color: #35271a;
    flex: 0 1 54rem;
    margin: 0 auto clamp(1rem, 4vw, 2rem);
    max-width: 100%;
    min-width: 0;
    text-align: center;
}

.about-film__frame {
    background: #fffbec;
    border: 3px double #936b25;
    box-sizing: border-box;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    margin: .85rem auto .4rem;
    overflow: hidden;
    position: relative;
}

.about-film__frame:has(button[hidden]) {
    display: none;
}

.about-film__frame iframe,
.about-film__play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-film__play {
    color: #492e11;
    cursor: pointer;
    background: radial-gradient(ellipse at center, #fffdf3, #f4e5c2);
    display: grid;
    padding: 0;
    place-items: center;
}

.about-film__play[hidden] {
    display: none;
}

.about-film__play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-film__play span {
    color: #2c1b0c;
    background: #fff4d7;
    border: 2px solid #785016;
    border-radius: 999px;
    font-weight: 700;
    padding: .65rem 1rem;
    z-index: 1;
}

.about-film__play:focus-visible {
    outline: 3px solid #785016;
    outline-offset: -5px;
}

.about-film__play:hover span,
.about-film__play:focus-visible span {
    background: #f1d9a0;
}

.about-film__fallback {
    align-items: center;
    color: #6c491a;
    display: inline-flex;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.about-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-block: clamp(1.25rem, 4vw, 2.5rem) .5rem;
}

.about-editor-page .about-page-actions__link {
    align-items: center;
    background: linear-gradient(#fffaf0, #f7e8c6);
    border: 1px solid #9c6d2c;
    border-radius: .35rem;
    color: #593811;
    display: inline-flex;
    font: 700 1rem / 1.25 Georgia, "Times New Roman", serif;
    justify-content: center;
    min-block-size: 44px;
    padding: .5rem 1rem;
    text-decoration: none;
}

.about-editor-page .about-page-actions__link:hover {
    background: #f2dfb5;
    text-decoration: underline;
}

.about-editor-page .about-page-actions__link:focus-visible {
    outline: 2px solid #754a12;
    outline-offset: 3px;
}

.about-editor-page .about-section__text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}
