/* ==========================================================================
   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;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.ad-social-icon svg {
  display: block;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.ad-social-icon:hover {
  background: var(--ad-red, #c4161c);
  color: #fff;
  transform: translateY(-1px);
}

.ad-social-icon:hover svg {
  transform: scale(1.12);
}

.ad-social-icon.social-fb:hover { background: #1877f2; color: #fff; }
.ad-social-icon.social-x:hover { background: #000000; color: #fff; }
.ad-social-icon.social-yt:hover { background: #ff0000; color: #fff; }
.ad-social-icon.social-ig:hover { background: #e1306c; color: #fff; }
.ad-social-icon.social-wa:hover { background: #25d366; color: #fff; }
.ad-social-icon.social-tg:hover { background: #229ed9; color: #fff; }
.ad-social-icon.social-rss:hover { background: #f26522; 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,
.ad-slot.placement-header_728x90 img,
.ad-slot.placement-top_left img,
.ad-slot.placement-top_right img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 55px;
  max-height: 110px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px;
}

.ad-dual-banners .ad-banner-strip img,
.ad-dual-banners .ad-slot img {
  max-height: 110px !important;
  object-fit: cover !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;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 4px;
}

.ad-slot.placement-header_728x90.has-loop .ad-slide img,
.ad-slot.placement-top_left.has-loop .ad-slide img,
.ad-slot.placement-top_right.has-loop .ad-slide img {
  max-height: 110px !important;
  min-height: 55px;
}

.ad-slot.placement-footer.has-loop .ad-slide img,
.ad-slot.placement-homepage_mid_728x90.has-loop .ad-slide img,
.ad-slot.placement-inline_feed.has-loop .ad-slide img {
  max-height: 140px !important;
  min-height: 60px;
}

.ad-slot.placement-sticky.has-loop .ad-slide img {
  max-height: 100px !important;
  min-height: 50px;
}

.ad-slot.placement-sidebar_300x250.has-loop .ad-slide img {
  max-width: 300px !important;
  max-height: 250px !important;
  object-fit: contain !important;
}

.ad-slot.placement-sidebar_300x600.has-loop .ad-slide img {
  max-width: 300px !important;
  max-height: 600px !important;
  object-fit: contain !important;
}

/* ==========================================================================
   Universal Ad Slot Fitting (Section Dividers, Feed, Footer, Sidebar, Sticky)
   ========================================================================== */
.ad-slot.placement-homepage_mid_728x90:not(.ad-slot-preview),
.ad-slot.placement-footer:not(.ad-slot-preview),
.ad-slot.placement-inline_feed:not(.ad-slot-preview),
.ad-slot.placement-sidebar_300x250:not(.ad-slot-preview),
.ad-slot.placement-sidebar_300x600:not(.ad-slot-preview) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  overflow: hidden;
  border-radius: 4px;
}

.ad-slot.placement-homepage_mid_728x90:not(.ad-slot-preview) > span,
.ad-slot.placement-footer:not(.ad-slot-preview) > span,
.ad-slot.placement-inline_feed:not(.ad-slot-preview) > span,
.ad-slot.placement-sidebar_300x250:not(.ad-slot-preview) > span,
.ad-slot.placement-sidebar_300x600:not(.ad-slot-preview) > span {
  display: none !important;
}

.ad-slot.placement-homepage_mid_728x90 .ad-slot-inner,
.ad-slot.placement-footer .ad-slot-inner,
.ad-slot.placement-inline_feed .ad-slot-inner,
.ad-slot.placement-homepage_mid_728x90 a,
.ad-slot.placement-footer a,
.ad-slot.placement-inline_feed a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.ad-slot.placement-sidebar_300x250 .ad-slot-inner,
.ad-slot.placement-sidebar_300x250 a,
.ad-slot.placement-sidebar_300x600 .ad-slot-inner,
.ad-slot.placement-sidebar_300x600 a {
  display: inline-block !important;
  width: 100% !important;
  max-width: 300px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.ad-slot.placement-homepage_mid_728x90 img,
.ad-slot.placement-footer img,
.ad-slot.placement-inline_feed img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 140px !important;
  min-height: 60px;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 4px;
}

.ad-slot.placement-sidebar_300x250 img {
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 250px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 4px;
}

.ad-slot.placement-sidebar_300x600 img {
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  max-height: 600px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 4px;
}

