/* ==========================================================================
   Broadsheet Newspaper Portal Theme Stylesheet
   ========================================================================== */

:root {
  --ad-red: #c4161c;
  --ad-red-dark: #8b0d11;
  --ad-maroon: #7a090d;
  --ad-ink: #111111;
  --ad-text: #222222;
  --ad-muted: #666666;
  --ad-light-muted: #888888;
  --ad-border: #e0e0e0;
  --ad-border-light: #eeeeee;
  --ad-bg: #f5f5f5;
  --ad-white: #ffffff;
  --ad-blue: #1877f2;
  --ad-green: #25d366;
  --ad-font: Arial, Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.broadsheet-portal,
body.adaderana-portal {
  margin: 0;
  padding: 0;
  background-color: var(--ad-bg);
  color: var(--ad-text);
  font-family: var(--ad-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

a:hover {
  color: var(--ad-red);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ad-wrapper {
  max-width: 1260px;
  width: 100%;
  margin: 0 auto;
  background: var(--ad-white);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  padding: 0 24px 36px;
  overflow: hidden;
  box-sizing: border-box;
}

/* ==========================================================================
   Top Network Bar
   ========================================================================== */
.ad-top-network-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--ad-border-light);
  padding: 8px 0;
  font-size: 12.5px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ad-top-network-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  white-space: nowrap;
}

.ad-top-network-inner a {
  color: #666666;
  font-weight: 500;
}

.ad-top-network-inner a:hover {
  color: var(--ad-red);
}

/* ==========================================================================
   Main Branding Header
   ========================================================================== */
.ad-header-main {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--ad-border-light);
  width: 100%;
}

.ad-header-brand {
  display: flex;
  align-items: center;
}

.ad-header-brand a {
  text-decoration: none;
}

.ad-header-brand img {
  height: 56px;
  width: auto;
}

.ad-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.ad-header-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ad-muted);
}

.ad-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
}

.ad-social-icons-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ad-header-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ad-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.ad-social-icon:hover {
  background: var(--ad-red);
  color: #fff;
}

.ad-lang-btn {
  background: var(--ad-red);
  color: #fff !important;
  font-weight: bold;
  font-size: 12.5px;
  padding: 5px 14px;
  border-radius: 16px;
  display: inline-block;
}

.ad-lang-btn:hover {
  background: var(--ad-red-dark);
}

.ad-search-form input[type="search"] {
  padding: 5px 12px;
  font-size: 12.5px;
  border: 1px solid #ccc;
  border-radius: 14px;
  width: 120px;
  outline: none;
  transition: width 0.2s ease;
}

.ad-search-form input[type="search"]:focus {
  width: 160px;
}

.ad-search-trigger {
  border: 1px solid var(--ad-border);
  background: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  font-size: 13px;
}

/* ==========================================================================
   Menu 1: White/Light Text Navigation
   ========================================================================== */
.ad-nav-light {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 13px 6px;
  border-top: 1px solid var(--ad-border);
  border-bottom: 1px solid var(--ad-border);
  font-size: 14.5px;
  font-weight: 700;
  color: #333333;
}

.ad-nav-light a {
  position: relative;
  text-transform: capitalize;
}

.ad-nav-light a.active,
.ad-nav-light a:hover {
  color: var(--ad-red);
}

.ad-nav-light .more-link {
  margin-left: auto;
  color: var(--ad-red);
}

/* ==========================================================================
   Menu 2: Deep Maroon Bar
   ========================================================================== */
.ad-nav-maroon {
  background: var(--ad-maroon);
  background: linear-gradient(to bottom, #8a0b12, #6b060b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  margin-top: 4px;
  border-radius: 2px;
}

.ad-nav-maroon-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.6px;
}

.ad-nav-maroon-links a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ad-nav-maroon-links a:hover {
  color: #ffd2d5;
}

.ad-nav-maroon-links span.bullet {
  font-size: 9px;
  opacity: 0.85;
}

.ad-nav-maroon-hotline {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Mobile Quick Category Swipe Strip
   ========================================================================== */
.ad-mobile-quick-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0;
  border-bottom: 2.5px solid var(--ad-red);
  background: #ffffff;
  margin-bottom: 12px;
  width: 100%;
}

