/* ============================================================
   Potu Hugo — Content & Layout Overrides
   Potu visual system (Outfit font, dark footer #141414) preserved.
   ============================================================ */


/* ---- Nav ellipse: scale width to fit any link text length ---- */
.main-menu .navigation > li > a:before {
    width: calc(100% + 40px);
    left: -20px;
    background-size: 100% 100%;
    transform: translateY(-50%);
    transition: opacity 0.25s ease;
}

/* ---- Revert current-page highlight (ellipse + color) when hovering a different nav item ---- */
.main-menu .navigation:has(> li:hover) > li.current:not(:hover) > a:before {
    opacity: 0 !important;
}
.main-menu .navigation:has(> li:hover) > li.current:not(:hover) > a {
    color: var(--title-color) !important;
}

/* ---- Play Now (in-body shortcode): outline by default, fill on hover ---- */
.lx-play-btn,
.lx-play-btn:visited {
    background: transparent !important;
    color: #FF6F0F !important;
    border-color: #FF6F0F !important;
}
.lx-play-btn span {
    color: #FF6F0F !important;
}
.lx-play-btn:hover {
    background: #FF6F0F !important;
    color: #fff !important;
}
.lx-play-btn:hover span {
    color: #fff !important;
}

/* ---- Hamburger button — fresh implementation using .lx-bar spans ---- */

/* Outlined circle matching Play Now's 1px solid border language */
.hamburger {
    position: relative !important;
    top: 0 !important;
    width: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: 1px solid var(--secondary-color) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 0 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

/* Three bars */
.lx-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #FF6F0F;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

/* Open state: orange fill, white bars, border stays */
.hamburger.is-active {
    background-color: #FF6F0F !important;
    border-color: #FF6F0F !important;
}
.hamburger.is-active .lx-bar {
    background-color: #fff;
}

/* Restore play button on mobile (responsive.css hides .main-header .btn-box at 1399px) */
.main-header .btn-box {
    display: block !important;
}

/* Match text color to border color */
.main-header .btn-box a,
.main-header .btn-box a span {
    color: var(--secondary-color) !important;
}
.main-header .btn-box a:hover,
.main-header .btn-box a:hover span {
    color: #fff !important;
}

/* Vertically align all items in the header right strip */
.menu-right-content {
    display: flex !important;
    align-items: center !important;
}
.menu-right-content .mobile-nav-toggler {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
    line-height: 0 !important;
    font-size: 0 !important;
}

/* ---- Play button text ----
   Full:  tablet (768-1024) + wide desktop (≥1300)
   Short: mobile (<768) + desktop below 1300 (1025-1299)
--------------------------------------------------------- */
.lx-btn-short { display: none; }
.lx-btn-full  { display: inline; }

@media (max-width: 767px),
       (min-width: 1025px) and (max-width: 1299px) {
    .lx-btn-full  { display: none !important; }
    .lx-btn-short { display: inline !important; }
}

/* ---- Re-enable sticky header at all sizes (responsive.css kills it at ≤1200px) ---- */
.sticky-header {
    display: block !important;
}

/* ---- Show main-menu on desktop only (≥1025px); Potu hides it at ≤1200px ---- */
@media (min-width: 1025px) {
    .main-header .main-menu {
        display: block !important;
    }
}

/* ---- Tighten nav spacing at 1025-1199px so items fit ---- */
@media (min-width: 1025px) and (max-width: 1199px) {
    .main-menu .navigation > li {
        margin: 0 14px !important;
    }
    .main-menu .navigation > li > a {
        font-size: 20px !important;
    }
}

/* ---- Hide hamburger on desktop only (≥1025px) ---- */
@media (min-width: 1025px) {
    .main-header .mobile-nav-toggler,
    .sticky-header .mobile-nav-toggler,
    .menu-right-content .mobile-nav-toggler {
        display: none !important;
    }
}

/* ---- Mobile menu: Contact Info label (was h4) ---- */
.mobile-menu .contact-info .contact-info-label {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: var(--title-font, "Outfit", sans-serif);
    font-weight: 400;
    position: relative;
}

/* ---- Site accent colour (Potu default --secondary-color is #000, override to brand orange) ---- */
:root {
    --secondary-color: #e07b39;
}

/* ---- 404 error page ---- */
.lx-error-area {
    margin-top: 90px;
    padding: 60px 0 80px;
    border-top: 2px solid rgba(0,0,0,.08);
    text-align: center;
}
.lx-error-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.lx-error-img {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}
.lx-error-img > img:first-child {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}
.lx-error-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.lx-error-shape-1 { top: -20px; left: -30px; width: 80px; }
.lx-error-shape-2 { bottom: -10px; right: -20px; width: 60px; }
.lx-error-shape-3 { top: 50%; left: -50px; width: 40px; transform: translateY(-50%); }
.lx-error-code {
    font-family: "Outfit", sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #141414;
    line-height: 1.15;
    margin: 0;
    max-width: 600px;
}
.lx-error-text {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    color: #5d5d5d;
    margin: 0;
    max-width: 480px;
}
@media (max-width: 767px) {
    .lx-error-area { margin-top: 70px; padding: 40px 0 60px; }
    .lx-error-code { font-size: 36px; }
    .lx-error-img > img:first-child { max-width: 280px; }
}

/* ---- Contact page — light-theme adaptation of Potu's contact-section ---- */
.lx-contact-section {
    margin-top: 90px;
    padding: 40px 0 80px;
    background: transparent;
    border-top: 2px solid rgba(0,0,0,.08);
}

/* Form card: override Potu's dark #181818 */
.lx-contact-section .form-inner {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 44px;
}

/* Input / textarea: override Potu's white-on-dark */
.lx-contact-section .form-inner .form-group label {
    color: #555;
}
.lx-contact-section .form-inner .form-group input[type='text'],
.lx-contact-section .form-inner .form-group input[type='email'],
.lx-contact-section .form-inner .form-group textarea {
    color: #141414;
    border-color: rgba(0,0,0,.18);
    background: transparent;
}
.lx-contact-section .form-inner .form-group input::placeholder,
.lx-contact-section .form-inner .form-group textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

/* Info column: override Potu's white-on-dark text */
.lx-contact-section .info-content {
    padding-left: 20px;
}
.lx-contact-section .info-content .single-item {
    padding-left: 70px;
}
.lx-contact-section .info-content .single-item span {
    color: #888;
}
.lx-contact-section .info-content .single-item h3,
.lx-contact-section .info-content .single-item h3 a {
    color: #141414;
    font-size: 18px;
}
.lx-contact-section .info-content .map-link p {
    color: #888;
}
.lx-contact-section .info-content .map-link p a {
    color: #141414 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}
.lx-contact-section .info-content .map-link p a:hover {
    color: #e07b39 !important;
}
/* Fix shape path and add hover scale */
.lx-contact-section .info-content .map-link p a:before {
    background-image: url('/images/shape/shape-23.png');
    transition: transform 0.3s ease;
}
.lx-contact-section .info-content .map-link p a:hover:before {
    transform: scale(1.08);
}

/* Icon circles replacing Potu's image icon-boxes */
.lx-icon-box {
    position: absolute;
    left: 0;
    top: 6px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color, #e07b39);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.lx-page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 16px 0 28px;
}

.lx-map-widget iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
}

.lx-breadcrumb-nav {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.10);
    margin-bottom: 10px;
}