/* Sticky Bottom Ad */
.sticky-ad {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(768px, 95%) !important;
  z-index: 1040 !important;
  background: #ffffff !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25) !important;
  border-radius: 6px 6px 0 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sticky-ad .ad-slot:not(.ad-slot-preview),
.ad-slot.placement-sticky:not(.ad-slot-preview) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sticky-ad .ad-slot > span,
.ad-slot.placement-sticky:not(.ad-slot-preview) > span {
  display: none !important;
}

.sticky-ad .ad-slot-inner,
.sticky-ad a,
.ad-slot.placement-sticky a {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

.sticky-ad img,
.sticky-ad .ad-slot img,
.ad-slot.placement-sticky img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100px !important;
  min-height: 50px;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
}

/* 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;
  }
}

/* ==========================================================================
   Ada Derana Inside Article Page Layout
   ========================================================================== */
.ad-article-layout-page {
  width: 100%;
  margin-top: 6px;
}

.ad-article-content-card {
  width: 100%;
}

.ad-article-category-wrap {
  margin-bottom: 8px;
}

.ad-article-category-badge {
  display: inline-block;
  background: #fdf2f2;
  color: #c4161c;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid #fecaca;
  text-decoration: none;
}

.ad-article-category-badge:hover {
  background: #c4161c;
  color: #ffffff;
}

.ad-article-headline {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  color: #111111;
  margin: 0 0 12px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.3px;
}

.ad-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ebebeb;
}

.ad-article-meta-time {
  font-size: 12px;
  color: #777777;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ad-meta-dot {
  color: #bbb;
}

.ad-article-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Google News Pill */
.ad-google-news-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: #ffffff;
  color: #3c4043;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ad-google-news-pill:hover {
  background: #f8f9fa;
  border-color: #bdc1c6;
  color: #202124;
}

/* Share Dropdown */
.ad-share-wrap {
  position: relative;
}

.ad-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border: 1px solid #dadce0;
  border-radius: 16px;
  background: #ffffff;
  color: #3c4043;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ad-share-btn:hover {
  background: #f8f9fa;
  border-color: #bdc1c6;
}

.ad-share-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border-radius: 4px;
  min-width: 150px;
  z-index: 100;
  padding: 6px 0;
}

.ad-share-dropdown-menu.show {
  display: block;
}

.ad-share-dropdown-menu a,
.ad-share-dropdown-menu button {
  display: block;
  width: 100%;
  padding: 8px 16px;
  font-size: 12.5px;
  color: #333;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.ad-share-dropdown-menu a:hover,
.ad-share-dropdown-menu button:hover {
  background: #f5f5f5;
  color: #c4161c;
}

/* Featured Cover Image */
.ad-article-featured-image {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #f1f5f9;
}

.ad-article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* In-article banner & FB promo */
.ad-article-infeed-ad {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  line-height: normal;
  margin: 14px 0 !important;
  border-radius: 4px;
}

/* Ensure the ad-slot wrapper inside in-article placement fills the full article area seamlessly */
.ad-article-infeed-ad .ad-slot,
.ad-slot.placement-in_article:not(.ad-slot-preview) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  overflow: hidden;
  border-radius: 4px;
}

.ad-article-infeed-ad .ad-slot > span,
.ad-slot.placement-in_article:not(.ad-slot-preview) > span {
  display: none !important;
}

.ad-article-infeed-ad .ad-slot-inner,
.ad-slot.placement-in_article .ad-slot-inner,
.ad-article-infeed-ad a,
.ad-slot.placement-in_article a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

/* Image fills the entire article area edge-to-edge */
.ad-article-infeed-ad img,
.ad-article-infeed-ad .ad-slot img,
.ad-slot.placement-in_article img,
.ad-article-infeed-ad a img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 320px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px;
}

/* Multi-ad carousel / slideshow support in article */
.ad-article-infeed-ad .ad-slot.has-loop,
.ad-slot.placement-in_article.has-loop {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.ad-article-infeed-ad .ad-slot.has-loop .ad-slide,
.ad-slot.placement-in_article.has-loop .ad-slide {
  width: 100% !important;
}

.ad-article-infeed-ad .ad-slot.has-loop .ad-slide img,
.ad-slot.placement-in_article.has-loop .ad-slide img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 320px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 4px;
}

/* Support for card / native / text formats if used in-article */
.ad-article-infeed-ad .ad-card,
.ad-slot.placement-in_article .ad-card {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  border-radius: 4px;
}

.ad-article-infeed-ad video,
.ad-slot.placement-in_article video {
  width: 100% !important;
  max-height: 400px !important;
  display: block !important;
  border-radius: 4px;
}

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

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

.ad-afb-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-afb-join {
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 3px;
}

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

/* Article Body Typography */
.ad-article-lead-summary {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #333333;
  margin-bottom: 16px;
}

.ad-article-content-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: #222222;
  margin-top: 14px;
  font-family: Arial, Helvetica, sans-serif;
}

.ad-article-content-body p {
  margin: 0 0 16px;
}

.ad-article-content-body h2,
.ad-article-content-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: #111;
  margin: 20px 0 10px;
}

.ad-article-content-body blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 4px solid #c4161c;
  background: #fdf8f8;
  font-style: italic;
  color: #444;
}

.ad-article-content-body ul,
.ad-article-content-body ol {
  margin: 12px 0 16px 24px;
}

.ad-article-content-body li {
  margin-bottom: 6px;
}

.ad-article-source-attribution {
  font-size: 13px;
  color: #666666;
  border-top: 1px solid #eeeeee;
  padding-top: 12px;
}

