/* Homepage composition. Loaded after the shared theme, only on the front page. */
.home .edition-tools { padding-block: 18px; gap: 24px; }
.home .edition-heading h1 { font: 700 clamp(23px, 2.1vw, 30px)/1.15 var(--font-display); max-width: none; letter-spacing: -.025em; }
.home .edition-heading p { display: block; font-size: 14px; margin-top: 6px; }
.home .home-services .service-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding-block: 10px; border-bottom: 1px solid var(--border); }
.home .home-services .service-shortcuts a { min-height: 36px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; gap: 14px; }
.home .home-services .service-shortcuts a:hover { transform: none; color: var(--accent); }
.home .home-services .service-shortcuts a span { font-size: 15px; }

/* The lead headline appears before the image, including in reading order. */
.home .hero-section { padding-block: 28px 32px; }
.home .hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.home .hero-main .hero-badges { margin: 0 0 10px; padding: 0; }
.home .hero-main .post-title { max-width: none; margin: 0 0 22px; font-size: clamp(30px, 3vw, 44px); line-height: 1.12; text-wrap: pretty; }
.home .hero-main .post-thumbnail { aspect-ratio: 1.9; margin: 0 0 16px; border-radius: 8px; box-shadow: none; }
.home .hero-main .post-excerpt { margin: 0 0 12px; max-width: none; font-size: 16px; line-height: 1.65; }
.home .hero-secondary { gap: 22px; border-left: 1px solid var(--border); padding-left: 28px; }
.home .hero-secondary .news-card-thumbnail { aspect-ratio: 2.3; border-radius: 6px; }
.home .hero-secondary .news-card-list { gap: 12px; padding-bottom: 20px; }
.home .hero-secondary .news-card-title { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.2; }
.home .news-card-list .news-card-body { padding: 0; }
.home .news-card-category { margin-bottom: 8px; font-size: 12px; gap: 6px; }
.home .news-card-meta { font-size: 13px; line-height: 1.5; }
.home .news-card-list .news-card-meta > span:first-child,
.home .news-card-list .news-card-meta > span:first-child + .sep { display: none; }
.home .news-card-list .news-card-thumbnail { border-radius: 6px; }
.home .home-block { margin-top: 36px; }
.home .home-section-feed { margin-top: 12px; margin-bottom: 0; }
.home .section-header { gap: 8px 20px; padding: 0 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.home .section-header h2 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; }
.home .section-header .view-all { text-transform: none; letter-spacing: 0; font-size: 14px; min-height: 36px; display: inline-flex; align-items: center; }
.home .feed-list .news-card-list { grid-template-columns: 144px minmax(0, 1fr); gap: 20px; padding-block: 22px; align-items: start; }
.home .feed-list .news-card-thumbnail { aspect-ratio: 4 / 3; }
.home .feed-list .news-card-title { font-size: 22px; line-height: 1.25; }

