/*
Theme Name: TalentetEU
Theme URI: https://talentet.eu
Author: TalentetEU
Description: Football talents platform theme (starter)
Version: 1.1
Text Domain: talenteteu
*/

:root{
  --green:#1f6f43;
  --green-2:#2e9e62;
  --bg:#f3f5f7;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --shadow:0 6px 18px rgba(17,24,39,.08);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}

.wrap{max-width:1220px; margin:0 auto; padding:0 18px;}
.section{padding:24px 0}
.section-title{
  display:flex; align-items:center; justify-content:space-between;
  margin:0 0 14px 0;
}
.section-title h2{font-size:20px; margin:0}
.section-title a.more{color:var(--muted); font-size:14px}
.section-title a.more:hover{color:var(--text)}

/* Header */
.site-header{
  position:sticky; top:0; z-index:20;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; gap:16px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; min-width:200px}
.brand .logo{
  width:44px; height:44px; border-radius:12px; background:var(--bg);
  display:grid; place-items:center; overflow:hidden;
}
.brand .name{font-weight:800; letter-spacing:.2px}

.primary-nav{flex:1}
.primary-nav ul{list-style:none; display:flex; gap:18px; padding:0; margin:0; align-items:center; justify-content:center}
.primary-nav a{font-weight:600; font-size:14px; color:#334155; padding:8px 6px; border-bottom:2px solid transparent}
.primary-nav a:hover{color:var(--green)}
.primary-nav .current-menu-item > a{color:var(--green); border-bottom-color:var(--green)}

.header-actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green);
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  box-shadow:0 10px 20px rgba(31,111,67,.18);
}
.btn:hover{filter:brightness(.97)}
.btn.outline{
  background:#fff; color:var(--green);
  border:1px solid rgba(31,111,67,.25);
  box-shadow:none;
}

/* Hero */
.hero{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  padding:24px 0 18px 0;
  align-items:center;
}
.hero-copy h1{
  font-size:44px;
  line-height:1.1;
  margin:0 0 10px 0;
}
.hero-copy p{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size:16px;
}
.hero-media{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  min-height:260px;
  background:linear-gradient(135deg, #e8f3ed, #f7faf9);
  background-size:cover;
  background-position:center;
}
.hero-media::after{
  content:'';
  display:block;
  padding-top:62%;
}

/* Grid cards */
.grid-3{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px}
.grid-2-1{display:grid; grid-template-columns:1.25fr .75fr; gap:16px}
.grid-2{display:grid; grid-template-columns:repeat(2, 1fr); gap:16px}
@media(max-width:980px){
  .hero-inner{grid-template-columns:1fr}
  .grid-3,.grid-2-1,.grid-2{grid-template-columns:1fr}
  .primary-nav ul{justify-content:flex-start; overflow:auto; padding-bottom:6px}
  .brand{min-width:auto}
}

/* Card */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .pad{padding:14px}
.card h3{margin:0 0 6px 0; font-size:16px}
.meta{color:var(--muted); font-size:13px}
.thumb{aspect-ratio: 16/9; background:#e9eef1}
.thumb img{width:100%; height:100%; object-fit:cover}

/* Talent mini cards */
.talent-mini{display:flex; gap:12px; padding:12px; align-items:center}
.talent-mini .ava{width:62px; height:62px; border-radius:14px; overflow:hidden; background:#eef2f6; flex:0 0 auto}
.talent-mini .ava img{width:100%; height:100%; object-fit:cover}
.talent-mini h3{margin:0; font-size:15px}
.talent-mini .meta{margin-top:2px}

/* Featured talent */
.featured{
  position:relative;
  min-height:210px;
}
.featured .bg{
  position:absolute; inset:0;
  background:#0b1220;
}
.featured .bg img{width:100%; height:100%; object-fit:cover; opacity:.85}
.featured .overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(17,24,39,.88), rgba(17,24,39,.15));
}
.featured .content{
  position:relative;
  padding:18px;
  display:flex; flex-direction:column; gap:10px;
  min-height:210px;
}
.featured h3{color:#fff; font-size:22px; margin:0}
.featured .meta{color:rgba(255,255,255,.8)}
.badge{
  display:inline-flex; align-items:center;
  background:rgba(46,158,98,.18);
  color:#eafff2;
  border:1px solid rgba(46,158,98,.35);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  width:max-content;
}

/* Video card */
.video-card{position:relative}
.play{
  position:absolute; inset:0;
  display:grid; place-items:center;
}
.play span{
  width:64px; height:64px; border-radius:999px;
  background:rgba(255,255,255,.85);
  display:grid; place-items:center;
  box-shadow:0 12px 24px rgba(0,0,0,.18);
  font-size:18px;
}

/* Footer */
.site-footer{
  margin-top:28px;
  background:#fff;
  border-top:1px solid var(--border);
}
.footer-inner{padding:18px 0; color:var(--muted); font-size:14px}
