/* ═══════════════════════════════════════════════════
   calisthenics-landing.css
   Extends base.css – load AFTER base.css.
   Only adds what base.css does not provide.
   Mobile-first: base rules = mobile, min-width queries scale up.
═══════════════════════════════════════════════════ */

/* ── Generic helpers ── */
.cl-head { margin-bottom: 40px; }
.cl-head .section-lead { margin-top: 16px; }
.cl-center { text-align: center; }
.cl-center .section-lead { margin-left: auto; margin-right: auto; }

/* ── Image placeholders (grey box + label) ── */
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; aspect-ratio: 4 / 3; padding: 16px;
  background: #d9d9d6; color: #5b5b57;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--r);
}
.img-placeholder--video { aspect-ratio: 16 / 9; border-radius: 0; }

/* ── Hero ── */
.cl-hero .hero-inner { grid-template-columns: 1fr; }
.cl-hero .hero-content { max-width: 720px; }
.cl-hero h1 { font-size: clamp(44px, 8vw, 84px); }
.cl-hero .hero-lead strong { color: var(--black); font-weight: 700; }
.code-inline {
  display: inline-block; padding: 2px 12px; border-radius: var(--r-sm);
  background: var(--black); color: #fff; font-family: 'Anton', sans-serif;
  letter-spacing: .08em; font-weight: 400;
}
.btn-cta-big { font-size: 17px; padding: 18px 38px; }

/* ── Exercise sections ── */
.exercise { display: grid; gap: 28px; }
.exercise + .exercise { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.exercise-copy p { color: var(--mid); margin-top: 14px; font-size: 16px; line-height: 1.8; }
.exercise-copy .check-list { margin-top: 20px; }
.exercise-copy h3 { font-size: 20px; margin-top: 24px; }

/* Responsive 16:9 iframe wrapper */
.video-responsive {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
  overflow: hidden; border-radius: var(--r-lg); background: #111;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.video-responsive iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
figure.exercise-media figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Equipment "bridge" box */
.gear-bridge {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 20px 22px;
  background: var(--accent-light); border: 1.5px solid rgba(90,178,229,.3);
  border-left: 5px solid var(--accent); border-radius: var(--r);
}
.gear-bridge-icon { font-size: 26px; line-height: 1; }
.gear-bridge h4 { font-size: 15px; margin-bottom: 4px; color: var(--black); }
.gear-bridge p { font-size: 14px; margin: 0 0 8px; color: var(--mid); line-height: 1.65; }
.gear-bridge a { font-size: 14px; font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.gear-bridge a:hover { text-decoration: underline; }

/* ── Video cards ── */
.grid-3 { display: grid; gap: 24px; grid-template-columns: 1fr; }
.video-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.video-card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.video-card-thumb { position: relative; width: 100%;
  aspect-ratio: 16 / 9; 
  overflow: hidden; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.play-btn::after {
  content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-card-body p { font-size: 14px; color: var(--mid); line-height: 1.65; }
.video-card-cta { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent-dark); }

/* ── Deal / voucher ── */
.deal-banner {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  padding: 28px; margin-bottom: 48px; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--black) 0%, #24343f 100%); color: #fff;
  border: 2px dashed var(--accent);
}
.deal-banner h3 { color: #fff; font-family: 'Anton', sans-serif; font-size: 28px; font-weight: 400; letter-spacing: .5px; }
.deal-banner p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 6px; }
.deal-code-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.deal-code {
  font-family: 'Anton', sans-serif; font-size: 30px; letter-spacing: .12em;
  padding: 8px 22px; border-radius: var(--r); background: #fff; color: var(--black);
}
.copy-btn {
  cursor: pointer; border: none; font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 14px 22px; border-radius: 100px; background: var(--accent); color: #fff;
  transition: opacity .2s;
}
.copy-btn:hover { opacity: .85; }
.copy-btn.copied { background: var(--green); }

/* ── Product cards ── */
.product-card { display: flex; flex-direction: column; gap: 16px; }
.product-card .img-placeholder { aspect-ratio: 1 / 1; }
.product-card .tag { align-self: flex-start; }
.product-card h3 { font-size: 19px; }
.product-price { font-family: 'Anton', sans-serif; font-size: 26px; letter-spacing: .5px; }
.product-price small { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--muted); letter-spacing: 0; }
.product-card .btn-accent { justify-content: center; margin-top: auto; }
.affiliate-note { margin-top: 32px; font-size: 12px; color: var(--muted); text-align: center; }

/* ── Scale up (Mobile-first) ── */
@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .deal-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 44px; }
}
@media (min-width: 961px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .exercise { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .exercise--reverse .exercise-media { order: 2; }
}