.ad-mobile-quick-strip::-webkit-scrollbar {
  display: none;
}

.ad-mobile-quick-strip a {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  padding: 6px 13px;
  border-radius: 16px;
  background: #f3f4f6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  line-height: 1.25;
  transition: all 0.15s ease;
}

.ad-mobile-quick-strip a.active,
.ad-mobile-quick-strip a:hover {
  background: var(--ad-red);
  color: #ffffff;
}

.ad-mobile-quick-strip a.highlight {
  background: #fee2e2;
  color: var(--ad-red);
  border: 1px solid #fca5a5;
}

.ad-mobile-quick-strip a.highlight.active {
  background: var(--ad-red);
  color: #ffffff;
}

/* ==========================================================================
   Offcanvas Mobile Drawer Navigation
   ========================================================================== */
.ad-drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ad-drawer-nav-item {
  border-bottom: 1px solid #f1f5f9;
}

.ad-drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ad-drawer-nav-link:hover,
.ad-drawer-nav-link.active {
  background: #fdf2f2;
  color: var(--ad-red);
  border-left: 3px solid var(--ad-red);
}

.ad-drawer-section-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.8px;
  padding: 12px 14px 5px;
  margin-top: 6px;
}

/* ==========================================================================
   Top Ad Banners Bar (Full Width Edge-to-Edge)
   ========================================================================== */
.ad-top-ads-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 24px;
  width: 100%;
}

.ad-banner-strip {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--ad-border);
  background: #ffffff;
  border-radius: 0;
  line-height: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.ad-dual-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.ad-banner-strip a,
.ad-banner-strip .ad-slot,
.ad-banner-strip .ad-slot-inner,
.ad-banner-strip .ad-slot > div,
.ad-banner-strip .ad-content-wrapper {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.ad-banner-strip .ad-slot > span {
  display: none !important;
}

.ad-banner-strip img,
.ad-banner-strip .ad-slot img {
  width: 100% !important;
  height: 90px !important;
  max-height: 90px !important;
  aspect-ratio: 1220 / 90;
  object-fit: fill !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ad-dual-banners .ad-banner-strip img,
.ad-dual-banners .ad-slot img {
  aspect-ratio: 606 / 90 !important;
}

/* ==========================================================================
   Multi-Ad Carousel & Slideshow Loop System
   ========================================================================== */
.ad-slot.has-loop {
  position: relative;
  overflow: hidden;
}

.ad-slot.has-loop .ad-slot-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--ad-muted);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4 !important;
}

.ad-slot.has-loop .ad-loop-counter {
  display: inline-block;
  font-size: 8.5px;
  padding: 1px 6px;
  background: #f1f5f9;
  border-radius: 10px;
  color: #475569;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ad-slot.has-loop .ad-loop-track {
  position: relative;
  display: grid !important;
  grid-template-areas: "adstack" !important;
  align-items: center;
  justify-items: center;
  width: 100% !important;
  overflow: hidden;
  min-height: 40px;
  line-height: normal !important;
}

.ad-slot.has-loop .ad-slide {
  grid-area: adstack !important;
  width: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s ease;
  pointer-events: none !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.ad-slot.has-loop .ad-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2;
  position: relative;
}

.ad-slot.has-loop .ad-slide a {
  display: block !important;
  width: 100% !important;
  text-align: center;
  line-height: 0 !important;
}

.ad-slot.has-loop .ad-slide img {
  width: 100% !important;
  height: auto !important;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto;
}

.ad-slot.placement-header_728x90.has-loop .ad-slide img,
.ad-slot.placement-footer.has-loop .ad-slide img {
  max-height: 100px;
}

.ad-slot.placement-top_left.has-loop .ad-slide img,
.ad-slot.placement-top_right.has-loop .ad-slide img {
  max-height: 100px;
}

.ad-slot.placement-sidebar_300x250.has-loop .ad-slide img {
  max-height: 250px;
}

.ad-slot.placement-sidebar_300x600.has-loop .ad-slide img {
  max-height: 600px;
}

