/*
Theme Name:   Reading Rockets Child
Theme URI:    https://readingrockets.co.uk
Description:  Child theme for Reading Rockets Basketball Club. Includes the Season Tickets page template.
Author:       Reading Rockets Basketball Club
Template:     Divi
Version:      1.0.0
Text Domain:  rockets-child
*/

/* ============================================================
   SEASON TICKETS PAGE — scoped to .rr-st-* classes
   All styles are prefixed to avoid conflicts with the parent
   theme or any other page styles.
   ============================================================ */

/* ── Reset within page scope ── */
.rr-st-wrap *,
.rr-st-wrap *::before,
.rr-st-wrap *::after {
  box-sizing: border-box;
}

/* ── Design tokens ── */
.rr-st-wrap {
  --rr-red:       #E0190F;
  --rr-red-dark:  #A81109;
  --rr-black:     #0D0D0D;
  --rr-off-black: #1A1A1A;
  --rr-grey:      #2B2B2B;
  --rr-mid:       #5A5A5A;
  --rr-white:     #FFFFFF;
  --rr-gold:      #F5C518;

  font-family: 'Barlow', sans-serif;
  background: var(--rr-black);
  color: var(--rr-white);
  line-height: 1.6;
}

/* ── Full-bleed escape: break out of any theme content wrapper ── */
/* Works for most themes that constrain content width via .entry-content or .site-main */
.rr-st-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ── Strip padding/margin the theme adds around page content ── */
.page-template-page-season-tickets .entry-content,
.page-template-page-season-tickets .site-main,
.page-template-page-season-tickets .page-content,
.page-template-page-season-tickets #content,
.page-template-page-season-tickets .wp-block-post-content,
.page-template-page-season-tickets #main-content,
.page-template-page-season-tickets .et_pb_section,
.page-template-page-season-tickets .et-l,
.page-template-page-season-tickets .et_builder_inner_content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* ── JotForm embed ── */
.rr-st-form-wrap {
  background: var(--rr-off-black);
  border: 1px solid #2a2a2a;
  overflow: hidden;
}
.rr-st-form-wrap iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: none;
}

/* ── HERO ── */
.rr-st-hero {
  background: var(--rr-off-black);
  padding: 80px 40px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rr-st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(224,25,15,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.rr-st-hero__eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-red);
  margin: 0 0 16px;
}
.rr-st-hero__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--rr-white);
}
.rr-st-hero__heading em {
  font-style: normal;
  color: var(--rr-red);
  display: block;
}
.rr-st-hero__sub {
  font-size: 1.05rem;
  color: #BABABA;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ── Button ── */
.rr-st-btn {
  display: inline-block;
  background: var(--rr-red);
  color: var(--rr-white) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
}
.rr-st-btn:hover,
.rr-st-btn:focus {
  background: var(--rr-red-dark);
  color: var(--rr-white) !important;
}

/* ── Section shell ── */
.rr-st-section {
  padding: 72px 40px;
}
.rr-st-section--dark  { background: var(--rr-black); }
.rr-st-section--mid   { background: var(--rr-off-black); }
.rr-st-inner {
  max-width: 960px;
  margin: 0 auto;
}
.rr-st-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rr-red);
  margin: 0 0 10px;
}
.rr-st-section__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 32px;
  color: var(--rr-white);
}

/* ── PRICING GRID ── */
.rr-st-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
}
.rr-st-price-card {
  background: var(--rr-grey);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.2s;
}
.rr-st-price-card:hover { background: #333; }
.rr-st-price-card--featured {
  background: var(--rr-red);
}
.rr-st-price-card--featured:hover { background: #c8150d; }
.rr-st-price-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 8px;
}
.rr-st-price-card--featured .rr-st-price-type { color: rgba(255,255,255,0.75); }
.rr-st-price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--rr-white);
  margin: 0;
}
.rr-st-price-amount sup {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 700;
}
.rr-st-price-note {
  font-size: 0.78rem;
  color: #999;
  margin: 6px 0 0;
}
.rr-st-price-card--featured .rr-st-price-note { color: rgba(255,255,255,0.7); }

/* ── ACCESS STRIP ── */
.rr-st-access-strip {
  background: var(--rr-red);
  padding: 36px 40px;
  text-align: center;
}
.rr-st-access-strip p {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rr-white);
  line-height: 1.4;
  margin: 0;
}
.rr-st-access-strip strong { color: var(--rr-gold); }

/* ── BENEFITS GRID ── */
.rr-st-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #222;
  border: 1px solid #222;
}
.rr-st-benefit {
  background: var(--rr-off-black);
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.rr-st-benefit__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--rr-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
}
.rr-st-benefit__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 5px;
  color: var(--rr-white);
}
.rr-st-benefit__text {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.55;
  margin: 0;
}

/* ── CTA SECTION ── */
.rr-st-cta {
  background: var(--rr-off-black);
  padding: 80px 40px;
  text-align: center;
}
.rr-st-cta__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 18px;
  color: var(--rr-white);
}
.rr-st-cta__sub {
  color: #ABABAB;
  font-size: 0.95rem;
  margin: 0 auto 32px;
  max-width: 440px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .rr-st-hero         { padding: 56px 20px 48px; }
  .rr-st-section      { padding: 56px 20px; }
  .rr-st-access-strip { padding: 28px 20px; }
  .rr-st-cta          { padding: 56px 20px; }
}
