/*
 * Glas crkve - Design System
 * Aesthetic: Dignified, Orthodox, Editorial, Light-only, Typographic
 */

:root {
  /* Color Palette - Light Warm Parchment */
  --bg-main: #fbf9f5;
  --bg-card: #ffffff;
  --bg-secondary: #f4f0e6;
  --bg-tertiary: #ebe5d8;
  
  /* Text */
  --text-main: #1c1917;
  --text-secondary: #4a453e;
  --text-muted: #78716c;
  
  /* Brand Orthodox Accents */
  --accent-burgundy: #7b1d28;
  --accent-burgundy-hover: #5e141d;
  --accent-gold: #b8860b;
  --accent-gold-soft: #dfb235;
  --accent-gold-bg: rgba(184, 134, 11, 0.08);
  --border-color: #e6e0d4;
  --border-subtle: #f0ebe1;
  
  /* Typography */
  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Lora', 'Georgia', serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.02);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.06), 0 2px 6px rgba(28, 25, 23, 0.03);
  --shadow-lg: 0 10px 30px rgba(28, 25, 23, 0.08), 0 4px 10px rgba(28, 25, 23, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  /* Container widths */
  --container-max: 1240px;
  --reading-max: 820px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-burgundy);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--accent-gold);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-burgundy), var(--accent-gold));
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease-out;
}

/* Header Topbar on Desktop (Utility Strip) */
.topbar {
  background-color: #faf7f2;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
}

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

.topbar-date {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.topbar-date i {
  color: var(--accent-burgundy);
}

/* Radio Slovo Ljubve Player Widget on Desktop Topbar */
.radio-player-widget {
  display: inline-flex;
  align-items: center;
}

.radio-player-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
  transition: all 0.25s ease;
}

.radio-player-link:hover {
  background: #ffffff;
  border-color: var(--accent-gold);
  color: var(--accent-burgundy);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.15);
  transform: translateY(-1px);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #c5221f;
  color: #ffffff;
  padding: 0.15rem 0.48rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.live-pulse {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.radio-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.radio-title {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-main);
}

.radio-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.radio-freq {
  color: var(--accent-burgundy);
  font-weight: 600;
}

.radio-desc-desktop {
  display: inline;
}

.radio-play-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.62rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.radio-player-link:hover .radio-play-icon {
  background: var(--accent-burgundy-hover);
  transform: scale(1.08);
}

/* Main Site Navigation Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(220, 212, 198, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(28, 25, 23, 0.03);
}

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

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

.logo-svg-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-burgundy);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Menu Desktop */
.nav-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-drawer-radio {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-burgundy);
}

/* Desktop Radio Widget in Header */
.header-radio-desktop {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--accent-burgundy);
  cursor: pointer;
}

/* Mobile Dedicated Radio Bar (Hidden on desktop) */
.mobile-radio-bar {
  display: none;
}

/* Hero Section on Homepage */
.hero-section {
  padding: 3rem 0 2rem;
}

