/* Homepage layout reset - intentionally loaded after the main stylesheet */
.new-hero,
.new-hero * { box-sizing: border-box; }
.new-hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,173,31,.14), transparent 32rem),
    linear-gradient(180deg, #05070a 0%, #090c12 100%);
  overflow: hidden;
}
.new-hero::before,
.new-hero::after { content: none !important; display: none !important; }
.new-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}
.new-hero__content { min-width: 0; }
.new-hero h1 {
  margin: 22px 0 18px;
  max-width: 760px;
  font-size: clamp(2.65rem, 5vw, 5.6rem) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
  text-wrap: balance;
}
.new-hero__content > p {
  max-width: 660px;
  margin: 0;
  color: #cbd1dc;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}
.new-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}
.new-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  max-width: 620px;
}
.new-hero__facts span {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: #c6ccd6;
  font-size: .86rem;
}
.new-hero__facts strong { color: #fff; }
.new-hero__art {
  min-width: 0;
  border: 1px solid rgba(255,173,31,.22);
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.new-hero__art picture,
.new-hero__art img { display: block; width: 100%; }
.new-hero__art img {
  height: auto !important;
  max-height: 650px;
  object-fit: contain !important;
  object-position: center !important;
  background: #000;
}
body.home .hero, body.home .hero::before, body.home .hero::after { display:none !important; }
@media (max-width: 980px) {
  .new-hero { padding-top: 34px; }
  .new-hero__grid { grid-template-columns: 1fr; }
  .new-hero__content { order: 1; }
  .new-hero__art { order: 2; max-width: 820px; width: 100%; margin-inline: auto; }
  .new-hero h1 { max-width: 850px; }
}
@media (max-width: 620px) {
  .new-hero { padding: 26px 0 46px; }
  .new-hero h1 { font-size: clamp(2.25rem, 11vw, 3.5rem) !important; }
  .new-hero__actions { display: grid; }
  .new-hero__actions .btn { width: 100%; }
  .new-hero__facts { grid-template-columns: 1fr 1fr; }
  .new-hero__facts span { padding: 11px; font-size: .78rem; }
  .new-hero__art { border-radius: 18px; }
  .new-hero__art img { max-height: none; }
}

/* Recovery gallery layout correction */
body.home #instagram { overflow: hidden; }
body.home .instagram-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: 320px !important;
  align-items: stretch !important;
  gap: 16px !important;
  margin-top: 38px !important;
}
body.home .instagram-card,
body.home .instagram-card--wide {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 320px !important;
  aspect-ratio: auto !important;
  grid-column: span 1 !important;
  grid-row: auto !important;
  overflow: hidden !important;
}
body.home .instagram-card--wide {
  grid-column: span 2 !important;
}
body.home .instagram-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
body.home .instagram-note {
  position: relative !important;
  clear: both !important;
  margin: 16px 0 0 !important;
}
body.home #faq {
  position: relative !important;
  clear: both !important;
}
@media (max-width: 980px) {
  body.home .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 290px !important;
  }
  body.home .instagram-card,
  body.home .instagram-card--wide {
    height: 290px !important;
    grid-column: span 1 !important;
  }
}
@media (max-width: 620px) {
  body.home .instagram-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 280px !important;
    gap: 12px !important;
  }
  body.home .instagram-card,
  body.home .instagram-card--wide {
    height: 280px !important;
    grid-column: 1 !important;
  }
}
