/* Damien Lafferty Protected Staging About template (004)
 *
 * Reuses the same colour/type tokens declared by the 003 homepage overlay so
 * the guarded About page sits inside the same visual system. The 003 stylesheet
 * is enqueued first, so all dl32d-* variables, fonts and container widths are
 * already available on dl32k-about-page bodies.
 */

body.dl32k-about-page,
.dl32k-about-page * {
    box-sizing: border-box;
}

.dl32k-about-page {
    width: 100%;
    overflow: clip;
    color: var(--dl32d-ink);
    background: var(--dl32d-white);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.dl32k-review-notice {
    width: 100%;
    padding: 12px 20px;
    color: #102a37;
    background: #fff4cc;
    border-bottom: 1px solid #d9b954;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.dl32k-container {
    width: min(100% - 40px, 1120px);
    margin-inline: auto;
}

.dl32k-narrow {
    max-width: 880px;
}

.dl32k-section {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0;
}

.dl32k-section-tint {
    background: var(--dl32d-sky);
}

.dl32k-section h1,
.dl32k-section h2,
.dl32k-section h3,
.dl32k-section p,
.dl32k-section ul {
    margin-top: 0;
}

.dl32k-section h1,
.dl32k-section h2,
.dl32k-section h3 {
    color: var(--dl32d-navy);
    font-family: inherit;
    line-height: 1.15;
}

.dl32k-h1 {
    max-width: 880px;
    margin-bottom: 18px;
    font-size: clamp(34px, 4.4vw, 56px);
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.dl32k-h2 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(28px, 3.2vw, 42px);
    letter-spacing: -0.02em;
}

.dl32k-h3 {
    margin-bottom: 18px;
    font-size: clamp(20px, 2.2vw, 26px);
}

.dl32k-section p {
    max-width: 780px;
    color: var(--dl32d-muted);
    font-size: 18px;
    line-height: 1.7;
}

.dl32k-section p + p {
    margin-top: 14px;
}

.dl32k-bio-lead p {
    max-width: 720px;
    color: var(--dl32d-ink);
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.7;
}

.dl32k-eyebrow {
    display: inline-block;
    margin-bottom: 14px !important;
    color: var(--dl32d-blue) !important;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dl32k-authority-line {
    margin-top: 18px !important;
    color: var(--dl32d-ink) !important;
    font-weight: 700;
}

.dl32k-working-copy-label {
    display: inline-block;
    margin-bottom: 18px !important;
    padding: 6px 10px;
    border: 1px solid #b58900;
    border-radius: 4px;
    color: #5f4900 !important;
    background: #fff4cc;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.4 !important;
}

.dl32k-hero {
    padding: clamp(72px, 10vw, 128px) 0;
    background:
        radial-gradient(circle at 88% 15%, rgba(0, 104, 157, 0.14), transparent 34%),
        linear-gradient(135deg, #f8fcfd 0%, #eaf4f8 100%);
}

.dl32k-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.6fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
}

.dl32k-hero-portrait {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    border-radius: 14px;
    object-fit: contain;
}

.dl32k-list {
    max-width: 760px;
    margin: 14px 0 22px;
    padding-left: 22px;
    color: var(--dl32d-muted);
    font-size: 18px;
    line-height: 1.7;
}

.dl32k-list li + li {
    margin-top: 6px;
}

.dl32k-card-grid {
    display: grid;
    gap: 22px;
    margin: 18px 0 22px;
}

.dl32k-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dl32k-card {
    --dl-card-title-slot: calc(2 * 1.15em);
    min-width: 0;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--dl32d-border);
    border-radius: 14px;
    background: var(--dl32d-white);
    box-shadow: 0 12px 34px rgba(0, 63, 104, 0.07);
}

.dl32k-card-grid > .dl32k-card > h3 {
    min-block-size: var(--dl-card-title-slot);
}

.dl32k-card p {
    margin-bottom: 8px;
}

.dl32k-card .dl32k-list {
    margin: 4px 0 0;
}

.dl32k-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.dl32k-resource-actions {
    margin: 24px 0;
}

.dl32k-youtube-link {
    gap: 8px;
}

.dl32k-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 2px solid var(--dl32d-navy);
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
}

.dl32k-button-primary {
    color: var(--dl32d-navy) !important;
    background: #61ce70;
}

.dl32k-button-primary:hover,
.dl32k-button-primary:focus-visible {
    color: var(--dl32d-navy) !important;
    border-color: var(--dl32d-navy);
    background: #8bda96;
}

.dl32k-button-secondary {
    color: var(--dl32d-navy) !important;
    background: var(--dl32d-white);
}

.dl32k-button-secondary:hover,
.dl32k-button-secondary:focus-visible {
    background: var(--dl32d-sky);
}

.dl32k-about-page a:focus-visible,
.dl32k-about-page button:focus-visible {
    outline: 3px solid var(--dl32d-focus);
    outline-offset: 3px;
}

.dl32k-affiliation-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: min(100%, 780px);
    margin: 28px 0;
    padding: clamp(20px, 2.6vw, 28px) 0;
    background: var(--dl32d-white);
}

.dl32k-affiliation-logo {
    display: flex;
    min-width: 0;
    min-height: 175px;
    height: 175px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.dl32k-affiliation-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 175px;
    object-fit: contain;
}

.dl32k-affiliation-logo-newcastle img {
    max-width: 163px;
}

.dl32k-affiliation-logo-acps img {
    max-width: 117px;
}

.dl32k-affiliation-logo-facps img {
    max-width: 175px;
}

@media (max-width: 900px) {
    .dl32k-hero-grid {
        grid-template-columns: 1fr;
    }

    .dl32k-hero-portrait {
        width: min(100%, 360px);
        max-height: none;
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .dl32k-affiliation-logos {
        gap: 12px;
        width: min(100%, 780px);
        margin: 24px 0;
        padding: 16px 0;
    }

    .dl32k-affiliation-logo {
        min-height: 120px;
        height: 120px;
        padding: 4px;
    }

    .dl32k-affiliation-logo img,
    .dl32k-affiliation-logo-newcastle img,
    .dl32k-affiliation-logo-acps img,
    .dl32k-affiliation-logo-facps img {
        max-width: 112px;
        max-height: 112px;
    }

    .dl32k-container {
        width: min(100% - 32px, 1120px);
    }

    .dl32k-section {
        padding: 52px 0;
    }

    .dl32k-card-grid-two {
        grid-template-columns: 1fr;
    }

    .dl32k-card-grid > .dl32k-card {
        --dl-card-title-slot: 0px;
    }

    .dl32k-actions .dl32k-button {
        width: 100%;
    }

    .dl32k-review-notice {
        padding-right: 14px;
        padding-left: 14px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl32k-about-page * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
