/* GAS Executive 37.1.0 — Home news fan
   Loaded only on the front page, after the responsive hardening layer. */

body.home .section-blog--refined {
  position: relative;
  overflow: hidden;
  padding-top: clamp(78px, 7vw, 118px) !important;
  padding-bottom: clamp(72px, 7vw, 110px) !important;
  background:
    radial-gradient(circle at 50% 58%, rgba(198,161,90,.10), transparent 32%),
    linear-gradient(180deg, #f7f3ec 0%, #fbfaf6 48%, #f4efe7 100%) !important;
}

body.home .section-blog--refined::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 116px;
  width: min(1240px, 88vw);
  height: 360px;
  border: 1px solid rgba(169,130,67,.17);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .8;
}

body.home .section-blog--refined .section-heading {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin-bottom: 18px !important;
}

body.home .section-blog--refined .section-heading h2 {
  max-width: 1050px !important;
}

.gas-news-fan {
  --fan-card-w: 370px;
  --fan-card-h: 520px;
  position: relative;
  z-index: 4;
  width: min(1540px, calc(100vw - 34px)) !important;
  margin-top: 10px;
}

.gas-news-fan__stage {
  position: relative;
  height: 650px;
  perspective: 1700px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.gas-news-fan__card {
  position: absolute;
  top: 12px;
  left: 50%;
  width: var(--fan-card-w);
  height: var(--fan-card-h);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform-origin: 50% 112%;
  transition:
    transform 620ms cubic-bezier(.22,.78,.22,1),
    opacity 420ms ease,
    filter 420ms ease,
    top 620ms cubic-bezier(.22,.78,.22,1);
  will-change: transform, opacity;
}

.gas-news-fan__card.is-fan-visible {
  visibility: visible;
  opacity: 1;
}

.gas-news-fan__card.is-slot-0 {
  z-index: 7;
  top: 8px;
  transform: translateX(-50%) translate3d(0,0,90px) rotate(0deg) scale(1.04);
}

.gas-news-fan__card.is-slot--1 {
  z-index: 5;
  top: 76px;
  transform: translateX(-50%) translate3d(-330px,0,26px) rotate(-8deg) scale(.89);
}

.gas-news-fan__card.is-slot-1 {
  z-index: 5;
  top: 76px;
  transform: translateX(-50%) translate3d(330px,0,26px) rotate(8deg) scale(.89);
}

.gas-news-fan__card.is-slot--2 {
  z-index: 3;
  top: 158px;
  transform: translateX(-50%) translate3d(-590px,0,-38px) rotate(-15deg) scale(.76);
  filter: saturate(.88) brightness(.96);
}

.gas-news-fan__card.is-slot-2 {
  z-index: 3;
  top: 158px;
  transform: translateX(-50%) translate3d(590px,0,-38px) rotate(15deg) scale(.76);
  filter: saturate(.88) brightness(.96);
}

.gas-news-fan__link {
  position: relative;
  display: block !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: #2c211c;
  box-shadow: 0 24px 62px rgba(57,39,28,.16);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(0) scale(1);
  transition: transform 300ms cubic-bezier(.22,.78,.22,1), box-shadow 300ms ease, border-color 300ms ease;
}

.gas-news-fan__link::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -34%;
  bottom: -34%;
  left: -42%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,232,185,.30), transparent);
  opacity: 0;
  transform: rotate(14deg) translateX(0);
  pointer-events: none;
}

.gas-news-fan__card:hover {
  z-index: 12;
}

.gas-news-fan__card:hover .gas-news-fan__link::after,
.gas-news-fan__card:focus-within .gas-news-fan__link::after {
  opacity: 1;
  animation: gas-news-fan-sheen 820ms ease-out both;
}

@keyframes gas-news-fan-sheen {
  from { transform: rotate(14deg) translateX(0); }
  to { transform: rotate(14deg) translateX(720%); }
}

.gas-news-fan__card:hover .gas-news-fan__link,
.gas-news-fan__card:focus-within .gas-news-fan__link {
  transform: translateY(-14px) scale(1.055);
  border-color: rgba(213,181,116,.92);
  box-shadow: 0 36px 86px rgba(49,31,21,.27), 0 0 0 1px rgba(198,161,90,.12);
}

.gas-news-fan__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #392b25;
  background-position: center;
  background-size: cover;
  transform: translateZ(0);
}

.gas-news-fan__image::before {
  content: "";
  position: absolute;
  inset: -3%;
  background: inherit;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(.2,.75,.2,1), filter 450ms ease;
}

.gas-news-fan__card:hover .gas-news-fan__image::before,
.gas-news-fan__card:focus-within .gas-news-fan__image::before {
  transform: scale(1.09);
  filter: saturate(1.06) contrast(1.02);
}

