:root {
  --primary: #2563EB;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent: #FF6B35;
  --success: #10B981;
  --bg-primary: #ffffff;
  --bg-secondary: #F9FAFB;
  --bg-tertiary: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --navy: #1E293B;
  --navy-dark: #0F172A;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
.app-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.app-bar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.app-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}
.brand:hover {
  opacity: 0.9;
}
.brand-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.nav a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.nav .btn {
  margin-left: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 600;
}
.nav .btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hamburger {
  border: none;
  background: transparent;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger:hover span {
  background: var(--primary-light);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; }
  .app-bar-inner { padding: 16px 20px; }
}

.nav-drawer {
  position: fixed;
  inset: 0 30% 0 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  background: var(--bg-primary);
  box-shadow: var(--shadow-xl);
  z-index: 60;
}
.nav-drawer[aria-hidden="false"] { transform: translateX(0); }
.nav-drawer-inner { padding: 24px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55; }

/* Dark theme */
.theme-dark {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #334155;
  --navy-dark: #020617;
}
.theme-dark .app-bar { background: rgba(2, 6, 23, 0.95); }
.theme-dark .content, .theme-dark .card, .theme-dark .hero, .theme-dark .featured-card { border-color: var(--border); background: var(--bg-primary); }
.theme-dark .site-footer { background: var(--navy-dark); color: var(--text-secondary); border-top-color: var(--border); }

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 32px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 50%, #DBEAFE 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  margin-bottom: 80px;
}
.theme-dark .hero {
  background: linear-gradient(135deg, rgba(37,99,235,0.08) 0%, rgba(30,64,175,0.12) 100%);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(147,197,253,0.08) 0%, transparent 60%);
}
.hero-container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
  animation: fadeInUp 0.6s ease-out;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero-subtitle {
  font-size: 1.375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 48px;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.hero-search {
  max-width: 650px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}
.search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37,99,235,0.15), 0 0 0 4px rgba(37,99,235,0.08);
  transform: translateY(-2px);
}
.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.search-wrapper:focus-within .search-icon {
  color: var(--primary);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
}
.search-input::placeholder {
  color: var(--text-muted);
}
.search-btn {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.search-result-notice {
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Chips */
.chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  text-decoration: none;
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

/* Featured Hero Section */
.featured-section {
  margin-bottom: 80px;
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 48px;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.featured-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.featured-content {
  padding: 0;
}
.featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.featured-content h2 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.featured-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 28px;
}
.featured-content .card-meta {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  font-weight: 500;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 40px;
  font-weight: 400;
}

/* Post Grid */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::after {
  opacity: 1;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px -4px rgba(0,0,0,0.12), 0 8px 16px -4px rgba(0,0,0,0.08);
  border-color: var(--border-light);
}
.card img {
  width: 100%;
  display: block;
  height: 220px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.card:hover img {
  transform: scale(1.05);
}
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.card-title {
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--text-primary);
  line-height: 1.35;
  text-decoration: none;
  display: block;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.card-title:hover {
  color: var(--primary);
}
.card-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Content Article */
.content {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 56px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.content blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.0625rem;
  box-shadow: var(--shadow-sm);
}
.content .scripture {
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  background: #FFF7ED;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.content .pull-quote {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
  margin: 2rem 0;
}

/* Progress Bar */
.progress-wrap {
  position: sticky;
  top: 0;
  z-index: 45;
  height: 3px;
  background: var(--border-light);
}
.progress-bar {
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transition: width 0.15s ease-out;
  box-shadow: 0 0 8px rgba(37,99,235,0.5);
}

/* Ad containers */
.ad { text-align: center; }
.ad.leaderboard { margin: 16px 0 24px; }
.ad.sidebar { position: sticky; top: 88px; }
.ad.in-article { margin: 24px 0; }

/* Post Layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1100px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

/* Post Banner */
.post-banner {
  background-size: cover;
  background-position: center center;
  min-height: 65vh;
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: flex-end;
}
.post-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.2) 0%,
    rgba(15,23,42,0.4) 40%,
    rgba(15,23,42,0.85) 100%
  );
}
.post-banner .container {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
  padding-top: 60px;
}
.banner-content {
  color: #fff;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.banner-content h1 {
  margin: 0 0 24px;
  font-family: 'Playfair Display', serif;
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Share Row */
.share-row {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Giveaway CTA */
.giveaway-cta {
  position: fixed;
  right: 32px;
  bottom: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}
.giveaway-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.45);
}
.giveaway-cta[disabled] {
  background: linear-gradient(135deg, var(--text-muted) 0%, var(--border) 100%);
  cursor: not-allowed;
  box-shadow: var(--shadow-sm);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.modal {
  width: 94%;
  max-width: 540px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.modal h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.modal .actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}

/* Input */
.input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: var(--bg-primary);
}
.input::placeholder {
  color: var(--text-muted);
}

