/* =========================================================
   Blue Mountain Pilates – Shared Stylesheet (complete)
   Supports:
   - Umbrella company page (future)
   - Schedule page
   - Weekly communication pages (keep simple)
   ========================================================= */

/* ---------- Base reset ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

:root {
  /* TEN-inspired calm neutrals */
  --bg: #f6f2ed;        /* warm ivory canvas */
  --surface: #ffffff;   /* cards/surfaces */
  --text: #111111;      /* near-black */
  --muted: #5f6368;     /* secondary text */
  --line: #e7e2db;      /* soft divider */
  --accent: #c8a96a;    /* muted gold accent */
}

body {
  margin: 0;
  font-family: sans-serif; /* match your original schedule page feel */
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}

/* Shared layout wrapper */
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

/* Typography (keep modest — don’t surprise you) */
h1 {
  margin: 0 0 18px 0;
  font-size: 1.6rem;
  font-weight: 700;
}

h2 {
  margin: 28px 0 12px 0;
  font-size: 1.25rem;
  font-weight: 700;
}

p { margin: 14px 0; }
ol { padding-left: 1.25rem; }
li { margin: 14px 0; }

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* Links */
a {
  color: inherit;
  text-decoration: underline;
}
a:hover { opacity: 0.75; }

/* ---------- Shared components ---------- */

/* Simple, calm banner (used on schedule page now; reusable later) */
.banner {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.banner__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 18px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.banner__link {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.banner__link:hover {
  opacity: 1;
  border-bottom-color: var(--accent);
}

/* Card surface (light zhush without “big redesign”) */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

/* ---------- Page variants ---------- */

/* Schedule page: calm background + keep your original heading sizing */
body.schedule-page {
  background: var(--bg);
}

/* IMPORTANT:
   Your original page relied on browser default heading sizes.
   So for the schedule page we revert heading sizes/weights to defaults,
   then only apply the ONE spacing rule you had (h2 margin-top: 40px). */
body.schedule-page h1,
body.schedule-page h2 {
  font-size: revert;
  font-weight: revert;
  margin: revert;
}

body.schedule-page h2 {
  margin-top: 40px; /* from your original */
}

/* Schedule iframe zhush (subtle, not fancy) */
body.schedule-page iframe.schedule {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Weekly pages: keep as-is (white background, simple) */
body.weekly-page {
  background: var(--surface);
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 640px) {
  .wrap {
    padding: 22px 14px 40px;
  }

  .banner__inner {
    padding: 16px 14px 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  body.schedule-page iframe.schedule {
    height: 860px; /* more vertical space helps on phones */
  }
}
/* Weekly archive list helper */
.plain-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.plain-list__item {
  margin-bottom: 16px;
}