.ad-slot.placement-sticky.has-loop .ad-slide img {
  max-height: 90px;
}

/* Dots Pagination */
.ad-loop-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  line-height: 1 !important;
}

.ad-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ad-dot:hover {
  background: #94a3b8;
  transform: scale(1.25);
}

.ad-dot.is-active {
  background: var(--ad-red);
  width: 15px;
  border-radius: 4px;
}



.ad-col-banner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--ad-border-light);
  border-radius: 2px;
  line-height: 0;
}

.ad-col-banner a {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.ad-col-banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ==========================================================================
   Main 3-Column Content Layout
   ========================================================================== */
.ad-main-grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Section Header Bar */
.ad-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid var(--ad-red);
  padding-bottom: 6px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ad-ink);
}

.ad-section-title .ad-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-section-title .ad-more-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ad-red);
}

/* ==========================================================================
   LEFT COLUMN
   ========================================================================== */
.ad-col-left {
  min-width: 0;
  max-width: 100%;
}

/* Lead Story */
.ad-lead-story {
  margin-bottom: 18px;
}

.ad-lead-headline {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.3;
  color: #111111;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

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

.ad-lead-meta {
  font-size: 12.5px;
  color: var(--ad-light-muted);
  margin-bottom: 10px;
}

.ad-lead-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.ad-lead-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ad-hot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ad-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* App Promo Card */
.ad-app-promo-banner {
  border: 1px solid #dbe2ea;
  border-radius: 4px;
  background: #ffffff;
  padding: 12px 16px;
  margin: 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ad-app-promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ad-app-promo-left img.ad-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.ad-app-promo-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #333333;
  line-height: 1.35;
}

.ad-app-promo-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ad-app-promo-badges img {
  height: 32px;
  width: auto;
}

/* Left Column News Story Rows */
.ad-story-item {
  display: flex;
  gap: 15px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ad-border-light);
}

.ad-story-thumb {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

.ad-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.ad-story-item:hover .ad-story-thumb img {
  transform: scale(1.03);
}

.ad-story-content {
  flex: 1;
  min-width: 0;
}

.ad-story-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.38;
  color: #222222;
  margin: 0 0 5px;
}

.ad-story-title a:hover {
  color: var(--ad-red);
}

.ad-story-time {
  font-size: 11.5px;
  color: var(--ad-light-muted);
}

/* Facebook Follow Bar */
.ad-facebook-banner {
  background: linear-gradient(135deg, #1877f2, #0d5cb6);
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 20px;
}

.ad-facebook-banner .ad-fb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
}

.ad-facebook-banner .ad-fb-icon {
  font-size: 22px;
  font-weight: 900;
}

.ad-facebook-banner .ad-fb-btn {
  background: #ffffff;
  color: #1877f2;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 14px;
}

/* WhatsApp Channel Banner */
.ad-whatsapp-banner {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: 4px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 20px;
}

.ad-whatsapp-banner .ad-wa-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
}

.ad-whatsapp-banner .ad-wa-btn {
  background: #ffffff;
  color: #128c7e;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 14px;
}

/* ==========================================================================
   MIDDLE COLUMN
   ========================================================================== */
.ad-col-mid {
  min-width: 0;
  max-width: 100%;
}

/* Video of the Day */
.ad-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
}

.ad-video-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
  display: block;
}

.ad-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--ad-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.ad-video-caption {
  background: #111111;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}

/* AI Widget Headers */
.ad-ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ad-red);
  padding-bottom: 6px;
  margin: 20px 0 14px;
}

.ad-ai-header img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
}

.ad-ai-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ad-ink);
}

/* AI Audio & Summary Items */
.ad-compact-item {
  display: flex;
  gap: 12px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--ad-border-light);
}

.ad-compact-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

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

.ad-compact-content {
  flex: 1;
  min-width: 0;
}

.ad-compact-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #222222;
  margin: 0 0 4px;
}

