@import url("../home-feature/banner-glass.css");

.gv-story {
  --story-gold: #e4cb98;
  --story-cream: #fff9ee;
  margin: clamp(1rem, 2.4vw, 2.25rem) auto 0;
  color: var(--story-cream);
}
.gv-story img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.gv-story-header { width: min(1600px, calc(100% - 48px)); margin: 0 auto; }
.gv-story-header img { filter: brightness(.87) saturate(.93); }
.gv-story-intro {
  width: 94%;
  max-width: 52rem;
  margin: clamp(2.75rem, 7vw, 6rem) auto;
  text-align: center;
}
.gv-story-kicker, .gv-story-number {
  color: var(--story-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.gv-story-intro h1, .gv-story h2 {
  color: inherit;
  margin: .5rem 0 1rem;
  font: normal clamp(2rem, 4vw, 3.7rem)/1.08 Georgia, serif;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.gv-story-intro h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.gv-story p { margin: 1rem 0 0; font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.68; }
.gv-story-chapter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 6.25rem);
  align-items: center;
  margin: clamp(2.75rem, 7vw, 6rem) auto;
  width: 94%;
  max-width: 1250px;
}
.gv-story-chapter:nth-of-type(odd) img { grid-column: 2; grid-row: 1; }
.gv-story-chapter:nth-of-type(odd) .gv-story-copy { grid-column: 1; grid-row: 1; }
.gv-story-copy { max-width: 36rem; }
.gv-story-number::after {
  content: "";
  display: inline-block;
  margin-inline-start: .8rem;
  width: 2.6rem;
  border-top: 1px solid currentColor;
  vertical-align: middle;
}
.gv-story-finale {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  width: min(94%, 1370px);
  margin-inline: auto;
}
.gv-story-finale picture { display: block; grid-area: 1 / 1; }
.gv-story-finale::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 58%;
  height: 68%;
  border-radius: 1rem;
  background: radial-gradient(ellipse at 65% 42%, rgba(27, 22, 17, .8), rgba(27, 22, 17, .57) 48%, transparent 75%);
  pointer-events: none;
}
.gv-story-finale-copy {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: start;
  justify-self: end;
  box-sizing: border-box;
  width: 42%;
  margin-inline-end: 4%;
  margin-block-start: 2.5%;
  padding: clamp(1rem, 2.1vw, 1.85rem);
  padding-block: clamp(.9rem, 1.5vw, 1.35rem);
  border: 0;
  border-radius: 20px;
  background: var(--hero-glass);
  backdrop-filter: var(--hero-blur);
  -webkit-backdrop-filter: var(--hero-blur);
  color: var(--hero-glass-copy);
}
.gv-story-finale h2 { color: var(--story-gold); font-size: clamp(1.65rem, 3.4vw, 3.35rem); }
@media (min-width: 761px) {
  .gv-story-finale h2 { margin: .25rem 0 .65rem; font-size: clamp(1.65rem, 3.2vw, 3.15rem); }
  .gv-story-finale-copy p { margin-top: .65rem; line-height: 1.54; }
  .gv-story-finale-copy .gv-story-button { margin-top: 1.05rem; }
}
.gv-story-button {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .65rem 1rem;
  border-radius: .55rem;
  background: var(--story-gold);
  color: #252018;
  font-weight: 700;
  line-height: 1.4;
}
.gv-story-button:hover { background: #f4e0b7; color: #252018; }
.gv-story-button:focus-visible { outline: 2px solid var(--story-cream); outline-offset: 4px; }
@media (max-width: 760px) {
  .gv-story-intro { box-sizing: border-box; padding-inline: .55rem; text-align: left; }
  .gv-story-chapter { display: block; }
  .gv-story-copy { margin: 1.15rem .55rem 0; }
  .gv-story-finale { display: block; }
  .gv-story-finale::before { content: none; }
  .gv-story-finale-copy { width: auto; margin: 0; padding: 1rem .55rem 0; background: none; backdrop-filter: none; color: var(--story-cream); }
}
@media (max-width: 720px) {
  .gv-story-header { width: calc(100% - 24px); }
}
