/* --- VARIABLES Y CONFIGURACIÓN GENERAL --- */
:root {
  --bg-page: #F9F8F6;
  --bg-dark: #141A17;
  --text-main: #1C1E1D;
  --text-muted: #616864;
  --accent-green: #2D5341;
  --accent-terracotta: #C85A28;
  --border-color: #E2E0D8;
  --bg-alt: #EFECE6;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Typography resets */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease-in-out;
}

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

.ui-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ui-icon-sm {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Tags & Buttons */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.tag-terracotta {
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
}

.tag-green {
  background-color: var(--accent-green);
  color: #F9F8F6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  border: none;
}

.btn-primary {
  background-color: var(--accent-green);
  color: #F9F8F6;
}

.btn-primary:hover {
  background-color: #1e3b2e;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
}

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

.btn-primary-light {
  background-color: var(--bg-page);
  color: var(--bg-dark);
  gap: 8px;
}

.btn-primary-light:hover {
  background-color: #ffffff;
}

/* --- SECCIÓN 0: HEADER & WEATHER BAR --- */
.site-header {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-page);
}

.top-bar {
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.divider {
  color: var(--border-color);
}

.brand-header {
  text-align: center;
  padding: 36px 20px 24px;
}

.brand-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1;
}

.brand-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

.main-nav {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  display: inline-block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-green);
  opacity: 0;
  transform: translateY(2px);
  transition: all 0.25s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateY(0);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

/* --- SECCIÓN 1: HERO (TITULARES PRINCIPALES) --- */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.hero-main {
  grid-column: span 8;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-page);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

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

.hero-content {
  padding: 24px;
}

.hero-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-main:hover .hero-title a {
  color: var(--accent-green);
}

.hero-excerpt {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Lo Último */
.hero-sidebar {
  grid-column: span 4;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-main);
  margin-bottom: 16px;
}

.sidebar-title {
  font-size: 20px;
}

.live-indicator {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-terracotta);
  border: 1px solid var(--accent-terracotta);
  padding: 2px 6px;
  border-radius: 2px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

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

.timestamp {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-green);
  margin-right: 6px;
}

.category-mini {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.sidebar-item-title {
  font-size: 15px;
  margin-top: 4px;
}

.sidebar-item-title a:hover {
  color: var(--accent-green);
}

/* --- SECCIÓN EDITORIAL HEADERS --- */
.section-header-editorial {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.section-title-main {
  font-size: 28px;
  position: relative;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* --- SECCIÓN 2: CONCEPCIÓN, SUR Y RUTAS --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--bg-page);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease-in-out;
}

.news-card:hover {
  border-color: var(--accent-green);
}

.card-img-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

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

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 19px;
  margin-bottom: 10px;
}

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

.card-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-footer-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* --- SECCIÓN 3: CULTURA, MEMORIA Y TRADICIÓN --- */
.special-project-section {
  background-color: var(--bg-dark);
  color: #F9F8F6;
  margin-top: 32px;
}

.special-project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
}

.special-essay {
  grid-column: span 5;
}

.special-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.special-title {
  color: #F9F8F6;
  font-size: 36px;
  margin-bottom: 20px;
}

.special-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  border-left: 2px solid var(--accent-terracotta);
  padding-left: 16px;
  margin-bottom: 20px;
  color: #E2E0D8;
}

.special-paragraph {
  font-size: 15px;
  color: #A0A5A2;
  margin-bottom: 28px;
}

.ui-icon-btn {
  width: 14px;
  height: 14px;
}

.special-mosaic {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(226, 224, 216, 0.15);
}

.mosaic-item-1 {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.mosaic-item-2, .mosaic-item-3 {
  aspect-ratio: 4 / 3;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(20,26,23,0.9), transparent);
  font-size: 13px;
  color: #F9F8F6;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.mosaic-item:hover img {
  opacity: 1;
  transform: scale(1.02);
}

/* --- SECCIÓN 4: DEPORTES Y VIDA COTIDIANA --- */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.editorial-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color 0.25s ease-in-out;
}

.editorial-card:hover {
  background-color: var(--bg-alt);
}

.card-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-terracotta);
  margin-bottom: 8px;
}

.card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.editorial-card-title {
  font-size: 17px;
  margin-bottom: 12px;
}

.editorial-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.editorial-card-arrow {
  display: flex;
  justify-content: flex-end;
}

/* --- SECCIÓN 5: WELCOME PRE-FOOTER --- */
.pre-footer-section {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 64px;
}

