/* ==========================================================================
   LPU Campus Pulse - Google AdSense Ready Design System & Master Stylesheet
   ========================================================================== */


/* --- CSS Variables & Color Tokens --- */
:root {
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-light: #fff7ed;
  --primary-dark: #9a3412;
  --accent: #0284c7;
  --accent-light: #f0f9ff;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-ad: #f8fafc;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-focus: #ea580c;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
  --container-narrow: 840px;
  --header-height: 72px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-light: #431407;
  --primary-dark: #ffedd5;
  --accent: #38bdf8;
  --accent-light: #082f49;
  
  --bg-body: #090d16;
  --bg-card: #111827;
  --bg-elevated: #1e293b;
  --bg-subtle: #1f2937;
  --bg-ad: #0f172a;
  
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --border-subtle: #1e293b;
  --border-focus: #f97316;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* --- Breaking News Ticker --- */
.news-ticker-bar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 40;
}

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

.ticker-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.ticker-text {
  color: var(--text-main);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Global Header & Navigation --- */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

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

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

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.logo-badge {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

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

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  position: relative;
}

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

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

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

.icon-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

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

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-menu-btn {
  display: none;
}

/* --- Google AdSense Ad Units & Policies --- */
.ad-slot-container {
  margin: 2rem 0;
  text-align: center;
  background-color: var(--bg-ad);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.ad-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.ad-content-box {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.ad-content-box.leaderboard {
  min-height: 90px;
  max-width: 728px;
  margin: 0 auto;
}

.ad-content-box.sidebar-banner {
  min-height: 250px;
  width: 100%;
}

.ad-content-box.in-article {
  min-height: 120px;
  background: linear-gradient(to right, var(--bg-subtle), var(--bg-card));
  border-left: 3px solid var(--primary);
}

.ad-demo-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  width: 100%;
}

.ad-demo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.ad-demo-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.ad-demo-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ad-cta-btn {
  background: var(--accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-left: auto;
  white-space: nowrap;
}

/* --- Hero Section --- */
.hero-section {
  padding: 2.5rem 0 1.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.hero-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

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

.category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

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

.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

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

.hero-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  color: var(--text-main);
  line-height: 1.3;
}

.hero-card-title a {
  color: inherit;
}

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

.hero-card-excerpt {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.author-block {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

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

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

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

.hero-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.hero-side-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

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

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

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

.hero-side-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.hero-side-title a {
  color: inherit;
}

.hero-side-title a:hover {
  color: var(--primary);
}

/* --- Search & Category Filter Section --- */
.filter-section {
  padding: 1.5rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 1.5rem 0 2rem 0;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.cat-tab {
  background: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-tab:hover {
  background: var(--border-subtle);
  color: var(--text-main);
}

.cat-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

.search-box-wrapper {
  position: relative;
  min-width: 260px;
  flex-grow: 1;
  max-width: 380px;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
  background: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

/* --- Main Layout Grid: Content + Sidebar --- */
.main-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

/* --- Articles Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(234, 88, 12, 0.3);
}

.article-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

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

.card-bookmark-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.card-bookmark-btn:hover, .card-bookmark-btn.saved {
  background: var(--primary);
  color: white;
}

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

.article-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.article-card-title a {
  color: inherit;
}

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

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

/* --- Interactive LPUNEST Calculator Widget --- */
.calculator-widget {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-subtle));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.calculator-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316, #38bdf8);
}

.calc-header {
  margin-bottom: 1.25rem;
}

.calc-title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.calc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.calc-form-group {
  margin-bottom: 1.15rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.calc-select, .calc-range {
  width: 100%;
}

.calc-select {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.88rem;
}

.calc-range {
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1.25rem;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.35rem 0;
}

.calc-result-total {
  border-top: 1px dashed var(--border-subtle);
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

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

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trending-rank {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.7;
  line-height: 1;
  width: 24px;
}

.trending-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

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

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

.newsletter-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 0.88rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- Publish Article CTA Widget --- */
.publish-cta-widget {
  background: linear-gradient(145deg, #0f2027, #1a3a2a);
  border: 1px solid #22c55e40;
  position: relative;
  overflow: hidden;
}
.publish-cta-widget::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, #22c55e22, transparent 70%);
  pointer-events: none;
}
.publish-cta-badge {
  display: inline-block;
  background: #22c55e20;
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #22c55e40;
  margin-bottom: 0.75rem;
}
.publish-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f0fdf4;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.publish-cta-desc {
  font-size: 0.83rem;
  color: #86efac;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.publish-cta-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #22c55e15;
  border-radius: var(--radius-md);
  border: 1px solid #22c55e30;
}
.publish-price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #4ade80;
  line-height: 1;
}
.publish-price-label {
  font-size: 0.82rem;
  color: #86efac;
  font-weight: 500;
}
.publish-cta-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.publish-cta-perks li {
  font-size: 0.82rem;
  color: #bbf7d0;
  padding-left: 1.4rem;
  position: relative;
}
.publish-cta-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}
.btn-publish-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px #22c55e40;
}
.btn-publish-cta:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #22c55e55;
}

/* --- Promote Your Startup Widget --- */
.startup-cta-widget {
  background: linear-gradient(145deg, #0f172a, #1e1b4b);
  border: 1px solid #4f46e540;
  position: relative;
  overflow: hidden;
}
.startup-cta-widget::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, #6366f122, transparent 70%);
  pointer-events: none;
}
.startup-cta-badge {
  display: inline-block;
  background: #4f46e520;
  color: #818cf8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #4f46e540;
  margin-bottom: 0.75rem;
}
.startup-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f5f3ff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.startup-cta-desc {
  font-size: 0.83rem;
  color: #c7d2fe;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.startup-cta-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #4f46e515;
  border-radius: var(--radius-md);
  border: 1px solid #4f46e530;
}
.startup-price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: #818cf8;
  line-height: 1;
}
.startup-price-label {
  font-size: 0.82rem;
  color: #c7d2fe;
  font-weight: 500;
}
.startup-cta-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.startup-cta-perks li {
  font-size: 0.82rem;
  color: #e0e7ff;
  padding-left: 1.4rem;
  position: relative;
}
.startup-cta-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #818cf8;
  font-weight: 700;
}
.btn-startup-cta {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px #4f46e540;
}
.btn-startup-cta:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #4f46e555;
}

/* --- Article Detail View --- */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #ea580c, #f97316, #38bdf8);
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

.breadcrumb-nav {
  padding: 1.25rem 0 0.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-separator {
  color: var(--text-light);
}

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

.article-title-main {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.85rem 0 1.25rem 0;
  color: var(--text-main);
}

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

.social-share-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-btn.share-wa:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.share-btn.share-li:hover {
  background: #0A66C2;
  color: #ffffff;
  border-color: #0A66C2;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
  transform: translateY(-2px);
}

.share-btn.share-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.share-btn.share-copy:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transform: translateY(-2px);
}

.article-hero-image-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
  max-height: 480px;
}

