/*
Theme Name: AZC Zutphen
Theme URI: https://www.azczutphen.nl/
Author: ZVV AZC Zutphen
Author URI: https://www.azczutphen.nl/
Description: Classic (non-FSE) WordPress theme for ZVV AZC Zutphen - "meer dan voetbal". Club-blue palette with gold CTA accents, diagonal cuts and the Roboto/Khand type pairing. Self-hosted fonts, no external requests.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azc2026
Tags: football, sports, club, classic, custom-menu, featured-images, translation-ready
*/

/* ==================================================================
   TABLE OF CONTENTS
   ------------------------------------------------------------------
    1. Custom properties
    2. Reset & base
    3. Accessibility helpers
    4. WordPress core required classes
    5. Layout primitives
    6. Buttons (incl. legacy [b4ubutton] classes)
    7. Legacy heading shortcode classes (.h1 - .h5, .lead-text)
    8. Top bar
    9. Header + primary navigation (with dropdowns)
   10. Hero + match bar
   11. Quick links
   12. News (home)
   13. Matchday panel
   14. Teams / selecties
   15. MVO block
   16. Sponsors
   17. Footer
   18. Page header (inner pages)
   19. Entry content / typography
   20. Card grids (news + wedstrijdverslag archives)
   21. Single post / article
   22. Team single
   23. Sidebar & widgets
   24. Forms & search
   25. Pagination & comments
   26. 404
   27. Responsive - tablet
   28. Responsive - mobile
   29. Responsive - small mobile
   30. Print & reduced motion
   ================================================================== */


/* ==================================================================
   1. CUSTOM PROPERTIES
   ================================================================== */
:root {
    --azc-blue: #07549f;
    --azc-blue-dark: #00346f;
    --azc-blue-darker: #004088;
    --azc-blue-darkest: #00105b;
    --azc-blue-light: #5ca0e3;
    --azc-blue-lighter: #b2d3f3;
    --azc-blue-softest: #e8f1fa;
    --azc-white: #ffffff;
    --azc-off-white: #f5f7fa;
    --azc-gray: #6b7280;
    --azc-gray-light: #e5e7eb;
    --azc-gray-dark: #374151;
    --azc-black: #111827;
    --azc-gold: #c4a35a;
    --azc-gold-hover: #d4b66a;

    --azc-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --azc-font-display: 'Khand', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

    --azc-container: 1200px;
    --azc-header-h: 74px;
    --azc-topbar-h: 33px;

    /* Neutral fallback for any image slot that has no picture yet. */
    --azc-placeholder: linear-gradient(135deg, var(--azc-blue-dark) 0%, var(--azc-blue) 55%, var(--azc-blue-darkest) 100%);
}


/* ==================================================================
   2. RESET & BASE
   ================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--azc-font-body);
    color: var(--azc-black);
    background: var(--azc-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--azc-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--azc-gold);
    outline-offset: 2px;
}

hr {
    border: 0;
    border-top: 1px solid var(--azc-gray-light);
    margin: 32px 0;
}


/* ==================================================================
   3. ACCESSIBILITY HELPERS
   ================================================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--azc-white);
    border-radius: 0;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--azc-blue-darkest);
    display: block;
    font-family: var(--azc-font-display);
    font-size: 1rem;
    font-weight: 700;
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 14px 22px;
    text-decoration: none;
    top: 6px;
    width: auto;
    z-index: 100000;
}

.skip-link:focus {
    position: fixed !important;
}


/* ==================================================================
   4. WORDPRESS CORE REQUIRED CLASSES
   ================================================================== */
.alignleft {
    float: left;
    margin: 6px 24px 12px 0;
}

.alignright {
    float: right;
    margin: 6px 0 12px 24px;
}

.aligncenter {
    display: block;
    margin: 12px auto;
}

