/* ==========================================================================
   Lyon Republic - Modern Editorial News Stylesheet
   Main Accent: #ff4500 (Orange Red)
   Secondary Minimal Accent: #74C476 (Light Green)
   ========================================================================== */

:root {
  --primary: #ff4500;
  --primary-hover: #e03d00;
  --primary-rgb: 255, 69, 0;
  --secondary: #74C476;
  --secondary-hover: #5bb35d;
  --secondary-rgb: 116, 196, 118;
  --dark: #0d1117;
  --dark-surface: #161b22;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
  --border-dark: #27272a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Container: Fluid Full Width Fitting All Screens */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2.5vw, 3rem);
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.topbar {
  background-color: var(--dark);
  color: #9ca3af;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item i {
  color: var(--secondary);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-social a {
  color: #9ca3af;
}

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

.topbar-link {
  color: #d1d5db;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-link:hover {
  color: var(--primary);
}

.topbar-auth-btn {
  background: rgba(255, 69, 0, 0.15);
  color: #ff6b3d;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 69, 0, 0.3);
  font-size: 0.75rem;
}

.topbar-auth-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Main Header & Logo Area
   -------------------------------------------------------------------------- */
.main-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #b83200 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -1px;
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-symbol::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border-radius: 0 0 0 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--dark);
  text-transform: uppercase;
}

.brand-title span {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Header Social Media Buttons */
.header-social-buttons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-connect-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 992px) {
  .social-connect-label {
    display: inline-block;
  }
}

