/**
 * Zona Deportes HD — Main Production Stylesheet
 * Version 2.0.0
 * Light Theme Sports-Tech UI System
 */

/* ==========================================================================
   1. CSS Variables & Tokens
   ========================================================================== */
:root {
  --zd-primary: #155dfc;
  --zd-primary-hover: #0d47cb;
  --zd-live-red: #e50914;
  --zd-live-red-hover: #c10811;
  --zd-dark-navy: #0b192c;
  --zd-dark-surface: #1e293b;
  --zd-bg-page: #f8fafc;
  --zd-bg-card: #ffffff;
  --zd-text-main: #0b192c;
  --zd-text-muted: #64748b;
  --zd-text-light: #94a3b8;
  --zd-border: #e2e8f0;
  --zd-border-subtle: #f1f5f9;
  --zd-success: #10b981;
  --zd-warning: #f59e0b;
  --zd-radius-sm: 6px;
  --zd-radius-md: 10px;
  --zd-radius-lg: 14px;
  --zd-radius-pill: 9999px;
  --zd-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --zd-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --zd-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--zd-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--zd-bg-page);
  color: var(--zd-text-main);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--zd-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--zd-primary-hover);
}

.zdhd-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ==========================================================================
   3. Top Metrics Ticker Bar
   ========================================================================== */
.zdhd-top-ticker {
  background-color: var(--zd-dark-navy);
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.zdhd-top-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
}

.zdhd-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zdhd-ticker-item strong {
  color: #ffffff;
}

.zdhd-ticker-item--live strong {
  color: #ef4444;
}

.zdhd-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--zd-live-red);
  border-radius: 50%;
  display: inline-block;
  animation: zdhd-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes zdhd-ping {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

/* ==========================================================================
   4. Main Brand Header
   ========================================================================== */
.zdhd-main-header {
  background-color: var(--zd-bg-card);
  border-bottom: 1px solid var(--zd-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--zd-shadow-sm);
}

.zdhd-main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}

/* Logo */
.zdhd-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.zdhd-logo__symbol {
  width: 38px;
  height: 38px;
  background-color: var(--zd-live-red);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229, 9, 20, 0.35);
}

.zdhd-logo__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #000000;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.zdhd-logo__badge {
  background-color: var(--zd-live-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 2px;
}

.zdhd-logo__tagline {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
  display: block;
}

/* Global Live Search Bar */
.zdhd-header-search {
  flex: 1;
  max-width: 480px;
}

.zdhd-search-form {
  position: relative;
  width: 100%;
}

.zdhd-search-field {
  width: 100%;
  padding: 9px 40px 9px 16px;
  font-size: 0.875rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--zd-radius-pill);
  outline: none;
  transition: all 0.2s ease;
  color: var(--zd-text-main);
}

.zdhd-search-field:focus {
  background-color: #ffffff;
  border-color: var(--zd-primary);
  box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.15);
}

.zdhd-search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  color: var(--zd-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header Action Buttons */
.zdhd-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zdhd-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--zd-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-text-muted);
  background-color: var(--zd-bg-card);
}

.zdhd-live-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--zd-live-red);
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--zd-radius-pill);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(229, 9, 20, 0.3);
  transition: background 0.15s ease;
}

.zdhd-live-header-btn:hover {
  background-color: var(--zd-live-red-hover);
}

.zdhd-live-header-btn .zdhd-pulse-dot {
  background-color: #ffffff;
}

.zdhd-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.zdhd-hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--zd-dark-navy);
  border-radius: 2px;
}

/* ==========================================================================
   5. Main Navigation Bar (Tabs)
   ========================================================================== */
.zdhd-nav-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--zd-border-subtle);
  overflow-x: auto;
}

.zdhd-nav-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.zdhd-nav-tab {
  position: relative;
}

.zdhd-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  border-radius: var(--zd-radius-sm);
  transition: all 0.15s ease;
}

.zdhd-nav-link:hover {
  color: var(--zd-primary);
  background-color: #f1f5f9;
}

.zdhd-nav-tab.is-active .zdhd-nav-link {
  color: #ffffff;
  background-color: var(--zd-primary);
}

