/* ==========================================================================
   avra-news.css - single article template (AVRA News Single, tpl 130)
   No Figma frame exists for the article page; typography is inherited from
   the established site scale (Basel Classic display / Basel Grotesk body)
   so articles read as part of the same system.
   ========================================================================== */

/* Hero scrim. The featured image is a dynamic tag, so brightness varies per
   post - the gradient guarantees legible white type on any of them. */
.avra-nhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,42,39,.15) 0%, rgba(46,42,39,.72) 100%);
  pointer-events: none;
  z-index: 0;
}
.avra-nhero > * { position: relative; z-index: 1; }

/* ---- article prose ------------------------------------------------------ */
.avra-nbody .elementor-widget-theme-post-content {
  font-family: "Basel Grotesk", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: .18px;
  color: var(--avra-grey, #55504B);
}
.avra-nbody .elementor-widget-theme-post-content > *:first-child { margin-top: 0; }
.avra-nbody .elementor-widget-theme-post-content > *:last-child { margin-bottom: 0; }
.avra-nbody .elementor-widget-theme-post-content p { margin: 0 0 24px; }

.avra-nbody .elementor-widget-theme-post-content h2,
.avra-nbody .elementor-widget-theme-post-content h3,
.avra-nbody .elementor-widget-theme-post-content h4 {
  font-family: "Basel Classic", Georgia, serif;
  font-weight: 400;
  color: var(--avra-umbra, #2E2A27);
  letter-spacing: -.02em;
}
.avra-nbody .elementor-widget-theme-post-content h2 { font-size: 34px; line-height: 42px; margin: 48px 0 16px; }
.avra-nbody .elementor-widget-theme-post-content h3 { font-size: 26px; line-height: 34px; margin: 40px 0 12px; }
.avra-nbody .elementor-widget-theme-post-content h4 { font-size: 20px; line-height: 28px; margin: 32px 0 12px; }

.avra-nbody .elementor-widget-theme-post-content ul,
.avra-nbody .elementor-widget-theme-post-content ol { margin: 0 0 24px; padding-left: 22px; }
.avra-nbody .elementor-widget-theme-post-content li { margin-bottom: 8px; }

.avra-nbody .elementor-widget-theme-post-content a {
  color: var(--avra-umbra, #2E2A27);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--avra-accent, #CFB395);
}
.avra-nbody .elementor-widget-theme-post-content a:hover { color: var(--avra-accent, #CFB395); }

.avra-nbody .elementor-widget-theme-post-content blockquote {
  margin: 40px 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--avra-accent, #CFB395);
  font-family: "Basel Classic", Georgia, serif;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -.24px;
  color: var(--avra-umbra, #2E2A27);
}

/* LESSON (repeat of the About-page image bug): never force a width on an image
   whose aspect ratio is unknown. Cap the width, let height follow. */
.avra-nbody .elementor-widget-theme-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px 0;
}
.avra-nbody .elementor-widget-theme-post-content figcaption {
  font-size: 14px;
  line-height: 22px;
  color: var(--avra-grey, #55504B);
  margin-top: 8px;
}

/* ---- mobile ------------------------------------------------------------- */
@media (max-width: 767px) {
  .avra-nbody .elementor-widget-theme-post-content { font-size: 16px; line-height: 26px; }
  .avra-nbody .elementor-widget-theme-post-content p { margin-bottom: 20px; }
  .avra-nbody .elementor-widget-theme-post-content h2 { font-size: 26px; line-height: 34px; margin: 36px 0 12px; }
  .avra-nbody .elementor-widget-theme-post-content h3 { font-size: 21px; line-height: 29px; margin: 30px 0 10px; }
  .avra-nbody .elementor-widget-theme-post-content h4 { font-size: 18px; line-height: 26px; }
  .avra-nbody .elementor-widget-theme-post-content blockquote { font-size: 20px; line-height: 30px; margin: 32px 0; padding-left: 18px; }
}