/* ═══════════════════════════════════════════════════════════════
   EOHSJ North Central Lieutenancy — Shared Components
   Nav · Footer · Buttons · Cards · Forms · CTA · Sections
   Requires: variables.css, base.css
   ═══════════════════════════════════════════════════════════════ */


/* ═══ NAVIGATION ════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border-lt);
  z-index: var(--z-sticky);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 1.3125rem;  /* 21px */
  font-weight: var(--w-semibold);
  color: var(--c-charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--c-charcoal); }

.nav-cross {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--c-text2);
  font-size: 0.9375rem;  /* 15px — v2 */
  font-weight: var(--w-medium);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--tr-f), border-color var(--tr-f);
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-member {
  font-size: 0.8125rem;  /* 13px — v2 */
  color: var(--c-muted);
  text-decoration: none;
  font-weight: var(--w-medium);
}
.nav-member:hover { color: var(--c-primary); }

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-charcoal);
  border-radius: 1px;
  transition: transform var(--tr-f), opacity var(--tr-f);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--c-white);
  padding: 1.5rem;
  overflow-y: auto;
}
.nav-mobile.is-open { display: block; }

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--c-border-lt);
}

.nav-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--c-text);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: var(--r-sm);
}
.nav-mobile-close:hover { color: var(--c-primary); }

.nav-mobile-links {
  list-style: none;
  margin-bottom: var(--space-8);
}
.nav-mobile-links li {
  border-bottom: 1px solid var(--c-border-lt);
}
.nav-mobile-links a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-lg);
  font-weight: var(--w-medium);
  color: var(--c-text);
  text-decoration: none;
}
.nav-mobile-links a:hover { color: var(--c-primary); }

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}


/* ═══ BUTTONS ════════════════════════════════════════════════════ */

/* Primary — Jerusalem Red */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--c-primary);
  color: var(--c-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  font-family: var(--font-b);
  text-decoration: none;
  border: 2px solid var(--c-primary);
  cursor: pointer;
  transition: all var(--tr);
  line-height: 1;
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: var(--c-white);
}

/* Donate — Sanctum Gold */
.btn-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--c-secondary);
  color: var(--c-white);
  padding: 0.5625rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  font-family: var(--font-b);
  text-decoration: none;
  border: 2px solid var(--c-secondary);
  cursor: pointer;
  transition: all var(--tr);
  line-height: 1;
}
.btn-donate:hover {
  background: var(--c-secondary-dark);
  border-color: var(--c-secondary-dark);
  color: var(--c-white);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* Hero-size donate button */
.btn-donate--lg {
  font-size: 1.0625rem;
  padding: 0.875rem 2rem;
}

/* Outline — for dark backgrounds */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: 2px solid rgba(255, 255, 240, 0.35);
  color: var(--c-ivory);
  border-radius: var(--r-full);
  font-size: 0.9375rem;
  font-weight: var(--w-medium);
  font-family: var(--font-b);
  text-decoration: none;
  transition: all var(--tr);
  cursor: pointer;
  background: transparent;
  line-height: 1;
}
.btn-outline:hover {
  border-color: var(--c-ivory);
  color: var(--c-ivory);
  background: rgba(255, 255, 240, 0.08);
}

/* Secondary — outlined red */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--c-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  font-family: var(--font-b);
  text-decoration: none;
  border: 2px solid var(--c-primary);
  cursor: pointer;
  transition: all var(--tr);
  line-height: 1;
}
.btn-secondary:hover {
  background: var(--c-primary);
  color: var(--c-white);
}

/* Text link button */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--c-primary);
  font-weight: var(--w-semibold);
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--tr-f);
}
.btn-text:hover { color: var(--c-primary-dark); text-decoration: underline; }


/* ═══ HERO ════════════════════════════════════════════════════════ */

.hero {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  padding: 5.5rem var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0.085;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 600px 600px;
  background-image: var(--cross-tile-ivory);
}

/* Parallax on desktop */
@supports (background-attachment: fixed) {
  .hero-texture,
  .event-texture,
  .cta-texture,
  .footer-texture { background-attachment: fixed; }
}

.hero-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 240, 0.3);
  background: linear-gradient(145deg, #2a2520, #1a1815, #2d2822);
  z-index: 0;
}
.hero-img span {
  max-width: 300px;
  text-align: center;
  line-height: 1.4;
  border: 1px dashed rgba(255, 255, 240, 0.15);
  padding: 1rem;
  border-radius: var(--r-md);
}

/* Real photo version (used when photos are available) */
.hero-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Dark scrim for text legibility on top of the photo (IMG-011) */
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;  /* 56px — v2 */
  font-weight: var(--w-semibold);
  color: var(--c-ivory);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .sub {
  font-size: 1.3125rem;  /* 21px — v2 */
  color: rgba(255, 255, 240, 0.92);
  max-width: 620px;
  margin: 0 auto 2.25rem;
  font-weight: var(--w-light);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ═══ STATS BAR ══════════════════════════════════════════════════ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--c-border-lt);
}

