/* Desktop editorial headings: increase SVG height by 50% when space allows.
   headline-small.svg is intrinsically one line (940 x 30). Cap its height at
   the maximum that fits 92% of the viewport width. The heading is absolutely
   positioned by editorial-grid.css, so body copy and artwork do not move. */
@media (min-width: 768px) {
  .magazine:not(.narrow) .slide:is(.feature, .venues, .model)
  .article-header:not(.team-header) .headline img {
    height: min(calc(var(--editorial-title, 24px) * 1.5), 2.93617vw) !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Use identical size and typeface for survey / email / phone. */
  .magazine:not(.narrow) .slide:is(.feature, .model)
  :is(.survey-cta, .model-contact) {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: clamp(21px, 2.15vw, 36px) !important;
    font-weight: 700 !important;
  }
}

/* Preserve existing compact desktop sizing, but make both match precisely. */
@media (min-width: 1400px) and (max-width: 1599px) {
  .magazine:not(.narrow) .slide:is(.feature, .model)
  :is(.survey-cta, .model-contact) {
    font-size: clamp(19px, 2.2vw, 26px) !important;
  }
}
@media (min-width: 1400px) and (max-height: 760px) {
  .magazine:not(.narrow) .slide:is(.feature, .model)
  :is(.survey-cta, .model-contact) {
    font-size: clamp(18px, 1.9vw, 29px) !important;
  }
}

/* Phone reader: match the two occurrences to their own email/phone scale.
   The headline remains unmodified at mobile widths. */
@media (max-width: 999px) {
  .mobile-page .feature-mobile-page .survey-cta,
  .mobile-page .feature-contact .model-contact {
    font-size: clamp(19px, 4.3vw, 27px) !important;
  }
  .mobile-page .model-text-page .survey-cta,
  .mobile-page .model-art-column > .model-contact {
    font-size: clamp(21px, 4.7vw, 30px) !important;
  }
}
