/* LIIA integration only. Layouts, components, colours, and breakpoints come from
   assets/css/style.css, bootstrap.css, and Fxvibe Home 05's color5.css. */
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.liia-site :is(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid #9d6c21;
    outline-offset: 4px;
}
.liia-skip { z-index: 1000000; }
/* Uploaded logos can have a different aspect ratio than Fxvibe's wordmark. */
.liia-brand-logo { display: inline-block; width: auto; max-width: 160px; height: 55px; object-fit: contain; }
/* Keep the demo's h2 typography on the semantic main heading. */
.banner-style-five .content-box h1 {
    font-size: 80px; line-height: 90px; font-weight: 700;
    text-transform: uppercase; color: #fff; margin-bottom: 18px;
    overflow-wrap: anywhere;
}
/* Native buttons replace the template's non-keyboard-operable div controls. */
.liia-site .theme-btn.btn-one { color: var(--title-color); }
.liia-site .theme-btn.btn-one:hover { color: #fff; }
.offer-style-three .acc-btn .h5 { font-size: 18px; line-height: 28px; color: var(--theme-color); margin-bottom: 8px; }
.offer-style-three .acc-btn .h3 { font-size: 22px; line-height: 32px; }
.faq-section .acc-btn.active .h5 { color: #fff; }
/* Native modal behavior supplies focus containment and Escape handling. */
dialog.mobile-menu { margin: 0; inset: 0 0 0 auto; border: 0; background: transparent; max-height: 100dvh; }
dialog.mobile-menu::backdrop, .liia-workspace-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.liia-workspace-dialog { margin: auto; padding: 35px; width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 10px; }
.liia-dialog-close { position: absolute; right: 16px; top: 8px; font-size: 28px; background: transparent; }
.liia-preview { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100000; }
/* Markdown has no theme-specific HTML wrappers, so restore content spacing. */
.liia-cms-content { overflow-wrap: anywhere; }
.liia-cms-content :is(h1, h2, h3, h4) { margin: 30px 0 18px; }
.liia-cms-content :is(ul, ol) { padding-left: 24px; margin-bottom: 22px; }
.liia-cms-content ul { list-style: disc; }
.liia-cms-content ol { list-style: decimal; }
.liia-cms-content a { color: #845712; text-decoration: underline; }
.liia-cms-content pre { overflow: auto; padding: 20px; }
.liia-cms-content table { display: block; overflow: auto; border-collapse: collapse; }
.liia-cms-content :is(td, th) { border: 1px solid #d3ccc1; padding: 10px; }
@media (max-width: 1200px) { .banner-style-five .content-box h1 { font-size: 60px; line-height: 70px; } }
@media (max-width: 767px) { .banner-style-five .content-box h1 { font-size: 40px; line-height: 50px; } }
@media (max-width: 499px) { .liia-workspace-dialog { padding: 28px 20px; } .liia-workspace-dialog .input-group-text { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .liia-site *, .liia-site *::before, .liia-site *::after { animation: none !important; transition: none !important; }
}
/* Use the theme's solid sticky-header background on every page, independent of
   the hero beneath it. The rest of the Home 05 header remains unchanged. */
.liia-site .header-style-five .header-lower .outer-container { background: #1a150e; }
/* Keep entered contact-form text readable; the theme uses a pale placeholder colour. */
.contact-style-two .form-inner .form-group :is(input, textarea) { color: var(--title-color); }
