/* CAIZUN Homepage / Section 08: News & Updates / V10.1 | category images + one article per category
   Only homepage .cz-home-2026 selectors. Works with Bootstrap 5's .container/.row/.col.
   Reuses common_base.css design tokens and shared .cz-section/.cz-eyebrow/.cz-section-title. */
.cz-home-2026 .cz-home-news {
  background: var(--cz-paper, #fff);
  color: var(--cz-ink, #111);
}
.cz-home-2026 .cz-home-news__heading-row { margin-bottom: var(--cz-space-6, 2rem); }
.cz-home-2026 .cz-home-news__eyebrow { color: var(--cz-muted, #77736d); }
.cz-home-2026 .cz-home-news__title { margin: 0; }
.cz-home-2026 .cz-home-news__title em { font-weight: inherit; }
.cz-home-2026 .cz-home-news__all {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 0; border-bottom: 1px solid #1b1b1b;
  color: #111; text-decoration: none;
  font: 600 .6875rem/1.5 var(--cz-font-sans, Arial, sans-serif);
  text-transform: uppercase; letter-spacing: .08em;
  transition: color 180ms ease, gap 180ms ease;
}
.cz-home-2026 .cz-home-news__all:hover,
.cz-home-2026 .cz-home-news__all:focus-visible { color: #666; gap: .8rem; }
.cz-home-2026 .cz-home-news__item { display: flex; min-width: 0; }
.cz-home-2026 .cz-home-news__card {
  display: flex; flex-direction: column;
  width: 100%; height: 100%; min-width: 0;
}
.cz-home-2026 .cz-home-news__media {
  position: relative; overflow: hidden; flex: 0 0 auto;
  background: #e9e8e5;
}
.cz-home-2026 .cz-home-news__image-link {
  display: block; position: relative;
  width: 100%; aspect-ratio: 1.85 / 1;
  overflow: hidden; color: inherit; text-decoration: none;
}
.cz-home-2026 .cz-home-news__image {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 450ms ease;
}
.cz-home-2026 .cz-home-news__card:hover .cz-home-news__image,
.cz-home-2026 .cz-home-news__image-link:focus-visible .cz-home-news__image {
  transform: scale(1.045);
}
.cz-home-2026 .cz-home-news__image-placeholder {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  padding: 1.5rem; color: #888;
  background: #e9e8e5; text-align: center;
  font: 500 .8125rem/1.5 var(--cz-font-sans, Arial, sans-serif);
}
.cz-home-2026 .cz-home-news__media.is-image-missing .cz-home-news__image { display: none; }
.cz-home-2026 .cz-home-news__media.is-image-missing .cz-home-news__image-placeholder { display: flex; }
.cz-home-2026 .cz-home-news__badge {
  position: absolute; z-index: 1; left: .875rem; top: .875rem;
  display: inline-block; max-width: calc(100% - 1.75rem);
  padding: .4375rem .6875rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #fff; background: #101010;
  font: 600 .625rem/1.45 var(--cz-font-sans, Arial, sans-serif);
  letter-spacing: .045em; text-transform: uppercase;
  text-decoration: none; transition: background 180ms ease;
}
.cz-home-2026 .cz-home-news__badge:hover,
.cz-home-2026 .cz-home-news__badge:focus-visible { color: #fff; background: #4c4036; }
.cz-home-2026 .cz-home-news__body {
  display: flex; flex: 1 1 auto; min-width: 0;
  flex-direction: column; align-items: flex-start;
  padding: 1.125rem 1.375rem 1.75rem;
}
.cz-home-2026 .cz-home-news__date {
  display: block; margin-bottom: .625rem;
  color: #95938f; text-transform: uppercase;
  font: 500 .6875rem/1.5 var(--cz-font-sans, Arial, sans-serif);
  letter-spacing: .065em;
}
.cz-home-2026 .cz-home-news__article-title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; min-height: 2.8em; width: 100%; margin: 0 0 .8rem;
  color: #181818;
  font: 500 clamp(1.05rem, 1.3vw, 1.25rem)/1.4 var(--cz-font-serif, Georgia, serif);
  overflow-wrap: anywhere;
}
.cz-home-2026 .cz-home-news__article-title a { color: inherit; text-decoration: none; }
.cz-home-2026 .cz-home-news__article-title a:hover,
.cz-home-2026 .cz-home-news__article-title a:focus-visible { text-decoration: underline; text-underline-offset: .15em; }
.cz-home-2026 .cz-home-news__excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; margin: 0 0 1rem; width: 100%;
  color: #77736d; font: 400 .8125rem/1.75 var(--cz-font-sans, Arial, sans-serif);
  overflow-wrap: anywhere;
}
.cz-home-2026 .cz-home-news__read-more {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: auto; padding-top: .45rem;
  color: #151515; text-decoration: none;
  font: 600 .71875rem/1.5 var(--cz-font-sans, Arial, sans-serif);
  transition: gap 180ms ease;
}
.cz-home-2026 .cz-home-news__read-more:hover,
.cz-home-2026 .cz-home-news__read-more:focus-visible { gap: .8rem; text-decoration: underline; }
.cz-home-2026 .cz-home-news__empty {
  color: var(--cz-muted, #77736d); margin: 0;
  padding: 3rem 1.25rem; background: var(--cz-surface, #f5f5f3);
  font: 400 .9375rem/1.7 var(--cz-font-sans, Arial, sans-serif);
}
.cz-home-2026 .cz-home-news__no-article {
  color: #8b8984; font: 400 .875rem/1.7 var(--cz-font-sans, Arial, sans-serif); margin: 0;
}
/* Only article contents have separators; photos keep sharp flush edges. */
@media (min-width: 992px) {
  .cz-home-2026 .cz-home-news__item:not(:nth-child(3n)) .cz-home-news__body {
    border-right: 1px solid #e8e8e6;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .cz-home-2026 .cz-home-news__item:nth-child(odd) .cz-home-news__body {
    border-right: 1px solid #e8e8e6;
  }
  .cz-home-2026 .cz-home-news__item:nth-child(n+3) { margin-top: 2rem; }
}
@media (max-width: 767.98px) {
  .cz-home-2026 .cz-home-news__heading-row { margin-bottom: 1.5rem; }
  .cz-home-2026 .cz-home-news__item:not(:last-child) { margin-bottom: 2rem; }
  .cz-home-2026 .cz-home-news__item:not(:last-child) .cz-home-news__card {
    border-bottom: 1px solid #e8e8e6;
  }
  .cz-home-2026 .cz-home-news__body { padding: 1rem 0 1.75rem; }
  .cz-home-2026 .cz-home-news__article-title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cz-home-2026 .cz-home-news__image,
  .cz-home-2026 .cz-home-news__read-more,
  .cz-home-2026 .cz-home-news__all { transition: none; }
}
