/* ==========================================================================
   Components — Kanpai Navi EN
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--dz-gold);
  color: var(--dz-gold);
}

.btn--ghost:hover {
  background: var(--dz-gold);
  color: var(--dz-bg-black);
}

.btn--gold {
  background: var(--dz-gold);
  color: var(--dz-text-white);
}

.btn--gold:hover {
  background: var(--dz-gold-hover);
}

.btn--text {
  background: transparent;
  padding: 0;
  color: var(--dz-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.btn--text::after {
  content: '→';
  transition: transform 0.3s ease;
}

.btn--text:hover::after {
  transform: translateX(4px);
}

/* ---------- Site Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dz-border-dark);
  transition: background 0.3s ease;
}


.home .site-header.is-top {
  background: rgba(10, 10, 10, 0.6);
  border-bottom-color: transparent;
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dz-gold);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.site-logo img,
.site-logo svg {
  height: 36px;
  width: auto;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop__item {
  position: relative;
}

.nav-desktop__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 24px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dz-text-white);
  transition: color 0.3s ease;
}

.nav-desktop__link:hover,
.nav-desktop__link.is-active {
  color: var(--dz-gold);
}

.nav-desktop__link svg {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.nav-desktop__item:hover .nav-desktop__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--dz-bg-charcoal);
  border: 1px solid var(--dz-border-dark);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  padding: 8px 0;
}

.nav-desktop__item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--dz-text-gray);
  transition: all 0.2s ease;
}

.nav-dropdown__link:hover {
  color: var(--dz-text-white);
  background: rgba(134, 117, 77, 0.1);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dz-text-white);
  transition: all 0.3s ease;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dz-bg-black);
  padding: 40px 24px;
  overflow-y: auto;
  z-index: 999;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile__item {
  border-bottom: 1px solid var(--dz-border-dark);
}

.nav-mobile__link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--dz-text-white);
}

.nav-mobile__sub {
  padding: 0 0 16px 16px;
}

.nav-mobile__sub a {
  display: block;
  padding: 8px 0;
  font-size: 15px;
  color: var(--dz-text-gray);
}

.nav-mobile__sub a:hover {
  color: var(--dz-gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dz-bg-black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dz-bg-black);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 600;
  color: var(--dz-text-white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--dz-text-gray);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__cta {
  margin-top: 12px;
}

/* Page Hero (smaller) */
.hero--page {
  height: auto;
  min-height: auto;
  max-height: none;
  padding: 120px 0 48px;
}

.hero--page .hero__title {
  font-size: 44px;
}

.category .hero {
  height: auto;
  min-height: 0;
}

/* ---------- Article Cards ---------- */
.card {
  display: block;
  background: var(--dz-bg-charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  color: inherit;
}

.card__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--dz-bg-charcoal);
}

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

.card:hover .card__image img {
  transform: scale(1.05);
}

.card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dz-bg-charcoal), #252525);
  color: var(--dz-text-gray);
  font-size: 14px;
}

.card__body {
  padding: 20px;
}

.card__category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dz-gold);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--dz-text-white);
  margin-bottom: 10px;
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dz-text-gray);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  font-size: 12px;
  color: var(--dz-text-gray);
}

/* Light variant */
.card--light {
  background: var(--dz-text-white);
}

.card--light .card__title {
  color: var(--dz-text-dark);
}

.card--light .card__excerpt {
  color: var(--dz-text-muted);
}

.card--light .card__meta {
  color: var(--dz-text-muted);
}

/* ---------- Pillar Card ---------- */
.pillar-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(135deg, #1a1510, #0a0a0a);
  border: 1px solid var(--dz-border-dark);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--dz-gold);
  transform: translateY(-4px);
}

.pillar-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dz-gold);
  margin-bottom: 10px;
}

.pillar-card__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--dz-text-white);
  margin-bottom: 12px;
}

