/* Opknapbeurt oktober 2026: zoekveld, spelerskop, startpagina, footer, wedstrijdstatus */

/* Zoekveld in de kop: breder, zodat de placeholder leesbaar is */
.header-search { flex: 1 1 300px; max-width: 340px; min-width: 160px; }
.header-search input { font-size: 13px; padding: 0 13px; }
@media (max-width: 1180px) { .header-search { flex-basis: 220px; } }
@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; row-gap: 10px; padding: 10px 0; }
    .header-search { order: 3; flex: 1 0 100%; max-width: none; margin: 0; }
    .header-search input { height: 40px; font-size: 15px; }
    .header-search button { flex-basis: 44px; width: 44px; }
}

/* Spelerskop met portret, kerngegevens en acties */
.player-hero-v2 { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 34px 38px; }
.player-hero-v2.has-portrait { grid-template-columns: 148px 1fr auto; }
.player-hero-portrait { margin: 0; position: relative; z-index: 1; width: 148px; height: 184px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #22242a; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.player-hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; filter: saturate(.95); }
.player-hero-main { position: relative; z-index: 1; min-width: 0; }
.player-hero-main h1 { margin: 6px 0 10px; }
.player-hero-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.player-hero-facts li { padding: 5px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: #e6e6e9; font-size: 12px; font-weight: 600; }
.player-hero-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.player-hero-actions a { color: #f0c9cc; font-size: 12px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(240,201,204,.4); text-underline-offset: 4px; }
.player-hero-actions a:hover { color: #fff; text-decoration-color: #fff; }
.player-hero-v2 .player-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(96px, auto)); }
.player-hero-v2 .player-stat-grid div { min-width: 96px; }
@media (max-width: 980px) {
    .player-hero-v2, .player-hero-v2.has-portrait { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
    .player-hero-v2.has-portrait { grid-template-columns: 96px 1fr; }
    .player-hero-v2.has-portrait .player-stat-grid { grid-column: 1 / -1; }
    .player-hero-portrait { width: 96px; height: 120px; }
    .player-hero-v2 .player-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .player-hero-v2 .player-stat-grid div { min-width: 0; }
}
@media (max-width: 480px) {
    .player-hero-main h1 { font-size: 30px; }
    .player-hero-facts li { font-size: 11px; }
}

/* Fotogalerij onderaan de spelerspagina, ingeklapt bij veel foto's */
.player-photo-section { margin: 34px 0; }
.player-photo-section .player-photo-strip { margin: 14px 0 0; }
.player-photo-strip.is-collapsed > figure:nth-child(n+9) { display: none; }
.photo-strip-toggle { margin-top: 16px; }
.player-photo-strip figcaption { font-size: 11px; line-height: 1.45; }

/* Startpagina: archief in cijfers */
.archive-counts { margin-top: 14px; }
.archive-counts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.archive-counts-grid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #faf9f7; }
.archive-counts-grid dt { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.archive-counts-grid dd { margin: 4px 0 0; font: 800 22px/1.1 Manrope, sans-serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.archive-counts-grid dd a:hover { color: var(--red-dark); }
.archive-counts-grid div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.today-birthday-icon, .today-memorial-icon { display: inline-grid; place-items: center; }

/* Startpagina: verhalenkaarten met beeld */
.home-history-cards { align-items: stretch; }
.home-history-card.has-image { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.home-history-card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1b1c20; }
.home-history-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.15); transition: transform .4s ease; }
.home-history-card:hover .home-history-card-image img { transform: scale(1.04); }
.home-history-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.home-history-card-body small { margin-top: auto; padding-top: 6px; color: var(--red-dark); font-size: 12px; font-weight: 800; }
.home-history-card:not(.has-image) .home-history-card-body { padding: 0; }

/* Wedstrijdpagina: status van de opstelling */
.lineup-status { padding: 12px 16px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: #fbf8f1; color: #4b4b52; font-size: 13px; line-height: 1.55; }
.lineup-status a { color: var(--red-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.player-card h4 small { color: var(--muted); font-weight: 600; font-size: .85em; }

/* Footer */
.site-footer { margin-top: 56px; padding: 48px 0 0; background: #101114; color: #a9a9ae; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; }
.footer-brand .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand p { max-width: 380px; margin: 16px 0 0; font-size: 13px; line-height: 1.65; }
.footer-column { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footer-column strong { margin-bottom: 4px; color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-column .cookie-settings { padding: 0; border: 0; background: none; color: #c4c4c9; font-size: 13px; cursor: pointer; text-align: left; }
.footer-column a:hover, .footer-column .cookie-settings:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; color: #7d7d84; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } .site-footer { padding-top: 34px; } }

/* Aanvullingslink bovenaan pagina's: rustige tekstlink in plaats van een losse kaart */
.suggestion-inline { margin: -4px 0 14px; padding: 0; border: 0; background: none; box-shadow: none; text-align: right; }
.suggestion-inline a { display: inline; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.suggestion-inline a:hover { color: var(--red-dark); }

/* Statistiekpagina: filters op de telefoon inklapbaar */
.filter-panel-toggle { display: none; }
@media (max-width: 760px) {
    .filter-panel-toggle { display: block; width: 100%; }
    .search-panel:not(.filters-open) .filter-form { display: none; }
    .search-panel.filters-open .filter-panel-toggle { margin-bottom: 16px; }
}
.search-field .input-wrap { position: relative; }
.header-search button { display: grid; place-items: center; }
.search-icon { display: grid; place-items: center; transform: translateY(-50%); }
.search-icon .icon-search { width: 17px; height: 17px; }
