/**
 * Season Overview archive
 * Colour tokens: #071B36 / #0B2342 / #04101F / #F5B800 / #D4A000 / #F4F6F8 / #FFFFFF / #E4E7EC
 */

body.btfc-season-review .btfc-hero-section,
body.btfc-season-review .btfc-hero-section.btfc-hero-title-only {
    display: none !important;
}

.btfc-season-overview {
    color: #071B36;
    font-family: var(--font-body, inherit);
}

.btfc-sr-hero {
    position: relative;
    background: var(--btfc-photo-hero-fallback, #04101F);
    overflow: hidden;
}

.btfc-sr-hero.has-photo {
    background-image: var(--btfc-sr-hero-image);
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
}

.btfc-sr-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--btfc-photo-hero-wash);
    pointer-events: none;
}

.btfc-sr-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-xl, 75rem);
    margin: 0 auto;
    padding: 1.25rem 1.25rem 2.75rem;
}

.btfc-sr-hero-crumb {
    padding-top: 0.35rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.72);
}

.btfc-sr-hero-crumb a {
    color: rgba(255, 255, 255, 0.72);
}

.btfc-sr-hero-crumb a:hover,
.btfc-sr-hero-crumb .btfc-breadcrumb-current {
    color: #F5B800;
}

.btfc-sr-hero-copy {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.btfc-sr-hero-badge {
    width: 5.5rem;
    height: auto;
    flex-shrink: 0;
}

.btfc-sr-hero-title {
    margin: 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 0.92;
    text-transform: uppercase;
    color: #ffffff;
}

.btfc-sr-hero-club {
    margin: 0.45rem 0 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5B800;
}

.btfc-sr-hero-lede {
    margin: 0.75rem 0 0;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.btfc-sr-tabs {
    background: #ffffff;
    border-bottom: 1px solid #E4E7EC;
}

.btfc-sr-tabs-inner {
    display: flex;
    max-width: var(--container-xl, 75rem);
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btfc-sr-tabs-inner a,
.btfc-sr-tabs-inner span {
    flex: 1 1 auto;
    min-width: 6.5rem;
    padding: 0.95rem 1rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #071B36;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.btfc-sr-tabs-inner a:hover {
    color: #D4A000;
}

.btfc-sr-tabs-inner a.is-active {
    background: #071B36;
    color: #ffffff;
    border-bottom-color: #F5B800;
}

.btfc-sr-tabs-inner span.is-disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.btfc-sr-body {
    max-width: var(--container-xl, 75rem);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

.btfc-sr-body--toolbar {
    padding-bottom: 0;
}

.btfc-sr-body--toolbar + .btfc-sr-body {
    padding-top: 0.75rem;
}

.btfc-season-archive-results .btfc-fixtures-in-season {
    padding-top: 0.75rem;
}

.btfc-sr-note {
    margin: 0 0 1.25rem;
    color: #4a5568;
}

.btfc-sr-empty {
    margin: 0;
    color: #4a5568;
}

.btfc-sr-season-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.btfc-sr-season-form label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #071B36;
}

.btfc-sr-season-form select {
    min-width: 10rem;
    min-height: 2.4rem;
    padding: 0.4rem 0.65rem;
    border: 1px solid #E4E7EC;
    background: #ffffff;
    color: #071B36;
    font: inherit;
}

.btfc-sr-go {
    min-height: 2.4rem;
    padding: 0.4rem 1rem;
    border: 0;
    background: #071B36;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.btfc-sr-go:hover {
    background: #0B2342;
}

.btfc-sr-section {
    margin: 0 0 1.75rem;
}

.btfc-sr-section > h2,
.btfc-sr-section-head h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    color: #071B36;
}

.btfc-sr-section > h2::after,
.btfc-sr-section-head h2::after {
    content: "";
    display: block;
    width: 2.25rem;
    height: 3px;
    margin: 0.4rem 0 0;
    background: #F5B800;
}

.btfc-sr-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: 0 0 0.85rem;
}

.btfc-sr-section-head h2 {
    margin-bottom: 0;
}

.btfc-sr-section-head a {
    font-size: 0.8rem;
    font-weight: 650;
    color: #071B36;
    text-decoration: none;
}

.btfc-sr-section-head a:hover {
    color: #D4A000;
}

.btfc-sr-honours-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    box-shadow: 0 1px 4px rgba(7, 27, 54, 0.06);
}

.btfc-sr-honours-list li {
    margin: 0;
    padding: 0.85rem 1.05rem;
    border-bottom: 1px solid #E4E7EC;
}

.btfc-sr-honours-list li:last-child {
    border-bottom: 0;
}

