/* ==========================================================================
   LANDING PAGE
   Loaded only by /_resources-2025/xsl/landing-page.xsl, after styles.css.
   Everything is prefixed lp- so nothing here affects other page types.
   ========================================================================== */

:root {
  --lp-green: #00703c;
  --lp-green-deep: #004d2c;
  --lp-green-hover: #108a51;
  --lp-green-light: #e8f3ec;
  --lp-yellow: #f7d36b;
  --lp-yellow-hover: #f3c648;
  --lp-grey: #f5f5f5;
  --lp-border: #dcdcdc;
  --lp-text: #2e3233;
  --lp-text-muted: #5a5f61;
  --lp-teal: #00796b;
  --lp-condensed: "Roboto Condensed", sans-serif;
  --lp-content: 1200px; /* matches .fullwidth-edit-section in styles.css */
}

/* --------------------------------
   Header bar (replaces nav.inc)
   .nav-box from styles-nav.css gives fixed position + hide on scroll.
   Height matches body padding-top in styles.css (51px / 76px).
-------------------------------- */
.lp-header-inner {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  height: 51px;
  max-width: var(--lp-content);
  margin: 0 auto;
  padding: 0 15px;
}
.lp-header .logo-box {
  margin-left: 0;
}
.lp-header .cd-logo img {
  width: auto;
  height: 32px;
}
.lp-header-actions {
  display: flex;
  align-items: center;
  gap: 1.5em;
}
.lp-header-note,
a.lp-header-btn {
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.lp-header-note {
  display: none;
  color: var(--lp-green);
}
a.lp-header-btn {
  background: var(--lp-green);
  color: #fff;
  padding: .85em 1.4em;
  border-radius: 50px;
  text-decoration: none;
}
a.lp-header-btn:hover,
a.lp-header-btn:focus {
  background: var(--lp-green-hover);
  color: #fff;
}
@media only screen and (min-width: 768px) {
  .lp-header-note {
    display: inline;
  }
}
@media only screen and (min-width: 1200px) {
  .lp-header-inner {
    height: 76px;
    padding: 0 4em;
  }
  .lp-header .cd-logo img {
    height: 48px;
  }
  .lp-header-note,
  a.lp-header-btn {
    font-size: 1.6rem;
  }
}

/* --------------------------------
   Hero
-------------------------------- */
.lp-hero {
  position: relative;
}
.lp-hero-inner {
  box-sizing: content-box;
  position: relative;
  z-index: 1;
  max-width: var(--lp-content);
  margin: 0 auto;
  padding: 3em 15px;
}
@media only screen and (min-width: 992px) {
  .lp-hero-inner {
    padding: 6em 4em;
  }
  .lp-hero-inner.lp-hero-has-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5em;
    align-items: start;
  }
}

/* Badge + eyebrow above the H1 */
p.lp-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5em 1em;
  margin: 0 0 1.5em;
}
.lp-badge {
  display: inline-block;
  background: var(--lp-yellow);
  color: #282828 !important;
  font-family: var(--lp-condensed);
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  padding: .55em 1.1em;
  border-radius: 50px;
}
.lp-eyebrow {
  font-family: var(--lp-condensed);
  font-size: .75em;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lp-green);
}

/* H1: big, condensed, uppercase. *Asterisk* words in the Page Heading become .lp-highlight */
.lp-hero h1 {
  font-family: var(--lp-condensed);
  font-weight: 800;
  /* 33px on phones (keeps "December 17." on one line at 390px), scaling to 92px at ~1375px */
  font-size: clamp(33px, 8.09px + 6.1vw, 92px);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
/* ccri-script.js wraps the H1's first word in a bare <span> that styles.css colors green.
   Landing pages use *asterisk* highlights instead, so that span just inherits. */
.lp-hero h1 > span:not(.lp-highlight) {
  color: inherit;
}
.lp-highlight {
  color: var(--lp-green);
}

.lp-hero p {
  line-height: 1.5;
}
.lp-hero .lp-lead {
  font-size: 1.3em;
  line-height: 1.5;
  max-width: 28em;
}

/* Stats row */
ul.lp-stats {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 2em 0;
  padding: 0;
  border-top: 1px solid var(--lp-border);
  border-bottom: 1px solid var(--lp-border);
}
.edit-area ul.lp-stats li {
  padding: 1.2em 1.2em 1.2em 1.5em;
  border-left: 1px solid var(--lp-border);
  margin: 0;
}
.edit-area ul.lp-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}
.lp-stat-value {
  display: block;
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 2.6em;
  line-height: 1.1;
  color: var(--lp-green);
}
.lp-stat-label {
  display: block;
  font-size: .85em;
  margin-top: .3em;
}