.hero-banner {
  background: linear-gradient(135deg, #2a2420, #40161b);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(184, 134, 11, 0.3);
}

.hero-banner::after {
  content: '†';
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-size: 260px;
  font-family: var(--font-title);
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #1a1510;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 820px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6dfd5;
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #1a1510;
}

.btn-primary:hover {
  background-color: var(--accent-gold-soft);
  color: #1a1510;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Category Grid on Home */
.section-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 3rem 0 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: var(--accent-burgundy);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.cat-icon-circle {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  color: var(--accent-burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.category-card:hover .cat-icon-circle {
  background: var(--accent-burgundy);
  color: #ffffff;
}

.cat-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.cat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.cat-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(123, 29, 40, 0.4);
}

.card-cat-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-burgundy);
  background: var(--bg-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--accent-burgundy);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

/* Article Single View Layout */
.article-header {
  padding: 3rem 0 2.25rem;
  border-bottom: 1px solid rgba(220, 212, 198, 0.6);
  margin-bottom: 2.75rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.breadcrumbs a {
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-burgundy);
}

.breadcrumbs span {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
}

.breadcrumbs i {
  font-size: 0.62rem;
  color: var(--border-color);
  opacity: 0.7;
  flex-shrink: 0;
}

.article-main-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.28;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.article-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* Article Content Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  margin-bottom: 4rem;
}

.article-body {
  max-width: var(--reading-max);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #22201d;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--accent-burgundy);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-main);
  margin: 1.75rem 0 0.75rem;
}

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

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

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

/* Executive Summary Box */
.summary-box {
  background: #faf8f3;
  border: 1px solid rgba(184, 134, 11, 0.22);
  border-left: 3.5px solid var(--accent-burgundy);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.6rem 1.85rem;
  margin-bottom: 2.75rem;
}

.summary-title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--accent-burgundy);
  margin-bottom: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-list {
  list-style: none;
  margin: 0 !important;
}

.summary-list li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.8rem;
  font-size: 0.96rem;
  line-height: 1.68;
  color: #2b2723;
}

.summary-list li:last-child {
  margin-bottom: 0;
}

.summary-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent-gold);
  font-size: 0.75rem;
}

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

.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toc-list {
  list-style: none;
  margin: 0 !important;
}

.toc-list li {
  margin-bottom: 0.45rem;
}

.toc-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.toc-list a:hover {
  color: var(--accent-burgundy);
}

/* Tables inside articles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-card);
}

th, td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--accent-burgundy);
  font-family: var(--font-sans);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: rgba(244, 240, 230, 0.35);
}

/* Blockquotes & Notes */
blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  background: var(--accent-gold-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #38332e;
}

.alert-block {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.75rem 0;
  border-left: 4px solid;
}

.alert-block-note {
  background: #fdfbf7;
  border-color: var(--accent-gold);
}

.alert-block-note .alert-icon {
  color: var(--accent-gold);
  font-size: 1.25rem;
}

/* FAQ Accordion */
.faq-section {
  margin: 3rem 0;
  border-top: 2px solid var(--border-color);
  padding-top: 2rem;
}

.faq-section-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--accent-burgundy);
  margin-bottom: 1.25rem;
}

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

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

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

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.widget-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--accent-burgundy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.widget-list {
  list-style: none;
}

.widget-list li {
  margin-bottom: 0.75rem;
}

.widget-list a {
  font-size: 0.92rem;
  line-height: 1.4;
  display: block;
  color: var(--text-main);
}

.widget-list a:hover {
  color: var(--accent-burgundy);
}

/* Pre-footer Recommended Resources Section */
.prefooter-resources {
  background: #f7f4ee;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 2rem;
}

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

.resources-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-burgundy);
  background: rgba(123, 29, 40, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.resources-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.resources-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.resources-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 134, 11, 0.4);
}

.resource-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.resource-card-header i {
  color: var(--accent-burgundy);
  font-size: 1rem;
  width: 28px;
  height: 28px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-card-header h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.resource-links-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: all 0.2s ease;
}

.resource-links-list li a i {
  color: var(--accent-gold);
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.resource-links-list li a:hover {
  color: var(--accent-burgundy);
  transform: translateX(2px);
}

.resource-links-list li a:hover i {
  color: var(--accent-burgundy);
}

/* Footer & Prijatelji sajta */
.site-footer {
  background: #1f1b18;
  color: #dfd8cc;
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-friends-section {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 134, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}

.footer-friends-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-friends-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.25rem;
}

.friend-link {
  color: #f7f4ed;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.friend-link i {
  color: var(--accent-gold);
  font-size: 0.75rem;
}

.friend-link:hover {
  color: var(--accent-gold);
}

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

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b3aba0;
  margin: 1rem 0;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #c4bcb0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #8f867b;
}

