/* =========================================================
   AD Ovarense – CSS Custom Pack (v3.1 FINAL)
   =========================================================
   1) Plantel – fotos maiores
   2) Ficha do Jogador – foto maior
   3) Hífen e placares – ajustado (versão Slim/Small)
   4) Espaçamento entre logos e nomes
   5) Remover datas AnWP + Nicepage
   6) Respiro no topo das páginas
   7) Tipografia global + ajustes
   8) Caixas finas uniformes do placar
   ========================================================= */


/* ---------------------------------------------------------
   1) PLANTEL (SQUAD) – fotos maiores
   --------------------------------------------------------- */
.squad-blocks__photo img {
  width: 150px !important;
  height: auto !important;
}
.squad-blocks__photo { max-width: 150px !important; }
img.squad-blocks__photo.anwp-object-contain {
  width: 150px !important;
  height: auto !important;
}


/* ---------------------------------------------------------
   2) FICHA DO JOGADOR – foto maior
   --------------------------------------------------------- */
img.player-header__photo {
  width: 220px !important;
  height: auto !important;
}
img.player-header__photo.anwp-w-120 { width: 220px !important; }
img.player-header__photo.anwp-h-120 { height: auto !important; }
.player-header__photo-wrapper,
.anwpfl-player__photo { max-width: 240px !important; }


/* ---------------------------------------------------------
   3) HÍFEN E RESULTADOS (SLIM/SMALL)
   --------------------------------------------------------- */
/* Desativar hífen automático antigo */
.match-slim .match-slim__scores-wrapper::before,
.match-small .match-small__scores-wrapper::before { content: none !important; }

/* Espaçamento entre logos e nomes */
.match-slim  .match-slim__team-home-logo { margin-right: .5rem !important; }
.match-slim  .match-slim__team-away-logo { margin-left:  .5rem !important; }
.match-small .match-small__team-home-logo { margin-right: .5rem !important; }
.match-small .match-small__team-away-logo { margin-left:  .5rem !important; }


/* ---------------------------------------------------------
   4) REMOVER DATAS – todas as páginas do AnWP + Nicepage
   --------------------------------------------------------- */
.single-anwp_match .entry-meta,
.single-anwp_match .posted-on,
.single-anwp_match .entry-date,
.single-anwp_club .entry-meta,
.single-anwp_club .posted-on,
.single-anwp_club .entry-date,
.single-anwp_player .entry-meta,
.single-anwp_player .posted-on,
.single-anwp_player .entry-date,
.single-anwp_competition .entry-meta,
.single-anwp_competition .posted-on,
.single-anwp_competition .entry-date,
.single-anwp_stadium .entry-meta,
.single-anwp_stadium .posted-on,
.single-anwp_stadium .entry-date,
.single-anwp_referee .entry-meta,
.single-anwp_referee .posted-on,
.single-anwp_referee .entry-date,
.single-anwp_staff .entry-meta,
.single-anwp_staff .posted-on,
.single-anwp_staff .entry-date,
.single-anwp_season .entry-meta,
.single-anwp_season .posted-on,
.single-anwp_season .entry-date {
  display: none !important;
}
.single-anwp_match .u-metadata,
.single-anwp_club .u-metadata,
.single-anwp_player .u-metadata,
.single-anwp_competition .u-metadata,
.single-anwp_stadium .u-metadata,
.single-anwp_referee .u-metadata,
.single-anwp_staff .u-metadata,
.single-anwp_season .u-metadata,
.single-anwp_match .u-meta-date,
.single-anwp_club .u-meta-date,
.single-anwp_player .u-meta-date,
.single-anwp_competition .u-meta-date,
.single-anwp_stadium .u-meta-date,
.single-anwp_referee .u-meta-date,
.single-anwp_staff .u-meta-date,
.single-anwp_season .u-meta-date {
  display: none !important;
}


/* ---------------------------------------------------------
   5) “Respiro” no topo
   --------------------------------------------------------- */
.single-anwp_match .entry-title,
.single-anwp_club .entry-title,
.single-anwp_player .entry-title,
.single-anwp_stadium .entry-title,
.single-anwp_competition .entry-title,
.single-anwp_referee .entry-title,
.single-anwp_staff .entry-title,
.single-anwp_season .entry-title {
  margin-top: 15px !important;
}
.single-anwp_match .u-section-1,
.single-anwp_club .u-section-1,
.single-anwp_player .u-section-1,
.single-anwp_stadium .u-section-1,
.single-anwp_competition .u-section-1,
.single-anwp_referee .u-section-1,
.single-anwp_staff .u-section-1,
.single-anwp_season .u-section-1 {
  padding-top: 15px !important;
}


/* ---------------------------------------------------------
   6) TIPOGRAFIA GLOBAL
   --------------------------------------------------------- */
