/* ============================
   Base typography
   Unified and predictable
============================= */

body {
    font-family: "Inter", sans-serif !important;
    color: #0f172a;
    font-size: 17px;          /* Slightly bigger base font */
    line-height: 1.75;        /* Comfortable reading rhythm */
}

/* Headings: one consistent system */
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif !important;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 12px 0;       /* Default: no top margin, avoid double gaps */
}

h1 { font-size: 42px; line-height: 1.15; margin-bottom: 14px; }
h2 { font-size: 32px; line-height: 1.2;  margin-bottom: 14px; }
h3 { font-size: 23px; line-height: 1.25; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; font-weight: 600; }
h5 { font-size: 18px; line-height: 1.25; margin-bottom: 8px;  font-weight: 600; }
h6 { font-size: 16px; line-height: 1.25; margin-bottom: 8px;  font-weight: 600; }

/* Utility class: centered section headings */
.h-center {
    text-align: center  !important; 
}

/* Paragraphs: single definition (removed duplicates) */
p {
    font-size: 19px;          /* Main reading text */
    color: #1e293b;
    line-height: 1.8;
    margin: 0 0 14px 0;
}

/* ============================
   Content area typography
   Keeps spacing consistent in the main article
============================= */

#content {
    color: #1e293b;
}

/* Section spacing for H2 and H3 inside content */
#content h2 {
    text-align: center;
    margin: 34px 0 14px 0;    /* Section spacing */
}

#content h3 {
    text-align: left;
    margin: 20px 0 10px 0;
}

/* Description list content: treat dd like paragraphs */
#content dl.product_info dd {
    display: block;
    margin: 0 0 14px 0;       /* Replaces <br> after each dd */
    font-size: 19px;
    line-height: 1.8;
    color: #1e293b;
}

/* If a heading follows immediately after dd, slightly reduce the gap */
#content dl.product_info dd + h3 {
    margin-top: 14px;
}

/* If an image precedes dd, keep spacing consistent */
#content .tm-section-illustration + dd {
    margin-top: 6px;
}

/* Optional: top subtitle styling (.hdng in your layout) */
#content .hdng {
    margin: 0 0 18px 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

/* ============================
   Lists
   Force bullets because the theme likely disables them
============================= */

#content ul,
#content ol {
    margin: 10px 0 16px 28px;
    padding: 0;
}

#content ul {
    list-style-type: square !important;
    list-style-position: outside !important;
}

#content ol {
    list-style-position: outside !important;
}

#content ul li,
#content ol li {
    display: list-item !important;
    margin: 0 0 8px 0;
    line-height: 1.65;
}

/* Ensure marker is visible in modern browsers */
#content ul li::marker,
#content ol li::marker {
    color: currentColor;
}

/* ============================
   Header and navigation link colors
   Keep menu links white, content links can be styled separately if needed
============================= */

.hdr-brand h1 a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Keep header navigation white (prevents accidental blue links in menu) */
#header .nav .sf-menu > li > a,
#header .nav .sf-menu > li > a:visited {
    color: #ffffff !important;
    text-decoration: none;
}

#header .nav .sf-menu > li > a:hover,
#header .nav .sf-menu > li.sfHover > a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ============================
   Parallax section adjustments
============================= */

/* Ensure parallax headings stay white */
.parallax1 h2,
.parallax1 h3 {
    color: #ffffff !important;
}

/* Full width parallax inside product_info */
.product_info .parallax1 {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ============================
   Quotes and small text blocks
============================= */

dl.grid_2,
dl.grid_6 {
    color: #0f172a !important;
}

.quote_cnt {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* ============================
   FAQ Premium Accordion
   All comments in English
============================= */

.faq-question {
    width: 100%;
    text-align: left;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 6px;
    position: relative;
    padding-right: 50px;
    transition: background 0.2s, color 0.3s;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question::after {
    content: "⌄";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(calc(-50% - 2px));
    font-size: 26px;
    font-weight: 700;
    opacity: 0.75;
    background: linear-gradient(180deg, #0f172a, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
    transition: transform 0.35s ease, opacity 0.25s ease, color 0.3s ease;
}

.faq-question:hover::after {
    opacity: 1;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.faq-question.active::after {
    content: "⌃";
    transform: translateY(calc(-50% + 1px));
    opacity: 1;
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-left: 3px solid #0ea5e9;
    border-radius: 0 0 8px 8px;
    padding: 0 18px;
    margin-bottom: 12px;
    transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-answer.open {
    padding: 14px 18px 18px 18px;
}

/* Keep FAQ answer text slightly smaller than main content */
.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #1e293b;
}

/* ============================
   Reviews background image section
============================= */

.bg1 {
    background: url("../images/reviews_bg.jpg") center center / cover no-repeat !important;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.bg1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.bg1 > .container,
.bg1 * {
    position: relative;
    z-index: 2;
}

/* Reviews author: plain white text (no heading styling) */
.quote_aside {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 800;
    color: #26abc9 !important;
	text-transform: uppercase;
}

/* ============================
   Trade Manager section images
   Fix wrapper height so text stays below the image
============================= */

.tm-section-illustration {
    display: block;
    margin: 20px 0 28px;
    clear: both;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.tm-section-illustration--wide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.tm-section-illustration--medium {
    max-width: 900px;          /* Medium width variant */
    margin-left: auto;
    margin-right: auto;
}

.tm-section-illustration picture,
.tm-section-illustration img {
    display: block;
    float: none !important;
    position: static !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.tm-img-elevated {
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

@media (max-width: 640px) {
    .tm-section-illustration {
        margin: 16px 0 22px;
    }
    .tm-img-elevated {
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    }
}
