/* =========================================================
   Facts Not Fear - Sitefinity page stylesheet (v4)
   ========================================================= */

:root {
  --fnf-teal: #0d9488;
  --fnf-dark-teal: #00424f;
  --fnf-ink: #0f172a;
  --fnf-muted: #64748b;
  --fnf-line: #336973;
  --fnf-soft: #f1f8f7;
  --fnf-card: #ffffff;
  --fnf-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);
  --fnf-radius: 16px;
}


/* =========================================================
   PAGE SHELL
   ========================================================= */

body > .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 56px;
  color: var(--fnf-ink);
  line-height: 1.55;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}


/* =========================================================
   DESKTOP TWO-COLUMN LAYOUT
   ========================================================= */

@media (min-width: 992px) {
  body > .container-fluid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
  }

  /* Header graphic spans both columns */
  body > .container-fluid > div:first-of-type {
    grid-column: 1 / -1;
  }

  /* Navigation stays in the left column */
  body > .container-fluid > .fnf-nav-box {
    grid-column: 1;
  }

  /* Main page content stays in the right column */
  body > .container-fluid > .sf_colsIn.container.content {
    grid-column: 2;
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin-top: -32px;
  }

  /*
    Some migrated pages, including Measles, use Sitefinity's Body
    placeholder without the additional "content" class. Target that
    variation separately and pull it into the same visual position as
    the other Facts Not Fear pages. The negative margin only applies on
    desktop and does not affect the stacked mobile layout.
  */
  body > .container-fluid >
  .sf_colsIn.container[data-placeholder-label="Body"]:not(.content) {
    grid-column: 2;
    width: 100%;
    max-width: none;
    padding: 0 !important;
    margin-top: -60px;
  }

  /*
    Everything after the main content spans both columns:
    Watch This, carousel, modal and footer.
  */
  body > .container-fluid >
  .sf_colsIn.container.content ~ div {
    grid-column: 1 / -1;
  }

  /* Watch This heading and introduction */
  body > .container-fluid >
  .sf_colsIn.container.content + div {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 40px auto 14px;
    padding: 0 50px;
    box-sizing: border-box;
  }

  /* Footer spans both columns */
  body > .container-fluid > .FooterRow {
    grid-column: 1 / -1 !important;
  }
}


/* =========================================================
   HEADER GRAPHIC
   ========================================================= */

body > .container-fluid > div:first-of-type {
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 32px;
}

body > .container-fluid > div:first-of-type img {
  display: block;
  width: 100%;
  max-width: 100% !important;
  height: auto !important;
}


/* =========================================================
   FLOATING LEFT NAVIGATION
   ========================================================= */

.fnf-nav-box {
  position: relative;
  z-index: 20;
  padding: 16px;
  margin-bottom: -60px;
  border: 1px solid var(--fnf-line);
  border-radius: var(--fnf-radius);
  background: var(--fnf-card);
  box-shadow: var(--fnf-shadow);
}

@media (min-width: 992px) {
  .fnf-nav-box {
    position: sticky;
    top: 24px;
  }
}

