/* Homepage-only density pass. Keep intrinsic content sizes and clear section boundaries. */
body.home .ph-home-v2 { margin-top:18px!important; }
.ph-home-v2 .ph-news-desk { display:grid; grid-template-columns:minmax(0,1fr) 246px; gap:18px; padding:16px; border:1px solid var(--ph-color-border); border-radius:12px; background:var(--ph-color-surface); }
.ph-home-v2 .ph-news-desk--no-topics { grid-template-columns:1fr; }
.ph-news-desk__stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; align-content:start; }
.ph-news-brief { display:grid; grid-template-columns:88px minmax(0,1fr); gap:12px; padding:12px 0; border-bottom:1px solid var(--ph-color-border); min-width:0; align-items:center; }
.ph-news-brief__image { display:block; width:88px; height:84px; overflow:hidden; border-radius:7px; background:var(--ph-color-surface-soft); }
.ph-news-brief__image img { display:block; width:100%; height:100%; object-fit:cover; }
.ph-news-brief__placeholder { display:grid; place-items:center; height:100%; color:var(--ph-color-news-blue); }
.ph-news-brief__placeholder svg { width:30px; height:30px; }
.ph-news-brief__body { min-width:0; }
.ph-news-brief__category { display:block; color:var(--ph-color-news-blue); font-size:10px; line-height:1.7; }
.ph-home-v2 .ph-news-brief h3 { font-size:14px; line-height:1.8; font-weight:700; margin:4px 0; }
.ph-news-brief h3 a { color:var(--ph-color-text-primary); }
.ph-news-brief h3 a:hover { color:var(--ph-color-news-blue); }
.ph-news-brief__date { display:block; color:var(--ph-color-text-secondary); font-size:10px; line-height:1.7; margin:0; }
.ph-news-desk__stories>.ph-news-brief:nth-child(-n+2) { padding-top:0; }
.ph-news-desk__stories>.ph-news-brief:nth-last-child(-n+2) { border-bottom:0; padding-bottom:0; }
.ph-news-desk__topics { padding:16px; border-radius:8px; background:var(--ph-color-surface-soft); min-width:0; }
.ph-news-desk__eyebrow { color:var(--ph-color-transport-cyan); font-size:11px; font-weight:700; }
.ph-news-desk__topics h3 { margin:5px 0 12px; font-size:16px; line-height:1.7; color:var(--ph-color-text-primary); }
.ph-home-v2 .ph-section__title { color:var(--ph-color-text-primary)!important; }
.ph-news-desk__topics nav { display:grid; }
.ph-news-desk__topics a { display:flex; justify-content:space-between; gap:12px; align-items:center; min-height:40px; padding:9px 0; border-bottom:1px solid var(--ph-color-border); color:var(--ph-color-text-primary); font-size:12px; }
.ph-news-desk__topics a:last-child { border-bottom:0; }
.ph-news-desk__topics a>span:last-child { color:var(--ph-color-news-blue); }
.ph-home-v2 .ph-topic-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:18px; padding:14px; align-items:start; }
.ph-home-v2 .ph-topic-main .ph-card__media { min-height:0; aspect-ratio:16/9; }
.ph-home-v2 .ph-topic-main h3 { font-size:17px; }
.ph-home-topic-news { min-width:0; display:grid; align-content:start; }
.ph-home-topic-news .ph-news-brief:first-child { padding-top:0; }
.ph-home-topic-news .ph-news-brief:last-child { padding-bottom:0; border-bottom:0; }
.ph-home-topic-news .ph-news-brief { grid-template-columns:80px minmax(0,1fr); padding:9px 0; gap:10px; }
.ph-home-topic-news .ph-news-brief__image { width:80px; height:68px; }
.ph-home-v2 .ph-home-topic-news h3 { font-size:13px; margin:0 0 3px; }
.ph-home-topic-news .ph-news-brief__category { display:none; }
/* Every special module follows the same vertical rhythm. Empty ad slots stay untouched. */
.ph-home-v2>.ph-container-wide>:is(.ptv-home,.ph-directory-home,.ph-glossary-home) { margin-block:20px; }
.ph-home-v2 .ph-card__excerpt { -webkit-line-clamp:2; }
.ph-home-v2 .ptv-home__grid { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:18px; }
.ph-home-v2 .ptv-home__queue .ptv-card--queue { grid-template-columns:150px minmax(0,1fr); }
.ph-home-v2 .ptv-card--feature .ptv-card__text { justify-content:start; }
.ph-home-v2 .ptv-card--feature .ptv-card__image { flex:1 0 auto; }
.ph-home-v2 .ptv-card--feature .ptv-card__text { flex:0 0 auto; }
.ph-home-v2 #portalham-section-tv { margin-block:20px; }
.ph-home-v2 .ptv-feature-link { margin-top:6px; }
/* Search can share the heading row, leaving the full width for useful content below. */
@media(min-width:1000px) {
 .ph-home-v2 .ph-directory-home,.ph-home-v2 .ph-glossary-home { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.95fr) auto; gap:0 16px; padding:20px; }
 .ph-home-v2 .ph-directory-home__top,.ph-home-v2 .ph-glossary-home__head { display:contents; }
 .ph-home-v2 .ph-directory-home__top>div,.ph-home-v2 .ph-glossary-home__head>.ph-glossary-heading { grid-column:1; grid-row:1; min-width:0; align-self:center; }
 .ph-home-v2 .ph-directory-home>.ph-directory-search,.ph-home-v2 .ph-glossary-home>.ph-glossary-search { grid-column:2; grid-row:1; align-self:center; margin:0; }
 .ph-home-v2 .ph-directory-home__top { gap:12px; }
 .ph-home-v2 .ph-directory-all,.ph-home-v2 .ph-glossary-action { grid-column:3; grid-row:1; align-self:center; justify-content:center; min-height:50px; font-size:12px; padding:10px 14px; gap:12px; width:auto; }
 .ph-home-v2 .ph-directory-home h2,.ph-home-v2 .ph-glossary-home h2 { font-size:22px; }
 .ph-home-v2 .ph-directory-home>:not(.ph-directory-home__top,.ph-directory-search),.ph-home-v2 .ph-glossary-home>:not(.ph-glossary-home__head,.ph-glossary-search) { grid-column:1/-1; }
 .ph-home-v2 .ph-glossary-heading { gap:10px; }
 .ph-home-v2 .ph-glossary-book { flex-basis:42px; width:42px; height:46px; }
 .ph-home-v2 .ph-directory-home__label { margin-top:4px; }
}
@media(min-width:700px) and (max-width:999px) {
 .ph-home-v2 .ptv-home__grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
 .ph-home-v2 .ptv-home__queue { grid-template-columns:1fr; grid-template-rows:auto repeat(4,minmax(0,1fr)); gap:6px; }
 .ph-home-v2 .ptv-home__queue .ptv-card--queue { grid-template-columns:100px minmax(0,1fr); padding:6px 0; align-content:center; }
 .ph-home-v2 .ptv-home__queue .ptv-card__text { padding:0; }
 .ph-home-v2 .ptv-card--feature .ptv-card__text { padding:12px; }
 .ph-home-v2 .ptv-card--feature h3 { font-size:17px; }
 .ph-home-v2 .ph-directory-home .ph-company-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .ph-home-v2 .ph-company-card--compact { padding:12px; }
 .ph-home-v2 .ph-company-card__head { gap:8px; align-items:start; }
 .ph-home-v2 .ph-company-mark { width:32px; height:36px; flex-basis:32px; }
 .ph-home-v2 .ph-company-mark svg { width:23px; height:23px; }
 .ph-home-v2 .ph-company-card--compact h3 { font-size:12px; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__foot { flex-direction:column; gap:2px; align-items:start; }
 .ph-home-v2 .ph-glossary-home__terms { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:1100px) {
 .ph-home-v2 .ph-news-desk { grid-template-columns:1fr; }
 .ph-news-desk__topics { display:grid; grid-template-columns:190px minmax(0,1fr); gap:0 18px; }
 .ph-news-desk__topics h3 { grid-column:1; }
 .ph-news-desk__topics nav { grid-column:2; grid-row:1/3; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
 .ph-home-v2 .ph-topic-layout { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:12px; }
}
@media(max-width:699px) {
 body.home .ph-home-v2 { margin-top:14px!important; }
 .ph-home-v2>.ph-container-wide>:is(.ptv-home,.ph-directory-home,.ph-glossary-home) { margin-block:16px; }
 .ph-home-v2 .ph-news-desk { padding:12px; gap:14px; }
 .ph-news-desk__stories { grid-template-columns:1fr; }
 .ph-news-desk__stories>.ph-news-brief { padding:10px 0; border-bottom:1px solid var(--ph-color-border); }
 .ph-news-desk__stories>.ph-news-brief:first-child { padding-top:0; }
 .ph-news-desk__stories>.ph-news-brief:last-child { padding-bottom:0; border-bottom:0; }
 .ph-news-brief { grid-template-columns:76px minmax(0,1fr); gap:10px; }
 .ph-news-brief__image { width:76px; height:76px; }
 .ph-home-v2 .ph-news-brief h3 { font-size:13px; line-height:1.75; }
 .ph-home-v2 .ph-news-brief h3 a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
 .ph-news-desk__topics { display:block; padding:12px; }
 .ph-news-desk__topics nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
 .ph-news-desk__topics h3 { font-size:14px; margin-bottom:8px; }
 .ph-news-desk__topics a { font-size:11px; }
 .ph-news-desk__topics { padding:10px 12px; }
 .ph-news-desk__eyebrow { display:none; }
 .ph-news-desk__topics a { padding:6px 0; }
 .ph-home-v2 .ph-topic-layout { grid-template-columns:1fr; }
 .ph-home-v2 .ph-topic-main h3 { font-size:15px; }
 .ph-home-v2 .ptv-home__grid { grid-template-columns:1fr; }
 .ph-home-v2 #portalham-section-tv { margin-block:16px; }
 .ph-home-v2 .ptv-home__queue .ptv-card--queue { grid-template-columns:1fr; }
 .ph-home-v2 .ph-company-card--compact { padding:12px; }
 .ph-home-v2 .ph-company-card--compact { display:grid; grid-template-columns:minmax(0,1fr) 78px; gap:0 10px; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__head { grid-column:1; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__summary { grid-column:1; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__foot { grid-column:2; grid-row:1/3; flex-direction:column; align-items:start; justify-content:center; border-top:0; border-inline-start:1px solid var(--ph-color-border); padding-inline-start:10px; margin:0; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__foot a { white-space:nowrap; font-size:10px; gap:0; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__foot a span { display:none; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__head { gap:10px; }
 .ph-home-v2 .ph-company-card--compact .ph-company-mark { width:36px; height:40px; flex-basis:36px; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__summary { margin:6px 0; }
 .ph-home-v2 .ph-company-card--compact .ph-company-card__foot { padding-top:3px; }
 .ph-home-v2 .ph-glossary-home__terms { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .ph-home-v2 .ph-glossary-card { padding:10px; gap:5px; }
 .ph-home-v2 .ph-glossary-card h3 { font-size:14px; }
 .ph-home-v2 .ph-glossary-alphabet { overflow-x:auto; align-items:center; padding:3px 2px 8px; scrollbar-width:thin; }
 .ph-home-v2 .ph-glossary-alphabet>div { display:flex; flex-wrap:nowrap; flex:none; }
 .ph-home-v2 .ph-glossary-alphabet>div>a,.ph-home-v2 .ph-glossary-alphabet>div>span { flex:0 0 38px; width:38px; height:40px; }
}

/* Compact editorial hero: keep the approved text rail and remove spare vertical air. */
.ph-home-v2 .ph-dashboard-feature { height: auto; aspect-ratio: 16 / 9; align-self: start; }
.ph-home-v2 .ph-dashboard-latest__item { gap: 8px; padding: 5px 10px; }
.ph-home-v2 .ph-dashboard-latest__item h3 { font-size: 12px; line-height: 1.55; -webkit-line-clamp: 2; }
.ph-home-v2 .ph-dashboard-latest__meta { gap: 2px; font-size: 9px; }
@media (max-width: 899px) {
  .ph-home-v2 .ph-dashboard-latest__item { min-height: 0; padding-block: 6px; }
}
@media (max-width: 599px) {
  .ph-home-v2 .ph-dashboard-latest__item { padding-block: 6px; }
  .ph-home-v2 .ph-dashboard-latest__item h3 { font-size: 11.5px; line-height: 1.52; }
}

/* Featured-news feed only. The slider, editorial picks and shared headings stay unchanged. */
.ph-home-v2 .ph-dashboard-latest.ph-featured-feed {
  grid-template-rows: 40px minmax(0, 1fr);
  box-shadow: none;
}
.ph-featured-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid var(--ph-color-border);
}
.ph-home-v2 .ph-featured-feed__head h2 {
  margin: 0;
  color: var(--ph-color-text-primary);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}
.ph-featured-feed__head > span { color: var(--ph-color-text-secondary); font-size: 11px; }
.ph-featured-feed__list { display: grid; grid-auto-rows: minmax(0, 1fr); min-height: 0; padding: 0 12px; }
.ph-featured-feed__item { min-width: 0; border-bottom: 1px solid var(--ph-color-border); }
.ph-featured-feed__item:last-child { border-bottom: 0; }
.ph-featured-feed__link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 56px;
  height: 100%;
  padding-block: 3px;
  color: var(--ph-color-text-primary);
  text-decoration: none;
  border-radius: 4px;
}
.ph-featured-feed__image {
  display: grid;
  place-items: center;
  width: 72px;
  height: 48px;
  overflow: hidden;
  border-radius: 5px;
  color: var(--ph-color-news-blue);
  background: var(--ph-color-surface-soft);
}
.ph-featured-feed__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-featured-feed__image svg { width: 26px; height: 26px; }
.ph-featured-feed__body { display: grid; min-width: 0; gap: 2px; }
.ph-home-v2 .ph-featured-feed__body h3 {
  margin: 0;
  color: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.ph-featured-feed__meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--ph-color-text-secondary); font-size: 10px; line-height: 1.3; }
.ph-featured-feed__category { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-featured-feed__date { flex-shrink: 0; margin: 0; white-space: nowrap; }
.ph-featured-feed__category + .ph-featured-feed__date::before { content: "·"; margin-inline-end: 7px; }
.ph-home-v2 .ph-dashboard-latest.ph-featured-feed:hover { box-shadow: none; transform: none; }
.ph-featured-feed__link:hover { color: var(--ph-color-news-blue); }
.ph-featured-feed__link:focus-visible { outline: 2px solid var(--ph-color-news-blue); outline-offset: 2px; }
@media (max-width: 899px) {
  .ph-featured-feed__list { grid-auto-rows: auto; }
  .ph-featured-feed__link { padding-block: 7px; min-height: 64px; }
  .ph-home-v2 .ph-featured-feed__body h3 { font-size: 13px; }
}
@media (max-width: 380px) {
  .ph-featured-feed__link { grid-template-columns: 58px minmax(0, 1fr); gap: 8px; }
  .ph-featured-feed__image { width: 58px; height: 46px; }
}

/* Fit the existing overlay inside the shorter 16:9 mobile slide. */
@media (max-width: 619px) {
  .ph-home-v2 .ph-dashboard-feature__title {
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .ph-home-v2 .ph-dashboard-feature__link { position: static; }
}

/* The 16:9 slide determines the shared desktop height; the feed fills it. */
@media (min-width: 900px) {
  .ph-home-v2 .ph-dashboard-latest.ph-featured-feed {
    height: auto;
    min-height: 0;
    align-self: stretch;
    contain: size;
  }
  .ph-featured-feed__link {
    grid-template-columns: clamp(64px, 7vw, 96px) minmax(0, 1fr);
    min-height: 0;
    padding-block: 4px;
  }
  .ph-featured-feed__image { width: 100%; height: 100%; max-height: 64px; }
  .ph-home-v2 .ph-featured-feed__body h3 { font-size: 13px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .ph-featured-feed__link { padding-block: 2px; }
  .ph-home-v2 .ph-featured-feed__body h3 { font-size: 12px; line-height: 1.45; }
}
@media (min-width: 900px) and (max-width: 1023px) {
  .ph-home-v2 .ph-dashboard-latest.ph-featured-feed { grid-template-rows: 36px minmax(0, 1fr); }
  .ph-featured-feed__link { grid-template-columns: 64px minmax(0, 1fr); padding-block: 1px; gap: 8px; }
  .ph-featured-feed__image { max-height: 40px; }
  .ph-featured-feed__body { gap: 1px; }
  .ph-home-v2 .ph-featured-feed__body h3 { line-height: 1.4; }
  .ph-featured-feed__meta { font-size: 9.5px; line-height: 1.2; }
}

/* Image-only ads: a full-width row between the hero and editor picks. */
.ph-home-v2 .ph-hero-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ph-home-gap, 16px);
  align-items: start;
  min-width: 0;
  margin: 0;
}
.ph-hero-banner { min-width: 0; }
.ph-hero-banner__media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  line-height: 0;
}
.ph-hero-banner__media .ph-hero-banner__image { display: block; width: 100%; height: auto; max-height: none; margin: 0; }
.ph-hero-banner__media:focus-visible { outline: 2px solid var(--ph-color-news-blue); outline-offset: 3px; }
.ph-home-v2 .ph-hero-banners--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  .ph-home-v2 .ph-hero-banners { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* Editor's desk: four curated stories, compact imagery and one link per card. */
body.portalham-site .ph-home-v2 .ph-editorial-strip,
body.portalham-site .ph-home-v2 .ph-editorial-strip:hover {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ph-editorial-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 6px 11px;
}
.ph-home-v2 .ph-editorial-strip__head h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
  color: var(--ph-color-text-primary);
}
.ph-editorial-strip__head h2::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: #f99b1c; }
.ph-editorial-strip__count { color: var(--ph-color-text-secondary); font-size: 10px; line-height: 1.5; }
body.portalham-site .ph-home-v2 .ph-editorial-strip__head.ph-box-heading { padding: 0; margin: 0 0 8px; }
.ph-editorial-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ph-color-border);
  border-radius: var(--ph-home-radius);
  background: var(--ph-color-surface);
  overflow: hidden;
}
.ph-editorial-card { min-width: 0; }
.ph-editorial-card__link {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 100%;
  padding: 10px;
  color: var(--ph-color-text-primary);
  text-decoration: none !important;
}
.ph-editorial-card__media { position: relative; height: 80px; min-width: 0; overflow: hidden; border-radius: 6px; background: var(--ph-color-surface-soft); }
.ph-editorial-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-editorial-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ph-color-text-secondary); }
.ph-editorial-card__placeholder svg { width: 36px; height: 36px; }
.ph-editorial-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; min-height: 80px; }
.ph-home-v2 .ph-editorial-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0;
  color: var(--ph-color-text-primary);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
  transition: color 140ms ease;
}
.ph-editorial-card__meta { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ph-color-text-secondary); font-size: 9px; line-height: 1.5; }
.ph-editorial-card__category { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ph-color-news-blue); }
.ph-editorial-card__date { flex: none; white-space: nowrap; }
.ph-editorial-card__date::before { content: '·'; margin-inline-end: 6px; }
.ph-home-v2 .ph-editorial-card__link:hover h3,
.ph-home-v2 .ph-editorial-card__link:focus-visible h3 { color: var(--ph-color-news-blue); }
.ph-editorial-card__link:focus-visible { outline: 2px solid var(--ph-color-news-blue); outline-offset: -3px; border-radius: 5px; }
.ph-editorial-strip[data-editorial-count="1"] .ph-editorial-strip__grid { grid-template-columns: minmax(0, 1fr); }
.ph-editorial-strip[data-editorial-count="2"] .ph-editorial-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-editorial-strip[data-editorial-count="3"] .ph-editorial-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 620px) and (max-width: 1099px) {
  .ph-editorial-strip:not([data-editorial-count="1"]) .ph-editorial-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-editorial-card__link { padding: 9px 10px; }
  .ph-editorial-card__media { height: 66px; }
  .ph-editorial-card__body { min-height: 66px; }
  .ph-editorial-strip[data-editorial-count="3"] .ph-editorial-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 619px) {
  .ph-editorial-strip[data-editorial-count] .ph-editorial-strip__grid { grid-template-columns: minmax(0, 1fr); }
  .ph-editorial-card__link { grid-template-columns: 78px minmax(0, 1fr); padding: 8px 9px; gap: 9px; }
  .ph-editorial-card__media { height: 62px; }
  .ph-editorial-card__body { min-height: 62px; gap: 5px; }
  .ph-home-v2 .ph-editorial-card h3 { -webkit-line-clamp: 2; }
}
@media (prefers-reduced-motion: reduce) { .ph-home-v2 .ph-editorial-card h3 { transition: none; } }

