:root {
    color-scheme: light;
    --paper: #fbfaf5;
    --paper-soft: #f3f2e9;
    --ink: #26352a;
    --muted: #6d786e;
    --green: #6f8b70;
    --green-dark: #36533d;
    --green-pale: #e8efe5;
    --yellow: #d9c96f;
    --yellow-pale: #f5f0d7;
    --line: #dde2d8;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page-width,
.header-inner {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 5;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.brand img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: var(--green-dark);
}

.brand-kicker {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-name small {
    display: block;
    margin: 0;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .025em;
    line-height: 1.05;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.7vw, 28px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
}

.nav-link {
    position: relative;
    padding-block: 8px;
    color: #5f6b61;
    text-transform: uppercase;
    transition: color .18s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-dark);
}

.nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    background: var(--yellow);
    content: "";
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: min(652px, calc(100vh - 84px));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    padding: 48px clamp(36px, 5.5vw, 72px);
    background: #243127;
}

.hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 1;
    width: min(760px, 68vw);
    max-width: none;
    margin-left: clamp(0px, 22vw, 320px);
}

.eyebrow {
    margin: 0;
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.6;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.04em;
}

h1 {
    margin: 21px 0 18px;
    color: var(--ink);
    font-size: clamp(46px, 5vw, 66px);
    line-height: 1.08;
}

.hero .eyebrow {
    color: #e0d695;
}

.hero h1 {
    margin: 24px 0 18px;
    color: #fff;
    font-family: var(--sans);
    font-size: clamp(46px, 5.5vw, 72px);
    font-weight: 400;
    letter-spacing: .055em;
    line-height: 1.14;
    text-transform: uppercase;
}

h1 em,
h2 em {
    color: #71896b;
    font-weight: 500;
}

.hero h1 em {
    color: #e2e5ad;
}

.hero-description {
    max-width: 490px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.button:hover {
    border-color: var(--green-dark);
}

.button-hero {
    background: #fff;
    color: #263d2d;
}

.button-hero:hover {
    background: #ecebdc;
    color: #263d2d;
}

.button-light:hover {
    background: #294631;
    color: #fff;
}

.button-hero-outline {
    border-color: rgba(255, 255, 255, .72);
    color: #fff;
}

.button-hero-outline:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.note-mark {
    color: #e0d695;
    font-size: 17px;
}

.hero-art {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 66% 38%, rgba(151, 137, 108, .8), transparent 44%),
        linear-gradient(115deg, #454b40, #777361 54%, #343b32);
    pointer-events: none;
}

.hero-art::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 31, 22, .78), rgba(17, 31, 22, .45) 52%, rgba(17, 31, 22, .34)),
        linear-gradient(0deg, rgba(12, 21, 15, .55), transparent 42%, rgba(18, 27, 21, .22));
    content: "";
}

.hero-bg-piece {
    position: absolute;
    bottom: -15%;
    color: rgba(190, 161, 112, .48);
    font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", serif;
    line-height: 1;
    text-shadow: 0 24px 28px rgba(12, 17, 13, .3);
    filter: blur(5px);
    user-select: none;
}

.piece-pawn-far {
    bottom: 10%;
    left: 1%;
    color: rgba(220, 207, 165, .42);
    font-size: clamp(110px, 13vw, 190px);
    filter: blur(6px);
}

.piece-rook-left {
    left: 12%;
    color: rgba(78, 60, 39, .78);
    font-size: clamp(240px, 29vw, 420px);
    filter: blur(9px);
}

.piece-knight-left {
    left: 24%;
    color: rgba(172, 138, 91, .68);
    font-size: clamp(260px, 31vw, 440px);
    filter: blur(5px);
}

.piece-pawn-center {
    left: 52%;
    color: rgba(201, 174, 126, .64);
    font-size: clamp(200px, 24vw, 340px);
    filter: blur(7px);
}

.piece-king {
    bottom: -8%;
    left: 60%;
    color: rgba(94, 65, 38, .82);
    font-size: clamp(390px, 44vw, 620px);
    filter: blur(3px);
}

.piece-knight-right {
    right: 1%;
    color: rgba(177, 133, 87, .7);
    font-size: clamp(280px, 34vw, 480px);
    filter: blur(6px);
}

.club-records {
    padding-block: 25px;
    background: #fff;
}

.club-records-inner {
    width: min(1200px, calc(100% - 64px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-inline: auto;
}

.club-record {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 24px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.club-record:last-child {
    border-right: 0;
}

.club-record strong {
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 400;
    line-height: 1;
}

.club-record span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.club-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 38px clamp(40px, 6vw, 80px);
    padding: 72px max(32px, calc((100% - 1120px) / 2));
    background: var(--yellow-pale);
}

.club-copy {
    max-width: 670px;
}

.club-copy h2,
.section-heading h2 {
    margin: 13px 0 16px;
    font-size: clamp(39px, 4vw, 49px);
    line-height: 1.12;
}

.club-copy > p:not(.eyebrow) {
    max-width: 650px;
    margin: 17px 0 23px;
    color: #5d675e;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.button-light {
    background: var(--green-dark);
    color: #fff;
}

.club-photo {
    min-width: 0;
    margin: 0;
}

.club-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.8;
    border: 5px solid rgba(255, 255, 255, .8);
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(49, 62, 41, .14);
}

.inner-page {
    min-height: calc(100vh - 84px);
    padding: 64px 32px 80px;
    background: var(--paper);
}

.inner-page-inner {
    width: min(1200px, 100%);
    margin-inline: auto;
}

.inner-page-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.inner-page-heading h1 {
    margin: 12px 0 16px;
    color: var(--ink);
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.08;
}

.inner-page-lead {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.inner-page-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 38px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.inner-page-feature img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.55;
    border-radius: 3px;
    object-fit: cover;
}

.inner-page-feature-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(29px, 3.2vw, 40px);
    line-height: 1.12;
}

.inner-page-feature-copy p {
    margin: 0;
    color: #5d675e;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.inner-page-placeholder {
    max-width: 760px;
    padding: 28px 30px;
    border-left: 4px solid var(--green);
    background: var(--green-pale);
}

.inner-page-placeholder p {
    margin: 0;
    color: #5d675e;
    font-size: 15px;
    line-height: 1.8;
}

.inner-page-placeholder p + p {
    margin-top: 12px;
}

.subpage-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
    border: 1px solid var(--line);
    background: #fff;
}

.subpage-stat {
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 22px 12px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.subpage-stat:last-child {
    border-right: 0;
}

.subpage-stat strong {
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.subpage-stat span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.club-history {
    display: grid;
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
    gap: clamp(28px, 5vw, 64px);
    margin-top: 40px;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--line);
    background: #fff;
}

.club-history-heading {
    align-self: start;
    padding-left: 18px;
    border-left: 3px solid var(--yellow);
}

.club-history-heading .eyebrow {
    margin: 0;
}

.club-history-heading h2 {
    margin: 14px 0 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.12;
}

.club-history-body {
    display: grid;
    gap: 18px;
}

.club-history-body p {
    margin: 0;
    color: #5d675e;
    font-size: 14px;
    line-height: 1.85;
}

.club-history-body strong {
    color: var(--green-dark);
    font-weight: 700;
}

.club-programs {
    padding: 52px max(32px, calc((100% - 1200px) / 2)) 58px;
    background: var(--paper);
}

.club-programs-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.program-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.program-image {
    display: block;
    width: 100%;
    height: clamp(180px, 20vw, 280px);
    object-fit: cover;
    transition: transform .35s ease;
}

.program-competition .program-image {
    object-position: center 48%;
}

.program-school .program-image {
    object-position: center 36%;
}

.program-panel:hover .program-image,
.program-panel:focus-within .program-image {
    transform: scale(1.035);
}

.program-content {
    padding: 20px clamp(20px, 2.4vw, 30px) 24px;
}

.program-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.program-heading-row .eyebrow {
    margin: 0;
    color: var(--green-dark);
    letter-spacing: .14em;
}

.program-title-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 15px 0 12px;
}

.program-title-emoji {
    flex: 0 0 auto;
    padding-top: 1px;
    font-size: 27px;
    line-height: 1.2;
}

.program-competition {
    background: #fff;
}

.program-school {
    background: #fff;
}

.program-panel h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(20px, 1.8vw, 25px);
    font-weight: 750;
    letter-spacing: .015em;
    line-height: 1.3;
    text-transform: uppercase;
}

.program-content > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 0;
    color: #5d675e;
    font-size: 14px;
    line-height: 1.75;
}

.program-read-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
    transition: color .18s ease;
}

.program-read-link:hover,
.program-read-link:focus-visible {
    color: #294631;
}

