/* ============================================================
   EdbMails NSF Viewer page — complete design.
   Scoped to .main-nsf-viewer. Reuses the site theme variables
   and leaves global pieces (content-wrapper, one_half base,
   .button-new, .h3-title-heading, .download-link, .blue-font,
   FAQ accordion :after icon) untouched. No restyle of those.
   ============================================================ */

:root {
  --themeColorGrad: #ece0fe;
  --themeColorDark: #705795;
  --themeButtonHover: #5a437e;
  --themeColorBC: #eee3fe;
  --themeColorBC_B: #d4cae3;
  --themePriceColor: #fe4b6d;
}

/* tinted alternating sections */
.main-nsf-viewer section.common_bg { background: #f6f1fc; }

/* ============================================================
   HERO  (.nsf-viewer-intro) — tabs + slides
   ============================================================ */
.main-nsf-viewer .pst-recovery-intro-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}
.main-nsf-viewer .pst-recovery-intro-flex .one_half {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
}

.main-nsf-viewer .ost-slide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  border-bottom: 1px solid #ddd;
}
.main-nsf-viewer .ost-slide-list li {
  position: relative;
  padding: 0 2px 18px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .4px;
  color: #7e899b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.main-nsf-viewer .ost-slide-list li:hover { color: var(--themeColorDark); }
.main-nsf-viewer .ost-slide-list li.active {
  color: var(--themeColorDark);
  font-weight: 600;
  border-bottom-color: var(--themeColorDark);
}
.main-nsf-viewer .ost-slide-list li.active::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid var(--themeColorDark);
}

.main-nsf-viewer .slide-image-block { display: none; }
.main-nsf-viewer .slide-image-block.active { display: block; }
.main-nsf-viewer .text-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}
.main-nsf-viewer .text-section .sub-para {
  color: #5c5668;
  line-height: 1.65;
  margin: 0 0 20px;
}
.main-nsf-viewer .o365-migrations img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
  /* box-shadow: 0 10px 30px rgba(112, 87, 149, .14); */
}

/* ============================================================
   THREE-COLUMN TEXT BLOCKS  (.edb-holder .one-third-block)
   Used by the "Why use", "Without Lotus Notes" and
   "Inspection checklist" sections.
   ============================================================ */
.main-nsf-viewer .edb-holder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
  align-items: stretch;
}
.main-nsf-viewer .edb-holder .one-third-block {
  box-sizing: border-box;
  float: none;
  width: auto;
  margin: 0;
  background: #fff;
  border: 1px solid var(--themeColorBC);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.main-nsf-viewer .edb-holder .one-third-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(112, 87, 149, .14);
  border-color: var(--themeColorBC_B);
}
.main-nsf-viewer .edb-holder .one-third-block h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.main-nsf-viewer .edb-holder .one-third-block p {
  margin: 0;
  color: #5c5668;
  line-height: 1.65;
}
.main-nsf-viewer .edb-holder .one-third-block a {
  color: var(--themeColorDark);
  font-weight: 600;
  text-decoration: none;
}
.main-nsf-viewer .edb-holder .one-third-block a:hover { text-decoration: underline; }

/* ============================================================
   CARD GRIDS  (.benefits-pst-repair .reason-holder .first-block)
   ============================================================ */
.main-nsf-viewer .reason-holder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
  align-items: stretch;
}
.main-nsf-viewer .reason-holder .first-block {
  box-sizing: border-box;
  float: none;
  width: auto;
  margin: 0;
  background: #fff;
  border: 1px solid var(--themeColorBC);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.main-nsf-viewer .reason-holder .first-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(112, 87, 149, .14);
  border-color: var(--themeColorBC_B);
}
.main-nsf-viewer .reason-holder .first-block h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.main-nsf-viewer .reason-holder .first-block p {
  margin: 0 0 12px;
  color: #5c5668;
  line-height: 1.65;
}
.main-nsf-viewer .reason-holder .first-block p:last-child { margin-bottom: 0; }
.main-nsf-viewer .reason-holder .first-block a {
  color: var(--themeColorDark);
  font-weight: 600;
  text-decoration: none;
}
.main-nsf-viewer .reason-holder .first-block a:hover { text-decoration: underline; }

/* ============================================================
   QUICK STEPS  (.pst-quick-steps) — no sprite icons on this page
   ============================================================ */