/* Optional management states only; approved default geometry is unchanged. */
.ph-home-v2 .ph-featured-feed:not(:has(> .ph-featured-feed__head)) { grid-template-rows: minmax(0, 1fr); }
.ph-home-v2 .ph-hero-dashboard__top:not(:has(> .ph-featured-feed)),
.ph-home-v2 .ptv-home__grid:not(:has(> .ptv-home__queue)),
.ph-home-v2 .ph-topic-layout:not(:has(> .ph-home-topic-news)),
.ph-home-v2 .ph-news-desk:not(:has(> .ph-news-desk__topics)) { grid-template-columns: minmax(0, 1fr); }
.ph-home-v2 .ptv-home__queue[data-queue-count]:not([data-queue-count="4"]) { grid-template-rows: auto; grid-auto-rows: minmax(0, 1fr); }

/* Legacy editorial rules use separate ink tokens (including !important).
   Rebind only affected homepage titles in dark mode, not badges or other links. */
[data-theme="dark"] body.home .ph-home-v2 :is(.ph-card__title, .ph-topic-main h3, .ph-home-topic-news h3) {
  --ph-title-color: var(--ph-color-text-primary);
  --ph-link-color: var(--ph-color-text-primary);
  --ph-link-hover: var(--ph-color-news-blue);
  --ph-control-hover-color: var(--ph-color-news-blue);
}
