/* ==========================================================================
   Bob Collins Golf — Design tokens
   Every value below is pulled directly from the live site's own CSS
   (master_main.css / site_global.css / index.css) rather than approximated:
   header gradient, footer black, gold accents, and the Cambria/Adamina font
   pairing are all the site's real, shipped values.
   ========================================================================== */

:root {
  --header-start: #00351b;   /* header/hero band gradient, top */
  --header-end: #001a0d;     /* header/hero band gradient, bottom */
  --tile-bar: #00351b;       /* flat, same green as header start */
  --footer-black: #000000;   /* footer band — true black, confirmed in CSS */
  --turf-tint: #eef3ea;
  --gold: #f6f1a8;           /* wordmark gold */
  --gold-bright: #fcffb6;    /* tile-bar / active-nav / footer-header gold */
  --gold-deep: #cdbf6a;
  --ink: #0f0e18;            /* real .h1 color */
  --ink-soft: #4b564e;
  --paper: #ffffff;
  --paper-warm: #f4f1e8;
  --line: #dcd6c6;
  --white: #ffffff;

  /* compatibility aliases used by a few older component rules */
  --fairway: var(--header-start);
  --fairway-deep: var(--header-end);
  --sand: var(--gold);
  --sand-deep: var(--gold-deep);
  --sky: #2f6f4e;

  --font-display: "Adamina", Georgia, serif;                         /* wordmark only */
  --font-serif: Cambria, Georgia, "Times New Roman", Times, serif;   /* headings, nav, footer, body — the site's real font */
  --font-body: Cambria, Georgia, "Times New Roman", Times, serif;

  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.6vw + 0.8rem, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-deep);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand-deep);
  display: inline-block;
}

/* -------------------- signature: contour-line divider -------------------- */
.contour-divider {
  width: 100%;
  height: 28px;
  display: block;
}
.contour-divider svg { width: 100%; height: 100%; display: block; }

/* -------------------- Header / Nav -------------------- */
#site-header { position: sticky; top: 0; z-index: 50; }

.brand-band {
  background: linear-gradient(to bottom, var(--header-start) 20%, var(--header-end));
  padding: 20px 24px;
}
.brand-row {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.brand-row a.badge-link { display: flex; }
.pga-badge { width: 92px; height: 92px; object-fit: contain; flex: none; }
.bc-silhouette { width: 128px; height: auto; object-fit: contain; flex: none; }

.wordmark { text-align: center; }
.wordmark a { text-decoration: none; }
.wordmark a:hover { text-decoration: none; }
.wordmark-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 3px 3px 5px rgba(0,0,0,0.5);
  margin: 0;
  line-height: 1.1;
}
.wordmark-tag {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.nav-bar {
  background: var(--header-end);
  color: var(--white);
  border-top: 1px solid rgba(227,214,166,0.18);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  position: relative;
}
.nav-toggle-row {
  display: none;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  display: inline-block;
  padding: 15px 18px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--gold-bright); text-decoration: underline; }
.nav-links a[aria-current="page"] {
  color: var(--gold-bright);
  background: linear-gradient(to bottom, #002814, #2c4e28);
  border-radius: 3px 3px 0 0;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .brand-row { gap: 12px; }
  .pga-badge { width: 58px; height: 58px; }
  .bc-silhouette { width: 74px; }
  .nav-inner { justify-content: space-between; min-height: 50px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--fairway-deep);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    display: none;
    box-shadow: var(--shadow-md);
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; text-align: center; }
}

@media (max-width: 560px) {
  .bc-silhouette { display: none; }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--sand); color: var(--fairway-deep); }
