/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Wabi-Sabi & Brazilian Accent Aesthetic)
   ========================================================================== */
:root {
  --paper-cream: #FBF9F5;
  --sumi-ink: #121619;
  --text-main: #1E2224;
  --text-muted: #6B7275;
  --akane-crimson: #C83E2B;
  --matcha-nori: #2A3C32;
  --sun-gold: #D4A359;
  --border-color: #EAE5DC;
  --bg-welcome: #F3EFEA;
  --footer-divider: #2A3035;
  --footer-text: #9A9F9D;

  --font-heading: 'Shippori Mincho', 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--paper-cream);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

/* UTILITY CLASSES */
.section-padding {
  padding: 90px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

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

.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.ui-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--akane-crimson);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: #B03423;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--text-main);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  transition: var(--transition-smooth);
}

.btn-ghost:hover {
  color: var(--text-main);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* BADGES */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--akane-crimson);
  font-weight: 600;
  margin-bottom: 16px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--akane-crimson);
  border-radius: 50%;
}

.badge-gold {
  display: inline-block;
  color: var(--sun-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ==========================================================================
   2.1. HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 32px;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-main);
  font-weight: 700;
}

.brand-title.light {
  color: #FFFFFF;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--akane-crimson);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.search-widget {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 12px;
  transition: var(--transition-smooth);
}

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

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  width: 120px;
  padding-left: 8px;
  font-family: var(--font-body);
}

/* ==========================================================================
   2.2. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.collage-container {
  position: relative;
  width: 100%;
  height: 480px;
}

.collage-frame-gold {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 70%;
  height: 85%;
  border: 2px solid var(--sun-gold);
  border-radius: 8px;
  z-index: 1;
}

.collage-img-wrapper {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.collage-img-wrapper.main-img {
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  z-index: 2;
}

.collage-img-wrapper.detail-img {
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  z-index: 3;
  border: 4px solid var(--paper-cream);
}

.collage-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-fact-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  z-index: 4;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 8px;
  max-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

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

.fact-icon {
  width: 16px;
  height: 16px;
}

.fact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--akane-crimson);
}

.fact-text {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.3;
}

/* ==========================================================================
   2.3. HISTÓRIA & TRADIÇÕES
   ========================================================================== */