/* Responsive Design System */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .resources-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  /* Container adjustment */
  .container {
    padding: 0 1.25rem;
  }

  /* Mobile Header - Dignified, spacious, calm */
  .site-header {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(28, 25, 23, 0.04);
  }

  .header-inner {
    padding: 0.75rem 0.65rem;
    position: static; /* Allows .nav-menu dropdown to span full screen width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Dignified Brand Logo on Mobile - Noble proportions */
  .brand-logo {
    gap: 0.75rem;
    flex-shrink: 1;
  }

  .logo-svg-wrap {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.38rem;
    line-height: 1.12;
    font-weight: 700;
  }

  .brand-tagline {
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  /* Hide Desktop Radio from Header on Mobile */
  .header-radio-desktop {
    display: none !important;
  }

  /* Prominent, easily clickable Hamburger Toggle */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(184, 134, 11, 0.35);
    background: #faf7f2;
    border-radius: 8px;
    padding: 0;
    font-size: 1.25rem;
    color: var(--accent-burgundy);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
    transition: all 0.2s ease;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:active {
    background: #f4eee2;
    border-color: var(--accent-gold);
    color: var(--accent-burgundy-hover);
  }

  /* Dedicated Mobile Radio Strip - Natural breathing room */
  .mobile-radio-bar {
    display: block !important;
    background: #faf7f2;
    border-bottom: 1px solid rgba(220, 212, 198, 0.6);
    padding: 0.55rem 0;
  }

  .mobile-radio-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(28, 25, 23, 0.03);
    transition: all 0.2s ease;
  }

  .mobile-radio-pill:hover,
  .mobile-radio-pill:active {
    border-color: var(--accent-gold);
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.12);
  }

  .mobile-radio-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }

  .mobile-radio-left .live-indicator {
    font-size: 0.65rem;
    padding: 0.12rem 0.45rem;
  }

  .mobile-radio-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
  }

  .mobile-radio-freq {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-burgundy);
  }

  .mobile-radio-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .mobile-radio-action {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-burgundy);
  }

  .mobile-radio-play {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-burgundy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
  }

  /* Mobile Navigation Drawer */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 2rem 1.75rem;
    border-bottom: 2px solid var(--accent-burgundy);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    gap: 0;
    z-index: 200;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-link {
    display: block;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
  }

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

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

  .nav-menu li:last-child .nav-link {
    border-bottom: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 1.5rem 0 1rem;
  }
  .hero-banner {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.85rem;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.28;
    margin-bottom: 0.75rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1.2rem;
  }

  /* Grids & Cards */
  .section-title-wrap {
    margin: 2rem 0 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: 2.5rem;
  }
  .category-card {
    padding: 1.35rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  .article-card {
    padding: 1.25rem;
  }
  .card-title {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  /* Article Single View - Generous, Calm, Spacious */
  .article-header {
    padding: 2.25rem 0 1.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(220, 212, 198, 0.6);
  }
  .breadcrumbs {
    font-size: 0.8rem;
    gap: 0.35rem 0.55rem;
    margin-bottom: 1.35rem;
    line-height: 1.5;
  }
  .breadcrumbs .breadcrumb-sep-last,
  .breadcrumbs .breadcrumb-current {
    display: none !important;
  }
  .breadcrumbs a {
    white-space: nowrap;
    color: var(--text-muted);
  }
  .breadcrumbs a:hover {
    color: var(--accent-burgundy);
  }
  .breadcrumbs span {
    font-weight: 500;
    color: var(--text-secondary);
  }
  .breadcrumbs i {
    font-size: 0.6rem;
    color: var(--text-muted);
    opacity: 0.6;
  }
  .article-main-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 1.35rem;
    color: #1a1614;
    letter-spacing: -0.01em;
  }
  .article-meta-row {
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
    margin-bottom: 0;
    color: #736b62;
    line-height: 1.45;
  }
  .meta-item-cat {
    display: none !important;
  }
  .meta-item {
    white-space: nowrap;
    gap: 0.4rem;
  }

  /* Summary Box */
  .summary-box {
    padding: 1.45rem 1.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(184, 134, 11, 0.22);
    border-left: 3.5px solid var(--accent-burgundy);
    background: #faf8f3;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }
  .summary-title {
    font-size: 1.05rem;
    margin-bottom: 0.95rem;
    color: var(--accent-burgundy);
  }
  .summary-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.4rem;
    margin-bottom: 0.8rem;
    color: #2b2723;
  }
  .summary-list li:last-child {
    margin-bottom: 0;
  }

  /* Article Content */
  .article-layout {
    margin-bottom: 1.25rem;
  }
  .article-body {
    font-size: 1.02rem;
    line-height: 1.72;
  }
  .article-body h2 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.75rem;
    line-height: 1.32;
    padding-bottom: 0.35rem;
  }
  .article-body h3 {
    font-size: 1.15rem;
    margin: 1.35rem 0 0.5rem;
  }
  .article-body p {
    margin-bottom: 1.2rem;
  }
  .article-body ul, .article-body ol {
    margin: 0.75rem 0 1.2rem 1.25rem;
  }
  .article-body li {
    margin-bottom: 0.4rem;
  }
  blockquote {
    padding: 0.75rem 1rem;
    margin: 1.25rem 0;
    font-size: 0.95rem;
  }
  .alert-block {
    padding: 1rem;
    margin: 1.25rem 0;
    gap: 0.75rem;
  }

  /* FAQ Accordion */
  .faq-section {
    margin: 2rem 0 1.5rem;
    padding-top: 1.5rem;
  }
  .faq-section-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .faq-question {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Sidebar widgets on mobile */
  .toc-widget {
    display: none !important; /* Hide TOC after article on mobile/tablet */
  }
  .article-sidebar {
    margin-top: 1rem;
  }
  .sidebar-widget {
    padding: 1.25rem;
  }

  /* Pre-footer Resources on Mobile */
  .prefooter-resources {
    padding: 2rem 0;
    margin-top: 1.5rem;
  }
  .resources-header {
    margin-bottom: 1.25rem;
  }
  .resources-title {
    font-size: 1.25rem;
  }
  .resources-subtitle {
    font-size: 0.88rem;
  }
  .resource-card {
    padding: 1.25rem;
  }
  .resource-links-list li a {
    font-size: 0.9rem;
    padding: 0.2rem 0;
  }

  /* Footer & Friends */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-friends-section {
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
  }
  .footer-friends-title {
    font-size: 1rem;
  }
  .footer-friends-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .friend-link {
    font-size: 0.88rem;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }
  .footer-col a {
    font-size: 0.88rem;
  }
  .footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }
  .header-inner {
    padding: 0.7rem 0.55rem;
  }
  .brand-logo {
    gap: 0.65rem;
  }
  .brand-title {
    font-size: 1.3rem;
  }
  .logo-svg-wrap {
    width: 38px;
    height: 38px;
  }
  .mobile-radio-bar {
    padding: 0.45rem 0;
  }
  .mobile-radio-pill {
    padding: 0.38rem 0.8rem;
  }
  .mobile-radio-name {
    font-size: 0.82rem;
  }
  .mobile-radio-freq {
    font-size: 0.75rem;
  }
  .mobile-radio-action {
    display: none;
  }
  .article-header {
    padding: 1.85rem 0 1.5rem;
    margin-bottom: 2.25rem;
  }
  .breadcrumbs {
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
  }
  .article-main-title {
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.46;
    margin-bottom: 1.25rem;
  }
  .article-meta-row {
    gap: 0.4rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .summary-box {
    padding: 1.35rem 1.35rem;
    margin-bottom: 2.25rem;
  }
  .hero-banner {
    padding: 1.75rem 1.2rem;
  }
  .hero-title {
    font-size: 1.38rem;
  }
}