.btfc-sr-honours-list strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #071B36;
}

.btfc-sr-honours-list strong a {
    color: inherit;
    text-decoration: none;
}

.btfc-sr-honours-list strong a:hover {
    color: #D4A000;
}

.btfc-sr-honour-outcome {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #D4A000;
}

.btfc-sr-awards-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    box-shadow: 0 1px 4px rgba(7, 27, 54, 0.06);
}

.btfc-sr-awards-list li {
    margin: 0;
    padding: 0.85rem 1.05rem;
    border-bottom: 1px solid #E4E7EC;
}

.btfc-sr-awards-list li:last-child {
    border-bottom: 0;
}

.btfc-sr-awards-list strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #071B36;
}

.btfc-sr-award-player {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #071B36;
}

.btfc-sr-award-player a {
    color: inherit;
    text-decoration: none;
}

.btfc-sr-award-player a:hover {
    color: #D4A000;
}

.btfc-sr-note,
.btfc-sr-empty {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6b7280;
}

.btfc-sr-summary {
    margin: 0 0 1.75rem;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    box-shadow: 0 1px 4px rgba(7, 27, 54, 0.06);
}

.btfc-sr-summary-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #E4E7EC;
}

.btfc-sr-summary-icon {
    width: 1.35rem;
    color: #F5B800;
}

.btfc-sr-summary-icon svg {
    display: block;
    width: 1.35rem;
    height: 1.35rem;
}

.btfc-sr-summary-head h2 {
    margin: 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btfc-sr-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.btfc-sr-summary-grid article {
    padding: 1rem 0.9rem 1.1rem;
    border-right: 1px solid #E4E7EC;
    min-width: 0;
}

.btfc-sr-summary-grid article:last-child {
    border-right: 0;
}

.btfc-sr-summary-grid h3 {
    margin: 0 0 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.btfc-sr-summary-value {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 2.15rem;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #071B36;
}

.btfc-sr-summary-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.btfc-sr-summary-name a,
.btfc-sr-att-stats a {
    color: inherit;
    text-decoration: none;
}

.btfc-sr-summary-name a:hover,
.btfc-sr-att-stats a:hover {
    color: #D4A000;
}

.btfc-sr-summary-grid p {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #6b7280;
}

.btfc-sr-wdl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.btfc-sr-w { color: #10b981; }
.btfc-sr-d { color: #9ca3af; }
.btfc-sr-l { color: #ef4444; }

.btfc-sr-comps,
.btfc-sr-leaders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
    gap: 0.75rem;
}

.btfc-sr-comp {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    box-shadow: 0 1px 4px rgba(7, 27, 54, 0.06);
}

.btfc-sr-comp header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    background: #ffffff;
    border-bottom: 1px solid #E4E7EC;
}

.btfc-sr-comp-logo {
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    object-fit: contain;
    background: #ffffff;
    border-radius: 0.2rem;
}

.btfc-sr-comp.is-league header {
    background: #071B36;
}

.btfc-sr-comp.is-league .btfc-sr-comp-logo {
    padding: 0.12rem;
}

.btfc-sr-comp header h3 {
    margin: 0;
    min-width: 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #071B36;
}

.btfc-sr-comp.is-league header h3 {
    color: #ffffff;
}

.btfc-sr-comp-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0.85rem 1rem;
    flex: 1;
}

.btfc-sr-comp-headline {
    margin: 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #071B36;
}

.btfc-sr-comp-sub {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7280;
}

.btfc-sr-comp-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0.25rem 0 0;
}

.btfc-sr-comp-grid div {
    text-align: center;
}

.btfc-sr-comp-grid dt {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
}

.btfc-sr-comp-grid dd {
    margin: 0.1rem 0 0;
    font-weight: 700;
    font-size: 0.85rem;
}

.btfc-sr-comp-link {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 650;
    color: #071B36;
    text-decoration: none;
}

.btfc-sr-comp-link:hover {
    color: #D4A000;
}

.btfc-sr-leader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 1.1rem 0.75rem 1.15rem;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    box-shadow: 0 1px 4px rgba(7, 27, 54, 0.06);
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.btfc-sr-leader:hover .btfc-sr-leader-name {
    color: #D4A000;
}

.btfc-sr-leader-kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
}

.btfc-sr-leader img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F5B800;
}

.btfc-sr-leader-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.btfc-sr-leader-stat {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: #F5B800;
}

.btfc-sr-leader.is-pots {
    border-color: #F5B800;
}

.btfc-sr-leader.is-pots .btfc-sr-leader-kicker {
    color: #D4A000;
}

