/**
 * Terms & Conditions CMS page (id 1) only.
 * Loaded via cms/page-1.tpl — never add unscoped rules here.
 * Design source: fme_newdesign/assets/style/css/privacy.css (same layout as privacy page)
 */

/* --- Layout shell (page-1.tpl) --- */
body#cms:has(.fmm-cms-terms-main) #wrapper > .bread_crumb_section {
  display: none;
}

body#cms:has(.fmm-cms-terms-main) #content-wrapper,
body#cms .fmm-cms-terms-main #content.page-cms-1 {
  padding: 0;
  margin: 0;
  max-width: none;
}

body#cms .fmm-cms-terms-main #content.page-cms-1 {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body#cms .fmm-cms-terms-main .page-header {
  display: none;
}

body#cms .fmm-cms-terms-main .terms_page {
  width: 100%;
}

/* --- Banner (incl. TinyMCE fallbacks when section/nav/aside wrappers are stripped) --- */
body#cms:has(.fmm-cms-terms-main) .terms_page .banner,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) {
  min-height: 400px;
  width: 100%;
  background-image: linear-gradient(to right, #00190b, #242424);
  display: flex;
  justify-content: center;
  /*align-items: center;*/
  box-sizing: border-box;
  padding-top: 40px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .main_container,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner .banner_block,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .banner_block,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner > .banner_block,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_block {
  max-width: 1026px;
  margin: 0 auto;
  width: 100%;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb {
  margin-bottom: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb .order_list,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb .order_list,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb .order_list,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block > .order_list,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .order_list {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb .order_list .separator,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb .order_list .separator,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb .order_list .separator,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block > .order_list .separator,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .order_list .separator {
  color: #ffffff;
  align-self: baseline;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb .order_list li,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb .order_list li,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb .order_list li,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block > .order_list li,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .order_list li {
  font-size: 16px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb .order_list .page_name,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner .bread_crumb .order_list a,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb .order_list .page_name,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .bread_crumb .order_list a,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb .order_list .page_name,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .bread_crumb .order_list a,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block > .order_list .page_name,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block > .order_list a,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .order_list .page_name,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .order_list a {
  color: var(--secondary-text-color, #b0b0b0);
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content,
body#cms:has(.fmm-cms-terms-main) .terms_page .banner_block .content,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .content {
  margin-top: 20px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_title,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_title,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_title {
  font-size: 54px;
  line-height: 72px;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 20px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_text,
body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_text,
body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_text {
  text-align: center;
  font-size: 20px;
  line-height: 34px;
  margin: 14px auto 0;
  max-width: 662px;
}

/* --- Body + TOC --- */
body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details {
  display: flex;
  gap: 80px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar,
body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar {
  max-width: 340px;
  position: relative;
  flex-shrink: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .inner_sidebar {
  position: sticky;
  top: 10px;
  background-color: #fff;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar .title,
body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar .title {
  font-size: 25px;
  font-weight: 700;
  line-height: 34px;
  color: #000000;
  margin: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 287px;
  margin: 45px 0 0 20px;
  padding: 0;
  list-style: none;
  position: relative;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list::before {
  position: absolute;
  content: "";
  height: 100%;
  left: -20px;
  width: 3px;
  background-color: rgba(0, 0, 0, 0.1);
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list .side_bar_item {
  display: block;
  text-decoration: none;
  color: inherit;
  font-size: 18px;
  line-height: 1.4;
  position: relative;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list .side_bar_item.active_side_item {
  color: #000000;
  font-weight: 600;
  font-size: 20px;
  position: relative;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list .side_bar_item.active_side_item::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 100%;
  left: -20px;
  background-color: #000000;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block {
  flex: 1;
  min-width: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_image img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .top_blog_cont {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .title {
  margin: 0 0 34px;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .text {
  /*margin: 0 0 50px;*/
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .text:last-child {
  margin-bottom: 0;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .terms_list {
  margin: 0 0 50px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 20px;
  color: var(--text-color);
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .terms_list li {
  font-size: inherit;
  line-height: 1.6;
}

body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .terms_note {
  font-style: italic;
  margin-top: 10px;
}

@media screen and (max-width: 1280px) {
  body#cms:has(.fmm-cms-terms-main) .terms_page .banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) {
    min-height: 560px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .content {
    margin-top: 15px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_title {
    font-size: 48px;
    line-height: 60px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_text {
    max-width: 560px;
    margin-top: 10px;
    font-size: 18px;
    line-height: 30px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details {
    gap: 40px;
  }
}

@media screen and (max-width: 1024px) {
  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar,
  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar {
    max-width: 280px;
  }
}

@media screen and (max-width: 992px) {
  body#cms:has(.fmm-cms-terms-main) .terms_page .banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) {
    min-height: 540px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .content {
    margin-top: 12px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_title {
    font-size: 38px;
    line-height: 52px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_text {
    max-width: 520px;
    margin-top: 8px;
    font-size: 17px;
    line-height: 28px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details {
    gap: 20px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar .title,
  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar .title {
    font-size: 23px;
    line-height: 32px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar,
  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar {
    max-width: 220px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list .side_bar_item.active_side_item {
    font-size: 18px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .side_bar_list {
    gap: 20px;
    margin-top: 30px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .top_blog_cont {
    margin-bottom: 25px;
    gap: 18px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .title {
    margin-bottom: 6px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .content_block .blog_cont .text {
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 767px) {
  body#cms:has(.fmm-cms-terms-main) .terms_page .banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) {
    min-height: 520px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .content {
    margin-top: 10px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_title {
    font-size: 28px;
    line-height: 48px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_text {
    max-width: 420px;
    margin-top: 7px;
    font-size: 15px;
    line-height: 26px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details .sidebar,
  body#cms:has(.fmm-cms-terms-main) .terms_page .blog_details > .inner_sidebar {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  body#cms:has(.fmm-cms-terms-main) .terms_page .banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) {
    min-height: 340px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .content {
    margin-top: 5px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_title,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_title {
    font-size: 22px;
    line-height: 34px;
  }

  body#cms:has(.fmm-cms-terms-main) .terms_page .banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page .terms_banner .content .banner_text,
  body#cms:has(.fmm-cms-terms-main) .terms_page > .main_container:has(.banner_title) .banner_text {
    display: none;
  }
}
