/* Generated by chillzone-geo/scripts/build-insights.mjs. */
/* Insights-specific layout. Global color, typography, header, buttons and footer
   are inherited from /styles.css so the article centre stays inside the
   CHILLZONE factory site's design system. */

.main-nav a[aria-current="page"] {
  color: var(--rust);
}

.insights-main {
  min-height: 70vh;
}

.insights-hero {
  min-height: min(760px, calc(100vh - 68px));
}

.insights-hero .hero-media,
.insights-hero .hero-media img {
  min-height: 500px;
}

.insights-hero .hero-media img {
  object-fit: cover;
}

.insights-list {
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(72px, 9vw, 124px);
}

.section-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.section-line .section-label {
  margin-bottom: 10px;
}

.section-line h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.03;
}

.section-line > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.insight-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(26px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.insight-card h2 {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.05;
}

.insight-card h2 a:hover,
.read-link:hover,
.text-link:hover,
.article-body a:hover {
  color: var(--rust);
}

.insight-card > p:not(.section-label) {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.read-link,
.text-link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.read-link {
  margin-top: auto;
}

.empty-state {
  color: var(--muted);
  padding: 42px 0;
}

.article-heading {
  padding-top: clamp(64px, 8vw, 108px);
  padding-bottom: clamp(52px, 7vw, 86px);
}

.article-heading h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
}

.article-dek {
  max-width: 800px;
  margin: 24px 0 0;
  color: #3c3732;
  font-size: clamp(18px, 2vw, 22px);
}

.article-byline {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-section {
  padding: clamp(54px, 7vw, 98px) clamp(18px, 4vw, 54px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: clamp(38px, 6vw, 82px);
  max-width: var(--max);
  margin: 0 auto;
}

.article-body {
  min-width: 0;
  font-size: 17px;
  line-height: 1.72;
}

.article-body h2 {
  margin: 54px 0 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  line-height: 1.15;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body ul {
  margin: 0 0 26px;
  padding-left: 24px;
}

.article-body li {
  margin: 8px 0;
}

.article-body code {
  padding: 2px 5px;
  background: #ebe7e1;
  font-size: 0.88em;
}

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-source {
  margin-top: 54px !important;
  padding: 16px 0 16px 18px;
  color: var(--muted);
  border-left: 2px solid var(--rust);
  font-size: 14px;
}

.article-layout aside {
  align-self: start;
  position: sticky;
  top: 88px;
}

.aside-card {
  margin-bottom: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.aside-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}

.aside-card p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.aside-card .primary-button {
  width: 100%;
  padding: 0 12px;
  text-align: center;
}

.aside-card .text-link {
  display: inline-block;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .insights-hero {
    min-height: auto;
  }

  .insights-hero .hero-media,
  .insights-hero .hero-media img {
    min-height: 380px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-layout aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .insights-main .section-wrap,
  .insights-main .section-band {
    padding-right: 18px;
    padding-left: 18px;
  }

  .insights-hero .hero-media,
  .insights-hero .hero-media img {
    min-height: 300px;
  }

  .section-line {
    align-items: flex-start;
  }

  .section-line > span {
    padding-top: 28px;
    white-space: normal;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .article-heading h1 {
    font-size: 44px;
  }

  .article-body {
    font-size: 16px;
  }
}
