/* ============================================================
   Lixi Hugo — Content & Layout Overrides
   Lixi visual system (Poppins/Roboto, #4a686a, #fdb139, #f32c2c) preserved.
   No Ekobyte colors, spacing, or typography imported.
   ============================================================ */

/* ---- Navbar offset: push content below fixed navbar ---- */
.lx-home-content-area,
.page-title-area,
.error-area,
.contact-area {
    margin-top: 70px;
}

.te-theme-btn {
    font-weight: 500;
    color: #fff!important;
    background-color: #fdb139;
    border-radius: 5px;
    padding: 10px 40px;
}

.lx-content-area {
    margin-top: 25px;
}

@media (max-width: 767px) {
    .lx-home-content-area,
    .lx-content-area,
    .page-title-area,
    .error-area,
    .contact-area {
        margin-top: 60px;
    }
}

/* ---- Content area padding ---- */
.lx-content-area {
    padding-bottom: 5px;
}

.lx-home-content-area {
    padding-top: 25px;
    padding-bottom: 25px;
}

@media (max-width: 767px) {
    .lx-content-area,
    .lx-home-content-area {
        padding-top: 5px;
        padding-bottom: 20px;
    }
}

/* ---- Article prose — Lixi font stack ---- */
.lx-article,
.lx-article-home {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #5d5d5d;
    width: 100%;
}

.lx-article > * + *,
.lx-article-home > * + * {
    margin-top: 1.2em;
}
.lx-article > *:first-child,
.lx-article-home > *:first-child {
    margin-top: 0;
}

.col-12 h1, .lx-article-home h1,
.col-12 h2, .lx-article-home h2,
.col-12 h3, .lx-article-home h3,
.col-12 h4, .lx-article-home h4,
.col-12 h5, .lx-article-home h5,
.col-12 h6, .lx-article-home h6 {
    font-family: "Poppins", sans-serif;
    color: #242424;
    line-height: 1.4;
    font-weight: 700;
}

.col-12 h2, .lx-article-home h2 {
    font-size: 22px;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.col-12 h3, .lx-article-home h3 {
    font-size: 18px;
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}

.col-12 a, .lx-article-home a {
    color: #fdb139;
    text-decoration: none;
    transition: 0.3s all ease;
}
.col-12 a:hover, .lx-article-home a:hover {
    color: #f32c2c;
}

.col-12 img, .lx-article-home img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em 0;
    width: 100%;
    border-radius: 5px;
}

/* ---- Tables: horizontal scroll on mobile ---- */
.lx-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
    border-radius: 5px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.col-12 table,
.lx-article-home table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.55;
    white-space: nowrap;
    min-width: 100%;
    margin: 1.5em 0;
}

.col-12 table th,
.lx-article-home table th {
    background-color: #4a686a;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
}

.col-12 table td,
.lx-article-home table td {
    padding: 9px 14px;
    border-bottom: 1px solid #e9e9e9;
    color: #5d5d5d;
}

.col-12 table tr:last-child td,
.lx-article-home table tr:last-child td {
    border-bottom: none;
}

.lx-table-scroll table {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

/* ---- iFrames: responsive full-width ---- */
.col-12 iframe,
.lx-article-home iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: 500px;
    display: block;
    border: none;
}

@media (max-width: 767px) {
    .col-12 iframe,
    .lx-article-home iframe {
        height: 280px;
    }
}

/* ---- Play button in article ---- */
.lx-article a#PlayButton,
.lx-article a.lx-play-content-btn {
    text-decoration: none !important;
    display: inline-block;
}

/* ---- Section page info cards ---- */
.lx-info-card {
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    transition: 0.3s all ease;
    height: 100%;
}
.lx-info-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.lx-info-card-inner {
    padding: 24px;
}
.lx-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.lx-card-title a {
    color: #242424;
    text-decoration: none;
}
.lx-card-title a:hover {
    color: #fdb139;
}
.lx-card-divider {
    width: 50px;
    height: 2px;
    background-color: #fdb139;
    margin-bottom: 12px;
}
.lx-card-desc {
    color: #5d5d5d;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ---- Footer layout additions (Ekobyte structure + Lixi styles) ---- */

/* Footer top row: logo left, nav links right */
.lx-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(245,245,245,0.16);
    margin-bottom: 24px;
}

.lx-footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
}

/* Footer nav links */
.lx-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
}
.lx-footer-nav a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.lx-footer-nav a:hover {
    color: #fdb139;
}

/* Disclaimer blocks */
.lx-footer-disclaimer-block {
    margin-bottom: 16px;
    max-width: 860px;
}
.lx-footer-disclaimer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
    font-family: "Poppins", sans-serif;
}
.lx-footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin: 0;
}
.lx-footer-disclaimer strong {
    color: rgba(255,255,255,0.85);
}