.article-hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Body Typography (AdSense High Content-to-Code Standards) */
.article-content {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
  margin: 2.2rem 0 0.85rem 0;
  color: var(--text-main);
  scroll-margin-top: 90px;
}

.article-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem 0;
  color: var(--text-main);
  scroll-margin-top: 90px;
}

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

.article-content ul, .article-content ol {
  margin-bottom: 1.45rem;
  padding-left: 1.75rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-callout-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.article-callout-box h4 {
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.article-callout-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  text-align: left;
}

.styled-table thead tr {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
}

.styled-table th, .styled-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.styled-table tbody tr:hover {
  background-color: rgba(234, 88, 12, 0.04);
}

.styled-table tr.highlight-row {
  background-color: var(--primary-light);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}

/* --- Table of Contents --- */
.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.toc-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

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

.toc-link {
  font-size: 0.88rem;
  color: var(--text-body);
  display: block;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toc-link:hover, .toc-link.active {
  background: var(--bg-card);
  color: var(--primary);
  font-weight: 600;
  padding-left: 0.75rem;
}

/* --- FAQ Accordion --- */
.faq-section {
  margin: 2.5rem 0;
}

.faq-title {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* --- Comments Section --- */
.comments-section {
  margin: 3rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-content {
  flex-grow: 1;
}

.comment-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
}

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

.comment-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* --- Compliance & Legal Pages (Privacy Policy, About, Terms) --- */
.legal-page-header {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-subtle));
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem 0;
  margin-bottom: 2.5rem;
}

.legal-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.legal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.legal-content-card h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-card p {
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

.legal-content-card ul {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.legal-content-card li {
  margin-bottom: 0.5rem;
}

/* --- Cookie Consent Banner (AdSense Compliance) --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 580px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  display: none;
  animation: slideUp 0.35s ease;
}

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

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* --- Toast Notification --- */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-main);
  color: var(--bg-card);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding: 3.5rem 0 1.5rem 0;
}

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

.footer-col-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 3px;
}

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

