/* AllNewsPlatform - Premium Newsroom Modern Stylesheet */
:root {
  --primary: #0EA5E9;       /* Sky Blue */
  --primary-dark: #0284C7;
  --primary-light: #E0F2FE;
  --accent: #EF233C;        /* News Red */
  --accent-dark: #D90429;
  --dark: #0F172A;          /* Slate Dark */
  --dark-soft: #1E293B;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

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

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

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

/* TOP BAR */
.top-bar {
  background: var(--dark);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #1E293B;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-date {
  font-weight: 500;
  color: #CBD5E1;
}

.top-edition {
  display: inline-block;
  background: rgba(14, 165, 233, 0.2);
  color: #38BDF8;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social-links {
  display: flex;
  gap: 12px;
}

.top-social-links a {
  color: #94A3B8;
  font-size: 14px;
}

.top-social-links a:hover {
  color: #38BDF8;
}

.admin-link-btn {
  background: var(--primary);
  color: #FFFFFF !important;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* HEADER & BRAND */
.site-header {
  background: #001F3F; /* Navy Blue */
  border-bottom: 2px solid #001226;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.brand-text h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF; /* Crisp white for ALLNEWS */
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-text h1 span {
  color: #800000; /* Dark Red */
  background: #FFFFFF;
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 3px;
  font-weight: 900;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.brand-tagline {
  font-size: 11px;
  color: #CBD5E1; /* Light slate on Navy Blue */
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle-btn, .mobile-menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  font-size: 18px;
  transition: all 0.2s ease;
}

.search-toggle-btn:hover, .mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-push-subscribe {
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.5);
  color: #38BDF8;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-push-subscribe:hover {
  background: #0EA5E9;
  color: #FFFFFF;
  border-color: #0EA5E9;
}

/* RESPONSIVE VISIBILITY UTILITIES */
@media (max-width: 1023px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

/* MOBILE HORIZONTAL CATEGORY QUICK-RIBBON */
.mobile-cat-ribbon {
  background: #800000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid #550000;
  overflow: hidden;
}

.mobile-cat-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 7px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-cat-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-cat-pill:hover,
.mobile-cat-pill.active {
  background: #FFFFFF;
  color: #800000 !important;
  border-color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* PRIMARY NAVIGATION */
.nav-bar {
  background: #800000; /* Dark Red */
  border-bottom: 3px solid #550000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: none;
}

.nav-bar.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .nav-bar {
    display: block !important;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  overflow-x: auto;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .nav-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #6B0000;
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    white-space: normal;
    padding: 12px 0;
  }
  .nav-links li a {
    padding: 10px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: none;
    font-size: 13px;
  }
}

.nav-links li a {
  display: block;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-links li a:hover, .nav-links li a.active {
  background: #000080; /* Navy Blue */
  color: #FFFFFF !important;
  border-bottom-color: #38BDF8;
}

/* BREAKING NEWS TICKER */
.breaking-ticker {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  margin-bottom: 20px;
}

.ticker-inner {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.ticker-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ticker-marquee {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 16px;
}

.ticker-list {
  display: inline-flex;
  gap: 32px;
  animation: tickerSlide 35s linear infinite;
}

.ticker-list:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MAIN LAYOUT (Content 70-75% Desktop, Sidebar 25-30%) */
.layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .layout-grid {
    grid-template-columns: minmax(0, 7.2fr) minmax(0, 2.8fr);
  }
}

.content-area {
  min-width: 0;
}

.sidebar-area {
  min-width: 0;
}

/* HOMEPAGE HERO SECTION */
.hero-section {
  margin-bottom: 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 22px;
  }
}

/* Hero Main Card & Auto-Rotating Slider */
.hero-main-card {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-height: 430px;
  height: 100%;
}

.hero-slides-track {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-slide {
  position: relative;
  display: none;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 430px;
}

.hero-slide.active {
  display: flex;
  animation: heroSlideFade 0.45s ease;
}

@keyframes heroSlideFade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hero-live-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #38BDF8;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 3px 9px;
  border-radius: 20px;
}

.hero-slider-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-nav-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-nav-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 18px;
  border-radius: 6px;
  background: #38BDF8;
}

.hero-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}

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

.hero-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.96) 100%);
  z-index: 1;
}