.alignwide,
.alignfull {
    margin: 24px 0;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption img {
    display: block;
}

.wp-caption-text,
figcaption {
    font-size: 0.82rem;
    color: var(--azc-gray);
    padding: 8px 2px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }

.gallery-item {
    margin: 0;
}

.sticky .entry-title::after {
    content: '\2605';
    color: var(--azc-gold);
    margin-left: 8px;
}

.bypostauthor > .comment-body {
    border-left: 3px solid var(--azc-blue);
}


/* ==================================================================
   5. LAYOUT PRIMITIVES
   ================================================================== */
.container {
    max-width: var(--azc-container);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 860px;
}

.site-main {
    display: block;
}

.section {
    padding: 72px 0;
}

.section--alt {
    background: var(--azc-off-white);
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.content-with-sidebar--none {
    grid-template-columns: minmax(0, 1fr);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-head h2 {
    font-family: var(--azc-font-display);
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    color: var(--azc-blue-darkest);
}

.section-head h2 span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--azc-blue);
    font-weight: 600;
    margin-bottom: 4px;
}

.see-all {
    font-family: var(--azc-font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--azc-blue);
    font-size: 0.9rem;
    white-space: nowrap;
}

.see-all:hover {
    color: var(--azc-blue-dark);
}


/* ==================================================================
   6. BUTTONS
   The legacy [b4ubutton] / [b4ubuttonalt] shortcodes output .button /
   .button-alt, so those aliases share the skewed button styling.
   ================================================================== */
.btn-skew,
.button,
.button-alt,
.entry-content .wp-block-button__link {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    transition: all 0.2s;
}

.btn-gold,
.button {
    background: var(--azc-gold);
    color: var(--azc-blue-darkest);
}

.btn-gold:hover,
.button:hover {
    background: var(--azc-gold-hover);
    color: var(--azc-blue-darkest);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--azc-white);
    color: var(--azc-blue-dark);
}

.btn-white:hover {
    background: var(--azc-blue-softest);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--azc-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--azc-white);
}

.btn-blue-solid,
.button-alt {
    background: var(--azc-blue);
    color: var(--azc-white);
}

.btn-blue-solid:hover,
.button-alt:hover {
    background: var(--azc-blue-dark);
    color: var(--azc-white);
}

.button .button-icon,
.button-alt .button-icon {
    margin-right: 8px;
}


/* ==================================================================
   7. LEGACY HEADING SHORTCODE CLASSES
   Produced by [b4uh1]..[b4uh5] and [b4ulead] inside imported
   post_content only. New templates use real <h1>-<h6>.
   ================================================================== */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--azc-gray-dark);
    margin-bottom: 24px;
}

.entry-content .h1,
.entry-content .h2,
.entry-content .h3,
.entry-content .h4,
.entry-content .h5 {
    font-family: var(--azc-font-display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--azc-blue-darkest);
    line-height: 1.15;
    margin: 32px 0 12px;
}

.entry-content .h1 { font-size: 2.4rem; }
.entry-content .h2 { font-size: 2rem; }
.entry-content .h3 { font-size: 1.6rem; }
.entry-content .h4 { font-size: 1.3rem; font-weight: 600; }
.entry-content .h5 { font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; }


/* ==================================================================
   8. TOP BAR
   ================================================================== */
.top-bar {
    background: var(--azc-blue-darkest);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    padding: 7px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--azc-white);
}

.top-bar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-menu li + li::before {
    content: '|';
    opacity: 0.35;
    margin: 0 10px;
}

.top-bar-menu li {
    display: flex;
    align-items: center;
}


/* ==================================================================
   9. HEADER + PRIMARY NAVIGATION
   ================================================================== */
.header {
    background: var(--azc-white);
    border-bottom: 3px solid var(--azc-blue);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.admin-bar .header {
    top: 32px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--azc-header-h);
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--azc-blue-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-text small {
    display: block;
    font-family: var(--azc-font-body);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--azc-gray);
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 2px;
    list-style: none;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    font-family: var(--azc-font-display);
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    color: var(--azc-gray-dark);
    padding: 8px 16px;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_item > a,
.main-nav .current_page_ancestor > a {
    color: var(--azc-blue);
}

/* --- Dropdowns --- */
.main-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 7px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.6;
}

.main-nav .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 226px;
    background: var(--azc-white);
    border-top: 3px solid var(--azc-blue);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 120;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu a {
    padding: 9px 20px;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    color: var(--azc-gray-dark);
    white-space: nowrap;
}

.main-nav .sub-menu a:hover {
    background: var(--azc-blue-softest);
    color: var(--azc-blue-dark);
}

/* Third level opens to the right on desktop. */
.main-nav .sub-menu .sub-menu {
    top: -6px;
    left: 100%;
}

.main-nav .sub-menu .menu-item-has-children > a::after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid currentColor;
    border-right: 0;
    float: right;
    margin-top: 7px;
}

