
/* ========================================================
   FULL WIDTH RESET & BBC SPORT STYLING (SPORTS & OPINION)
   ======================================================== */

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  background-color: #ffffff !important;
}

.wp-site-blocks,
.wp-site-blocks > *,
.entry-content,
.wp-block-post-content,
.is-layout-constrained,
.has-global-padding {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

:root {
  --bbc-yellow: #ffd230;
  --bbc-yellow-hover: #f5c400;
  --bbc-black: #121212;
  --bbc-dark-gray: #1e1e1e;
  --bbc-light-gray: #f4f4f4;
  --bbc-border: #e3e3e3;
  --bbc-red: #bb1919;
  --bbc-blue: #006699;
  --bbc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.so-bbc-wrapper {
  font-family: var(--bbc-font);
  color: #121212;
  background-color: #ffffff;
  line-height: 1.4;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.so-bbc-wrapper * {
  box-sizing: border-box;
}

.so-bbc-wrapper a {
  color: inherit;
  text-decoration: none;
}

/* Wide Viewport Containers */
.so-container,
.so-brand-header,
.so-yellow-nav,
.so-ticker-inner,
.so-video-inner,
.so-scores-inner,
.so-footer-inner {
  max-width: 1480px !important;
  width: 96% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 1. TOP UTILITY BAR */
.so-topbar {
  background-color: #0c0d0e;
  color: #a0a0a0;
  font-size: 12px;
  padding: 6px 0;
  width: 100%;
  border-bottom: 1px solid #1f2124;
}

.so-topbar-inner {
  max-width: 1480px;
  width: 96%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.so-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  height: 24px;
}

.so-topbar-live {
  background: var(--bbc-red);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: pulseLive 2s infinite;
  flex-shrink: 0;
}

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

/* VERTICAL FLOATING TICKER */
.so-vert-box {
  height: 24px;
  line-height: 24px;
  overflow: hidden;
  position: relative;
  width: 600px;
  max-width: 70vw;
}

.so-vert-item {
  height: 24px;
  line-height: 24px;
  white-space: nowrap;
  color: #d5d5d5;
  font-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  pointer-events: none;
}

.so-vert-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.so-vert-item.leaving {
  opacity: 0;
  transform: translateY(-20px);
}

.so-vert-item strong {
  color: var(--bbc-yellow);
}

.so-topbar-right {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

.so-topbar-right a {
  color: #a0a0a0;
  transition: color 0.2s;
}
.so-topbar-right a:hover {
  color: #fff;
}

/* 2. MAIN BRAND HEADER */
.so-brand-header-wrap {
  background: #ffffff;
  width: 100%;
  border-bottom: 1px solid var(--bbc-border);
}

.so-brand-header {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.so-logo-img {
  max-height: 72px;
  width: auto;
  display: block;
}

.so-brand-tagline {
  text-align: right;
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}

.so-brand-tagline strong {
  font-size: 14px;
  color: #111;
}

.so-brand-tagline span {
  color: var(--bbc-red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .so-brand-header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    text-align: center;
  }
  .so-logo-img {
    max-height: 50px;
  }
  .so-brand-tagline {
    text-align: center;
    font-size: 12px;
  }
  .so-topbar-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* 3. BBC SIGNATURE YELLOW NAVIGATION BAR */
.so-yellow-nav-wrapper {
  background-color: var(--bbc-yellow);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.so-yellow-nav {
  display: flex;
  align-items: center;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.so-yellow-nav::-webkit-scrollbar {
  display: none;
}

.so-sport-pill {
  background: #000000;
  color: var(--bbc-yellow);
  font-weight: 900;
  font-size: 15px;
  padding: 11px 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
  white-space: nowrap;
}

/* 3-LINE MOBILE HAMBURGER BUTTON IN YELLOW HEADER */
.so-mobile-menu-btn {
  display: none;
  background: #000000;
  border: none;
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  flex-shrink: 0;
}

.so-burger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.so-burger-line {
  width: 100%;
  height: 2.5px;
  background-color: var(--bbc-yellow);
  border-radius: 1px;
}

.so-burger-text {
  color: var(--bbc-yellow);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* FLOATING BUTTON REMOVED */
.so-floating-menu-btn { display: none !important; }
/* SLIDE-IN MOBILE DRAWER */
.so-mobile-drawer,
#soMobileDrawer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: block !important;
  transition: visibility 0.25s ease !important;
}

.so-mobile-drawer.open,
#soMobileDrawer.open {
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
}

.so-drawer-backdrop,
#soDrawerBackdrop {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  opacity: 0 !important;
  transition: opacity 0.25s ease !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}
.so-mobile-drawer.open .so-drawer-backdrop,
#soMobileDrawer.open .so-drawer-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.so-drawer-panel,
#soMobileDrawer .so-drawer-panel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  height: 100% !important;
  background: #ffffff !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(-100%) !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}
.so-mobile-drawer.open .so-drawer-panel,
#soMobileDrawer.open .so-drawer-panel {
  transform: translateX(0) !important;
}

.so-drawer-header {
  background: var(--bbc-yellow);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.so-drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #000;
}

.so-drawer-sport-badge {
  background: #000;
  color: var(--bbc-yellow);
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 2px;
}

.so-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.so-drawer-body {
  padding: 16px;
  flex: 1;
}

.so-drawer-section-title {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.08em;
  margin: 16px 0 8px 6px;
}

.so-drawer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.so-drawer-links li {
  margin-bottom: 3px;
}

.so-drawer-links a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08) !important;
  pointer-events: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  transition: background 0.15s, color 0.15s !important;
}
.so-drawer-links a:hover,
.so-drawer-links a:active {
  background: #f4f4f4;
  color: var(--bbc-red) !important;
}

.so-d-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}

.so-nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.so-nav-links li a {
  display: block;
  padding: 11px 13px;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  text-transform: capitalize;
  white-space: nowrap;
  transition: all 0.15s ease-in-out;
  border-bottom: 3px solid transparent;
}

.so-nav-links li a:hover,
.so-nav-links li a.active {
  background: rgba(0,0,0,0.09);
  border-bottom: 3px solid #000;
  color: #000;
}

/* 4. LIVE MATCH SCORES TICKER */
/* ========================================================
   AUTHENTIC CRICINFO MULTI-ROW SCORE STRIP (DARK THEME)
   ======================================================== */
.so-scores-bar {
  background: #0f1114;
  border-bottom: 2px solid #23272d;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.so-scores-container {
  max-width: 1480px;
  width: 96%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.so-scores-label {
  background: #bb1919;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  animation: pulseLive 2s infinite ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.1;
}
.so-scores-label span {
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #ffd230;
}

.so-scores-window {
  overflow: hidden;
  width: 100%;
  position: relative;
  min-width: 0;
  flex: 1;
}

.so-scores-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  width: 100%;
}

.so-scores-page {
  display: flex;
  gap: 12px;
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* UPCOMING TEAMS & TIME BLOCK LAYOUT (CRICINFO EXACT SPEC) */
.so-teams-upcoming {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 46px !important;
}

.so-teams-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.so-team-row-simple {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.so-time-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

.so-time-day {
  font-size: 11px !important;
  color: #9ca3af !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.so-time-clock {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* THE CRICINFO CARD */
.so-score-card {
  flex: 1 1 0;
  min-width: 0;
  background: #17191e;
  border: 1px solid #282c34;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  color: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
  min-height: 130px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.so-score-card:hover {
  background: #1f232b;
  border-color: #ffd230;
  transform: translateY(-2px);
}

.so-score-card.pak-card {
  border-left: 4px solid #10b981;
  background: #0f1c15;
}
.so-score-card.pak-card:hover {
  border-left-color: #34d399;
  background: #13241b;
}

/* Card Header: Status & Tournament */
.so-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 6px;
  white-space: nowrap;
}

.so-card-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.so-card-badge {
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.so-badge-live {
  color: #ef4444;
}
.so-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseLive 1.5s infinite;
}

.so-badge-ft {
  color: #10b981;
}
.so-badge-up {
  color: #38bdf8;
}

.so-card-stage {
  color: #9ca3af;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  text-align: right;
  margin-left: auto;
}

/* Team Rows */
.so-card-teams {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.so-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
}

.so-team-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.so-team-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  background: #282a30;
  flex-shrink: 0;
}

.so-team-name {
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.so-team-right {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.so-team-overs {
  font-size: 10.5px;
  color: #9ca3af;
  font-weight: 600;
}

.so-team-score {
  font-weight: 900;
  font-size: 13.5px;
  color: #ffffff;
}

/* Match Note / Summary */
.so-card-note {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-top: 2px;
}
.so-note-win {
  color: #10b981;
}

/* Footer links: Schedule / Table */
.so-card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  color: #9ca3af;
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 5px;
}

.so-card-footer a {
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.so-card-footer a:hover {
  color: #ffd230 !important;
}

/* Controls (Arrow Buttons) */
.so-scores-controls {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

.so-score-arrow {
  background: #20242a !important;
  color: #d1d5db !important;
  border: 1px solid #333842 !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  padding: 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: manipulation !important;
  pointer-events: auto !important;
}
.so-score-arrow:hover {
  background: #ffd230 !important;
  color: #000000 !important;
  border-color: #ffd230 !important;
}
.so-score-arrow:active {
  transform: scale(0.92) !important;
}

/* ========================================================
   RESPONSIVE: STRICTLY 1 CARD ON MOBILE (<= 768px)
   ======================================================== */
@media (max-width: 768px) {
  .so-scores-container {
    gap: 8px;
  }
  .so-scores-label {
    padding: 6px 8px;
    font-size: 9.5px;
  }
  .so-scores-page {
    gap: 0;
    min-width: 100% !important;
    width: 100% !important;
  }

  /* FULL 100% WIDTH FOR EXACTLY 1 CARD ON MOBILE */
  .so-scores-page .so-score-card {
    min-width: 100% !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 124px;
    padding: 10px 12px;
  }

  /* HIDE ANY EXTRA SIBLING CARDS IN MULTI-CARD HTML CHUNKS ON MOBILE */
  .so-scores-page .so-score-card:nth-child(n+2) {
    display: none !important;
  }

  .so-team-name {
    font-size: 13px;
  }
  .so-team-score {
    font-size: 13.5px;
  }
  .so-score-arrow {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
}


/* 5. BREAKING NEWS SCROLLER */
.so-ticker-bar {
  background: #000000;
  color: #ffffff;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
}

.so-ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.so-ticker-tag {
  background: var(--bbc-yellow);
  color: #000;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
}

.so-marquee-window {
  overflow: hidden;
  width: 100%;
  position: relative;
  white-space: nowrap;
}

.so-marquee-strip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
}

.so-marquee-item {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  transition: color 0.15s;
}

.so-marquee-item:hover {
  color: var(--bbc-yellow);
}

.so-m-badge {
  background: #282a2e;
  color: var(--bbc-yellow);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.so-m-dot {
  color: var(--bbc-red);
  font-weight: 900;
  font-size: 14px;
  margin: 0 10px;
}

/* 6. MAIN CONTENT CONTAINER (FULL WIDE) */
.so-container {
  padding: 24px 0 40px 0;
}

.so-sec-title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 32px 0 18px 0;
  padding-bottom: 8px;
  border-bottom: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.so-sec-title a {
  color: #000;
}
.so-sec-title .so-see-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--bbc-blue);
  text-transform: none;
}
.so-sec-title .so-see-all:hover {
  text-decoration: underline;
}

/* 7. HERO 3-COLUMN GRID */
.so-hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .so-hero-grid {
    grid-template-columns: 1fr;
  }
}

.so-lead-card {
  background: #ffffff;
  border-bottom: 1px solid var(--bbc-border);
  padding-bottom: 16px;
}

.so-lead-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 2px;
}

.so-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.so-lead-card:hover .so-lead-img-wrap img {
  transform: scale(1.03);
}

.so-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bbc-yellow);
  color: #000000;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
}

.so-lead-content {
  padding-top: 14px;
}

.so-lead-tag {
  color: var(--bbc-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.so-lead-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px 0;
  color: #111;
}
.so-lead-title:hover {
  color: var(--bbc-red);
}

.so-lead-desc {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.so-meta {
  font-size: 11px;
  color: #777;
  font-weight: 600;
}

.so-mid-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.so-card-sm {
  background: #ffffff;
  border-bottom: 1px solid var(--bbc-border);
  padding-bottom: 14px;
}

.so-card-sm .so-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
  margin-bottom: 10px;
  border-radius: 2px;
}

.so-card-sm .so-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.so-card-sm:hover .so-img-wrap img {
  transform: scale(1.04);
}

.so-card-sm-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 6px 0;
  color: #111;
}
.so-card-sm-title:hover {
  color: var(--bbc-red);
}

.so-hero-right {
  background: var(--bbc-light-gray);
  padding: 18px;
  border-top: 4px solid var(--bbc-black);
  border-radius: 2px;
}

.so-right-title {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  color: #111;
}

.so-list-item {
  border-bottom: 1px solid #dfdfdf;
  padding: 11px 0;
}
.so-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.so-list-tag {
  font-size: 10px;
  color: var(--bbc-red);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.so-list-headline {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #111;
}
.so-list-headline:hover {
  color: var(--bbc-red);
}

/* 8. 5-COLUMN TOP STORIES ROW */
.so-5col-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

@media (max-width: 1024px) {
  .so-5col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .so-5col-grid {
    grid-template-columns: 1fr;
  }
}

.so-5col-card {
  background: #ffffff;
  border-bottom: 2px solid var(--bbc-border);
  padding-bottom: 12px;
}

.so-5col-card .so-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 2px;
}

.so-5col-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.so-5col-card:hover img {
  transform: scale(1.04);
}

.so-5col-card h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 6px 0;
  color: #111;
}
.so-5col-card h3:hover {
  color: var(--bbc-red);
}

/* 9. VIDEO & HIGHLIGHTS ROW */
.so-video-section {
  background: #111214;
  color: #ffffff;
  padding: 30px 0;
  width: 100%;
  margin: 36px 0;
}

.so-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bbc-yellow);
  padding-bottom: 10px;
}