.welcome-box {
  max-width: 840px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.welcome-title {
  font-size: 30px;
  margin-bottom: 16px;
}

.welcome-manifesto {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- SECCIÓN 6: FOOTER --- */
.site-footer {
  background-color: var(--bg-dark);
  color: #E2E0D8;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #F9F8F6;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: #A0A5A2;
  margin-bottom: 20px;
}

.copyright {
  font-size: 12px;
  color: #616864;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F9F8F6;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 14px;
  color: #A0A5A2;
}

.footer-links a:hover {
  color: #F9F8F6;
}

.footer-info {
  font-size: 14px;
  color: #A0A5A2;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  font-size: 13px;
  color: var(--accent-terracotta);
}

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

.legal-text {
  font-size: 12px;
  color: #717874;
  line-height: 1.6;
}

/* --- MODAL DE COOKIES --- */
.cookie-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  background-color: var(--bg-page);
  border: 1px solid var(--text-main);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-modal.show {
  transform: translateX(0);
  opacity: 1;
}

.cookie-modal.hide {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cookie-title {
  font-size: 16px;
}

.cookie-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-main, .hero-sidebar {
    grid-column: span 12;
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .special-project-grid {
    grid-template-columns: 1fr;
  }

  .special-essay, .special-mosaic {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-title {
    font-size: 44px;
  }

  .top-bar-right {
    display: none;
  }

  .nav-list {
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .card-grid-3, .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .special-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-item-1 {
    grid-column: span 1;
  }

  .welcome-box {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-modal {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 16px;
  }
}
/* Inner page styles */
/* --- STYLES FOR INTERNAL ARTICLE PAGE & COMPONENT EXTENSIONS --- */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.bc-divider {
  color: var(--border-color);
}

.bc-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Article Header Typography */
.article-header {
  margin-bottom: 28px;
}

.article-main-title {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 10px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.article-lead {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.author-name {
  display: block;
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.article-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Article Featured & Inner Images */
.article-featured-image {
  margin-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-alt);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.image-caption {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 16px;
  background-color: var(--bg-alt);
  border-left: 3px solid var(--accent-green);
  line-height: 1.4;
}

.article-inner-image {
  margin: 32px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-inner-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Table of Contents (Oglavlenie) */
.table-of-contents {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 18px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent-terracotta);
  display: inline-block;
  padding-bottom: 4px;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
  font-size: 15px;
}

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

.toc-list a {
  color: var(--accent-green);
  font-weight: 600;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

/* Article Body Formatting (p, span, h1-h6, a, ul, ol, blockquote) */
.article-content {
  max-width: 840px;
  margin: 0 auto 48px;
  font-size: 18px;
  line-height: 1.75;
  color: #242725;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h1 { font-size: 36px; }
.article-content h2 { font-size: 28px; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; }
.article-content h3 { font-size: 24px; color: var(--accent-green); }
.article-content h4 { font-size: 20px; }
.article-content h5 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-terracotta); }
.article-content h6 { font-size: 15px; font-style: italic; color: var(--text-muted); }

.article-content p {
  margin-bottom: 22px;
}

.article-content span.highlight {
  background-color: rgba(200, 90, 40, 0.12);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--text-main);
  font-weight: 500;
}

.article-content a {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: var(--accent-terracotta);
}

.article-content ul,
.article-content ol {
  margin-top: 12px;
  margin-bottom: 24px;
  padding-left: 28px;
}

.article-content ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.article-content ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
}

.article-content li::marker {
  color: var(--accent-green);
  font-weight: 700;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-terracotta);
  padding: 20px 24px;
  background-color: var(--bg-alt);
  margin: 36px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--text-main);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 36px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--bg-page);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  font-family: var(--font-sans);
}

.article-table th {
  background-color: var(--accent-green);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 2px solid var(--border-color);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.article-table tr:nth-child(even) {
  background-color: var(--bg-alt);
}

.article-table tr:hover {
  background-color: rgba(45, 83, 65, 0.06);
}

/* Author Bio Card */
.author-bio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 48px;
}

.bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bio-title {
  font-size: 18px;
  margin-bottom: 6px;
}

.bio-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Comment & Contact Form Section Styles */
.comments-section, .contact-section {
  margin-bottom: 48px;
}

.comments-wrapper, .contact-wrapper {
  max-width: 840px;
  margin: 0 auto;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
}

.comment-form, .contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: #FFFFFF;
  color: var(--text-main);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(45, 83, 65, 0.12);
}

textarea.form-control {
  resize: vertical;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Comments List */
.comments-list {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comments-count {
  font-size: 20px;
  margin-bottom: 12px;
}

.comment-item {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-green);
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
}

.comment-body {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

/* Responsive Tweaks for Article Page */
@media (max-width: 768px) {
  .article-main-title {
    font-size: 30px;
  }
  
  .article-lead {
    font-size: 17px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .comments-wrapper, .contact-wrapper {
    padding: 20px;
  }

  .author-bio-card {
    flex-direction: column;
    text-align: center;
  }
}