/* Sub-menu toggle button, only shown on mobile. */
.submenu-toggle {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--azc-gray-dark);
    font-size: 0.9rem;
    line-height: 1;
}

.submenu-toggle::before {
    content: '\002B';
    font-weight: 700;
}

.submenu-toggle[aria-expanded="true"]::before {
    content: '\2212';
}

/* --- Gold CTA in the nav --- */
.nav-cta > a,
a.nav-cta {
    background: var(--azc-gold) !important;
    color: var(--azc-blue-darkest) !important;
    padding: 9px 22px !important;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    font-weight: 700 !important;
    transition: background 0.2s !important;
}

.nav-cta > a:hover,
a.nav-cta:hover {
    background: var(--azc-gold-hover) !important;
}

/* --- Hamburger --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--azc-blue-dark);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==================================================================
   10. HERO + MATCH BAR
   ================================================================== */
.hero {
    position: relative;
    height: calc(100vh - var(--azc-header-h) - var(--azc-topbar-h));
    min-height: 560px;
    background: var(--azc-blue-dark);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--azc-placeholder);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 16, 91, 0.88) 0%, rgba(7, 84, 159, 0.75) 60%, rgba(0, 52, 111, 0.85) 100%);
}

/* Diagonal accent line */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(155deg, transparent 38%, rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.04) 40%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-main .container {
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    font-family: var(--azc-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--azc-gold);
    margin-bottom: 16px;
}

.hero h1 {
    font-family: var(--azc-font-display);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--azc-white);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 span {
    display: block;
    color: var(--azc-blue-lighter);
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero-crest-ring {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-crest-ring::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-crest-ring img {
    width: 160px;
    opacity: 0.2;
}

/* --- Match bar pinned to the bottom of the hero --- */
.hero-match-bar {
    background: var(--azc-blue-darkest);
    position: relative;
    z-index: 3;
}

.match-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 18px 0;
    color: var(--azc-white);
    flex-wrap: wrap;
}

.match-bar-label {
    font-family: var(--azc-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--azc-gold);
}

.match-bar-teams {
    display: flex;
    align-items: center;
    gap: 20px;
}

.match-bar-team {
    font-family: var(--azc-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-bar-vs {
    font-family: var(--azc-font-display);
    font-size: 0.85rem;
    opacity: 0.35;
}

.match-bar-datetime {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}


/* ==================================================================
   11. QUICK LINKS
   ================================================================== */
.quick-links {
    background: var(--azc-white);
    border-bottom: 1px solid var(--azc-gray-light);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    text-decoration: none;
    color: var(--azc-gray-dark);
    border-right: 1px solid var(--azc-gray-light);
    transition: all 0.2s;
}

.quick-link:last-child {
    border-right: none;
}

.quick-link:hover {
    background: var(--azc-blue);
    color: var(--azc-white);
}

.quick-link-icon {
    width: 42px;
    height: 42px;
    background: var(--azc-blue-softest);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--azc-blue);
    transition: all 0.2s;
}

.quick-link:hover .quick-link-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--azc-white);
}

.quick-link-text strong {
    display: block;
    font-family: var(--azc-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-link-text span {
    font-size: 0.75rem;
    opacity: 0.6;
}


/* ==================================================================
   12. NEWS (HOME)
   ================================================================== */
.news {
    padding: 80px 0;
    background: var(--azc-off-white);
}

.news-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.news-featured {
    position: relative;
    min-height: 420px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
    display: flex;
    align-items: flex-end;
    padding: 36px;
    text-decoration: none;
    color: var(--azc-white);
    transition: filter 0.3s;
    overflow: hidden;
}

.news-featured-bg {
    position: absolute;
    inset: 0;
    background: var(--azc-placeholder);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.news-featured-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 16, 91, 0.9) 0%, rgba(0, 52, 111, 0.4) 50%, rgba(7, 84, 159, 0.2) 100%);
}

.news-featured:hover {
    filter: brightness(1.1);
}

.news-featured .tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--azc-gold);
    color: var(--azc-blue-darkest);
    padding: 4px 14px;
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    z-index: 2;
}

.news-featured-content {
    position: relative;
    z-index: 2;
}

.news-featured .date {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.news-featured h3 {
    font-family: var(--azc-font-display);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 18px 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--azc-gray-light);
    background: var(--azc-white);
    transition: all 0.25s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    border-left-color: var(--azc-blue);
    padding-left: 24px;
    background: var(--azc-blue-softest);
}