.ad-article-source-attribution p {
  margin: 0;
}

/* Tags */
.ad-article-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ad-tag-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ad-tag-pill:hover {
  background: #c4161c;
  color: #ffffff;
}

/* WhatsApp Channel Banner */
.ad-article-wa-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #075e54;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  transition: background 0.15s ease;
}

.ad-article-wa-banner:hover {
  background: #128c7e;
}

.ad-awa-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-awa-join {
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 3px;
}

.ad-awa-logo {
  background: #25d366;
  color: #ffffff;
  font-weight: 900;
  font-size: 13.5px;
  padding: 2px 10px;
  border-radius: 3px;
}

/* Most Read Widget in Sidebar */
.ad-most-read-widget {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 12px 14px;
  border-radius: 2px;
}

.ad-most-read-list {
  display: flex;
  flex-direction: column;
}

.ad-most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f2f2f2;
}

.ad-most-read-item:last-child {
  border-bottom: none;
}

.ad-most-read-thumb {
  position: relative;
  flex-shrink: 0;
  width: 75px;
  height: 52px;
  border-radius: 2px;
  overflow: hidden;
  background: #eee;
  display: block;
}

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

.ad-most-read-item:hover .ad-most-read-thumb img {
  transform: scale(1.04);
}

.ad-mini-media-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(196, 22, 28, 0.9);
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 2px;
}

.ad-most-read-info {
  flex: 1;
  min-width: 0;
}

.ad-most-read-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 3px;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-most-read-title a {
  color: #111;
}

.ad-most-read-title a:hover {
  color: #c4161c;
}

.ad-most-read-time {
  font-size: 10.5px;
  color: #888;
}

@media (max-width: 767.98px) {
  .ad-article-headline {
    font-size: 22px;
  }
  .ad-article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ad-article-actions {
    width: 100%;
    justify-content: space-between;
  }
  .ad-article-fb-banner,
  .ad-article-wa-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ==========================================================================
   Interactive Photo Gallery Showcase & Fullscreen Lightbox
   ========================================================================== */
.ad-article-gallery {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 28px 0;
}

.ad-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 2px solid #c4161c;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

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

.ad-gallery-icon {
  font-size: 18px;
}

.ad-gallery-heading {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.ad-gallery-count {
  background: #fdf2f2;
  color: #c4161c;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #fecaca;
}

.ad-gallery-hint {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Main Showcase Stage */
.ad-gallery-stage {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #090d16;
  margin-bottom: 14px;
}

.ad-gallery-stage-viewport {
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 440px;
  background: #090d16;
}

.ad-gallery-stage-viewport img {
  max-width: 100%;
  max-height: 440px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.ad-gallery-stage-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.ad-gallery-stage-counter {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ad-gallery-zoom-btn {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.15s ease;
}

.ad-gallery-zoom-btn:hover {
  background: #c4161c;
}

.ad-gallery-stage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  color: #ffffff;
  padding: 24px 16px 12px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  pointer-events: none;
}

.ad-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: all 0.2s ease;
}

.ad-gallery-nav-btn.prev {
  left: 12px;
}

.ad-gallery-nav-btn.next {
  right: 12px;
}

.ad-gallery-nav-btn:hover {
  background: #c4161c;
  border-color: #c4161c;
  transform: translateY(-50%) scale(1.1);
}

/* Thumbnail Strip / Grid */
.ad-gallery-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.ad-gallery-thumb-item {
  position: relative;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

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

.ad-gallery-thumb-item:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ad-gallery-thumb-item.active {
  border-color: #c4161c;
  box-shadow: 0 0 0 2px rgba(196, 22, 28, 0.35);
}

.ad-gallery-thumb-num {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
}

/* Fullscreen Lightbox Modal */
.ad-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: pointer;
}

.ad-lightbox-wrapper {
  position: relative;
  z-index: 10;
  width: 94vw;
  max-width: 1100px;
  height: 92vh;
  display: flex;
  flex-direction: column;
}

.ad-lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.ad-lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.ad-lightbox-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.ad-lightbox-close-btn:hover {
  background: #c4161c;
}

.ad-lightbox-stage-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
}

.ad-lightbox-photo-box {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ad-lightbox-photo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.ad-lightbox-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ad-lightbox-arrow-btn:hover {
  background: #c4161c;
  border-color: #c4161c;
  transform: scale(1.1);
}

.ad-lightbox-caption-bar {
  text-align: center;
  color: #f1f5f9;
  font-size: 14px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  margin-top: 8px;
  min-height: 40px;
}

@media (max-width: 767.98px) {
  .ad-gallery-stage-viewport {
    height: 280px;
  }
  .ad-gallery-stage-viewport img {
    max-height: 280px;
  }
  .ad-gallery-thumbs-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
  }
  .ad-lightbox-wrapper {
    width: 98vw;
    height: 96vh;
  }
  .ad-lightbox-arrow-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}