.so-video-title {
  color: var(--bbc-yellow);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.05em;
}

.so-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 800px) {
  .so-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .so-video-grid {
    grid-template-columns: 1fr;
  }
}

.so-vid-card {
  background: #1d1e22;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s;
}
.so-vid-card:hover {
  transform: translateY(-3px);
}

.so-vid-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.so-vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.so-play-icon {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.85);
  color: var(--bbc-yellow);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 2px;
}

.so-vid-body {
  padding: 12px;
}

.so-vid-body h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  color: #fff;
}

/* 10. SIGNATURE SECTIONS */
.so-signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 36px 0;
}

@media (max-width: 768px) {
  .so-signature-grid {
    grid-template-columns: 1fr;
  }
}

.so-sig-box {
  border: 1px solid var(--bbc-border);
  border-top: 4px solid var(--bbc-red);
  padding: 22px;
  background: #ffffff;
  border-radius: 2px;
}

.so-sig-box.gold {
  border-top-color: #d97706;
}

.so-sig-heading {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.so-sig-sub {
  font-size: 13px;
  color: #666;
  font-style: italic;
  margin-bottom: 14px;
}

.so-sig-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 2px;
}

.so-sig-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.so-sig-box:hover .so-sig-img img {
  transform: scale(1.03);
}

