/*
Theme Name: 3plus Theme
Description: Tema de baza a noului 3plus.ro (hub Liga 2 / Liga 3 + Jucatorul Etapei). Fara page builder, fara dependente externe.
Author: 3plus.ro
Version: 0.2.5
Text Domain: tpc-theme

IMPORTANT -- doar STAGING/local. Nu instala pe 3plus.ro live.
*/

/* ---------------------------------------------------------------------
 * Reset minimal
 * ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--tpc-bg);
  color: var(--tpc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; }
p { margin: 0 0 1rem; }
button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
 * Design tokens
 * ------------------------------------------------------------------- */
:root {
  --tpc-bg: #f3f5f9;
  --tpc-surface: #ffffff;
  --tpc-ink: #10151f;
  --tpc-ink-soft: #566072;
  --tpc-border: #e2e6ee;
  --tpc-navy: #0e1116;
  --tpc-navy-soft: #1b2740;
  --tpc-primary: #0b64d6;
  --tpc-primary-dark: #094fac;
  --tpc-accent: #f2a71b;
  --tpc-accent-dark: #8a5a00;
  --tpc-liga2: #0b64d6;
  --tpc-liga3: #d6551d;
  --tpc-premium: #6b3fa0;
  --tpc-radius: 14px;
  --tpc-radius-sm: 8px;
  --tpc-shadow: 0 1px 2px rgba(10,20,40,.05), 0 8px 24px rgba(10,20,40,.08);
  --tpc-container: 1180px;
}

