/* ==========================================================================
   Realonda FAQ Styles
   ========================================================================== */

.rl-faq-page {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #242424;
    background: #fff;
    width: 100%;
    min-height: 100vh;
}

.rl-faq-page * {
    box-sizing: border-box;
}

.rl-faq-page a {
    color: #B04703;
    transition: color 0.2s ease;
}

.rl-faq-page a:hover {
    color: #7d3202;
}

.rl-faq-page button {
    font-family: inherit;
}

.rl-faq-page input {
    font-family: inherit;
    margin: 0;
}

/* Scrollbars */
.rl-scroll::-webkit-scrollbar {
    height: 6px;
}
.rl-scroll::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 3px;
}

/* Hero Section */
.rl-hero {
    background: #f7f7f7;
    border-bottom: 1px solid #e9e9e9;
}

.rl-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.rl-hero-inner {
    padding: 28px 24px 64px;
}

.rl-breadcrumb {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rl-breadcrumb a {
    color: #444;
    text-decoration: none;
}

.rl-breadcrumb a:hover {
    color: #B04703;
}

.rl-breadcrumb-sep {
    color: #B04703;
    font-size: 9px;
}

.rl-hero-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-top: 36px;
}

.rl-hero-title-box {
    flex: 1 1 520px;
    max-width: 720px;
}

.rl-hero-title {
    margin: 0;
    font-size: 52px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #242424;
}

.rl-hero-intro {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    font-weight: 300;
}

