/* ===== Landing layout: /index.php/wiccan-fellowship-new-paltz-ny =====
   Loaded after template.css and seo.css, only on landing pages; every rule is scoped under .lp.
   Colours come from the cec-main template: heading green #81AA4F, link/button green #607C24,
   olive #505e29 / #5a6d2d (menu and module headers), page green #7EA601, menu hover gold #FAB951,
   grey boxes #f3f3f3 / #e7e7e7. Fonts: Arial body, 'Droid Serif' headings, Verdana menu/buttons. */

.lp {
  --lp-green: #81AA4F;
  --lp-leaf: #607C24;
  --lp-olive: #505e29;
  --lp-deep: #3c4a20;
  --lp-gold: #FAB951;
  --lp-text: #666;
  --lp-soft: #f5f7f0;
  --lp-line: #e7e7e7;
  --lp-line-soft: #dfe6cf;
  container-type: inline-size;
  margin: 0 0 10px;
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  color: var(--lp-text);
  font-size: 13px;
  line-height: 1.55;
}

.lp [id] { scroll-margin-top: 16px; }

/* ---------- Shared reset against seo.css article rules ---------- */
.lp .lp-sec ul,
.lp .lp-sec ol,
.lp .lp-hero ul { list-style: none; margin: 0; padding: 0; }
.lp .lp-sec li,
.lp .lp-hero li { margin: 0; line-height: 1.5; }
.lp .lp-sec p { margin: 0 0 10px; }

.lp .lp-sec h2 {
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
  color: var(--lp-green);
  margin: 0 0 8px;
}

.lp .lp-sec h3 {
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--lp-olive);
  margin: 0 0 6px;
}

.lp .lp-sec a { color: var(--lp-leaf); text-decoration: underline; }
.lp .lp-sec a:hover { color: var(--lp-olive); }

/* ---------- Sections ---------- */
.lp-sec {
  padding: 30px 30px 28px;
  background: #fff;
  border-top: 1px solid var(--lp-line);
}
.lp-sec--soft { background: var(--lp-soft); border-top-color: var(--lp-line-soft); }

.lp-kicker {
  margin: 0 0 8px;
  font: bold 10px/1.3 Verdana, Tahoma, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lp-leaf);
}

.lp .lp-sec p.lp-intro { max-width: 600px; margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }

