/*
 Theme Name: WK 2026
 Theme URI: https://highsensi.nl/
 Description: Maatwerk thema voor WK 2026 met een homepage die de wedstrijden van vandaag toont (Nederlandse tijd) vanuit de ESPN API.
 Author: highsensi.nl
 Version: 1.0.0
 Requires at least: 6.0
 Tested up to: 6.5
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: wk-2026
*/

/* Basis reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #0b1b2b; background: #f7f8fa; }
img { max-width: 100%; height: auto; display: block; }

/* Hero met kleuren van de gastlanden (Mexico groen, Canada rood, VS blauw) */
.header-hero {
  background: linear-gradient(135deg, #006847 0%, #009e60 20%, #d7263d 50%, #0a2342 85%, #143d59 100%);
  color: #ffffff;
  padding: 48px 20px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.header-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.header-hero h1 { font-size: 36px; line-height: 1.2; margin: 0 0 8px; }
.header-hero p { margin: 0; opacity: .95; }

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* Kaartjes met wedstrijden */
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 20px; }
.match-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(10,35,66,0.08);
  padding: 16px;
  border: 1px solid rgba(10,35,66,0.06);
}
.match-time {
  display: inline-block;
  background: #0a2342;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 14px;
}
.teams { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 10px; margin-top: 12px; }
.team { display: flex; align-items: center; gap: 10px; }
.team .logo { width: 28px; height: 28px; border-radius: 50%; background: #f0f3f7; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; }
.team .name { font-weight: 600; color: #0b1b2b; }
.vs { text-align: center; font-weight: 700; color: #d7263d; }

.meta { margin-top: 10px; font-size: 13px; color: #42566d; display: flex; gap: 10px; flex-wrap: wrap; }
.meta .badge { background: #eef4ff; color: #0a2342; border: 1px solid #dbe7ff; padding: 4px 8px; border-radius: 999px; }

.status { margin-top: 10px; font-size: 13px; color: #0a2342; opacity: .8; }

.no-matches { text-align: center; padding: 28px; background: #ffffff; border-radius: 12px; border: 1px dashed #c6d3e3; color: #42566d; }

.footer-note { text-align: center; color: #5a6f86; font-size: 12px; margin: 24px 0 40px; }

/* Responsive tweaks */
@media (max-width: 480px) {
  .header-hero h1 { font-size: 28px; }
}
