:root {
  --news-bg: #f8fafc;
  --news-border: #e2e8f0;
  --news-card: #ffffff;
  --news-muted: #64748b;
  --news-primary: #15803d;
  --news-primary-soft: #dcfce7;
  --news-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  --news-soft: #f1f5f9;
  --news-text: #0f172a;
}

.news-page {
  background: var(--news-bg);
  color: var(--news-text);
  min-height: 100vh;
  padding: 24px max(24px, calc((100vw - 1240px) / 2));
}

.news-shell-header,
.news-footer {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.news-shell-header {
  margin-bottom: 14px;
}

.news-masthead {
  display: grid;
  gap: 4px;
}

.news-masthead span {
  color: var(--news-muted);
  font-size: 0.85rem;
}

.news-brand {
  color: inherit;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.news-nav,
.news-category-nav {
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  overflow: auto;
  padding: 10px 0;
  white-space: nowrap;
}

.news-category-nav {
  border-top: 0;
  color: #334155;
  font-size: 0.9rem;
  margin-top: -16px;
}

.news-nav a,
.news-category-nav a,
.news-primary-link,
.news-sharebar a,
.news-ticker-grid a {
  color: var(--news-primary);
  font-weight: 700;
  text-decoration: none;
}

.news-search input {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
}

.news-hero,
.news-company-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 24px;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-bottom: 24px;
  padding: 20px;
}

.news-hero img,
.news-company-card img,
.news-card img,
.news-article figure img,
.news-story-strip img {
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.news-hero img,
.news-card img {
  aspect-ratio: 16 / 9;
}

.news-hero h1,
.news-titlebar h1,
.news-article h1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 8px 0;
}

.news-titlebar {
  margin-bottom: 24px;
}

.news-titlebar p,
.news-lede,
.news-card p,
.news-hero p,
.news-company-card p {
  color: #475569;
  line-height: 1.6;
}

.news-kicker {
  color: var(--news-primary);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-breaking {
  align-items: center;
  background: #0f172a;
  border-radius: 18px;
  color: #fff;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 12px 16px;
}

.news-front-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr) minmax(260px, 0.55fr);
  margin-bottom: 24px;
}

.news-lead-story,
.news-top-stack,
.news-side-rail section,
.news-epaper-strip,
.news-newsletter,
.news-section-columns > section {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 20px;
  padding: 18px;
}

.news-lead-story {
  display: grid;
  gap: 18px;
  grid-template-rows: auto 1fr;
}

.news-lead-story img {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.news-lead-story h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 8px 0;
}

.news-top-stack,
.news-side-rail,
.news-compact-list {
  display: grid;
  gap: 12px;
}

.news-top-stack a,
.news-side-rail a,
.news-compact-list a {
  border-top: 1px solid var(--news-border);
  color: inherit;
  display: grid;
  gap: 5px;
  padding-top: 12px;
  text-decoration: none;
}

.news-top-stack a:first-of-type,
.news-side-rail a:first-of-type,
.news-compact-list a:first-of-type {
  border-top: 0;
}

.news-top-stack strong,
.news-compact-list strong {
  line-height: 1.25;
}

.news-side-rail section {
  display: grid;
  gap: 10px;
}