:root{
  --ado-line: 1.8;
  --ado-gap : 16px;
}
.entry-content p,
.entry-content ul li,
.entry-content ol li {
  line-height: var(--ado-line) !important;
}
.entry-content p {
  margin: 0 0 var(--ado-gap) !important;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 var(--ado-gap) 1.2em !important;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.3;
  margin: 24px 0 12px !important;
}
.entry-content blockquote {
  margin: 20px 0 !important;
  padding-left: 16px;
  border-left: 3px solid #e5e5e5;
}
.entry-content figure,
.entry-content .wp-block-embed,
.entry-content iframe,
.entry-content .wp-video,
.entry-content .wp-block-video {
  margin: 18px auto !important;
  display: block;
}


/* ---------------------------------------------------------
   7) AJUSTE LOGOTIPOS EQUIPAS
   --------------------------------------------------------- */
.anwp-w-45,
.match-card__club-logo img {
    width: 35px !important;
    height: auto !important;
}


/* ---------------------------------------------------------
   8) CAIXAS FINAS UNIFORMES DO PLACAR
   --------------------------------------------------------- */

/* Reset do tema */
.match-slim .match-slim__scores-number {
  border: none !important;
  background: transparent !important;
  padding: 0 .25rem !important;
  min-width: auto !important;
  box-shadow: none !important;
}

/* Caixas finas visuais */
.match-slim .match-slim__scores-number {
  display: inline-block;
  min-width: 22px;
  text-align: center;
  border: 1px solid rgba(0,0,0,.35) !important;
  border-radius: 3px;
  padding: 0 6px;
  line-height: 22px;
  font-weight: 600;
  background: transparent !important;
}

/* Separação entre os dois quadrados */
.match-slim .match-slim__scores-number + .match-slim__scores-number {
  margin-left: 4px;
}

/* Jogos por realizar — mostrar hífen */
.match-slim .game-status-0 .match-slim__scores-number::before {
  content: "–";
  opacity: 0.7;
  font-weight: 600;
}
.match-slim .game-status-0 .match-slim__scores-number {
  color: transparent !important;
}

/* Jogos realizados sem golos — caixas vazias */
.match-slim .game-status-1 .match-slim__scores-number:empty::before {
  content: "";
}

/* Garantir que números reais aparecem */
.match-slim .match-slim__scores-number:not(:empty) {
  color: #000 !important;
}
/* ===== Match Last – caixas finas uniformes ===== */
.match-last .match-last__scores-number{
  display:inline-block;
  min-width:22px;
  text-align:center;
  border:1px solid rgba(0,0,0,.35);
  border-radius:3px;
  padding:0 6px;
  line-height:22px;
  font-weight:600;
  background:transparent;
}
.match-last .match-last__scores-number + .match-last__scores-number{ margin-left:4px; }

/* Por realizar: mostrar hífen nas caixas */
.match-last.game-status-0 .match-last__scores-number{
  color:transparent;
}
.match-last.game-status-0 .match-last__scores-number::before{
  content:"–";
  opacity:.75;
  font-weight:600;
}

/* Realizado sem resultado: caixas vazias */
.match-last.game-status-1 .match-last__scores-number:empty::before{ content:""; }

/* Realizado com resultado: garantir cor do número */
.match-last .match-last__scores-number:not(:empty){ color:#000; }
/* ===== Match Last – caixas finas uniformes ===== */
.match-last .match-last__scores-number{
  display:inline-block;
  min-width:22px;
  text-align:center;
  border:1px solid rgba(0,0,0,.35);
  border-radius:3px;
  padding:0 6px;
  line-height:22px;
  font-weight:600;
  background:transparent;
}
.match-last .match-last__scores-number + .match-last__scores-number{ margin-left:4px; }

/* Por realizar: mostrar hífen nas caixas */
.match-last.game-status-0 .match-last__scores-number{
  color:transparent;
  position:relative;
}
.match-last.game-status-0 .match-last__scores-number::before{
  content:"–";
  position:absolute; left:50%; transform:translateX(-50%);
  opacity:.75; font-weight:600;
}

/* Realizado sem resultado: caixas vazias (sem “0”) */
.match-last.game-status-1 .match-last__scores-number:empty::before{ content:""; }

/* Realizado com resultado: garantir cor */
.match-last .match-last__scores-number:not(:empty){ color:#000; }

/* Caixas finas no bloco 'Último Jogo' (match-last) */
.match-last .anwp-fl-game__scores-home,
.match-last .anwp-fl-game__scores-away{
  display:inline-block;
  min-width:22px;
  text-align:center;
  border:1px solid rgba(0,0,0,.35);
  border-radius:3px;
  padding:0 6px;
  line-height:22px;
  font-weight:600;
  background:transparent;
}
.match-last .anwp-fl-game__scores-away{ margin-left:4px; }

/* Por realizar → mostrar hífen em vez do número */
.match-last.game-status-0 .anwp-fl-game__scores-home,
.match-last.game-status-0 .anwp-fl-game__scores-away{
  color:transparent; position:relative;
}
.match-last.game-status-0 .anwp-fl-game__scores-home::before,
.match-last.game-status-0 .anwp-fl-game__scores-away::before{
  content:"–"; opacity:.75; font-weight:600; position:absolute; left:50%; transform:translateX(-50%);
}