/* ===== Newspaper-style RTI Press Note | Theme: #F4D38F, White, Black ===== */
:root{
  --ink: #000;                 /* black text */
  --paper: #ffffff;            /* white cards */
  --accent: #F4D38F;           /* your sand-gold */
  --muted: #222;               /* dark gray for body */
  --radius: 14px;
  --shadow: 0 20px 40px rgba(0,0,0,.12);
}

*{ box-sizing: border-box }
html, body { height: 100% }
body{
  margin: 0;
  color: var(--muted);
  background:
    linear-gradient(180deg, var(--accent) 0%, #f7e4b7 38%, #fff 38%) fixed; /* warm masthead band */
  font-family: "Merriweather", Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

/* Layout */
.container{ width: min(1100px, 92vw); margin: 0 auto; }
.section{ padding: clamp(18px, 3.2vw, 28px) 0; }

/* Top image */
.hero-image{ margin: 0; }
.hero-image img{
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}

/* Headline area */
.masthead{ padding: 28px 0 10px; }
.headline{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.15;
  margin: 0 0 10px;
  text-wrap: balance;
}
.strap{
  margin: 0;
  font-style: italic;
  background: var(--paper);
  border-left: 6px solid var(--accent);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Typography */
.lead{ font-size: clamp(1rem, 1.7vw, 1.125rem); color: var(--muted); background: var(--paper); padding: 16px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Images */
.photo, .photo-wide{
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.photo img, .photo-wide img{ width: 100%; height: 100%; display: block; object-fit: cover; }
.photo figcaption, .photo-wide figcaption{
  padding: 10px 12px;
  font-size: .92rem;
  color: #000;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* Two-up grid */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2.4vw, 20px);
}

/* Points */
.points .subhead{
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 8px;
  color: var(--ink);
}
.points ul{
  margin: 0;
  padding: 14px 18px 14px 28px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.points li{ margin: 6px 0; }

/* Final wide photos keep pleasing ratio */
.photo-wide img{ aspect-ratio: 16/9; }

/* Responsiveness */
@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
  .hero-image img{ aspect-ratio: 3/2; }
}
@media (max-width: 520px){
  body{ line-height: 1.7; }
  .strap{ border-left-width: 4px; }
}

/* Optional: print friendly */
@media print{
  body{ background: #fff; }
  .strap, .lead, .photo, .photo-wide, .points ul{ box-shadow: none; }
}





/* ===== NEXT BUTTON ===== */
/* ===== NEXT BUTTON WRAPPER (Center + Responsive) ===== */
.next-btn-box {
  display: flex;
  justify-content: center; /* Center horizontally */
  width: 100%;
  margin-top: 32px;
  margin-bottom: 60px; /* keep your original spacing */
}

/* 🌟 Premium Glass + Shine Animation for NEXT Button */
.next-btn {
  background: linear-gradient(
    135deg,
    rgba(251, 211, 90, 0.35),
    rgb(255, 179, 39)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.45);

  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  padding: 12px 26px;
  font-size: 1.05rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  text-decoration: none;
  letter-spacing: 0.3px;

  position: relative;
  overflow: hidden;
  transition: .25s ease-in-out;
}

/* Hover lift */
.next-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

/* ✨ Shine effect sweeping animation */
.next-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    75deg,
    transparent 0%,
    rgba(0, 0, 0, 0.306) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite ease-in-out;
}

@keyframes shine {
  0%   { left: -120%; }
  8%   { left: 120%; }
  100% { left: 120%; }
}

/* 📱 Mobile responsive */
@media (max-width: 600px){
  .next-btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 14px 0;
  }
}


/* Extra spacing below the Next button - safe & isolated */
.page {
  padding-bottom: 50px;
}