.help {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: 100px;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 80px 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}
.site-footer h4 {
  margin: 0 0 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.site-footer p {
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
}
.site-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Prose */
.prose p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
}
.prose h2 {
  margin: 2.5rem 0 1.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.prose h3 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.prose ul, .prose ol {
  padding-left: 1.75rem;
  margin: 1.25rem 0;
}
.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
}
.prose blockquote {
  margin: 2rem 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: var(--bg-tertiary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  box-shadow: var(--shadow-sm);
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}
.prose a:hover {
  color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .post-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  .featured-card img {
    height: 300px;
  }
  .featured-content h2 {
    font-size: 1.75rem;
  }
  .hero {
    padding: 80px 0 70px;
    margin-bottom: 60px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .search-wrapper {
    flex-direction: column;
    padding: 16px;
    gap: 8px;
  }
  .search-input {
    width: 100%;
    padding: 12px;
  }
  .search-btn {
    width: 100%;
  }
  .container {
    padding: 32px 24px;
  }
  .content {
    padding: 32px;
  }
  .content h1 {
    font-size: 2rem;
  }
  .post-banner {
    min-height: 50vh;
  }
  .post-banner .container {
    padding-bottom: 40px;
  }
  .banner-content {
    padding: 32px;
  }
  .banner-content h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .post-list {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 50px;
    margin-bottom: 40px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }
  .content {
    padding: 24px;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .subscribe-form {
    flex-direction: column;
  }
  .chip-row {
    gap: 8px;
  }
  .chip {
    padding: 10px 18px;
    font-size: 0.875rem;
  }
  .app-bar-inner {
    padding: 14px 16px;
  }
  .container {
    padding: 24px 16px;
  }
  .post-banner {
    min-height: 60vh;
  }
  .post-banner .container {
    padding-bottom: 32px;
  }
  .banner-content {
    padding: 24px;
    border-radius: 16px;
  }
  .banner-content h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
  }
  .giveaway-cta {
    right: 16px;
    bottom: 16px;
    padding: 14px 22px;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* Theme Toggle Floating Button */
.theme-toggle-floating {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  color: white;
}

.theme-toggle-floating:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4), 0 12px 32px rgba(0, 0, 0, 0.2);
}

.theme-toggle-floating:active {
  transform: translateY(0) scale(0.98);
}

.theme-toggle-floating .sun-icon,
.theme-toggle-floating .moon-icon {
  position: absolute;
  transition: all 0.3s ease;
}

.theme-toggle-floating .sun-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle-floating .moon-icon {
  opacity: 0;
  transform: rotate(180deg) scale(0);
}

.theme-dark .theme-toggle-floating {
  background: linear-gradient(135deg, #475569 0%, #64748B 100%);
}

.theme-dark .theme-toggle-floating .sun-icon {
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

.theme-dark .theme-toggle-floating .moon-icon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (max-width: 768px) {
  .theme-toggle-floating {
    width: 40px;
    height: 40px;
    top: 80px;
    right: 16px;
  }

  .theme-toggle-floating .sun-icon,
  .theme-toggle-floating .moon-icon {
    width: 18px;
    height: 18px;
  }
}

/* Navigation User Link */
.nav-user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  transition: all 0.3s ease;
}

.nav-user-link:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
  transform: translateY(-1px);
}

.theme-dark .nav-user-link {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
}

.theme-dark .nav-user-link:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(124, 58, 237, 0.25) 100%);
}

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

.nav-avatar-initials {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border: 2px solid var(--primary);
}

/* Mobile Drawer User Info */
.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border-radius: 12px;
}

.theme-dark .drawer-user-info {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
}

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

.drawer-avatar-initials {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  border: 2px solid var(--primary);
}

.drawer-user-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.drawer-user-role {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .nav-user-link {
    display: none;
  }
}