.news-section-columns {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-compact-list span,
.news-compact-list em {
  color: var(--news-muted);
  font-size: 0.88rem;
  font-style: normal;
}

.news-epaper-strip,
.news-newsletter {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.news-breaking div {
  display: flex;
  gap: 18px;
  overflow: auto;
  white-space: nowrap;
}

.news-breaking a {
  color: inherit;
  text-decoration: none;
}

.news-featured-grid,
.news-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-module-rail,
.news-publication-grid,
.news-compact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-module-card,
.news-publication-card,
.news-compact-grid a,
.news-story-strip a,
.news-ui-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-module-card:hover,
.news-publication-card:hover,
.news-compact-grid a:hover,
.news-story-strip a:hover,
.news-ui-card:hover {
  border-color: #bbf7d0;
  box-shadow: var(--news-shadow);
  transform: translateY(-1px);
}

.news-module-card span,
.news-publication-card span,
.news-compact-grid span,
.news-ui-card span {
  color: var(--news-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-module-card strong,
.news-publication-card strong,
.news-compact-grid strong,
.news-story-strip strong,
.news-ui-card strong {
  font-size: 1rem;
  line-height: 1.2;
}

.news-module-card p,
.news-compact-grid p,
.news-ui-card p {
  color: var(--news-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.news-ui-card {
  min-height: 132px;
}

.news-ui-card img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.news-ui-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-premium-dashboard,
.news-premium-split,
.news-epaper-workspace,
.news-reader-dashboard,
.news-checkout-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.news-premium-dashboard {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.news-premium-split {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-dashboard-panel,
.news-reader-dashboard-card,
.news-plan-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 20px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.news-dashboard-hero {
  margin: 0;
}

.news-reader-dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-reader-dashboard-card strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.news-checkout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-plan-card {
  min-height: 220px;
}

.news-plan-card > strong {
  font-size: 1.4rem;
  line-height: 1.1;
}

.news-plan-card > span {
  color: var(--news-primary);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-plan-card button {
  align-self: end;
}

.news-epaper-page-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.news-epaper-edition-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-epaper-search-panel .news-inline-form {
  margin: 0;
}

.news-card {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  color: inherit;
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-card:hover,
.news-ticker-grid a:hover {
  border-color: #bbf7d0;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.news-card h2 {
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 8px 0;
}

.news-card small,
.news-meta,
.news-footer {
  color: var(--news-muted);
  font-size: 0.875rem;
}

.news-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 18px;
}

.news-flag-row span {
  background: #dcfce7;
  border-radius: 999px;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase;
}

.news-article {
  margin: 0 auto;
  max-width: 860px;
}

.news-article-flags {
  margin-bottom: 12px;
}

.news-paywall-note {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  color: #14532d;
  margin: 18px 0;
  padding: 16px 18px;
}

.news-paywall-note p {
  margin: 6px 0 0;
}

.news-action-panel,
.news-action-state {
  background: #f8fafc;
  border: 1px solid var(--news-border);
  border-radius: 16px;
  color: #334155;
  display: block;
  margin: 14px 0;
  padding: 12px 14px;
}

.news-action-panel {
  display: grid;
  gap: 8px;
}

.news-action-panel strong {
  color: var(--news-text);
}

.news-action-panel p,
.news-action-state {
  line-height: 1.5;
}

.news-action-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #14532d;
}

.news-action-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.news-muted-note {
  color: var(--news-muted);
  font-size: 0.9rem;
}

.news-sponsored-box,
.news-reader-actions,
.news-comments,
.news-detail-card,
.news-notice-grid article,
.news-poll-card,
.news-submission-form {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 18px;
}

.news-sponsored-box span,
.news-ad-strip span {
  color: var(--news-primary);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-meta,
.news-sharebar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.news-sharebar {
  border-bottom: 1px solid var(--news-border);
  border-top: 1px solid var(--news-border);
  padding: 12px 0;
}

.news-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.news-body blockquote {
  border-left: 4px solid #86efac;
  color: #334155;
  margin: 24px 0;
  padding-left: 18px;
}

.news-media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.news-media-grid figure {
  margin: 0;
}

.news-media-grid img,
.news-landing-image,
.news-epaper-cover {
  border-radius: 18px;
  object-fit: cover;
  width: 100%;
}

.news-media-grid img {
  aspect-ratio: 16 / 10;
}

.news-media-grid figcaption,
.news-article figcaption {
  color: var(--news-muted);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-top: 8px;
}

.news-reader-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.news-comments {
  margin-top: 28px;
}

.news-reader-actions a {
  color: var(--news-primary);
  font-weight: 800;
  text-decoration: none;
}

.news-related {
  margin-top: 40px;
}

.news-titlebar-small h2 {
  margin: 4px 0;
}

.news-ticker-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-ticker-grid a,
.news-live-feed article,
.news-pinned-updates article,
.news-story-strip article,
.news-empty {
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  padding: 18px;
}

.news-ticker-grid a {
  color: inherit;
  display: grid;
  gap: 6px;
}

.news-ticker-grid em {
  color: var(--news-primary);
  font-style: normal;
  font-weight: 800;
}

.news-live-feed {
  display: grid;
  gap: 14px;
}

.news-pinned-updates {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.news-pinned-updates article {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.news-live-feed span {
  color: var(--news-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-story-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-story-strip article {
  display: grid;
  gap: 12px;
}

.news-story-strip article > span {
  align-items: center;
  background: #0f172a;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.news-story-strip-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-story-strip img {
  aspect-ratio: 9 / 16;
}

.news-author-photo {
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  width: min(160px, 45vw);
}

.news-landing-image,
.news-epaper-cover {
  aspect-ratio: 16 / 7;
  margin-top: 14px;
  max-height: 320px;
}

.news-sponsor-strip,
.news-notice-grid,
.news-ad-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-sponsor-strip a,
.news-ad-strip div {
  align-items: center;
  background: #fff;
  border: 1px solid var(--news-border);
  border-radius: 18px;
  color: inherit;
  display: flex;
  gap: 12px;
  min-height: 88px;
  padding: 16px;
  text-decoration: none;
}

.news-detail-card {
  align-items: center;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  margin-bottom: 24px;
}

.news-detail-card img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.news-notice-grid article {
  margin: 0;
}

.news-notice-grid article span {
  color: var(--news-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-sponsor-strip img {
  border-radius: 12px;
  height: 48px;
  object-fit: contain;
  width: 72px;
}

.news-inline-form {
  align-items: center;
  display: flex;
  gap: 10px;
}

.news-inline-form input,
.news-inline-form button,
.news-submission-form input,
.news-submission-form select,
.news-submission-form textarea,
.news-submission-form button,
.news-poll-card button,
.news-plan-card button {
  border: 1px solid var(--news-border);
  border-radius: 12px;
  font: inherit;
  min-height: 40px;
  padding: 0 12px;
}

.news-submission-form input[type="checkbox"],
.news-submission-form input[type="radio"],
.news-poll-card input[type="checkbox"],
.news-poll-card input[type="radio"] {
  min-height: auto;
  padding: 0;
}

.news-inline-form button,
.news-submission-form button,
.news-poll-card button,
.news-plan-card button {
  background: var(--news-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.news-submission-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.news-submission-form label {
  display: grid;
  gap: 6px;
}

.news-submission-form textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

.news-form-wide {
  grid-column: 1 / -1;
}

.news-option-list {
  display: grid;
  gap: 8px;
}

.news-option-list label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.news-compact-grid img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.news-footer {
  border-top: 1px solid var(--news-border);
  margin-top: 40px;
  padding-top: 20px;
}

.news-paywall-lock {
  border-color: rgba(180, 83, 9, 0.28);
}

.news-media-player {
  background: #0f172a;
  border-radius: 18px;
  margin: 20px 0;
  overflow: hidden;
}

.news-media-player video,
.news-media-player audio {
  display: block;
  width: 100%;
}

.news-audio-player {
  background: var(--news-soft);
  padding: 16px;
}

.news-transcript {
  background: var(--news-soft);
  border: 1px solid var(--news-border);
  border-radius: 18px;
  margin-top: 20px;
  padding: 20px;
}

.news-archive-filter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.news-archive-filter a {
  border: 1px solid var(--news-border);
  border-radius: 999px;
  color: var(--news-muted);
  padding: 6px 12px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.runtime-route-progress {
  background: var(--news-primary);
  height: 2px;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 160ms ease, transform 500ms ease;
  z-index: 50;
}

.runtime-route-progress.is-active {
  opacity: 1;
  transform: scaleX(0.72);
}

@media (max-width: 900px) {
  .news-shell-header {
    align-items: stretch;
    flex-direction: column;
  }

  .news-hero,
  .news-front-grid,
  .news-company-card,
  .news-detail-card,
  .news-featured-grid,
  .news-module-rail,
  .news-notice-grid,
  .news-publication-grid,
  .news-compact-grid,
  .news-grid,
  .news-media-grid,
  .news-sponsor-strip,
  .news-ad-strip,
  .news-checkout-grid,
  .news-epaper-edition-grid,
  .news-epaper-page-grid,
  .news-epaper-workspace,
  .news-premium-dashboard,
  .news-premium-split,
  .news-reader-dashboard,
  .news-submission-form,
  .news-story-strip,
  .news-ticker-grid,
  .news-section-columns {
    grid-template-columns: 1fr;
  }

  .news-epaper-strip,
  .news-newsletter,
  .news-inline-form {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Appended from sample */
/* ==========================================================================
   UI Kit & Theme Tokens
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-color: #e31e24; /* Amar Ujala Red */
  --primary-hover: #c4181d;
  --secondary-color: #f7f7f7;
  --accent-color: #ff9900;
  
  /* Text Colors */
  --text-main: #222222;
  --text-muted: #666666;
  --text-light: #999999;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-body: #f4f5f7;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-footer: #222222;
  
  /* Borders & Shadows */
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 16px rgba(0,0,0,0.12);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  
  /* Typography */
  --font-family-sans: 'Mukta', 'Noto Sans Devanagari', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

body {
  font-family: var(--font-family-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   UI Kit Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-white);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--primary-color);
  color: var(--text-white);
  border-radius: 2px;
  margin-bottom: 8px;
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

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

.card-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Horizontal Card */
.card-horizontal {
  flex-direction: row;
  align-items: flex-start;
}

.card-horizontal .card-img-wrapper {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
}

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

.card-horizontal .card-title {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Hero Card (Overlay Text) */
.card-hero {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 450px;
}

.card-hero .card-img-wrapper {
  height: 100%;
  aspect-ratio: auto;
}

.card-hero .card-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.card-hero .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: var(--text-white);
  padding: 25px;
  z-index: 2;
}

.card-hero .card-title {
  font-size: 28px;
  color: var(--text-white);
}

.card-hero .card-meta {
  color: #dddddd;
}

.card-hero:hover .card-title {
  color: var(--text-white);
  text-decoration: underline;
}

/* Section Headings */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.section-title {
  font-size: 22px;
  position: relative;
  color: var(--primary-color);
}

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

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

/* List Item News */
.list-news {
  padding: 0;
  margin: 0;
}

.list-news li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-news li:last-child {
  border-bottom: none;
}

.list-news .bullet {
  color: var(--primary-color);
  font-size: 18px;
  line-height: 1;
}

.list-news a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Page Layout Specifics
   ========================================================================== */

/* Top Bar */
.top-bar {
  background-color: var(--secondary-color);
  padding: 5px 0;
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

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

/* Header & Logo */
.header-main {
  background-color: var(--bg-header);
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -1px;
}

.logo span {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  font-weight: 400;
  letter-spacing: 0;
}

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

.search-box {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.search-box input {
  padding: 8px 12px;
  border: none;
  outline: none;
  width: 200px;
}

.search-box button {
  background-color: var(--secondary-color);
  border: none;
  padding: 0 12px;
  cursor: pointer;
  color: var(--text-muted);
}

/* Navigation Bar */
.main-nav {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  color: var(--text-white);
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s;
}

.nav-link:hover, .nav-item.active .nav-link {
  background-color: rgba(0,0,0,0.15);
  color: var(--text-white);
}

/* Breaking News Ticker */
.ticker-wrap {
  background-color: #fff3f3;
  border-bottom: 1px solid #ffd4d4;
  padding: 8px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  background-color: var(--primary-color);
  color: white;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 2px;
  margin-right: 15px;
  position: relative;
  z-index: 2;
}

.ticker-label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--primary-color);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.ticker-content {
  flex-grow: 1;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-content a {
  font-size: 14px;
  font-weight: 600;
  margin-right: 30px;
}

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

/* Main Layout Grid */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 40px;
}

.main-grid > div {
  min-width: 0;
}

/* Social Feed Card */
.social-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.social-header {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  gap: 12px;
}

.social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.social-user-info {
  display: flex;
  flex-direction: column;
}

.social-username {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

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

.social-content {
  padding: 0 15px 12px 15px;
  font-size: 15px;
  line-height: 1.5;
}

.social-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.social-actions {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  gap: 20px;
}

.social-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.social-action-btn:hover {
  color: var(--primary-color);
}

.social-action-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sidebar Widgets */
.widget {
  background-color: var(--bg-card);
  padding: 15px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-color);
}

.sticky-widget {
  position: sticky;
  top: 80px; /* Offset to sit below the sticky navigation bar */
  z-index: 10;
}

.widget-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
}

/* Horizontal Scroll Container */
.scroll-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}

.scroll-row::-webkit-scrollbar {
  height: 6px;
}
.scroll-row::-webkit-scrollbar-track {
  background: #f0f0f0; 
  border-radius: 10px;
}
.scroll-row::-webkit-scrollbar-thumb {
  background-color: var(--primary-color); 
  border-radius: 10px;
}

.scroll-row .card {
  min-width: 220px;
  flex: 0 0 auto;
}

/* Ad Slot Tambola */
.ad-slot-horizontal {
  background-color: #ffeb3b;
  border: 2px dashed #f57f17;
  padding: 20px;
  text-align: center;
  border-radius: var(--border-radius-md);
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-slot-horizontal h4 {
  color: #d84315;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 800;
}

.ad-slot-horizontal p {
  color: #333;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Footer */
.main-footer {
  background-color: var(--bg-footer);
  color: var(--text-white);
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #aaaaaa;
  font-size: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cccccc;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .nav-list {
    overflow-x: auto;
  }
}
