/* Press Room layout tweaks
   ------------------------
   The Press Room intentionally uses its original cream / white sections
   (Diedra prefers that look — different mood from the dark + gold main
   site). This stylesheet ONLY tightens layout details: image heights,
   eyebrow spacing, and the Diedra portrait focal point.

   Every rule is scoped with body:has(a[href*="kxan.com"]) so it only
   runs on the Press Room (KXAN link is unique to that page).
*/

/* Compact press-card thumbnails so cards stay scannable */
body:has(a[href*="kxan.com"]) section.bg-\[hsl\(40\,20\%\,94\%\)\] img,
body:has(a[href*="kxan.com"]) section.bg-white img {
  max-height: 200px;
  object-fit: cover;
}

/* Tighten the kicker / eyebrow line */
body:has(a[href*="kxan.com"]) section.bg-\[hsl\(40\,20\%\,94\%\)\] [class*="tracking-["],
body:has(a[href*="kxan.com"]) section.bg-white [class*="tracking-["] {
  margin-bottom: 0.5rem !important;
}

/* Smaller h3 headings on press cards so titles don't dominate */
body:has(a[href*="kxan.com"]) section.bg-\[hsl\(40\,20\%\,94\%\)\] h3,
body:has(a[href*="kxan.com"]) section.bg-white h3 {
  font-size: 1.125rem !important;
  line-height: 1.35 !important;
}

/* Diedra portrait on the Foundation News card — give the wide card
   a taller image area + center the focal point so the new headshot
   (head + shoulders + hand-on-chin) reads naturally. */
body:has(a[href*="kxan.com"]) img[src*="diedra-brownell"] {
  max-height: none !important;
  height: 380px !important;
  object-fit: cover !important;
  object-position: 50% 28% !important;
}
@media (max-width: 640px) {
  body:has(a[href*="kxan.com"]) img[src*="diedra-brownell"] {
    height: 320px !important;
  }
}
