/*
 * VivuNow - Typography Fix V2
 *
 * IMPORTANT:
 * This version does NOT override H1-H6 font-size.
 * The previous version incorrectly used "font-size: inherit" on the
 * heading itself, which made H1/H2/H3 inherit the parent 16px size.
 *
 * Load this file AFTER the theme CSS.
 */

/* =========================================================
   BODY / NORMAL CONTENT
   ========================================================= */

.evo-product-summary.product_description .rte p,
.evo-product-summary.product_description .rte li,
#tour-schedule .rte p,
#tour-schedule .rte li,
#tour-schedule .main-project__tab--content,
#tour-schedule .main-project__tab--contentabc,
.article-details.evo-toc-content p,
.article-details.evo-toc-content li {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

/* Keep normal bold text at the same size as its surrounding text.
   Do NOT define a global font-size for b/strong. */
.evo-product-summary.product_description p b,
.evo-product-summary.product_description p strong,
.evo-product-summary.product_description li b,
.evo-product-summary.product_description li strong,
#tour-schedule .main-project__tab--content b,
#tour-schedule .main-project__tab--content strong,
#tour-schedule .main-project__tab--contentabc b,
#tour-schedule .main-project__tab--contentabc strong,
.article-details.evo-toc-content p b,
.article-details.evo-toc-content p strong,
.article-details.evo-toc-content li b,
.article-details.evo-toc-content li strong {
  font-size: inherit !important;
}

/* =========================================================
   HEADING + BOLD
   Do NOT set font-size on H1-H6 themselves.
   Only make B/STRONG inherit the already-defined heading size.
   ========================================================= */

/* Product / tour content */
.evo-product-summary.product_description h1 b,
.evo-product-summary.product_description h1 strong,
.evo-product-summary.product_description h2 b,
.evo-product-summary.product_description h2 strong,
.evo-product-summary.product_description h3 b,
.evo-product-summary.product_description h3 strong,
.evo-product-summary.product_description h4 b,
.evo-product-summary.product_description h4 strong,
.evo-product-summary.product_description h5 b,
.evo-product-summary.product_description h5 strong,
.evo-product-summary.product_description h6 b,
.evo-product-summary.product_description h6 strong,

/* Blog content */
.article-details.evo-toc-content h1 b,
.article-details.evo-toc-content h1 strong,
.article-details.evo-toc-content h2 b,
.article-details.evo-toc-content h2 strong,
.article-details.evo-toc-content h3 b,
.article-details.evo-toc-content h3 strong,
.article-details.evo-toc-content h4 b,
.article-details.evo-toc-content h4 strong,
.article-details.evo-toc-content h5 b,
.article-details.evo-toc-content h5 strong,
.article-details.evo-toc-content h6 b,
.article-details.evo-toc-content h6 strong {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

/* If the editor puts a span inside strong/b, only that inline child
   inherits the heading size; the H1-H6 rule itself remains untouched. */
.evo-product-summary.product_description h1 b span,
.evo-product-summary.product_description h1 strong span,
.evo-product-summary.product_description h2 b span,
.evo-product-summary.product_description h2 strong span,
.evo-product-summary.product_description h3 b span,
.evo-product-summary.product_description h3 strong span,
.evo-product-summary.product_description h4 b span,
.evo-product-summary.product_description h4 strong span,
.evo-product-summary.product_description h5 b span,
.evo-product-summary.product_description h5 strong span,
.evo-product-summary.product_description h6 b span,
.evo-product-summary.product_description h6 strong span,
.article-details.evo-toc-content h1 b span,
.article-details.evo-toc-content h1 strong span,
.article-details.evo-toc-content h2 b span,
.article-details.evo-toc-content h2 strong span,
.article-details.evo-toc-content h3 b span,
.article-details.evo-toc-content h3 strong span,
.article-details.evo-toc-content h4 b span,
.article-details.evo-toc-content h4 strong span,
.article-details.evo-toc-content h5 b span,
.article-details.evo-toc-content h5 strong span,
.article-details.evo-toc-content h6 b span,
.article-details.evo-toc-content h6 strong span {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

/* =========================================================
   TOUR SCHEDULE DAY TITLES
   The theme converts the editor's H3 into this div.
   Editor workflow remains: H3 + Bold + left align.
   ========================================================= */

#tour-schedule .main-project__tab--title {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-align: left !important;
}

#tour-schedule .main-project__tab--title > b,
#tour-schedule .main-project__tab--title > strong,
#tour-schedule .main-project__tab--title > b span,
#tour-schedule .main-project__tab--title > strong span {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  font-family: inherit !important;
}

/* Content opened below each day */
#tour-schedule .main-project__tab--contentabc {
  font-size: 16px !important;
  line-height: 1.75 !important;
}

@media (max-width: 767px) {
  .evo-product-summary.product_description .rte p,
  .evo-product-summary.product_description .rte li,
  #tour-schedule .rte p,
  #tour-schedule .rte li,
  #tour-schedule .main-project__tab--content,
  #tour-schedule .main-project__tab--contentabc,
  .article-details.evo-toc-content p,
  .article-details.evo-toc-content li {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  #tour-schedule .main-project__tab--title,
  #tour-schedule .main-project__tab--title > b,
  #tour-schedule .main-project__tab--title > strong,
  #tour-schedule .main-project__tab--title > b span,
  #tour-schedule .main-project__tab--title > strong span {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
}