.social-btn-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.head-soc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #fff !important;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.head-soc-btn.fb { background: #1877f2; }
.head-soc-btn.x { background: #000000; }
.head-soc-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.head-soc-btn.yt { background: #ff0000; }
.head-soc-btn.wa { background: #25d366; }

.head-soc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  opacity: 0.95;
}

@media (max-width: 640px) {
  .head-soc-btn .btn-text {
    display: none;
  }
  .head-soc-btn {
    padding: 0.45rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  background-color: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

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

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

.nav-link {
  display: block;
  padding: 0.85rem 0.95rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 69, 0, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-search-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 1.1rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.nav-search-btn:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  padding: 0.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Breaking News Ticker
   -------------------------------------------------------------------------- */
.breaking-ticker {
  background: #fff5f2;
  border-bottom: 1px solid #ffd5c7;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  overflow: hidden;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex-grow: 1;
  position: relative;
}

.ticker-items {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

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

.ticker-item {
  display: inline-block;
  margin-right: 2.5rem;
  color: var(--dark);
  font-weight: 500;
}

.ticker-item i {
  color: var(--secondary);
  margin-right: 0.4rem;
}

.ticker-item:hover {
  color: var(--primary);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   Hero Section Grid
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 1.75rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  background: var(--dark);
}

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(13,17,23,0.7) 50%, rgba(13,17,23,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #ffffff;
}

.badge-cat {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: #ffffff;
  background-color: var(--primary);
  margin-bottom: 0.75rem;
}

.badge-cat.accent-green {
  background-color: var(--secondary);
  color: #0d3810;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.hero-title a:hover {
  color: #ff8555;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-sidebar-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-side-card {
  display: flex;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  padding: 0.85rem;
  transition: var(--transition);
}

.hero-side-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #ffd5c7;
}

.hero-side-thumb {
  width: 110px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.hero-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-side-card:hover .hero-side-thumb img {
  transform: scale(1.05);
}

.hero-side-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-side-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section Layouts
   -------------------------------------------------------------------------- */
.main-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

@media (min-width: 992px) {
  .main-content-layout {
    grid-template-columns: 2.3fr 1fr;
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border-light);
  position: relative;
}

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

.section-header.green-accent::after {
  background: var(--secondary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title i {
  color: var(--primary);
  font-size: 1.15rem;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-link:hover {
  text-decoration: underline;
}

/* News Cards Grid */
.news-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

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

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #e2e8f0;
}

.news-card-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.card-category-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.news-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.775rem;
  color: var(--text-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 0.65rem;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Special Section: Breaking Banner Strip
   -------------------------------------------------------------------------- */
.breaking-feature-box {
  background: linear-gradient(135deg, #180903 0%, #2b1104 100%);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  padding: 1.5rem;
  color: #ffffff;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .breaking-feature-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.breaking-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff6e3a;
}

.breaking-box-desc {
  font-size: 0.95rem;
  color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Sidebar Components
   -------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.widget-title.green::after {
  background: var(--secondary);
}

/* Trending List with Big Numbers */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trending-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f3f4f6;
}

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

.trending-rank {
  font-size: 1.5rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
  width: 28px;
  flex-shrink: 0;
  font-family: var(--font-serif);
  text-align: center;
}

.trending-item:nth-child(1) .trending-rank {
  color: var(--primary);
}

.trending-item:nth-child(2) .trending-rank {
  color: #ff7f50;
}

.trending-item:nth-child(3) .trending-rank {
  color: var(--secondary);
}

.trending-info {
  flex-grow: 1;
}

.trending-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-meta {
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* Categories Pill Widget */
.categories-widget-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-row-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.category-row-link:hover {
  background: #fff0eb;
  color: var(--primary);
  transform: translateX(4px);
}

.category-row-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 12px;
  font-weight: 700;
}

/* Newsletter Box */
.newsletter-box {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.newsletter-icon {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 0.825rem;
  color: #9ca3af;
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #374151;
  background: #1f2937;
  color: #ffffff;
  font-size: 0.875rem;
}

.newsletter-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

/* Social Box */
.social-follow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.social-follow-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.social-follow-btn.fb { background: #1877f2; }
.social-follow-btn.tw { background: #000000; }
.social-follow-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-follow-btn.yt { background: #ff0000; }

/* --------------------------------------------------------------------------
   Article Single Page
   -------------------------------------------------------------------------- */
.article-header {
  margin-bottom: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.article-main-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .article-main-title {
    font-size: 1.65rem;
  }
}

.article-lead {
  font-size: 1.15rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.article-author-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.author-profile-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-text .name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.author-info-text .date {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.article-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.article-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  background: #f3f4f6;
}

.article-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-body-content {
  font-size: 1.075rem;
  line-height: 1.8;
  color: #27272a;
}

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

.article-body-content h2, .article-body-content h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 1.8rem 0 1rem;
  color: var(--dark);
}

.article-body-content img {
  border-radius: 8px;
  margin: 1.5rem auto;
}

.article-body-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #fff8f5;
  font-style: italic;
  font-size: 1.15rem;
  color: #1f2937;
}

/* Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.share-label {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.share-btn.wa { background: #25d366; }
.share-btn.x { background: #000; }
.share-btn.fb { background: #1877f2; }
.share-btn.copy { background: #4b5563; }

/* Author Bio Box */
.author-bio-card {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.author-bio-card .bio-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--secondary);
  color: #0b3d12;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.author-bio-card .bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-bio-card .bio-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-bio-card .bio-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Comments Section */
.comments-section {
  margin: 3rem 0;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.comment-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.2rem;
}

.comment-author-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.comment-time {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.comment-content {
  font-size: 0.9rem;
  color: #374151;
}

.comment-form {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.12);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #0b3d12;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--dark);
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
  border-top: 4px solid var(--primary);
  margin-top: 4rem;
}

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

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

.footer-col-title {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-about p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Mobile Drawer & Search Overlay
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--dark);
  color: #fff;
  z-index: 2000;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
  padding: 1.5rem;
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  display: none;
}

.mobile-overlay.open {
  display: block;
}

.search-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.search-modal-backdrop.open {
  display: flex;
}

.search-modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

/* Media Queries */
@media (max-width: 991px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .topbar-left {
    display: none;
  }
}

/* Alert Boxes */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-error, .alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* --------------------------------------------------------------------------
   Mobile & Dynamic Screen Size Responsiveness Enhancements
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .main-content-layout {
    margin: 1.5rem 0;
    gap: 1.75rem;
  }

  .content-primary {
    min-width: 0;
    width: 100%;
  }

  /* Article Reading Screen Adjustments */
  .article-header {
    margin-bottom: 1.25rem;
  }

  .article-main-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .article-lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .article-featured-img {
    border-radius: 8px;
    margin-bottom: 1.25rem;
    max-height: none;
  }

  .article-featured-img img {
    max-height: 400px;
    object-position: center;
  }

  .share-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
    padding: 0.75rem 0;
  }

  .share-label {
    width: 100%;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
  }

  .share-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.5rem 0.65rem;
    font-size: 0.775rem;
  }

  .article-body-content {
    font-size: 1rem;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .article-body-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
  }

  .article-body-content iframe {
    max-width: 100% !important;
  }

  .author-bio-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .author-bio-card .bio-avatar {
    margin: 0 auto;
  }

  .news-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .article-main-title {
    font-size: 1.35rem;
  }

  .article-stats {
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
  }

  .share-bar .share-btn {
    font-size: 0.725rem;
    padding: 0.45rem 0.5rem;
  }
}

