/* Article reading sheet: cover inside cream paper, no full-bleed hero. */

.article-hero {
  display: none !important;
}

.article-single {
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.article-sheet {
  max-width: 820px;
  margin: 0 auto;
  background: #f6f3ec;
  color: #1a1c22;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.article-sheet__hero {
  margin: 0;
  background: #e8e4db;
}

.article-sheet__hero img,
.article-sheet__hero-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
  background: #f6f3ec;
}

.article-sheet__header {
  padding: 2rem 1.75rem 0.5rem;
  text-align: left;
}

.article-sheet__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.article-sheet__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b42318;
  margin: 0;
}

.article-bionic-toggle {
  appearance: none;
  border: 1px solid #d8d2c6;
  background: #fff;
  color: #12141a;
  font-family: var(--aura-font-body, "Manrope", system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.article-bionic-toggle:hover,
.article-bionic-toggle:focus-visible {
  border-color: #9d1912;
  color: #9d1912;
  outline: none;
}

.article-bionic-toggle.is-active {
  background: #12141a;
  border-color: #12141a;
  color: #f6f3ec;
}

.article-body.is-bionic {
  letter-spacing: 0.015em;
}

.article-body.is-bionic .bionic-fix {
  font-weight: 800;
}

.article-single .article-sheet h1,
.article-single .article-sheet h2,
.article-single .article-sheet h3,
.article-sheet .entry-title,
.article-body h2,
.article-body h3 {
  text-transform: none !important;
  letter-spacing: -0.02em;
  color: #12141a !important;
  line-height: 1.2;
}

.article-sheet .entry-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem) !important;
  margin: 0 0 0.75rem;
}

.article-sheet__meta,
.article-sheet .post-meta {
  color: #5c616b;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.article-sheet__lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: #2a2d35;
  margin: 0 0 0.5rem;
}

.article-sheet .article-body {
  max-width: none;
  margin: 0;
  background: transparent !important;
  color: #1a1c22 !important;
  padding: 0.5rem 1.75rem 2.5rem;
  border: 0 !important;
  border-radius: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

.article-body p {
  margin: 0 0 1.15rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem 1.2rem;
}

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

.article-body h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  margin: 2.2rem 0 0.9rem;
}

.article-body h3 {
  font-size: 1.15rem !important;
  margin: 1.6rem 0 0.6rem;
}

.article-body a {
  color: #9d1912;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  background: #fff;
  border-left: 4px solid #d7ff00;
  color: #1a1c22;
  border-radius: 0 12px 12px 0;
}

.article-figure {
  margin: 1.6rem 0 1.8rem;
}

.article-body .inline-quad {
  display: none !important;
}

.article-figure img,
.article-body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  object-position: center;
  border-radius: 16px;
  background: #ddd;
}

.article-figure figcaption,
.article-body figcaption,
.article-body i {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  font-style: normal;
  color: #5c616b;
}

.article-dict {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}

.article-dict__item {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid #e4dfd4;
}

.article-dict__item h3 {
  font-size: 1.05rem !important;
  margin: 0 0 0.4rem !important;
  color: #9d1912 !important;
}

.article-dict__item p {
  margin: 0 0 0.4rem;
}

.article-dict__when {
  color: #5c616b;
  font-size: 0.9rem;
}

.article-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 1.75rem;
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.98rem;
}

.article-compare-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0 0 0.65rem;
  color: #12141a;
}

.article-compare-table thead th {
  background: #fbf8f1;
  color: #12141a;
  font-weight: 800;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ece7dc;
}

.article-compare-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid #ece7dc;
  color: #2a2d35;
  line-height: 1.55;
}

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

.article-compare-table tbody tr:nth-child(even) td {
  background: #fdfbf6;
}

@media (max-width: 640px) {
  .article-compare-table,
  .article-compare-table thead,
  .article-compare-table tbody,
  .article-compare-table tr,
  .article-compare-table th,
  .article-compare-table td {
    display: block;
    width: 100%;
  }

  .article-compare-table thead {
    display: none;
  }

  .article-compare-table tbody tr {
    border-bottom: 1px solid #ece7dc;
    padding: 0.35rem 0;
  }

  .article-compare-table tbody td {
    border: 0;
    padding: 0.55rem 1rem;
  }

  .article-compare-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9d1912;
    margin-bottom: 0.25rem;
  }
}

.article-single .post-navigation {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .article-sheet__header,
  .article-sheet .article-body {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .article-dict {
    grid-template-columns: 1fr 1fr;
  }
}

/* Article FAQ: paper card on cream sheet, dark readable type */
.article-faq {
  margin: 2.6rem 0 0.5rem;
  padding: 1.4rem 1.25rem 0.95rem;
  background: #fff;
  border: 1px solid #e4dfd4;
  border-radius: 18px;
  box-shadow: inset 4px 0 0 0 #b42318;
  color: #1a1c22;
}

.article-faq__head {
  margin: 0 0 0.85rem;
}

.article-faq__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b42318;
}

.article-single .article-sheet .article-faq h2,
.article-single .article-sheet .article-faq__head h2,
.article-faq > h2,
.article-faq__head h2 {
  margin: 0 0 0.4rem !important;
  color: #12141a !important;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem) !important;
}

.article-faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ece7dc;
}

.article-faq__item {
  border-bottom: 1px solid #ece7dc;
  background: transparent;
  overflow: clip;
}

.article-faq__item[open] {
  background: #fbf8f1;
}

.article-faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem 0.1rem;
  font-family: var(--aura-font-heading, "Unbounded", system-ui, sans-serif);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
  color: #12141a;
}

.article-faq__q::-webkit-details-marker,
.article-faq__q::marker {
  display: none;
  content: "";
}

.article-faq__num {
  display: none;
}

.article-faq__q-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  text-transform: none;
  color: inherit;
}

.article-faq__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid #d8d2c6;
  background: #f6f3ec;
  color: #12141a;
}

.article-faq__icon::before,
.article-faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
}

.article-faq__icon::before {
  width: 0.8rem;
  height: 2px;
}

.article-faq__icon::after {
  width: 2px;
  height: 0.8rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.article-faq__q:hover .article-faq__q-text,
.article-faq__item[open] .article-faq__q-text {
  color: #9d1912;
}

.article-faq__item[open] .article-faq__icon {
  color: #9d1912;
  border-color: rgba(157, 25, 18, 0.35);
  background: #fff;
}

.article-faq__item[open] .article-faq__icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.article-faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.article-faq__item[open] .article-faq__body {
  grid-template-rows: 1fr;
}

.article-faq__body > * {
  overflow: hidden;
  min-height: 0;
}

.article-faq__body p {
  margin: 0 0 1.1rem;
  padding: 0 0.1rem 0.2rem;
  color: #2a2d35;
  font-size: 1.02rem;
  line-height: 1.65;
}

.article-faq__item.is-faq-animating .article-faq__body {
  will-change: grid-template-rows;
}

@media (max-width: 640px) {
  .article-single {
    padding-top: 5.5rem;
  }

  .article-faq {
    padding: 1.1rem 0.9rem 0.7rem;
  }

  .article-faq__icon {
    width: 2.2rem;
    height: 2.2rem;
    flex-basis: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-faq__item,
  .article-faq__icon,
  .article-faq__body,
  .article-faq__icon::after {
    transition: none !important;
  }
}
