/* ============================================================
   Football Direct Zone — Frontend Styles v2.0 (TMW-like)
   ============================================================ */

/* ── RESET / BASE ──────────────────────────────────────────── */
.fdz-page-wrap *,
.fdz-page-wrap *::before,
.fdz-page-wrap *::after { box-sizing: border-box; }

:root {
  --fdz-bg:        #f2f4f7;
  --fdz-white:     #ffffff;
  --fdz-border:    #e0e4ea;
  --fdz-text:      #1a1d23;
  --fdz-muted:     #6b7280;
  --fdz-primary:   #0f1923;
  --fdz-accent:    #1a56db;
  --fdz-live:      #dc2626;
  --fdz-live-bg:   #fef2f2;
  --fdz-ended:     #6b7280;
  --fdz-radius:    8px;
  --fdz-shadow:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --fdz-shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

/* ── PAGE LAYOUT ───────────────────────────────────────────── */
.fdz-page-wrap {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--fdz-text);
}

.fdz-content-area {
  flex: 1;
  min-width: 0;
}

.fdz-full-width {
  width: 100%;
}

.fdz-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* ── LEAGUE NAV ────────────────────────────────────────────── */
.fdz-league-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  padding: 8px;
  margin-bottom: 12px;
  box-shadow: var(--fdz-shadow);
}

.fdz-ln-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--fdz-muted);
  transition: all .15s;
  white-space: nowrap;
}

.fdz-ln-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.fdz-ln-btn:hover {
  background: var(--fdz-bg);
  color: var(--fdz-text);
}

.fdz-ln-btn.active {
  background: var(--fdz-primary);
  color: #fff;
}

.fdz-ln-btn.active img {
  background: rgba(255,255,255,0.9);
  border-radius: 3px;
  padding: 2px;
}

/* ── DATE NAVIGATION ───────────────────────────────────────── */
.fdz-date-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  padding: 8px;
  margin-bottom: 12px;
  box-shadow: var(--fdz-shadow);
  scrollbar-width: none;
}

.fdz-date-nav::-webkit-scrollbar { display: none; }

.fdz-dn-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--fdz-muted);
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}

.fdz-dn-btn:hover { background: var(--fdz-bg); color: var(--fdz-text); }
.fdz-dn-btn.active {
  background: var(--fdz-accent);
  color: #fff;
  font-weight: 600;
}

/* ── LEAGUE BLOCK ──────────────────────────────────────────── */
.fdz-league-block {
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  margin-bottom: 12px;
  box-shadow: var(--fdz-shadow);
  overflow: hidden;
}

.fdz-lb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--fdz-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.fdz-lb-header img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 3px;
  padding: 2px;
}

.fdz-lb-round {
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.65);
}

.fdz-lb-matches { padding: 4px 0; }

/* ── MATCH ROW ─────────────────────────────────────────────── */
.fdz-match-row {
  display: grid;
  grid-template-columns: 56px 1fr 80px 1fr;
  align-items: center;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--fdz-text);
  border-bottom: 1px solid var(--fdz-border);
  transition: background .1s;
}

.fdz-match-row:last-child { border-bottom: none; }
.fdz-match-row:hover { background: #f8fafc; }

.fdz-match-row.is-live {
  background: var(--fdz-live-bg);
  border-left: 3px solid var(--fdz-live);
}

.fdz-match-row.is-live:hover { background: #fee2e2; }

/* Status */
.fdz-mr-status {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fdz-mr-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--fdz-muted);
}

/* Badges */
.fdz-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.fdz-live {
  background: var(--fdz-live);
  color: #fff;
  animation: fdz-pulse 1.5s ease-in-out infinite;
}

.fdz-ht {
  background: #f59e0b;
  color: #fff;
}

.fdz-ft {
  background: var(--fdz-muted);
  color: #fff;
}

@keyframes fdz-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .7; }
}

/* Teams */
.fdz-mr-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fdz-mr-home { justify-content: flex-end; flex-direction: row-reverse; }
.fdz-mr-away { justify-content: flex-start; }

