.eva-article { padding-bottom: 0; }

/* Header */
.eva-article__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: calc(1040px + var(--eva-gutter) * 2);
  padding-top: clamp(32px, 3vw, 58px);
  padding-bottom: clamp(32px, 3.125vw, 60px);
  text-align: center;
}
.eva-article__crumbs { justify-content: center; margin-bottom: clamp(8px, 1.5vw, 28px); }
.eva-article__eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  margin: 0;
  font-size: var(--eva-fs-eyebrow);
  line-height: 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.eva-article__eyebrow span + span::before { content: "•"; margin-right: 14px; }
.eva-article__title {
  margin: 0;
  font-family: var(--eva-serif);
  font-weight: 700;
  font-size: clamp(38px, 3.54vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.eva-article__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}
.eva-article__meta span + time::before { content: "·"; margin-right: 12px; }

/* Hero image */
.eva-article__hero {
  position: relative;
  max-width: calc(1440px + var(--eva-gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--eva-gutter);
}
.eva-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 820px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Body */
.eva-article__body {
  max-width: calc(760px + var(--eva-gutter) * 2);
  padding-top: clamp(40px, 3.6vw, 70px);
  padding-bottom: clamp(48px, 4.17vw, 80px);
}
.eva-article__content {
  font-size: clamp(16px, 0.9375vw, 18px);
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}
/* Articles are pasted from Google Docs / Shopify: every run carries an inline font-weight: 400
   (inside headings and <b> too) and some wrappers say font-weight: normal. Let the markup decide. */
.eva-article__content [style*="font-weight"] { font-weight: inherit !important; }
.eva-article__content :where(p, ul, ol, blockquote, figure, table, h1, h2, h3, h4, h5, h6) { margin: 0; }
.eva-article__content > * + *,
.eva-article__content li > * + * { margin-top: 1.25em; }
.eva-article__content p { text-wrap: pretty; }
.eva-article__content p:empty { display: none; }
.eva-article__content b,
.eva-article__content strong { font-weight: 700; }
.eva-article__content > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--eva-serif);
  font-weight: 700;
  font-size: 4.2em;
  line-height: 0.8;
}

/* Headings: the page title is the only h1, so in-body h1 reads as a section heading (h2). */
.eva-article__content :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--eva-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}
.eva-article__content * + :is(h1, h2) { margin-top: 1.6em; }
.eva-article__content * + :is(h3, h4, h5, h6) { margin-top: 1.5em; }
.eva-article__content :is(h1, h2, h3, h4, h5, h6) + * { margin-top: 0.75em; }
.eva-article__content :is(h1, h2) { font-size: var(--eva-fs-h2); }
.eva-article__content h3 { font-size: var(--eva-fs-h3); }
.eva-article__content :is(h4, h5, h6) { font-size: var(--eva-fs-h4); }
.eva-article__content :is(h1, h2, h3, h4, h5, h6):has(> img:only-child) { font-size: inherit; line-height: 0; }

/* Lists */
.eva-article__content ul { list-style: disc; }
.eva-article__content ol { list-style: decimal; }
.eva-article__content :is(ul, ol) { padding-left: 1.4em; }
.eva-article__content :is(ul, ol) :is(ul, ol) { margin-top: 0.5em; }
.eva-article__content li { padding-left: 0.3em; }
.eva-article__content li + li { margin-top: 0.5em; }
.eva-article__content li::marker { color: var(--eva-mustard); }
.eva-article__content li > :is(h1, h2, h3, h4, h5, h6) { font-size: var(--eva-fs-h4); }

.eva-article__content blockquote {
  margin-block: 1.8em;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--eva-mustard);
  font-family: var(--eva-serif);
  font-style: italic;
  font-size: clamp(22px, 1.46vw, 28px);
  line-height: 1.4;
  letter-spacing: 0;
}
.eva-article__content blockquote + * { margin-top: 0; }

/* Media */
.eva-article__content :is(img, video) { display: block; width: 100% !important; max-width: none; height: auto !important; margin-inline: 0 !important; float: none !important; }
.eva-article__content iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.eva-article__content > :is(p, div, h1, h2, h3):has(img, iframe, video) { margin-block: 2em; }
.eva-article__content > :is(p, div, h1, h2, h3):has(img, iframe, video) + * { margin-top: 0; }
.eva-article__content > :first-child:has(img) { margin-top: 0; }
.eva-article__content figure { margin-block: 2em; }
.eva-article__content figcaption { margin-top: 8px; font-size: 14px; opacity: 0.75; text-align: center; }
.eva-article__content hr { height: 1px; margin: 2.4em 0; border: 0; background: var(--eva-line); }

.eva-article__content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.eva-article__content th,
.eva-article__content td { padding: 10px 12px; border-bottom: 1px solid var(--eva-line); text-align: left; vertical-align: top; }
.eva-article .eva-article__content a { color: var(--eva-bosque); text-decoration: underline; text-underline-offset: 3px; }

/* Footer: tags + share */
.eva-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 3.125vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--eva-line);
}
.eva-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eva-article a.eva-article__tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--eva-line);
  color: var(--eva-bosque);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.eva-article a.eva-article__tag:hover { background: var(--eva-bosque); color: var(--eva-crema); }
.eva-article__share { display: flex; align-items: center; gap: 6px; }
.eva-article__share-label { margin-right: 6px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.eva-article a.eva-article__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--eva-line);
  border-radius: 50%;
  color: var(--eva-bosque);
  transition: background-color 0.2s, color 0.2s;
}
.eva-article a.eva-article__share-link:hover { background: var(--eva-bosque); color: var(--eva-crema); }
.eva-article__share-copy .share-button__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--eva-line);
  border-radius: 20px;
  color: var(--eva-bosque);
  font-family: var(--eva-sans);
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.eva-article__share-copy .share-button__icon { width: 14px; height: 14px; }
.eva-article a.eva-article__back { display: inline-block; margin-top: 36px; color: var(--eva-bosque); }

/* Comments */
.eva-article__comments {
  max-width: calc(760px + var(--eva-gutter) * 2);
  padding-bottom: clamp(48px, 4.17vw, 80px);
}
.eva-article__comment-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--eva-line); }
.eva-article__comment { padding: 20px 0; border-bottom: 1px solid var(--eva-line); }
.eva-article__comment-meta { margin: 0 0 6px; font-size: 14px; letter-spacing: 0.03em; }
.eva-article__comment-body { margin: 0; }
.eva-article__comment-form { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.eva-article__comment-title { margin: 0 0 8px; font-family: var(--eva-serif); font-weight: 700; font-size: var(--eva-fs-h4); }
.eva-article__comment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eva-article__comment-form .eva-btn { align-self: flex-start; margin-top: 8px; }
.eva-article__form-msg { margin: 0; padding: 10px 14px; background: var(--eva-sabia); font-size: 14px; }
.eva-article__form-msg--error { background: rgba(179, 38, 30, 0.08); color: var(--eva-error); }

/* Related */
.eva-article__related { padding-block: var(--eva-section-y); border-top: 1px solid var(--eva-line); }
.eva-article__related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 2.6vw, 50px);
}
.eva-article__related-head a.eva-link { color: var(--eva-bosque); white-space: nowrap; }

@media (max-width: 959px) {
  .eva-article__hero { padding-inline: 0; }
  .eva-article__hero img { aspect-ratio: 4 / 3; }
  .eva-article__footer { flex-direction: column; align-items: flex-start; }
  .eva-article__comment-fields { grid-template-columns: 1fr; }
  .eva-article__eyebrow { font-size: 13px; }
}