.fnf-nav-box::before {
  content: "Facts Not Fear";
  display: block;
  margin: 0 0 10px 5px;
  color: #e54040;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}



.fnf-nav-box .nav-link.active {
  background: #94dee0;
 /* color: #ffffff; */
  font-weight: 600;
}


/* Neutralize horizontal Kendo/Sitefinity navigation */

.fnf-nav-box .sfNavList,
.fnf-nav-box .sfNavHorizontalDropDown {
  display: block !important;
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  list-style: none;
}

.fnf-nav-box .sfNavList > li,
.fnf-nav-box .nav-item {
  display: block !important;
  float: none !important;
  margin: 0 0 4px;
  padding: 0;
  border: 0 !important;
  background: none !important;
}

.fnf-nav-box .sfNavList a,
.fnf-nav-box .nav-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 5px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #00424f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.fnf-nav-box .sfNavList a::after,
.fnf-nav-box .nav-link::after {
  content: ">";
  flex: 0 0 auto;
  color: currentColor;
  font-weight: 800;
}

.fnf-nav-box .sfNavList a:hover,
.fnf-nav-box .sfNavList a:focus {
  background: #f1f5f9;
  color: var(--fnf-ink);
  text-decoration: none;
}


/* Current page state */

.fnf-nav-box .sfSel > a,
.fnf-nav-box li.active > a,
.fnf-nav-box .k-state-selected > a,
.fnf-nav-box a[aria-current="page"] {
  background: var(--fnf-teal);
  color: #ffffff;
  font-weight: 600;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.fnf-nav-box .sf-nav-toggle {
  display: none;
}

@media (max-width: 991.98px) {
  .fnf-nav-box::before {
    display: none;
  }

  .fnf-nav-box .sf-nav-toggle {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--fnf-teal);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .fnf-nav-box .sfNavList {
    display: none !important;
    margin-top: 10px;
  }

  .fnf-nav-box .sfNavList.is-open {
    display: block !important;
  }
}


/* =========================================================
   CONTENT COLUMN
   ========================================================= */

body > .container-fluid > .sf_colsIn.container.content {
  width: 100%;
  max-width: none;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body > .container-fluid >
.sf_colsIn.container.content >
.sf_colsIn.box-content {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}


/* =========================================================
   INFORMATION YOU CAN TRUST
   ========================================================= */

.fnf-trust,
.fnf-trust * {
  box-sizing: border-box;
}

.fnf-trust {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  border: 1px solid var(--fnf-line);
  border-radius: var(--fnf-radius);
  background: var(--fnf-card);
  box-shadow: var(--fnf-shadow);
}

.fnf-trust__grid,
.fnf-trust__item,
.fnf-trust__content {
  min-width: 0;
}

.fnf-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fnf-trust__title {
  margin: 0 0 22px;
  color: #063b5c;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.fnf-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 22px;
  border-right: 1px solid #cbdcde;
}

.fnf-trust__item:first-child {
  padding-left: 0;
}

.fnf-trust__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.fnf-trust__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e1f3f5;
  color: #007c8a;
  font-size: 21px;
}

.fnf-trust__heading {
  margin: 1px 0 5px;
  color: #064f5c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.fnf-trust__text {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}


/* Trust panel: tablet */

@media (min-width: 576px) and (max-width: 991.98px) {
  body .fnf-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .fnf-trust__item,
  body .fnf-trust__item:first-child,
  body .fnf-trust__item:last-child {
    padding: 16px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #cbdcde;
  }

  body .fnf-trust__item:nth-child(odd) {
    border-right: 1px solid #cbdcde !important;
  }

  body .fnf-trust__item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}


/* Trust panel: phone */

@media (max-width: 575.98px) {
  body .fnf-trust {
    padding: 18px !important;
  }

  body .fnf-trust__title {
    margin-bottom: 8px !important;
    font-size: 20px !important;
  }

  body .fnf-trust__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0;
  }

  body .fnf-trust__item,
  body .fnf-trust__item:first-child,
  body .fnf-trust__item:last-child {
    width: 100%;
    min-width: 0;
    padding: 14px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #cbdcde;
  }

  body .fnf-trust__item:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0;
  }

  body .fnf-trust__icon {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
  }

  body .fnf-trust__heading,
  body .fnf-trust__text {
    overflow-wrap: anywhere;
  }
}


/* =========================================================
   HEADING AND INTRODUCTION
   ========================================================= */

.fnf-hero {
  margin-top: 40px;
}

.fnf-hero h1 {
  margin: 0;
  color: var(--fnf-ink);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.fnf-hero p {
  max-width: 672px;
  margin-top: 20px;
  color: var(--fnf-muted);
  font-size: 18px;
  line-height: 1.6;
}


/* =========================================================
   QUICK-LINK BUTTONS
   ========================================================= */

.fnf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fnf-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--fnf-teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.fnf-btn:hover {
  opacity: 0.9;
  color: #ffffff;
  text-decoration: none;
}


/* =========================================================
   FAQ
   ========================================================= */

.fnf-faq {
  margin-top: 48px;
}

.fnf-faq h2,
.fnf-videos h2 {
  margin: 0 0 20px;
  color: var(--fnf-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fnf-faq-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--fnf-line);
  border-radius: var(--fnf-radius);
  background: var(--fnf-card);
  box-shadow: var(--fnf-shadow);
  list-style: none;
}

.fnf-faq-item + .fnf-faq-item {
  border-top: 1px solid var(--fnf-line);
}

.fnf-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  color: var(--fnf-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.fnf-faq-q:hover {
  background: #f8fafc;
}

.fnf-faq-icon {
  color: var(--fnf-teal);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.fnf-faq-q[aria-expanded="true"] .fnf-faq-icon {
  transform: rotate(45deg);
}

.fnf-faq-a {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--fnf-muted);
  line-height: 1.6;
}


/* Sitefinity expandable-list correction */

.animated-list li h3 span {
  width: 100% !important;
}


/* =========================================================
   REUSABLE TWO-MINUTE VIDEO STYLES
   ========================================================= */

.fnf-videos {
  margin-top: 56px;
}

.fnf-videos-intro {
  margin: -12px 0 20px;
  color: var(--fnf-muted);
  font-size: 14px;
}

.fnf-videos-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.fnf-video-card {
  flex-shrink: 0;
  width: 280px;
  margin: 0;
  scroll-snap-align: start;
}

.fnf-video-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--fnf-line);
  border-radius: var(--fnf-radius);
  box-shadow: var(--fnf-shadow);
}

.fnf-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fnf-video-caption {
  margin-top: 12px;
  color: var(--fnf-ink);
  font-size: 14px;
  font-weight: 500;
}


/* =========================================================
   FULL-WIDTH SWIPER VIDEO BAND
   ========================================================= */

body > .container-fluid > #carousel {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}


/* =========================================================
   FOOTER
   ========================================================= */

body > .container-fluid > .FooterRow {
  grid-column: 1 / -1 !important;
  width: 100%;
  max-width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 20px;
  border-top: 1px solid #00b5ba;
  box-sizing: border-box;
}


/* Footer: phone and tablet */

@media (max-width: 991.98px) {
  body > .container-fluid > .FooterRow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 24px 0;
    text-align: center;
  }

  body > .container-fluid >
  .FooterRow >
  .sf_colsIn {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  body > .container-fluid .FooterRow p {
    width: 100%;
    margin: 0;
    text-align: center !important;
  }

  body > .container-fluid .FooterRow img {
    display: block;
    margin: 0 auto;
  }

  body > .container-fluid .FooterRow a {
    display: inline-block;
  }
}




/* PAGE FIXES */

html,
body {
  overflow-x: clip;
}





/* =========================================================
   Facts Not Fear - Sources, Resources and Question CTA
   ========================================================= */

    .fnf-support {
        --fnf-teal: #0d9488;
        --fnf-dark-teal: #00424f;
        --fnf-ink: #0f172a;
        --fnf-muted: #64748b;
        --fnf-line: #336973;
        --fnf-soft: #f1f8f7;
        --fnf-card: #ffffff;
        --fnf-radius: 16px;
        --fnf-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12);

        width: 100%;
        margin-top: 40px;
        color: var(--fnf-ink);
        font-family: "Open Sans", Arial, Helvetica, sans-serif;
    }

    /* ---------- Collapsed source lists ---------- */

    .fnf-source-list {
        margin: 0 0 18px;
        border: 1px solid #d8e1e3;
        border-radius: 10px;
        background: #ffffff;
        overflow: hidden;
    }

    .fnf-source-list summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 13px 16px;
        color: var(--fnf-dark-teal);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

    .fnf-source-list summary::-webkit-details-marker {
        display: none;
    }

    .fnf-source-list summary::after {
        content: "+";
        flex: 0 0 auto;
        color: var(--fnf-teal);
        font-size: 22px;
        font-weight: 600;
        line-height: 1;
    }

    .fnf-source-list[open] summary::after {
        content: "-";
    }

    .fnf-source-list summary:hover,
    .fnf-source-list summary:focus {
        background: #f8fafc;
    }

    .fnf-source-list ul {
        margin: 0;
        padding: 0 20px 16px 38px;
    }

    .fnf-source-list li {
        margin: 8px 0;
        color: var(--fnf-muted);
        font-size: 14px;
        line-height: 1.5;
    }

    .fnf-source-list a {
        color: var(--fnf-dark-teal);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .fnf-source-list a:hover,
    .fnf-source-list a:focus {
        color: var(--fnf-teal);
    }

    /* ---------- Helpful resources ---------- */

    .fnf-helpful-resources {
        margin-top: 48px;
    }



    .fnf-resources-intro {
        max-width: 760px;
        margin: 0 0 28px;
        color: var(--fnf-muted);
        font-size: 16px;
        line-height: 1.6;
    }

    .fnf-resource-group+.fnf-resource-group {
        margin-top: 32px;
    }

    .fnf-resource-group h3 {
        margin: 0 0 14px;
        color: var(--fnf-dark-teal);
        font-size: 19px;
        font-weight: 700;
    }

    .fnf-resource-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .fnf-resource-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-width: 0;
        padding: 18px 20px;
        border: 1px solid var(--fnf-line);
        border-radius: 12px;
        background: var(--fnf-card);
        box-shadow: 0 5px 18px -10px rgba(15, 23, 42, 0.2);
        color: var(--fnf-ink);
        text-decoration: none;
        transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            transform 0.15s ease;
    }

    .fnf-resource-card:hover,
    .fnf-resource-card:focus {
        border-color: var(--fnf-teal);
        box-shadow: var(--fnf-shadow);
        color: var(--fnf-ink);
        text-decoration: none;
        transform: translateY(-2px);
    }

    .fnf-resource-copy {
        min-width: 0;
    }

    .fnf-resource-title {
        display: block;
        margin-bottom: 4px;
        color: var(--fnf-dark-teal);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.35;
    }

    .fnf-resource-source {
        display: block;
        color: var(--fnf-muted);
        font-size: 13px;
        line-height: 1.4;
    }

    .fnf-resource-arrow {
        flex: 0 0 auto;
        color: var(--fnf-teal);
        font-size: 23px;
        font-weight: 700;
        line-height: 1;
    }

    /* ---------- Submit a question CTA ---------- */

    .fnf-question-cta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
        margin-top: 48px;
        padding: 28px 30px;
        border: 1px solid var(--fnf-line);
        border-radius: 90px;
        background-color: #94dee0;
    }

    .fnf-question-cta h2 {
        margin: 0 0 8px;
        color: var(--fnf-dark-teal);
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
    }

    .fnf-question-cta p {
        max-width: 700px;
        margin: 0;
        color: var(--fnf-muted);
        font-size: 15px;
        line-height: 1.6;
    }

    .fnf-question-button {
        display: inline-block;
        padding: 12px 22px;
        border: 2px solid var(--fnf-teal);
        border-radius: 999px;
        background: #00424f;
        color: #ffffff;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        transition:
            background 0.15s ease,
            color 0.15s ease;
    }

    .fnf-question-button:hover,
    .fnf-question-button:focus {
        background: #ffffff;
        color: var(--fnf-dark-teal);
        text-decoration: none;
    }

    /* ---------- Mobile ---------- */

    @media (max-width: 767.98px) {
        .fnf-support {
            margin-top: 32px;
        }

        .fnf-resource-grid {
            grid-template-columns: 1fr;
        }

        .fnf-resource-card {
            padding: 16px;
        }

        .fnf-question-cta {
            grid-template-columns: 1fr;
            padding: 22px 20px;

        }

        .fnf-question-button {
            width: 100%;
            white-space: normal;
        }
    }