.footer-disclaimer-notice {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 0.75rem;
}

/* --- Pagination Controls --- */
.pagination-wrapper {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.category-tag-inline {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-block;
}

/* --- Mobile Navigation Drawer & Backdrop --- */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 49;
}

.mobile-nav-backdrop.active {
  display: block;
}

/* --- Responsive Breakpoints (Mobile First Refinements) --- */
@media (max-width: 1024px) {
  .main-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    font-size: 15px;
  }

  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    height: var(--header-height);
    gap: 0.5rem;
  }

  /* Keep logo link compact on mobile */
  .logo-link {
    gap: 0.5rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .site-logo-img {
    height: 38px;
    width: 38px;
    min-width: 38px;
    object-fit: contain;
  }

  .logo-text {
    min-width: 0;
    overflow: hidden;
  }

  .logo-title {
    font-size: 1rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  /* Hide header CTA on mobile to avoid overlapping logo */
  .header-actions .btn-primary {
    display: none;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    z-index: 100;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    animation: mobileMenuSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav.mobile-open .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: block;
    width: 100%;
  }

  .main-nav.mobile-open .nav-link:hover,
  .main-nav.mobile-open .nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .main-nav.mobile-open .nav-link.active::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Ticker mobile layout */
  .news-ticker-bar {
    padding: 0.35rem 0;
    font-size: 0.78rem;
  }

  .ticker-content {
    gap: 0.5rem;
  }

  .ticker-badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
    flex-shrink: 0;
  }

  .ticker-text {
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Filter bar & swipeable categories */
  .filter-section {
    padding: 1rem 0;
    margin: 1rem 0 1.5rem 0;
  }

  .filter-bar {
    gap: 1rem;
  }

  .category-tabs {
    gap: 0.4rem;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .search-box-wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .search-input {
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    font-size: 0.9rem;
  }

  /* Articles grid */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .article-card-body {
    padding: 1.25rem;
  }

  .article-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .article-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  .article-card-footer {
    padding-top: 0.75rem;
  }

  /* Hero & Highlights */
  .hero-section {
    padding: 1rem 0 0.5rem 0;
  }

  .hero-card-body {
    padding: 1.25rem !important;
  }

  .hero-card-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .hero-card-excerpt {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }

  /* Article Detail Mobile */
  .article-title-main {
    font-size: 1.65rem;
    line-height: 1.25;
    margin: 0.5rem 0 1rem 0;
  }

  .article-content {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-content h2 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.65rem 0;
  }

  .article-content h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem 0;
  }

  .article-author-bar {
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .article-callout-box {
    padding: 1rem 1.15rem;
    margin: 1.25rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  /* Ads on Mobile */
  .ad-slot-container {
    margin: 1.25rem 0;
    padding: 0.75rem 0.5rem;
    overflow-x: hidden;
  }

  .ad-demo-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .ad-cta-btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding: 0.5rem 1rem;
  }

  /* Widgets on Mobile */
  .calculator-widget {
    padding: 1.25rem;
  }

  .legal-content-card {
    padding: 1.25rem;
  }

  .comments-section {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem 0;
  }

  /* Cookie Banner */
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100vw - 1.5rem);
    padding: 1rem 1.15rem;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-actions button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-logo-img {
    height: 34px;
    width: 34px;
    min-width: 34px;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.58rem;
  }

  .header-actions {
    gap: 0.25rem;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
  }

  .article-card-body {
    padding: 1rem;
  }

  .article-card-title {
    font-size: 1.05rem;
  }

  .pagination-controls {
    gap: 0.25rem;
  }

  .page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.78rem;
    padding: 0 0.35rem;
  }
}