.hero-main-content {
  position: relative;
  z-index: 2;
  padding: 56px 26px 26px;
  color: #FFFFFF;
  width: 100%;
}

.badge-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.hero-main-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.hero-main-title a {
  color: #FFFFFF !important;
  text-decoration: none;
}

.hero-main-title a:hover {
  color: #38BDF8 !important;
}

@media (min-width: 1024px) {
  .hero-main-title {
    font-size: 28px;
  }
}

.hero-main-excerpt {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #94A3B8;
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Secondary Hero Cards */
.hero-secondary-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) and (max-width: 991px) {
  .hero-secondary-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-sub-card {
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-sub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-sub-img-wrap {
  width: 125px;
  min-height: 98px;
  flex-shrink: 0;
  position: relative;
  background: #E2E8F0;
  display: block;
}

.hero-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-sub-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.hero-sub-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-sub-meta {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

/* 3 PROFESSIONAL BLOG POST LAYOUTS */

/* Layout 1: Featured News Card */
.card-featured {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-featured-img-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
}

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

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

.card-featured-content {
  padding: 20px;
}

.card-featured-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--dark);
  margin: 10px 0;
}

.card-featured-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Layout 2: Horizontal News Card */
.card-horizontal {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  transition: transform 0.2s ease;
}

@media (min-width: 640px) {
  .card-horizontal {
    flex-direction: row;
  }
}

.card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-horizontal-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .card-horizontal-img-wrap {
    width: 220px;
    height: auto;
  }
}

.card-horizontal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-horizontal-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.card-horizontal-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin: 8px 0;
}

.card-horizontal-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Layout 3: Magazine Grid Card */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (min-width: 640px) {
  .magazine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .magazine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Lead Story Showcase (Category Page Top Hero) */
.card-lead-story {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .card-lead-story {
    grid-template-columns: 1.15fr 1fr !important;
  }
}

.card-lead-story:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.12);
}

.card-lead-story:hover .lead-story-img {
  transform: scale(1.04);
}

/* Card Category Floating Badge */
.card-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 9px;
  border-radius: 4px;
  color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.card-magazine {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-magazine:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  border-color: #CBD5E1;
}

.card-magazine-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 180px;
  overflow: hidden;
  background: #E2E8F0;
}

.card-magazine-img-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.card-magazine:hover .card-magazine-img {
  transform: scale(1.06);
}