.news-item-img {
    width: 100px;
    height: 76px;
    flex-shrink: 0;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
    background: var(--azc-placeholder);
    background-size: cover;
    background-position: center;
}

.news-item .date {
    font-size: 0.72rem;
    color: var(--azc-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item h4 {
    font-family: var(--azc-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 4px;
    color: var(--azc-blue-dark);
    line-height: 1.3;
}


/* ==================================================================
   13. MATCHDAY PANEL
   ================================================================== */
.matchday {
    background: var(--azc-blue);
    padding: 44px 0;
    position: relative;
    overflow: hidden;
}

.matchday::before {
    content: 'MATCHDAY';
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    font-family: var(--azc-font-display);
    font-size: 7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 8px;
    white-space: nowrap;
    pointer-events: none;
}

.matchday-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 52px;
    color: var(--azc-white);
    position: relative;
    z-index: 2;
}

.matchday-club {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.matchday-club-logo {
    height: 64px;
    width: auto;
    margin: 0 auto 8px;
    display: block;
    object-fit: contain;
}

.matchday-club .name {
    display: block;
    font-family: var(--azc-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.matchday-center {
    text-align: center;
}

.matchday-center .vs {
    font-family: var(--azc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

.matchday-center .datetime {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 2px;
}

.matchday-away-placeholder {
    height: 64px;
    width: 64px;
    margin: 0 auto 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.matchday-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}


/* ==================================================================
   14. TEAMS / SELECTIES
   ================================================================== */
.teams {
    background: var(--azc-blue-dark);
    padding: 80px 0 100px;
    position: relative;
}

/* Diagonal top edge */
.teams::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--azc-white);
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
}

.teams .section-head h2 {
    color: var(--azc-white);
}

.teams .section-head h2 span {
    color: var(--azc-blue-lighter);
}

.teams .see-all {
    color: var(--azc-blue-lighter);
}

.teams-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-tile {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--azc-white);
    transition: all 0.25s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    overflow: hidden;
}

.team-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--azc-blue-light);
}

.team-tile-bg {
    position: absolute;
    inset: 0;
    background: var(--azc-placeholder);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    transition: opacity 0.3s;
}

.team-tile:hover .team-tile-bg {
    opacity: 0.15;
}

.team-tile .team-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--azc-gold);
    margin-bottom: 8px;
    position: relative;
}

.team-tile h3 {
    font-family: var(--azc-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    position: relative;
}

.team-tile p {
    font-size: 0.85rem;
    opacity: 0.5;
    position: relative;
}

.team-tile .corner-arrow {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 1.2rem;
    opacity: 0.2;
    transition: all 0.2s;
}

.team-tile:hover .corner-arrow {
    opacity: 0.9;
    color: var(--azc-gold);
}


/* ==================================================================
   15. MVO BLOCK
   ================================================================== */
.mvo {
    padding: 80px 0;
    background: var(--azc-white);
}

.mvo-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mvo-image {
    height: 360px;
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
    overflow: hidden;
    background: var(--azc-placeholder);
}

.mvo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mvo-text .label {
    font-family: var(--azc-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--azc-gold);
    margin-bottom: 10px;
}

.mvo-text h2 {
    font-family: var(--azc-font-display);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--azc-blue-darkest);
    margin-bottom: 14px;
    line-height: 1.1;
}

.mvo-text p {
    color: var(--azc-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}


/* ==================================================================
   16. SPONSORS
   ================================================================== */
.sponsors {
    padding: 60px 0;
    background: var(--azc-off-white);
    text-align: center;
}

.sponsors-label {
    font-family: var(--azc-font-display);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--azc-gray);
    margin-bottom: 28px;
}

