/* Shared editorial layout for case studies and press articles. */
body.gc-board-page > .section-empty > .container.content:has(> .gc-article) {
    width: calc(100% - var(--gc-board-gutter, 24px) * 2) !important;
    max-width: var(--gc-board-reading-width, 1080px) !important;
    margin-inline: auto;
    padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 88px) !important;
}

.gc-article-page-title {
    position: relative;
    margin: 0 0 clamp(32px, 4vw, 52px);
    padding-left: 17px;
    color: var(--gc-navy, #122132);
    font-family: var(--gc-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -.035em;
}

.gc-article-page-title::before {
    content: "";
    position: absolute;
    top: .25em;
    bottom: .25em;
    left: 0;
    width: 3px;
    background: var(--gc-bronze, #b4a07e);
}

.gc-article {
    min-width: 0;
    color: #35414d;
    font-family: var(--gc-sans);
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.gc-article [hidden] { display: none !important; }

.gc-article-head {
    position: static;
    z-index: auto;
    background: transparent;
    padding-bottom: clamp(28px, 3vw, 40px);
    border-bottom: 1px solid #d8cbb5;
}

.gc-article .gc-article-head h1 {
    margin: 0;
    color: var(--gc-navy, #122132);
    font-family: var(--gc-serif);
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: -.04em;
    word-break: keep-all;
}

.gc-article .gc-article-summary {
    max-width: 900px;
    margin: 22px 0 0;
    color: #596574;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: -.025em;
}

.gc-article .gc-article-date {
    display: block;
    margin: 22px 0 0;
    color: #626e79;
    font-family: var(--gc-sans);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .035em;
    font-variant-numeric: tabular-nums;
}

/* Information remains compact even when only a single field is available. */
.gc-article .gc-case-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 56px;
    margin: 0 0 40px;
    padding: 25px 0;
    border-bottom: 1px solid #e6e2da;
    background: #fff;
}

.gc-article .gc-case-meta-field { min-width: 0; }
.gc-article .gc-case-meta-areas { flex: 0 1 auto; }
.gc-article .gc-case-meta-people { flex: 1 1 260px; }
.gc-article .gc-case-meta-label {
    display: block;
    margin-bottom: 7px;
    color: #837460;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .025em;
}

.gc-article .gc-case-meta-values {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 22px;
    align-items: center;
    margin: 0;
    color: #273b4e;
    font-size: 15px;
    line-height: 1.8;
}

.gc-article .gc-case-meta-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    max-width: 100%;
    padding: 3px 0;
    color: #273b4e;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    text-decoration: none;
    transition: color .2s ease;
}

.gc-article .gc-case-meta-arrow { color: #a28b66; font-size: 12px; }
.gc-article .gc-case-meta-link:hover { color: #806847; }
.gc-article a:focus-visible {
    outline: 2px solid #9c835c;
    outline-offset: 5px;
}

.gc-article .gc-case-meta-avatar {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    left: 50%;
    width: 144px;
    height: 176px;
    max-width: none;
    padding: 4px;
    border: 1px solid #cbb998;
    border-radius: 2px;
    background: #fff;
    object-fit: cover;
    object-position: 50% 8%;
    box-shadow: 0 12px 28px rgba(18, 33, 50, .14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.gc-article .gc-case-meta-people .gc-case-meta-link:is(:hover, :focus-visible) .gc-case-meta-avatar {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.gc-article .gc-case-meta-result {
    flex-basis: 100%;
    padding: 20px 24px;
    border-left: 2px solid #b4a07e;
    background: #f8f7f3;
}

.gc-article .gc-case-meta-result .gc-case-meta-values {
    display: block;
    color: #263748;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.85;
}

.gc-article .gc-case-meta-source { flex: 1 1 100%; }
.gc-article .gc-case-meta-source .gc-case-meta-link { font-size: 14px; }

/* One type system replaces the fonts and spacing pasted from old editors. */
.gc-article-body {
    padding-top: 36px;
    color: #35414d;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.95;
    letter-spacing: -.022em;
}

.gc-case-meta + .gc-article-body { padding-top: 0; }
.gc-article-body :is(p, div, section, span, li, td, th, pre, blockquote) {
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.gc-article-body p { margin: 0 0 25px; }
.gc-article-body > :first-child { margin-top: 0; }
.gc-article-body > :last-child { margin-bottom: 0; }
.gc-article-body :is(h2, h3, h4, h5, h6) {
    margin: 48px 0 20px;
    color: var(--gc-navy, #122132);
    font-family: var(--gc-serif);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: -.035em;
}

.gc-article-body :is(h3, h4, h5, h6) { margin-top: 36px; font-size: 21px; }
.gc-article-body :is(strong, b) { color: #21354a; font-weight: 600; }
.gc-article-body :is(ul, ol) { margin: 24px 0 30px; padding-left: 24px; }
.gc-article-body ul, .gc-article-body ul > li { list-style: disc; }
.gc-article-body ol, .gc-article-body ol > li { list-style: decimal; }
.gc-article-body li { margin: 9px 0; padding-left: 3px; }
.gc-article-body li > :last-child { margin-bottom: 0; }
.gc-article-body a {
    color: #6d5838;
    text-decoration: underline;
    text-decoration-color: #c9b899;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: color .2s ease, text-decoration-color .2s ease;
}
.gc-article-body a:hover { color: #253b51; text-decoration-color: #253b51; }
.gc-article-body .gc-article-source-note {
    margin: 28px 0;
    padding: 18px 20px;
    border: 1px solid #e5e1d8;
    color: #626e79;
    font-size: 14px;
    line-height: 1.8;
}
.gc-article-body :is(blockquote, pre) {
    margin: 32px 0;
    padding: 24px 28px;
    border: 0;
    border-left: 2px solid #b4a07e;
    border-radius: 0;
    background: #f8f7f4;
    color: #43505c;
    white-space: pre-wrap;
}
.gc-article-body blockquote p:last-child { margin-bottom: 0; }
.gc-article-body hr { height: 1px; margin: 40px 0; border: 0; background: #e5e1d8; }
.gc-article-body :is(img, video, iframe) { max-width: 100%; }
.gc-article-body img { display: block; height: auto; margin: 24px auto; }
.gc-article-body figure,
.gc-article > .gc-article-cover {
    margin: 36px 0;
    padding: clamp(12px, 2vw, 22px);
    border: 1px solid #e8e4dc;
    background: #fbfbfa;
}
.gc-article-body figure img { margin: 0 auto; }
.gc-article > .gc-article-cover img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.gc-article-cover + .gc-article-body { padding-top: 0; }
.gc-article-body figcaption {
    margin-top: 14px;
    color: #626e79;
    font-family: var(--gc-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.75;
    text-align: center;
}
.gc-article-table-wrap { max-width: 100%; margin: 32px 0; overflow-x: auto; }
.gc-article-table-wrap:focus-visible { outline: 2px solid #9c835c; outline-offset: 4px; }
.gc-article-body table { width: 100%; min-width: 640px; margin: 0; border-collapse: collapse; }
.gc-article-body :is(th, td) { padding: 14px 18px; border: 1px solid #e2e0da; text-align: left; }
.gc-article-body th { background: #f5f5f1; color: #24394c; font-weight: 600; }
.gc-article-body .gc-article-embed { position: relative; aspect-ratio: 16 / 9; margin: 36px 0; }
.gc-article-body .gc-article-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gc-article-result { margin: 32px 0; padding: 26px 28px; border-left: 2px solid #b4a07e; background: #f8f7f3; }
.gc-article-body .gc-article-result-label { margin-bottom: 8px; color: #837460; font-size: 12px; font-weight: 500; }
.gc-article-body .gc-article-result-title { margin-bottom: 12px; color: #172d42; font-family: var(--gc-serif); font-size: 28px; font-weight: 600; line-height: 1.6; }
.gc-article-result > :last-child { margin-bottom: 0; }

.gc-article-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid #dedbd4;
}
.gc-article-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
    color: #495867;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.gc-article-nav .gc-article-prev { grid-column: 1; justify-self: start; }
.gc-article-nav .gc-article-back { grid-column: 2; padding: 10px 28px; border: 1px solid #bdb29e; color: #263c51; }
.gc-article-nav .gc-article-next { grid-column: 3; justify-self: end; }
.gc-article-nav a:hover { color: #816a45; }
.gc-article-nav .gc-article-back:hover { border-color: #263c51; background: #f8f7f3; }
.gc-article-nav svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.4; flex: none; }

@media (max-width: 639px) {
    .gc-article-page-title { margin-bottom: 28px; font-size: 19px; }
    .gc-article .gc-article-head h1 { font-size: 25px; line-height: 1.6; }
    .gc-article .gc-article-summary { margin-top: 17px; font-size: 16px; line-height: 1.85; }
    .gc-article .gc-article-date { margin-top: 18px; font-size: 12px; }
    .gc-article .gc-case-meta { gap: 18px 32px; margin-bottom: 28px; padding: 20px 0; }
    .gc-article .gc-case-meta-people { flex-basis: 100%; }
    .gc-article .gc-case-meta-values { gap: 5px 18px; }
    .gc-article .gc-case-meta-link { min-height: 40px; font-size: 14px; }
    .gc-article .gc-case-meta-avatar { display: none; }
    .gc-article .gc-case-meta-result { padding: 18px; }
    .gc-article .gc-case-meta-result .gc-case-meta-values { font-size: 17px; }
    .gc-article-body { padding-top: 28px; font-size: 16px; line-height: 1.9; }
    .gc-article-body p { margin-bottom: 22px; }
    .gc-article-body :is(h2, h3, h4, h5, h6) { margin: 34px 0 16px; font-size: 21px; }
    .gc-article-body :is(h3, h4, h5, h6) { font-size: 19px; }
    .gc-article-body :is(blockquote, pre), .gc-article-result { margin: 26px 0; padding: 20px 18px; }
    .gc-article-body .gc-article-result-title { font-size: 23px; }
    .gc-article-body figure { margin: 28px 0; }
    .gc-article-body :is(th, td) { padding: 12px; font-size: 14px; }
    .gc-article-nav { gap: 10px; margin-top: 40px; padding-top: 22px; }
    .gc-article-nav a { gap: 6px; font-size: 13px; }
    .gc-article-nav .gc-article-back { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .gc-article a, .gc-article .gc-case-meta-avatar { transition: none; }
}