.tpc-container {
  max-width: var(--tpc-container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------- */
.site-header {
  background: var(--tpc-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.tpc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}
.site-logo span { color: #4da3ff; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

.site-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--tpc-navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease;
}
.site-nav.is-open { max-height: 400px; }
.site-nav__list {
  display: flex;
  flex-direction: column;
  padding: .5rem 1rem 1rem;
}
.site-nav__list li a {
  display: block;
  padding: .6rem 0;
  text-decoration: none;
  font-weight: 600;
  color: #dfe6ee;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-nav__list li:last-child a { border-bottom: 0; }
.site-nav__list li a:hover { color: #fff; }

/* Cont / autentificare (TPC_Auth::render_header_account_html) -- randat ca
   ultimul <li> din site-nav, ca sa fie vizibil atat in panoul mobil (hamburger)
   cat si pe randul orizontal de desktop, fara widget separat care sa se
   inghesuie langa logo pe ecrane inguste. */
.site-nav__auth { border-top: 1px solid rgba(255,255,255,.1); margin-top: .25rem; padding-top: .25rem; }
.site-nav__auth li { border-bottom: 0; }
.site-nav__auth .tpc-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: .3rem 0; }
.site-nav__auth .tpc-acct a {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  font-weight: 600;
  font-size: .92rem;
  color: #dfe6ee;
  text-decoration: none;
  border-bottom: 0;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}
.site-nav__auth .tpc-acct a:hover { background: rgba(255,255,255,.18); color: #fff; }
.site-nav__auth .tpc-acct-logout { background: transparent; color: #9fb0c3; }

@media (min-width: 780px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    border: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .site-nav__list {
    flex-direction: row;
    gap: .3rem;
    padding: 0;
  }
  .site-nav__list li a {
    border: 0;
    padding: .5rem .7rem;
    border-radius: 8px;
    font-size: .92rem;
  }
  .site-nav__list li a:hover { background: rgba(255,255,255,.08); }
  .site-nav__auth { border-top: 0; margin-top: 0; padding-top: 0; margin-left: .5rem; }
  .site-nav__auth .tpc-acct a { padding: .5rem .8rem; min-height: 0; }
}

/* ---------------------------------------------------------------------
 * Badges / chips / buttons
 * ------------------------------------------------------------------- */
.tpc-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: var(--tpc-ink);
  color: #fff;
}
.tpc-badge--liga2 { background: var(--tpc-liga2); }
.tpc-badge--liga3 { background: var(--tpc-liga3); }
.tpc-badge--je { background: var(--tpc-accent); color: #3a2a00; }
.tpc-badge--tipbook { background: var(--tpc-primary); }
.tpc-badge--generic, .tpc-badge--competitie { background: #48505c; }
.tpc-badge .tpc-ball-icon { width: 12px; height: 12px; }

.tpc-chip {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--tpc-ink-soft);
  background: #eef1ee;
  padding: .15rem .5rem;
  border-radius: 999px;
  margin-bottom: .4rem;
}

.tpc-btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: var(--tpc-radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.tpc-btn--primary { background: var(--tpc-primary); color: #fff; }
.tpc-btn--primary:hover { background: var(--tpc-primary-dark); }
.tpc-btn--outline { border-color: var(--tpc-ink); color: var(--tpc-ink); }

.tpc-dot { margin: 0 .35rem; color: var(--tpc-ink-soft); }
.tpc-empty {
  color: var(--tpc-ink-soft);
  background: var(--tpc-surface);
  border: 1px dashed var(--tpc-border);
  border-radius: var(--tpc-radius);
  padding: 1.5rem;
  text-align: center;
}

/* ---------------------------------------------------------------------
 * Cards (cu / fara imagine)
 * ------------------------------------------------------------------- */
.tpc-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
@media (min-width: 620px) {
  .tpc-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .tpc-card-grid--wide { grid-template-columns: repeat(3, 1fr); }
}

.tpc-card {
  background: var(--tpc-surface);
  border: 1px solid var(--tpc-border);
  border-radius: var(--tpc-radius);
  overflow: hidden;
  box-shadow: var(--tpc-shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tpc-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,21,26,.1); }
.tpc-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }

/* 16:9 = raportul exact al imaginilor generate de editorial-image-generator.js
   (1200x675). Cu acelasi raport in container, object-fit: cover nu mai taie
   nimic pe orizontala -- doar scaleaza -- deci siglele/scorurile plasate
   langa margini (vezi SAFE_MARGIN in generator) raman intacte. Pentru poze
   vechi/migrate cu alt raport, cover face un crop centrat, mild si sigur
   (fara stretch/distorsiune). */
.tpc-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe4df; }
.tpc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tpc-card__badge { position: absolute; top: .6rem; left: .6rem; }

.tpc-card__body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.tpc-card__title { font-size: 1.05rem; }
.tpc-card__meta { margin-top: auto; padding-top: .5rem; font-size: .82rem; color: var(--tpc-ink-soft); }

.tpc-card--featured .tpc-card__title { font-size: 1.4rem; }

/* Card fara featured image -- vizualul propriu (fundal SVG + brand/badge/tip)
   e randat de template-parts/cover.php; stilul lui e mai jos, sectiunea
   "Cover 3plus" (mutat aici din assets/css/cover.css -- vezi acea sectiune
   pentru motiv: permisiuni cPanel pe staging nu permiteau crearea folderului
   assets/css). */
.tpc-card--noimage .tpc-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
}
.tpc-card--noimage .tpc-card__meta .tpc-chip { margin-bottom: 0; }

/* ---------------------------------------------------------------------
 * Hero (homepage)
 * ------------------------------------------------------------------- */
.tpc-hero { padding: 1.5rem 0; }
.tpc-hero__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.tpc-hero__secondary { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 980px) {
  .tpc-hero__grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .tpc-hero__secondary { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
 * Sectiuni Liga 2 / Liga 3
 * ------------------------------------------------------------------- */
.tpc-league-section { padding: 1.5rem 0; }
.tpc-league-section--liga2 { border-top: 3px solid var(--tpc-liga2); }
.tpc-league-section--liga3 { border-top: 3px solid var(--tpc-liga3); }
.tpc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .5rem;
}
.tpc-section-head a { font-weight: 700; text-decoration: none; font-size: .9rem; white-space: nowrap; }

/* ---------------------------------------------------------------------
 * Modul Jucatorul Etapei (homepage + integrare)
 * ------------------------------------------------------------------- */
.tpc-je-module {
  background: linear-gradient(135deg, var(--tpc-navy) 0%, var(--tpc-navy-soft) 65%, #123a63 140%);
  color: #fff;
  padding: 1.75rem 0;
  margin: .5rem 0;
  border-radius: var(--tpc-radius);
}
.tpc-je-module__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 780px) {
  .tpc-je-module__inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.tpc-je-module h2 { font-size: 1.5rem; margin: .4rem 0 .6rem; }
.tpc-je-module__chain { color: rgba(255,255,255,.75); font-size: .85rem; margin: .5rem 0 0; }
.tpc-je-module__status { color: rgba(255,255,255,.9); }
.tpc-je-module .tpc-btn--outline { border-color: #fff; color: #fff; }
.tpc-je-module .tpc-btn--primary { background: var(--tpc-accent); color: #3a2a00; }
.tpc-je-module .tpc-btn--primary:hover { background: #d99000; }

.tpc-je-module__nominees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.tpc-je-module__nominees li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--tpc-radius-sm);
  padding: .6rem .75rem;
}
.tpc-je-module__nominee-name { display: block; font-weight: 700; }
.tpc-je-module__nominee-club { display: block; font-size: .78rem; color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------------
 * Jucatorul Etapei -- pagina de editie (vot) + arhiva
 * ------------------------------------------------------------------- */
.tpc-je-single { max-width: 720px; padding: 2rem 1rem 3rem; }
.tpc-je-single__back { font-size: .88rem; margin-bottom: .75rem; }
.tpc-je-single__head { margin-bottom: 1.25rem; }
.tpc-je-single__head h1 { font-size: 1.9rem; line-height: 1.25; margin: .3rem 0 .6rem; }
.tpc-je-single__chain { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--tpc-ink-soft); font-size: .92rem; margin: 0; }
.tpc-je-single__disclaimer { margin-top: 1.75rem; font-size: .85rem; color: var(--tpc-ink-soft); }

.tpc-je-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.tpc-je-status--is-open { background: #e3f0ff; color: #0b4da8; }
.tpc-je-status--is-open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #0b64d6; }
.tpc-je-status--is-closed { background: #eef1f4; color: #48505c; }
.tpc-je-status--is-draft { background: #fff3dc; color: var(--tpc-accent-dark); }

.tpc-castigator {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  background: #fff8ea;
  border: 1px solid #f2d896;
  border-radius: var(--tpc-radius);
}
.tpc-castigator h2 { font-size: 1.15rem; margin: 0; color: var(--tpc-accent-dark); }
.tpc-vot-inchis-note { color: var(--tpc-ink-soft); font-size: .9rem; margin-top: 1rem; }

.tpc-je-archive { max-width: 720px; padding: 2rem 1rem 3rem; }
.tpc-je-archive h1 { font-size: 1.9rem; margin: .3rem 0 .5rem; }
.tpc-je-archive__list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.tpc-je-archive__item {
  background: var(--tpc-surface);
  border: 1px solid var(--tpc-border);
  border-radius: var(--tpc-radius-sm);
  padding: .2rem .2rem;
}
.tpc-je-archive__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .8rem 1rem;
  text-decoration: none;
  color: var(--tpc-ink);
}
.tpc-je-archive__title { font-weight: 700; }
.tpc-je-archive__winner { margin: 0 1rem .7rem; font-size: .85rem; color: var(--tpc-accent-dark); }

/* ---------------------------------------------------------------------
 * TipBook teaser (homepage) + placeholder (pagina /tipbook/)
 * ------------------------------------------------------------------- */
.tpc-tipbook-teaser { padding: 1.75rem 0 2.5rem; }
.tpc-tipbook-teaser__inner {
  background: var(--tpc-surface);
  border: 1px solid var(--tpc-border);
  border-left: 4px solid var(--tpc-accent);
  border-radius: var(--tpc-radius);
  padding: 1.5rem;
}
.tpc-tipbook-teaser h2 { margin-top: .5rem; }

.tpc-tipbook-placeholder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 780px) {
  .tpc-tipbook-placeholder { grid-template-columns: repeat(3, 1fr); }
}
.tpc-tipbook-placeholder__card {
  background: var(--tpc-surface);
  border: 1px solid var(--tpc-border);
  border-radius: var(--tpc-radius);
  padding: 1.25rem;
}
.tpc-tipbook-placeholder__card .tpc-ball-icon { width: 32px; height: 32px; color: var(--tpc-primary); margin-bottom: .5rem; }

/* ---------------------------------------------------------------------
 * Pagini generice / hero de pagina
 * ------------------------------------------------------------------- */
.tpc-page { padding: 2rem 1rem; }
.tpc-page-hero { padding: .5rem 0 1.5rem; }
.tpc-page-hero__lead { color: var(--tpc-ink-soft); max-width: 640px; }
.tpc-page-hero--liga2 { border-bottom: 3px solid var(--tpc-liga2); padding-bottom: 1.5rem; }
.tpc-page-hero--liga3 { border-bottom: 3px solid var(--tpc-liga3); padding-bottom: 1.5rem; }
.tpc-page-hero--tipbook { border-bottom: 3px solid var(--tpc-accent); padding-bottom: 1.5rem; }

/* ---------------------------------------------------------------------
 * Articol single
 * ------------------------------------------------------------------- */
.tpc-single { max-width: 720px; padding: 2rem 1rem 3rem; }
.tpc-single__header { margin-bottom: 1.25rem; }
.tpc-single__header h1 { font-size: 2rem; line-height: 1.25; margin: .6rem 0; letter-spacing: -.01em; }
.tpc-single__meta { color: var(--tpc-ink-soft); font-size: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.tpc-single__meta .tpc-author { font-weight: 700; color: var(--tpc-ink); }
.tpc-single__meta .tpc-single__sport-link { color: var(--tpc-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: .35rem 0; }
.tpc-single__media { margin: 1.25rem 0; border-radius: var(--tpc-radius); overflow: hidden; box-shadow: var(--tpc-shadow); }
.tpc-single__media img { width: 100%; }

.tpc-single__content { font-size: 1.1rem; line-height: 1.7; color: var(--tpc-ink); }
.tpc-single__content > p:first-of-type { font-size: 1.2rem; color: #333d4a; }
.tpc-single__content p { margin-bottom: 1.2rem; }
.tpc-single__content h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; letter-spacing: -.01em; }
.tpc-single__content h3 { font-size: 1.15rem; margin: 1.75rem 0 .7rem; }
.tpc-single__content ul, .tpc-single__content ol { margin: 0 0 1.2rem 1.3rem; padding: 0; list-style: revert; }
.tpc-single__content li { margin-bottom: .4rem; }
.tpc-single__content a { color: var(--tpc-primary); text-decoration: underline; text-underline-offset: .15em; }
.tpc-single__content strong { color: var(--tpc-ink); }
.tpc-single__content blockquote {
  margin: 1.5rem 0;
  padding: .2rem 1.25rem;
  border-left: 4px solid var(--tpc-accent);
  color: var(--tpc-ink-soft);
  font-size: 1.15rem;
  font-style: italic;
}
.tpc-single__content img {
  border-radius: var(--tpc-radius-sm);
  margin: .3rem 0;
}
.tpc-single__content figure { margin: 1.5rem 0; }
.tpc-single__content figcaption { font-size: .85rem; color: var(--tpc-ink-soft); margin-top: .4rem; text-align: center; }
.tpc-single__content hr { border: 0; border-top: 1px solid var(--tpc-border); margin: 2rem 0; }
.tpc-single__content table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.tpc-single__content iframe, .tpc-single__content embed, .tpc-single__content video { max-width: 100%; }
.tpc-single__content .wp-block-embed__wrapper { position: relative; max-width: 100%; overflow-x: auto; }

.tpc-single__cta { margin: 1.75rem 0; }
.tpc-single__cta--in-article { margin: 1.25rem 0 1.75rem; }

/* ---------------------------------------------------------------------
 * CTA generic articol (Jucatorul Etapei / TipBook / Premium / retentie)
 * Un singur stil de bloc, cu accent de culoare pe tip -- gandit sa nu arate
 * ca banner agresiv: bordura stanga colorata + fundal deschis, niciodata
 * fundal plin/intruziv. Mobile-first: pe ecran ingust ocupa toata latimea,
 * de la ~480px devine un rand compact text + sageata.
 * ------------------------------------------------------------------- */
.tpc-cta-block {
  border: 1px solid var(--tpc-border);
  border-left: 4px solid var(--tpc-ink-soft);
  border-radius: var(--tpc-radius);
  background: var(--tpc-surface);
}
.tpc-cta-block__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1.1rem;
  text-decoration: none;
  color: var(--tpc-ink);
  font-weight: 700;
}
.tpc-cta-block__arrow {
  flex-shrink: 0;
  opacity: .6;
  transition: transform .15s ease;
}
.tpc-cta-block__link:hover .tpc-cta-block__arrow { transform: translateX(3px); opacity: 1; }

.tpc-cta-block--jucatorul_etapei { border-left-color: var(--tpc-accent); }
.tpc-cta-block--jucatorul_etapei .tpc-cta-block__link { color: #8a5a00; }

.tpc-cta-block--tipbook { border-left-color: var(--tpc-primary); }
.tpc-cta-block--tipbook .tpc-cta-block__link { color: var(--tpc-primary-dark); }

.tpc-cta-block--premium { border-left-color: var(--tpc-premium); background: #faf7fd; }
.tpc-cta-block--premium .tpc-cta-block__link { color: var(--tpc-premium); }

.tpc-cta-block--generic { border-left-color: var(--tpc-ink-soft); }

/* ---------------------------------------------------------------------
 * Club (pagina generica)
 * ------------------------------------------------------------------- */
.tpc-club { max-width: 760px; padding: 2rem 1rem; }
.tpc-club__header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.tpc-club__logo { width: 84px; height: 84px; border-radius: var(--tpc-radius-sm); overflow: hidden; flex-shrink: 0; }
.tpc-club__logo img { width: 100%; height: 100%; object-fit: cover; }
.tpc-club__logo--glyph {
  display: flex; align-items: center; justify-content: center;
  background: var(--tpc-primary); color: #fff;
}
.tpc-club__logo--glyph .tpc-ball-icon { width: 44px; height: 44px; }
.tpc-club__chain { font-size: .8rem; color: var(--tpc-ink-soft); margin: 0; }
.tpc-club__city { color: var(--tpc-ink-soft); margin: .2rem 0 0; }
.tpc-club__links { display: flex; gap: 1rem; margin: 1rem 0; flex-wrap: wrap; }
.tpc-club__links a { font-weight: 700; text-decoration: underline; }
.tpc-club__cta { margin-top: 1.5rem; }

.tpc-club-list li { padding: .5rem 0; border-bottom: 1px solid var(--tpc-border); }
.tpc-club-list a { font-weight: 700; text-decoration: none; }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */
.site-footer {
  margin-top: 2.5rem;
  padding: 1.1rem 0;
  background: var(--tpc-navy);
  color: #8f9bab;
  font-size: .8rem;
}
.site-footer p { margin: 0; }
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
}
.site-footer__nav {
  display: flex;
  gap: .5rem 1rem;
  flex-wrap: wrap;
}
.site-footer__nav a {
  color: #dfe6ee;
  font-weight: 600;
  text-decoration: none;
}
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------------
 * Cover 3plus -- vizual editorial propriu pentru articolele FARA featured
 * image (template-parts/cover.php). Fundal SVG generat local (inc/cover-svg.php)
 * + text HTML real suprapus. Trei variante: compact (card grid), large (card
 * hero homepage), hero (header articol single).
 *
 * Mutat aici din assets/css/cover.css (fisier separat, enqueued distinct) --
 * pe staging cPanel, folderul assets/ are permisiuni 0644 si nu se poate
 * crea subfolderul assets/css prin File Manager. Inline in style.css (deja
 * incarcat, deja scriabil) elimina complet nevoia acelui folder nou, fara sa
 * atinga vreo permisiune. Zero schimbare vizuala fata de varianta separata.
 * ------------------------------------------------------------------- */
.tpc-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  color: #fff;
  height: 112px;
}
.tpc-cover__bg {
  position: absolute;
  inset: 0;
}
.tpc-cover__bg svg {
  display: block;
  width: 100%;
  height: 100%;
}
.tpc-cover__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: .7rem .85rem;
}

.tpc-cover__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.tpc-cover__brand {
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.02em;
  opacity: .92;
}
.tpc-cover__brand span { color: var(--tpc-accent); }
.tpc-cover__top .tpc-badge {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.tpc-cover__bottom { margin-top: auto; }
.tpc-cover__type {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  background: rgba(0, 0, 0, .22);
  padding: .2rem .55rem;
  border-radius: 999px;
}
.tpc-cover__type svg { width: 13px; height: 13px; flex-shrink: 0; }

.tpc-cover__match {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-weight: 800;
  margin-top: .5rem;
  line-height: 1.15;
}
.tpc-cover__team { max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpc-cover__vs { opacity: .6; font-size: .7em; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.tpc-cover__caption { font-size: .78rem; opacity: .78; margin-top: .2rem; }

/* Card in grid -- inaltime compacta, doar brand + badge + tip (fara meci,
   ca sa ramana uniforma cu celelalte carduri din grid). */
.tpc-cover--compact { height: 112px; }
.tpc-cover--compact .tpc-cover__match,
.tpc-cover--compact .tpc-cover__caption { display: none; }

/* Card hero homepage (fara imagine) -- mai inalt, poate afisa "Club A vs Club B". */
.tpc-cover--large {
  height: 208px;
}
.tpc-cover--large .tpc-cover__content { padding: 1rem 1.15rem; }
.tpc-cover--large .tpc-cover__brand { font-size: 1.05rem; }
.tpc-cover--large .tpc-cover__match { font-size: 1.3rem; }

/* Hero articol single -- banda vizuala completa deasupra continutului. */
.tpc-cover--hero {
  height: 240px;
  border-radius: var(--tpc-radius);
  margin: 1rem 0;
}
.tpc-cover--hero .tpc-cover__content { padding: 1.4rem 1.6rem; }
.tpc-cover--hero .tpc-cover__brand { font-size: 1.15rem; }
.tpc-cover--hero .tpc-cover__match { font-size: 1.9rem; margin-top: .75rem; }
.tpc-cover--hero .tpc-cover__caption { font-size: .85rem; }

@media (min-width: 620px) {
  .tpc-cover--hero { height: 300px; }
}
