/* Reusable article structure with a compact, answer-first mobile opening. */
.article-heading { padding: 8px 0 28px; }
.article-heading h1 { font-size: clamp(40px,4.2vw,59px); line-height: 1.1; max-width: 1060px; letter-spacing: -.035em; margin: 14px 0 22px; color: var(--green); }
.article-category { display: flex; align-items: center; gap: 9px; margin-bottom: 0; }
.article-category::before { content: ''; width: 17px; height: 12px; border-radius: 50%; background: #c9dbab; }
.article-byline { display: flex; align-items: center; gap: 12px; max-width: 1060px; }
.article-avatar { position: relative; display: inline-block; flex: 0 0 44px; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; border: 1px solid #d4d9cf; background: #e3e6e0; }
.article-avatar::before { content: ''; position: absolute; left: 15px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #a9b2a4; }
.article-avatar::after { content: ''; position: absolute; left: 7px; top: 24px; width: 28px; height: 22px; border-radius: 50% 50% 0 0; background: #a9b2a4; }
.byline-person { display: flex; flex-direction: column; font-size: 14px; line-height: 1.5; }
.byline-person strong { color: var(--green); }
.byline-person>span { color: #56634f; }
.byline-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 0 auto; font-size: 14px; line-height: 1.5; color: #56634f; }
.article-layout { grid-template-columns: 215px minmax(0,800px); gap: 55px; }
.article-nav { padding-top: 18px; }
.article-nav a { position: relative; padding-left: 18px; }
.article-nav a::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 6px; border-radius: 50%; background: #c2d4a8; }
.answer-box { padding: 25px 30px; margin-bottom: 30px; border-radius: 18px; }
.answer-box .eyebrow { margin-bottom: 10px; font-size: 13px; }
.answer-box>p:last-child { font-size: 18px; line-height: 1.75; }
.article-body { font-size: 17px; line-height: 1.8; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { position: relative; padding-top: 20px; margin-top: 34px; border-top: 1px solid #d5dfcc; }
.article-body h2::before { content: ''; position: absolute; left: 0; top: -4px; width: 11px; height: 7px; border-radius: 50%; background: #8da773; }
.article-body h3 { font-size: 21px; margin-top: 25px; }
.article-photo img { max-height: 490px; object-fit: cover; object-position: center; }
.comparison { margin: 25px 0; }
.comparison thead th { font: 700 16px/1.5 Manrope,Arial,sans-serif; }
.comparison tbody th { color: var(--green); font-weight: 700; }
.article-faq { margin: 38px 0; }
.article-faq summary { padding: 0 30px 0 0; list-style: none; position: relative; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after { content: '+'; position: absolute; top: 50%; right: 0; transform: translateY(-50%); font-size: 24px; line-height: 1; transition: transform 150ms ease; }
.article-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.author-bio { gap: 18px; margin-bottom: 45px; }
.author-box-avatar { flex-basis: 54px; width: 54px; height: 54px; }
.author-box-avatar::before { left: 19px; top: 10px; width: 14px; height: 14px; }
.author-box-avatar::after { left: 8px; top: 29px; width: 36px; height: 26px; }
.related { padding-bottom: 50px; }
.related h2 { font-size: 42px; }
.related-grid>a { border-radius: 18px 45px 18px 18px; padding: 26px; }
.related-grid h3 { font-size: 28px; }
.cta-buttons { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
.article-cta .btn { font-size: 14px; padding-inline: 20px; }
@media(max-width:1000px) { .article-layout { grid-template-columns: 165px minmax(0,1fr); gap: 35px; } .article-byline { flex-wrap: wrap; } .byline-details { margin-left: 56px; flex-basis: 100%; } .article-cta>.wrap { flex-direction: column; align-items: flex-start; } .cta-buttons { justify-content: flex-start; } }
@media(max-width:700px) {
  nav.breadcrumbs { gap: 4px 7px; padding: 13px 0 12px; font-size: 12px; line-height: 1.5; }
  nav.breadcrumbs a { font-size: 12px; }
  nav.breadcrumbs [aria-current=page] { flex-basis: 100%; }
  .article-heading { padding: 0 0 17px; }
  .article-category { font-size: 12px; line-height: 1.5; }
  .article-heading h1 { font-size: 33px; line-height: 1.06; letter-spacing: -.03em; margin: 9px 0 15px; }
  .article-byline { gap: 8px 10px; }
  .article-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .article-avatar::before { left: 12px; top: 6px; width: 10px; height: 10px; }
  .article-avatar::after { left: 6px; top: 20px; width: 22px; height: 18px; }
  .byline-person { font-size: 13px; line-height: 1.4; }
  .byline-details { margin-left: 0; flex-basis: 100%; font-size: 12px; gap: 8px; }
  .article-layout { display: block; }
  .answer-box { padding: 18px 20px; margin-bottom: 26px; border-radius: 15px; }
  .answer-box .eyebrow { font-size: 12px; margin-bottom: 8px; }
  .answer-box>p:last-child { font-size: 16px; line-height: 1.6; }
  .article-body { font-size: 16px; line-height: 1.8; }
  .article-body h2 { font-size: 31px; }
  .article-photo img { max-height: none; }
  .comparison th,.comparison td { font-size: 14px; padding: 12px 10px; overflow-wrap: break-word; }
  .comparison thead th { font-size: 14px; }
  .article-faq h2 { font-size: 31px; }
  .author-bio { padding: 22px; gap: 14px; }
  .related h2 { font-size: 35px; }
  .related-grid h3 { font-size: 27px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
}
@media(prefers-reduced-motion:reduce) { .article-faq summary::after { transition: none; } }
/* Visual comparison appears alongside the direct answer before the article. */
.article-opening {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 28px;
}
.article-opening .answer-box { margin: 0; padding: 22px; }
.article-opening .answer-box>p:last-child { font-size: 16px; line-height: 1.7; }
.opening-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.opening-photos figure { margin: 0; min-width: 0; }
.opening-photos img { display: block; width: 100%; height: 205px; object-fit: cover; border-radius: 55px 12px 12px 12px; background: #edf1e7; }
.opening-photos figure:last-child img { border-radius: 12px 12px 55px 12px; }
.opening-photos figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--green); }
@media(max-width:1000px) and (min-width:701px) {
  .article-opening { grid-template-columns: 1fr; }
  .opening-photos img { height: 170px; }
}
@media(max-width:700px) {
  .article-opening { grid-template-columns: 1fr; gap: 15px; margin-bottom: 24px; }
  .article-opening .answer-box { padding: 16px 18px; }
  .article-opening .answer-box>p:last-child { font-size: 16px; line-height: 1.6; }
  .opening-photos { gap: 12px; }
  .opening-photos img { height: 135px; border-radius: 35px 10px 10px 10px; }
  .opening-photos figure:last-child img { border-radius: 10px 10px 35px 10px; }
  .opening-photos figcaption { margin-top: 6px; font-size: 13px; }
}

.author-bio .author-name { font: 25px/1.2 "DM Serif Display", Georgia, serif; color: var(--green); letter-spacing: -.025em; margin: 0 0 6px; }
/* The reading rail uses an abacus bead to communicate article progress. */
.article-reading-progress {
  --reading-progress: 0%;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #c9d6bf55;
  pointer-events: none;
}
.article-reading-progress::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--reading-progress);
  background: #8daa68;
}
.article-reading-progress::after {
  content: '';
  position: absolute;
  top: -4px;
  left: clamp(8px, var(--reading-progress), calc(100% - 8px));
  width: 15px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--green);
  border-bottom: 2px solid #78985b;
}
.answer-box .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.answer-box .eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 13px;
  border-radius: 50%;
  background: #a8c681;
  border-bottom: 2px solid #7f9e61;
}
@media (prefers-reduced-motion: no-preference) {
  .answer-box.motion-revealed .eyebrow::after {
    animation: article-bead-settle 650ms cubic-bezier(.22,.75,.35,1) both;
  }
  .article-body h2.motion-revealed::before {
    animation: article-bead-settle 550ms cubic-bezier(.22,.75,.35,1) both;
  }
  .article-photo.motion-revealed img {
    animation: article-photo-arrive 600ms ease-out both;
  }
}
@keyframes article-bead-settle {
  from { opacity: .35; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes article-photo-arrive {
  from { opacity: .65; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .answer-box .eyebrow::after,
  .article-body h2::before,
  .article-photo img { animation: none !important; transition: none !important; }
}
.opening-photos.single-article-photo { grid-template-columns: 1fr; }
.single-article-photo img { object-fit: cover; }
.article-body img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 18px; margin: 24px 0; }
.article-body .article-photo img { margin: 0; }
.article-body table { max-width: 100%; }