.ad-compact-meta {
  font-size: 11.5px;
  color: var(--ad-light-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-audio-badge {
  color: var(--ad-red);
  font-weight: bold;
}

/* Bullet Fast News */
.ad-bullet-news {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.ad-bullet-news li {
  position: relative;
  padding: 7px 0 7px 16px;
  border-bottom: 1px dotted var(--ad-border);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.ad-bullet-news li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--ad-red);
  font-weight: bold;
}

/* ==========================================================================
   RIGHT COLUMN
   ========================================================================== */
.ad-col-right {
  min-width: 0;
  max-width: 100%;
}

/* Top Picture Story */
.ad-picture-story-card {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.ad-picture-story-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.ad-picture-caption {
  font-size: 13.5px;
  font-weight: 600;
  color: #333333;
  margin-top: 8px;
  line-height: 1.35;
}

/* Video Stories Playlist */
.ad-video-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.ad-video-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ad-border-light);
}

.ad-video-item-thumb {
  position: relative;
  width: 90px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

.ad-video-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-video-item-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(196, 22, 28, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.ad-video-item-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #222222;
  margin: 0;
}

/* SMS Alert Box */
.ad-sms-alert-box {
  background: var(--ad-red);
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 4px;
  text-align: center;
  margin-top: 18px;
}

.ad-sms-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.ad-sms-desc {
  font-size: 12.5px;
  font-weight: 500;
}

/* ==========================================================================
   CATEGORY SECTIONS (Full Width Rows)
   ========================================================================== */
.ad-category-block {
  margin-top: 44px;
  border-top: 1px solid var(--ad-border-light);
  padding-top: 24px;
}

.ad-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2.5px solid var(--ad-red);
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.ad-block-header h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  color: var(--ad-ink);
}

.ad-block-header .ad-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ad-red);
}

/* Sports Layout */
.ad-sports-grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ad-sports-hero {
  border: 1px solid var(--ad-border-light);
  padding: 14px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 100%;
}

.ad-sports-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.ad-sports-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 10px;
  display: block;
}

.ad-sports-hero h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #111111;
}

.ad-sports-hero p {
  font-size: 13.5px;
  color: var(--ad-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.ad-sports-hero .ad-date {
  font-size: 11.5px;
  color: var(--ad-light-muted);
}

.ad-sports-compact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.ad-sports-compact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ad-border-light);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ad-sports-compact-item img {
  width: 85px;
  height: 58px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.ad-sports-compact-item h4 {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-sports-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--ad-border-light);
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  width: 100%;
}

.ad-sports-footer-links a:hover {
  color: var(--ad-red);
}

/* Category Grid (Sci/Tech, Entertainment, Other) */
.ad-split-grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ad-split-hero {
  border: 1px solid var(--ad-border-light);
  padding: 14px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 100%;
}

.ad-split-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.ad-split-hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 10px;
  display: block;
}

.ad-split-hero h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #111111;
}

.ad-split-hero p {
  font-size: 13.5px;
  color: var(--ad-muted);
  line-height: 1.5;
  margin: 0 0 8px;
}

.ad-six-grid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ad-six-card {
  border: 1px solid var(--ad-border-light);
  padding: 10px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  max-width: 100%;
}

.ad-six-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.ad-six-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 8px;
  display: block;
}

.ad-six-card h4 {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #222222;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ad-footer {
  margin-top: 48px;
  border-top: 3.5px solid var(--ad-red);
  background: #ffffff;
  padding-top: 28px;
}

.ad-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ad-border-light);
}

.ad-footer-brand img {
  height: 50px;
}

.ad-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: bold;
}

.ad-footer-apps {
  display: flex;
  gap: 10px;
}

.ad-footer-apps img {
  height: 34px;
}

.ad-footer-cols {
  margin-top: 0;
  margin-bottom: 0;
  padding: 28px 0;
  font-size: 13px;
}

.ad-footer-cols h5 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ad-footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ad-footer-cols li {
  margin-bottom: 8px;
}

.ad-footer-cols a {
  color: var(--ad-muted);
}

.ad-footer-cols a:hover {
  color: var(--ad-red);
}

.ad-footer-contact p {
  color: var(--ad-muted);
  line-height: 1.65;
  margin: 0 0 8px;
}