.stat {
  text-align: center;
  padding: 2.25rem 1rem;
  border-right: 1px solid var(--c-border-lt);
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-h);
  font-size: 2.25rem;   /* 36px — v2 */
  font-weight: var(--w-bold);
  color: var(--c-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;   /* 12px — v2 */
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.375rem;
  font-weight: var(--w-medium);
}


/* ═══ SECTION ════════════════════════════════════════════════════ */

.section {
  padding: 3.5rem var(--gutter);
  max-width: var(--max-width-section);
  margin: 0 auto;
}.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  font-size: 2.25rem;  /* 36px — v2 */
  font-weight: var(--w-semibold);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.0625rem;  /* 17px — v2 */
  color: var(--c-text2);
  max-width: 540px;
  margin: 0 auto;
}


/* ═══ CARD GRID ══════════════════════════════════════════════════ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--tr);
}
.card:hover { box-shadow: var(--sh-md); }

.card-img {
  aspect-ratio: 400 / 260;     /* desktop spec aspect (matches IMG_INVENTORY) */
  overflow: hidden;
}
/* Placeholder styling — only applies until a real image is wired in.
   Removing the .img-placeholder class is how we flip a card into image mode. */
.card-img.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--c-muted);
  text-align: center;
  padding: 1rem;
  line-height: 1.4;
  background: var(--c-bg3);
}
/* Image fills the wrapper, cover-crops to match aspect-ratio */
.card-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }

.card-body h3 {
  font-size: 1.375rem;  /* 22px — v2 */
  font-weight: var(--w-medium);
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.9375rem;  /* 15px — v2 */
  color: var(--c-text2);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--tr-f);
}
.card-link:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.view-all {
  text-align: center;
  margin-top: 1.5rem;
}
.view-all a {
  font-size: 1rem;
  font-weight: var(--w-semibold);
  color: var(--c-primary);
}


/* ═══ EVENT CALLOUT ══════════════════════════════════════════════ */

.event {
  background: var(--c-bg2);
  padding: 3.5rem var(--gutter);
  position: relative;
  overflow: hidden;
}

.event-texture {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 600px 600px;
  background-image: var(--cross-tile-red);
}

.event-inner {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.event-img {
  flex: 0 0 280px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* Placeholder styling — only applies until a real image is wired in. */
.event-img.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--c-muted);
  text-align: center;
  padding: 1rem;
  background: var(--c-bg3);
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-body .meta {
  font-size: 0.8125rem;  /* 13px — v2 */
  font-weight: var(--w-semibold);
  color: var(--c-secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.event-body h3 {
  font-family: var(--font-h);
  font-size: 1.875rem;  /* 30px — v2 */
  font-weight: var(--w-medium);
  margin-bottom: 0.5rem;
}

.event-body p {
  font-size: 1rem;  /* 16px — v2 */
  color: var(--c-text2);
  line-height: 1.65;
  margin-bottom: 1rem;
}


/* ═══ CTA BAND ════════════════════════════════════════════════════ */

.cta-band {
  background: var(--c-charcoal);
  padding: 4rem var(--gutter);
  text-align: center;
  color: var(--c-ivory);
  position: relative;
  overflow: hidden;
}

.cta-texture {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 600px 600px;
  background-image: var(--cross-tile-ivory);
}

.cta-band h2 {
  font-family: var(--font-h);
  font-size: 2.125rem;  /* 34px — v2 */
  font-weight: var(--w-medium);
  color: var(--c-ivory);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.cta-band p {
  font-size: 1.0625rem;
  color: var(--c-hint);
  max-width: 540px;
  margin: 0 auto 1.75rem;
  position: relative;
  z-index: 1;
}

.cta-band .btn-donate {
  font-size: 1.0625rem;
  padding: 0.875rem 2.5rem;
  position: relative;
  z-index: 1;
}


/* ═══ EMAIL SIGNUP ════════════════════════════════════════════════ */

.email-section {
  padding: 2.75rem var(--gutter);
  border-top: 1px solid var(--c-border-lt);
  border-bottom: 1px solid var(--c-border-lt);
}

.email-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

.email-inner h3 {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: var(--w-medium);
  margin-bottom: 0.375rem;
}

.email-inner p {
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-bottom: 1rem;
}

.email-form {
  display: flex;
  gap: 0.5rem;
}

.email-input {
  flex: 1;
  height: 48px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0 1rem;
  font-size: 1rem;
  font-family: var(--font-b);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--tr-f), box-shadow var(--tr-f);
  outline: none;
}
.email-input::placeholder { color: var(--c-hint); }
.email-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.email-submit {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 0 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: var(--w-semibold);
  border: none;
  height: 48px;
  cursor: pointer;
  transition: background var(--tr-f);
  font-family: var(--font-b);
  white-space: nowrap;
}
.email-submit:hover { background: var(--c-primary-dark); }/* ═══ FORMS ══════════════════════════════════════════════════════ */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--w-semibold);
  color: var(--c-text);
  margin-bottom: var(--space-2);
}
.form-label .required {
  color: var(--c-error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--font-b);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--tr-f), box-shadow var(--tr-f);
  outline: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-hint);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: var(--c-error);
}