/* Dropdown */
.zdhd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius-md);
  box-shadow: var(--zd-shadow-md);
  list-style: none;
  padding: 6px 0;
  margin: 0;
  min-width: 200px;
  z-index: 150;
  display: none;
}

.zdhd-has-dropdown:hover .zdhd-dropdown-menu {
  display: block;
}

.zdhd-dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--zd-text-main);
  text-decoration: none;
  font-weight: 600;
}

.zdhd-dropdown-menu li a:hover {
  background-color: #f8fafc;
  color: var(--zd-primary);
}

/* ==========================================================================
   6. Hero Marquee Banner
   ========================================================================== */
.zdhd-hero-banner {
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%),
              url('../images/hero-sports-banner.webp') center center / cover no-repeat;
  color: #ffffff;
  padding: 56px 0 44px;
  position: relative;
  box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.35);
  border-bottom: 3px solid #dc2626;
}

.zdhd-hero-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.zdhd-hero-banner__title {
  color: #ffffff !important;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.zdhd-hero__highlight {
  color: #ef4444 !important;
  font-weight: 900;
}

.zdhd-hero__brand {
  color: #ffffff !important;
  font-weight: 900;
}

.zdhd-hero-banner__lead {
  font-size: 1.0625rem;
  color: #f1f5f9 !important;
  max-width: 760px;
  margin: 0 0 22px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.zdhd-hero-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.zdhd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--zd-radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.zdhd-btn--primary {
  background-color: var(--zd-primary);
  color: #ffffff !important;
}

.zdhd-btn--primary:hover {
  background-color: var(--zd-primary-hover);
}

.zdhd-btn--live-hero {
  background-color: #dc2626;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: var(--zd-radius-pill);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.5);
  transition: all 0.2s ease;
}

.zdhd-btn--live-hero:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.65);
}

.zdhd-btn--outline-hero {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--zd-radius-pill);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.zdhd-btn--outline-hero:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.zdhd-hero-tz-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--zd-radius-pill);
  padding: 8px 16px;
  max-width: 520px;
  backdrop-filter: blur(8px);
}

.zdhd-hero-tz-select {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Generic tz select sits on light backgrounds (event pages, agenda, en-vivo) */
.zdhd-tz-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 8px;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.zdhd-hero-tz-select option, .zdhd-tz-select option {
  color: #0b192c;
  background: #ffffff;
}

/* ==========================================================================
   7. Competitions Quick Links Bar
   ========================================================================== */
.zdhd-competitions-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--zd-border);
  padding: 10px 0;
}

.zdhd-competitions-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
}

.zdhd-comp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--zd-radius-pill);
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.zdhd-comp-chip:hover {
  border-color: #dc2626;
  color: #dc2626;
  background-color: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15);
}

/* ==========================================================================
   8. Main Dashboard 2-Column Grid
   ========================================================================== */
.zdhd-dashboard-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 48px;
}

.zdhd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

.zdhd-section-header__title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zdhd-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--zd-dark-navy);
  margin: 0;
  letter-spacing: -0.01em;
}

.zdhd-section-header__date-badge {
  font-size: 0.8125rem;
  color: var(--zd-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   9. Schedule Toolbar & Filter Pills
   ========================================================================== */
.zdhd-schedule-toolbar {
  background-color: #ffffff;
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius-md) var(--zd-radius-md) 0 0;
  padding: 12px 16px;
}

.zdhd-sport-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 8px;
}

.zdhd-sport-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 7px 15px;
  border-radius: var(--zd-radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.zdhd-sport-pill:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.zdhd-sport-pill.is-active {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.zdhd-sport-pill--live.is-active {
  background: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
}

.zdhd-date-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--zd-border-subtle);
  flex-wrap: wrap;
}

.zdhd-date-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zdhd-date-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--zd-radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.zdhd-date-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.zdhd-date-btn.is-active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.zdhd-date-picker-input {
  border: 1px solid #cbd5e1;
  border-radius: var(--zd-radius-pill);
  padding: 5px 10px;
  font-size: 0.8125rem;
  color: #334155;
}