.ad-footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #888888;
  border-top: 1px solid var(--ad-border-light);
  padding: 18px 0 10px;
}

/* Floating Scroll-to-Top Button */
.ad-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ad-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.ad-scroll-top:hover {
  transform: translateY(-3px);
  background: var(--ad-red-dark);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1199.98px) {
  .ad-wrapper {
    max-width: 100%;
    padding: 0 16px 24px;
  }
}

@media (max-width: 991.98px) {
  .ad-top-network-inner {
    justify-content: flex-start;
    padding: 0 10px;
  }
  .ad-header-right {
    align-items: stretch;
  }
  .ad-header-meta {
    justify-content: space-between;
    width: 100%;
  }
  .ad-social-row {
    justify-content: space-between;
  }
  .ad-dual-banners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ad-wrapper {
    padding: 0 12px 20px;
    overflow-x: hidden;
  }
  .ad-lead-headline {
    font-size: 21px;
  }
  .ad-block-header h2 {
    font-size: 20px;
  }
  .ad-story-thumb {
    width: 95px;
    height: 65px;
  }
  .ad-social-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .ad-social-icons-group {
    justify-content: center;
  }
  .ad-header-actions-group {
    justify-content: space-between;
    width: 100%;
  }
  .ad-search-form {
    flex: 1;
    display: flex !important;
  }
  .ad-search-form input[type="search"] {
    width: 100% !important;
  }
  .ad-sports-grid,
  .ad-split-grid,
  .ad-main-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .ad-top-ads-bar {
    gap: 10px;
    margin: 10px 0 16px;
  }
  .ad-banner-strip {
    border-radius: 3px;
    background: #f8fafc;
  }
  .ad-banner-strip img,
  .ad-banner-strip .ad-slot img {
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: 85px !important;
    object-fit: cover !important;
  }
  .ad-dual-banners {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .ad-dual-banners .ad-banner-strip img,
  .ad-dual-banners .ad-slot img {
    width: 100% !important;
    height: auto !important;
    min-height: 48px !important;
    max-height: 85px !important;
    object-fit: cover !important;
  }
  .ad-nav-maroon {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px;
  }
  .ad-nav-maroon-links {
    gap: 12px;
    font-size: 11px;
  }
  .ad-nav-maroon-hotline {
    font-size: 11px;
  }
}

@media (max-width: 575.98px) {
  .ad-header-brand span:first-child {
    font-size: 22px !important;
  }
  .ad-story-thumb {
    width: 85px;
    height: 58px;
  }
  .ad-app-promo-banner,
  .ad-facebook-banner,
  .ad-whatsapp-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
  }
  .ad-app-promo-left,
  .ad-fb-left,
  .ad-wa-left {
    justify-content: center;
  }
  .ad-app-promo-badges {
    justify-content: center;
  }
  .ad-fb-btn,
  .ad-wa-btn {
    text-align: center;
  }
  .sticky-ad {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
  .sticky-ad img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 60px !important;
  }
}

/* ==========================================================================
   Ada Derana Category & Listing Pages ("Not the Large" Broadsheet Layout)
   ========================================================================== */
.ad-listing-page {
  width: 100%;
  margin-top: 6px;
}

.ad-section-header {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  margin-bottom: 18px;
}

.ad-section-title {
  color: var(--ad-red, #c4161c);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
}

/* --- Top 2 Lead Stories Grid --- */
.ad-top-leads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}

.ad-lead-card {
  display: flex;
  flex-direction: column;
}

.ad-lead-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
}

.ad-lead-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ad-lead-card:hover .ad-lead-card-media img {
  transform: scale(1.02);
}

.ad-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(196, 22, 28, 0.92);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding-left: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.ad-gallery-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
}

.ad-lead-card-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
}

.ad-lead-card-title a {
  color: #111111;
  text-decoration: none;
}