.btfc-sr-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.btfc-sr-numbers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.btfc-sr-numbers article {
    padding: 0.85rem 0.7rem;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    text-align: center;
}

.btfc-sr-numbers div {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.85rem;
    line-height: 1;
    color: #F5B800;
}

.btfc-sr-numbers h3 {
    margin: 0.4rem 0 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #071B36;
}

.btfc-sr-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    -webkit-overflow-scrolling: touch;
}

.btfc-sr-month-table {
    width: 100%;
    min-width: 32rem;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.btfc-sr-month-table th,
.btfc-sr-month-table td {
    padding: 0.5rem 0.55rem;
    border-bottom: 1px solid #E4E7EC;
    text-align: center;
    white-space: nowrap;
}

.btfc-sr-month-table thead th {
    background: #071B36;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btfc-sr-month-table tbody th {
    text-align: left;
    font-weight: 650;
    color: #071B36;
}

.btfc-sr-month-table tbody tr:nth-child(even) {
    background: #F4F6F8;
}

.btfc-sr-form {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: center;
}

.btfc-sr-form span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 800;
    color: #ffffff;
}

.btfc-sr-form-w { background: #10b981; }
.btfc-sr-form-d { background: #9ca3af; }
.btfc-sr-form-l { background: #ef4444; }

.btfc-sr-chart {
    height: 240px;
    margin: 0 0 0.85rem;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #E4E7EC;
}

.btfc-sr-att-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.btfc-sr-att-stats article {
    padding: 0.7rem 0.75rem;
    background: #ffffff;
    border: 1px solid #E4E7EC;
}

.btfc-sr-att-stats h3 {
    margin: 0 0 0.25rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #071B36;
}

.btfc-sr-att-stats div {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.55rem;
    color: #F5B800;
    line-height: 1;
}

.btfc-sr-att-stats p {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.btfc-sr-defining {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.btfc-sr-define-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #E4E7EC;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.btfc-sr-define-card:hover .btfc-sr-define-title {
    color: #D4A000;
}

.btfc-sr-define-photo {
    display: block;
    height: 6.5rem;
    background: #071B36;
    overflow: hidden;
}

.btfc-sr-define-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btfc-sr-define-tag {
    align-self: flex-start;
    margin: 0.6rem 0.7rem 0.2rem;
    padding: 0.18rem 0.45rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.btfc-sr-define-win { background: #10b981; }
.btfc-sr-define-loss { background: #ef4444; }
.btfc-sr-define-cup { background: #2563eb; }
.btfc-sr-define-att { background: #071B36; }

.btfc-sr-define-title,
.btfc-sr-define-score,
.btfc-sr-define-meta {
    display: block;
    padding: 0 0.7rem;
}

.btfc-sr-define-title {
    font-weight: 700;
    font-size: 0.88rem;
}

.btfc-sr-define-score {
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.25rem;
    color: #071B36;
}

.btfc-sr-define-meta {
    padding-bottom: 0.75rem;
    font-size: 0.72rem;
    color: #6b7280;
}

.btfc-sr-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.5rem 0 0;
    padding: 1.25rem 1.35rem;
    background: #071B36;
    color: #ffffff;
}

.btfc-sr-cta-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.btfc-sr-cta-icon {
    width: 1.6rem;
    color: #F5B800;
}

.btfc-sr-cta-icon svg {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
}

.btfc-sr-cta h2 {
    margin: 0;
    font-family: var(--font-heading, 'Bebas Neue', sans-serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btfc-sr-cta p {
    margin: 0.3rem 0 0;
    max-width: 32rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.btfc-sr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.15rem;
    background: #F5B800;
    color: #071B36;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.btfc-sr-cta-btn:hover {
    background: #D4A000;
}

@media (max-width: 1100px) {
    .btfc-sr-summary-grid,
    .btfc-sr-comps,
    .btfc-sr-leaders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btfc-sr-summary-grid article {
        border-right: 0;
        border-bottom: 1px solid #E4E7EC;
    }
}

@media (max-width: 900px) {
    .btfc-sr-split {
        grid-template-columns: 1fr;
    }

    .btfc-sr-numbers,
    .btfc-sr-att-stats,
    .btfc-sr-defining {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .btfc-sr-hero-copy {
        flex-direction: column;
    }

    .btfc-sr-summary-grid,
    .btfc-sr-comps,
    .btfc-sr-leaders,
    .btfc-sr-numbers,
    .btfc-sr-att-stats,
    .btfc-sr-defining {
        grid-template-columns: 1fr;
    }

    .btfc-sr-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btfc-sr-cta-btn {
        justify-content: center;
    }
}