.pillar-card__desc {
  font-size: 14px;
  color: var(--dz-text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.pillar-card__count {
  font-size: 12px;
  color: var(--dz-text-gray);
  margin-bottom: 20px;
}

.pillar-card__link {
  color: var(--dz-gold);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-card__link::after {
  content: ' →';
  transition: margin-left 0.3s ease;
}

.pillar-card:hover .pillar-card__link::after {
  margin-left: 4px;
}

/* ---------- Featured + Side Layout ---------- */
.latest-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.latest-grid__featured .card__image {
  aspect-ratio: 16 / 10;
}

.latest-grid__featured .card__title {
  font-size: 26px;
}

.latest-grid__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card--horizontal {
  display: grid !important;
  grid-template-columns: 120px 1fr;
  gap: 0;
}

.card--horizontal .card__image {
  aspect-ratio: 1;
  height: 100%;
}

.card--horizontal .card__body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--horizontal .card__title {
  font-size: 15px;
  margin-bottom: 6px;
}

/* ---------- Affiliate CTA Box ---------- */
.cta-affiliate {
  background: var(--dz-bg-charcoal);
  border: 1px solid var(--dz-gold);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
}

.cta-affiliate__image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dz-bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-affiliate__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-affiliate__body {
  flex: 1;
}

.cta-affiliate__label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dz-gold);
  margin-bottom: 6px;
}

.cta-affiliate__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--dz-text-white);
  margin-bottom: 6px;
}

.cta-affiliate__price {
  font-size: 14px;
  color: var(--dz-text-gray);
  margin-bottom: 14px;
}


/* ---------- Table of Contents (collapsible) ---------- */
.toc {
  background: var(--dz-bg-kinari);
  border-left: 3px solid var(--dz-gold);
  padding: 0;
  margin: 0 0 32px;
  border-radius: var(--radius);
}

.toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--dz-text-dark);
  cursor: pointer;
  list-style: none;
}

.toc__toggle::-webkit-details-marker {
  display: none;
}

.toc__toggle::after {
  content: "+";
  font-size: 20px;
  color: var(--dz-gold);
  transition: transform 0.2s ease;
}

.toc[open] .toc__toggle::after {
  content: "\2212";
}

.toc[open] .toc__toggle {
  padding-bottom: 8px;
}

.toc__list {
  margin: 0;
  padding: 0 28px 20px;
}

.toc__item {
  margin-bottom: 8px;
}

.toc__item a {
  font-size: 14px;
  color: var(--dz-text-muted);
  transition: color 0.2s ease;
}

.toc__item a:hover {
  color: var(--dz-gold);
}

.toc__item--sub {
  padding-left: 20px;
}

.toc__item--sub a {
  font-size: 13px;
}

/* ---------- Category Guide ---------- */
.category-guide {
  max-width: var(--content-width);
  margin: 0 auto;
}

.category-guide__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dz-text-dark);
  margin-bottom: 8px;
}

.category-guide__content {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--dz-text-muted);
}

.category-guide__content p {
  margin-bottom: 20px;
}

.category-guide__content h2,
.category-guide__content h3 {
  font-family: var(--font-heading);
  color: var(--dz-text-dark);
  margin: 36px 0 14px;
}

.category-guide__content h2 {
  font-size: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--dz-border-light);
}

.category-guide__content h3 {
  font-size: 22px;
}

.category-guide__content ul,
.category-guide__content ol {
  margin: 0 0 20px 24px;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  padding: 20px 0;
  border-bottom: 1px solid var(--dz-border-dark);
}

.filter-bar__list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar__list::-webkit-scrollbar {
  display: none;
}

.filter-bar__item {
  display: inline-block;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dz-text-gray);
  border: 1px solid var(--dz-border-dark);
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-bar__item:hover {
  color: var(--dz-gold);
  border-color: var(--dz-gold);
}

.filter-bar__item--active {
  color: var(--dz-bg-black);
  background-color: var(--dz-gold);
  border-color: var(--dz-gold);
}

.filter-bar__item--active:hover {
  color: var(--dz-bg-black);
}

.category-guide__content ul {
  list-style: disc;
}

.category-guide__content ol {
  list-style: decimal;
}

.category-guide__content li {
  margin-bottom: 8px;
}

.category-guide__content a {
  color: var(--dz-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-guide__content a:hover {
  color: var(--dz-gold-hover);
}

.category-guide__content blockquote {
  border-left: 3px solid var(--dz-gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--dz-bg-kinari);
  font-style: italic;
  color: var(--dz-text-muted);
}

@media (max-width: 768px) {
  .category-guide__title {
    font-size: 26px;
  }
}

/* ---------- Single Article ---------- */
.single-article {
  padding-bottom: 64px;
  background-color: var(--dz-bg-washi);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--dz-text-gray);
  padding-top: 48px;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding-top: 32px;
  }
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .breadcrumb ol {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

.breadcrumb a {
  color: var(--dz-text-gray);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--dz-gold);
}

.breadcrumb__sep {
  margin: 0 8px;
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--dz-text-muted);
}