.lp a.lp-btn {
  display: inline-block;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font: bold 12px/1.2 Verdana, Tahoma, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lp a.lp-btn--gold { background: var(--lp-gold); border-color: var(--lp-gold); color: var(--lp-deep); }
.lp a.lp-btn--gold:hover,
.lp a.lp-btn--gold:focus-visible { background: #fff; border-color: #fff; color: var(--lp-deep); }
.lp a.lp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .75); color: #fff; }
.lp a.lp-btn--ghost:hover,
.lp a.lp-btn--ghost:focus-visible { background: #fff; border-color: #fff; color: var(--lp-olive); }
.lp a.lp-btn--green { background: var(--lp-leaf); border-color: var(--lp-leaf); color: #fff; }
.lp a.lp-btn--green:hover,
.lp a.lp-btn--green:focus-visible { background: var(--lp-olive); border-color: var(--lp-olive); color: #fff; }

.lp a:focus-visible,
.lp summary:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 2px; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 34px 30px;
  background: linear-gradient(135deg, var(--lp-deep) 0%, var(--lp-olive) 48%, #5f7d1c 100%);
  color: #e9efdc;
}
/* two rings: a simple CSS take on the "eternal circle" */
.lp-hero::before,
.lp-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.lp-hero::before { top: -90px; right: -90px; width: 300px; height: 300px; border: 2px solid rgba(255, 255, 255, .12); }
.lp-hero::after { top: -40px; right: -40px; width: 200px; height: 200px; border: 2px solid rgba(250, 185, 81, .3); }
.lp-hero > * { position: relative; z-index: 1; }

.lp-hero .lp-kicker { color: var(--lp-gold); }
.cont .lp-hero h1.page-title {
  max-width: 620px;
  margin: 0 0 12px;
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  color: #fff;
}
.lp-lead { max-width: 560px; margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: #e9efdc; }
.lp-hero .lp-actions { margin: 0 0 24px; }

.lp .lp-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  max-width: 580px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.lp .lp-facts li { position: relative; padding: 0 0 0 20px; font-size: 12px; color: #dfe8cc; }
.lp .lp-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--lp-gold);
  border-radius: 50%;
}

/* ---------- Cards ---------- */
.lp-grid { display: grid; gap: 14px; }
.lp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lp-card {
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 5px;
}
.lp-sec--soft .lp-card { border-color: var(--lp-line-soft); }
.lp .lp-sec .lp-card p { margin: 0; font-size: 12.5px; }
.lp .lp-sec .lp-card p + p { margin-top: 8px; }

.lp-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 0 12px;
  border: 2px solid var(--lp-green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #d9e7c4;
  color: var(--lp-leaf);
  font: bold 13px/1 'Droid Serif', Georgia, serif;
}

/* Wiccan Rede quote */
.lp .lp-sec .lp-rede {
  margin: 10px 0 0;
  padding: 8px 0 8px 12px;
  border-left: 3px solid var(--lp-gold);
  font-family: 'Droid Serif', Georgia, serif;
  font-style: italic;
  color: var(--lp-olive);
}

/* Welsh festival names */
.lp .lp-sec h3.lp-subhead { margin: 22px 0 10px; font-size: 14px; color: var(--lp-olive); }
.lp-terms { gap: 10px; }
.lp-term {
  padding: 12px 12px 10px;
  background: #fff;
  border: 1px solid var(--lp-line-soft);
  border-top: 3px solid var(--lp-green);
  border-radius: 4px;
}
.lp-term b { display: block; margin: 0 0 2px; font-family: 'Droid Serif', Georgia, serif; font-size: 14px; color: var(--lp-olive); }
.lp-term span { font-size: 12px; color: #777; }
.lp .lp-sec p.lp-after { margin: 14px 0 0; font-size: 12.5px; }

/* ---------- Circle flow (numbered timeline) + note box ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.lp .lp-sec ol.lp-flow { counter-reset: lp-step; }
.lp .lp-sec .lp-flow li { position: relative; counter-increment: lp-step; padding: 4px 0 16px 46px; }
.lp .lp-sec .lp-flow li:last-child { padding-bottom: 0; }
.lp-flow li::before {
  content: counter(lp-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--lp-green);
  border-radius: 50%;
  background: #fff;
  color: var(--lp-leaf);
  font: bold 13px/28px 'Droid Serif', Georgia, serif;
  text-align: center;
}
.lp-flow li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 2px;
  width: 2px;
  background: var(--lp-line-soft);
}
.lp-flow li:last-child::after { display: none; }
.lp-flow b { display: block; color: var(--lp-olive); font-family: 'Droid Serif', Georgia, serif; font-size: 14px; }
.lp-flow span { font-size: 12.5px; }

.lp-note {
  padding: 18px 18px 16px;
  background: var(--lp-soft);
  border: 1px solid var(--lp-line-soft);
  border-left: 3px solid var(--lp-green);
  border-radius: 5px;
}
.lp .lp-sec .lp-note p { font-size: 12.5px; }
.lp .lp-sec .lp-note p:last-child { margin: 0; }
.lp .lp-sec .lp-note .lp-checks + p { margin-top: 12px; }

/* ---------- Check lists ---------- */
.lp .lp-sec .lp-checks li { position: relative; padding: 0 0 0 24px; }
.lp .lp-sec .lp-checks li + li { margin-top: 8px; }
.lp-checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--lp-leaf);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lp .lp-sec .lp-note .lp-checks li { font-size: 12.5px; }

.lp-welcome { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.lp-welcome .lp-card--list { grid-row: span 2; }
.lp .lp-sec .lp-card--list .lp-checks li { font-size: 13px; }

/* ---------- First steps ---------- */
.lp .lp-sec .lp-quote {
  margin: -4px 0 20px;
  font-family: 'Droid Serif', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: var(--lp-olive);
}
.lp-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; }
.lp-step .lp-num {
  grid-row: span 2;
  font: bold 28px/1 'Droid Serif', Georgia, serif;
  color: var(--lp-green);
}
.lp .lp-sec .lp-step h3 { margin-top: 2px; }

/* ---------- Hudson Valley ---------- */
.lp .lp-sec h2 + .lp-split { margin-top: 14px; }
.lp .lp-sec .lp-seasons li { padding: 9px 0; border-bottom: 1px dashed var(--lp-line-soft); font-size: 12.5px; }
.lp .lp-sec .lp-seasons li:first-child { padding-top: 0; }
.lp .lp-sec .lp-seasons li:last-child { border-bottom: 0; padding-bottom: 0; }
.lp-seasons b { display: block; color: var(--lp-olive); font-family: 'Droid Serif', Georgia, serif; font-size: 14px; }

.lp .lp-sec .lp-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.lp .lp-sec .lp-areas li {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--lp-line-soft);
  border-radius: 999px;
  font: bold 11px/1.3 Verdana, Tahoma, sans-serif;
  color: var(--lp-olive);
}

/* ---------- FAQ accordion ---------- */
.lp-faq { border-top: 1px solid var(--lp-line); }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
  position: relative;
  display: block;
  padding: 14px 40px 14px 2px;
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::marker { content: ""; }
.lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -13px;
  border: 1px solid var(--lp-line-soft);
  border-radius: 50%;
  color: var(--lp-leaf);
  font: bold 16px/22px Verdana, Tahoma, sans-serif;
  text-align: center;
}
.lp-faq details[open] summary::after { content: "\2212"; }
.lp .lp-sec .lp-faq summary h3 { display: inline; margin: 0; font-size: 14px; }
.lp-faq summary:hover h3 { color: var(--lp-leaf); }
.lp-faq__a { padding: 0 40px 14px 2px; }
.lp .lp-sec .lp-faq__a p { margin: 0; font-size: 12.5px; }

/* ---------- Final CTA band ---------- */
.lp-cta {
  padding: 34px 30px;
  background: linear-gradient(135deg, var(--lp-olive) 0%, var(--lp-leaf) 55%, #7EA601 100%);
  border-top: 0;
  text-align: center;
  color: #eef3e2;
}
.lp .lp-cta h2 { color: #fff; font-size: 24px; }
.lp .lp-sec.lp-cta p { max-width: 480px; margin: 0 auto 18px; font-size: 14px; }
.lp-cta .lp-actions { justify-content: center; }

/* ---------- Related links ---------- */
.lp .lp-sec a.lp-rel {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--lp-line-soft);
  border-radius: 5px;
  color: #777;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lp .lp-sec a.lp-rel:hover,
.lp .lp-sec a.lp-rel:focus-visible { border-color: var(--lp-green); box-shadow: 0 2px 6px rgba(80, 94, 41, .12); color: #777; }
.lp-rel small { display: block; margin: 0 0 4px; font: bold 9px/1.3 Verdana, Tahoma, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-green); }
.lp-rel strong { display: block; margin: 0 0 4px; font-family: 'Droid Serif', Georgia, serif; font-size: 13.5px; line-height: 1.3; color: var(--lp-olive); }
.lp-rel strong::after { content: " \203A"; color: var(--lp-green); }
.lp a.lp-rel:hover strong { text-decoration: underline; }
.lp-rel span { display: block; font-size: 12px; line-height: 1.45; }

/* ---------- Narrow containers ----------
   A container query, not a media query: the cec-main template is a fixed 940px layout on every page,
   so phones show the whole page zoomed out and the landing column stays 700px wide. The cards only
   stack when the column itself is narrow. */
@container (max-width: 560px) {
  .lp-sec, .lp-cta { padding: 24px 18px 22px; }
  .lp-hero { padding: 28px 20px 24px; }
  .cont .lp-hero h1.page-title { font-size: 24px; }
  .lp-grid--2, .lp-grid--3, .lp-grid--4,
  .lp-split, .lp-welcome, .lp .lp-facts { grid-template-columns: minmax(0, 1fr); }
  .lp-welcome .lp-card--list { grid-row: auto; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
}