.ad-lead-card-title a:hover {
  color: var(--ad-red, #c4161c);
}

.ad-lead-card-summary {
  font-size: 13px;
  color: #555555;
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-lead-card-meta,
.ad-card-time {
  font-size: 11.5px;
  color: #888888;
  font-weight: 500;
}

/* --- River of News (Horizontal Stream Rows) --- */
.ad-stream-feed {
  display: flex;
  flex-direction: column;
}

.ad-stream-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #ebebeb;
  transition: background 0.15s ease;
}

.ad-stream-row:last-child {
  border-bottom: none;
}

.ad-stream-thumb {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 92px;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 2px;
  display: block;
}

.ad-stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.ad-stream-row:hover .ad-stream-thumb img {
  transform: scale(1.03);
}

.ad-play-badge-sm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: rgba(196, 22, 28, 0.92);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding-left: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.ad-gallery-badge-sm {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
}

.ad-stream-content {
  flex: 1;
  min-width: 0;
}

.ad-stream-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
}

.ad-stream-title a {
  color: #111111;
  text-decoration: none;
}

.ad-stream-title a:hover {
  color: var(--ad-red, #c4161c);
}

.ad-stream-summary {
  font-size: 12.5px;
  color: #555555;
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-stream-meta {
  font-size: 11px;
  color: #888888;
}

/* --- Right Sidebar: Video Stories Widget --- */
.ad-video-widget {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  border-radius: 2px;
}

.ad-widget-header {
  border-bottom: 2px solid #111111;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.ad-widget-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  margin: 0;
  text-transform: capitalize;
  font-family: Arial, Helvetica, sans-serif;
}

.ad-video-featured {
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 12px;
}

.ad-video-featured-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background: #111;
  margin-bottom: 8px;
}

.ad-video-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.ad-video-featured:hover .ad-video-featured-media img {
  transform: scale(1.02);
}

.ad-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(220, 20, 20, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ad-video-featured:hover .ad-video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e60000;
}

.ad-video-featured-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.ad-video-featured-title a {
  color: #111;
}

.ad-video-featured-title a:hover {
  color: var(--ad-red, #c4161c);
}

.ad-video-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ad-video-stream-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f5f5f5;
}

.ad-video-stream-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ad-video-stream-thumb {
  flex-shrink: 0;
  width: 75px;
  height: 50px;
  overflow: hidden;
  border-radius: 2px;
  background: #eee;
}

.ad-video-stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-video-stream-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-video-stream-title:hover {
  color: var(--ad-red, #c4161c);
}

/* --- Pagination Component --- */
.ad-pagination-container {
  margin: 24px 0 16px;
  display: flex;
  align-items: center;
}

.ad-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
}

.ad-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  min-width: 28px;
  height: 28px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.ad-page-link:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

.ad-page-link.active {
  background: var(--ad-red, #c4161c) !important;
  border-color: var(--ad-red, #c4161c) !important;
  color: #ffffff !important;
}

.ad-page-first,
.ad-page-prev,
.ad-page-next {
  font-size: 11.5px;
  padding: 4px 12px;
}

.ad-page-ellipsis {
  padding: 0 4px;
  color: #9ca3af;
}

/* --- App & Facebook Promo Bar --- */
.ad-promo-strip {
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ad-app-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 3px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ad-app-box-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #333;
}

.ad-app-brand-badge {
  background: #c4161c;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.ad-app-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-fb-bar {
  background: #1877f2;
  color: #ffffff !important;
  border-radius: 3px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s ease;
}

.ad-fb-bar:hover {
  background: #1464cc;
}

.ad-fb-badge {
  background: #ffffff;
  color: #1877f2;
  font-weight: 900;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 3px;
  letter-spacing: -0.5px;
}

/* --- Empty state & responsive --- */
.ad-empty-state {
  padding: 48px 24px;
  text-align: center;
  background: #fafafa;
  border-radius: 4px;
  margin: 20px 0;
}

.ad-empty-state h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 8px;
}

.ad-btn-back {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: var(--ad-red, #c4161c);
  color: #fff !important;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .ad-top-leads-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ad-stream-thumb {
    width: 105px;
    height: 72px;
  }
  .ad-stream-title {
    font-size: 14px;
  }
  .ad-stream-summary {
    display: none;
  }
  .ad-app-box {
    justify-content: center;
    text-align: center;
  }
  .ad-fb-bar {
    justify-content: center;
    gap: 12px;
  }
}


