/* Blog archive homepage only; shared cards/category archives remain untouched. */
.blog-home .blog-home__hero {
  display: flex;
  align-items: center;
  aspect-ratio: 1920 / 540;
  padding: 80px 0;
  color: var(--white);
  background-image: linear-gradient(to right, rgba(6,22,32,.92) 0%, rgba(6,22,32,.62) 40%, rgba(6,22,32,.25) 70%, transparent 100%), url('../img/about/blog.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.blog-home .blog-home__hero .blog-home__intro { width: 100%; padding-top: 0; padding-bottom: 0; }
.blog-home .blog-home__hero-content { max-width: 760px; }
.blog-home .blog-home__intro .blog-home__hero-content .section__lead { max-width: 620px; }
.blog-home .breadcrumb + .blog-home__featured,
.blog-home .breadcrumb + .blog-home__latest { padding-top: 32px; }
.blog-home .blog-home__hero .section__label { color: #e2edf1; }
.blog-home .blog-home__hero h1 { color: var(--white); }
.blog-home .blog-home__hero .blog-home__intro .section__lead { color: #e2edf1; margin-bottom: 0; }
@media (max-width: 820px) {
  .blog-home .blog-home__hero { aspect-ratio: auto; padding: 64px 0; }
}
@media (max-width: 640px) {
  .blog-home .breadcrumb + .blog-home__featured,
  .blog-home .breadcrumb + .blog-home__latest { padding-top: 24px; }
}
.blog-home .blog-home__intro { padding-top: 24px; padding-bottom: 28px; }
.blog-home .blog-home__intro h1 { margin-bottom: 14px; font-size: clamp(2rem,3vw,2.7rem); }
.blog-home .blog-home__intro .section__lead { max-width: 900px; margin-bottom: 24px; }
.blog-home .blog-home__filter { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-home .blog-home__latest .blog-home__filter { margin-bottom: 28px; }
.blog-home .blog-home__search { display: flex; gap: 12px; max-width: 720px; margin: 0 0 18px; }
.blog-home .blog-home__search input[type=search] { min-width: 0; flex: 1; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 4px; font: inherit; color: var(--ink-900); background: var(--white); }
.blog-home .blog-home__search input::placeholder { color: var(--gray-600); }
.blog-home .blog-home__search :focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.blog-home .blog-home__filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--gray-200); border-radius: 4px; font-size: .85rem; color: var(--ink-700); background: var(--white); }
.blog-home .blog-home__filter a:hover, .blog-home .blog-home__filter [aria-current] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); text-decoration: none; }
.blog-home .blog-home__featured, .blog-home .blog-home__latest { padding-bottom: 48px; }
.blog-home .blog-home__heading { font-size: 1.6rem; margin-bottom: 24px; }
.blog-home .blog-home__featured-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 24px; align-items: stretch; }
.blog-home .blog-home__featured-grid .blog-home__card--primary { grid-row: span 2; }
.blog-home .blog-home__latest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; grid-auto-rows: 1fr; }
.blog-home .blog-home__card { min-width: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: border-color .2s,transform .2s; }
.blog-home .blog-home__card:hover { border-color: var(--brand-600); transform: translateY(-3px); }
.blog-home .blog-home__card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink-900); text-decoration: none; }
.blog-home .blog-home__card-link:hover { color: var(--ink-900); text-decoration: none; }
.blog-home a:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.blog-home .blog-home__card-link:focus-visible { outline-offset: -3px; }
.blog-home .blog-home__cover { position: relative; width: 100%; aspect-ratio: 16 / 9; flex-shrink: 0; overflow: hidden; color: var(--white); background: #496a7a; }
.blog-home .blog-home__cover--fundamentals { background: #073b5c; }
.blog-home .blog-home__cover--planning { background: #087f8c; }
.blog-home .blog-home__cover--water-treatment { background: #008db5; }
.blog-home .blog-home__cover--operations { background: #496a7a; }
.blog-home .blog-home__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; font-family: var(--font-heading); font-size: clamp(.85rem,1.4vw,1.1rem); font-weight: 600; line-height: 1.5; }
.blog-home .blog-home__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-home .blog-home__image[hidden] { display: none; }
.blog-home .blog-home__card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; padding: 22px 0; }
.blog-home .blog-home__category { color: var(--brand-700); font-size: .72rem; font-weight: 600; margin-bottom: 10px; }
.blog-home .blog-home__card-title { font-size: 1.12rem; line-height: 1.4; margin: 0 0 12px; }
.blog-home .blog-home__card--primary .blog-home__card-title { font-size: 1.4rem; }
.blog-home .blog-home__card-title, .blog-home .blog-home__excerpt { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 3; }
.blog-home .blog-home__excerpt { -webkit-line-clamp: 2; font-size: .88rem; line-height: 1.6; color: var(--gray-600); margin: 0 0 18px; }
.blog-home .blog-home__card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; font-size: .74rem; color: var(--gray-600); }
.blog-home .blog-home__read { color: var(--brand-700); font-weight: 600; }
.blog-home .blog-home__card--side .blog-home__card-link { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,.6fr); align-items: start; }
.blog-home .blog-home__card--side .blog-home__card-body { height: 100%; padding: 18px; }
.blog-home .blog-home__card--side .blog-home__card-title { font-size: 1rem; }
.blog-home .blog-home__card--side .blog-home__placeholder { font-size: .8rem; padding: 14px; }
.blog-home .blog-home__pagination { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.blog-home .blog-home__pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--gray-200); }
.blog-home .blog-home__pagination .current { background: var(--ink-900); color: var(--white); }
.blog-home .blog-home__empty { padding: 20px 0; color: var(--gray-600); }
@media (max-width: 1100px) {
  .blog-home .blog-home__featured-grid { grid-template-columns: minmax(0,1fr); }
  .blog-home .blog-home__featured-grid .blog-home__card--primary { grid-row: auto; }
  .blog-home .blog-home__card--side .blog-home__card-link { display: flex; }
  .blog-home .blog-home__card--side .blog-home__card-title { font-size: 1.12rem; }
  .blog-home .blog-home__card--side .blog-home__card-body { padding: 22px 0; }
  .blog-home .blog-home__latest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .blog-home .blog-home__intro { padding-top: 16px; padding-bottom: 24px; }
  .blog-home .blog-home__latest-grid { grid-template-columns: minmax(0,1fr); }
  .blog-home .blog-home__featured, .blog-home .blog-home__latest { padding-bottom: 36px; }
  .blog-home .blog-home__card--primary .blog-home__card-title { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-home .blog-home__card { transition: none; }
  .blog-home .blog-home__card:hover { transform: none; }
}

/* Open card surfaces retain the original Featured Guides composition. */
.blog-home .blog-home__card { position: relative; border: 0; border-radius: 0; overflow: visible; background: transparent; box-shadow: none; transition: none; }
.blog-home .blog-home__card:hover { transform: none; }
.blog-home .blog-home__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: -12px; width: 1px; background: var(--gray-200); pointer-events: none; }
.blog-home .blog-home__card:nth-child(3n+1)::before { display: none; }
@media (max-width: 1100px) {
  .blog-home .blog-home__card:nth-child(3n+1)::before { display: block; }
  .blog-home .blog-home__card:nth-child(2n+1)::before { display: none; }
}
@media (max-width: 640px) {
  .blog-home .blog-home__card::before { display: none; }
  .blog-home .blog-home__card:nth-child(3n+1)::before { display: none; }
}

.blog-home .blog-home__featured-grid .blog-home__card::before { display: none; }
.blog-home .blog-home__featured-grid .blog-home__card--primary::after { content: ""; position: absolute; top: 0; bottom: 0; right: -12px; width: 1px; background: var(--gray-200); pointer-events: none; }
@media (max-width: 1100px) {
  .blog-home .blog-home__featured-grid .blog-home__card--primary::after { display: none; }
}

@media (min-width: 1101px) {
  .blog-home .blog-home__featured-grid .blog-home__card--side + .blog-home__card--side::after {
    content: ""; position: absolute; top: -12px; left: 0; right: 0;
    height: 1px; background: var(--gray-200); pointer-events: none;
  }
}