.zdhd-schedule-search-input {
  border: 1px solid #cbd5e1;
  border-radius: var(--zd-radius-pill);
  padding: 6px 14px;
  font-size: 0.8125rem;
  width: 220px;
  outline: none;
  transition: all 0.15s ease;
}

.zdhd-schedule-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   10. Match Card Row (Horizontal Layout Matching Wireframe)
   ========================================================================== */
.zdhd-match-rows-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.zdhd-match-row {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 160px 1fr 145px;
  align-items: center;
  gap: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.zdhd-match-row:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.zdhd-match-row.is-live {
  border-left: 4px solid #dc2626;
  background-color: #fffaf9;
}

/* Time & League Cell */
.zdhd-match-row__time-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zdhd-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #fee2e2;
  color: var(--zd-live-red);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--zd-radius-pill);
  width: fit-content;
}

.zdhd-finished-pill {
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.zdhd-kickoff-time {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--zd-dark-navy);
}

.zdhd-kickoff-day {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
}

.zdhd-league-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Teams & Scores Cell */
.zdhd-match-row__teams-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.zdhd-team-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.zdhd-team-col--home {
  justify-content: flex-end;
  text-align: right;
}

.zdhd-team-col--away {
  justify-content: flex-start;
  text-align: left;
}

.zdhd-team-label {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--zd-dark-navy);
}