/* 11. OPINION & ANALYSIS ROW */
.so-opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .so-opinion-grid {
    grid-template-columns: 1fr;
  }
}

.so-op-card {
  border-left: 4px solid var(--bbc-red);
  padding-left: 16px;
  background: #ffffff;
}

.so-op-tag {
  font-size: 11px;
  color: var(--bbc-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.so-op-title {
  font-size: 17px;
  font-weight: 800;
  margin: 5px 0 8px 0;
  color: #111;
}

.so-op-quote {
  font-size: 13px;
  color: #555;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 8px;
}

/* 12. NEWSLETTER STRIP */
.so-newsletter-wrap {
  background: var(--bbc-black);
  width: 100%;
  padding: 36px 0;
  margin: 40px 0 0 0;
}

.so-newsletter-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.so-newsletter-box h3 {
  color: var(--bbc-yellow);
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.so-newsletter-box p {
  font-size: 14px;
  color: #ccc;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.so-nl-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}

.so-nl-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 2px;
  outline: none;
}

.so-nl-btn {
  background: var(--bbc-yellow);
  color: #000;
  font-weight: 800;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.so-nl-btn:hover {
  background: var(--bbc-yellow-hover);
}

/* 13. FOOTER */
.so-footer-wrap {
  background: #0d0f11;
  color: #b5b5b5;
  width: 100%;
  padding: 44px 0 24px 0;
  border-top: 4px solid var(--bbc-yellow);
}

.so-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 34px;
}

@media (max-width: 800px) {
  .so-footer-grid {
    grid-template-columns: 1fr;
  }
}

.so-footer h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  border-bottom: 1px solid #282a2e;
  padding-bottom: 8px;
  letter-spacing: 0.05em;
}

.so-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2.1;
}

.so-footer-links a {
  color: #aaa;
  transition: color 0.2s;
}
.so-footer-links a:hover {
  color: var(--bbc-yellow);
}

.so-footer-bottom {
  border-top: 1px solid #22252a;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888888;
  gap: 20px;
  flex-wrap: wrap;
}

.so-fb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.so-fb-dot {
  color: #444;
}

.so-fb-right {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .so-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* PURE CSS GUARANTEED BULLETPROOF TICKERS */
@keyframes pulseLive {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes soVertSlideUp {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-24px); }
  40%, 56% { transform: translateY(-48px); }
  60%, 76% { transform: translateY(-72px); }
  80%, 96% { transform: translateY(-96px); }
  100% { transform: translateY(-120px); }
}

@keyframes soMarqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.so-topbar-live {
  background: #bb1919;
  color: #ffffff;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  animation: pulseLive 2s infinite ease-in-out;
  flex-shrink: 0;
  line-height: 1.4;
}

.so-vert-box {
  height: 24px;
  line-height: 24px;
  overflow: hidden;
  position: relative;
  width: 650px;
  max-width: 65vw;
}

.so-vert-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: soVertSlideUp 18s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.so-vert-box:hover .so-vert-track {
  animation-play-state: paused;
}

.so-vert-item {
  height: 24px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d5d5d5;
  font-size: 12px;
  flex-shrink: 0;
}

.so-vert-item a {
  color: #d5d5d5 !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.so-vert-item a:hover {
  color: #ffd230 !important;
}

.so-vert-item strong {
  color: #ffd230;
  font-weight: 800;
  margin-right: 4px;
}

/* BREAKING NEWS CONTINUOUS SCROLLER */
.so-ticker-bar {
  background: #000000;
  color: #ffffff;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1px solid #1a1a1a;
  overflow: hidden;
  box-sizing: border-box;
}

.so-ticker-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1480px;
  width: 96%;
  margin: 0 auto;
}