.card-magazine-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-magazine-title {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  margin: 6px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-magazine-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.card-magazine-title a:hover, .card-magazine:hover .card-magazine-title a {
  color: var(--primary);
}

.card-magazine-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
  border-top: 1px solid #F1F5F9;
  padding-top: 12px;
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* SIDEBAR & WIDGETS */
.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3px solid var(--primary);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.widget-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F1F5F9;
  position: relative;
  letter-spacing: -0.2px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Trending List Widget */
.trending-list {
  list-style: none;
}

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.trending-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-number {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.trending-item:nth-child(1) .trending-number {
  background: linear-gradient(135deg, #EF233C, #B91C1C);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(239, 35, 60, 0.35);
}

.trending-item:nth-child(2) .trending-number {
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35);
}

.trending-item:nth-child(3) .trending-number {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
}

.trending-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.trending-title:hover {
  color: var(--primary);
}

/* Popular Categories Widget */
.category-list {
  list-style: none;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  border-bottom: 1px solid #F8FAFC;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.category-item:hover {
  background: #F8FAFC;
  transform: translateX(4px);
}

.category-count {
  background: #EFF6FF;
  color: #0284C7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  border: 1px solid #DBEAFE;
}

/* Newsletter Widget */
.newsletter-box {
  background: linear-gradient(135deg, #001F3F 0%, #0F172A 100%);
  border-top: 3px solid #800000;
  border-radius: 12px;
  color: #FFFFFF;
}

.newsletter-box .widget-title {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.newsletter-box .widget-title::after {
  background: #38BDF8;
}

.newsletter-box p {
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 14px;
  line-height: 1.5;
}

.newsletter-form input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #800000, #B91C1C);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(128, 0, 0, 0.35);
}

.newsletter-form button:hover {
  background: #990000;
  box-shadow: 0 5px 15px rgba(128, 0, 0, 0.5);
}

/* Social Follow Widget */
.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.social-whatsapp { background: #25D366; }
.social-twitter  { background: #0F172A; }
.social-facebook { background: #1877F2; }
.social-telegram { background: #229ED9; }

/* Tag Cloud Widget */
.tags-cloud-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  background: #F1F5F9;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
}

/* AD PLACEMENT PLACEHOLDERS & STYLING */
.ad-slot-wrapper {
  margin: 20px 0;
  text-align: center;
  clear: both;
}

.ad-placeholder-box {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 90px;
}

.ad-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94A3B8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ad-content-demo {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

/* SINGLE ARTICLE PAGE */
.article-header {
  margin-bottom: 24px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

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

.article-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 36px;
  }
}

.article-lead {
  font-size: 18px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #E2E8F0;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.article-published-date {
  font-size: 12px;
  color: var(--text-muted);
}

.reading-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.font-btn {
  background: #F1F5F9;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.article-featured-media {
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-featured-media figcaption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: #F1F5F9;
}

/* Rich Article Content */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: #1E293B;
}

.article-body > p:first-of-type::first-letter {
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  margin-right: 0.65rem;
  margin-top: 0.15rem;
  font-family: Georgia, serif;
  font-weight: 800;
  color: var(--primary);
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 16px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 14px;
  line-height: 1.35;
}

.article-body blockquote {
  position: relative;
  border-left: 4px solid var(--primary);
  padding: 18px 24px;
  background: #F0F9FF;
  font-style: italic;
  font-size: 19px;
  color: #0369A1;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}

.editorial-disclaimer-box, .job-highlights-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 26px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

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

.article-body li {
  margin-bottom: 8px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-body th, .article-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-body th {
  background: #F8FAFC;
  font-weight: 700;
}

/* SHARE CONTROLS */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF !important;
  cursor: pointer;
  border: none;
}

.btn-whatsapp { background: #25D366; }
.btn-twitter  { background: #0F172A; }
.btn-facebook { background: #1877F2; }
.btn-telegram { background: #229ED9; }
.btn-linkedin { background: #0A66C2; }
.btn-copylink { background: #64748B; }

/* Mobile Floating Share Bar */
.floating-mobile-share {
  position: fixed;
  bottom: 60px;
  right: 16px;
  z-index: 990;
  display: flex;
}

@media (min-width: 1024px) {
  .floating-mobile-share {
    display: none;
  }
}

.fab-share {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 20px;
  border: none;
  cursor: pointer;
}

/* REACTIONS BOX */
.reactions-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 32px 0;
}

.reactions-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.reactions-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reaction-btn {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.reaction-btn:hover, .reaction-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.reaction-icon {
  font-size: 18px;
}

/* COMMENTS SECTION */
.comments-section {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 32px 0;
}

.comments-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.comment-form {
  margin-bottom: 32px;
  background: #F8FAFC;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background: #FFFFFF;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.btn-submit-comment {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit-comment:hover {
  background: var(--primary-dark);
}

.comments-list {
  list-style: none;
}

.comment-item {
  border-bottom: 1px solid #F1F5F9;
  padding: 18px 0;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commenter-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.reply-target-tag {
  font-size: 11px;
  font-weight: 700;
  color: #0284C7;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 12px;
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  margin: 6px 0 10px;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.btn-comment-react {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-comment-react:hover {
  background: #E2E8F0;
  color: var(--dark);
  transform: translateY(-1px);
}

.btn-comment-react.active {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
  font-weight: 800;
}

.btn-comment-reply {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.btn-comment-reply:hover {
  color: var(--primary);
  background: #F0F9FF;
}

.inline-reply-container {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.comment-replies {
  margin-left: 20px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid #E2E8F0;
}

.comment-reply-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
}

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: #94A3B8;
  padding-top: 48px;
  margin-top: 48px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: #38BDF8;
}

/* FULL-WIDTH DARK RED BOTTOM FOOTER */
.footer-bottom-bar {
  background: #800000; /* Dark Red */
  border-top: 2px solid #550000;
  padding: 18px 0;
  margin-top: 24px;
}

.footer-bottom {
  font-size: 13px;
  font-weight: 700; /* Bold text */
  color: #FFFFFF !important; /* White text */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom div, .footer-bottom span, .footer-bottom p {
  color: #FFFFFF !important;
  font-weight: 700;
}

.footer-credit {
  font-weight: 700;
  color: #FFFFFF !important;
}

.footer-credit a {
  color: #FFFFFF !important;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 4px;
  transition: opacity 0.2s ease;
}

.footer-credit a:hover {
  opacity: 0.85;
}

/* MOBILE BOTTOM NAVIGATION BAR */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.07);
}

@media (min-width: 1024px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-nav-item {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  text-decoration: none;
  gap: 3px;
  letter-spacing: 0.1px;
  transition: color 0.2s ease, transform 0.15s ease;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

.mobile-nav-item .icon {
  font-size: 18px;
  line-height: 1;
}

.mobile-nav-install {
  color: #0284C7;
  font-weight: 800;
}

.mobile-nav-install .icon {
  background: #E0F2FE;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* =========================================================
   MOBILE REFINEMENT & ULTRA-NEAT LAYOUT (< 768px)
   ========================================================= */
@media (max-width: 767px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 1. Mobile Header: Remove Logo Icon, Tagline, and Alert Button & Center Brand Name */
  .brand-logo-img,
  .brand-tagline,
  .btn-push-subscribe {
    display: none !important;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    padding: 10px 0;
    min-height: 54px;
  }

  .brand-wrapper {
    gap: 0;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
  }

  .brand-text h1 {
    font-size: 19px;
    letter-spacing: -0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand-text h1 span {
    font-size: 17px;
    padding: 2px 6px;
    margin-left: 4px;
    border-radius: 4px;
  }

  .header-actions {
    gap: 8px;
    justify-self: end;
  }

  .search-toggle-btn,
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 16px;
  }

  .mobile-menu-toggle.is-active {
    background: var(--accent);
    border-color: var(--accent);
  }

  /* 2. Breaking News Ticker */
  .breaking-ticker {
    padding: 6px 0;
    margin-bottom: 14px;
  }

  .ticker-badge {
    font-size: 10.5px;
    padding: 5px 10px;
  }

  .ticker-item {
    font-size: 12.5px;
  }

  /* 3. Hero Section on Mobile */
  .hero-section {
    margin-bottom: 20px;
  }

  .hero-grid {
    gap: 12px;
  }

  .hero-main-card,
  .hero-slide {
    min-height: 295px;
    border-radius: 12px;
  }

  .hero-slider-controls {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    gap: 6px;
  }

  .hero-main-content {
    padding: 46px 15px 15px;
  }

  .badge-category {
    font-size: 10px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .hero-main-title {
    font-size: 18.5px;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .hero-main-excerpt {
    font-size: 12.5px;
    margin-bottom: 8px;
    -webkit-line-clamp: 2;
  }

  .hero-meta {
    gap: 10px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .hero-secondary-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-sub-card {
    flex-direction: column;
    border-radius: 10px;
  }

  .hero-sub-img-wrap {
    width: 100%;
    height: 100px;
    min-height: 100px;
  }

  .hero-sub-content {
    padding: 9px 10px;
    justify-content: space-between;
  }

  .hero-sub-title {
    font-size: 12.5px;
    line-height: 1.32;
    margin: 4px 0;
    -webkit-line-clamp: 2;
  }

  .hero-sub-meta {
    font-size: 10px;
  }

  /* 4. Section Headers & Content Cards on Mobile */
  .layout-grid {
    gap: 22px;
  }

  .section-header {
    margin-bottom: 14px;
    padding-bottom: 8px;
  }

  .section-title {
    font-size: 16.5px;
    gap: 6px;
  }

  .view-all-link {
    font-size: 12px;
    white-space: nowrap;
  }

  /* Featured Card */
  .card-featured {
    margin-bottom: 14px;
    border-radius: 10px;
  }

  .card-featured-img-wrap {
    height: 185px;
  }

  .card-featured-content {
    padding: 14px;
  }

  .card-featured-title {
    font-size: 17px;
    margin: 6px 0 8px;
  }

  .card-featured-excerpt {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-featured-footer {
    padding-top: 10px;
    font-size: 11px;
  }

  /* Compact Side-by-Side Horizontal Cards on Mobile */
  .card-horizontal {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .card-horizontal-img-wrap {
    width: 110px;
    height: auto;
    min-height: 96px;
  }

  .card-horizontal-content {
    padding: 10px 12px;
  }

  .card-horizontal-title {
    font-size: 14px;
    line-height: 1.35;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-horizontal-excerpt {
    display: none;
  }

  /* Magazine Cards on Mobile */
  .magazine-grid {
    gap: 14px;
    margin-bottom: 20px;
  }

  .card-magazine {
    border-radius: 10px;
  }

  .card-magazine-img-wrap {
    height: 165px;
  }

  .card-magazine-content {
    padding: 14px;
  }

  .card-magazine-title {
    font-size: 15.5px;
    margin: 4px 0 8px;
  }

  .card-magazine-excerpt {
    font-size: 12.5px;
    margin-bottom: 10px;
  }

  /* 5. Category Desk & Single Post Mobile Polish */
  .category-desk-header {
    padding: 16px !important;
    margin-bottom: 18px !important;
  }

  .category-desk-header h1 {
    font-size: 22px !important;
    margin-bottom: 6px !important;
  }

  .category-desk-header p {
    font-size: 13.5px !important;
  }

  .article-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .article-lead {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .article-author-bar {
    padding: 10px 0;
    margin-bottom: 16px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.75;
  }

  .article-body h2 {
    font-size: 20px;
    margin: 24px 0 12px;
  }

  .article-body h3 {
    font-size: 17.5px;
    margin: 20px 0 10px;
  }

  .article-body blockquote {
    padding: 14px 16px;
    font-size: 16px;
    margin: 20px 0;
  }

  .share-bar {
    padding: 12px;
    gap: 6px;
  }

  .share-btn {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .reactions-box,
  .comments-section {
    padding: 16px;
    margin: 22px 0;
  }

  .comment-form {
    padding: 14px;
  }

  .sidebar-widget {
    padding: 16px;
    margin-bottom: 16px;
  }

  .floating-mobile-share {
    bottom: 72px;
    right: 12px;
  }

  .fab-share {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* 6. Footer & Toasts on Mobile */
  .site-footer {
    padding-top: 32px;
    margin-top: 32px;
  }

  .footer-grid {
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 12px;
  }

  .toast-alert {
    left: 12px;
    right: 12px;
    top: 12px;
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* TOAST / ALERTS */
.toast-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--dark);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}

.toast-success { border-left: 4px solid #10B981; }
.toast-error   { border-left: 4px solid var(--accent); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