.sponsor-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.sponsor-logo {
    height: 70px;
    min-width: 130px;
    padding: 12px 20px;
    background: var(--azc-white);
    border: 1px solid var(--azc-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
    transition: border-color 0.2s;
    text-decoration: none;
}

.sponsor-logo:hover {
    border-color: var(--azc-blue-lighter);
}

.sponsor-logo img {
    max-height: 44px;
    max-width: 130px;
    object-fit: contain;
}

.sponsor-logo--empty {
    font-family: var(--azc-font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--azc-gray-light);
    background: repeating-linear-gradient(135deg, #fff, #fff 8px, var(--azc-off-white) 8px, var(--azc-off-white) 16px);
}


/* ==================================================================
   17. FOOTER
   ================================================================== */
.footer {
    background: var(--azc-blue-darkest);
    color: var(--azc-white);
    padding: 0 0 20px;
}

.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--azc-blue-dark), var(--azc-blue), var(--azc-gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0 36px;
}

.footer-brand .brand-name {
    font-family: var(--azc-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-brand .brand-since {
    font-size: 0.7rem;
    color: var(--azc-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.footer-brand img {
    max-height: 64px;
    width: auto;
    margin-bottom: 14px;
}

.footer p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.footer h2,
.footer h3,
.footer h4,
.footer .widget-title {
    font-family: var(--azc-font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.88rem;
    margin-bottom: 14px;
    color: var(--azc-blue-lighter);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 7px;
}

.footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--azc-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
}

.footer-bottom ul {
    display: flex;
    gap: 0;
}

.footer-bottom ul li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.footer-bottom ul li + li::before {
    content: '|';
    opacity: 0.5;
    margin: 0 8px;
}

.footer-widgets {
    padding: 32px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}


/* ==================================================================
   18. PAGE HEADER (INNER PAGES)
   ================================================================== */
.page-hero {
    position: relative;
    background: var(--azc-blue-dark);
    color: var(--azc-white);
    padding: 64px 0 56px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--azc-placeholder);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 16, 91, 0.9) 0%, rgba(7, 84, 159, 0.78) 60%, rgba(0, 52, 111, 0.88) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .eyebrow {
    font-family: var(--azc-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--azc-gold);
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: var(--azc-font-display);
    font-size: 2.9rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: 1px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    max-width: 640px;
}

.breadcrumbs {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 12px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--azc-white);
}


/* ==================================================================
   19. ENTRY CONTENT / TYPOGRAPHY
   ================================================================== */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--azc-font-display);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--azc-blue-darkest);
    line-height: 1.15;
    margin: 32px 0 12px;
}

.entry-content h1 { font-size: 2.4rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.6rem; }
.entry-content h4 { font-size: 1.3rem; font-weight: 600; }
.entry-content h5 { font-size: 1.1rem; font-weight: 600; letter-spacing: 1px; }
.entry-content h6 { font-size: 1rem; font-weight: 600; letter-spacing: 1.5px; }

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table,
.entry-content figure,
.entry-content blockquote {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 22px;
}

.entry-content li {
    margin-bottom: 6px;
}

.entry-content blockquote {
    border-left: 4px solid var(--azc-blue);
    background: var(--azc-blue-softest);
    padding: 18px 24px;
    font-size: 1.05rem;
    color: var(--azc-gray-dark);
}