/* Search bar */
.rl-search-form {
    margin-top: 36px;
    display: flex;
    max-width: 760px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rl-search-form:focus-within {
    border-color: #B04703;
    box-shadow: 0 4px 16px rgba(176, 71, 3, 0.12);
}

#faq-search.rl-search-input,
.rl-search-input {
    flex: 1;
    min-width: 0;
    margin: 0;
    border: 0;
    outline: none;
    padding: 0 24px;
    height: 52px;
    line-height: normal;
    font-size: 15px;
    color: #242424;
    background: transparent;
}

.rl-search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #B04703;
    color: #fff;
    border: 0;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.rl-search-btn:hover {
    background: #7d3202;
}

/* Popular chips */
.rl-chips-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.rl-chips-label {
    font-size: 13px;
    color: #555;
    margin-right: 4px;
}

.rl-chip {
    font-size: 13px;
    color: #242424;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rl-chip:hover,
.rl-chip.active {
    background: #242424;
    color: #fff;
    border-color: #242424;
}

/* ==========================================================================
   Videos Carousel Section
   ========================================================================== */
.rl-videos-section {
    padding: 64px 0 32px;
    border-bottom: 1px solid #ebebeb;
}

.rl-videos-section.rl-videos-bottom {
    padding: 72px 0 72px;
    border-top: 1px solid #ebebeb;
    border-bottom: none;
    background: #fafafa;
}

.rl-videos-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.rl-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #B04703;
    font-weight: 600;
}

.rl-section-title {
    margin: 0;
    font-size: 34px;
    font-weight: 400;
    color: #242424;
}

.rl-videos-sub {
    margin: 10px 0 0;
    font-size: 15px;
    color: #555;
    font-weight: 300;
    max-width: 580px;
    line-height: 1.55;
}

.rl-videos-legend {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #555;
}

.rl-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rl-icon-vert {
    display: inline-block;
    width: 10px;
    height: 16px;
    border: 1.5px solid #242424;
    border-radius: 2px;
}

.rl-icon-horiz {
    display: inline-block;
    width: 18px;
    height: 10px;
    border: 1.5px solid #242424;
    border-radius: 2px;
}

/* Carousel */
.rl-carousel-wrap {
    margin-top: 32px;
}

.rl-carousel-viewport {
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.rl-carousel-viewport:active {
    cursor: grabbing;
}

.rl-carousel-track {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.45s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.rl-card {
    flex: 0 0 auto;
    min-width: 0;
}

.rl-card.is-v {
    width: 203px;
}

.rl-card.is-h {
    width: 640px;
}

@media (max-width: 768px) {
    .rl-card.is-h {
        width: 320px;
    }
}

.rl-card-btn {
    display: block;
    width: 100%;
    height: 360px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #e4e4e4;
}

.rl-poster {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.rl-card:hover .rl-poster {
    transform: scale(1.03);
}

.rl-poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.22);
}

.rl-badge-orient {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(20, 20, 20, 0.78);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 4px;
    z-index: 2;
}

.rl-badge-dur {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(20, 20, 20, 0.78);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.rl-play-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 2;
}

.rl-card:hover .rl-play-circle {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.rl-card-title {
    margin: 14px 0 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #242424;
}

.rl-card-link {
    font-size: 13px;
    color: #B04703;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rl-card-link:hover {
    text-decoration: underline;
}

/* Controls */
.rl-carousel-nav {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rl-carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.rl-dot-btn {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.rl-dot-pill {
    display: block;
    height: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 8px;
    background: #cfcfcf;
}

.rl-dot-btn.active .rl-dot-pill {
    width: 26px;
    background: #B04703;
}

.rl-carousel-arrows {
    display: flex;
    gap: 10px;
}

.rl-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #242424;
    border: 1px solid #242424;
    color: #fff;
    transition: all 0.2s ease;
}

.rl-arrow-btn:hover:not(:disabled) {
    background: #B04703;
    border-color: #B04703;
}

.rl-arrow-btn:disabled {
    background: #fff;
    border: 1px solid #dcdcdc;
    color: #b5b5b5;
    cursor: default;
}

/* ==========================================================================
   FAQ Section: Sidebar + Accordion
   ========================================================================== */
.rl-faq-section {
    padding: 48px 0 88px;
}

.rl-faq-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

.rl-faq-aside {
    flex: 1 1 240px;
    max-width: 280px;
    position: sticky;
    top: 24px;
}

@media (max-width: 860px) {
    .rl-faq-aside {
        max-width: 100%;
        position: static;
    }
}

.rl-aside-title {
    margin: 0 0 20px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #555;
    font-weight: 600;
}

.rl-cats-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rl-cat-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 0;
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 44px;
    font-size: 15px;
    cursor: pointer;
    background: transparent;
    color: #242424;
    transition: all 0.2s ease;
}

.rl-cat-btn:hover {
    background: #f4f4f4;
}

.rl-cat-btn.active {
    background: #B04703;
    color: #fff;
    font-weight: 500;
}

.rl-cat-count {
    font-size: 12px;
    color: #555;
}

.rl-cat-btn.active .rl-cat-count {
    color: #fff;
}

/* Promo aside note */
.rl-aside-promo {
    margin-top: 32px;
    padding: 22px;
    border-radius: 12px;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
}

.rl-aside-promo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.rl-promo-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #B04703;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rl-promo-link:hover {
    color: #7d3202;
    text-decoration: underline;
}

/* FAQ Content Area */
.rl-faq-main {
    flex: 999 1 560px;
    min-width: 0;
}

.rl-faq-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #242424;
}

.rl-results-count {
    margin: 0;
    font-size: 14px;
    color: #444;
}

.rl-clear-btn {
    background: none;
    border: 0;
    font-size: 13px;
    color: #B04703;
    cursor: pointer;
    padding: 6px 0;
    text-decoration: underline;
}

.rl-empty-state {
    padding: 48px 0;
    text-align: center;
    color: #444;
}

.rl-empty-state p {
    margin: 0;
    font-size: 18px;
}

.rl-empty-state-btn {
    margin-top: 18px;
    background: #B04703;
    color: #fff;
    border: 0;
    border-radius: 30px;
    padding: 12px 26px;
    font-size: 14px;
    cursor: pointer;
}

/* Accordion Item */
.rl-faq-item {
    border-bottom: 1px solid #e2e2e2;
    transition: background-color 0.2s ease;
}

.rl-q-btn {
    width: 100%;
    background: none;
    border: 0;
    padding: 24px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    color: #242424;
}

.rl-q-num {
    flex: 0 0 auto;
    width: 36px;
    font-size: 13px;
    color: #B04703;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.rl-q-text {
    flex: 1;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 400;
    color: #242424;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.rl-q-btn:hover .rl-q-text,
.rl-faq-item.is-open .rl-q-text {
    color: #B04703;
    font-weight: 500;
}

.rl-q-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rl-pill-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #444;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 4px 10px;
}

.rl-q-chev {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
    transform: rotate(0deg);
}

.rl-faq-item.is-open .rl-q-chev {
    transform: rotate(180deg);
}

/* Accordion Body */
.rl-faq-body {
    display: none;
    padding: 0 0 36px 56px;
    animation: rlFadeIn 0.25s ease;
}

.rl-faq-item.is-open .rl-faq-body {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

@keyframes rlFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.rl-answer-col {
    flex: 1 1 340px;
    min-width: 0;
}

.rl-answer-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    font-weight: 300;
}

.rl-answer-text p {
    margin: 0 0 1em;
}

.rl-answer-text p:last-child {
    margin-bottom: 0;
}

.rl-answer-cat {
    margin: 18px 0 0;
    font-size: 13px;
    color: #666;
}

/* Video inside FAQ: Side (Vertical 9:16) */
.rl-faq-video-side {
    flex: 0 0 220px;
}

.rl-video-side-btn {
    display: block;
    width: 220px;
    height: 391px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #e4e4e4;
}

.rl-video-side-btn .rl-poster {
    border-radius: 12px;
}

.rl-video-side-btn .rl-play-circle {
    width: 60px;
    height: 60px;
}

.rl-video-side-btn:hover .rl-play-circle {
    transform: translate(-50%, -50%) scale(1.08);
}

.rl-media-caption {
    margin: 10px 0 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

/* Video inside FAQ: Bottom (Horizontal 16:9) */
.rl-faq-video-bottom {
    flex: 1 1 100%;
    max-width: 720px;
}

.rl-video-bottom-btn {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #e4e4e4;
}

.rl-video-bottom-btn .rl-play-circle {
    width: 72px;
    height: 72px;
}

.rl-video-bottom-btn:hover .rl-play-circle {
    transform: translate(-50%, -50%) scale(1.08);
}

/* Image inside FAQ */
.rl-faq-image-box {
    flex: 1 1 100%;
    max-width: 720px;
    margin: 0;
}

.rl-faq-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    background: #e4e4e4;
}

.rl-faq-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery inside FAQ */
.rl-faq-gallery-box {
    flex: 1 1 100%;
    max-width: 720px;
}

.rl-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 600px) {
    .rl-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rl-gal-thumb-btn {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #e4e4e4;
}

.rl-gal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.rl-gal-thumb-btn:hover img {
    transform: scale(1.06);
}

.rl-gal-label {
    margin: 10px 0 0;
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.rl-cta-section {
    background: #f7f7f7;
    border-top: 1px solid #ebebeb;
}

.rl-cta-inner {
    padding: 64px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.rl-cta-text-box {
    flex: 1 1 460px;
    max-width: 640px;
}

.rl-cta-title {
    margin: 0;
    font-size: 34px;
    font-weight: 400;
    color: #242424;
}

.rl-cta-desc {
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    font-weight: 300;
}

.rl-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rl-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 30px;
    background: #B04703;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.rl-btn-primary:hover {
    background: #7d3202;
}

.rl-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #242424;
    color: #242424 !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rl-btn-secondary:hover {
    background: #242424;
    color: #fff !important;
}

/* ==========================================================================
   Modals: Video & Lightbox
   ========================================================================== */
.rl-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 15, 15, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.rl-modal-backdrop.is-active {
    display: flex;
}

.rl-video-modal-dialog {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.rl-video-modal-dialog.is-v {
    height: min(80vh, 720px);
    aspect-ratio: 9 / 16;
}

.rl-video-modal-dialog.is-h {
    width: min(92vw, 1040px);
    aspect-ratio: 16 / 9;
}

.rl-modal-close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #242424;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    z-index: 10;
}

.rl-modal-close:hover {
    transform: scale(1.1);
}

.rl-video-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rl-video-modal-content iframe,
.rl-video-modal-content video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Lightbox */
.rl-lightbox-dialog {
    position: relative;
    margin: 0;
    width: min(78vw, 980px);
    max-width: 100%;
}

.rl-lightbox-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.rl-lightbox-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rl-lightbox-meta {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    font-size: 14px;
}

.rl-lightbox-nav-btn {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #242424;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.rl-lightbox-nav-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .rl-hero-title {
        font-size: 36px;
    }
    .rl-faq-body {
        padding-left: 0;
    }
    .rl-faq-video-side {
        flex: 1 1 100%;
    }
    .rl-video-side-btn {
        width: 100%;
        max-width: 260px;
    }
    .rl-lightbox-nav-btn {
        width: 40px;
        height: 40px;
    }
}