.fdz-mr-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdz-mr-logo img,
.fdz-logo-ph {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.fdz-logo-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--fdz-border);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: var(--fdz-muted);
}

/* Score */
.fdz-mr-score {
  text-align: center;
  padding: 0 8px;
}

.fdz-mr-score-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--fdz-text);
  letter-spacing: 1px;
}

.fdz-mr-score-dash {
  font-size: 12px;
  color: var(--fdz-muted);
  font-weight: 400;
}

/* ── TAB PANELS ────────────────────────────────────────────── */
.fdz-tab-panel { display: none; }
.fdz-tab-panel.active { display: block; }

/* ── ROUND GROUP (fixtures) ────────────────────────────────── */
.fdz-round-group {
  margin-bottom: 20px;
}

.fdz-rg-header {
  font-size: 13px;
  font-weight: 700;
  color: var(--fdz-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 0 6px;
  border-bottom: 2px solid var(--fdz-accent);
  margin-bottom: 8px;
}

.fdz-date-subheader {
  font-size: 12px;
  font-weight: 600;
  color: var(--fdz-muted);
  padding: 6px 14px;
  background: var(--fdz-bg);
  border-left: 3px solid transparent;
}

.fdz-date-subheader.today {
  border-left-color: var(--fdz-accent);
  color: var(--fdz-accent);
}

/* ── STANDINGS TABLE ───────────────────────────────────────── */
.fdz-standings-wrap {
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  box-shadow: var(--fdz-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.fdz-standings-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--fdz-primary);
  color: #fff;
}

.fdz-standings-title img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  padding: 3px;
}

.fdz-standings-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.fdz-standings-title h2 span {
  font-weight: 400;
  opacity: .7;
  font-size: 14px;
}

.fdz-standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fdz-standings-table thead th {
  padding: 8px 10px;
  background: #f8fafc;
  font-weight: 600;
  text-align: center;
  color: var(--fdz-muted);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fdz-border);
}

.fdz-standings-table .fdz-st-team { text-align: left; }
.fdz-standings-table .fdz-st-pos  { width: 32px; }

.fdz-standings-table tbody tr {
  border-bottom: 1px solid var(--fdz-border);
  transition: background .1s;
}