.lx-breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    font-size: 14px;
}

.lx-breadcrumb-nav .breadcrumb-item a {
    color: var(--mainColor, #e07b39);
    text-decoration: none;
}

.lx-breadcrumb-nav .breadcrumb-item.active {
    color: #555;
}

.lx-content-area {
    margin-top: 90px;
    padding-bottom: 60px;
    border-top: 2px solid rgba(0,0,0,.08);
}

.lx-home-content-area {
    margin-top: 90px;
    padding-top: 32px;
    padding-bottom: 40px;
    border-top: 2px solid rgba(0,0,0,.08);
}

@media (max-width: 1024px) {
    .error-area,
    .lx-contact-section,
    .lx-content-area,
    .lx-home-content-area {
        margin-top: 70px;
    }
}

/* ---- Article prose — Potu font stack (Outfit) ---- */
.lx-article,
.lx-article-home {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    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: "Outfit", sans-serif;
    color: #141414;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 1.3em;
    margin-bottom: 0.4em;
}

.col-12 h1, .lx-article-home h1 { font-size: 38px; margin-bottom: 0.6em; }
.lx-content-area .col-12 h1:first-child { margin-top: 20px; }
.col-12 h2, .lx-article-home h2 { font-size: 30px; }
.col-12 h3, .lx-article-home h3 { font-size: 24px; }
.col-12 h4, .lx-article-home h4 { font-size: 20px; }
.col-12 h5, .lx-article-home h5 { font-size: 17px; }
.col-12 h6, .lx-article-home h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }

.col-12 a, .lx-article-home a {
    color: #141414;
    text-decoration: underline;
    transition: 0.3s all ease;
}
.col-12 a:hover, .lx-article-home a:hover {
    color: #555;
}

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

/* ---- Tables: horizontal scroll on mobile ---- */
.lx-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5em 0;
    border-radius: 4px;
    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: 15px;
    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: #141414;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
}