/* Green hero: gradient + decorative rings (hidden on small screens) */
.lp-hero-green {
  background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-deep) 100%);
  color: #fff;
}
.lp-hero-green::before,
.lp-hero-green::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  display: none;
}
.lp-hero-green::before {
  width: 900px;
  height: 900px;
  top: -380px;
  right: -520px;
  border: 110px solid rgba(0, 0, 0, .12);
}
.lp-hero-green::after {
  width: 600px;
  height: 600px;
  top: -230px;
  right: -370px;
  border: 70px solid rgba(255, 255, 255, .04);
}
@media only screen and (min-width: 1200px) {
  .lp-hero-green::before,
  .lp-hero-green::after {
    display: block;
  }
}
.lp-hero-green h1,
.lp-hero-green .lp-hero-text p {
  color: #fff;
}
.lp-hero-green .lp-highlight,
.lp-hero-green .lp-eyebrow,
.lp-hero-green .lp-stat-value {
  color: var(--lp-yellow);
}
.lp-hero-green .lp-hero-text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.lp-hero-green ul.lp-stats,
.lp-hero-green ul.lp-stats li {
  border-color: rgba(255, 255, 255, .25);
}
.lp-hero-grey {
  background: var(--lp-grey);
}
.lp-hero-white {
  background: #fff;
}

/* Form card */
.lp-form-card {
  background: #fff;
  color: var(--lp-text);
  border-top: 6px solid var(--lp-yellow);
  padding: 2em 1.5em;
  margin-top: 2em;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
@media only screen and (min-width: 992px) {
  .lp-form-card {
    margin-top: 0;
    padding: 2.5em 2.5em;
  }
}
.edit-area .lp-form-card h2 {
  font-family: var(--lp-condensed);
  font-size: 1.8em;
  margin-top: 0;
}
.lp-form-card p {
  color: var(--lp-text);
}
.lp-form-card .lp-small {
  margin-top: 1em;
}
.lp-hero .lp-form-card a {
  color: var(--lp-green);
  font-weight: 700;
  text-decoration: underline;
}

/* --------------------------------
   Turn off the site's default list dots (styles.css .edit-area ul li::before)
   for landing page lists, same as .no-dots.
-------------------------------- */
.edit-area ul.lp-stats li::before,
.edit-area ul.lp-icon-list li::before,
.edit-area ul.lp-course-list li::before {
  display: none;
  content: none;
}

/* --------------------------------
   Utilities
-------------------------------- */
.lp-show-mobile {
    margin-top: 1em;
}


.lp-small {
  font-size: 1em;
}
@media only screen and (max-width: 767.98px) {
  .lp-hide-mobile {
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  .lp-show-mobile {
    display: none !important;
  }
}

/* --------------------------------
   Section colors and widths
   white-background and grey-background come from styles.css.
-------------------------------- */
.lp-light-green-background {
  background: var(--lp-green-light);
}
/* Green sections share the hero treatment: gradient + a decorative ring (bottom left) */
.lp-green-background {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-deep) 100%);
  color: #fff;
}
.lp-green-background::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -300px;
  bottom: -320px;
  border-radius: 50%;
  border: 90px solid rgba(0, 0, 0, .12);
  pointer-events: none;
  display: none;
}
@media only screen and (min-width: 992px) {
  .lp-green-background::before {
    display: block;
  }
}
.lp-green-background > * {
  position: relative;
  z-index: 1;
}
.lp-green-background .lp-highlight {
  color: var(--lp-yellow);
}
.lp-green-background h2,
.lp-green-background h3,
.lp-green-background p {
  color: #fff;
}
.lp-green-background a:not(.lp-btn-yellow) {
  color: #fff;
  text-decoration: underline;
}
.add-edit-section.lp-compact {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

/* --------------------------------
   Yellow button
-------------------------------- */
.edit-area a.lp-btn-yellow {
  display: inline-block;
  background: var(--lp-yellow);
  color: var(--lp-green-deep);
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75em 1.8em;
  border-radius: 50px;
  text-decoration: none;
  line-height: 1.4em;
}
.edit-area a.lp-btn-yellow:hover,
.edit-area a.lp-btn-yellow:focus {
  background: var(--lp-yellow-hover);
  color: var(--lp-green-deep);
}

/* --------------------------------
   Icon list (benefits strip)
-------------------------------- */
ul.lp-icon-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin: 0;
  padding: 0;
}
@media only screen and (min-width: 992px) {
  ul.lp-icon-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.edit-area ul.lp-icon-list li {
  padding: 0;
  display: flex;
  align-items: center;
  gap: .75em;
  margin: 0;
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1.3;
  color: var(--lp-green);
}
.lp-section:has(.lp-icon-list) {
  border-bottom: 1px solid var(--lp-border);
}
ul.lp-icon-list li i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  background: var(--lp-green-light);
  color: var(--lp-green);
  font-size: 1em;
}