.program-read-arrow {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    transition: transform .18s ease;
}

.program-read-link:hover .program-read-arrow,
.program-read-link:focus-visible .program-read-arrow {
    transform: translateX(4px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 31px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-intro {
    max-width: 350px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.filter-row {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.filter-label {
    color: #737d73;
    font-size: 11px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-button {
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: #657166;
    cursor: pointer;
    font-size: 11px;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.filter-button:hover,
.filter-button.selected {
    border-color: #bcc9b6;
    background: var(--green-pale);
    color: var(--green-dark);
}

.article-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    align-items: start;
    gap: 22px;
}

.article-card {
    min-width: 0;
}

.article-card[hidden] {
    display: none;
}

.article-visual {
    position: relative;
    min-height: 205px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(38, 53, 42, .08);
    border-radius: 4px;
}

.visual-featured {
    background: var(--green-pale);
}

.visual-featured::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--green);
    content: "";
}

.visual-kicker {
    position: absolute;
    top: 18px;
    left: 19px;
    color: #586e59;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.visual-kicker span {
    padding-inline: 5px;
    color: #9a8b3e;
}

.visual-quote {
    position: absolute;
    bottom: 23px;
    left: 19px;
    color: #334d39;
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.15;
}

.visual-knight {
    position: absolute;
    right: 28px;
    bottom: 10px;
    color: rgba(83, 112, 82, .35);
    font-size: 112px;
    line-height: 1;
}

.visual-coordinate {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #667466;
    font-size: 8px;
    line-height: 1.5;
    text-align: right;
}

.visual-learning {
    background: var(--yellow-pale);
}

.visual-learning .visual-kicker,
.visual-ideas .visual-kicker {
    color: #65715e;
}

.visual-number {
    position: absolute;
    top: 43px;
    left: 19px;
    color: #435b43;
    font-family: var(--serif);
    font-size: 46px;
}

.visual-number span {
    color: #ad9e4b;
}

.visual-slogan {
    position: absolute;
    bottom: 17px;
    left: 20px;
    color: #465946;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.08;
}

.learning-pawn {
    position: absolute;
    right: 23px;
    bottom: 8px;
    color: #728b6e;
    font-size: 95px;
    line-height: 1;
}

.visual-ideas {
    background: #f0f1e8;
}

.visual-question {
    position: absolute;
    bottom: 16px;
    left: 20px;
    color: #354c39;
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.08;
}

.visual-question em {
    color: #7a8d69;
}

.idea-spark {
    position: absolute;
    top: 45px;
    right: 38px;
    color: #a99a4e;
    font-size: 43px;
}

.idea-coordinate {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #687365;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
    color: #858b80;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .07em;
}

.article-meta > span:first-child {
    color: #61775f;
}

.meta-line {
    width: 18px;
    height: 1px;
    background: #c9cfc5;
}

.article-card h3 {
    margin: 10px 0 8px;
    color: #29372d;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.article-card > p {
    margin-bottom: 12px;
    color: #6d766d;
    font-size: 12px;
    line-height: 1.7;
}

.article-link {
    color: var(--green-dark);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.article-link span {
    margin-left: 4px;
    color: #9a8b3e;
}

.article-more {
    margin-top: 12px;
}

.article-more summary {
    display: inline-flex;
    align-items: center;
    list-style: none;
}

.article-more summary::-webkit-details-marker {
    display: none;
}

.article-more summary span {
    display: inline-block;
    transition: transform .18s ease;
}

.article-more[open] summary span {
    transform: rotate(45deg);
}

.article-more > p {
    margin: 11px 0 0;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    color: #6b756b;
    font-size: 12px;
    line-height: 1.7;
}

.empty-state {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.site-footer {
    color: #f5f5ec;
}

.footer-sponsors {
    padding-block: 25px 30px;
    background: #d7dfd4;
}

.footer-sponsors-inner {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.footer-sponsors h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-sponsor-logos {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 52px);
}

.footer-sponsor {
    width: clamp(210px, 24vw, 300px);
    height: 108px;
    display: grid;
    flex: 0 1 auto;
    place-items: center;
    padding: 0;
}

.footer-sponsor img {
    display: block;
    width: auto;
    height: 108px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.footer-main {
    background: var(--green-dark);
}

.footer-inner {
    width: min(1470px, calc(100% - 80px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(190px, .75fr) minmax(200px, .75fr);
    gap: 48px;
    padding-block: 32px 42px;
}

.footer-club {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.footer-tagline {
    max-width: 580px;
    margin: 0;
    color: rgba(245, 245, 236, .76);
    font-size: 16px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
}

.footer-social-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.footer-social-facebook svg {
    fill: currentColor;
}

.footer-social-facebook {
    color: #1877f2;
}

.footer-social-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-instagram {
    color: #e1306c;
}

.footer-social-instagram .footer-social-dot {
    fill: currentColor;
    stroke: none;
}

.footer-map-link {
    width: 100%;
    max-width: 340px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid rgba(245, 245, 236, .2);
    border-radius: 4px;
    background: rgba(255, 255, 255, .06);
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
    border-color: rgba(230, 223, 170, .65);
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

.footer-map-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #e7eddf;
}

.footer-map-road {
    position: absolute;
    z-index: 0;
    display: block;
    background: #fffdf8;
    box-shadow: 0 0 0 1px #d4dccc;
}

.footer-map-road-one {
    top: 35%;
    left: -15%;
    width: 130%;
    height: 7px;
    transform: rotate(-24deg);
}

.footer-map-road-two {
    top: 62%;
    left: -18%;
    width: 136%;
    height: 5px;
    transform: rotate(28deg);
}

.footer-map-road-three {
    top: -25%;
    left: 60%;
    width: 6px;
    height: 150%;
    transform: rotate(18deg);
}

.footer-map-pin {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #fffdf8;
    border-radius: 50% 50% 50% 0;
    background: var(--green-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transform: translate(-50%, -68%) rotate(-45deg);
}

.footer-map-pin::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #e6dfaa;
    content: "";
}

.footer-map-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.footer-map-copy strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.footer-map-copy small {
    color: rgba(245, 245, 236, .76);
    font-size: 10px;
    line-height: 1.4;
}

.footer-map-cta {
    color: #e6dfaa;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.4;
}

.footer-map-cta span {
    margin-left: 3px;
}

.footer-club-logo {
    display: block;
    width: 58px;
    height: 58px;
    padding: 0;
}

.footer-club-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-navigation h2,
.footer-contact h2 {
    margin: 0 0 22px;
    color: #fff;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-navigation ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-navigation a,
.footer-contact p {
    color: rgba(245, 245, 236, .82);
    font-size: 16px;
    line-height: 1.6;
}

.footer-navigation a {
    transition: color .18s ease;
}

.footer-navigation a:hover {
    color: #e6dfaa;
}

.footer-contact p {
    margin: 0 0 14px;
}

.footer-bottom {
    background: #2b4031;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    padding-block: 19px;
}

.footer-bottom small {
    color: rgba(245, 245, 236, .58);
    font-size: 13px;
}

@media (max-width: 900px) {
    .page-width,
    .header-inner {
        width: min(100% - 40px, 720px);
    }

    .header-inner {
        width: calc(100% - 40px);
    }

    .main-nav {
        gap: 10px;
        font-size: 9px;
        letter-spacing: .03em;
    }

    .hero {
        min-height: 560px;
        grid-template-columns: minmax(0, 1fr);
        padding-inline: 32px;
    }

    .hero-copy {
        width: calc(100% - clamp(0px, 8vw, 72px));
        margin-left: clamp(0px, 8vw, 72px);
    }

    .hero h1 {
        font-size: clamp(30px, 5vw, 52px);
    }

    .club-section {
        grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr);
        gap: 32px;
        padding-inline: 32px;
    }

    .inner-page-feature {
        gap: 24px;
        padding: 18px;
    }

    .program-content {
        padding-inline: 26px;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .article-featured {
        grid-column: 1 / -1;
    }

    .article-featured .article-visual {
        min-height: 230px;
    }

    .footer-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(130px, .8fr) minmax(145px, .8fr);
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-block: 12px;
    }

    .main-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, max-content);
        justify-content: space-between;
        gap: 10px 12px;
    }

    .club-records-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-record {
        padding: 18px 12px;
    }

    .club-record:nth-child(2n) {
        border-right: 0;
    }

    .club-record:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .club-record:nth-child(n+3) {
        border-bottom: 0;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 124px;
    }

    .page-width,
    .header-inner {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 0;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-kicker {
        font-size: 8px;
    }

    .brand-name small {
        font-size: 14px;
    }

    .club-records {
        padding-block: 18px;
    }

    .club-records-inner {
        width: calc(100% - 36px);
    }

    .club-record {
        gap: 5px;
        padding: 15px 8px;
    }

    .club-record strong {
        font-size: clamp(30px, 8vw, 38px);
    }

    .club-record span {
        font-size: 8px;
        letter-spacing: .06em;
    }

    .main-nav {
        gap: 10px 8px;
        font-size: 8px;
        letter-spacing: .02em;
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 45px 22px 38px;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .hero-copy::after {
        display: block;
        width: 100%;
        margin-top: 32px;
        aspect-ratio: 1.08;
        content: "";
    }

    .hero h1 {
        margin-top: 16px;
        font-size: clamp(35px, 9.5vw, 47px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-note {
        margin-top: 20px;
    }

    .piece-pawn-far {
        font-size: 120px;
    }

    .piece-rook-left {
        left: 8%;
        font-size: 230px;
    }

    .piece-knight-left {
        left: 20%;
        font-size: 240px;
    }

    .piece-pawn-center {
        left: 48%;
        font-size: 190px;
    }

    .piece-king {
        left: 55%;
        font-size: 300px;
    }

    .piece-knight-right {
        right: -12%;
        font-size: 220px;
    }

    .club-section {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 46px 22px;
    }

    .inner-page {
        min-height: 0;
        padding: 44px 18px 56px;
    }

    .inner-page-heading h1 {
        font-size: clamp(36px, 9vw, 44px);
    }

    .inner-page-feature {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
    }

    .inner-page-feature-copy h2 {
        font-size: 32px;
    }

    .subpage-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-history {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 22px 18px;
    }

    .club-history-heading h2 {
        font-size: clamp(30px, 8vw, 36px);
    }

    .subpage-stat:nth-child(2n) {
        border-right: 0;
    }

    .subpage-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .subpage-stat:nth-child(n+3) {
        border-bottom: 0;
    }

    .club-copy h2,
    .section-heading h2 {
        font-size: 39px;
    }

    .club-copy > p:not(.eyebrow) {
        font-size: 13px;
    }

    .club-programs {
        padding: 38px 18px 44px;
    }

    .club-programs-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .program-panel {
        min-height: 0;
    }

    .program-content {
        padding: 18px 18px 20px;
    }

    .program-panel h2 {
        font-size: clamp(19px, 5.4vw, 22px);
    }

    .program-title-emoji {
        font-size: 24px;
    }

    .program-content > p:not(.eyebrow) {
        font-size: 13px;
    }

    .program-read-link {
        font-size: 10px;
    }

    .section-heading {
        display: block;
        margin-bottom: 24px;
    }

    .section-intro {
        margin-top: 13px;
    }

    .filter-row {
        display: block;
        padding-block: 11px;
    }

    .filter-label {
        display: block;
        margin-bottom: 6px;
    }

    .filter-buttons {
        gap: 3px;
    }

    .filter-button {
        padding: 7px 9px;
        font-size: 10px;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .article-featured {
        grid-column: auto;
    }

    .article-visual,
    .article-featured .article-visual {
        min-height: 215px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
        padding-block: 38px;
    }

    .footer-club {
        grid-column: 1 / -1;
    }

    .footer-sponsor-logos {
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-sponsor {
        width: min(200px, calc((100% - 10px) / 2));
        height: 78px;
    }

    .footer-sponsor img {
        height: 78px;
    }
}

@media (max-width: 600px) {
    .footer-sponsors {
        padding-block: 22px 26px;
    }

    .footer-sponsors-inner,
    .footer-inner,
    .footer-bottom-inner {
        width: calc(100% - 36px);
    }

    .footer-inner {
        gap: 28px 16px;
        padding-block: 34px;
    }

    .footer-navigation h2,
    .footer-contact h2 {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .footer-navigation ul {
        gap: 9px;
    }

    .footer-navigation a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-map-link {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 7px;
        margin-top: 6px;
        padding: 6px;
    }

    .footer-map-thumb {
        width: 38px;
        height: 44px;
    }

    .footer-map-copy {
        gap: 3px;
    }

    .footer-map-copy strong {
        font-size: 9px;
    }

    .footer-map-copy small {
        font-size: 8px;
    }

    .footer-map-cta {
        font-size: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}


/* Homenaje a José María Martín */
.memorial-section {
    background: #364735;
    color: #fffdf5;
    padding: clamp(31.2px, 3.9vw, 52px) 0;
    scroll-margin-top: 100px;
}
.memorial-inner {
    width: min(1430px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 416px);
    gap: clamp(31.2px, 5.2vw, 62.4px);
    align-items: center;
}
.memorial-copy h2 {
    color: inherit;
    font-size: clamp(33.8px, 3.25vw, 46.8px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 23.4px;
}
.memorial-copy > p {
    max-width: 780px;
    font-size: 20.8px;
    line-height: 1.65;
    margin: 0 0 15.6px;
    color: #f0eee4;
}
.memorial-photo { margin: 0; }
.memorial-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}
@media (max-width: 760px) {
    .memorial-inner {
        width: calc(100% - 36px);
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
    .memorial-photo { width: min(100%, 390px); }
}

/* Palmarés del Club Ajedrez Abgena Gines */
.honours-section {
    padding: clamp(40px, 5vw, 72px) 0;
    background: #fff;
    color: #30352f;
}
.honours-inner {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}
.honours-section h2 {
    margin: 0 0 clamp(28px, 4vw, 48px);
    text-align: center;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.25;
}
.honours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.honours-card {
    padding: 26px 30px;
    border-left: 4px solid #a8b29f;
    border-radius: 4px;
    background: #f7f0df;
}
.honours-year {
    margin: 0 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.15;
    color: #364735;
}
.honours-card h3 {
    margin: 0;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    color: inherit;
}
.honours-card-featured {
    background: #364735;
    color: #fffdf5;
}
.honours-card-featured .honours-year { color: #fffdf5; }
@media (max-width: 600px) {
    .honours-inner { width: calc(100% - 36px); }
    .honours-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .honours-card { padding: 22px 24px; }
}

/* Invitación a formar parte del club */
.club-join { padding: 64px 18px; background: #f7f0df; text-align: center; }
.club-join-inner { max-width: 650px; margin: 0 auto; }
.club-join h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 32px); line-height: 1.25; }
.club-join p { margin: 0 auto 30px; color: #626959; font-size: 16px; line-height: 1.75; }
.club-join-button { display: inline-block; padding: 18px 30px; border-radius: 3px; background: #364735; color: #fffdf5; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.club-join-button:hover { background: #243b29; }

/* Ajuste visual de Sobre nosotros: se conserva todo el contenido */
.about-refined .inner-page {
    min-height: 0;
    padding: 56px 32px 72px;
    background: linear-gradient(180deg, #edf1e8 0, var(--paper) 280px);
}
.about-refined .inner-page-inner { max-width: 1160px; }
.about-refined .inner-page-heading {
    max-width: none;
    padding-bottom: 30px;
    margin-bottom: 38px;
    border-bottom: 1px solid #ccd5c5;
}
.about-refined .inner-page-heading .eyebrow { color: #61735b; letter-spacing: .18em; }
.about-refined .inner-page-heading h1 {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    letter-spacing: -.035em;
    margin-bottom: 0;
}
.about-refined .club-history {
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.about-refined .club-history-heading { padding-top: 0; }
.about-refined .club-history-heading .eyebrow { font-size: 10px; line-height: 1.8; letter-spacing: .12em; color: #61735b; }
.about-refined .club-history-heading h2 {
    font: 400 clamp(28px, 3vw, 38px)/1.2 var(--serif);
    letter-spacing: -.02em;
    color: #344d37;
    margin: 0;
}
.about-refined .club-history-body { min-width: 0; }
.about-refined .club-history-body p {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
    color: #566054;
}
.about-refined .club-history-body p:first-child { font-size: 18px; line-height: 1.8; color: #344b37; }
.about-refined .club-history-body strong { color: #344b37; font-weight: 600; }
.about-refined .club-history-body p:last-child {
    margin: 28px 0 0;
    padding: 22px 26px;
    border-left: 3px solid #8a9b7b;
    background: #edf1e6;
    border-radius: 0 5px 5px 0;
}
.about-refined .memorial-section { background: #354633; }
.about-refined .memorial-inner { width: min(1160px, calc(100% - 64px)); }
.about-refined .memorial-copy h2 { font-family: var(--serif); letter-spacing: -.025em; }
.about-refined .memorial-copy > p { font-size: 18px; line-height: 1.8; max-width: 620px; }
.about-refined .memorial-photo img { border-radius: 6px; box-shadow: 0 12px 30px #17251726; }
.about-refined .honours-section { padding-block: 64px; background: var(--paper); }
.about-refined .honours-inner { width: min(1160px, calc(100% - 64px)); }
.about-refined .honours-section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.02em; }
.about-refined .honours-grid { gap: 20px; }
.about-refined .honours-card { padding: 28px 30px; border-left-width: 3px; border-radius: 0 6px 6px 0; background: #f3ecd9; }
.about-refined .honours-year { margin-bottom: 14px; }
.about-refined .honours-card h3 { font-size: 16px; }
.about-refined .honours-card-featured { background: #354633; }
.about-refined .club-join { padding-block: 56px; background: #eee8d6; border-top: 1px solid #e0dac6; }
.about-refined .club-join h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; }
.about-refined .club-join-button { padding: 17px 32px; font-size: 12px; letter-spacing: .08em; border-radius: 4px; }
@media (max-width: 760px) {
    .about-refined .inner-page { padding: 36px 18px 44px; }
    .about-refined .inner-page-heading { padding-bottom: 22px; margin-bottom: 28px; }
    .about-refined .club-history { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0; }
    .about-refined .club-history-heading h2 { max-width: 500px; }
    .about-refined .club-history-body p { font-size: 15px; line-height: 1.85; }
    .about-refined .club-history-body p:first-child { font-size: 17px; }
    .about-refined .club-history-body p:last-child { padding: 18px 20px; }
    .about-refined .memorial-inner, .about-refined .honours-inner { width: calc(100% - 36px); }
    .about-refined .memorial-copy > p { font-size: 17px; }
    .about-refined .honours-section { padding-block: 44px; }
    .about-refined .honours-card { padding: 24px; }
    .about-refined .club-join { padding-block: 42px; }
}

/* Clases: estructura de la referencia adaptada a Abgena Gines */
.school-page { background: #fff; }
.school-container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.school-hero { position: relative; min-height: 400px; height: 60vh; max-height: 660px; display: flex; align-items: center; background: #354b37; }
.school-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.school-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #263d2aeb 0%, #263d2aa6 55%, #15201766 100%); }
.school-hero-copy { position: relative; z-index: 1; color: #fffdf5; padding-block: 48px; }
.school-hero h1 { margin: 0 0 20px; font: 400 clamp(36px, 5vw, 60px)/1.15 var(--serif); letter-spacing: -.025em; }
.school-hero-copy > p { margin: 0 0 30px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.8; color: #f5f3e5; }
.school-button { display: inline-flex; justify-content: center; align-items: center; padding: 17px 26px; border: 1px solid #36533d; border-radius: 3px; background: #36533d; color: #fffdf5; font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; line-height: 1.5; text-align: center; }
.school-button:hover { background: #263d2a; }
.school-button-light { background: #fffdf5; border-color: #fffdf5; color: #36533d; }
.school-button-light:hover { background: #eee9d6; border-color: #eee9d6; }
.school-section { padding: 72px 0; }
.school-cream { background: #f5f0e2; }
.school-page h2 { margin: 0 0 22px; font: 400 clamp(28px, 3vw, 36px)/1.25 var(--serif); color: #36533d; }
.school-page p { line-height: 1.85; }
.school-intro { max-width: 720px; margin-bottom: 48px; }
.school-intro p { margin: 0 0 16px; font-size: 15px; color: #566052; }
.school-intro .school-button { margin-top: 12px; }
.school-profile { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: center; }
.school-profile > img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 35px #26352a1a; }
.school-profile h3 { margin: 0 0 8px; font: 400 28px/1.25 var(--serif); color: #36533d; }
.school-profile .school-profile-label { font-size: 10px; font-weight: 700; letter-spacing: .15em; margin: 0 0 20px; color: #69735e; }
.school-profile p:last-child { font-size: 15px; max-width: 660px; margin: 0; color: #566052; }
.school-centered { text-align: center; }
.school-dark { background: #364735; color: #f2f0e5; }
.school-dark h2 { color: #fffdf5; }
.school-narrow { max-width: 640px; margin: 0 auto; font-size: 16px; }
.school-options { max-width: 760px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.school-option { padding: 30px 24px; background: #f5f0e2; border-radius: 4px; text-align: center; }
.school-option-icon { display: block; font-size: 48px; color: #526e4c; line-height: 1.2; margin-bottom: 18px; }
.school-option h3 { margin: 0 0 12px; font-size: 17px; color: #36533d; }
.school-option p { margin: 0; font-size: 15px; color: #566052; }
.school-schedule-lead { margin: -8px 0 36px; font-size: 15px; color: #626d5c; }
.school-schedule { max-width: 480px; margin: 0 auto; background: #fff; border-radius: 4px; box-shadow: 0 4px 20px #26352a12; overflow: hidden; text-align: left; }
.school-schedule-header { background: #36533d; padding: 18px 24px; color: #fffdf5; }
.school-schedule-header h3 { margin: 0; font-size: 16px; }
.school-schedule-header p { margin: 4px 0 0; font-size: 12px; color: #e4e9db; }
.school-schedule-body { padding: 24px; }
.school-schedule-body p { margin: 0 0 20px; font-size: 15px; color: #566052; }
.school-schedule-link { display: block; padding: 14px; background: #f5f0e2; color: #36533d; font-size: 13px; font-weight: 600; text-align: center; border-radius: 3px; }
.school-schedule-link:hover { background: #e7eddf; }
.school-cta { background: #edf1e7; }
.school-cta .school-narrow { max-width: 520px; color: #566052; margin-bottom: 28px; }
@media (max-width: 900px) {
 .school-profile { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .school-profile > img { max-width: 480px; height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
 .school-container { width: calc(100% - 36px); }
 .school-hero { height: auto; min-height: 420px; }
 .school-section { padding: 44px 0; }
 .school-options { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 28px; }
 .school-intro { margin-bottom: 36px; }
 .school-hero-copy > p { font-size: 11px; letter-spacing: .1em; }
}

/* Cabecera original: encuadre superior para conservar las caras */
.school-hero-photo { object-position: center 24%; }
@media (max-width: 760px) {
    .school-hero { min-height: 0; height: auto; max-height: none; aspect-ratio: 1448 / 1086; }
    .school-hero-photo { object-fit: cover; object-position: center top; }
    .school-hero-copy { padding-block: 20px; }
    .school-hero h1 { font-size: clamp(26px, 6vw, 42px); margin-bottom: 12px; }
    .school-hero-copy > p { font-size: 10px; margin-bottom: 16px; }
    .school-hero .school-button { padding: 12px 16px; font-size: 10px; }
}

/* Color del título de la cabecera de clases */
#school-title { color: #000000 !important; -webkit-text-fill-color: #000000 !important; text-shadow: none; }

/* Inicio: identidad del club y composición de ajedrez */
.club-hero {
    isolation: isolate;
    min-height: 580px;
    padding: 64px max(32px, calc((100vw - 1200px) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
    background: radial-gradient(ellipse at 85% 20%, #536b42 0, transparent 48%), #20372a;
}
.club-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #dce48e; }
.club-hero .hero-copy { width: 100%; max-width: 650px; margin: 0; grid-column: 1; z-index: 2; }
.club-hero h1 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(38px, 4.7vw, 68px); font-weight: 400; line-height: 1.1; text-transform: none; letter-spacing: -.035em; color: #fffdf4; }
.club-hero h1 em { display: inline-block; margin-top: 8px; color: #e0e69a; font-weight: 400; }
.club-hero .hero-description { max-width: 380px; font-size: 17px; line-height: 1.8; color: #e4eadc; margin-bottom: 32px; }
.club-hero .button { min-height: 50px; padding-inline: 22px; }
.club-hero .button-hero { background: #e0e69a; color: #243b2b; }
.club-hero .button-hero:hover { background: #f0f3bc; }
.club-hero .button-hero-outline { border-color: #a6b59a; background: transparent; }
.club-hero-art { position: relative; grid-column: 2; width: 100%; height: 440px; pointer-events: none; }
.club-hero-halo { position: absolute; width: 360px; height: 360px; top: 10px; left: 50%; transform: translateX(-50%); border: 1px solid #c7d69d33; border-radius: 50%; box-shadow: 0 0 0 35px #c7d69d08, 0 0 0 70px #c7d69d05; }
.club-hero-board { position: absolute; left: -8%; right: -15%; height: 230px; bottom: -20px; background: repeating-conic-gradient(#b5c38a 0% 25%, #476045 0% 50%) 0 0 / 72px 72px; transform: perspective(550px) rotateX(52deg) rotateZ(-12deg); border: 9px solid #6f8053; box-shadow: 0 22px 40px #0a190c66; opacity: .8; }
.club-hero-piece { position: absolute; z-index: 2; font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', serif; line-height: 1; text-shadow: 4px 14px 12px #10231680; }
.club-hero-knight { right: 10%; bottom: 12px; font-size: 215px; color: #eef0cf; transform: rotate(-5deg); }
.club-hero-rook { left: 1%; bottom: 56px; font-size: 150px; color: #a6b67e; }
.club-hero-pawn { left: 37%; bottom: -10px; font-size: 118px; color: #d7dfaa; }
.club-hero-crest { position: absolute; top: 2px; left: 44%; transform: translateX(-50%) rotate(-7deg); width: 190px; height: 190px; border-radius: 50%; background: white; box-shadow: 0 14px 36px #10231659; border: 6px solid #dfe6b2; overflow: hidden; }
.club-hero-crest img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
 .club-hero { min-height: 510px; gap: 12px; padding: 48px 32px; }
 .club-hero-art { height: 370px; }
 .club-hero-crest { width: 155px; height: 155px; }
 .club-hero-knight { font-size: 170px; right: 0; }
 .club-hero-rook { font-size: 120px; }
 .club-hero-pawn { font-size: 100px; }
}
@media (max-width: 650px) {
 .club-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 40px 24px 24px; gap: 16px; }
 .club-hero .hero-copy { grid-column: 1; width: 100%; margin: 0; }
 .club-hero h1 { font-size: clamp(38px, 9vw, 54px); }
 .club-hero .hero-description { font-size: 15px; }
 .club-hero .hero-actions { gap: 10px; }
 .club-hero .button { padding-inline: 16px; }
 .club-hero-art { grid-column: 1; height: 290px; max-width: 390px; margin: 0 auto; }
 .club-hero-halo { width: 240px; height: 240px; }
 .club-hero-crest { width: 135px; height: 135px; left: 48%; }
 .club-hero-board { bottom: -30px; height: 180px; }
 .club-hero-knight { font-size: 155px; right: 10%; bottom: 0; }
 .club-hero-rook { font-size: 110px; left: 5%; bottom: 32px; }
 .club-hero-pawn { font-size: 88px; bottom: -6px; }
}

/* Inicio: ajedrez realista y luminoso, sin escudo en la cabecera */
.club-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 590px;
    background: #f1eadb;
}
.club-hero::before { display: none; }
.club-hero-real-photo { position: absolute; inset: 0; z-index: 0; background: url('images/inicio-ajedrez-discreto.png') center / cover no-repeat; }
.club-hero-real-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f6f0e5f5 0%, #f6f0e5d9 28%, #f6f0e550 52%, transparent 70%); }
.club-hero .hero-copy { max-width: 650px; }
.club-hero h1 { color: #253e2b; }
.club-hero h1 em { color: #527044; }
.club-hero .hero-description { color: #414f3d; }
.club-hero .button-hero { background: #36533d; color: #fffdf5; }
.club-hero .button-hero:hover { background: #253e2b; color: #fff; }
.club-hero .button-hero-outline { color: #2c462f; border-color: #62765b; background: #fffdf59c; }
.club-hero .button-hero-outline:hover { background: #fffdf5; color: #253e2b; }
@media (max-width: 650px) {
    .club-hero { min-height: 620px; align-items: start; padding-top: 40px; }
    .club-hero-real-photo { background-position: 67% bottom; }
    .club-hero-real-photo::after { background: linear-gradient(180deg, #f6f0e5fa 0%, #f6f0e5ed 35%, #f6f0e56b 63%, transparent 85%); }
}


/* Cabecera integrada con la tipografía, paleta y controles del club */
.club-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding-inline: max(32px, calc((100% - 1200px) / 2));
}
.club-hero h1 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.12;
}
.club-hero h1 em { color: #71896b; font-weight: 500; }
.club-hero .hero-description { color: #5d675e; font-size: 15px; line-height: 1.8; }
.club-hero .hero-actions { gap: 11px; }
.club-hero .button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
}
.club-hero .button-hero { background: var(--green-dark); color: #fff; }
.club-hero .button-hero:hover { background: #294631; }
.club-hero .button-hero-outline { color: var(--green-dark); border-color: var(--green-dark); background: var(--paper); }
.club-hero .button-hero-outline:hover { background: var(--green-pale); color: var(--green-dark); }
.club-hero-real-photo::after {
    background: linear-gradient(0deg, var(--paper), transparent 16%), linear-gradient(90deg, var(--paper) 0%, #fbfaf5ed 28%, #fbfaf57a 50%, transparent 72%);
}
@media (max-width: 650px) {
    .club-hero { padding-inline: 24px; }
    .club-hero-real-photo::after { background: linear-gradient(0deg, var(--paper), transparent 13%), linear-gradient(180deg, var(--paper) 0%, #fbfaf5ed 35%, #fbfaf56b 63%, transparent 85%); }
}

/* Inicio: fotografía vintage y composición editorial en los tonos del club */
.club-hero { background: var(--paper); border-bottom: 1px solid #d7d9c6; }
.club-hero-real-photo { background-image: url('images/inicio-ajedrez-vintage.png'); background-position: center 55%; }
.club-hero-real-photo::after {
    background: linear-gradient(0deg, var(--paper), transparent 10%), linear-gradient(90deg, #f7f2e7f5 0%, #f7f2e7e0 24%, #f7f2e76b 48%, transparent 70%);
}
.club-hero .hero-copy { max-width: 650px; padding: 24px 0 28px; border-top: 1px solid #71896b70; }
.club-hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; color: var(--ink); }
.club-hero h1 em { color: var(--green-dark); font-weight: 400; }
.club-hero .hero-description { color: #53604e; }
.club-hero .button { border-radius: 2px; }
.club-hero .button-hero-outline { background: #fbfaf5b3; }
@media (max-width: 650px) {
    .club-hero .hero-copy { padding-top: 22px; }
    .club-hero-real-photo { background-position: 65% bottom; }
    .club-hero-real-photo::after { background: linear-gradient(0deg, var(--paper), transparent 10%), linear-gradient(180deg, #f7f2e7fa 0%, #f7f2e7e8 35%, #f7f2e75c 64%, transparent 85%); }
}

/* Individual player honours */
.players-honours { margin-top: 64px; }
.players-honours-heading { max-width: 800px; margin-bottom: 32px; }
.players-honours-heading h1 { margin: 12px 0 18px; font: 400 clamp(30px, 3.5vw, 44px)/1.15 var(--serif); color: var(--green-dark); letter-spacing: -.025em; }
.players-honours-heading > p:last-child { color: #5d675e; font-size: 15px; line-height: 1.8; }
.players-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.player-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 8px 24px #26352a06; }
.player-portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--green-pale); border-bottom: 3px solid var(--yellow); }
.player-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.player-monogram { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: radial-gradient(ellipse at top, #f3f2e9, #dce6d8); color: var(--green-dark); }
.player-monogram > span:last-child { font: 400 36px/1 var(--serif); letter-spacing: .12em; }
.player-chess { font-size: 90px; line-height: 1; opacity: .65; }
.player-card-content { padding: 24px 20px 26px; }
.player-club { margin: 0 0 10px; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--green-dark); }
.player-card h3 { min-height: 84px; margin: 0 0 20px; font: 400 25px/1.13 var(--serif); color: var(--ink); }
.player-ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; padding-block: 16px; border-block: 1px solid var(--line); }
.player-ratings dt { font-size: 10px; line-height: 1.5; color: #5d675e; }
.player-ratings dd { margin: 5px 0 0; font-size: 23px; font-weight: 600; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.player-ratings dd span { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: #5d675e; }
.player-card h4 { margin: 0 0 18px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }
.player-honours { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.player-honours li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 12px; line-height: 1.65; }
.player-year { color: var(--green-dark); font-weight: 700; font-size: 11px; border-bottom: 2px solid var(--yellow); }
.player-honours strong { font-weight: 600; }
.player-honours p { margin: 5px 0 0; color: #5d675e; }
@media (max-width: 1050px) { .players-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } .player-card h3 { min-height: 57px; } .player-ratings dd span { display: inline; } .player-honours li { font-size: 14px; } }
@media (max-width: 580px) { .players-honours { margin-top: 42px; } .players-grid { grid-template-columns: minmax(0, 1fr); } .player-card h3 { min-height: 0; font-size: 29px; } .player-card-content { padding: 26px 24px; } .player-portrait { aspect-ratio: 4 / 4.5; } }

.players-honours:first-child { margin-top: 0; }

/* Official FIDE profile links */
.player-card h3 { margin-bottom: 10px; }
.player-club { font-size: 9px; letter-spacing: .10em; line-height: 1.6; }
.player-fide-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 18px; padding: 4px 8px 4px 0; color: var(--green-dark); font-size: 12px; font-weight: 600; border-radius: 3px; }
.player-fide-link img { display: block; width: 30px; height: 27px; padding: 3px; background: #173752; border-radius: 3px; object-fit: contain; flex-shrink: 0; }
.player-fide-arrow { font-size: 14px; opacity: .7; }
.player-fide-link:hover span:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
.player-fide-link:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 4px; }
/* Club records: annual columns with distinct source categories */
.club-history { margin-top: 64px; padding: 36px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.history-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; }
.history-heading h2 { margin: 12px 0 14px; font: 400 clamp(28px, 3vw, 38px)/1.18 var(--serif); color: var(--green-dark); letter-spacing: -.02em; }
.history-heading p:not(.eyebrow) { margin: 0; color: #5d675e; font-size: 14px; line-height: 1.7; }
.history-highlight { display: flex; flex-shrink: 0; flex-direction: column; gap: 5px; padding: 16px 22px; border-left: 3px solid var(--yellow); background: var(--paper); }
.history-highlight strong { font: 400 44px/1 var(--serif); color: var(--green-dark); }
.history-highlight span { font-size: 12px; color: #5d675e; }
.history-figure { margin: 36px 0 0; }
.history-unit { margin: 0 0 42px; font-size: 11px; color: #5d675e; }
.history-chart { display: flex; gap: 12px; margin-bottom: 58px; }
.history-axis { width: 22px; flex-shrink: 0; height: 280px; display: flex; flex-direction: column; justify-content: space-between; color: #6d786e; font-size: 11px; text-align: right; transform: translateY(-6px); }
.history-plot { height: 280px; flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 3vw, 40px); padding-inline: 15px; border-bottom: 1px solid #bcc9b9; background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #e8ece5 calc(25% - 1px), #e8ece5 25%); }
.history-column { height: 100%; min-width: 0; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; position: relative; }
.history-bar { width: 100%; max-width: 88px; position: relative; border-radius: 3px 3px 0 0; }
.history-gefe { background-color: #d9c96f; }
.history-confirmed { background-color: #9aa99b; }
.history-licenses { background-color: #36533d; }
.history-minimum { background-image: repeating-linear-gradient(135deg, transparent 0, transparent 6px, #826b374d 6px, #826b374d 8px); }
.history-value { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.history-year { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); color: #5d675e; font-size: 12px; }
.history-legend { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0; margin: 0; list-style: none; }
.history-legend li { display: flex; align-items: center; gap: 8px; color: #53604f; font-size: 11px; line-height: 1.6; }
.history-key { display: inline-block; width: 14px; height: 14px; border-radius: 2px; flex-shrink: 0; }
.history-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: #6d786e; }
.history-data { margin-top: 18px; font-size: 12px; color: var(--green-dark); }
.history-data summary { cursor: pointer; padding-block: 8px; font-weight: 600; }
.history-data summary:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 4px; }
.history-table-wrap { overflow-x: auto; }
.history-data table { width: 100%; margin-top: 12px; border-collapse: collapse; text-align: left; color: var(--ink); }
.history-data caption { text-align: left; padding-bottom: 12px; color: #6d786e; }
.history-data th, .history-data td { padding: 10px; border-bottom: 1px solid var(--line); }
.history-data thead { background: var(--paper); }
@media (max-width: 650px) { .club-history { padding: 24px 16px; margin-top: 42px; } .history-heading { flex-direction: column; gap: 20px; } .history-highlight { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; } .history-highlight strong { font-size: 34px; } .history-plot { gap: 12px; padding-inline: 5px; height: 230px; } .history-axis { height: 230px; } .history-value { font-size: 14px; top: -26px; } .history-year { font-size: 10px; } .history-chart { gap: 8px; } .history-legend { gap: 12px; } }
/* Interactive history explorer */
.history-interactive { border-radius: 12px; box-shadow: 0 12px 40px #26352a08; background: linear-gradient(145deg, #fff, #fdfdf9); }
.history-interactive .history-highlight { border-radius: 0 8px 8px 0; }
.history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.history-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 4px; border: 1px solid #e5e8df; border-radius: 8px; background: #f4f5ee; }
.history-filters button, .history-download { min-height: 38px; border: 0; padding: 9px 13px; border-radius: 5px; background: transparent; color: #56634f; cursor: pointer; font: 600 11px/1.4 var(--sans); transition: background .2s, color .2s, box-shadow .2s; }
.history-filters button[aria-pressed="true"] { background: #fff; color: var(--green-dark); box-shadow: 0 2px 6px #26352a12; }
.history-filters button:hover { color: var(--green-dark); background: #e8efe5; }
.history-download { flex-shrink: 0; border: 1px solid var(--line); background: #fff; }
.history-download span { margin-left: 8px; font-size: 16px; }
.history-download:hover { background: var(--green-pale); }
.history-interactive .history-unit { margin-bottom: 44px; }
.history-interactive .history-column[hidden] { display: none; }
.history-interactive .history-bar { padding: 0; flex-shrink: 0; border: 0; cursor: pointer; border-radius: 5px 5px 0 0; transition: filter .2s, box-shadow .2s; }
.history-interactive .history-bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #ffffff14, transparent); pointer-events: none; }
.history-interactive .history-bar:hover, .history-interactive .history-bar[aria-pressed="true"] { filter: brightness(1.08); box-shadow: 0 0 0 3px #36533d22; }
.history-interactive .history-bar[aria-pressed="true"] .history-value { color: var(--green-dark); }
.history-interactive button:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 5px; }
.history-inspector { display: grid; grid-template-columns: 110px 150px 1fr; gap: 24px; align-items: center; margin-top: 24px; padding: 22px 26px; border: 1px solid #dce4d7; border-radius: 8px; background: #f3f6ef; min-height: 108px; }
.history-inspector-year, .history-inspector-value, .history-inspector-source { display: flex; flex-direction: column; gap: 6px; }
.history-inspector-year > span { font-size: 9px; font-weight: 700; letter-spacing: .14em; color: #6d786e; }
.history-inspector-year strong { font: 400 28px/1.1 var(--serif); color: var(--green-dark); }
.history-inspector-value { flex-direction: row; align-items: baseline; gap: 8px; }
.history-inspector-value strong { font: 400 38px/1 var(--serif); color: var(--green-dark); }
.history-inspector-value span { font-size: 12px; color: #5d675e; }
.history-inspector-source { padding-left: 24px; border-left: 1px solid #d5dece; }
.history-inspector-source strong { font-size: 12px; font-weight: 600; color: var(--green-dark); line-height: 1.6; }
.history-inspector-source span { font-size: 11px; color: #6d786e; line-height: 1.6; }
@media (max-width: 750px) { .history-toolbar { align-items: flex-start; flex-direction: column; } .history-inspector { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; } .history-inspector-source { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #d5dece; padding: 14px 0 0; } }
@media (max-width: 400px) { .history-filters { gap: 2px; } .history-filters button { padding-inline: 8px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .history-interactive button { transition: none; } }
/* Visual history: a large, quiet chart in the club palette */
.club-history { padding: 40px 44px 28px; border-radius: 14px; background: #243e30; color: #fbfaf5; border: 1px solid #344e3a; box-shadow: 0 18px 44px #26352a12; }
.history-heading { align-items: center; }
.club-history .eyebrow { color: #d9c96f; font-size: 10px; letter-spacing: .18em; }
.history-heading h2 { color: #fffdf3; font-size: clamp(32px, 4vw, 48px); margin: 14px 0 0; }
.history-highlight, .history-interactive .history-highlight { padding: 0 0 0 28px; border-left: 1px solid #ffffff26; background: none; border-radius: 0; gap: 4px; }
.history-highlight strong { font: 400 76px/.95 var(--serif); color: #e1d487; letter-spacing: -.05em; }
.history-highlight span { color: #d2dcd0; font-size: 11px; }
.history-toolbar { border: 0; margin-top: 22px; padding: 10px 0; }
.history-filters { background: #ffffff09; border: 1px solid #ffffff19; border-radius: 30px; padding: 4px; }
.history-filters button { color: #c6d2c4; border-radius: 24px; padding-inline: 17px; min-height: 34px; }
.history-filters button[aria-pressed="true"] { color: #243e30; background: #f3f0dc; box-shadow: none; }
.history-filters button:hover { background: #ffffff1a; color: #fff; }
.history-filters button[aria-pressed="true"]:hover { background: #fffdf3; color: #243e30; }
.history-download { color: #d2dcd0; background: transparent; border-color: #ffffff26; border-radius: 24px; padding-inline: 15px; }
.history-download:hover { background: #ffffff14; }
.history-figure { margin-top: 38px; }
.history-chart { gap: 16px; margin-bottom: 54px; }
.history-plot { height: 330px; gap: clamp(12px, 2.5vw, 32px); padding-inline: 12px; border-bottom-color: #ffffff30; background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #ffffff0d calc(25% - 1px), #ffffff0d 25%); }
.history-axis { height: 330px; color: #afc0ac; font-size: 10px; }
.history-bar, .history-interactive .history-bar { max-width: 112px; border-radius: 8px 8px 0 0; }
.history-gefe { background: #8ba68a; }
.history-licenses { background: #d9c96f; }
.history-interactive .history-bar::after { background: linear-gradient(0deg, #0000000d, #ffffff14); }
.history-value { top: 15px; color: #21392c; font: 400 clamp(25px, 3.2vw, 44px)/1 var(--serif); letter-spacing: -.04em; z-index: 1; }
.history-interactive .history-bar[aria-pressed="true"] .history-value { color: #21392c; }
.history-interactive .history-bar:hover, .history-interactive .history-bar[aria-pressed="true"] { filter: brightness(1.12); box-shadow: 0 0 0 3px #fffdf355; }
.history-year { bottom: -30px; font-size: 12px; color: #d8e0d3; }
.history-legend { justify-content: flex-start; gap: 22px; }
.history-legend li { color: #c6d2c4; font-size: 11px; }
.history-key { width: 9px; height: 9px; border-radius: 50%; }
.history-inspector { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-height: 58px; margin-top: 22px; padding: 16px 0; border: 0; border-top: 1px solid #ffffff1c; border-bottom: 1px solid #ffffff1c; border-radius: 0; background: none; }
.history-detail-year { color: #e1d487; font-size: 12px; font-weight: 600; }
.history-inspector > strong { color: #f6f6eb; font-size: 13px; font-weight: 500; }
.history-detail-source { margin-left: auto; font-size: 11px; line-height: 1.6; color: #b7c7b3; }
.history-data { margin-top: 10px; color: #bdcbb7; }
.history-data summary { font-size: 11px; font-weight: 400; }
.history-note { border: 0; padding: 0; margin: 12px 0; color: #bdcbb7; }
.history-data table, .history-data caption { color: #d6dfd0; }
.history-data th, .history-data td { border-bottom-color: #ffffff19; }
.history-data thead { background: #ffffff09; }
.history-interactive button:focus-visible, .history-data summary:focus-visible { outline-color: #e1d487; }
@media (max-width: 650px) { .club-history { padding: 28px 18px 20px; border-radius: 10px; } .history-heading { flex-direction: row; align-items: center; gap: 16px; } .history-heading h2 { font-size: 30px; } .history-heading .eyebrow { font-size: 8px; letter-spacing: .1em; } .history-highlight, .history-interactive .history-highlight { display: flex; flex-direction: column; align-items: flex-start; padding-left: 16px; gap: 4px; } .history-highlight strong { font-size: 54px; } .history-highlight span { max-width: 70px; line-height: 1.5; font-size: 10px; } .history-toolbar { flex-direction: row; align-items: center; gap: 8px; } .history-filters { gap: 0; } .history-filters button { padding: 8px 10px; font-size: 10px; } .history-download { font-size: 10px; padding: 8px 12px; } .history-plot { height: 255px; gap: 10px; padding-inline: 2px; } .history-axis { height: 255px; } .history-value { top: 12px; font-size: 23px; } .history-year { font-size: 10px; } .history-figure { margin-top: 28px; } .history-detail-source { margin-left: 0; flex-basis: 100%; } }
@media (max-width: 380px) { .history-value { font-size: 20px; } .history-filters button { padding-inline: 8px; } .history-download { padding-inline: 8px; } }
/* Chart title and licence total above the plotting area */
.club-history .history-heading { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding-bottom: 24px; border-bottom: 1px solid #ffffff1c; }
.club-history .history-heading h2 { margin-top: 10px; }
.club-history .history-highlight { flex-direction: column; align-items: flex-start; }
.club-history .history-toolbar { margin-top: 12px; }
.club-history .history-figure { margin-top: 32px; }
@media (max-width: 650px) { .club-history .history-heading { gap: 16px; padding-bottom: 22px; } .club-history .history-heading h2 { font-size: 30px; } }
/* Centred title and licence count at the very top of the chart */
.club-history .history-heading { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; text-align: center; padding-bottom: 28px; }
.club-history .history-heading .eyebrow { margin: 0 0 10px; }
.club-history .history-heading h2 { margin: 0; }
.club-history .history-highlight, .club-history.history-interactive .history-highlight { display: flex; flex-direction: row; align-items: baseline; justify-content: center; gap: 12px; padding: 0; border: 0; background: transparent; }
.club-history .history-highlight strong { font-size: 64px; }
.club-history .history-highlight span { max-width: none; font-size: 13px; }
@media (max-width: 650px) { .club-history .history-heading { flex-direction: column; align-items: center; gap: 16px; } .club-history .history-highlight strong { font-size: 52px; } .club-history .history-highlight span { max-width: none; font-size: 12px; } }
/* Introductory text sits outside and above the chart */
.history-introduction { margin: 64px 0 24px; }
.history-introduction .history-heading { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; text-align: left; border: 0; padding: 0; }
.history-introduction .eyebrow { color: var(--green-dark); }
.history-introduction .history-heading h2 { margin: 12px 0 0; color: var(--green-dark); }
.history-introduction .history-highlight { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-left: 3px solid var(--yellow); padding: 4px 0 4px 24px; background: transparent; }
.history-introduction .history-highlight strong { color: var(--green-dark); font-size: 64px; }
.history-introduction .history-highlight span { color: #5d675e; font-size: 12px; }
.history-introduction + .club-history { margin-top: 0; }
.history-introduction + .club-history .history-figure { margin-top: 0; }
@media (max-width: 650px) { .history-introduction { margin-top: 42px; } .history-introduction .history-heading { flex-direction: column; align-items: flex-start; gap: 18px; } .history-introduction .history-highlight { flex-direction: row; align-items: baseline; gap: 12px; padding-left: 16px; } .history-introduction .history-highlight strong { font-size: 48px; } }
/* Light club palette and a larger plotting area */
.club-history, .club-history.history-interactive { padding: 34px 28px 20px; background: #f5f6ee; color: var(--ink); border: 1px solid #dce2d4; border-radius: 8px; box-shadow: 0 8px 28px #26352a06; }
.history-introduction + .club-history .history-figure { margin-top: 0; }
.club-history .history-chart { gap: 14px; margin-bottom: 52px; }
.club-history .history-plot { height: 380px; padding-inline: 8px; gap: clamp(12px, 2vw, 28px); background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #36533d12 calc(25% - 1px), #36533d12 25%); border-bottom-color: #b7c5b0; }
.club-history .history-axis { height: 380px; color: #75816f; }
.club-history .history-bar { max-width: 128px; }
.club-history .history-gefe { background-color: #9bb695; }
.club-history .history-licenses { background-color: #d9c96f; }
.club-history .history-value { color: #263e2a; font-size: clamp(28px, 3.5vw, 46px); }
.club-history .history-year { color: #52634b; font-size: 13px; }
.club-history .history-bar:hover, .club-history .history-bar[aria-pressed="true"] { filter: brightness(1.02); box-shadow: 0 0 0 3px #36533d30; }
.club-history .history-legend li { color: #58684f; }
.club-history .history-inspector { color: var(--ink); border-color: #d7dfce; margin-top: 20px; padding-block: 15px; }
.club-history .history-detail-year { color: #5d753e; }
.club-history .history-inspector > strong { color: var(--green-dark); }
.club-history .history-detail-source { color: #6b7962; }
.club-history .history-filters { background: #e9eedf; border-color: #dce3d2; }
.club-history .history-filters button { color: #637358; }
.club-history .history-filters button[aria-pressed="true"] { color: var(--green-dark); background: #fffefa; box-shadow: 0 1px 4px #26352a0d; }
.club-history .history-filters button:hover { color: var(--green-dark); background: #dce7d2; }
.club-history .history-download { color: #52634b; background: transparent; border-color: #cfdac4; }
.club-history .history-download:hover { background: #e5ecd9; }
.club-history .history-data, .club-history .history-note { color: #6b7962; }
.club-history .history-data table { color: var(--ink); }
.club-history .history-data caption { color: #6b7962; }
.club-history .history-data th, .club-history .history-data td { border-bottom-color: #d7dfce; }
.club-history .history-data thead { background: #e9eedf; }
.club-history button:focus-visible, .club-history .history-data summary:focus-visible { outline-color: var(--green-dark); }
@media (max-width: 650px) { .club-history, .club-history.history-interactive { padding: 26px 14px 16px; } .club-history .history-plot, .club-history .history-axis { height: 290px; } .club-history .history-plot { gap: 10px; padding-inline: 2px; } .club-history .history-chart { gap: 8px; } .club-history .history-value { font-size: 25px; } .club-history .history-year { font-size: 10px; } }
@media (max-width: 380px) { .club-history .history-value { font-size: 21px; } }
/* Keep the chart aligned and use the available space toward the right */
.history-introduction + .club-history { width: 100%; margin-left: 0; margin-right: 0; }
.club-history .history-chart { margin-left: 0; margin-right: -14px; gap: 12px; }
.club-history .history-plot { padding-left: 8px; padding-right: 0; gap: clamp(12px, 2vw, 28px); }
.club-history .history-bar { max-width: 144px; }
@media (max-width: 650px) {
    .club-history .history-chart { margin-left: 0; margin-right: 0; gap: 8px; }
    .club-history .history-plot { padding-inline: 2px; gap: 10px; }
}
/* Match the honours heading and extend the chart to the right */
.history-introduction .history-heading h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -.025em; }
@media (min-width: 1264px) {
    .history-introduction + .club-history {
        width: calc(100% + min(80px, max(0px, (100vw - 1264px) / 2)));
        margin-left: 0;
        margin-right: calc(-1 * min(80px, max(0px, (100vw - 1264px) / 2)));
    }
}
.club-history .history-chart { margin-right: -20px; }
@media (max-width: 650px) { .club-history .history-chart { margin-right: 0; } }
/* Prioritise the chart and keep supporting data compact */
@media (min-width: 1264px) {
    .history-introduction + .club-history {
        width: calc(100% + min(150px, max(0px, (100vw - 1264px) / 2)));
        margin-right: calc(-1 * min(150px, max(0px, (100vw - 1264px) / 2)));
    }
}
.club-history, .club-history.history-interactive { padding-right: 18px; padding-bottom: 12px; }
.club-history .history-chart { margin-right: 0; }
.club-history .history-plot { padding-right: 0; }
.club-history .history-bar { max-width: 160px; }
.club-history .history-data { margin-top: 2px; }
.club-history .history-data summary { display: list-item; width: fit-content; padding-block: 4px; font-size: 10px; line-height: 1.4; }
.club-history .history-data .history-note { margin-block: 8px; font-size: 11px; line-height: 1.5; }
.club-history .history-data table { margin-top: 6px; font-size: 11px; }
.club-history .history-data caption { padding-bottom: 6px; font-size: 10px; }
.club-history .history-data th, .club-history .history-data td { padding: 6px 8px; }
.club-history .history-toolbar { margin-top: 6px; padding-block: 6px; }
@media (max-width: 650px) { .club-history, .club-history.history-interactive { padding-right: 14px; } }
/* Horizontal bars: chart takes forty percent of the desktop panel */
.history-introduction + .club-history { width: 100%; margin-inline: 0; }
.club-history, .club-history.history-interactive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); column-gap: 36px; align-items: start; padding: 30px; }
.club-history .history-figure { grid-column: 2; grid-row: 1 / span 3; margin: 0; min-width: 0; }
.club-history .history-toolbar { grid-column: 1; grid-row: 1; flex-wrap: wrap; justify-content: flex-start; margin: 0; padding: 0 0 14px; }
.club-history .history-data { grid-column: 1; grid-row: 2; margin-top: 0; min-width: 0; }
.club-history .history-chart { display: block; margin: 0 0 20px; }
.club-history .history-axis { display: none; }
.club-history .history-plot { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(7, minmax(34px, 1fr)); gap: 13px; width: 100%; height: 340px; padding: 0 46px 0 48px; border: 0; background: none; }
.club-history .history-column { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; height: 100%; border-radius: 30px; background: #e3e9da; }
.club-history .history-bar, .club-history.history-interactive .history-bar { max-width: none; height: 100%; min-width: 32px; border: 0; border-radius: 30px; box-shadow: inset 0 1px 0 #ffffff55; }
.club-history .history-gefe { background: linear-gradient(90deg, #92af88, #658b5e); }
.club-history .history-licenses { background: linear-gradient(90deg, #ded18c, #c4aa48); }
.club-history .history-bar::after { display: none; }
.club-history .history-value { position: absolute; left: auto; right: -34px; top: 50%; transform: translateY(-50%); color: var(--green-dark); font: 600 17px/1 var(--sans); letter-spacing: -.025em; }
.club-history .history-year { left: -48px; top: 50%; bottom: auto; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: #65745c; }
.club-history .history-bar[aria-pressed="true"] { box-shadow: 0 0 0 3px #36533d22; }
.club-history .history-legend { gap: 10px 18px; }
.club-history .history-legend li { font-size: 10px; }
.club-history .history-inspector { margin-top: 14px; padding-block: 12px; gap: 8px; }
.club-history .history-detail-source { margin-left: 0; flex-basis: 100%; }
@media (max-width: 850px) {
 .club-history, .club-history.history-interactive { display: flex; flex-direction: column; gap: 18px; padding: 24px 18px; }
 .club-history .history-figure { order: 0; width: 100%; }
 .club-history .history-toolbar { order: 1; width: 100%; }
 .club-history .history-data { order: 2; width: 100%; }
 .club-history .history-plot { height: 340px; gap: 13px; padding: 0 46px 0 48px; }
 .club-history .history-value { font-size: 17px; }
 .club-history .history-year { font-size: 11px; }
}
/* Chart on the left, occupying sixty percent of the panel */
@media (min-width: 851px) {
    .club-history, .club-history.history-interactive { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
    .club-history .history-figure { grid-column: 1; grid-row: 1 / span 3; }
    .club-history .history-toolbar { grid-column: 2; grid-row: 1; }
    .club-history .history-data { grid-column: 2; grid-row: 2; }
}
/* Align the source disclosure with the top of the chart */
@media (min-width: 851px) {
    .club-history, .club-history.history-interactive { grid-template-rows: auto auto; row-gap: 16px; }
    .club-history .history-figure { grid-column: 1; grid-row: 1 / span 2; }
    .club-history .history-data { grid-column: 2; grid-row: 1; align-self: start; margin-top: 0; }
    .club-history .history-toolbar { grid-column: 2; grid-row: 2; align-self: start; }
}
/* Keep the club email readable within the footer on every screen. */
.footer-contact .footer-email a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }

.memorial-photo figcaption { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }

/* Justified paragraphs in the club history. */
.club-history-body p { text-align: justify; hyphens: none; word-break: normal; overflow-wrap: normal; }

/* Institutional invitation, centered on the club's own crest. */
body .club-join { padding: 56px 24px 60px; background: #f0ecdf; border-top: 1px solid #dedacb; }
body .club-join-inner { display: block; width: min(100%,1000px); max-width: 1000px; margin-inline: auto; padding: 0; text-align: center; }
body .club-join-art { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; max-width: 320px; margin: 0 auto 26px; }
body .club-join-art img { width: 68px; height: 68px; display: block; object-fit: contain; }
body .club-join-art span { width: 72px; height: 1px; background: #c5bfaa; }
body .club-join-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: none; gap: 19px; margin: 0; text-align: center; }
body .club-join-copy h2 { width: 100%; max-width: none; margin: 0; color: #304b36; font: 400 clamp(25px,2.8vw,36px)/1.3 var(--serif); letter-spacing: -.025em; }
body .club-join-copy p { max-width: 760px; margin: 0; color: #717768; font-size: 14px; line-height: 1.9; }
body .club-join-copy .club-join-button { display: inline-flex; align-items: center; justify-content: center; align-self: center; min-height: 48px; margin: 7px 0 0; padding: 14px 36px; border: 1px solid #36533d; border-radius: 3px; background: #36533d; color: #fffdf5; font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .09em; box-shadow: none; }
body .club-join-copy .club-join-button:hover { background: #29442f; border-color: #29442f; }
@media (max-width: 650px){ body .club-join { padding: 40px 24px 44px; }body .club-join-art { margin-bottom: 22px; }body .club-join-art img { width: 58px; height: 58px; }body .club-join-art span { width: 50px; }body .club-join-copy { gap: 17px; }body .club-join-copy h2 { font-size: 25px; } }