.gas-news-fan__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,18,13,.06) 0%, rgba(28,18,13,.08) 34%, rgba(28,18,13,.87) 100%),
    linear-gradient(90deg, rgba(26,17,13,.13), transparent 56%);
  pointer-events: none;
}

.gas-news-fan__badge,
.gas-news-fan__date,
.gas-news-fan__copy {
  position: absolute;
  z-index: 3;
}

.gas-news-fan__badge {
  top: 18px;
  left: 18px;
  max-width: calc(100% - 150px);
  padding: 9px 13px 8px;
  border-radius: 999px;
  background: rgba(251,250,246,.94);
  color: #49372e;
  box-shadow: 0 8px 20px rgba(37,24,17,.10);
  font: 800 10px/1 var(--gas-sans, Inter, sans-serif);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gas-news-fan__date {
  top: 21px;
  right: 18px;
  color: rgba(255,255,255,.92);
  font: 800 10px/1 var(--gas-sans, Inter, sans-serif);
  letter-spacing: .11em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.gas-news-fan__copy {
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
}

.gas-news-fan__copy h3 {
  max-width: 95%;
  margin: 0;
  color: #fff !important;
  font-family: var(--gas-serif, Georgia, serif) !important;
  font-size: clamp(30px, 2.4vw, 42px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}

.gas-news-fan__copy p {
  max-width: 92%;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: rgba(255,255,255,.80) !important;
  font-size: 14px;
  line-height: 1.55;
  transition: max-height 320ms ease, margin 320ms ease, opacity 320ms ease;
}

.gas-news-fan__copy > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: #e0be78;
  font: 800 11px/1 var(--gas-sans, Inter, sans-serif);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gas-news-fan__copy > span b {
  font-size: 18px;
  line-height: .8;
  transition: transform 220ms ease;
}

.gas-news-fan__card.is-slot-0 .gas-news-fan__copy p,
.gas-news-fan__card:hover .gas-news-fan__copy p,
.gas-news-fan__card:focus-within .gas-news-fan__copy p {
  max-height: 94px;
  margin-top: 13px;
  opacity: 1;
}

.gas-news-fan__card:hover .gas-news-fan__copy > span b,
.gas-news-fan__card:focus-within .gas-news-fan__copy > span b {
  transform: translateX(5px);
}

.gas-news-fan__card:not(.is-slot-0) .gas-news-fan__copy h3 {
  font-size: 31px !important;
}

.gas-news-fan__card.is-slot--2 .gas-news-fan__copy h3,
.gas-news-fan__card.is-slot-2 .gas-news-fan__copy h3 {
  font-size: 29px !important;
}

.gas-news-fan__controls {
  position: relative;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  margin-top: -12px;
}

.gas-news-fan__arrow {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(75,55,44,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #46342b;
  box-shadow: 0 10px 24px rgba(65,46,34,.08);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.gas-news-fan__arrow:hover,
.gas-news-fan__arrow:focus-visible {
  transform: translateY(-2px);
  border-color: #c6a15a;
  background: #c6a15a;
  color: #fff;
  outline: none;
}

.gas-news-fan__progress {
  width: 96px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(70,52,43,.12);
}

.gas-news-fan__progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #bd934b;
  transform-origin: left center;
  transition: transform 420ms ease;
}

.gas-news-fan__counter {
  min-width: 52px;
  color: #76685f;
  font: 700 11px/1 var(--gas-sans, Inter, sans-serif);
  letter-spacing: .12em;
  text-align: center;
}

body.home .section-blog--refined .section-cta-inline {
  position: relative;
  z-index: 6;
  margin-top: 24px !important;
  text-align: center;
}

/* Large laptop tuning. */
@media (max-width: 1320px) and (min-width: 1241px) {
  .gas-news-fan {
    --fan-card-w: 330px;
    --fan-card-h: 480px;
  }
  .gas-news-fan__stage { height: 598px; }
  .gas-news-fan__card.is-slot--1 { transform: translateX(-50%) translate3d(-282px,0,24px) rotate(-8deg) scale(.88); }
  .gas-news-fan__card.is-slot-1 { transform: translateX(-50%) translate3d(282px,0,24px) rotate(8deg) scale(.88); }
  .gas-news-fan__card.is-slot--2 { transform: translateX(-50%) translate3d(-492px,0,-30px) rotate(-14deg) scale(.73); }
  .gas-news-fan__card.is-slot-2 { transform: translateX(-50%) translate3d(492px,0,-30px) rotate(14deg) scale(.73); }
  .gas-news-fan__copy h3 { font-size: 35px !important; }
  .gas-news-fan__card:not(.is-slot-0) .gas-news-fan__copy h3 { font-size: 28px !important; }
}

/* Tablet and mobile: tactile horizontal carousel, not a cramped fan. */
@media (max-width: 1240px) {
  body.home .section-blog--refined::after { display: none; }
  body.home .section-blog--refined { padding-top: 72px !important; padding-bottom: 76px !important; }

  .gas-news-fan {
    width: min(100% - 28px, 980px) !important;
    margin-top: 26px;
  }

  .gas-news-fan__stage {
    display: flex;
    gap: 18px;
    height: auto;
    padding: 12px 7vw 28px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 7vw;
    scrollbar-width: none;
    perspective: none;
    -webkit-overflow-scrolling: touch;
  }
  .gas-news-fan__stage::-webkit-scrollbar { display: none; }

  .gas-news-fan__card,
  .gas-news-fan__card.is-fan-visible,
  .gas-news-fan__card.is-slot-0,
  .gas-news-fan__card.is-slot--1,
  .gas-news-fan__card.is-slot-1,
  .gas-news-fan__card.is-slot--2,
  .gas-news-fan__card.is-slot-2 {
    position: relative;
    inset: auto;
    flex: 0 0 min(72vw, 430px);
    width: auto;
    height: min(560px, 68vh);
    min-height: 470px;
    margin: 0;
    opacity: 1;
    visibility: visible;
    filter: none;
    transform: none;
    scroll-snap-align: center;
  }

  .gas-news-fan__card:hover .gas-news-fan__link,
  .gas-news-fan__card:focus-within .gas-news-fan__link {
    transform: translateY(-5px) scale(1.01);
  }

  .gas-news-fan__copy p {
    max-height: 86px;
    margin-top: 12px;
    opacity: 1;
  }

  .gas-news-fan__card:not(.is-slot-0) .gas-news-fan__copy h3,
  .gas-news-fan__card.is-slot--2 .gas-news-fan__copy h3,
  .gas-news-fan__card.is-slot-2 .gas-news-fan__copy h3,
  .gas-news-fan__copy h3 {
    font-size: clamp(30px, 5vw, 39px) !important;
  }

  .gas-news-fan__controls { margin-top: 4px; }
  .gas-news-fan__progress { width: 74px; }
}

@media (max-width: 620px) {
  body.home .section-blog--refined { padding-top: 60px !important; padding-bottom: 64px !important; }
  body.home .section-blog--refined .section-heading { margin-bottom: 8px !important; }

  .gas-news-fan { width: 100% !important; }
  .gas-news-fan__stage {
    gap: 13px;
    padding: 12px 22px 24px;
    scroll-padding-inline: 22px;
  }

  .gas-news-fan__card,
  .gas-news-fan__card.is-fan-visible,
  .gas-news-fan__card.is-slot-0,
  .gas-news-fan__card.is-slot--1,
  .gas-news-fan__card.is-slot-1,
  .gas-news-fan__card.is-slot--2,
  .gas-news-fan__card.is-slot-2 {
    flex-basis: min(84vw, 370px);
    min-height: 470px;
    height: min(535px, 69vh);
  }

  .gas-news-fan__link { border-radius: 16px; }
  .gas-news-fan__badge { top: 15px; left: 15px; padding: 8px 11px 7px; font-size: 9px; }
  .gas-news-fan__date { top: 18px; right: 15px; font-size: 9px; }
  .gas-news-fan__copy { left: 20px; right: 20px; bottom: 20px; }
  .gas-news-fan__copy h3,
  .gas-news-fan__card:not(.is-slot-0) .gas-news-fan__copy h3 { font-size: clamp(29px, 9vw, 37px) !important; }
  .gas-news-fan__copy p { font-size: 13px; }
  .gas-news-fan__arrow { width: 43px; height: 43px; }
  .gas-news-fan__controls { gap: 10px; }
}

@media (hover: none), (pointer: coarse) {
  .gas-news-fan__card:hover .gas-news-fan__link { transform: none; }
  .gas-news-fan__card:hover .gas-news-fan__image::before { transform: scale(1.015); filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gas-news-fan__card,
  .gas-news-fan__link,
  .gas-news-fan__image::before,
  .gas-news-fan__copy p,
  .gas-news-fan__progress span {
    transition: none !important;
  }
}


/* Graceful no-JS fallback: readable editorial cards instead of hidden slides. */
.gas-news-fan:not(.is-fan-ready) .gas-news-fan__stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  height: auto;
  perspective: none;
}
.gas-news-fan:not(.is-fan-ready) .gas-news-fan__card {
  position: relative;
  inset: auto;
  width: auto;
  height: 500px;
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
}
@media (max-width: 720px) {
  .gas-news-fan:not(.is-fan-ready) .gas-news-fan__stage { grid-template-columns: 1fr; }
  .gas-news-fan:not(.is-fan-ready) .gas-news-fan__card { height: 470px; }
}

.gas-news-fan:not(.is-fan-ready) .gas-news-fan__controls { display: none; }