/* ---------- Article Layout (Content + Sidebar) ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.article-title {
  font-size: 44px;
  color: var(--dz-text-dark);
  margin-bottom: 16px;
}

.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 32px;
}

.article-content {
  min-width: 0;
  padding: 24px 0;
  font-size: 16px;
  line-height: 1.71;
  color: var(--dz-text-dark);
}

.article-content h2 {
  font-size: 32px;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dz-border-light);
}

.article-content h3 {
  font-size: 24px;
  margin: 36px 0 16px;
}

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

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
}

.article-content ul:not(.key-points__list) {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 3px solid var(--dz-gold);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--dz-bg-kinari);
  font-style: italic;
  color: var(--dz-text-muted);
}

.article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-content a {
  color: var(--dz-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--dz-gold-hover);
}

/* ---------- Article Table ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.article-content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--dz-border-light);
  white-space: nowrap;
}

.article-content th {
  background: #1C1A1A;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dz-bg-kinari);
}

.article-content td {
  white-space: normal;
}

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

/* ---------- Key Points Box ---------- */
.key-points {
  background: #FFFFFF;
  border: 1px solid var(--dz-border-light);
  border-left: 4px solid var(--dz-gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.key-points__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--dz-text-dark);
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.key-points__title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--dz-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h11'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h11'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.article-content .key-points__list,
.article-content .key-points__list,
.key-points__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.key-points__list li {
  margin-bottom: 10px !important;
  padding-left: 0 !important;
}

.key-points__list li:last-child {
  margin-bottom: 0 !important;
}

.key-points__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  color: var(--dz-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.key-points__list a::before {
  content: "▸";
  color: var(--dz-gold);
  flex-shrink: 0;
}

.key-points__list a:hover {
  color: var(--dz-gold);
}

/* ---------- Expert Speech Bubble ---------- */
.expert-bubble {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  background: var(--dz-bg-kinari);
  border-radius: var(--radius);
  border-left: 3px solid var(--dz-gold);
}

.expert-bubble__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.expert-bubble__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.expert-bubble__body {
  min-width: 0;
}

.expert-bubble__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--dz-gold);
  margin-bottom: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.expert-bubble__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dz-text-dark);
  margin-bottom: 0 !important;
  font-style: italic;
}

/* ---------- Expert Intro Box (in article) ---------- */
.expert-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  margin: 40px 0;
  background: var(--dz-bg-kinari);
  border-radius: var(--radius);
  border: 1px solid var(--dz-border-light);
}

.expert-box__photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.expert-box__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.expert-box__info {
  min-width: 0;
}

.expert-box__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dz-gold);
  margin-bottom: 4px !important;
}

.expert-box__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--dz-text-dark);
  margin: 0 0 4px !important;
}

.expert-box__role {
  font-size: 13px;
  color: var(--dz-text-gray);
  margin-bottom: 8px !important;
}

.expert-box__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dz-text-muted);
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .expert-bubble {
    flex-direction: column;
    gap: 12px;
  }

  .expert-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ---------- Post Navigation (Prev / Next) ---------- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--dz-border-light);
}

.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.post-nav__item:hover {
  background: var(--dz-bg-kinari);
}

.post-nav__item--next {
  text-align: right;
}

.post-nav__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dz-text-gray);
}

.post-nav__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--dz-text-dark);
  line-height: 1.5;
}

.post-nav__item:hover .post-nav__title {
  color: var(--dz-gold);
}

@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article Meta ---------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--dz-text-gray);
  flex-wrap: wrap;
}

.article-meta__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dz-text-gray);
  opacity: 0.5;
}

/* ---------- Sidebar ---------- */
.sidebar {
  padding-top: 48px;
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--dz-border-light) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--dz-border-light);
  border-radius: 2px;
}

.sidebar__widget {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dz-border-light);
}

.sidebar__widget:last-child {
  border-bottom: none;
}

.sidebar__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dz-gold);
  margin-bottom: 16px;
}

/* Sidebar TOC */
.sidebar__toc-list {
  list-style: none;
}