.fdz-standings-table tbody tr:hover { background: #f8fafc; }
.fdz-standings-table tbody tr:last-child { border-bottom: none; }

.fdz-standings-table td {
  padding: 8px 10px;
  text-align: center;
}

.fdz-st-pos {
  font-weight: 700;
  color: var(--fdz-muted);
  font-size: 12px;
}

.fdz-st-team {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.fdz-st-team img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.fdz-st-pts {
  font-weight: 700;
  color: var(--fdz-text);
}

.fdz-dr-pos { color: #16a34a; }
.fdz-dr-neg { color: var(--fdz-live); }

/* Zone highlight */
.fdz-zone-cl { border-left: 3px solid #2563eb; }
.fdz-zone-el { border-left: 3px solid #f59e0b; }
.fdz-zone-rel { border-left: 3px solid #ef4444; }

.fdz-standings-legend {
  padding: 10px 16px;
  font-size: 11px;
  color: var(--fdz-muted);
  background: #f8fafc;
  border-top: 1px solid var(--fdz-border);
}

/* Form dots */
.fdz-form-row { display: flex; gap: 3px; justify-content: center; }
.fdz-form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}
.fdz-form-dot.win  { background: #16a34a; }
.fdz-form-dot.draw { background: #f59e0b; }
.fdz-form-dot.loss { background: #ef4444; }

/* ── STANDINGS WIDGET (sidebar) ────────────────────────────── */
.fdz-standings-widget {
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  box-shadow: var(--fdz-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.fdz-lw-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--fdz-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.fdz-lw-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 3px;
  padding: 2px;
}

.fdz-lw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.fdz-lw-table thead th {
  padding: 5px 8px;
  text-align: center;
  background: #f8fafc;
  font-size: 10px;
  color: var(--fdz-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--fdz-border);
}

.fdz-lw-table tbody tr {
  border-bottom: 1px solid var(--fdz-border);
}

.fdz-lw-table tbody tr:last-child { border-bottom: none; }
.fdz-lw-table td { padding: 5px 8px; text-align: center; }

.fdz-lw-pos { font-weight: 700; font-size: 11px; color: var(--fdz-muted); width: 20px; }
.fdz-lw-pts { font-weight: 700; }

.fdz-lw-name {
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.fdz-lw-name img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  margin-right: 5px;
  vertical-align: middle;
}

.fdz-lw-hi {
  background: #eff6ff;
  font-weight: 600;
}

.fdz-lw-more {
  display: block;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--fdz-accent);
  text-decoration: none;
  border-top: 1px solid var(--fdz-border);
  background: #f8fafc;
}

.fdz-lw-more:hover { background: var(--fdz-border); }

/* ── SIDEBAR WIDGET ────────────────────────────────────────── */
.fdz-sidebar-widget {
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  box-shadow: var(--fdz-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.fdz-sw-title {
  padding: 10px 14px;
  background: var(--fdz-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.fdz-sidebar-widget .fdz-match-row {
  grid-template-columns: 48px 1fr 64px 1fr;
  padding: 6px 10px;
  font-size: 12px;
}

.fdz-sidebar-widget .fdz-mr-score-val { font-size: 13px; }
.fdz-sidebar-spacer { height: 16px; }

/* ── HERO SCOREBOARD ───────────────────────────────────────── */
.fdz-hero-wrap {
  background: var(--fdz-primary);
  border-radius: var(--fdz-radius);
  padding: 20px;
  margin-bottom: 16px;
  color: #fff;
  box-shadow: var(--fdz-shadow-md);
}

.fdz-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}

.fdz-hero-breadcrumb img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  border-radius: 3px;
  padding: 2px;
}

.fdz-hero-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.fdz-hero-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fdz-hero-home { text-align: right; align-items: flex-end; }
.fdz-hero-away { text-align: left;  align-items: flex-start; }

.fdz-hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.fdz-hero-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.fdz-hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fdz-hero-score {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fdz-hs-home, .fdz-hs-away {
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.fdz-hs-sep {
  font-size: 36px;
  color: rgba(255,255,255,.4);
  font-weight: 300;
}

.fdz-hero-ht {
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

.fdz-hero-datetime {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fdz-hero-time {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.fdz-hero-date {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}

.fdz-hero-venue {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* ── DETAIL SECTIONS ───────────────────────────────────────── */
.fdz-detail-section {
  background: var(--fdz-white);
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  box-shadow: var(--fdz-shadow);
  overflow: hidden;
  margin-bottom: 16px;
}

.fdz-section-title {
  margin: 0;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--fdz-border);
  background: #f8fafc;
  color: var(--fdz-text);
}

/* Goal scorers */
.fdz-goal-scorers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--fdz-border);
  border-bottom: 1px solid var(--fdz-border);
}

.fdz-gs-home, .fdz-gs-away {
  background: var(--fdz-white);
  padding: 8px 14px;
}

.fdz-gs-away { text-align: right; }

.fdz-gs-item {
  font-size: 12px;
  color: var(--fdz-muted);
  padding: 2px 0;
}

.fdz-gs-item em {
  font-style: normal;
  font-weight: 600;
  color: var(--fdz-text);
}

/* Timeline */
.fdz-timeline {
  padding: 8px 0;
}

.fdz-tl-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  padding: 6px 14px;
  border-bottom: 1px solid var(--fdz-border);
  font-size: 13px;
}

.fdz-tl-row:last-child { border-bottom: none; }
.fdz-tl-row.ev-goal { background: #f0fdf4; }
.fdz-tl-row.ev-red  { background: #fef2f2; }

.fdz-tl-min {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
}

.fdz-tl-min span { font-size: 16px; }
.fdz-tl-min em   { font-style: normal; font-weight: 700; color: var(--fdz-muted); }

.fdz-tl-home-content { text-align: right; padding-right: 8px; }
.fdz-tl-away-content { text-align: left;  padding-left: 8px; }

.fdz-tl-desc { font-size: 12px; color: var(--fdz-text); }

/* ── EMPTY STATE ───────────────────────────────────────────── */
.fdz-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--fdz-muted);
}

.fdz-empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.fdz-empty p {
  margin: 0;
  font-size: 14px;
}

/* ── LOADING ───────────────────────────────────────────────── */
.fdz-loading {
  padding: 40px;
  text-align: center;
  color: var(--fdz-muted);
  font-size: 14px;
}

.fdz-loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--fdz-border);
  border-top-color: var(--fdz-accent);
  border-radius: 50%;
  animation: fdz-spin .8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes fdz-spin { to { transform: rotate(360deg); } }


/* ── NEWS NEL CONTENT AREA ─────────────────────────────────── */
#fdz-news-wrap { margin-top: 12px; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fdz-sidebar { display: none; }
  .fdz-content-area { width: 100%; }
}

@media (max-width: 600px) {
  .fdz-page-wrap { padding: 8px; }

  .fdz-match-row {
    grid-template-columns: 44px 1fr 64px 1fr;
    padding: 7px 8px;
  }

  .fdz-mr-name { font-size: 12px; }

  .fdz-hero-logo { width: 56px; height: 56px; }
  .fdz-hero-name { font-size: 14px; }
  .fdz-hs-home, .fdz-hs-away { font-size: 38px; }

  .fdz-hero-scoreboard { gap: 10px; }

  .fdz-ln-name { display: inline; font-size: 11px; }
  .fdz-ln-btn { padding: 6px 14px; font-size: 11px; margin-right: 6px; }
  .fdz-ln-btn:last-child { margin-right: 0; }
  .fdz-league-nav { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 12px !important; }
}

/* ── NEWS FEED ─────────────────────────────────────────────────────────────── */

.fdz-news-wrap {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  font-family: inherit;
}

.fdz-news-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 14px;
}

.fdz-news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e63946;
  animation: fdz-blink 1.2s infinite;
  flex-shrink: 0;
}

@keyframes fdz-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

.fdz-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fdz-news-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid #f2f2f2;
  line-height: 1.4;
}

.fdz-news-item:last-child { border-bottom: none; }

.fdz-news-item:hover { background: #f8f9ff; }

.fdz-news-time {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.fdz-news-source {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  color: #fff;
  background: #666;
}

.fdz-src-tmw          { background: #c0392b; }
.fdz-src-gazzetta     { background: #e67e22; }
.fdz-src-corsport     { background: #2980b9; }
.fdz-src-calciomercato{ background: #27ae60; }
.fdz-src-tuttosport   { background: #8e44ad; }

.fdz-news-title {
  font-size: 13px;
  color: #222;
  text-decoration: none;
  flex: 1;
}

.fdz-news-title:hover { color: #1a1a2e; text-decoration: underline; }

.fdz-news-empty {
  padding: 20px 14px;
  color: #999;
  font-size: 13px;
  text-align: center;
  list-style: none;
}

@media (max-width: 600px) {
  .fdz-news-item { padding: 8px 10px; gap: 6px; }
  .fdz-news-title { font-size: 12px; }
}

/* ── NEWS ITEM CON THUMBNAIL ───────────────────────────────── */
.fdz-news-item.fdz-has-thumb {
  align-items: flex-start;
  padding: 10px 14px;
  gap: 10px;
}

.fdz-news-thumb {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
}

.fdz-news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fdz-news-body .fdz-news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── NEWS DETAIL PAGE ───────────────────────────────────────── */
.fdz-article-page {
  display: block;
  padding: 20px 16px;
}

.fdz-article-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
}

.fdz-breadcrumb {
  padding: 10px 20px;
  font-size: 12px;
  color: #888;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.fdz-breadcrumb a {
  color: #1a56db;
  text-decoration: none;
}

.fdz-breadcrumb a:hover { text-decoration: underline; }

.fdz-article-header {
  padding: 20px 20px 12px;
}

.fdz-article-header .fdz-news-source {
  font-size: 11px;
  margin-bottom: 8px;
  display: inline-block;
}

.fdz-article-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1d23;
  margin: 0 0 10px;
}

.fdz-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #888;
}

.fdz-article-img-wrap {
  padding: 0 20px 16px;
}

.fdz-article-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.fdz-article-content {
  padding: 4px 20px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.fdz-article-content p { margin: 0 0 12px; }

.fdz-no-content {
  color: #666;
  font-style: italic;
  padding: 16px 20px 20px;
}

.fdz-article-source-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: #1a56db;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.fdz-article-source-btn:hover { background: #1345b5; }

.fdz-article-footer {
  padding: 12px 20px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #aaa;
}

.fdz-article-footer a { color: #888; }

@media (max-width: 600px) {
  .fdz-article-title { font-size: 18px; }
  .fdz-article-content { font-size: 14px; }
  .fdz-article-header { padding: 14px 14px 10px; }
  .fdz-article-img-wrap { padding: 0 14px 12px; }
  .fdz-article-content { padding: 4px 14px 16px; }
  .fdz-news-thumb { width: 80px; height: 60px; }
}

/* ── TEAMS PAGE ─────────────────────────────────────────────── */
.fdz-teams-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 12px;
  border-bottom: 2px solid var(--fdz-border);
  margin-bottom: 20px;
}
.fdz-teams-title img { width: 32px; height: 32px; object-fit: contain; }
.fdz-teams-title h2 { font-size: 18px; font-weight: 700; margin: 0; }

.fdz-teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--fdz-border);
  border-radius: var(--fdz-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.fdz-team-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: var(--fdz-white);
  border-bottom: 1px solid var(--fdz-border);
  text-decoration: none;
  color: var(--fdz-text);
  transition: background .12s;
}
.fdz-team-card:nth-child(odd)  { border-right: 1px solid var(--fdz-border); }
.fdz-team-card:hover            { background: #f0f4ff; }
.fdz-tc-logo {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fdz-tc-logo img { width: 100%; height: 100%; object-fit: contain; }
.fdz-team-ph {
  width: 28px; height: 28px;
  background: var(--fdz-primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10px; flex-shrink: 0;
}
.fdz-tc-name {
  font-size: 13px; font-weight: 500;
  color: var(--fdz-text); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fdz-team-card:hover .fdz-tc-name { color: var(--fdz-accent); }

/* ── TEAM DETAIL PAGE ───────────────────────────────────────── */

.fdz-team-header {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 0 16px;
  border-bottom: 2px solid var(--fdz-border);
  margin-bottom: 24px;
}
.fdz-th-logo { width: 80px; height: 80px; object-fit: contain; }
.fdz-th-name { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.fdz-th-country { font-size: 13px; color: var(--fdz-muted); }

.fdz-formation-wrap { padding: 12px 0; }
.fdz-formation-field {
  background: linear-gradient(180deg, #2d6a2d 0%, #1a5c1a 100%);
  border-radius: 8px;
  padding: 20px 10px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px; justify-content: space-around;
}
.fdz-formation-row {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.fdz-player-dot {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: 60px;
}
.fdz-pd-num {
  width: 32px; height: 32px; background: rgba(255,255,255,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #1a1d23;
}
.fdz-pd-name {
  font-size: 10px; color: #fff; text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8); line-height: 1.2;
  max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── BODY BACKGROUND ───────────────────────────────────────── */
body {
  background-image: url('https://footballdirectzone.it/wp-content/uploads/2026/04/campoQuadrato.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* ── MOBILE FIX ────────────────────────────────────────────── */
@media (max-width: 921px) {
  body { background-attachment: scroll !important; }

  /* selettore con ID: vince su qualsiasi classe Astra */
  #masthead #ast-mobile-header .ast-primary-header-bar,
  #masthead #ast-mobile-header .ast-main-header-wrap {
    background-color: transparent !important;
    background-image: none !important;
  }
}