/* --------------------------------
   Section headings (all edit sections)
   Same condensed uppercase style as the hero, a step smaller.
-------------------------------- */
.edit-area .lp-section h2 {
  font-family: var(--lp-condensed);
  font-weight: 800;
  font-size: clamp(32px, 2.2vw + 22px, 56px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: .5em;
}
/* Intro paragraph right after a section heading */
.lp-section h2 + p {
  font-size: 1.15em;
  line-height: 1.55;
  max-width: 40em;
  color: var(--lp-text-muted);
}
.lp-green-background h2 + p {
  color: #fff;
}
.lp-cta h2 + p {
  max-width: none;
  font-size: inherit;
}

/* --------------------------------
   Plain cards (no image, no link)
   Numbered 01, 02, 03 automatically. Add lp-no-numbers to hide the numbers.
-------------------------------- */
.lp-cards {
  counter-reset: lp-card;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5em;
  margin-top: 2em;
}
@media only screen and (min-width: 600px) {
  .lp-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (min-width: 1150px) {
  .lp-cards {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3em;
  }
}
.lp-card {
  counter-increment: lp-card;
  border-top: 3px solid var(--lp-green);
  padding-top: 1.5em;
}
.lp-card::before {
  content: counter(lp-card, decimal-leading-zero);
  display: block;
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: .8em;
  letter-spacing: .1em;
  color: var(--lp-teal);
  margin-bottom: .6em;
}
.lp-cards.lp-no-numbers .lp-card::before {
  content: none;
}
.edit-area .lp-card h3 {
  font-family: var(--lp-condensed);
  font-size: 1.5em;
  line-height: 1.15;
  color: var(--lp-green);
  padding-top: 0;
  padding-bottom: 0;
  margin: 0 0 .5em;
}
.lp-card p {
  line-height: 1.6;
  color: var(--lp-text-muted);
  margin-bottom: 0;
}

/* --------------------------------
   Timeline
   Optional caption above: <p class="lp-timeline-caption"><span>Left</span> <span>Right</span></p>
-------------------------------- */
p.lp-timeline-caption {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin: 2.5em 0 .7em;
  font-family: var(--lp-condensed);
  font-size: .8em;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
}
ol.lp-timeline {
  list-style: none;
  display: grid;
  gap: .6em;
  margin: 2em 0 0;
  padding: 0;
}
p.lp-timeline-caption + ol.lp-timeline {
  margin-top: 0;
}
@media only screen and (min-width: 768px) {
  ol.lp-timeline {
    grid-template-columns: minmax(0, 1fr) minmax(7em, auto) minmax(0, 1fr);
  }
}
.edit-area ol.lp-timeline li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2em;
  min-height: 7em;
  margin: 0;
  padding: 1.5em 1.8em;
  position: relative;
}
.lp-timeline-label {
  font-family: var(--lp-condensed);
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lp-timeline-title {
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.15;
}
li.lp-timeline-past {
  background: #e4e4e4;
  color: #4a4a4a;
}
.edit-area li.lp-timeline-break {
  border: 2px dashed #b5b5b5;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 4em;
}
li.lp-timeline-break .lp-timeline-title {
  font-size: .8em;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
}
li.lp-timeline-current {
  background: var(--lp-green-deep);
  color: #fff;
}
li.lp-timeline-current .lp-timeline-label {
  color: #a6dca6;
}
.lp-pill {
  align-self: flex-start;
  background: var(--lp-yellow);
  color: var(--lp-green-deep);
  font-family: var(--lp-condensed);
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  padding: .5em 1em;
  border-radius: 50px;
}
@media only screen and (min-width: 768px) {
  li.lp-timeline-current .lp-pill {
    position: absolute;
    top: 1.3em;
    right: 1.5em;
  }
}

/* --------------------------------
   Course list
-------------------------------- */
ul.lp-course-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75em;
  margin: 1.5em 0;
  padding: 0;
}
@media only screen and (min-width: 600px) {
  ul.lp-course-list {
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }
}
@media only screen and (min-width: 1150px) {
  ul.lp-course-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.edit-area li.lp-course {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4em .75em;
  margin: 0;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-top: 3px solid var(--lp-green);
  padding: 1em 1.2em;
}
.lp-course-code {
  flex-basis: 100%;
  font-family: var(--lp-condensed);
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lp-teal);
}
.lp-course-name {
  flex: 1 1 auto;
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.2;
  color: var(--lp-green);
}
@media only screen and (min-width: 600px) {
  .edit-area li.lp-course {
    flex-direction: column;
    align-items: flex-start;
  }
  .lp-course-code {
    flex-basis: auto;
  }
  .lp-course-name {
    flex: none;
  }
}

/* Wrapper for one or more format tags on a course card */
.lp-course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3em;
}

