/* Keep image/date tracks separate from the flexible story column in every layout. */
@media (min-width:980px) {
  html .sms-home .home-community .home-community-grid.is-balanced-trio {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position] article.home-news-panel {
  .home-news-list { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:12px !important; align-content:start; grid-auto-rows:auto !important; }
  .home-news-list > .home-news-card {
    display:grid !important; grid-template-columns:64px minmax(0,1fr) !important;
    grid-template-areas:'date copy' !important; grid-template-rows:auto !important;
    grid-column:auto !important; grid-row:auto !important; gap:0 !important;
    min-width:0 !important; width:100% !important; min-height:100px !important;
    height:auto !important; max-height:none !important; padding:12px !important;
    border:1px solid var(--hd-card-border,#dce5eb) !important; border-radius:var(--hd-card-radius,9px) !important;
    background:var(--hd-card-background,#fff) !important; color:var(--hd-card-text,var(--home-navy,#092b55)) !important;
    overflow:hidden !important; box-sizing:border-box;
  }
  .home-news-list > .home-news-card:has(.home-news-card-image) {
    grid-template-columns:clamp(84px,28%,132px) minmax(0,1fr) !important;
    grid-template-areas:'image copy' !important;
  }
  .home-news-list > .home-news-card:not(:has(.home-news-card-image,.home-news-date)) { grid-template-columns:minmax(0,1fr) !important; grid-template-areas:'copy' !important; }
  .home-news-list > .home-news-card > .home-news-card-image {
    grid-area:image !important; position:static !important; display:block !important;
    width:100% !important; height:112px !important; min-height:0 !important; max-height:none !important;
    margin:0 !important; border-radius:5px !important; object-fit:var(--hd-image-fit,cover) !important; align-self:center;
  }
  .home-news-list > .home-news-card > .home-news-date {
    grid-area:date !important; position:static !important; display:flex !important; flex-direction:column !important;
    justify-content:center !important; align-items:center !important; width:auto !important;
    height:auto !important; min-height:0 !important; margin:0 !important; padding:8px !important;
    background:#edf3f3 !important; color:var(--home-navy,#092b55) !important; border:0 !important;
    font:700 10px/1.3 Arial,sans-serif !important;
    strong { font:700 27px/1.1 Georgia,serif !important; color:inherit !important; }
  }
  .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date {
    grid-column:2 !important; grid-row:1 !important; align-self:start !important;
    flex-direction:row !important; justify-content:flex-start !important; gap:4px !important;
    padding:0 0 0 14px !important; background:transparent !important;
    strong { font:inherit !important; }
  }
  .home-news-list > .home-news-card > .home-news-card-copy {
    grid-area:copy !important; display:flex !important; flex-direction:column !important;
    gap:0 !important;
    align-self:center !important; justify-content:center !important; min-width:0 !important;
    width:auto !important; height:auto !important; margin:0 !important; padding:0 0 0 14px !important;
    > strong { display:block !important; width:auto !important; margin:0 !important;
      font-family:var(--hd-font-family,Georgia,serif); font-size:var(--hd-heading-size,18px) !important; line-height:var(--hd-line-height,130%) !important; font-weight:var(--hd-heading-weight,700) !important;
      color:var(--hd-card-heading,inherit) !important; text-align:var(--hd-text-align,var(--news-copy-align,left)) !important; white-space:normal !important;
      word-break:normal !important; overflow-wrap:break-word !important; }
  }
  .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date + .home-news-card-copy { padding-top:23px !important; }
  .home-news-list > .home-news-card .home-news-summary { display:-webkit-box !important; -webkit-line-clamp:2 !important; -webkit-box-orient:vertical; overflow:hidden; font-size:var(--hd-body-size,13px) !important; line-height:var(--hd-line-height,145%) !important; margin:7px 0 0 !important; color:inherit !important; }
  .home-news-list > .home-news-card .home-news-card-action { margin-top:9px !important; padding:0 !important; font-size:12px !important; line-height:1.4 !important; color:var(--home-green,#087247) !important; }
  .home-news-list > .home-news-card .home-news-card-action > span { font-size:16px !important; line-height:1 !important; }
  .home-news-list > .home-news-card:hover { border-color:#b7cbd5 !important; box-shadow:0 3px 12px #18394c0d; }
  .home-news-list > .record-card-align-center { --news-copy-align:center; }
  .home-news-list > .record-card-align-right { --news-copy-align:right; }
  .home-news-list > .record-card-style-minimal { border-width:0 0 1px !important; border-radius:0 !important; }
  .home-news-list > .home-news-card > .home-news-card-image.record-image-fit-contain { object-fit:contain !important; }
  .home-news-list > .home-news-card > .home-news-card-image.record-image-shape-circle { width:112px !important; max-width:100%; border-radius:50% !important; }
  .home-news-list > .home-news-card > .home-news-card-image.record-image-shape-rounded { border-radius:14px !important; }
}
html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position] {
  &.highlight-style-timeline article.home-news-panel .home-news-list { padding-left:16px !important; border-left:1px solid #d4b36c; }
  &.highlight-style-classic article.home-news-panel .home-news-list > .home-news-card:first-child { background:var(--hd-card-background,#f7faf9) !important; border-top:2px solid var(--hd-card-border,#c6d8e1) !important; }
  &.highlight-style-editorial article.home-news-panel .home-news-list > .home-news-card { border-width:0 0 1px !important; border-radius:0 !important; padding:12px 0 !important; box-shadow:none !important; }
  &.highlight-style-compact article.home-news-panel .home-news-list > .home-news-card { min-height:66px !important; padding:10px !important; border-width:0 0 1px !important; border-radius:0 !important; grid-template-columns:54px minmax(0,1fr) !important; grid-template-areas:'date copy' !important; }
  &.highlight-style-compact article.home-news-panel .home-news-list > .home-news-card > .home-news-card-image { display:none !important; }
  &.highlight-style-compact article.home-news-panel .home-news-list > .home-news-card > .home-news-date { grid-area:date !important; flex-direction:column !important; padding:4px !important; align-self:center !important; strong { font:700 23px/1.1 Georgia,serif !important; } }
  &.highlight-style-compact article.home-news-panel .home-news-list > .home-news-card .home-news-summary { display:none !important; }
  &.highlight-style-spotlight article.home-news-panel .home-news-list > .home-news-card:first-child { background:linear-gradient(130deg,#123261,#155d58) !important; color:#fff !important; padding:18px !important; }
  &.highlight-style-spotlight article.home-news-panel .home-news-list > .home-news-card:first-child .home-news-card-action { color:#efd286 !important; }
  &.highlight-style-magazine article.home-news-panel .home-news-list > .home-news-card:first-child { background:#fbf8ef !important; border-left:3px solid #c9a550 !important; }
  &.highlight-style-press article.home-news-panel .home-news-list > .home-news-card { border-radius:0 !important; border-width:0 0 1px !important; }
  &.highlight-style-buitems article.home-news-panel .home-news-list > .home-news-card { border-left:3px solid #275c86 !important; background:#f8fafc !important; }
  &:is(.highlight-style-buetk,.highlight-style-mosaic)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:first-child { grid-template-columns:minmax(0,1fr) !important; grid-template-areas:'image' 'date' 'copy' !important; background:#f7faf9 !important; }
  &:is(.highlight-style-buetk,.highlight-style-mosaic)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:first-child > .home-news-card-image { height:165px !important; }
  &:is(.highlight-style-buetk,.highlight-style-mosaic)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:first-child > .home-news-date { grid-area:date !important; flex-direction:row !important; gap:4px !important; padding:8px 0 !important; justify-content:flex-start !important; background:transparent !important; strong {font:inherit !important;} }
  &:is(.highlight-style-buetk,.highlight-style-mosaic)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:first-child > .home-news-card-copy { padding:8px 0 0 !important; }
  &:is(.highlight-style-visual,.highlight-style-cover)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image),
  &[data-news-image-position="top"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) { grid-template-columns:minmax(0,1fr) !important; grid-template-areas:'image' 'date' 'copy' !important; }
  &:is(.highlight-style-visual,.highlight-style-cover)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-card-image,
  &[data-news-image-position="top"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-card-image { height:155px !important; }
  &:is(.highlight-style-visual,.highlight-style-cover)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date,
  &[data-news-image-position="top"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date { grid-area:date !important; flex-direction:row !important; gap:4px !important; padding:8px 0 !important; justify-content:flex-start !important; background:transparent !important; strong {font:inherit !important;} }
  &:is(.highlight-style-visual,.highlight-style-cover)[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-card-copy,
  &[data-news-image-position="top"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-card-copy { padding:8px 0 0 !important; }
  &[data-news-image-position="right"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) { grid-template-columns:minmax(0,1fr) clamp(84px,28%,132px) !important; grid-template-areas:'copy image' !important; }
  &[data-news-image-position="right"] article.home-news-panel .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date { grid-column:1 !important; padding-left:0 !important; }
  &[data-news-image-position="right"] article.home-news-panel .home-news-list > .home-news-card > .home-news-card-copy { padding-left:0 !important; padding-right:14px !important; }
  &.highlight-style-cover[data-news-image-position="auto"] article.home-news-panel .home-news-list > .home-news-card {
    position:relative !important; grid-template-columns:minmax(0,1fr) !important; grid-template-areas:'date' 'copy' !important;
    background:linear-gradient(130deg,#173848,#102835) !important; color:#fff !important; min-height:200px !important; padding:18px !important;
    > .home-news-card-image { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; border-radius:0 !important; opacity:.35; }
    > .home-news-date { grid-area:date !important; position:relative !important; align-self:end !important; color:#efd286 !important; padding:0 !important; }
    > .home-news-card-copy { position:relative !important; padding:8px 0 0 !important; }
    .home-news-card-action { color:#efd286 !important; }
  }
}
@media (min-width:980px) {
  html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position].highlight-width-3.highlight-cards-2 article.home-news-panel .home-news-list { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position].highlight-width-3.highlight-cards-3 article.home-news-panel .home-news-list { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position="auto"]:is(.highlight-width-2,.highlight-width-3).highlight-cards-1:is(.highlight-style-buetk,.highlight-style-mosaic) article.home-news-panel {
    .home-news-list { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    .home-news-list > .home-news-card:first-child { grid-column:1 !important; grid-row:1 / span 2 !important; }
    .home-news-list > .home-news-card:not(:first-child) { grid-column:2 !important; }
  }
}
@media (max-width:480px) {
  html body .sms-home .home-community .home-community-grid section.home-news-section.news-layout-v2[data-home-section][data-news-image-position] article.home-news-panel .home-news-list > .home-news-card .home-news-card-copy > strong { font-size:var(--hd-mobile-heading-size,var(--hd-heading-size,16px)) !important; }
}

/* Compact community columns share a stable thumbnail and copy rhythm. */
html body .sms-home .home-community .home-community-grid.is-balanced-trio section.home-news-section.news-layout-v2[data-home-section][data-news-image-position]:is(.highlight-style-classic,.highlight-style-editorial,.highlight-style-magazine,.highlight-style-timeline,.highlight-style-spotlight,.highlight-style-press,.highlight-style-buitems) article.home-news-panel {
  .home-news-list { gap:12px !important; }
  .home-news-list > .home-news-card { padding:14px !important; min-height:138px !important; }
  .home-news-list > .home-news-card:has(.home-news-card-image) {
    grid-template-columns:88px minmax(0,1fr) !important;
    grid-template-rows:auto minmax(0,1fr) !important;
    grid-template-areas:'image date' 'image copy' !important;
    align-items:start !important;
  }
  .home-news-list > .home-news-card > .home-news-card-image {
    width:88px !important; height:104px !important; align-self:center !important;
    background:#eef3f3; border-radius:6px !important;
  }
  .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-date {
    grid-area:date !important; margin-bottom:8px !important;
    padding:0 0 0 14px !important; font-size:10px !important; letter-spacing:.04em;
  }
  .home-news-list > .home-news-card:has(.home-news-card-image) > .home-news-card-copy {
    grid-area:copy !important; padding:0 0 0 14px !important; align-self:start !important;
  }
  .home-news-list > .home-news-card .home-news-card-copy > strong {
    display:-webkit-box !important; -webkit-box-orient:vertical; -webkit-line-clamp:3;
    overflow:hidden; font-size:var(--hd-heading-size,18px) !important; line-height:1.35 !important;
  }
  .home-news-list > .home-news-card .home-news-summary { display:none !important; }
  .home-news-list > .home-news-card .home-news-card-action { margin-top:10px !important; color:var(--hd-card-accent,#087052) !important; }
  .home-news-list > .home-news-card:first-child { box-shadow:none !important; }
  .home-news-list > .home-news-card:hover { transform:translateY(-2px); transition:transform .18s ease,box-shadow .18s ease; }
  .home-news-list > .home-news-card:focus-visible { outline:3px solid #cda94d; outline-offset:3px; }
  .home-feature-more { margin-top:20px !important; }
}
html body .sms-home .home-community .home-community-grid.is-balanced-trio .home-leadership-section .home-feature-grid:is(.is-single,.has-column-cards) article.home-feature-panel.home-vc-panel[data-cms-vc-card] .home-vc-quote {
  font-size:var(--hd-body-size,17px) !important; line-height:1.7 !important;
}
@media(min-width:980px){
  html body .sms-home .home-community .home-community-grid.is-balanced-trio { gap:24px !important; }
  html body .sms-home .home-community .home-community-grid.is-balanced-trio .home-feature-panel { min-height:0 !important; }
}
@media(prefers-reduced-motion:reduce){
  html body .sms-home .home-community .home-news-card:hover { transform:none !important; transition:none !important; }
}