.so-ticker-tag {
  background: #ffd230;
  color: #000000;
  font-weight: 900;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0,0,0,0.5);
}

.so-marquee-window {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}

.so-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: soMarqueeScroll 45s linear infinite;
}

.so-marquee-track:hover {
  animation-play-state: paused;
}

.so-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.so-marquee-item {
  color: #f0f0f0 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color 0.15s;
}

.so-marquee-item:hover {
  color: #ffd230 !important;
}

.so-m-badge {
  background: #282a2e;
  color: #ffd230;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.so-m-dot {
  color: #ffd230;
  font-size: 14px;
  opacity: 0.8;
}

/* =========================================================
   MOBILE NAVIGATION FIX - CLEAN CENTERED 3-LINE MENU UNDER LOGO
   ========================================================= */
@media (max-width: 768px) {
  .so-yellow-nav,
  .so-sub-nav-inner {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 7px 12px !important;
    gap: 10px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HIDE ALL HORIZONTAL TEXT LINKS ON MOBILE - USERS OPEN 3-LINE DRAWER INSTEAD */
  .so-nav-links,
  .so-sub-links {
    display: none !important;
  }

  .so-mobile-menu-btn,
  .so-sub-menu-btn,
  #soMenuToggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 8px 24px !important;
    background: #000000 !important;
    color: #ffd230 !important;
    border: none !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
  }

  .so-burger-lines,
  .so-sub-burger-lines {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    width: 20px !important;
  }

  .so-burger-line,
  .so-sub-burger-line {
    width: 100% !important;
    height: 2.5px !important;
    background-color: #ffd230 !important;
    border-radius: 1px !important;
  }

  .so-burger-text,
  .so-sub-burger-text {
    color: #ffd230 !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }

  .so-sport-pill,
  .so-sub-pill {
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    border-radius: 3px !important;
    margin: 0 !important;
  }
}


/* ========================================================
   LATEST STORIES & BLOG FEED (10 ARTICLES GRID)
   ======================================================== */
.so-latest-feed-section {
  margin: 36px 0;
  padding: 0;
}

.so-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #bb1919;
  padding-bottom: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.so-feed-title {
  font-size: 24px;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.so-feed-title-dot {
  width: 12px;
  height: 12px;
  background: #bb1919;
  border-radius: 50%;
  display: inline-block;
  animation: pulseLive 2s infinite ease-in-out;
}

.so-feed-badge {
  background: #111;
  color: #ffd230;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.so-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .so-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .so-feed-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.so-feed-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.so-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
  border-color: #bb1919;
}

.so-feed-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d0e11;
}
.so-feed-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.so-feed-card:hover .so-feed-img-wrap img {
  transform: scale(1.05);
}

.so-feed-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #bb1919;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

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

.so-feed-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #71717a;
  margin-bottom: 8px;
  font-weight: 700;
}

.so-feed-headline {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px 0;
  color: #111827;
  transition: color 0.2s;
}
.so-feed-card:hover .so-feed-headline {
  color: #bb1919;
}

.so-feed-excerpt {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.55;
  margin: 0 0 14px 0;
  flex: 1;
}

.so-feed-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 11.5px;
  color: #6b7280;
  font-weight: 600;
}
.so-feed-author-row .read-more {
  color: #bb1919;
  font-weight: 800;
  font-size: 12px;
}
.so-feed-card:hover .read-more {
  text-decoration: underline;
}