/* Footer bottom bar: copyright left + trust logos right */
.copyright-area.lx-footer-bottom-bar {
    text-align: left;
}
.lx-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.lx-footer-trust-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lx-trust-logo img {
    height: 24px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s;
}
.lx-trust-logo img:hover {
    opacity: 1;
    filter: brightness(1);
}

@media (max-width: 767px) {
    .lx-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .lx-footer-bottom-inner {
        flex-direction: column;
        align-items: center;
    }
}

/* ---- Contact page extras ---- */
.lx-contact-page-title {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 30px;
}
.lx-contact-form-wrap {
    padding-right: 20px;
}
.lx-contact-form-wrap h2 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 20px;
}
.lx-contact-form-wrap .form-group {
    margin-bottom: 20px;
}
.lx-contact-form-wrap .form-control {
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 14px;
    color: #5d5d5d;
}
.lx-contact-form-wrap .form-control:focus {
    border-color: #4a686a;
    box-shadow: none;
}
.lx-contact-info-wrap {
    padding-left: 10px;
}
.lx-contact-info-wrap h2 {
    font-family: "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #242424;
    margin-bottom: 20px;
}
.lx-contact-info-wrap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lx-contact-info-wrap ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: #5d5d5d;
    font-size: 14px;
}
.lx-contact-info-wrap ul li i {
    font-size: 20px;
    color: #4a686a;
    flex-shrink: 0;
    margin-top: 2px;
}
.lx-contact-info-wrap ul li a {
    color: #5d5d5d;
    text-decoration: none;
    transition: color 0.3s;
}
.lx-contact-info-wrap ul li a:hover {
    color: #fdb139;
}
.lx-map-widget {
    height: 450px;
}
.lx-map-widget iframe {
    width: 100% !important;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 767px) {
    .lx-contact-form-wrap {
        padding-right: 0;
        margin-top: 30px;
    }
    .lx-contact-info-wrap {
        padding-left: 0;
    }
    .lx-map-widget {
        height: 300px;
    }
}

/* ---- FAQ accordion — Lixi color overrides ---- */
.lx-faq {
    margin-top: 2.5rem;
}
.lx-faq .accordion-button {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #242424;
}
.lx-faq .accordion-button:not(.collapsed) {
    color: #4a686a;
    background-color: rgba(74,104,106,0.06);
    box-shadow: none;
}
.lx-faq .accordion-button:focus {
    box-shadow: 0 0 0 2px rgba(74,104,106,0.25);
}
.lx-faq .accordion-body {
    color: #5d5d5d;
    font-size: 14px;
    line-height: 1.8;
}

/* ---- Hide switch-box theme toggle ---- */
.switch-box {
    display: none !important;
}

/* ---- Header/footer: ensure logo and links are vertically centered ---- */
.main-nav nav.navbar {
    align-items: center;
}
.main-nav nav .navbar-brand {
    display: flex;
    align-items: center;
}
.lx-footer-top .footer-item {
    margin-bottom: 0;
}

/* ---- Back to top ---- */
.back-to-top-btn #toTop {
    position: fixed;
    bottom: 20px;
    right: 16px;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    color: #fff;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    cursor: pointer;
    display: none;
    z-index: 9999;
    transition: background-color 0.3s;
}

.ek-toc {
    border: 1px solid #e9e9e9;
    border-left: 4px solid #4a686a;
    border-radius: 5px;
    background-color: #f9f9f9;
    padding: 16px 20px;
    margin: 1.6em 0 2em;
    font-size: 14px;
}
.ek-toc summary.ek-toc-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #242424;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}
.ek-toc summary.ek-toc-title::-webkit-details-marker {
    display: none;
}
.ek-toc summary.ek-toc-title::before {
    font-family:boxicons;
    content: "\ea50";
    font-size: 20px;
    color: #4a686a;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.ek-toc[open] summary.ek-toc-title::before {
    transform: rotate(90deg);
}
.ek-toc nav,
.ek-toc > ul,
.ek-toc > ol {
    margin-top: 12px;
    padding-left: 4px;
}
.ek-toc ul,
.ek-toc ol {
    list-style: none;
    padding-left: 12px;
    margin: 4px 0;
}
.ek-toc li {
    margin: 4px 0;
    line-height: 1.5;
}
.ek-toc a {
    color: #4a686a;
    text-decoration: none;
    transition: color 0.2s;
}
.ek-toc a:hover {
    color: #fdb139;
    text-decoration: underline;
}

.accordion-header {
    margin-top: 0px!important;
    margin-bottom: 0px!important;
}

* > p:first-of-type:has(img) {
    margin-top: 0px!important;
}

* > p:first-of-type:has(img) img {
    margin-top: 0px!important;
}

.te-demo-wrapper {
    margin-top: 0px!important;
}