/* GenAlpha Magazines - International Newsroom Design System */
:root {
  --font-headline: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", Tahoma, sans-serif;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-dark: #111418;
  --text-primary: #121212;
  --text-secondary: #4a4a4a;
  --text-muted: #757575;
  --text-inverse: #ffffff;
  
  --brand-navy: #0e1e2e;
  --brand-red: #c01818;
  --brand-red-hover: #9e1212;
  --border-light: #e2e5e8;
  --border-dark: #2a2e33;
  --border-subtle: #eeeeee;
  
  --max-width: 1280px;
  --reading-width: 740px;
  --transition: all 0.2s ease-in-out;
}

[data-theme="dark"] {
  --bg-primary: #111315;
  --bg-secondary: #181b1f;
  --bg-surface: #1e2227;
  --text-primary: #e6edf3;
  --text-secondary: #abb4be;
  --text-muted: #7d8590;
  --border-light: #2c3138;
  --border-subtle: #22262c;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* RTL Support for Arabic */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic), var(--font-body);
}

[dir="rtl"] .top-utility-bar .utility-right {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .trending-number {
  margin-right: 0;
  margin-left: 1rem;
}

[dir="rtl"] .byline-author img {
  margin-right: 0;
  margin-left: 0.75rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Top Utility Bar */
.top-utility-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
}

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

.utility-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.utility-date {
  font-weight: 500;
}

.utility-edition {
  color: var(--text-muted);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-selector-btn, .theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-selector-btn:hover, .theme-toggle-btn:hover {
  background: var(--border-light);
}

/* Breaking Banner */
.breaking-banner {
  background: #fff0f0;
  border-bottom: 1px solid #ffd4d4;
  padding: 0.4rem 0;
  font-size: 0.875rem;
}

[data-theme="dark"] .breaking-banner {
  background: #2a1111;
  border-bottom-color: #4a1c1c;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.breaking-tag {
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.breaking-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.breaking-text:hover {
  text-decoration: underline;
  color: var(--brand-red);
}

/* Masthead Header */
.masthead {
  border-bottom: 3px double var(--text-primary);
  padding: 1.25rem 0 0.75rem;
  background: var(--bg-primary);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.masthead-side-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}
.search-trigger-btn:hover {
  background: var(--bg-secondary);
}

.masthead-center {
  text-align: center;
}

.site-logo {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.1;
  display: block;
}

.site-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

.masthead-side-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.btn-newsletter-top {
  background: var(--brand-navy);
  color: #fff;
  border: none;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
.btn-newsletter-top:hover {
  background: #18334f;
}

/* Category Navigation Bar */
.category-nav {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.category-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.25rem;
}

.category-nav-list li a {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.category-nav-list li a:hover,
.category-nav-list li a.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Main Content Area */
main {
  flex: 1;
  padding: 2rem 0;
}

/* Hero News Grid */
.news-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
}

/* Hero Lead Card */
.hero-lead-card {
  display: flex;
  flex-direction: column;
}

.hero-lead-card .card-media {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  margin-bottom: 1rem;
}

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

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

.category-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  text-decoration: none;
}

.hero-lead-title {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-lead-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.hero-lead-title a:hover {
  color: var(--brand-red);
}

.hero-lead-deck {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.byline-author {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.byline-author:hover {
  color: var(--brand-red);
}

/* Secondary Lead Column */
.hero-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid var(--border-light);
  padding-left: 1.5rem;
}

[dir="rtl"] .hero-secondary-col {
  border-left: none;
  border-right: 1px solid var(--border-light);
  padding-left: 0;
  padding-right: 1.5rem;
}

.secondary-news-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.secondary-news-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.secondary-news-card .card-media {
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--bg-secondary);
}

.secondary-news-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.secondary-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.secondary-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.secondary-title a:hover {
  color: var(--brand-red);
}

/* Opinion & Analysis Column */
.hero-opinion-col {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
  padding-left: 1.5rem;
  background: var(--bg-secondary);
  padding: 1.25rem;
  border-radius: 4px;
}

[dir="rtl"] .hero-opinion-col {
  border-left: none;
  border-right: 1px solid var(--border-light);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.col-header {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-red);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.opinion-item {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

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

.opinion-author-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.opinion-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #ccc;
}

.opinion-author-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.opinion-title {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
}

.opinion-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.opinion-title a:hover {
  color: var(--brand-red);
}

/* Section Grid: Latest Stories & Sidebar */
.news-layout-split {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--text-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.feed-card .card-media {
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

.feed-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.feed-title a {
  color: var(--text-primary);
  text-decoration: none;
}
.feed-title a:hover {
  color: var(--brand-red);
}

.feed-deck {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

/* Sidebar Trending / Most Read */
.sidebar-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 0.9375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--brand-red);
  margin-bottom: 1rem;
}

.trending-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.trending-item {
  display: flex;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.trending-number {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1;
  min-width: 32px;
  margin-right: 0.75rem;
}

.trending-link {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  text-decoration: none;
}
.trending-link:hover {
  color: var(--brand-red);
}

/* Newsletter Strip */
.newsletter-strip {
  background: var(--brand-navy);
  color: #fff;
  border-radius: 6px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.newsletter-strip h2 {
  font-family: var(--font-headline);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter-strip p {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-size: 0.9375rem;
  background: rgba(255,255,255,0.95);
  color: #121212;
}

.newsletter-submit {
  background: var(--brand-red);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-submit:hover {
  background: var(--brand-red-hover);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 3px double var(--text-primary);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.875rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-editions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-editions a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}
.footer-editions a:hover {
  color: var(--brand-red);
}

/* Article Page Layout */
.article-container {
  max-width: var(--reading-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.article-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
}
.article-breadcrumbs a:hover {
  text-decoration: underline;
}

.article-headline {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.article-deck {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.fact-checked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e6f4ea;
  color: #137333;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

[data-theme="dark"] .fact-checked-badge {
  background: #102d1d;
  color: #81c995;
}

.article-featured-image-wrap {
  margin-bottom: 2rem;
}

.article-featured-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.image-caption-bar {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
}

/* Key Takeaways Box */
.key-takeaways-box {
  background: var(--bg-secondary);
  border-left: 4px solid var(--brand-red);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 4px 4px 0;
}

[dir="rtl"] .key-takeaways-box {
  border-left: none;
  border-right: 4px solid var(--brand-red);
  border-radius: 4px 0 0 4px;
}

.key-takeaways-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--brand-red);
}

.key-takeaways-box ul {
  padding-left: 1.25rem;
}

[dir="rtl"] .key-takeaways-box ul {
  padding-left: 0;
  padding-right: 1.25rem;
}

.key-takeaways-box li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

/* Article Body Typography */
.article-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 2.25rem 0 1rem;
  color: var(--text-primary);
}

.article-body h3 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

/* Sources Box */
.sources-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.25rem;
  margin: 2.5rem 0;
}

.sources-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sources-list li a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: underline;
}

/* Author Card */
.author-bio-card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  align-items: center;
}

.author-bio-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.author-bio-name {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-bio-role {
  font-size: 0.8125rem;
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.author-bio-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Modal Dialogs (Search, Language Switcher) */
.newsroom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.newsroom-modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  width: 90%;
  max-width: 580px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-muted);
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1rem;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.language-card {
  padding: 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.language-card:hover, .language-card.active {
  border-color: var(--brand-red);
  background: var(--bg-secondary);
}

.lang-native {
  font-weight: 700;
  font-size: 1rem;
}

.lang-intl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .news-hero-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .hero-opinion-col {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    margin-top: 1rem;
  }
  .news-layout-split {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-utility-inner {
    flex-direction: column;
    gap: 0.4rem;
  }
  .masthead-inner {
    grid-template-columns: 1fr auto;
  }
  .masthead-side-left {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .news-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-secondary-col {
    border-left: none;
    padding-left: 0;
  }
  .feed-card {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .article-headline {
    font-size: 1.85rem;
  }
}
