/* Homepage editorial refresh: one coherent CIS scene for conversion and content discovery. */
.hero .hero-copy,
.hero .hero-marquee { display: none; }
.hero.section-dark {
  min-height: 784px;
  overflow: hidden;
  padding: 0;
}
.hero .container { width: min(1670px, calc(100% - 96px)); }
.hero-grid { min-height: 784px; }
.hero-refresh {
  max-width: 770px;
  padding: 58px 0 38px;
  position: relative;
  z-index: 10;
}
.hero-refresh__eyebrow {
  align-items: center;
  color: #14733f;
  display: flex;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 800;
  gap: 17px;
  letter-spacing: .04em;
  margin: 0 0 22px;
}
.hero-refresh__eyebrow > span {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: block;
  height: 18px;
  width: 18px;
}
.hero-refresh h1 {
  color: #101316;
  font-size: clamp(50px, 4.05vw, 70px);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: 1.16;
  margin: 0;
  max-width: 780px;
  text-shadow: none;
}
.hero-refresh h1 span { color: #11723d; }
.hero-refresh__lead {
  align-items: center;
  color: #14733f;
  display: flex;
  font-size: clamp(21px, 1.7vw, 28px);
  font-weight: 800;
  gap: 15px;
  margin: 26px 0 15px;
}
.hero-refresh__bird {
  background-image: url('../brand/bird-mark-hero-no-ring.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  flex: 0 0 auto;
  height: 44px;
  width: 44px;
}
.hero-refresh__description {
  color: #213337;
  font-size: clamp(17px, 1.23vw, 21px);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 2;
  margin: 0;
}
.hero-refresh__actions {
  align-items: center;
  display: flex;
  gap: 42px;
  margin-top: 28px;
}
.hero-refresh__actions .button {
  font-size: 20px;
  min-width: 238px;
  padding: 17px 27px;
}
.hero-refresh__actions .text-button {
  color: var(--cis-navy, #273447);
  font-size: 20px;
  white-space: nowrap;
}
.hero-refresh__actions .text-button span { color: var(--cis-navy, #273447); font-size: 30px; }
.hero-refresh__proof {
  align-items: stretch;
  display: flex;
  gap: 0;
  margin-top: 44px;
  max-width: 790px;
}
.hero-refresh__proof > div {
  align-items: center;
  border-right: 1px solid rgba(39, 52, 71, .36);
  display: flex;
  flex: 1;
  gap: 17px;
  min-width: 0;
  padding: 0 29px;
}
.hero-refresh__proof > div:first-child { padding-left: 0; }
.hero-refresh__proof > div:last-child { border-right: 0; padding-right: 0; }
.hero-proof-icon { display: block; flex: 0 0 auto; height: 68px; width: 70px; }
.hero-proof-icon .solid-icon { color: var(--cis-mist-indigo, #3e697a); display: block; height: 100%; overflow: visible; width: 100%; }
.hero-refresh__proof p { margin: 0; }
.hero-refresh__proof b { color: #14733f; display: block; font-size: clamp(20px, 1.45vw, 25px); line-height: 1.25; white-space: nowrap; }
.hero-refresh__proof small { color: #293c3b; display: block; font-size: 20px; font-weight: 700; line-height: 1.55; white-space: nowrap; }
.hero-refresh__regions {
  align-items: center;
  display: flex;
  gap: 19px;
  margin-top: 37px;
}
.hero-refresh__regions b { color: #1c302f; font-size: 17px; margin-right: 3px; }
.hero-refresh__regions span {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(39,52,71,.16);
  font-size: 0;
  height: 22px;
  line-height: 1;
  overflow: hidden;
  width: 32px;
}
.hero-refresh__regions span svg { display: block; height: 100%; width: 100%; }
.hero-dashboard-art {
  right: 0;
  top: 48%;
  width: min(80vw, 1420px);
  z-index: 2;
}
.legacy-updates { display: none; }

.updates-editorial { background: var(--cream); padding: 96px 0 116px; }
.updates-editorial__frame {
  background: linear-gradient(135deg, rgba(185,229,217,.31), rgba(255,249,235,.68) 43%, rgba(155,203,138,.14));
  border-radius: 27px;
  box-shadow: inset 0 0 0 1px rgba(39,52,71,.035);
  padding: 54px 44px 36px;
}
.updates-editorial__top { display: grid; grid-template-columns: 1.72fr 1fr 1fr 1.1fr; }
.updates-editorial__top > * { min-height: 215px; padding: 0 35px; }
.updates-editorial__top > :first-child { padding-left: 0; }
.updates-editorial__topic,
.updates-editorial__facebook { border-left: 1px solid rgba(91,130,84,.28); }
.updates-editorial__intro { display: flex; gap: 18px; }
.updates-editorial__intro-icon,
.updates-editorial__topic-icon {
  align-items: center;
  background: #4e7c42;
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  flex: 0 0 auto;
  font-size: 31px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  width: 58px;
}
.updates-editorial h2,
.updates-editorial h3,
.updates-editorial p { margin-top: 0; }
.updates-editorial__intro h2 { color: #101316; font-size: clamp(25px, 1.8vw, 31px); letter-spacing: -.065em; line-height: 1.35; margin-bottom: 28px; }
.updates-editorial__intro p { color: #202c2e; font-size: 18px; line-height: 1.8; }
.updates-editorial__topic { display: flex; gap: 19px; }
.updates-editorial__topic-icon { background: #5d814f; font-size: 22px; }
.updates-editorial__topic:nth-child(3) .updates-editorial__topic-icon { background: #537244; font-size: 13px; }
.updates-editorial__topic-icon .solid-icon { color: var(--cis-green-deep); display: block; height: 34px; width: 34px; }
.updates-editorial__topic h3 { color: #111b1d; font-size: 32px; letter-spacing: -.06em; line-height: 1; margin: 6px 0 10px; }
.updates-editorial__topic p { color: #5a7c48; font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 22px; }
.updates-editorial__topic small { color: #1e292b; display: block; font-size: 16px; line-height: 1.8; }
.updates-editorial__facebook h3 { color: #111b1d; font-size: 21px; margin-bottom: 7px; }
.updates-editorial__facebook p { color: #445b3f; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.updates-editorial__facebook a {
  align-items: center;
  background: #315cbd;
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 19px;
  font-weight: 800;
  gap: 14px;
  justify-content: center;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.updates-editorial__facebook a:hover { box-shadow: 0 9px 20px rgba(49,92,189,.2); transform: translateY(-3px); }
.updates-editorial__facebook a b { font-family: Arial,sans-serif; font-size: 31px; line-height: .7; }
.updates-editorial__facebook a span { font-size: 26px; margin-left: auto; }
.updates-editorial__facebook i { color: #303f31; display: block; font-size: 15px; font-style: normal; font-weight: 700; margin: 15px 0 0 8px; transform: rotate(-2deg); }
.updates-editorial__heading { align-items: center; display: flex; gap: 23px; margin: 62px 0 28px; }
.updates-editorial__heading h2 { color: #111b1d; font-size: 28px; letter-spacing: -.055em; margin: 0; white-space: nowrap; }
.updates-editorial__heading h2 span { color: #5f9856; margin-right: 8px; }
.updates-editorial__heading > span { background: #9bc58d; display: block; height: 1px; width: 100%; }
.updates-editorial__heading a { color: #557a48; font-size: 17px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.updates-editorial__cards { display: grid; gap: 26px; grid-template-columns: repeat(5, minmax(0,1fr)); }
.article-preview {
  background: rgba(255,255,255,.87);
  border: 1px solid rgba(39,52,71,.07);
  border-radius: 13px;
  box-shadow: 0 7px 20px rgba(39,52,71,.065);
  min-width: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-preview:hover { box-shadow: 0 14px 25px rgba(39,52,71,.13); transform: translateY(-7px); }
.article-preview__image {
  background-image: url('../images/latest-articles-strip-2026.png');
  background-repeat: no-repeat;
  /* Keep the generated portrait scenes intact; crop their height instead of stretching them. */
  background-size: 500% auto;
  height: 187px;
}
.article-preview__image--one { background-position: 0 16%; }
.article-preview__image--two { background-position: 25% 50%; }
.article-preview__image--three { background-position: 50% 50%; }
.article-preview__image--four { background-position: 75% 14%; }
.article-preview__image--five { background-position: 100% 50%; }
.article-preview h3 { color: #151d20; font-size: 18px; letter-spacing: -.04em; line-height: 1.45; margin: 15px 15px 18px; min-height: 52px; }
.article-preview p { align-items: center; display: flex; justify-content: space-between; margin: 0 15px 15px; }
.article-preview p span { background: #e0f0d5; border-radius: 6px; color: #587641; font-size: 14px; font-weight: 800; padding: 4px 8px; }
.article-preview time { color: #78807f; font-size: 14px; }

@media (min-width: 851px) and (max-width: 1450px) {
  .updates-editorial__top { grid-template-columns: 1.45fr 1fr 1fr; }
  .updates-editorial__facebook { display: grid; gap: 12px; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 26px; min-height: 0; padding: 25px 0 0; }
  .updates-editorial__facebook h3,.updates-editorial__facebook p,.updates-editorial__facebook i { margin: 0; }
  .updates-editorial__cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 1180px) {
  .hero .container { width: min(1180px, calc(100% - 48px)); }
  .hero.section-dark,.hero-grid { min-height: 840px; }
  .hero-refresh { max-width: 645px; }
  .hero-refresh h1 { font-size: clamp(48px, 5.1vw, 61px); }
  .hero-dashboard-art { opacity: .72; right: -14%; width: min(76vw, 990px); }
  .hero-refresh__proof { max-width: 720px; }
  .hero-refresh__proof > div { gap: 12px; padding: 0 17px; }
  .hero-proof-icon { height: 60px; width: 62px; }
  .updates-editorial__top { grid-template-columns: 1.45fr 1fr 1fr; }
  .updates-editorial__facebook { grid-column: 1 / -1; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 26px; min-height: 0; padding: 25px 0 0; }
  .updates-editorial__facebook h3,.updates-editorial__facebook p,.updates-editorial__facebook i { margin: 0; }
  .updates-editorial__cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .hero.section-dark,.hero-grid { min-height: auto; }
  .hero-refresh { max-width: 680px; padding: 64px 0 305px; text-align: center; }
  .hero-refresh__eyebrow,.hero-refresh__lead,.hero-refresh__actions,.hero-refresh__regions { justify-content: center; }
  .hero-refresh h1 { font-size: clamp(45px, 7vw, 61px); }
  .hero-refresh__description { font-size: 18px; }
  .hero-dashboard-art { opacity: .4; right: -17%; top: 68%; width: 100vw; }
  .hero-refresh__proof { margin-left: auto; margin-right: auto; }
  .updates-editorial__frame { padding: 40px 28px 30px; }
  .updates-editorial__top { grid-template-columns: 1fr 1fr; }
  .updates-editorial__intro { grid-column: 1 / -1; margin-bottom: 25px; }
  .updates-editorial__facebook { grid-column: 1 / -1; }
  .updates-editorial__cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .hero-refresh { padding: 46px 0 235px; }
  .hero-refresh__eyebrow { font-size: 15px; gap: 10px; text-align: left; }
  .hero-refresh__eyebrow > span { height: 15px; width: 15px; }
  .hero-refresh h1 { font-size: clamp(42px, 11.5vw, 55px); letter-spacing: -.08em; }
  .hero-refresh__lead { font-size: 20px; gap: 9px; text-align: left; }
  .hero-refresh__bird { height: 36px; width: 36px; }
  .hero-refresh__description { font-size: 16px; line-height: 1.8; text-align: left; }
  .hero-refresh__description br { display: none; }
  .hero-refresh__actions { gap: 19px; margin-top: 24px; }
  .hero-refresh__actions .button { font-size: 18px; min-width: 0; padding: 14px 21px; }
  .hero-refresh__actions .text-button { font-size: 16px; }
  .hero-refresh__proof { display: grid; gap: 13px; grid-template-columns: 1fr; margin-top: 27px; text-align: left; }
  .hero-refresh__proof > div { border-bottom: 1px solid rgba(39,52,71,.2); border-right: 0; padding: 0 0 12px; }
  .hero-refresh__proof > div:last-child { border-bottom: 0; }
  .hero-proof-icon { height: 54px; width: 57px; }
  .hero-refresh__regions { flex-wrap: wrap; gap: 11px; margin-top: 22px; }
  .hero-refresh__regions span { height: 18px; width: 27px; }
  .hero-dashboard-art { right: -25%; top: 75%; width: 119vw; }
  .updates-editorial { padding: 62px 0; }
  .updates-editorial__frame { border-radius: 18px; padding: 30px 19px 24px; }
  .updates-editorial__top { display: block; }
  .updates-editorial__top > * { min-height: 0; padding: 25px 0; }
  .updates-editorial__topic,.updates-editorial__facebook { border-left: 0; border-top: 1px solid rgba(91,130,84,.28); }
  .updates-editorial__intro h2 { font-size: 27px; margin-bottom: 15px; }
  .updates-editorial__intro p,.updates-editorial__topic small { font-size: 16px; }
  .updates-editorial__topic h3 { font-size: 28px; }
  .updates-editorial__topic p { font-size: 18px; margin-bottom: 12px; }
  .updates-editorial__facebook { display: block; }
  .updates-editorial__facebook p { font-size: 16px; }
  .updates-editorial__facebook i { font-size: 14px; margin-top: 12px; }
  .updates-editorial__heading { gap: 11px; margin: 36px 0 20px; }
  .updates-editorial__heading h2 { font-size: 22px; }
  .updates-editorial__heading a { font-size: 15px; }
  .updates-editorial__cards { gap: 15px; grid-template-columns: 1fr; }
  .article-preview__image { height: 212px; }
  .article-preview h3 { font-size: 18px; min-height: 0; }
}