.btn-primary:hover { background: var(--white); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark { border-color: var(--fairway); color: var(--fairway); }
.btn-outline-dark:hover { background: var(--fairway); color: var(--white); }

/* -------------------- Hero image carousel -------------------- */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/6.2;
  min-height: 260px;
  overflow: hidden;
  background: var(--fairway-deep);
}
.hero-carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-carousel .slide.active { opacity: 1; }
.hero-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focal, center 38%);
}
.hero-carousel-controls {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 5;
}
.hero-carousel-controls button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.15);
  padding: 0;
  cursor: pointer;
}
.hero-carousel-controls button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-carousel-arrow:hover { background: rgba(0,0,0,0.55); }
.hero-carousel-arrow.prev { left: 16px; }
.hero-carousel-arrow.next { right: 16px; }
.hero-carousel-arrow svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  /* A less extreme aspect-ratio on mobile means less of the very wide
     source photos gets cropped away horizontally, and the focal point
     below is tuned per-photo so a face isn't the part that gets cut. */
  .hero-carousel { aspect-ratio: 4/3.4; min-height: 320px; }
  .hero-carousel-arrow { width: 34px; height: 34px; }
}

/* -------------------- Page header (interior pages) -------------------- */
.page-header {
  background: var(--fairway);
  color: var(--white);
  padding: 56px 0 64px;
}
.page-header h1 { color: var(--white); margin-bottom: 6px; }
.page-header p { color: rgba(255,255,255,0.82); margin: 0; max-width: 62ch; }

/* -------------------- Sections -------------------- */
section { padding: 64px 0; }
.section-tint { background: var(--turf-tint); }
.section-narrow { max-width: 780px; margin: 0 auto; }

/* -------------------- Feature tiles -------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease;
}
.tile:hover { transform: translateY(-2px); text-decoration: none; }
.tile-bar {
  background: var(--tile-bar);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 12px;
  line-height: 1.3;
  box-shadow: 6px 6px 10px rgba(0,0,0,0.35);
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.tile-body { padding: 16px 4px 0; }
.tile-body p { font-size: 0.92rem; margin-bottom: 0; color: var(--ink); }
.tile-cta { font-size: 0.88rem; font-weight: 700; color: var(--ink); text-decoration: underline; margin-top: 10px; display: inline-block; }
.tile:hover .tile-cta { color: var(--fairway); }

/* -------------------- Cards / testimonials -------------------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .card-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sand-deep);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.5;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* -------------------- Pricing tables -------------------- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.pricing-card h3 { margin-bottom: 18px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.price-row:first-of-type { border-top: none; }
.price-row .label { font-weight: 600; color: var(--ink); }
.price-row .amount { font-family: var(--font-display); font-size: 1.3rem; color: var(--fairway-deep); }
.price-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }

.group-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.group-table th, .group-table td {
  text-align: center;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}
.group-table th {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}
.group-table td { font-family: var(--font-display); font-size: 1.2rem; color: var(--fairway-deep); }

/* -------------------- Method / numbered list (real sequence: See/Feel/Understand) -------------------- */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 8px; }
@media (max-width: 760px) { .method-grid { grid-template-columns: 1fr; } }
.method-step {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.method-step .num {
  font-family: var(--font-display);
  color: var(--sand-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.method-step h3 { margin: 6px 0 8px; }
.method-step p { font-size: 0.92rem; margin: 0; }

/* -------------------- Partners list -------------------- */
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .partner-list { grid-template-columns: 1fr; } }
.partner-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.partner-list .p-name { font-weight: 700; color: var(--fairway-deep); }
.partner-list .p-loc { font-size: 0.85rem; color: var(--ink-soft); }
.partner-list .p-link { font-size: 0.85rem; margin-top: 4px; }

/* -------------------- Video lightbox (PGA award) -------------------- */
.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-md);
}
.video-thumb img { width: 100%; display: block; }
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb .play span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(20,45,32,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.video-thumb:hover .play span { background: var(--fairway-deep); transform: scale(1.06); }
.video-thumb .play svg { width: 24px; height: 24px; margin-left: 3px; }

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,20,17,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-inner { width: 100%; max-width: 860px; aspect-ratio: 16/9; position: relative; }
.video-modal-inner iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------- Link-preview style video card (classic "unfurl" look) -------------------- */
.yt-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.yt-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.78), rgba(0,0,0,0));
}
.yt-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #c4165c;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  text-transform: lowercase;
}
.yt-titleblock { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.yt-title {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yt-channel { color: rgba(255,255,255,0.75); font-size: 0.76rem; }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 46px;
  background: #ff0000;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.yt-play svg { width: 24px; height: 24px; }
.yt-share {
  position: absolute;
  bottom: 14px; left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
}
.yt-share svg { width: 16px; height: 16px; }
.yt-watch-pill {
  position: absolute;
  bottom: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,0.78);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
}
@media (max-width: 480px) {
  .yt-title { font-size: 0.8rem; }
  .yt-play { width: 54px; height: 38px; }
  .yt-watch-pill { font-size: 0.72rem; padding: 5px 9px; }
}

/* -------------------- Contact -------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sand-deep); font-weight: 700; margin-top: 20px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 4px 0 0; font-size: 1.02rem; color: var(--ink); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus {
  outline: 3px solid var(--sky);
  outline-offset: 1px;
  border-color: var(--sky);
}
.form-status { margin-top: 14px; font-size: 0.9rem; }
.form-status[data-state="ok"] { color: var(--fairway); }
.form-status[data-state="error"] { color: #a3402c; }

/* -------------------- Footer (true black band, matches brand) -------------------- */
#site-footer { background: var(--footer-black); color: rgba(255,255,255,0.85); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }

.footer-identity { display: flex; flex-direction: column; gap: 10px; }
.footer-identity-top { display: flex; align-items: center; gap: 12px; }
.footer-identity .pga-badge { width: 66px; height: 66px; flex: none; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}
.footer-address { margin-top: 4px; margin-left: 78px; }
.footer-address p { margin: 0 0 3px; color: rgba(255,255,255,0.82); font-size: 0.92rem; }
.footer-address a { color: rgba(255,255,255,0.92); }
.footer-address .footer-email a { color: #e2b87a; }

.footer-silhouette { width: 62px; height: auto; flex: none; opacity: 0.92; }

.footer-inner h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; break-inside: avoid; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-bright); }
@media (min-width: 821px) {
  .footer-links { column-count: 2; column-gap: 22px; }
}

