/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   Style: Editorial Organic Luxury (outletbeauty.com.br)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-nude: #F2ECE4;
  --text-main: #1A1817;
  --text-muted: #6E6963;
  --accent-warm: #C88A75;
  --accent-eucalyptus: #4A5D4E;
  --border-color: #E5DFD7;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout Dimensions */
  --max-width: 1280px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Common Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* UI BADGES & BUTTONS */
.badge-tag {
  display: inline-block;
  background-color: var(--bg-nude);
  color: var(--text-main);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.badge-tag:hover {
  background-color: var(--text-main);
  color: var(--bg-main);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-main);
  color: var(--bg-main);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 138, 117, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

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

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 12px;
}

/* SECTION HEADINGS */
.section-heading-lg {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 28px;
}

.section-title-sm {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   SECTION 0: HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--accent-warm);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger {
  color: var(--text-main);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.search-trigger:hover {
  color: var(--accent-warm);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Mobile Drawer Nav */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--bg-main);
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  padding: 32px 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  right: 0;
}

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

.drawer-close {
  font-size: 32px;
  line-height: 1;
  color: var(--text-main);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-links a {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-main);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 24, 23, 0.6);
  backdrop-filter: blur(8px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal {
  width: 90%;
  max-width: 680px;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 8px;
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text-main);
  background: transparent;
}

.search-close {
  font-size: 28px;
  color: var(--text-main);
  margin-left: 12px;
}

/* ==========================================================================
   SECTION 1: HERO CAROUSEL
   ========================================================================== */
.hero-carousel-section {
  padding: 40px 0 60px;
  overflow: hidden;
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: var(--bg-main);
}

.carousel-track-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  padding-right: 24px;
}

.carousel-track-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.hero-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 420px;
  background-color: var(--text-main);
  cursor: pointer;
  transition: box-shadow 0.4s ease;
}

.hero-card:hover {
  box-shadow: 0 16px 32px rgba(26, 24, 23, 0.12);
}

.hero-card-media {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 100%);
}

.hero-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.hero-card-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-meta .dot {
  font-size: 8px;
}

/* ==========================================================================
   SECTION 2: MAIN CONTENT (FEED & SIDEBAR)
   ========================================================================== */
.content-grid-section {
  padding: 40px 24px 80px;
}

.main-layout-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

.feed-column {
  grid-column: span 8;
}

.sidebar-column {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Main Feed Cards */
.feed-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feed-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(26, 24, 23, 0.06);
}

.feed-card-img-wrap {
  width: 32%;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}

.feed-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feed-card:hover .feed-card-img-wrap img {
  transform: scale(1.04);
}

