/* =========================================================
   AD Ovarense – CSS Custom Pack (v3)
   =========================================================
   1) Plantel – fotos maiores
   2) Ficha do Jogador – foto maior
   3) Hífen entre equipas (Slim/Small) – centrado e “inteligente”
   4) Espaçamento entre logos e nomes (Slim/Small)
   5) Remover datas em TODAS as páginas do AnWP + variantes Nicepage
   6) Dar respiro (15px) no topo das páginas do AnWP (título não fica colado)
   ========================================================= */


/* ---------------------------------------------------------
   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;   /* 200/220/240 – ajusta se quiseres */
  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 ENTRE EQUIPAS (SLIM/SMALL) – centrado & só sem placar
   --------------------------------------------------------- */
.match-slim .match-slim__scores-wrapper,
.match-small .match-small__scores-wrapper {
  position: relative;
  min-width: 38px;
  text-align: center;
}
.match-slim .match-slim__scores-wrapper::before,
.match-small .match-small__scores-wrapper::before {
  content: "–";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .6;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}
/* esconder hífen quando há placar */
.match-slim  .match-slim__scores-wrapper:has(.match-slim__scores-number-status-1)::before,
.match-small .match-small__scores-wrapper:has(.match-small__scores-number-status-1)::before { content: none; }
/* fallback (caso não exista a classe de estado) */
.match-slim  .match-slim__scores-wrapper:has(.match-slim__scores-number:not([style*="visibility:hidden"]))::before,
.match-small .match-small__scores-wrapper:has(.match-small__scores-number:not([style*="visibility:hidden"]))::before { content: none; }


/* ---------------------------------------------------------
   4) Espaçamento entre logos e nomes (Slim / Small)
   --------------------------------------------------------- */
.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; }


/* ---------------------------------------------------------
   5) REMOVER DATAS – todas as páginas do AnWP + Nicepage
   --------------------------------------------------------- */
/* WP padrão */
.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;
}
/* Nicepage – metadados */
.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,
.single-anwp_match .u-post-details .u-metadata,
.single-anwp_club .u-post-details .u-metadata,
.single-anwp_player .u-post-details .u-metadata,
.single-anwp_competition .u-post-details .u-metadata,
.single-anwp_stadium .u-post-details .u-metadata,
.single-anwp_referee .u-post-details .u-metadata,
.single-anwp_staff .u-post-details .u-metadata,
.single-anwp_season .u-post-details .u-metadata,
.single-anwp_match .u-blog-control .u-metadata,
.single-anwp_club .u-blog-control .u-metadata,
.single-anwp_player .u-blog-control .u-metadata,
.single-anwp_competition .u-blog-control .u-metadata,
.single-anwp_stadium .u-blog-control .u-metadata,
.single-anwp_referee .u-blog-control .u-metadata,
.single-anwp_staff .u-blog-control .u-metadata,
.single-anwp_season .u-blog-control .u-metadata {
  display: none !important;
}


/* ---------------------------------------------------------
   6) “Respiro” no topo (15px) – título não fica por baixo do menu
   Aplica a TODAS as páginas do AnWP (match/club/player/stadium/…)
   --------------------------------------------------------- */
/* títulos */
.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,
.single-anwp_match .u-blog-title,
.single-anwp_club .u-blog-title,
.single-anwp_player .u-blog-title,
.single-anwp_stadium .u-blog-title,
.single-anwp_competition .u-blog-title,
.single-anwp_referee .u-blog-title,
.single-anwp_staff .u-blog-title,
.single-anwp_season .u-blog-title,
.single-anwp_match .u-post-details .u-text,
.single-anwp_club .u-post-details .u-text,
.single-anwp_player .u-post-details .u-text,
.single-anwp_stadium .u-post-details .u-text,
.single-anwp_competition .u-post-details .u-text,
.single-anwp_referee .u-post-details .u-text,
.single-anwp_staff .u-post-details .u-text,
.single-anwp_season .u-post-details .u-text {
  margin-top: 15px !important;
}

/* primeira secção/bloco da página */
.single-anwp_match .u-section-1,       .single-anwp_match .u-sheet-1,       .single-anwp_match .entry-header,
.single-anwp_club .u-section-1,        .single-anwp_club .u-sheet-1,        .single-anwp_club .entry-header,
.single-anwp_player .u-section-1,      .single-anwp_player .u-sheet-1,      .single-anwp_player .entry-header,
.single-anwp_stadium .u-section-1,     .single-anwp_stadium .u-sheet-1,     .single-anwp_stadium .entry-header,
.single-anwp_competition .u-section-1, .single-anwp_competition .u-sheet-1, .single-anwp_competition .entry-header,
.single-anwp_referee .u-section-1,     .single-anwp_referee .u-sheet-1,     .single-anwp_referee .entry-header,
.single-anwp_staff .u-section-1,       .single-anwp_staff .u-sheet-1,       .single-anwp_staff .entry-header,
.single-anwp_season .u-section-1,      .single-anwp_season .u-sheet-1,      .single-anwp_season .entry-header {
  padding-top: 15px !important;
}

/* se a meta (data) existia antes do título, garante espaçamento do próximo elemento */
.single-anwp_match .u-post-details .u-metadata + *,
.single-anwp_club .u-post-details .u-metadata + *,
.single-anwp_player .u-post-details .u-metadata + *,
.single-anwp_stadium .u-post-details .u-metadata + *,
.single-anwp_competition .u-post-details .u-metadata + *,
.single-anwp_referee .u-post-details .u-metadata + *,
.single-anwp_staff .u-post-details .u-metadata + *,
.single-anwp_season .u-post-details .u-metadata + * {
  margin-top: 15px !important;
}

.grecaptcha-badge { 
    visibility: hidden; 
}
/* ===============================
   TIPOGRAFIA GLOBAL — artigos/páginas
   (WordPress + AnWP)
   =============================== */
:root{
  --ado-line: 1.8;   /* altura de linha global */
  --ado-gap : 16px;  /* espaço entre parágrafos/blocos */
}

/* parágrafos e listas */
.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;   /* espaço entre parágrafos */
}

/* listas com recuo e espaço inferior */
.entry-content ul,
.entry-content ol {
  margin: 0 0 var(--ado-gap) 1.2em !important;
}

/* títulos com respiração */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.3;
  margin: 24px 0 12px !important;
}

/* citações mais legíveis */
.entry-content blockquote {
  margin: 20px 0 !important;
  padding-left: 16px;
  border-left: 3px solid #e5e5e5;
}

/* espaçamento em figuras/embeds/vídeos */
.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;
}

/* (opcional) tamanho base do texto dos artigos */
.entry-content {
  font-size: 16px; /* ajusta para 15/17 se preferires */
}