.footer-social { display: flex; gap: 8px; margin: 14px 0 0 78px; flex-wrap: wrap; align-items: center; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { opacity: 0.82; text-decoration: none; }
.footer-social img { width: 36px; height: 36px; object-fit: contain; }

.footer-partners { display: flex; flex-direction: column; gap: 16px; }
.footer-partners .partner-item { display: flex; flex-direction: column; gap: 4px; }
.footer-partners .partner-item img {
  background: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  max-width: 150px;
  max-height: 46px;
  object-fit: contain;
}
.footer-partners .partner-item .code { font-size: 0.78rem; color: rgba(255,255,255,0.68); }
.footer-partners .partner-item a.trackman-link img {
  max-width: 150px;
  max-height: 60px;
  padding: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 24px 22px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }

/* -------------------- Misc -------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sand);
  color: var(--fairway-deep);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.lead-text { font-size: 1.08rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

/* -------------------- Supplementary lesson photos (private/group pages) -------------------- */
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
}
.photo-duo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.photo-solo {
  max-width: 420px;
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 480px) {
  .photo-duo { max-width: 340px; gap: 12px; }
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* -------------------- Private Lessons page: reordered layout -------------------- */
.pl-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "heroimg"
    "approach"
    "smallimages"
    "pricing";
  gap: 32px;
}
.pl-heroimg { grid-area: heroimg; }
.pl-heroimg img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-md); display: block; }
.pl-approach { grid-area: approach; }
.pl-smallimages { grid-area: smallimages; max-width: none; }
.pl-pricing { grid-area: pricing; }

@media (min-width: 801px) {
  .pl-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "approach heroimg"
      "approach smallimages"
      "approach pricing";
    align-items: start;
    gap: 40px;
  }
}

/* -------------------- Group Lessons page: two independent layouts --------------------
   A shared-grid-area approach coupled the right column's photo position to the left
   column's row heights (heroimg + pricing), leaving a large gap under the shorter
   copy text. Two independent, breakpoint-toggled layouts avoid that entirely — each
   column's height is genuinely its own, not tied to the other side. */
.gl-mobile-layout { display: block; }
.gl-desktop-layout { display: none; }

@media (min-width: 801px) {
  .gl-mobile-layout { display: none; }
  .gl-desktop-layout { display: block; }
}