.form-textarea {
  height: auto;
  min-height: 120px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}.form-hint {
  font-size: var(--text-sm);
  color: var(--c-muted);
  margin-top: var(--space-1);
}.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}/* ═══ FOOTER ═════════════════════════════════════════════════════ */

.footer {
  background: var(--c-charcoal);
  color: var(--c-ivory);
  padding: 3rem var(--gutter) 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer-texture {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 600px 600px;
  background-image: var(--cross-tile-ivory);
}

.footer-content { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width-section);
  margin: 0 auto 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-secondary-light);
  margin-bottom: 0.75rem;
}

.footer p,
.footer a {
  font-size: 0.875rem;
  color: rgba(255, 255, 240, 0.5);
  line-height: 1.7;
}
.footer a {
  text-decoration: none;
  display: block;
}
.footer a:hover { color: var(--c-ivory); }

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.375rem; }

.footer-logo {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: var(--w-semibold);
  color: var(--c-ivory);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.footer-cross {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: var(--max-width-section);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  color: rgba(255, 255, 240, 0.25);
}
.footer-bottom a {
  font-size: 0.6875rem;
  display: inline;
  color: rgba(255, 255, 240, 0.25);
}
.footer-bottom a:hover { color: rgba(255, 255, 240, 0.6); }


/* ═══ RELATED LINKS ══════════════════════════════════════════════ */

.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--c-border-lt);
}

.related-card {
  padding: var(--space-5);
  border: 1px solid var(--c-border-lt);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--c-text);
  transition: box-shadow var(--tr), border-color var(--tr);
  display: block;
}
.related-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--c-border);
  color: var(--c-text);
}
.related-card h4 {
  font-size: var(--text-lg);
  font-weight: var(--w-medium);
  margin-bottom: var(--space-2);
  color: var(--c-primary);
}
.related-card p {
  font-size: var(--text-sm);
  color: var(--c-text2);
  line-height: 1.5;
  margin: 0;
}/* ═══ PHOTO GRID ═════════════════════════════════════════════════ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.photo-thumb {
  aspect-ratio: 1.5;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: opacity var(--tr-f);
}
.photo-thumb:hover { opacity: 0.85; }
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder styling — only applies until a real image is wired in. */
.photo-thumb.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--c-muted);
  text-align: center;
  padding: 0.5rem;
  background: var(--c-bg3);
}


/* ═══ IMAGE PLACEHOLDER ══════════════════════════════════════════ */

.img-placeholder {
  background: var(--c-bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
  border-radius: var(--r-lg);
}


/* ═══ PRIVACY POLICY (and similar text-heavy long-form pages) ═══════
   Container .policy with a top intro, a sticky-ish TOC card, then
   numbered h2 sections. Used on /privacy. */

.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}
.policy .intro {
  font-size: 1.1875rem;
  color: var(--c-text2);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border-lt);
  margin-bottom: 1.5rem;
}
.policy h2 {
  font-size: 1.625rem;
  font-weight: var(--w-semibold);
  margin: 2rem 0 0.625rem;
  color: var(--c-charcoal);
}
.policy h2:first-of-type { margin-top: 0; }
.policy h3 {
  font-size: 1.1875rem;
  font-weight: var(--w-medium);
  margin: 1.25rem 0 0.375rem;
  color: var(--c-charcoal);
  font-style: italic;
}
.policy p {
  margin-bottom: 1rem;
  color: var(--c-text);
}
.policy ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding-left: 0.5rem;
}
.policy li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy .toc {
  background: var(--c-bg2);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.policy .toc-label {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  margin-bottom: 0.5rem;
}
.policy .toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.85;
}
.policy .toc a {
  color: var(--c-text);
  text-decoration: none;
  font-weight: var(--w-medium);
}
.policy .toc a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.policy .contact-box {
  background: var(--c-bg2);
  border-left: 3px solid var(--c-secondary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.5rem 0;
}
.policy .contact-box p:last-child { margin-bottom: 0; }
.policy .contact-box strong {
  display: block;
  font-weight: var(--w-semibold);
  color: var(--c-charcoal);
  margin-bottom: 0.25rem;
}

/* "Last updated" line under the page H1 — also used on legal pages */
.page-header .updated {
  font-size: 0.875rem;
  color: var(--c-muted);
  font-style: italic;
}

@media (max-width: 767px) {
  .policy { padding: 0.5rem 1.25rem 2rem; }
  .policy h2 { font-size: 1.375rem; margin-top: 1.75rem; }
}
