/* ===========================================================
   FVDF - Seções redesenhadas da Home (2026-08-03)
   Baseado no protótipo fvdf-site-redesign, adaptado para as cores
   oficiais da marca (navy #21266E, verde #2A9540, dourado #E7D303).
   Substitui visualmente a seção "Vôlei de Quadra / Últimas Notícias /
   Vôlei de Praia" nativa do tema (ver fvdf-home-redesign.js), sem
   alterar o conteúdo real (os posts continuam vindo do WordPress).
   =========================================================== */

.fvdf-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin: 40px 0 24px;
  flex-wrap: wrap;
}
.fvdf-section-head h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: #21266E;
  margin: 0;
}
.fvdf-section-head a {
  font-weight: 700;
  font-size: 14px;
  color: #21266E;
}
.fvdf-section-head a:hover {
  color: #b39a00;
}

.fvdf-news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-auto-flow: dense;
  gap: 24px;
  margin-bottom: 56px;
}

.fvdf-news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(19, 30, 63, 0.08);
  box-shadow: 0 8px 24px rgba(19, 30, 63, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.fvdf-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(19, 30, 63, 0.14);
}
.fvdf-news-card.is-featured {
  grid-row: span 2;
}

.fvdf-news-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: 50% 50%;
  flex-shrink: 0;
}
.fvdf-news-card.is-featured .fvdf-news-thumb {
  aspect-ratio: 16/12;
}
.fvdf-news-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #21266E;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E7D303;
}

.fvdf-news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.fvdf-news-date {
  font-size: 12.5px;
  color: #6B7280;
  font-weight: 600;
}
.fvdf-news-card h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #21266E;
  margin: 0;
}
.fvdf-news-card.is-featured h3 {
  font-size: 21px;
}
.fvdf-news-card a.fvdf-news-link-wrap {
  display: block;
  color: inherit;
  text-decoration: none;
}
.fvdf-news-card a.fvdf-news-link-wrap:hover h3 {
  color: #b39a00;
}
.fvdf-read-more {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: #21266E;
}

/* ---------- Atalhos de competições ---------- */
.fvdf-comp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.fvdf-comp-card {
  background: #F7F8FA;
  border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid rgba(19, 30, 63, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
  color: inherit;
  text-decoration: none;
}
.fvdf-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 30, 63, 0.1);
}
.fvdf-comp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #21266E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E7D303;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.fvdf-comp-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #21266E;
  margin: 0 0 6px;
}
.fvdf-comp-card p {
  font-size: 13.5px;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Faixa de transparência (CTA) ---------- */
.fvdf-cta-band {
  background: linear-gradient(120deg, #21266E 0%, #14173F 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 44px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.fvdf-cta-band h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  max-width: 480px;
  margin: 0 0 8px;
}
.fvdf-cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  max-width: 460px;
  margin: 0;
}
.fvdf-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.fvdf-cta-actions a {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.fvdf-cta-actions a.is-primary {
  background: #E7D303;
  color: #21266E;
}
.fvdf-cta-actions a.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(231, 211, 3, 0.35);
}
.fvdf-cta-actions a.is-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.fvdf-cta-actions a.is-outline:hover {
  border-color: #ffffff;
}

@media (max-width: 900px) {
  .fvdf-news-grid { grid-template-columns: 1fr 1fr; }
  .fvdf-news-card.is-featured { grid-column: span 2; grid-row: auto; }
  .fvdf-comp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .fvdf-news-grid { grid-template-columns: 1fr; }
  .fvdf-news-card.is-featured { grid-column: span 1; }
  .fvdf-comp-grid { grid-template-columns: 1fr; }
  .fvdf-cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
}
