/*
 * EZGATION · Company News Hub (/news/) & Single News Article (2026-11-25)
 * Matches client Rachel's mockup: clean white 3-col News hub + dark-green editorial single article.
 */

/* ── Company News Hub (/news/) ─────────────────────────────── */
.ez-news-hub {
  background: #ffffff;
  padding: 40px 0 72px;
}

.ez-news-hub__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ez-news-hub__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7d77;
  margin: 0 0 18px;
}

.ez-news-hub__crumb a {
  color: #6b7d77;
  text-decoration: none;
}

.ez-news-hub__crumb a:hover {
  color: #173f35;
  text-decoration: underline;
}

.ez-news-hub__crumb-sep {
  opacity: 0.6;
}

.ez-news-hub__header {
  margin: 0 0 34px;
}

.ez-news-hub__title {
  font-family: var(--ez-font-heading, "Barlow Semi Condensed", sans-serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #142622;
  margin: 0 0 10px;
}

.ez-news-hub__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #5b6d67;
  margin: 0;
  max-width: 680px;
}

.ez-news-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ez-news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e4ece9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 35, 30, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ez-news-card:hover {
  transform: translateY(-3px);
  border-color: #b7d7cf;
  box-shadow: 0 12px 28px rgba(15, 35, 30, 0.08);
}

.ez-news-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef3f1;
  overflow: hidden;
}

.ez-news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ez-news-card:hover .ez-news-card__img {
  transform: scale(1.03);
}

.ez-news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 22px;
}

.ez-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 13px;
}

.ez-news-card__cat {
  color: #0d8a7a;
  font-weight: 600;
}

.ez-news-card__date {
  color: #7c8d87;
  font-weight: 400;
}

.ez-news-card__title {
  font-family: var(--ez-font-heading, "Barlow Semi Condensed", sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: #142622;
}

.ez-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.ez-news-card__title a:hover {
  color: #0d8a7a;
}

.ez-news-card__excerpt {
  font-size: 14px;
  line-height: 1.58;
  color: #5b6d67;
  margin: 0 0 20px;
  flex: 1;
}

.ez-news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #0d8a7a;
  text-decoration: none;
}

.ez-news-card__more:hover {
  color: #173f35;
}

.ez-news-hub__cta {
  margin-top: 48px;
}

/* ── Single News Article (ez-single--news) ─────────────────── */
body.single-post main.site-main.ez-single.ez-single--news {
  background: #ffffff;
  padding-bottom: 64px;
}

body.single-post .ez-single--news .ez-news-rail {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

body.single-post .ez-single--news .ez-single__hero {
  background: #173f35 !important;
  color: #ffffff;
  padding: 32px 0 38px;
}

body.single-post .ez-single--news .ez-single__crumb {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

body.single-post .ez-single--news .ez-single__crumb a {
  color: rgba(255, 255, 255, 0.85);
}

body.single-post .ez-single--news .ez-news-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9dad0;
}

body.single-post .ez-single--news .ez-single__title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  color: #ffffff;
  max-width: 100%;
  margin: 0 0 14px;
}

body.single-post .ez-single--news .ez-single__meta {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.76);
  gap: 8px;
}

body.single-post .ez-single--news .ez-single__media {
  padding-top: 32px;
}

body.single-post .ez-single--news .ez-single__figure {
  aspect-ratio: auto;
  max-height: none;
  border-radius: 14px;
  border: 1px solid #e4ece9;
  background: #f4f7f6;
  overflow: hidden;
}

body.single-post .ez-single--news .ez-single__thumb {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

body.single-post .ez-single--news .ez-news-article {
  padding-top: 26px;
}

body.single-post .ez-single--news .ez-single__content {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.72;
  color: #2c3e38;
}

body.single-post .ez-single--news .ez-single__content h2 {
  font-size: 21px;
  font-weight: 700;
  color: #142622;
  margin: 28px 0 14px;
}

/* Structured info card (Exhibition Information / Facility Overview) */
.ez-news-info-box {
  background: #f4f7f6;
  border: 1px solid #e2eae7;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 12px 0 28px;
}

.ez-news-info-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 18px;
  padding: 6px 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.ez-news-info-row + .ez-news-info-row {
  border-top: 1px solid #e7efec;
}

.ez-news-info-label {
  font-weight: 700;
  color: #142622;
}

.ez-news-info-value {
  color: #364a44;
}

/* 3-column Exhibition / Manufacturing Highlights photo gallery */
.ez-news-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 14px 0 32px;
}

.ez-news-highlights__item {
  margin: 0;
}

.ez-news-highlights__img-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e4ece9;
  background: #f4f7f6;
  aspect-ratio: 4 / 3;
}

.ez-news-highlights__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.ez-news-highlights__item figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #5b6d67;
}

/* Shared horizontal CTA bar (matches Image 2 bottom CTA card) */
.ez-news-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 24px 28px;
  background: #f4f7f6;
  border: 1px solid #e2eae7;
  border-radius: 12px;
}

.ez-news-cta-bar__title {
  font-family: var(--ez-font-heading, "Barlow Semi Condensed", sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #142622;
  margin: 0 0 4px;
}

.ez-news-cta-bar__text {
  font-size: 14px;
  color: #5b6d67;
  margin: 0;
}

.ez-news-cta-bar__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 8px;
  background: #173f35;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.ez-news-cta-bar__btn:hover {
  background: #0d8a7a;
}

/* Related product category chips & More Company News */
.ez-news-related-cats {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e4ece9;
}

.ez-news-related-cats__title {
  font-family: var(--ez-font-heading, "Barlow Semi Condensed", sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #142622;
  margin: 0 0 12px;
}

.ez-news-related-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ez-news-related-cats__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #d7e5e0;
  background: #ffffff;
  color: #173f35 !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ez-news-related-cats__chip:hover {
  border-color: #0d8a7a;
  background: #eef7f5;
}

body.single-post .ez-single--news .ez-single__related {
  padding: 0;
  margin-top: 34px;
}

body.single-post .ez-single--news .ez-single__related-title {
  font-size: 18px;
  padding-top: 24px;
}

body.single-post .ez-single--news .ez-single__related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ez-news-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ez-news-hub {
    padding: 28px 0 52px;
  }
  .ez-news-hub__inner,
  body.single-post .ez-single--news .ez-news-rail {
    padding: 0 16px;
  }
  .ez-news-hub__grid,
  .ez-news-highlights,
  body.single-post .ez-single--news .ez-single__related-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ez-news-info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .ez-news-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .ez-news-cta-bar__btn {
    width: 100%;
  }
}