.zdhd-team-crest-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.zdhd-team-crest-avatar {
  width: 28px;
  height: 28px;
  background: #e2e8f0;
  color: #0b192c;
  font-size: 0.6875rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Center Score / VS Badge */
.zdhd-score-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.zdhd-score-badge {
  background-color: #f1f5f9;
  color: var(--zd-dark-navy);
  font-size: 1rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.zdhd-score-badge--live {
  background-color: var(--zd-live-red);
  color: #ffffff;
}

.zdhd-vs-badge {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #94a3b8;
}

/* Actions Cell */
.zdhd-match-row__actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.zdhd-btn-live-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #dc2626;
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: var(--zd-radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  transition: all 0.15s ease;
}

.zdhd-btn-live-cta:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

.zdhd-btn-detail-cta {
  display: inline-flex;
  align-items: center;
  background-color: #eff6ff;
  color: #1d4ed8 !important;
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: var(--zd-radius-pill);
  border: 1px solid #bfdbfe;
  text-decoration: none;
  transition: all 0.15s ease;
}

.zdhd-btn-detail-cta:hover {
  background-color: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.zdhd-accordion-toggle {
  background: #ffffff;
  border: 1px solid var(--zd-border);
  width: 32px;
  height: 32px;
  border-radius: var(--zd-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.zdhd-accordion-toggle:hover {
  background: #f8fafc;
  color: var(--zd-primary);
}

.zdhd-match-row.is-expanded .zdhd-chevron-icon {
  transform: rotate(180deg);
}

/* Expandable Drawer */
.zdhd-match-row__drawer {
  grid-column: 1 / -1;
  background-color: #f8fafc;
  border-top: 1px solid var(--zd-border);
  margin: 8px -16px -12px;
  padding: 14px 16px;
  border-radius: 0 0 var(--zd-radius-md) var(--zd-radius-md);
}

.zdhd-drawer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.zdhd-drawer-subtitle {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #334155;
  margin: 0 0 8px;
}

.zdhd-channel-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zdhd-channel-chip {
  background: #ffffff;
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius-pill);
  padding: 3px 10px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zdhd-chip-link {
  color: var(--zd-primary);
  font-weight: 700;
}

.zdhd-drawer-calendar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zdhd-drawer-cal-label {
  font-size: 0.75rem;
  color: #64748b;
}

.zdhd-cal-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--zd-radius-sm);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--zd-border);
  color: #334155;
}

/* ==========================================================================
   11. Explore by Sport Cards
   ========================================================================== */
.zdhd-sports-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.zdhd-sport-card {
  border-radius: 12px;
  padding: 22px 10px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.zdhd-sport-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.zdhd-sport-card__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.zdhd-sport-card__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

.zdhd-sport-card__title {
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   12. Blog Article Cards
   ========================================================================== */
.zdhd-blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.zdhd-blog-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.zdhd-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.zdhd-blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.zdhd-blog-card__placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #0b192c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
}

.zdhd-blog-card__content {
  padding: 12px 14px;
}

.zdhd-blog-card__category {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--zd-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.zdhd-blog-card__title {
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 6px;
}

.zdhd-blog-card__title a {
  color: var(--zd-dark-navy);
  text-decoration: none;
}

.zdhd-blog-card__date {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
}

/* ==========================================================================
   13. Sidebar Widgets
   ========================================================================== */
.zdhd-sidebar-card {
  background-color: #ffffff;
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius-md);
  padding: 16px;
}

.zdhd-sidebar-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.zdhd-sidebar-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--zd-dark-navy);
  margin: 0;
}

.zdhd-live-preview-player {
  background-color: #000000;
  aspect-ratio: 16/9;
  border-radius: var(--zd-radius-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.zdhd-live-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--zd-live-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.zdhd-player-play-btn {
  width: 44px;
  height: 44px;
  background: rgba(229, 9, 20, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zdhd-live-preview-info {
  margin-top: 10px;
}

.zdhd-live-preview-title {
  font-size: 0.9375rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.zdhd-live-preview-sub {
  font-size: 0.75rem;
  color: var(--zd-text-muted);
  display: block;
  margin-bottom: 8px;
}

.zdhd-live-preview-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--zd-primary);
}

.zdhd-calendar-sync-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zdhd-cal-sync-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid var(--zd-border);
  border-radius: var(--zd-radius-sm);
  color: var(--zd-dark-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.zdhd-cal-sync-item:hover {
  background: #eff6ff;
  border-color: var(--zd-primary);
}

/* ==========================================================================
   14. Scoreboard Hero & Single Match Dossier
   ========================================================================== */
.zdhd-match-scoreboard-hero {
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--zd-radius-lg);
  padding: 24px;
}

.zdhd-scoreboard__top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.zdhd-scoreboard__league-pill {
  font-size: 0.8125rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: var(--zd-radius-pill);
}

.zdhd-scoreboard__matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.zdhd-scoreboard__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.zdhd-scoreboard__crest {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.zdhd-scoreboard__crest-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
}

.zdhd-scoreboard__team-name {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
}

.zdhd-scoreboard__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.zdhd-scoreboard__score {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.zdhd-scoreboard__kickoff-time {
  font-size: 2.25rem;
  font-weight: 900;
  color: #38bdf8;
}

.zdhd-scoreboard__meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.zdhd-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.zdhd-matrix-table th {
  background: #f1f5f9;
  padding: 8px 12px;
  text-align: left;
  color: #475569;
  font-weight: 700;
}

.zdhd-matrix-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--zd-border);
}

.zdhd-btn-stream-link {
  background-color: var(--zd-primary);
  color: #ffffff !important;
  padding: 4px 10px;
  border-radius: var(--zd-radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   15. Footer Styling
   ========================================================================== */
.zdhd-main-footer {
  background-color: var(--zd-dark-navy);
  color: #94a3b8;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.zdhd-main-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.zdhd-footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 12px 0 16px;
  color: #94a3b8;
}

.zdhd-footer-social {
  display: flex;
  gap: 10px;
}

.zdhd-social-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.15s ease;
}

.zdhd-social-icon:hover {
  background: var(--zd-primary);
}

.zdhd-footer-heading {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
}

.zdhd-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zdhd-footer-menu li a {
  color: #94a3b8;
  font-size: 0.8125rem;
  text-decoration: none;
}

.zdhd-footer-menu li a:hover {
  color: #ffffff;
}

.zdhd-footer-bottom {
  background-color: #07101d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  font-size: 0.75rem;
}

.zdhd-footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.zdhd-copyright, .zdhd-legal-statement {
  margin: 0;
}

/* ==========================================================================
   16. Mobile & Responsive Layout Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .zdhd-dashboard-main-grid {
    grid-template-columns: 1fr;
  }

  .zdhd-main-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .zdhd-main-header__inner {
    flex-wrap: wrap;
  }

  .zdhd-header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 6px;
  }

  .zdhd-hamburger-btn {
    display: flex;
  }

  .zdhd-nav-bar {
    display: none;
  }

  /* Match Card on Mobile */
  .zdhd-match-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .zdhd-match-row__time-cell {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .zdhd-match-row__teams-cell {
    display: grid;
    grid-template-columns: 1fr 50px 1fr;
    gap: 8px;
  }

  .zdhd-team-label {
    font-size: 0.875rem;
  }

  .zdhd-match-row__actions-cell {
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--zd-border-subtle);
  }

  .zdhd-btn-live-cta, .zdhd-btn-detail-cta {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .zdhd-scoreboard__matchup {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .zdhd-scoreboard__crest {
    width: 56px;
    height: 56px;
  }

  .zdhd-main-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   17. Mobile Drawer
   ========================================================================== */
.zdhd-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
}

.zdhd-mobile-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.zdhd-mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.zdhd-mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.zdhd-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.zdhd-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zdhd-mobile-nav-list li a {
  color: var(--zd-text-main);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

/* ---------------------------------------------------------------
   Schedule engine v3 — result count, freshness notice, load-more
   (appended 2026-11; used by assets/js/schedule.js)
   --------------------------------------------------------------- */
.zdhd-freshness-note {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid var(--zd-color-border, #e2e8f0);
  border-left: 4px solid var(--zd-color-live, #10b981);
  border-radius: 8px;
  background: #f0fdf4;
  color: #065f46;
  font-size: 13px;
  line-height: 1.6;
}
.zdhd-result-count {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zd-color-muted, #64748b);
}
.zdhd-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 4px;
}
.zdhd-load-more-btn {
  min-width: 220px;
  background: #ffffff;
  color: var(--zd-color-primary, #155dfc);
  border: 1px solid var(--zd-color-primary, #155dfc);
}
.zdhd-load-more-btn:hover {
  background: var(--zd-color-primary, #155dfc);
  color: #ffffff;
}
.zdhd-match-row.is-scheduled .zdhd-finished-pill {
  background: #fef3c7;
  color: #92400e;
}

/* Search results page (/buscar/) */
.zdhd-search-results-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zdhd-search-result-item {
  border-bottom: 1px solid #f1f5f9;
}
.zdhd-search-result-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 6px;
  text-decoration: none;
  color: #0f172a;
}
.zdhd-search-result-item a:hover {
  background: #f8fafc;
}
.zdhd-search-result-icon { font-size: 18px; }
.zdhd-search-result-body { display: flex; flex-direction: column; gap: 2px; }
.zdhd-search-result-meta { font-size: 12px; color: #64748b; }
.zdhd-search-result-live {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #ef4444;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   Overflow guards (mobile QA fix 2026-11): let grid/flex children
   shrink instead of forcing horizontal page scroll.
   --------------------------------------------------------------- */
.zdhd-tz-select {
  max-width: 100%;
}
.zdhd-event-tz-bar {
  max-width: 100%;
  flex-wrap: wrap;
}
.zdhd-dashboard-left-col,
.zdhd-dashboard-right-col,
.zdhd-schedule-container-box,
.zdhd-schedule-component,
.zdhd-schedule-toolbar,
.zdhd-schedule-list-wrap,
.zdhd-date-group,
.zdhd-match-rows-container,
.zdhd-match-row,
.zdhd-match-row__teams-cell,
.zdhd-team-col {
  min-width: 0;
}
.zdhd-team-label {
  overflow-wrap: anywhere;
}
.zdhd-card {
  max-width: 100%;
}
.zdhd-hero-tz-box {
  flex-wrap: wrap;
  max-width: 100%;
}
.zdhd-date-tabs {
  flex-wrap: wrap;
}
.zdhd-date-picker-input {
  max-width: 100%;
}
.zdhd-matrix-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.zdhd-event-left-col,
.zdhd-event-right-col,
.zdhd-panel {
  min-width: 0;
  max-width: 100%;
}
/* Inline-styled card grids must shrink below their fixed min column on mobile */
.zdhd-blog-cards-grid,
.zdhd-cards-grid,
.zdhd-broadcaster-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)) !important;
}
/* Inline-styled event two-column grid must stack on narrow screens */
@media (max-width: 1024px) {
  .zdhd-event-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Audit fixes 2026-11: group header spacing + large crest avatar fallback */
.zdhd-date-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zdhd-team-crest-avatar[style*="80px"] {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  color: #ffffff;
  font-weight: 800;
}

/* Audit fixes 2026-11: breadcrumb navigation + schedule empty state */
.zdhd-breadcrumbs {
  padding: 14px 0 0;
  font-size: 0.8125rem;
}
.zdhd-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.zdhd-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.zdhd-breadcrumbs__link {
  color: var(--zd-color-primary, #155dfc);
  text-decoration: none;
  font-weight: 600;
}
.zdhd-breadcrumbs__link:hover {
  text-decoration: underline;
}
.zdhd-breadcrumbs__current {
  color: var(--zd-color-muted, #64748b);
  font-weight: 700;
}
.zdhd-empty-state {
  text-align: center;
  padding: 40px 20px;
  margin: 12px 0;
}
.zdhd-empty-state .zdhd-empty-icon {
  font-size: 34px;
  margin-bottom: 10px;
}
.zdhd-empty-state h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.zdhd-empty-state p {
  color: var(--zd-color-muted, #64748b);
  font-size: 0.9rem;
  margin: 0 auto 16px;
  max-width: 460px;
}

/* ============================================================
   Compatibility layer — classes emitted by the static page
   generator that had no theme styles (R7-01, browser audit
   2026-11-18). Mirrors .zdhd-hero-banner / .zdhd-container.
   ============================================================ */

/* --- Page banners (archives, hubs, static & 404 pages) --- */
.zdhd-archive-banner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 16px 8px;
}
.zdhd-archive-banner__content {
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.97) 0%, rgba(15, 23, 42, 0.99) 100%);
  border-bottom: 3px solid #dc2626;
  border-radius: 16px;
  padding: 34px 38px;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}
.zdhd-archive-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(21, 93, 252, 0.18);
  border: 1px solid rgba(21, 93, 252, 0.45);
  color: #9db9ff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.zdhd-archive-banner__title {
  color: #ffffff !important;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.zdhd-archive-banner__lead {
  color: #e2e8f0 !important;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}
.zdhd-archive-banner--blog .zdhd-archive-banner__badge {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}
.zdhd-archive-banner--blog .zdhd-archive-banner__content {
  border-bottom-color: #10b981;
}
.zdhd-archive-banner--sport .zdhd-archive-banner__badge {
  background: rgba(21, 93, 252, 0.18);
  border-color: rgba(21, 93, 252, 0.45);
  color: #9db9ff;
}
.zdhd-archive-banner--league .zdhd-archive-banner__badge {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #fcd34d;
}
.zdhd-archive-banner--league .zdhd-archive-banner__content {
  border-bottom-color: #f59e0b;
}
.zdhd-archive-banner--static .zdhd-archive-banner__badge {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.45);
  color: #cbd5e1;
}

/* --- Breadcrumbs & entry content: constrain like .zdhd-container --- */
.zdhd-breadcrumbs {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.zdhd-breadcrumbs__separator {
  color: #94a3b8;
  margin: 0 6px;
}
.zdhd-entry-content {
  max-width: 1208px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Schedule loading skeleton --- */
.zdhd-schedule-loading-skeleton {
  padding: 18px 0;
}
.zdhd-skeleton-row {
  height: 74px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 400px 100%;
  animation: zdhd-skeleton-pulse 1.2s ease-in-out infinite;
}
@keyframes zdhd-skeleton-pulse {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* --- Event page calendar links --- */
.zdhd-calendar-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.zdhd-cal-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.zdhd-cal-link:hover {
  border-color: var(--zd-color-primary, #155dfc);
  color: var(--zd-color-primary, #155dfc);
  background: #eff6ff;
}

/* --- Toolbar quick search box --- */
.zdhd-quick-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