.sidebar__toc-item {
  margin-bottom: 0;
}

.sidebar__toc-item a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dz-text-muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all 0.2s ease;
}

.sidebar__toc-item a:hover {
  color: var(--dz-text-dark);
  border-left-color: var(--dz-gold);
}

.sidebar__toc-item--sub a {
  padding-left: 24px;
  font-size: 12px;
}

.sidebar__toc-item--active a {
  color: var(--dz-gold);
  border-left-color: var(--dz-gold);
  font-weight: 500;
}

/* Sidebar Related Posts */
.sidebar__post-list {
  list-style: none;
}

.sidebar__post-item {
  margin-bottom: 12px;
}

.sidebar__post-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar__post-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar__post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar__post-title {
  font-size: 13px;
  line-height: 1.45;
  color: var(--dz-text-dark);
  transition: color 0.2s ease;
}

.sidebar__post-link:hover .sidebar__post-title {
  color: var(--dz-gold);
}

/* Sidebar Category Nav */
.sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.sidebar__cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--dz-text-muted);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.sidebar__cat-item a:hover {
  color: var(--dz-text-dark);
  background-color: rgba(134, 117, 77, 0.08);
}

.sidebar__cat-item--active a {
  color: var(--dz-gold);
  background-color: rgba(134, 117, 77, 0.1);
  font-weight: 500;
}

.sidebar__cat-count {
  font-size: 11px;
  color: var(--dz-text-gray);
  background: var(--dz-bg-kinari);
  padding: 2px 8px;
  border-radius: 10px;
}

/* Sidebar responsive — single column on mobile */
@media (max-width: 1024px) {

  .article-layout {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .article-title {
    font-size: 32px;
  }

  .sidebar {
    display: none;
  }
}

/* ---------- Journey Section ---------- */
.journey-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.journey-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border: 1px solid var(--dz-border-light);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--dz-text-dark);
  transition: all 0.3s ease;
}

.journey-link:hover {
  border-color: var(--dz-gold);
  color: var(--dz-gold);
}

.journey-link::after {
  content: '→';
}

/* ---------- About Expert Block ---------- */
.expert-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.expert-block__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--dz-gold);
  background: var(--dz-bg-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dz-text-gray);
  font-size: 14px;
}

.expert-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-block__name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.expert-block__role {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dz-gold);
  margin-bottom: 16px;
}

.expert-block__bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dz-text-gray);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dz-bg-black);
  color: var(--dz-text-white);
  border-top: 1px solid var(--dz-border-dark);
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 32px;
}

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

.footer-col__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--dz-text-white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-col__link {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--dz-text-gray);
  transition: color 0.2s ease;
}

.footer-col__link:hover {
  color: var(--dz-gold);
}

.footer-bottom {
  border-top: 1px solid var(--dz-border-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dz-text-gray);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--dz-text-gray);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--dz-gold);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--dz-border-dark);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dz-text-gray);
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: var(--dz-gold);
  color: var(--dz-gold);
}

.pagination .current {
  background: var(--dz-gold);
  border-color: var(--dz-gold);
  color: var(--dz-text-white);
}

/* ---------- Search ---------- */
.search-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  background: var(--dz-bg-charcoal);
  border: 1px solid var(--dz-border-dark);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 16px;
  color: var(--dz-text-white);
  font-family: var(--font-body);
  outline: none;
}

.search-form input[type="search"]:focus {
  border-color: var(--dz-gold);
}

.search-form button {
  padding: 14px 24px;
  background: var(--dz-gold);
  border: 1px solid var(--dz-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--dz-text-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: var(--dz-gold-hover);
}

/* ---------- Back Link ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dz-gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.back-link:hover {
  gap: 12px;
}

.back-link::before {
  content: '←';
}

/* ---------- 404 ---------- */
.error-404 {
  text-align: center;
  padding: 120px 24px;
}

.error-404__code {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 600;
  color: var(--dz-gold);
  opacity: 0.3;
  line-height: 1;
}

.error-404__title {
  font-family: var(--font-heading);
  font-size: 36px;
  margin: 16px 0 12px;
}

.error-404__text {
  color: var(--dz-text-gray);
  margin-bottom: 32px;
}

/* ---------- Related Articles ---------- */
.related-section {
  padding: var(--section-gap) 0;
}

/* ---------- Contact Form 7 ---------- */
.wpcf7 {
  max-width: var(--content-width);
  margin: 0 auto;
}

.cf7-field {
  margin-bottom: 24px;
}

.cf7-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dz-text-muted);
  margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--dz-text-white);
  border: 1px solid var(--dz-border-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dz-text-dark);
  transition: border-color 0.3s ease;
  outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: var(--dz-gold);
}