.feed-card-body {
  width: 68%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

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

.feed-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feed-card-snippet {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.read-more-link .arrow {
  transition: transform 0.3s ease;
}

.feed-card:hover .read-more-link .arrow {
  transform: translateX(4px);
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* Popular List */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popular-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.popular-number {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-warm);
  width: 22px;
}

.popular-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.popular-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popular-link {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-link:hover {
  color: var(--accent-warm);
}

.popular-views {
  font-size: 11px;
  color: var(--text-muted);
}

/* Widget Newsletter */
.widget-newsletter {
  background-color: var(--bg-nude);
  border: none;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 12px 0 8px;
}

.newsletter-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--text-main);
}

/* Widget Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-tile {
  position: relative;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.category-tile:hover img {
  transform: scale(1.08);
}

.tile-label {
  position: absolute;
  z-index: 2;
  background-color: rgba(250, 248, 245, 0.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   SECTION 3: GUIA DE BELEZA CONSCIENTE BANNER
   ========================================================================== */
.conscious-banner-section {
  background-color: var(--accent-eucalyptus);
  color: #FFFFFF;
  padding: 80px 0;
}

.conscious-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.conscious-content {
  flex: 1;
}

.conscious-heading {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.conscious-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.conscious-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.conscious-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.conscious-card:hover {
  transform: translateX(6px);
  background-color: rgba(255, 255, 255, 0.14);
}

.conscious-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.conscious-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.conscious-card-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SECTION 4: WELCOME TEXT BEFORE FOOTER (BOAS-VINDAS)
   ========================================================================== */
.welcome-section {
  background-color: var(--bg-main);
  padding: 80px 0;
  text-align: center;
}

.welcome-container {
  max-width: 840px;
}

.welcome-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 60px;
}

.welcome-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

/* ==========================================================================
   SECTION 5: FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--text-main);
  color: var(--bg-main);
  padding-top: 60px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-about-text {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.7);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.7);
}

.footer-links a:hover {
  color: var(--accent-warm);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.social-link {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.7);
  text-decoration: underline;
}

.back-to-top {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-warm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* ==========================================================================
   COOKIE MODAL
   ========================================================================== */
.cookie-modal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 380px;
  width: calc(100% - 48px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

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

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

.cookie-icon {
  width: 20px;
  height: 20px;
}

.cookie-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

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

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

/* ==========================================================================
   SCROLL ANIMATIONS & REVEAL CLASSES
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--card-index, 0) * 0.1s);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
  .main-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .feed-column,
  .sidebar-column {
    grid-column: span 12;
  }

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

  .widget-categories {
    grid-column: span 2;
  }

  .conscious-wrapper {
    flex-direction: column;
  }

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

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

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

/* Mobile (< 767px) */
@media (max-width: 767px) {
  .hero-card {
    flex: 0 0 85vw;
  }

  .feed-card {
    flex-direction: column;
  }

  .feed-card-img-wrap,
  .feed-card-body {
    width: 100%;
  }

  .feed-card-img-wrap {
    height: 200px;
  }

  .sidebar-column {
    grid-template-columns: 1fr;
  }

  .widget-categories {
    grid-column: span 1;
  }

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

  .cookie-modal {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}
/* Inner page styles */
/* ==========================================================================
   INTERNAL ARTICLE PAGE SPECIFIC STYLES
   ========================================================================== */

.article-main {
  padding-top: 20px;
}

.article-header {
  padding: 32px 0 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-category {
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.article-meta .dot {
  font-size: 10px;
  color: var(--accent-warm);
}

/* HERO IMAGE & INLINE IMAGES */
.article-hero-media {
  margin: 24px auto 48px;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(26, 24, 23, 0.08);
}

.article-hero-media img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.image-caption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-style: italic;
  padding: 0 16px;
}

.article-inline-figure {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-nude);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.article-inline-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.article-inline-figure img:hover {
  transform: scale(1.02);
}

/* ARTICLE CONTAINER LAYOUT */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TABLE OF CONTENTS (TOC) STYLES */
.toc-container {
  background-color: var(--bg-nude);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 48px;
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-icon {
  width: 22px;
  height: 22px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding-left: 0;
}

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

.toc-list a {
  color: var(--text-main);
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}

.toc-list a:hover {
  color: var(--accent-warm);
  transform: translateX(4px);
}

/* ARTICLE TYPOGRAPHY & TAGS STYLING */
.article-body {
  line-height: 1.8;
}

.article-body .lead-p {
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 28px;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  margin-top: 44px;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.article-body h1 { font-size: 34px; font-weight: 600; }
.article-body h2 { font-size: 28px; font-weight: 500; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.article-body h3 { font-size: 23px; font-weight: 500; }
.article-body h4 { font-size: 20px; font-weight: 600; }
.article-body h5 { font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.article-body h6 { font-size: 15px; font-weight: 700; color: var(--text-muted); }

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #2D2A26;
  margin-bottom: 24px;
}

.article-body span.highlight {
  background-color: #F5E8E2;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  color: #8C4835;
}

.article-body span.meta-tag {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent-eucalyptus);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* LINKS INSIDE ARTICLE (TAG A) */
.article-body a {
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.article-body a:hover {
  color: var(--text-main);
  text-decoration-color: var(--text-main);
}

/* LISTS STYLING (UL, OL) */
.article-body ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 32px;
}

.article-body ol {
  list-style-type: decimal;
  padding-left: 24px;
  margin-bottom: 32px;
}

.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: #2D2A26;
  margin-bottom: 10px;
}

.article-body li::marker {
  color: var(--accent-warm);
  font-weight: bold;
}

/* TABLE STYLING */
.article-table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  background-color: var(--bg-card);
}

.article-table thead {
  background-color: var(--bg-nude);
}

.article-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-main);
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-color);
}

.article-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  color: #383431;
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

.article-table tbody tr:hover {
  background-color: rgba(242, 236, 228, 0.4);
}

/* COMMENTS FORM & SECTION STYLES */
.comments-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.comments-title {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--text-main);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.comment-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-author {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
}

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

.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: #383431;
}

.comment-form-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group-full {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px rgba(200, 138, 117, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* CONTACT FORM STYLES */
.contact-section {
  margin-top: 56px;
  background-color: var(--bg-nude);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.contact-section .form-control {
  background-color: #FFFFFF;
}

.contact-header {
  margin-bottom: 24px;
}

/* RELINKING BLOCK (RELATED ARTICLES) */
.relinking-section {
  margin-top: 80px;
  padding: 64px 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.relinking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.related-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.related-img-wrap {
  height: 200px;
  overflow: hidden;
}

.related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-card:hover .related-img-wrap img {
  transform: scale(1.05);
}

.related-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-main);
}

/* RESPONSIVE BREAKPOINTS FOR ARTICLE PAGE */
@media (max-width: 900px) {
  .relinking-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .article-title {
    font-size: 28px;
  }
  .article-body .lead-p {
    font-size: 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .comment-form-container,
  .contact-section {
    padding: 24px;
  }
  .relinking-grid {
    grid-template-columns: 1fr;
  }
}
.ob-official-sources {
  padding: 68px 20px;
  background: #fff7f6;
}

.ob-official-container {
  max-width: 1120px;
  margin: 0 auto;
}

.ob-official-card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f6 55%, #fff1ec 100%);
  border: 1px solid rgba(190, 117, 116, 0.18);
  box-shadow: 0 20px 50px rgba(120, 65, 74, 0.08);
}

.ob-official-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(225, 151, 151, 0.16);
}

.ob-official-card::after {
  content: "";
  position: absolute;
  bottom: -85px;
  left: -85px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(244, 190, 166, 0.18);
}

.ob-official-header,
.ob-official-grid,
.ob-official-note {
  position: relative;
  z-index: 1;
}

.ob-official-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fde9e8;
  color: #b15b63;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ob-official-title {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
  color: #3d2930;
}

.ob-official-text {
  margin: 0 0 30px;
  max-width: 900px;
  font-size: 17px;
  line-height: 1.75;
  color: #725c63;
}

.ob-official-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.ob-official-link {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(190, 117, 116, 0.18);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ob-official-link:hover {
  transform: translateY(-4px);
  border-color: rgba(177, 91, 99, 0.45);
  box-shadow: 0 16px 34px rgba(120, 65, 74, 0.12);
}

.ob-official-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0e8;
  color: #b16a48;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ob-official-link strong {
  margin-bottom: 13px;
  font-size: 21px;
  line-height: 1.3;
  color: #3d2930;
}

.ob-official-link span:last-child {
  font-size: 15px;
  line-height: 1.65;
  color: #765f66;
}

.ob-official-note {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(190, 117, 116, 0.18);
  font-size: 14px;
  line-height: 1.7;
  color: #7d6970;
}

@media (max-width: 820px) {
  .ob-official-sources {
    padding: 52px 16px;
  }

  .ob-official-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .ob-official-title {
    font-size: 28px;
  }

  .ob-official-grid {
    grid-template-columns: 1fr;
  }

  .ob-official-link {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .ob-official-card {
    padding: 26px 18px;
  }

  .ob-official-title {
    font-size: 24px;
  }

  .ob-official-text {
    font-size: 16px;
  }

  .ob-official-link {
    padding: 20px;
  }
}