/* Useful local information gets its own compact pair of modules. */
.home .home-utility-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; margin-top: 40px; }
.home .home-utility-grid > .home-block { margin: 0; padding: 24px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.home .home-utility-grid > .home-block:only-child { grid-column: 1 / -1; }
.home .home-utility-grid .container { padding: 0; }
.home .home-utility-grid .feed-list--cols,
.home .home-utility-grid .event-list--home { display: block; }
.home .home-utility-grid .news-card-list { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 0; }
.home .home-utility-grid .news-card-title { font-size: 21px; }
.home .home-block-note { font-size: 13px; line-height: 1.6; margin-top: 12px; }
.home .home-block-note a { margin-left: 0; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.home .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.home .guide-grid a { background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 16px 0; font-size: 16px; line-height: 1.45; }
.home .guide-grid li:last-child a { border-bottom: 0; }
.home .guide-grid a:hover { color: var(--accent); }
.home .town-chips { gap: 8px; padding-top: 10px; }
.home .town-chips a { background: transparent; font-size: 14px; padding-inline: 14px; font-weight: 500; }
.home .town-chips a:hover { color: var(--ink); background: var(--accent-light); }
.home .home-topics { margin-top: 40px; }
.home .home-eyebrow { font: 700 12px/1.5 var(--font-sans); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.home .home-topics ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home .home-topics a { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--border); border-top: 3px solid var(--accent-deco); border-radius: 4px; font: 700 21px/1.2 var(--font-display); }
.home .home-topics a:hover { background: var(--bg-subtle); }
.home .home-topics a span { font: 400 23px/1 var(--font-sans); color: var(--accent); }

/* Feature stories are exposed together, not hidden behind carousel controls. */
.home .home-specials { margin-top: 44px; padding-block: 36px 40px; background: #18352f; color: #f8f6f1; }
.home .home-specials .section-header { border-color: #49665b; margin-bottom: 24px; }
.home .home-specials .section-header h2 { color: #f8f6f1; }
.home .home-specials .home-eyebrow,
.home .home-specials .view-all { color: #ffb29b; }
.home .home-specials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.home .home-special-story { min-width: 0; }
.home .home-special-image { display: block; aspect-ratio: 2.15; overflow: hidden; border-radius: 6px; background: #29473e; margin-bottom: 18px; }
.home .home-special-image img { height: 100%; width: 100%; object-fit: cover; }
.home .home-special-story h3 { font: 700 clamp(23px, 2.4vw, 30px)/1.2 var(--font-display); margin-bottom: 12px; color: #f8f6f1; }
.home .home-special-story > p { color: #d0ded5; font-size: 15px; line-height: 1.65; }
.home .home-special-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.home .home-special-story a:hover { color: #ffb29b; }
.home .home-specials .sponsor-label { color: #d0ded5; border-color: #49665b; }
.home .home-specials :focus-visible { outline-color: #ffb29b; }
.home .participa-block { margin-block: 36px; }
.home .participa-inner { border-radius: 8px; padding: 28px; gap: 24px; }
.home .participa-inner h2 { font-family: var(--font-display); font-size: 28px; }
.home .participa-links a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.home .newsletter-disclaimer a { text-decoration: underline; margin-left: 8px; }

@media (max-width: 1000px) and (min-width: 769px) {
  .home .hero-grid { gap: 24px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .home .hero-secondary { padding-left: 20px; }
  .home .home-utility-grid { gap: 20px; }
  .home .home-utility-grid > .home-block { padding: 18px; }
  .home .home-topics a { font-size: 18px; padding: 14px; }
}
@media (max-width: 768px) {
  .home .edition-tools { padding-block: 14px; gap: 12px; align-items: stretch; }
  .home .edition-heading h1 { font-size: 24px; }
  .home .edition-heading p { display: none; }
  .home .local-directory summary { padding-block: 9px; }
  .home .home-services .service-shortcuts { gap: 4px 16px; padding-block: 8px; }
  .home .home-services .service-shortcuts a { font-size: 13px; min-height: 36px; }
  .home .home-services .service-shortcuts a span { display: none; }
  .home .hero-section { padding-block: 22px 8px; }
  .home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home .hero-main .post-title { font-size: clamp(27px, 6.6vw, 36px); margin-bottom: 16px; line-height: 1.14; }
  .home .hero-main .post-thumbnail { aspect-ratio: 16 / 9; margin-bottom: 12px; }
  .home .hero-main .post-excerpt { font-size: 15px; line-height: 1.6; }
  .home .hero-secondary { border: 0; padding: 0; gap: 0; }
  .home .hero-secondary .news-card-list { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid var(--border); border-bottom: 0; }
  .home .hero-secondary .news-card-thumbnail { aspect-ratio: 1; }
  .home .hero-secondary .news-card-title { font-size: 19px; line-height: 1.25; }
  .home .news-card-category { gap: 4px 6px; font-size: 12px; line-height: 1.5; }
  .home .news-card-meta { font-size: 13px; }
  .home .home-block { margin-top: 32px; }
  .home .home-section-feed { margin-top: 24px; }
  .home .feed-list .news-card-list { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding-block: 20px; }
  .home .feed-list .news-card-title { font-size: 19px; line-height: 1.25; }
  .home .feed-list .news-card-thumbnail { aspect-ratio: 1; }
  .home .home-utility-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .home .home-utility-grid > .home-block { padding: 20px; }
  .home .home-utility-grid .news-card-list { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .home .home-utility-grid .news-card-title { font-size: 19px; }
  .home .section-header h2 { font-size: 25px; }
  .home .section-header .view-all { min-height: 36px; font-size: 13px; }
  .home .home-topics { margin-top: 32px; }
  .home .home-topics ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home .home-topics a { font-size: 20px; min-height: 80px; padding: 14px; }
  .home .home-specials { padding-block: 28px; margin-top: 32px; }
  .home .home-specials-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .home .home-special-story + .home-special-story { border-top: 1px solid #49665b; padding-top: 28px; }
  .home .home-special-story h3 { font-size: 25px; }
  .home .home-special-story + .home-special-story { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; }
  .home .home-special-story + .home-special-story .home-special-image { grid-row: 1 / 4; aspect-ratio: 1; margin-bottom: 0; }
  .home .home-special-story + .home-special-story h3 { grid-column: 2; font-size: 21px; }
  .home .home-special-story + .home-special-story > p { display: none; }
  .home .home-special-story + .home-special-story .home-special-link,
  .home .home-special-story + .home-special-story .sponsor-label { grid-column: 2; margin-top: 0; }
  .home .home-special-story + .home-special-story:not(:has(.home-special-image)) { grid-template-columns: minmax(0, 1fr); }
  .home .home-special-story + .home-special-story:not(:has(.home-special-image)) > * { grid-column: 1; }
  .home .participa-inner { padding: 22px; }
  .home .participa-links { width: 100%; }
  .home .participa-links a { width: 100%; }
}
@media (max-width: 359px) {
  .home .hero-secondary .news-card-list,
  .home .feed-list .news-card-list { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .home .home-utility-grid > .home-block { padding: 16px; }
  .home .home-utility-grid .news-card-list { grid-template-columns: minmax(0, 1fr); }
  .home .home-utility-grid .news-card-thumbnail { display: none; }
  .home .home-topics a { font-size: 18px; padding: 12px; }
}