.wpcf7 textarea {
  min-height: 180px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--dz-gold);
  color: var(--dz-text-white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--dz-gold-hover);
}

.wpcf7-response-output {
  border-color: var(--dz-gold) !important;
  padding: 16px !important;
  margin: 24px 0 !important;
  border-radius: var(--radius);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .site-header__inner {
    height: 60px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    top: 60px;
  }

  .hero {
    height: 100vh;
    min-height: 480px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero--page {
    padding: 80px 0 36px;
  }

  .hero--page .hero__title {
    font-size: 32px;
  }

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

  .card--horizontal {
    grid-template-columns: 100px 1fr;
  }

  .cta-affiliate {
    flex-direction: column;
    text-align: center;
  }

  .expert-block {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .expert-block__photo {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .pillar-card {
    aspect-ratio: auto;
    padding: 24px;
  }

  .error-404__code {
    font-size: 80px;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-links {
    flex-direction: column;
  }

  .journey-link {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Marker / Highlight Text ---------- */
.marker-yellow {
  background: linear-gradient(transparent 60%, #FFE066 60%);
  padding: 0 2px;
}

.marker-pink {
  background: linear-gradient(transparent 60%, #FFB3B3 60%);
  padding: 0 2px;
}

/* ---------- Red Bold (Emphasis) ---------- */
.red-bold {
  color: #C0392B;
  font-weight: 700;
}

/* ---------- Point Box ---------- */
.point-box {
  background: #FFF8E1;
  border: 1px solid #FFD54F;
  border-left: 4px solid #FFA000;
  border-radius: 4px;
  padding: 20px 24px;
  margin: 24px 0;
}

.point-box__title {
  font-weight: 700;
  font-size: 15px;
  color: #E65100;
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ---------- Caution Box ---------- */
.caution-box {
  background: #FFF3E0;
  border: 1px solid #FFAB91;
  border-left: 4px solid #E53935;
  border-radius: 4px;
  padding: 20px 24px;
  margin: 24px 0;
}

.caution-box__title {
  font-weight: 700;
  font-size: 15px;
  color: #C62828;
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ---------- Pro Tip Box (EEAT - Expert Experience) ---------- */
.pro-tip {
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-left: 4px solid #2E7D32;
  border-radius: 4px;
  padding: 20px 24px;
  margin: 24px 0;
}

.pro-tip__title {
  font-weight: 700;
  font-size: 15px;
  color: #1B5E20;
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ---------- Bartender's Note (First-hand EEAT) ---------- */
.bartender-note {
  background: #1A1A1A;
  border-left: 4px solid var(--dz-gold);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 28px 0;
  color: #E2E8F0;
}

.bartender-note__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dz-gold);
  margin-bottom: 12px !important;
  display: flex;
  align-items: center;
  gap: 8px;
}


.bartender-note p {
  color: #CBD5E1;
  margin-bottom: 8px !important;
}

.bartender-note strong {
  color: #F5F0E8;
}

.article-content h2 {
  margin-top: 3em !important;
  margin-bottom: 1.2em !important;
}

.article-content h3 {
  margin-top: 2.2em !important;
  margin-bottom: 0.8em !important;
}

.article-content table {
  margin: 1.8em 0 !important;
}

.article-content .expert-bubble,
.article-content .bartender-note,
.article-content .caution-box {
  margin: 2em 0 !important;
}

.article-content .table-scroll {
  margin: 1.8em 0 !important;
}

/* ---------- Subcategory Horizontal Scroll ---------- */
.subcat-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--dz-gold) transparent;
}

.subcat-scroll::-webkit-scrollbar {
  height: 4px;
}

.subcat-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.subcat-scroll::-webkit-scrollbar-thumb {
  background: var(--dz-gold);
  border-radius: 2px;
}

.subcat-scroll > div {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .subcat-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .subcat-scroll > div {
    flex: none;
  }
}