.col-12 table td,
.lx-article-home table td {
    padding: 10px 16px;
    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: 4px;
    transition: 0.3s all ease;
    height: 100%;
}
.lx-info-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.lx-info-card-inner {
    padding: 24px;
}
.lx-card-title {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.lx-card-title a {
    color: #141414;
    text-decoration: none;
}
.lx-card-title a:hover {
    color: #555;
}
.lx-card-divider {
    width: 50px;
    height: 2px;
    background-color: #141414;
    margin-bottom: 12px;
}
.lx-card-desc {
    color: #5d5d5d;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ---- Footer additions for Potu classes ---- */
.footer-disclaimer-area {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 10px;
}
.footer-disclaimer-logo-row {
    margin-bottom: 24px;
}
.footer-disclaimer-logo-row .footer-logo {
    margin: 0;
}
.footer-disclaimer-text-col .disclaimer-block {
    margin-bottom: 18px;
}
.footer-disclaimer-area .disclaimer-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
    font-family: "Outfit", sans-serif;
}
.footer-disclaimer-area .disclaimer-text {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0;
}
.footer-disclaimer-area .disclaimer-text strong {
    color: rgba(255,255,255,0.80);
}

/* Trust logos inside Potu footer-bottom */
.footer-trust-logos {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer-trust-logos .trust-logo-item img {
    height: 22px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
    display: block;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}
.footer-trust-logos .trust-logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Copyright text */
.footer-bottom .copyright p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Footer nav links — sandwiched between disclaimer bar (top) and footer-bottom bar (bottom) */
.footer-links-row {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 14px 0;
}

ul.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.footer-nav-links li a {
    color: rgba(255,255,255,0.70);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
ul.footer-nav-links li a:hover {
    color: #fff;
}

/* ---- FAQ accordion (Potu native style, scaled for inline use) ---- */
.lx-faq-wrapper {
    margin-top: 2.5rem;
}
.lx-faq-title {
    font-family: "Outfit", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #141414;
    margin-bottom: 1.2rem;
}
.lx-faq-wrapper .accordion-box {
    border-top: 1px solid #C4C4C4;
    list-style: none;
    padding: 0;
    margin: 0;
}
.lx-faq-wrapper .accordion-box .block {
    border-bottom: 1px solid #C4C4C4;
}
.lx-faq-wrapper .accordion-box .accordion .acc-btn {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lx-faq-wrapper .accordion-box .accordion .acc-btn h3 {
    font-size: 17px;
    line-height: 1.4;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    color: #141414;
    margin: 0;
    flex: 1;
}
.lx-faq-wrapper .accordion-box .accordion .acc-btn .icon-box {
    position: static;
    font-size: 12px;
    color: #141414;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.lx-faq-wrapper .accordion-box .accordion .acc-btn.active .icon-box {
    transform: rotate(180deg);
}
.lx-faq-wrapper .accordion-box .block .acc-content {
    padding-bottom: 20px;
}
.lx-faq-wrapper .accordion-box .accordion .acc-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #5d5d5d;
    font-family: "Outfit", sans-serif;
    margin: 0;
}

/* ---- TOC ---- */
.ek-toc {
    border: 1px solid #e9e9e9;
    border-left: 4px solid #141414;
    border-radius: 4px;
    background-color: #f9f9f9;
    padding: 16px 20px;
    margin: 1.6em 0 2em;
    font-size: 14px;
}
.ek-toc summary.ek-toc-title {
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #141414;
    cursor: pointer;
    list-style: none;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.ek-toc summary.ek-toc-title::-webkit-details-marker { display: none; }
.ek-toc-arrow {
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
details.ek-toc.is-open .ek-toc-arrow {
    transform: rotate(180deg);
}
.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: #141414; text-decoration: none; transition: color 0.2s; }
.ek-toc a:hover { color: #555; text-decoration: underline; }

/* ---- Demo wrapper ---- */
.te-demo-wrapper { margin-top: 0 !important; }

/* ---- Header top gap ---- */
.main-header {
    top: 10px;
}

/* ---- Logo size cap ---- */
.logo-box .light-logo img,
.logo-box .dark-logo img,
.nav-logo img,
.footer-logo img {
    max-width: 100px;
    width: 100px;
    height: auto;
}

/* ---- Full-height layout so footer always sticks to bottom ---- */
.boxed_wrapper {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}
.lx-error-area,
.lx-content-area,
.lx-home-content-area,
.lx-contact-section {
    flex: 1 !important;
}

/* ---- Hide cursor follower dot ---- */
.mouse-pointer {
    display: none !important;
}

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