/* Homepage artwork uses a dark overlay so titles remain legible on uploaded images. */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.curated-focus { align-items: stretch; }
.home-carousel { position: relative; min-width: 0; border-radius: var(--site-radius); }
.image-story { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--site-radius); color: white !important; background: linear-gradient(135deg, #153a61, #145875 65%, #227e8b); display: flex; align-items: flex-end; }
.image-story::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #07132508 5%, #07132550 45%, #071325d9 100%); }
.image-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s ease; }
.image-story:hover > img { transform: scale(1.035); }
.story-copy { padding: 26px; width: 100%; min-width: 0; }
.story-copy .eyebrow { color: #d6eaff; margin-bottom: 12px; }
.story-copy h1, .story-copy h2 { font-size: 29px; line-height: 1.45; font-weight: 700; overflow-wrap: anywhere; }
.story-copy p { margin-top: 12px; font-size: 13px; color: #e5edf5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.story-copy .read-more { display: inline-block; margin-top: 16px; }
.carousel-slide { min-height: 348px; margin-bottom: 12px; }
.home-carousel.is-enhanced .carousel-slide, .carousel-slide:only-child { height: 100%; margin-bottom: 0; }
.home-carousel.is-enhanced .story-copy { padding-bottom: 65px; }
.carousel-controls { position: absolute; bottom: 16px; inset-inline: 26px; display: flex; align-items: center; gap: 8px; color: white; }
.carousel-controls button { display: grid; place-items: center; min-width: 30px; min-height: 30px; padding: 2px 8px; border: 1px solid #ffffff5c; background: #0d253baa; border-radius: 6px; color: white; cursor: pointer; font-size: 14px; }
.carousel-controls [data-prev], .carousel-controls [data-next] { font-size: 23px; line-height: 1; }
.carousel-controls [data-pause] { margin-left: auto; font-size: 12px; }
.carousel-dots { display: flex; gap: 7px; }
.carousel-dots button[aria-current=true] { background: white; color: #153a61; }
.picture-pick { min-height: 166px; }
.picture-pick .story-copy { padding: 21px; }
.picture-pick h2 { font-size: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.picture-pick .eyebrow { font-size: 10px; }
.story-arrow { position: absolute; right: 18px; top: 14px; font-size: 20px; }
.tall-pick { background: linear-gradient(150deg, #204cad, #182b5b); }
.tall-pick h2 { font-size: 27px; -webkit-line-clamp: 5; }
.placeholder-story { background-image: radial-gradient(ellipse at 90% 5%, #5ba9cb55, transparent 65%); background-color: #174769; }
.pinned-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pinned-topic-grid > a { position: relative; display: flex; gap: 14px; align-items: center; min-width: 0; min-height: 118px; padding: 18px; padding-right: 28px; border-radius: 8px; background: #f0f5fc; }
.pinned-topic-grid > a:nth-child(2n) { background: #edf6f3; }
.pinned-topic-grid img { width: 70px; height: 78px; object-fit: cover; border-radius: 6px; }
.pinned-topic-grid .eyebrow { font-size: 10px; color: #627d99; margin-bottom: 6px; }
.pinned-topic-grid h3 { font-size: 16px; overflow-wrap: anywhere; }
.pinned-topic-grid p { font-size: 12px; color: var(--site-muted); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pinned-topic-grid > a > span { position: absolute; top: 12px; right: 12px; color: #627d99; }
.home-tab-buttons { display: flex; gap: 20px; border-bottom: 1px solid var(--site-line); margin-bottom: 6px; }
.home-tab-buttons button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 0 0 13px; color: var(--site-muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.home-tab-buttons button[aria-selected=true] { color: var(--site-accent); border-bottom-color: var(--site-accent); }
.home-panel-title { font-size: 16px; padding-bottom: 12px; }
.is-enhanced .home-panel-title { display: none; }
.home-article-list { list-style: decimal-leading-zero; padding: 0 0 0 25px; margin: 0; }
.home-article-list li { padding: 14px 0 14px 5px; font-size: 13px; border-bottom: 1px solid var(--site-line); overflow-wrap: anywhere; }
.home-article-list li::marker { color: #7894b4; font-size: 11px; }
.home-article-list li:last-child { border-bottom: 0; }
.comment-count { display: block; font-size: 11px; margin-top: 5px; color: var(--site-muted); }
.home-comments { list-style: none; padding: 0; margin: 0; }
.home-comments li { padding: 15px 0; border-bottom: 1px solid var(--site-line); }
.home-comments li:last-child { border-bottom: 0; padding-bottom: 0; }
.home-comment-author { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.home-comment-author strong { font-size: 12px; overflow-wrap: anywhere; }
.home-comment-author time { font-size: 10px; color: var(--site-muted); margin-left: auto; }
.home-comments p { font-size: 13px; line-height: 1.85; margin: 8px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.home-comment-source { font-size: 11px; color: var(--site-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-tabs { display: flex; gap: 25px; align-items: center; min-width: 0; }
.feed-tabs a { position: relative; white-space: nowrap; color: var(--site-muted); font-size: 17px; font-weight: 600; }
.feed-tabs a[aria-current=page] { color: var(--site-accent); }
.feed-tabs a[aria-current=page]::after { content: ''; position: absolute; height: 2px; bottom: -17px; inset-inline: 0; background: var(--site-accent); }
.feed-status { margin-top: 16px; padding: 10px 12px; background: #edf4ff; color: var(--site-muted); font-size: 13px; }
@media (max-width: 1050px) { .curated-focus { grid-template-columns: minmax(0, 1fr) 230px; } .curated-focus .tall-pick { grid-column: 1 / -1; min-height: 180px; } }
@media (max-width: 767px) {
  .feed-heading:has(.feed-tabs) { flex-wrap: wrap; gap: 12px; }
  .feed-tabs { gap: 20px; }
  .feed-tabs a { font-size: 15px; }
  .feed-heading:has(.feed-tabs) > span { font-size: 11px; }
  .sidebar:has(.community-panel) { grid-template-columns: minmax(0, 1fr); }
  .curated-focus { grid-template-columns: minmax(0, 1fr); }
  .curated-focus .focus-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 12px; }
  .carousel-slide { min-height: 320px; }
  .story-copy { padding: 22px; }
  .story-copy h1, .story-copy h2 { font-size: 25px; }
  .picture-pick .story-copy { padding: 16px; }
  .picture-pick h2 { font-size: 17px; }
  .tall-pick h2 { font-size: 23px; }
  .pinned-topic-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .image-story > img { transition: none; } .image-story:hover > img { transform: none; } }