/* Format tags: Online / Hybrid / In person */
.lp-tag {
  display: inline-block;
  font-size: .7em;
  font-weight: 700;
  line-height: 1;
  padding: .4em .8em;
  border-radius: 50px;
  white-space: nowrap;
  background: var(--lp-grey);
  color: var(--lp-text);
}
.lp-tag-online {
  background: var(--lp-green-light);
  color: #00592f;
}
.lp-tag-hybrid {
  background: #e6eefb;
  color: #1c4591;
}
.lp-tag-in-person {
  background: #fbeed5;
  color: #6b4200;
}

p.lp-see-all a {
  font-weight: 700;
}

/* --------------------------------
   Quote
-------------------------------- */
figure.lp-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.5em;
  margin: 0;
}
figure.lp-quote::before {
  content: "\201C";
  grid-row: span 2;
  font-family: Georgia, serif;
  font-size: 6em;
  line-height: .8;
  color: var(--lp-green);
}
figure.lp-quote blockquote {
  margin: 0;
}
figure.lp-quote blockquote p {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 2.4em;
  line-height: 1.2;
  color: var(--lp-green);
  margin-bottom: .75em;
}
figure.lp-quote figcaption {
  font-size: .85em;
  font-weight: 700;
}

/* --------------------------------
   FAQ accordion (heading + more link left, questions right on desktop)
   Each question is a <details class="lp-faq-item"><summary>Question</summary><p>Answer</p></details>.
   Add the open attribute to show a question expanded by default.
-------------------------------- */
.lp-faq {
  display: grid;
  grid-template-areas: "heading" "list" "more";
  gap: 0 4em;
}
@media only screen and (min-width: 992px) {
  .lp-faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "heading list" "more list";
  }
}
.lp-faq > h2 {
  grid-area: heading;
}
.lp-faq-list {
  grid-area: list;
  border-bottom: 1px solid var(--lp-border);
}
.lp-faq-more {
  grid-area: more;
  margin-top: 1.5em;
  color: var(--lp-text-muted);
}
@media only screen and (min-width: 992px) {
  .lp-faq-more {
    margin-top: 0;
  }
}
.lp-faq-more a {
  font-weight: 700;
}
.lp-faq-item {
  /* flow-root keeps the answer's bottom margin inside the item, so the height
     doesn't jump when the accordion script removes overflow: hidden */
  display: flow-root;
  border-top: 1px solid var(--lp-border);
}
.lp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1.1em 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--lp-condensed);
  font-weight: 700;
  font-size: 1.25em;
  line-height: 1.25;
  color: var(--lp-green);
}
.lp-faq-item summary::-webkit-details-marker {
  display: none;
}
/* +/- button */
.lp-faq-item summary::after {
  content: "+";
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--lp-green-light);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1;
  transition: background .2s ease;
}
.lp-faq-item[open]:not(.lp-closing) summary::after {
  content: "\2212";
}
.lp-faq-item summary:hover::after {
  background: #d3eadb;
}
.lp-faq-item summary:focus-visible {
  outline: 2px solid var(--lp-green);
  outline-offset: 4px;
}
.lp-faq-item p {
  line-height: 1.6;
  color: var(--lp-text-muted);
  margin: 0 0 1.3em;
  padding-right: 3em;
}

/* --------------------------------
   Closing call to action
-------------------------------- */
.lp-cta {
  text-align: center;
}
.edit-area .lp-cta h2 {
  font-family: var(--lp-condensed);
  font-weight: 800;
  font-size: clamp(34px, 2.8vw + 22px, 64px);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: .6em;
}
/* Highlighted words in the CTA heading drop to their own line */
.lp-cta h2 .lp-highlight {
  display: block;
}
.lp-green-background .lp-cta a:not(.lp-btn-yellow) {
  font-weight: 700;
}
