/* Compact editorial headings: original ink, a small warm marker, no long rule. */
body.portalham-site .ph-box-heading {
  --ph-heading-accent: var(--ph-color-signal-orange);
  display: flex; align-items: center; justify-content: flex-start; gap: 0;
  min-height: 36px; margin: 0 0 8px; padding: 0; border: 0;
  background: none; box-shadow: none; min-width: 0;
}
body.portalham-site .ph-box-heading::before,
body.portalham-site .ph-box-heading::after,
body.portalham-site .ph-box-title::after { content: none !important; display: none !important; }
body.portalham-site .ph-box-heading .ph-box-title {
  position: relative; margin: 0; padding: 0; padding-inline-start: 14px; border: 0; min-width: 0;
  font-size: 20px; font-weight: 900; line-height: 1.65;
  white-space: normal; overflow-wrap: anywhere; color: var(--ph-color-text-primary);
}
body.portalham-site .ph-box-heading .ph-box-title::before {
  content: ''; display: block; position: absolute; inset-inline-start: 0; top: .825em;
  width: 4px; height: 16px; margin: 0; border: 0; border-radius: 2px;
  background: var(--ph-heading-accent); transform: translateY(-50%);
}
body.portalham-site .ph-box-title > .ph-box-title__link {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 0; border: 0; background: none; box-shadow: none;
  font: inherit; color: inherit; text-decoration: none; transition: opacity 150ms ease;
}
body.portalham-site .ph-box-title > .ph-box-title__link:hover { color: inherit; opacity: .8; background: none; transform: none; }
body.portalham-site .ph-box-title__link:focus-visible { outline: 2px solid var(--ph-color-news-blue); outline-offset: 4px; border-radius: 2px; box-shadow: none; }
body.portalham-site .ph-featured-feed__head.ph-box-heading { margin: 0; padding: 0 12px; min-height: 0; }
body.portalham-site .ph-featured-feed__head.ph-box-heading .ph-box-title { font-size: 15px; font-weight: 800; }
body.portalham-site .ph-editorial-strip__head.ph-box-heading { padding: 6px 11px; margin: 0; }
body.portalham-site .ph-story-section-head.ph-box-heading { min-height: 44px; padding-top: 6px; margin: 0; }
body.portalham-site .ph-story-section-head.ph-box-heading .ph-box-title { font-size: 16px; }
body.portalham-site :is(.ph-featured-feed__head,.ph-story-section-head).ph-box-heading .ph-box-title { padding-inline-start: 12px; }
body.portalham-site :is(.ph-featured-feed__head,.ph-story-section-head).ph-box-heading .ph-box-title::before { height: 12px; width: 3px; }
body.portalham-site .ptv-home .ph-box-heading,
body.portalham-site.ph-cinema-body .ph-box-heading { --ph-heading-accent: var(--tv-accent); }
body.portalham-site .ptv-home .ph-box-title,
body.portalham-site.ph-cinema-body .ph-box-title { color: var(--tv-ink); }
body.portalham-site .ptv-home .ph-box-title__link,
body.portalham-site.ph-cinema-body .ph-box-title__link { color: var(--tv-ink); }
.ptv-home .ph-box-intro { margin: -2px 0 12px; }
/* Dedicated directory/TV entry buttons remain separate from news archive titles. */
body.portalham-site .ptv-home > .ptv-section-heading.ph-box-heading { justify-content: space-between; gap: 10px; }
body.portalham-site .ptv-home > .ptv-section-heading.ph-box-heading > .ptv-button { min-height: 44px; flex-shrink: 0; }
body.portalham-site :is(.ph-directory-all,.ph-glossary-action):focus-visible,
body.portalham-site .ptv-home > .ptv-section-heading > .ptv-button:focus-visible { outline: 2px solid var(--ph-color-signal-orange); outline-offset: 3px; }
/* Keep existing editable descriptions separate from the title row. */
.ph-home-v2 :is(.ph-directory-home,.ph-glossary-home) .ph-box-heading { margin-bottom: 2px; }
.ph-home-v2 :is(.ph-directory-eyebrow,.ph-glossary-eyebrow) { margin-top: 2px; }
/* Existing plain sidebar/archive titles have no collection page to link to. */
body.portalham-site .ph-side-card > h2 { position: relative; margin: 0 0 10px; padding: 0; padding-inline-start: 12px; border: 0; background: none; font-size: 17px; font-weight: 900; line-height: 1.65; }
body.portalham-site .ph-side-card > h2::before { content: ''; display: block; position: absolute; inset-inline-start: 0; top: .825em; width: 3px; height: 12px; margin: 0; border: 0; border-radius: 2px; background: var(--ph-color-signal-orange); transform: translateY(-50%); }
body.portalham-site .ph-side-card > h2::after,
body.portalham-site .ph-channel-archive-head::before,
body.portalham-site .ph-channel-archive-head::after { content: none !important; display: none !important; }
body.portalham-site .ph-channel-archive-head { border: 0; }
@media(prefers-reduced-motion:reduce) {
 body.portalham-site .ph-box-title > .ph-box-title__link { transition: none; }
}
@media(max-width:679px) {
 body.portalham-site .ph-box-heading .ph-box-title { font-size: 18px; }
 body.portalham-site .ph-featured-feed__head.ph-box-heading .ph-box-title,
 body.portalham-site .ph-story-section-head.ph-box-heading .ph-box-title { font-size: 15px; }
}