.section-subtitle {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.title-divider {
  width: 60px;
  height: 2px;
  background-color: var(--sun-gold);
  margin: 0 auto 50px;
}

.card-pillar {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.card-pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.pillar-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--paper-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.card-pillar:hover .pillar-icon-wrapper {
  transform: rotate(5deg);
  background-color: #F3EFEA;
}

.pillar-icon {
  width: 24px;
  height: 24px;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   2.4. A REVOLUÇÃO DO TEMAKI NO BRASIL (DARK SECTION)
   ========================================================================== */
.dark-section {
  background-color: var(--sumi-ink);
  color: #FBF9F5;
}

.zigzag-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dark-section-title {
  font-size: 2.4rem;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.dark-paragraph {
  font-size: 1rem;
  color: #C0C5C7;
  margin-bottom: 18px;
  line-height: 1.7;
}

.comparison-widget {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.widget-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #9A9F9D;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: var(--akane-crimson);
  color: #FFFFFF;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.comparison-list li {
  font-size: 0.9rem;
  color: #E2E8E6;
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.comparison-list li::before {
  content: '•';
  color: var(--sun-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.image-frame-decor {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.image-frame-decor img {
  width: 100%;
  display: block;
}

/* ==========================================================================
   2.5. GUIA GASTRONÔMICO
   ========================================================================== */
.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: -30px auto 40px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--matcha-nori);
  color: #FFFFFF;
  border-color: var(--matcha-nori);
}

.card-food {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card-food:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.card-food:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(18, 22, 25, 0.85);
  color: #FFFFFF;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.card-food-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.card-footer-info {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 0.75rem;
  color: var(--sun-gold);
  font-weight: 600;
}

/* ==========================================================================
   2.6. BOAS-VINDAS
   ========================================================================== */
.welcome-section {
  background-color: var(--bg-welcome);
  position: relative;
  overflow: hidden;
}

.welcome-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  background-image: radial-gradient(var(--text-main) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.single-column-center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.welcome-box {
  padding: 20px;
}

.welcome-badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--akane-crimson);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.welcome-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.welcome-paragraph {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 32px;
}

.signature-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.author-signature-img {
  height: 50px;
  width: auto;
  opacity: 0.85;
}

/* ==========================================================================
   2.7. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--sumi-ink);
  color: var(--footer-text);
  padding: 70px 24px 30px;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-upper {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-tagline {
  margin-top: 12px;
  max-width: 320px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  transition: var(--transition-smooth);
}

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

.footer-divider {
  height: 1px;
  background-color: var(--footer-divider);
  margin-bottom: 30px;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.disclaimer-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #828785;
}

.copyright-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #616664;
}

/* ==========================================================================
   3. COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

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

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

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

.cookie-title {
  font-size: 1.1rem;
}

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

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

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
.scroll-reveal {
  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);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-container,
  .zigzag-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .grid-3-cols {
    grid-template-columns: 1fr;
  }
  
  .footer-upper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .cookie-banner {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 16px;
  }
}
/* Inner page styles */
/* ==========================================================================
   INTERNAL ARTICLE PAGE SPECIFIC STYLES
   ========================================================================== */

.article-main-container {
  padding-bottom: 80px;
}

.single-article {
  max-width: 840px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumbs a {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.article-breadcrumbs a:hover {
  color: var(--akane-crimson);
}

.current-crumb {
  color: var(--text-main);
  font-weight: 500;
}

.article-title {
  font-size: 2.8rem;
  line-height: 1.18;
  margin: 12px 0 20px;
  color: var(--text-main);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

.ui-icon-sm {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.ui-icon-btn {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.ui-icon-title {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.lead-paragraph {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 32px;
}

/* RESPONSIVE ARTICLE IMAGES & CAPTIONS */
.article-featured-image-wrapper,
.article-inline-image-wrapper {
  margin: 36px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.responsive-article-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-featured-image-wrapper:hover .responsive-article-img {
  transform: scale(1.02);
}

figcaption {
  background-color: #F3EFEA;
  padding: 10px 16px;
  font-size: 0.825rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* TABLE OF CONTENTS */
.table-of-contents {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--sun-gold);
  border-radius: 6px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.toc-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-bottom: 14px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-list li a {
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
  display: inline-block;
}

.toc-list li a:hover {
  color: var(--akane-crimson);
  transform: translateX(4px);
}

/* ARTICLE TYPOGRAPHY & TAGS */
.article-content h2 {
  font-size: 1.85rem;
  margin: 44px 0 18px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.article-content h3 {
  font-size: 1.45rem;
  margin: 32px 0 14px;
  color: var(--text-main);
}

.article-content h4 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--text-main);
}

.article-content h5 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  font-weight: 700;
}

.article-content h6 {
  font-size: 0.9rem;
  margin: 16px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--akane-crimson);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D3235;
  margin-bottom: 22px;
}

.text-highlight {
  background-color: rgba(212, 163, 89, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}

.text-bold {
  font-weight: 700;
}

.note-text {
  font-size: 0.9rem !important;
  background: var(--paper-cream);
  border: 1px dashed var(--sun-gold);
  padding: 12px 16px;
  border-radius: 6px;
}

.in-article-link {
  color: var(--akane-crimson);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-smooth);
}

.in-article-link:hover {
  color: var(--sumi-ink);
}

/* LISTS STYLING */
.custom-styled-list,
.custom-numbered-list {
  margin: 20px 0 28px 20px;
}

.custom-styled-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.custom-styled-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--akane-crimson);
  font-size: 0.7rem;
  top: 4px;
}

.custom-numbered-list {
  list-style: decimal;
  padding-left: 20px;
}

.custom-numbered-list li {
  margin-bottom: 12px;
  padding-left: 6px;
  font-size: 1rem;
}

/* BLOCKQUOTE */
.article-blockquote {
  border-left: 4px solid var(--akane-crimson);
  background: #FFFFFF;
  padding: 24px 28px;
  margin: 36px 0;
  border-radius: 0 8px 8px 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--sumi-ink);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.article-blockquote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 600;
}

/* STYLED TABLE */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.custom-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
  background: #FFFFFF;
}

.custom-data-table th,
.custom-data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.custom-data-table th {
  background-color: var(--sumi-ink);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.custom-data-table tbody tr:nth-child(even) {
  background-color: var(--paper-cream);
}

.custom-data-table tbody tr:hover {
  background-color: #F3EFEA;
}

.grade-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.grade-gold-bg { background-color: #FFF3D6; color: #8A6200; }
.grade-silver-bg { background-color: #EAEAEA; color: #4A4A4A; }
.grade-blue-bg { background-color: #E1F0FF; color: #1B5894; }
.grade-green-bg { background-color: #E2F5E9; color: #1C6B38; }

/* RELATED ARTICLES SECTION */
.related-articles-section {
  background: var(--bg-welcome);
  padding: 60px 24px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.related-container {
  max-width: 1100px;
  margin: 0 auto;
}

.related-header {
  text-align: center;
  margin-bottom: 36px;
}

.related-title {
  font-size: 2rem;
}

.related-card {
  background: #FFFFFF;
}

.read-more-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--akane-crimson);
  transition: var(--transition-smooth);
}

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

/* COMMENTS SECTION */
.comments-section {
  max-width: 840px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.section-inner-title {
  font-size: 1.8rem;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
}

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

.comment-single {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
}

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

.comment-author {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

.comment-text {
  margin-top: 8px;
  font-size: 0.925rem;
  line-height: 1.6;
}

/* FORMS STYLING (COMMENT & CONTACT) */
.comment-form-wrapper,
.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

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

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

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

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

.form-group input,
.form-group textarea,
.custom-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--paper-cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.custom-select:focus {
  outline: none;
  border-color: var(--akane-crimson);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(200, 62, 43, 0.1);
}

/* CONTACT SECTION */
.contact-section {
  max-width: 840px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.contact-title {
  font-size: 2rem;
  margin: 12px 0 8px;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.btn-wide {
  width: 100%;
  max-width: 320px;
}

/* MEDIA QUERIES FOR INTERNAL PAGE */
@media (max-width: 768px) {
  .article-title {
    font-size: 2rem;
  }
  
  .form-grid-2-cols {
    grid-template-columns: 1fr;
  }
  
  .comment-form-wrapper,
  .contact-card {
    padding: 20px;
  }
}

.article-content table
{
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--sun-gold);
  border-radius: 6px;
  padding: 24px;
  margin: 36px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.article-content  th,
.article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.article-content  th {
  background-color: var(--sumi-ink);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.article-content ul,
.seo-content ul {
  margin: 16px 0 24px;
  padding-left: 28px;
  list-style-type: disc;
}

.article-content ul li,
.seo-content ul li {
  margin-bottom: 10px;
  padding-left: 4px;
  line-height: 1.7;
}

.article-content ul li::marker,
.seo-content ul li::marker {
  color: #b89555;
}

.article-content ul ul,
.seo-content ul ul {
  margin: 10px 0;
  list-style-type: circle;
}

.article-content ul li:last-child,
.seo-content ul li:last-child {
  margin-bottom: 0;
}
.article-content ol,
.seo-content ol {
  margin: 16px 0 24px;
  padding-left: 28px;
  list-style-type: decimal;
}

.article-content ol li,
.seo-content ol li {
  margin-bottom: 10px;
  padding-left: 4px;
  line-height: 1.7;
}

.article-content ol li::marker,
.seo-content ol li::marker {
  color: #b89555;
  font-weight: 700;
}

.article-content ol ol,
.seo-content ol ol {
  margin: 10px 0;
  list-style-type: lower-alpha;
}

.article-content ol li:last-child,
.seo-content ol li:last-child {
  margin-bottom: 0;
}