.entry-content a {
    color: var(--azc-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: var(--azc-blue-dark);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    border: 1px solid var(--azc-gray-light);
    padding: 9px 12px;
    text-align: left;
}

.entry-content th {
    background: var(--azc-blue-softest);
    font-family: var(--azc-font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-content code,
.entry-content kbd {
    background: var(--azc-off-white);
    border: 1px solid var(--azc-gray-light);
    padding: 1px 5px;
    font-size: 0.9em;
}

.entry-content pre {
    background: var(--azc-black);
    color: var(--azc-white);
    padding: 18px;
    overflow-x: auto;
    margin-bottom: 20px;
}


/* ==================================================================
   20. CARD GRIDS (ARCHIVES)
   Dates and thumbnails are mandatory here - the old site's dateless
   text lists were an explicit complaint.
   ================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.content-with-sidebar .card-grid {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--azc-white);
    border: 1px solid var(--azc-gray-light);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    height: 100%;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 16, 91, 0.1);
    border-color: var(--azc-blue-lighter);
}

.card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--azc-placeholder);
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--azc-gold);
    color: var(--azc-blue-darkest);
    padding: 3px 12px;
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.card-body {
    padding: 18px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.card-date {
    font-size: 0.74rem;
    color: var(--azc-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-family: var(--azc-font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--azc-blue-dark);
    text-transform: none;
}

.card:hover .card-title {
    color: var(--azc-blue);
}

.card-excerpt {
    font-size: 0.88rem;
    color: var(--azc-gray);
    line-height: 1.6;
}

.card-more {
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--azc-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--azc-blue);
}

/* Featured buttons row (ACF `featured_buttons`) above archives. */
.featured-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

/* Search results list */
.result-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-item {
    display: flex;
    gap: 18px;
    padding: 18px 16px;
    background: var(--azc-white);
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--azc-gray-light);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.result-item:hover {
    border-left-color: var(--azc-blue);
    background: var(--azc-blue-softest);
    padding-left: 24px;
}

.result-item-media {
    width: 120px;
    height: 84px;
    flex-shrink: 0;
    background: var(--azc-placeholder);
    overflow: hidden;
    clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.result-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-item h2,
.result-item h3 {
    font-family: var(--azc-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--azc-blue-dark);
    line-height: 1.25;
}

.result-item .meta {
    font-size: 0.74rem;
    color: var(--azc-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-item p {
    font-size: 0.88rem;
    color: var(--azc-gray);
    margin-top: 4px;
}

.no-results {
    background: var(--azc-off-white);
    border-left: 4px solid var(--azc-blue);
    padding: 28px 32px;
}


/* ==================================================================
   21. SINGLE POST / ARTICLE
   ================================================================== */
.article-header {
    margin-bottom: 28px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azc-gray);
    margin-bottom: 10px;
}

.article-meta .cat {
    color: var(--azc-blue);
    font-weight: 700;
}

.article-title {
    font-family: var(--azc-font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.08;
    color: var(--azc-blue-darkest);
    text-transform: uppercase;
}

.article-figure {
    margin: 0 0 32px;
    background: var(--azc-placeholder);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
    overflow: hidden;
}

.article-figure img {
    width: 100%;
    display: block;
}

.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--azc-gray-light);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}

.tag-list a {
    display: inline-block;
    font-family: var(--azc-font-display);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--azc-blue-softest);
    color: var(--azc-blue-dark);
    padding: 4px 12px;
    margin: 0 6px 6px 0;
    text-decoration: none;
}

.tag-list a:hover {
    background: var(--azc-blue);
    color: var(--azc-white);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.post-navigation a {
    display: block;
    padding: 18px 20px;
    background: var(--azc-off-white);
    border-left: 3px solid var(--azc-blue);
    text-decoration: none;
    color: var(--azc-blue-dark);
    font-family: var(--azc-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
}

.post-navigation a:hover {
    background: var(--azc-blue-softest);
}

.post-navigation .nav-label {
    display: block;
    font-family: var(--azc-font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azc-gray);
    margin-bottom: 4px;
    font-weight: 400;
}

.post-navigation .nav-next {
    text-align: right;
    border-left: 0;
    border-right: 3px solid var(--azc-blue);
}


/* ==================================================================
   22. TEAM SINGLE
   ================================================================== */
.team-photo {
    margin: 0 0 40px;
    background: var(--azc-placeholder);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    display: block;
}

.team-block {
    margin-bottom: 40px;
}

.team-block > h2 {
    font-family: var(--azc-font-display);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--azc-blue-darkest);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--azc-blue-softest);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.team-member {
    text-align: center;
}

.team-member-photo {
    aspect-ratio: 3 / 4;
    background: var(--azc-blue-softest);
    overflow: hidden;
    margin-bottom: 8px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-name {
    font-family: var(--azc-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--azc-blue-dark);
    line-height: 1.2;
}

/* Slot that the (future) KNVB plugin hooks into. */
.knvb-slot {
    background: var(--azc-off-white);
    border: 1px dashed var(--azc-blue-lighter);
    padding: 28px 32px;
    margin-bottom: 40px;
}

.knvb-slot .knvb-slot-note {
    font-size: 0.88rem;
    color: var(--azc-gray);
}

.team-group-block {
    margin-bottom: 56px;
}

.team-group-block:last-child {
    margin-bottom: 0;
}


/* ==================================================================
   23. SIDEBAR & WIDGETS
   ================================================================== */
.sidebar .widget,
.widget-area .widget {
    background: var(--azc-off-white);
    border-top: 3px solid var(--azc-blue);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.sidebar .widget-title,
.widget-area .widget-title {
    font-family: var(--azc-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azc-blue-darkest);
    margin-bottom: 14px;
}

.sidebar ul,
.widget-area ul {
    list-style: none;
}

.sidebar li,
.widget-area li {
    padding: 7px 0;
    border-bottom: 1px solid var(--azc-gray-light);
    font-size: 0.92rem;
}

.sidebar li:last-child,
.widget-area li:last-child {
    border-bottom: none;
}

.sidebar a,
.widget-area a {
    color: var(--azc-blue-dark);
    text-decoration: none;
}

.sidebar a:hover,
.widget-area a:hover {
    color: var(--azc-blue);
    text-decoration: underline;
}

.widget_sa_recent .current-page > a,
.widget_sa_recent .current_page_item > a {
    font-weight: 700;
    color: var(--azc-blue);
}


/* ==================================================================
   24. FORMS & SEARCH
   ================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
    width: 100%;
    font-family: var(--azc-font-body);
    font-size: 0.95rem;
    padding: 11px 14px;
    border: 1px solid var(--azc-gray-light);
    background: var(--azc-white);
    color: var(--azc-black);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--azc-blue);
}

.search-form {
    display: flex;
    gap: 0;
}

.search-form .search-field {
    flex: 1;
    border-right: 0;
}

.search-form .search-submit {
    flex-shrink: 0;
    padding: 11px 22px;
    background: var(--azc-blue);
    color: var(--azc-white);
    border: 0;
    font-family: var(--azc-font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form .search-submit:hover {
    background: var(--azc-blue-dark);
}


/* ==================================================================
   25. PAGINATION & COMMENTS
   ================================================================== */
.pagination {
    margin-top: 48px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    padding: 9px 14px;
    background: var(--azc-off-white);
    color: var(--azc-blue-dark);
    text-decoration: none;
    font-family: var(--azc-font-display);
    font-weight: 600;
    transition: all 0.2s;
}

.pagination .page-numbers:hover {
    background: var(--azc-blue-softest);
}

.pagination .page-numbers.current {
    background: var(--azc-blue);
    color: var(--azc-white);
}

.comments-area {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--azc-gray-light);
}

.comments-area .comment-list {
    list-style: none;
}

.comments-area .comment-body {
    padding: 16px 20px;
    background: var(--azc-off-white);
    margin-bottom: 16px;
}


/* ==================================================================
   26. 404
   ================================================================== */
.error-404 {
    text-align: center;
    padding: 80px 0 96px;
}

.error-404 .code {
    font-family: var(--azc-font-display);
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--azc-blue-softest);
}

.error-404 h1 {
    font-family: var(--azc-font-display);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--azc-blue-darkest);
    margin-bottom: 12px;
}

.error-404 p {
    color: var(--azc-gray);
    max-width: 520px;
    margin: 0 auto 28px;
}

.error-404 .search-form {
    max-width: 460px;
    margin: 0 auto 24px;
}


/* ==================================================================
   27. RESPONSIVE - TABLET (max-width: 1024px)
   ================================================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-visual {
        right: 10px;
    }

    .hero-crest-ring {
        width: 260px;
        height: 260px;
    }

    .hero-crest-ring img {
        width: 120px;
    }

    .quick-links .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-link:nth-child(2) {
        border-right: none;
    }

    .quick-link:nth-child(1),
    .quick-link:nth-child(2) {
        border-bottom: 1px solid var(--azc-gray-light);
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-featured {
        min-height: 300px;
    }

    .teams-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .mvo-inner {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .matchday::before {
        font-size: 5rem;
    }

    .section-head h2 {
        font-size: 2.2rem;
    }

    .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .card-grid,
    .content-with-sidebar .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero h1 {
        font-size: 2.3rem;
    }

    .article-title {
        font-size: 2rem;
    }
}


/* ==================================================================
   28. RESPONSIVE - MOBILE (max-width: 768px)
   ================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Top bar: hide address, keep links */
    .top-bar .container > .top-bar-address {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }

    /* Header: hamburger menu */
    .header .container {
        height: 62px;
    }

    .admin-bar .header {
        top: 46px;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--azc-white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
        border-top: 1px solid var(--azc-gray-light);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: calc(100vh - 62px);
        overflow-y: auto;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav li {
        list-style: none;
    }

    .main-nav a {
        display: block;
        padding: 12px 24px;
        font-size: 1rem;
        border-bottom: 1px solid var(--azc-gray-light);
    }

    .main-nav > li:last-child > a {
        border-bottom: none;
    }

    /* Mobile dropdowns: accordion, driven by the toggle button. */
    .submenu-toggle {
        display: block;
    }

    .main-nav .menu-item-has-children > a::after {
        display: none;
    }

    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border-top: 0;
        min-width: 0;
        padding: 0;
        background: var(--azc-off-white);
    }

    .main-nav li.is-open > .sub-menu {
        display: block;
    }

    .main-nav .sub-menu a {
        padding-left: 40px;
        white-space: normal;
    }

    .main-nav .sub-menu .sub-menu a {
        padding-left: 56px;
    }

    .nav-cta > a,
    a.nav-cta {
        clip-path: none !important;
        margin: 12px 24px !important;
        text-align: center;
        display: block !important;
        padding: 12px 24px !important;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 85vh;
    }

    .hero-main {
        padding: 48px 0 32px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-visual {
        display: none;
    }

    .hero::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-skew,
    .button,
    .button-alt {
        text-align: center;
        padding: 14px 28px;
    }

    /* Match bar */
    .match-bar-inner {
        flex-direction: column;
        gap: 8px;
        padding: 14px 0;
        text-align: center;
    }

    .match-bar-teams {
        gap: 12px;
    }

    /* Quick links */
    .quick-links .container {
        grid-template-columns: 1fr 1fr;
    }

    .quick-link {
        padding: 16px 14px;
        gap: 10px;
    }

    .quick-link-icon {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .quick-link-text strong {
        font-size: 0.82rem;
    }

    .quick-link-text span {
        display: none;
    }

    /* News */
    .news {
        padding: 48px 0;
    }

    .section {
        padding: 48px 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 28px;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-featured {
        min-height: 260px;
        padding: 24px;
        clip-path: none;
    }

    .news-featured h3 {
        font-size: 1.4rem;
    }

    .news-item {
        padding: 14px 12px;
    }

    .news-item-img {
        width: 80px;
        height: 60px;
    }

    .news-item h4 {
        font-size: 0.98rem;
    }

    /* Matchday */
    .matchday {
        padding: 32px 0;
    }

    .matchday-inner {
        gap: 28px;
    }

    .matchday-club-logo {
        height: 48px;
    }

    .matchday-away-placeholder {
        height: 48px;
        width: 48px;
    }

    .matchday-center .vs {
        font-size: 2rem;
    }

    .matchday-club .name {
        font-size: 1rem;
    }

    .matchday::before {
        font-size: 3.5rem;
        right: 16px;
        letter-spacing: 4px;
    }

    /* Teams */
    .teams {
        padding: 60px 0 72px;
    }

    .teams::before {
        height: 36px;
    }

    .teams-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .team-tile {
        padding: 24px 18px;
    }

    .team-tile h3 {
        font-size: 1.25rem;
    }

    /* MVO */
    .mvo {
        padding: 48px 0;
    }

    .mvo-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mvo-image {
        height: 240px;
        clip-path: none;
    }

    .mvo-text h2 {
        font-size: 1.8rem;
    }

    /* Sponsors */
    .sponsors {
        padding: 40px 0;
    }

    .sponsor-row {
        gap: 16px;
    }

    .sponsor-logo {
        height: 56px;
        padding: 8px 14px;
    }

    .sponsor-logo img {
        max-height: 36px;
        max-width: 100px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    /* Inner pages */
    .page-hero {
        padding: 40px 0 36px;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .card-grid,
    .content-with-sidebar .card-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-figure,
    .team-photo {
        clip-path: none;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .result-item-media {
        width: 90px;
        height: 66px;
    }

    .error-404 .code {
        font-size: 5rem;
    }
}


/* ==================================================================
   29. RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ================================================================== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 0.88rem;
    }

    .quick-links .container {
        grid-template-columns: 1fr;
    }

    .quick-link {
        border-right: none;
        border-bottom: 1px solid var(--azc-gray-light);
    }

    .quick-link:last-child {
        border-bottom: none;
    }

    .quick-link-text span {
        display: inline;
    }

    .news-featured {
        min-height: 220px;
        padding: 20px;
    }

    .news-featured h3 {
        font-size: 1.2rem;
    }

    .matchday-inner {
        flex-direction: column;
        gap: 16px;
    }

    .matchday-center .vs {
        font-size: 1.5rem;
    }

    .matchday::before {
        display: none;
    }

    .teams-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .team-tile {
        clip-path: none;
    }

    .section-head h2 {
        font-size: 1.7rem;
    }

    .card {
        clip-path: none;
    }

    .result-item {
        flex-direction: column;
    }

    .result-item-media {
        width: 100%;
        height: 160px;
    }
}


/* ==================================================================
   30. PRINT & REDUCED MOTION
   ================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .top-bar,
    .header,
    .hero,
    .quick-links,
    .sidebar,
    .footer,
    .pagination,
    .post-navigation {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
