/* ==========================================================================
   TUGADESPORTO — A BOLA ADVANCED DESIGN SYSTEM
   Reverse-Engineered from A Bola (abola.pt)
   Colors: A Bola Red (#e10600), Sun Yellow (#ffd200), Stadium Black (#0f1117)
   Typography: Open Sans (300, 400, 600, 700, 800), Skewed Sports Badges
   Breakpoints: 640px, 768px, 1025px, 1260px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Authentic A Bola Palette (oklch 57.7% .245 27.325 -> #e10600) */
  --bola-red: #e10600;
  --bola-red-dark: #b50500;
  --bola-red-deep: #7a0000;
  --bola-red-gradient: linear-gradient(135deg, #e10600 0%, #b80500 100%);
  
  /* Contrast Yellow Accent (A Bola signature badge & opinion color) */
  --bola-yellow: #ffd200;
  --bola-yellow-hover: #ffdc2e;
  --bola-yellow-dark: #e5bd00;
  
  /* Club Brand Accents */
  --club-benfica: #e11d48;
  --club-sporting: #059669;
  --club-porto: #2563eb;
  --club-braga: #dc2626;
  
  /* Neutrals & Dark Surfaces */
  --bg-page: #f5f6f8;
  --bg-card: #ffffff;
  --bg-dark: #0f1117;
  --bg-dark-surface: #181c24;
  --bg-dark-elevated: #222733;
  --text-dark: #111827;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-dark: #2d3748;
  
  --max-w: 1260px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. TOP MATCH SCORE STRIP (A BOLA MATCH CENTER)
   ========================================================================== */
.top-match-bar {
  background-color: var(--bg-dark);
  color: #ffffff;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.match-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 44px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* League Filters */
.match-filters {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.match-filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.match-filter-btn:hover,
.match-filter-btn.active {
  background-color: var(--bola-red);
  color: #ffffff;
  border-color: var(--bola-red);
}

.match-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
}
.match-scroll-wrapper::-webkit-scrollbar { display: none; }

.match-card-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.match-card-mini:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.match-status-badge {
  font-size: 0.625rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 2px;
  text-transform: uppercase;
}

.status-live {
  background-color: var(--bola-red);
  color: #ffffff;
  animation: pulseLive 1.4s infinite;
}

.status-final {
  background-color: #334155;
  color: #94a3b8;
}

.status-scheduled {
  background-color: #1e293b;
  color: var(--bola-yellow);
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.match-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.match-crest-mini {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.match-score-pill {
  font-weight: 800;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ==========================================================================
   2. MAIN RED HEADER & NAVIGATION (A BOLA MASTHEAD)
   ========================================================================== */
.main-header {
  background: var(--bola-red-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-logo-bola {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-right-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-indicator-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #000000;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseDot 1.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.header-meta-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: capitalize;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 6px;
  cursor: pointer;
}

/* Red Navigation Strip */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-item a {
  display: block;
  padding: 11px 16px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: background 0.15s ease;
  position: relative;
}

.nav-item a:hover,
.nav-item.active a {
  background-color: var(--bola-red-dark);
}

.nav-item.active a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--bola-yellow);
}

/* ==========================================================================
   3. BREAKING NEWS TICKER ("ÚLTIMA HORA")
   ========================================================================== */
.breaking-ticker-bar {
  background-color: #ffffff;
  border-bottom: 2px solid var(--border-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 40px;
  gap: 14px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ticker-badge-tag {
  background-color: var(--bola-yellow);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 3px;
  transform: skew(-8deg);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.ticker-badge-tag span {
  transform: skew(8deg);
}

.ticker-content {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.ticker-headline-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.15s ease;
}

.ticker-headline-link:hover {
  color: var(--bola-red);
}

.ticker-time-pill {
  background-color: var(--bg-page);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ticker-btn {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.ticker-btn:hover {
  background: var(--bola-red);
  color: #ffffff;
  border-color: var(--bola-red);
}

/* ==========================================================================
   4. CLUB BADGES BAR
   ========================================================================== */
.club-strip-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.club-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
}
.club-strip-inner::-webkit-scrollbar { display: none; }

.club-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.club-pill:hover {
  background-color: #ffffff;
  border-color: var(--bola-red);
  color: var(--bola-red);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.club-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   5. HERO SECTION (A BOLA LEAD STORY + THUMBNAILS)
   ========================================================================== */
.hero-wrapper-bola {
  margin: 24px 0 32px;
}

.hero-diagonal-card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

@media (min-width: 1025px) {
  .hero-diagonal-card {
    grid-template-columns: 1.25fr 1fr;
  }
}

.hero-main-photo {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  min-height: 280px;
}

.hero-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-diagonal-card:hover .hero-main-photo img {
  transform: scale(1.03);
}

.hero-lead-box {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background-color: #ffffff;
}

/* A Bola Red Accent Ribbon */
.hero-lead-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--bola-red);
}

.lead-tag {
  display: inline-block;
  background-color: var(--bola-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
  align-self: flex-start;
  transform: skew(-6deg);
}

.lead-tag span {
  display: inline-block;
  transform: skew(6deg);
}

.lead-headline {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.lead-headline a:hover {
  color: var(--bola-red);
}

.lead-yellow-quote {
  background-color: #fffbeb;
  border-left: 4px solid var(--bola-yellow);
  padding: 10px 14px;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 14px;
  border-radius: 0 4px 4px 0;
}

.lead-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lead-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

/* 4 Thumbnails Row */
.hero-thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.thumb-card-bola {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumb-card-bola:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.thumb-img-box {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.thumb-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumb-card-bola:hover .thumb-img-box img {
  transform: scale(1.04);
}

.thumb-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.thumb-tag {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--bola-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.thumb-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}

.thumb-title a:hover {
  color: var(--bola-red);
}

/* ==========================================================================
   6. 2-COLUMN MAIN FEED + SIDEBAR
   ========================================================================== */
.bola-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1025px) {
  .bola-main-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.section-bar-bola {
  background-color: var(--bola-red);
  color: #ffffff;
  padding: 9px 14px;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px 4px 0 0;
  margin-bottom: 16px;
}

.feed-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  margin-bottom: 32px;
  width: 100%;
  min-width: 0;
}

.feed-card-bola {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feed-card-bola:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.feed-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: #000000;
}

.feed-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feed-card-bola:hover .feed-card-img img {
  transform: scale(1.04);
}

.feed-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feed-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.feed-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feed-title a:hover {
  color: var(--bola-red);
}

.feed-excerpt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
}

/* ==========================================================================
   7. MULTIMEDIA & VIDEO CAROUSEL (DARK SHOWCASE)
   ========================================================================== */
.multimedia-dark-block {
  background-color: var(--bg-dark);
  color: #ffffff;
  border-radius: 6px;
  padding: 24px;
  margin: 32px 0;
  border: 1px solid var(--border-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.multimedia-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 20px;
}

.multimedia-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.multimedia-title svg {
  color: var(--bola-red);
}

.multimedia-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .multimedia-layout {
    grid-template-columns: 1.6fr 1fr;
  }
}

.featured-video-player {
  position: relative;
  background-color: #000000;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.featured-video-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.featured-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: var(--bola-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(225, 6, 0, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.featured-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ff1a14;
}

.featured-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
}

.featured-video-badge {
  background-color: var(--bola-yellow);
  color: #000000;
  font-size: 0.6875rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.featured-video-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.video-playlist-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.playlist-item {
  display: flex;
  gap: 12px;
  background-color: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.playlist-item:hover,
.playlist-item.active {
  background-color: var(--bg-dark-elevated);
  border-color: var(--bola-red);
}

.playlist-thumb {
  position: relative;
  width: 90px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background-color: #000000;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb .play-mini {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  background: rgba(225, 6, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-item-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.35;
}

.playlist-item-meta {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* ==========================================================================
   8. OPINION COLUMNISTS GRID ("TRIBUNA DE OPINIÃO" - A BOLA YELLOW CARDS)
   ========================================================================== */
.opinion-section-bola {
  margin: 40px 0;
}

.columnists-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.columnist-card-bola {
  background-color: var(--bola-yellow);
  color: #111827;
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 14px rgba(255, 210, 0, 0.25);
  border-top: 5px solid #111827;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.columnist-card-bola:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.columnist-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.columnist-avatar-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #111827;
  color: var(--bola-yellow);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.columnist-info {
  display: flex;
  flex-direction: column;
}

.columnist-name {
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #111827;
}

.columnist-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(17, 24, 39, 0.7);
  letter-spacing: 0.03em;
}

.columnist-quote-box {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
  padding-left: 14px;
  border-left: 3px solid #111827;
  margin-top: auto;
}

/* ==========================================================================
   9. SIDEBAR WIDGETS (MINUTO A MINUTO & LEAGUE STANDINGS)
   ========================================================================== */
.sidebar-bola {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.sidebar-box-header {
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticker-news-list {
  list-style: none;
}

.ticker-news-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background 0.15s ease;
}

.ticker-news-item:hover {
  background-color: #f8fafc;
}

.ticker-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bola-red);
  background-color: #fee2e2;
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ticker-headline {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

.ticker-headline a:hover {
  color: var(--bola-red);
}

.ticker-source-tag {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

/* Tabbed Standings Widget */
.standings-tabs {
  display: flex;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
}

.standings-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.standings-tab-btn.active {
  color: var(--bola-red);
  border-bottom-color: var(--bola-red);
  background: #ffffff;
}

.standings-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.standings-table th {
  background: #f8fafc;
  padding: 6px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.standings-table td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.standings-team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standings-team-cell img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

/* ==========================================================================
   10. OFFICIAL MATCH GRID TABLE
   ========================================================================== */
.table-box-bola {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.table-responsive-bola {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.match-table-bola th {
  background-color: #f8fafc;
  padding: 10px 14px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid var(--border-light);
}

.match-table-bola td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.match-table-bola tr:hover {
  background-color: #f8fafc;
}

.side-tv-channel {
  display: inline-block;
  background-color: #1e293b;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
}

/* ==========================================================================
   11. NEWSPAPER EDITIONS CAROUSEL ("AS NOSSAS CAPAS")
   ========================================================================== */
.newspaper-covers-block {
  margin: 36px 0;
  background: #ffffff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.covers-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.covers-scroll-row::-webkit-scrollbar { display: none; }

.cover-item {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.cover-thumbnail {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--bola-red) 0%, #1e293b 100%);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px;
  color: #ffffff;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cover-date-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   12. FOOTER (A BOLA DEEP RED SIGNATURE)
   ========================================================================== */
.footer-bola {
  background-color: var(--bola-red-deep);
  color: #ffffff;
  padding: 48px 0 24px;
  margin-top: auto;
  border-top: 4px solid var(--bola-yellow);
}

.footer-bola-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-bola-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-bola-brand p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bola-yellow);
  margin-bottom: 14px;
}

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

.footer-menu a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease;
}

.footer-menu a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bola-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .footer-bola-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background-color: var(--bola-red);
  color: #ffffff;
  z-index: 100;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.mobile-drawer-menu a {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-toggle-btn { display: block; }
}

@media (max-width: 768px) {
  .hero-main-photo {
    min-height: 220px;
  }
  .multimedia-dark-block {
    padding: 18px 14px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }
  .header-meta-date { display: none; }
  .ticker-badge-tag { font-size: 0.65rem; padding: 3px 6px; }
  .match-filters { display: none; }
  .hero-lead-box { padding: 18px 14px; }
  .lead-headline { font-size: clamp(1.25rem, 5vw, 1.55rem); }
  .feed-title { font-size: 0.95rem; }
  .footer-bola { padding: 36px 0 20px; }
  
  /* Tables on mobile */
  .match-table-bola th,
  .match-table-bola td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .brand-logo-bola svg,
  .brand-logo-bola img {
    max-width: 160px;
    height: auto;
  }
  .live-indicator-pill {
    padding: 3px 8px;
    font-size: 0.625rem;
  }
  .columnist-avatar-circle {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .opinion-section-bola {
    margin: 28px 0;
  }
}

/* Ensure smooth touch scroll bars */
.match-scroll-wrapper,
.club-strip-inner,
.table-responsive-bola,
.covers-scroll-row {
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   13. EDITORIAL ARTICLE & PROSE SYSTEM (A BOLA MAGAZINE TEMPLATE)
   ========================================================================== */
.article-main-col {
  min-width: 0;
  width: 100%;
}

.editorial-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.editorial-breadcrumb a {
  color: var(--text-dark);
  font-weight: 700;
  transition: color 0.15s ease;
}

.editorial-breadcrumb a:hover {
  color: var(--bola-red);
}

.editorial-breadcrumb .sep {
  color: #94a3b8;
}

.editorial-breadcrumb .current {
  color: var(--bola-red);
  font-weight: 700;
}

.article-header-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  position: relative;
}

.article-header-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background-color: var(--bola-red);
  border-radius: 6px 0 0 6px;
}

.badge-bola {
  display: inline-block;
  background-color: var(--bola-red);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 2px;
  transform: skew(-6deg);
  margin-bottom: 12px;
}

.badge-bola span {
  display: inline-block;
  transform: skew(6deg);
}

.badge-bola.yellow {
  background-color: var(--bola-yellow);
  color: #111827;
}

.article-headline-main {
  font-size: clamp(1.4rem, 4.5vw, 2.15rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-lead-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 20px;
}

.article-byline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.author-chip-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar-td {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111827;
  color: var(--bola-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.article-hero-banner {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border-light);
  background: #000000;
}

.article-hero-banner img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.article-prose-content {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 34px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-size: 1rem;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 32px;
}

.article-prose-content p {
  margin-bottom: 20px;
}

.article-prose-content h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-prose-content h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  background-color: var(--bola-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.article-prose-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.article-prose-content ul,
.article-prose-content ol {
  margin: 16px 0 24px 24px;
  line-height: 1.75;
}

.article-prose-content li {
  margin-bottom: 10px;
}

.article-prose-content strong {
  font-weight: 700;
  color: #111827;
}

.article-prose-content blockquote {
  border-left: 4px solid var(--bola-yellow);
  background: #fffbeb;
  padding: 16px 20px;
  font-style: italic;
  font-weight: 600;
  color: #92400e;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}

.article-prose-content table,
.clean-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.875rem;
  background: #ffffff;
}

.article-prose-content th,
.clean-table th {
  background: #f8fafc;
  padding: 12px 14px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #64748b;
  border-bottom: 2px solid var(--border-light);
  text-align: left;
}

.article-prose-content td,
.clean-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.article-prose-content tr:hover,
.clean-table tr:hover {
  background-color: #f8fafc;
}

@media (max-width: 640px) {
  .article-header-box {
    padding: 20px 16px;
  }
  .article-prose-content {
    padding: 22px 16px;
    font-size: 0.9375rem;
  }
}