.main-nsf-viewer .pst-steps-holder {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 36px;
}
.main-nsf-viewer .pst-steps-holder .pst-half-block {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
}
.main-nsf-viewer .pst-steps-holder img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
}
.main-nsf-viewer .three-steps-block {
  box-sizing: border-box;
  list-style: none;
  padding: 32px 36px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--themeColorBC);
  border-radius: 25px;
  box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.08);
  counter-reset: nsf-step;
}
.main-nsf-viewer .three-steps-block .pst-steps-block {
  position: relative;
  padding: 14px 0 14px 60px;
  min-height: 48px;
  margin: 0;
  line-height: 1.6;
  color: #5c5668;
  border: none;
  box-shadow: none;
}
.main-nsf-viewer .three-steps-block .pst-steps-block + .pst-steps-block {
  border-top: 1px solid #efe9f7;
}
.main-nsf-viewer .three-steps-block .pst-steps-block b { color: var(--themeColorDark); margin-right: 4px; }
/* numbered circle generated from a counter (steps have no sprite) */
.main-nsf-viewer .three-steps-block .pst-steps-block::before {
  counter-increment: nsf-step;
  content: counter(nsf-step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--themeColorBC);
  color: var(--themeColorDark);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nsf-viewer .pst-quick-steps .last-link { margin-top: 22px; }

/* ============================================================
   KEY FEATURES  (.key-features-pst)
   ============================================================ */
.main-nsf-viewer .key-features-pst .ost-convert-reasons {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-top: 34px;
}
.main-nsf-viewer .key-features-pst .ost-convert-reasons .one_half {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
}
.main-nsf-viewer .key-features-pst .ost-convert-reasons img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(112, 87, 149, .10);
}
.main-nsf-viewer .key-features-pst .title-heading {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
  padding-left: 16px;
}
.main-nsf-viewer .key-features-pst .title-heading::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 4px; height: calc(100% - 6px);
  border-radius: 2px;
  background: var(--themeColorDark);
}
.main-nsf-viewer .key-features-pst .one_half p { margin: 0 0 24px; padding-left: 16px; color: #5c5668; line-height: 1.65; }
.main-nsf-viewer .key-features-pst .one_half p:last-child { margin-bottom: 0; }

/* ============================================================
   LICENSE / SUPPORT STRIP  (.license-customer-support)
   No sprite icons on this page — centered links only.
   ============================================================ */
.main-nsf-viewer .license-customer-support { background: var(--themeColorDark); padding: 26px 0; }
.main-nsf-viewer .license-customer-support .main-holder {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.main-nsf-viewer .license-customer-support .three-section {
  float: none;
  width: auto;
  margin: 0;
}
.main-nsf-viewer .license-customer-support .txt-section { margin: 0; }
.main-nsf-viewer .license-customer-support .txt-section a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.main-nsf-viewer .license-customer-support .txt-section a:hover { text-decoration: underline; }

/* ============================================================
   CENTERED CTA under card/edb sections
   ============================================================ */
.main-nsf-viewer section .content-wrapper > p.txt-center { margin-top: 36px; margin-bottom: 0; }

/* ============================================================
   FAQ layout only  (.prod-migration-box#faq)
   Accordion :after icon + .open state stay in the theme CSS.
   ============================================================ */
.main-nsf-viewer .faq-question-holder {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  align-items: flex-start;
}
.main-nsf-viewer .faq-question-holder .one_half {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  float: none;
  margin: 0;
}
.main-nsf-viewer .faq-question-holder .accordion-item {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--themeColorBC);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.main-nsf-viewer .faq-question-holder .accordion-item:hover {
  border-color: var(--themeColorBC_B);
  box-shadow: 0 4px 14px rgba(112, 87, 149, .08);
}
.main-nsf-viewer .faq-question-holder .accordion-content p { color: #5c5668; line-height: 1.65; }
.faq-question-holder .accordion-item .accordion-title:after {
    line-height: 20px;
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
    content: "";
    text-align: center;
    font-size: 13px;
    height: 19px;
    width: 18px;
    display: inline-block;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 991px) {
  .main-nsf-viewer .edb-holder,
  .main-nsf-viewer .reason-holder { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .main-nsf-viewer .pst-recovery-intro-flex,
  .main-nsf-viewer .pst-steps-holder,
  .main-nsf-viewer .key-features-pst .ost-convert-reasons,
  .main-nsf-viewer .faq-question-holder { flex-direction: column; gap: 28px; }
}
@media only screen and (max-width: 600px) {
  .main-nsf-viewer .edb-holder,
  .main-nsf-viewer .reason-holder { grid-template-columns: 1fr; gap: 16px; }
  .main-nsf-viewer .ost-slide-list { gap: 16px; }
  .main-nsf-viewer .ost-slide-list li { font-size: 15px; }
  .main-nsf-viewer .license-customer-support .main-holder { gap: 18px 22px; }
}
.header-content .videos_img_list {
    background: url(/template/default/images/nsf-to-pst-banner-new.webp) center no-repeat;
    opacity: 80%;
}
.header-content .videos_img_list {
    flex-basis: 40%;
    position: relative;
    margin: 30px 0 0;
    opacity: 100%;
}
@media only screen and (max-width: 1280px) {
    .header-content .videos_img_list {
        background-size: contain;
    }
}

.faq-question-holder .accordion-item .accordion-title:after {
    line-height: 20px;
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
    content: "";
    text-align: center;
    font-size: 13px;
    height: 19px;
    width: 18px;
    display: inline-block;
}



.faq-question-holder .accordion-item .accordion-title.open:after {
    background-position: bottom;
}
.faq-question-holder .accordion-item .accordion-title:after {
    background: url(/template/default/images/icons/nsf-pst-faq-icon.png) 0 0 no-repeat;
}