/*
Theme Name: Rafting Vjosa Albania
Author: Stavro
Description: A high-performance, conversion-focused theme for Rafting Vjosa Albania.
Version: 2.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rvatours
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Tags: tourism, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/


@font-face {
  font-display: swap;  
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/inter-v19-latin-300.woff2') format('woff2');  
}

@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v19-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap; 
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v19-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;  
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/inter-v19-latin-600.woff2') format('woff2');   
}

@font-face {
  font-display: swap;  
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v19-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/inter-v19-latin-900.woff2') format('woff2'); 
}

/* --- Global Variables & Reset --- */
:root {
    --primary-red: #f5c518;
    --dark-text: #212529;
    --light-text: #ffffff;
    --border-color: #e9ecef;
    --background-light: #f8f9fa;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--background-light);
    color: var(--dark-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Floating Header Styling --- */
/* Every header gets a stacking context so it can sit above the mobile menu
   panel (z-index 995). Templates that make the header static — tour pages,
   for example — would otherwise ignore z-index entirely and be painted over,
   hiding the close (X) button. Lower specificity than .floating-header below,
   so the fixed positioning there still wins. */
.site-header {
    position: relative;
    z-index: 1000;
}

.site-header.floating-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 86%;
    max-width: 450px;
    background-color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.5);
}

.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 1px;
    flex-shrink: 0;
}

.site-header .custom-logo {
    max-height: 40px;
    width: auto;
}

.site-header .desktop-navigation {
    display: none; 
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
}
.header-icon-link svg {
    width: 22px;
    height: 22px;
}
.phone-link { background-color: #007bff; }
.whatsapp-link { background-color: #30b361; }

.site-header .menu-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 0;
}

.site-header 

#content.site-content {
    padding-top: 100px;
}

#content.site-content .hero-section {
    margin-top: -100px;
}
.site-header .taglines-wrapper {
        display: block;
        border-left: 1px solid #dee2e6;
        padding-left: 15px;
    }
    .site-tagline {
        font-size: 11px;
        color: #6c757d;
        font-weight: 500;
        line-height: 1.3;
        margin: 0;
    }
    .site-tagline:first-child {
        margin-bottom: 3px;
    }
    .tagline-one { color: #000; font-size: 15px; }
    .tagline-two { color: #504f4f; font-size: 8px; }

    /* Desktop styles for the floating header */
@media (min-width: 992px) {
    .site-header.floating-header {
        max-width: 1024px;
    }
    .site-header .header-container {
        padding: 0 10px;
    }
    .site-header .site-branding {
        flex-shrink: 1;
    }
    .site-header .taglines-wrapper {
        display: block;
    }
    .site-header .desktop-navigation {
        display: flex; 
        align-items: center;
        margin: 0 auto;
        padding: 0 40px;
    }
    .header-actions {
        display: none; 
    }
    .site-header .menu-toggle {
        display: none;
    }
}

/* --- Hero Section Styling --- */
.hero-section {
    position: relative;
    height: 62vh;
    min-height: 360px;
    max-height: 520px;
    overflow: hidden;
}
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* --- Main Content & Info Card Styling --- */
.main-content-wrapper {
    position: relative;
    z-index: 10;
}

.content-container {
    padding: 0 15px;
}

.info-card {
    background-color: var(--light-text);
    border-radius: 16px;
    padding: 20px 16px;   /* tighter sides: content runs wider inside the card */
    margin-top: -90px;    /* card sits lower so more of the hero photo shows */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}
.tour-title {
    font-size: 23px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 8px 0;
}
.tour-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 20px 0;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.reviews-summary {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.reviews-summary p {
    margin: 4px 0;
}
.reviews-summary .star-icon {
    font-size: 16px;
}

/* --- CTA Button Styling --- */
.cta-buttons {
    display: flex;
    margin-left: 15px;
    margin-right: 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.cta-button {
    flex-basis: 200px;
    flex-grow: 1;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px; 
    text-align: center;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    border-style: solid;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* "Book & Pay Now" button */
.cta-primary {
    background-color: #f5c518; 
    border-color: #f5c518;
    color: #1a1a1a;
    border-radius: 14px;}
.cta-primary:hover {
    background-color: #e0b30f;
    border-color: #e0b30f;
    color: #1a1a1a;
}

/* "Reserve Now, Pay Later" button */
.cta-secondary {
    background-color: #ffffff;  
    border-color: #14401f;  
    color: #14401f;
    border-radius: 14px;}
.cta-secondary:hover {
    background-color: #eaf3ec;
    border-color: #14401f;
    color: #14401f;
}

/* --- CTA Button Icons --- */
.cta-button .button-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}
.cta-primary .button-icon {
    fill: #ffffff;  /
}
.cta-secondary .button-icon {
    fill: #14401f;  
}
.cta-secondary:hover .button-icon {
    fill: #14401f;
}

@media (max-width: 767px) { .features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
}
}
.feature-icon {
    display: inline-flex;
}
.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: #28a745;  
}
@media (min-width: 768px) { .features-list {
    list-style: none;
    display: grid;
    margin: 10px 26px 30px 65px;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
}
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.check-icon {
    color: #274a34;
    font-weight: 700;
}

/* --- Partner Box Section --- */
.partner-box {
    background-color: #f0fff4;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.partner-box p {
    margin: 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: #155724;
}

/* 2 columns on desktop */
@media (min-width: 576px) {
    .partner-box {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Final CTA Section --- */
.final-cta-section {
    padding: 50px 0;
    text-align: center;
}
.final-cta-section h2 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 10px 0;
}
.final-cta-section p {
    margin: 0 0 20px 0;
    color: #6c757d;
    font-size: 15px;
}
.cta-full-width {
    display: block;
    width: 90%;
}

 /* --- Mobile Navigation Menu (Slide-in Panel with Cards) --- */
body.mobile-menu-open {
    overflow: hidden;
}
.menu-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}





/* --- Responsive Styles (Tablet & Desktop) --- */
@media (min-width: 768px) {

     
    .header-container,
    .content-container {
        max-width: 1024px;
        margin: 0 auto;
        padding: 0 25px;
    }

    
    .site-header {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .menu-toggle {
        display: none;
    }

    .desktop-navigation {
        display: block;
    }

    .desktop-menu-list {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
    }

    .desktop-menu-list a {
        text-decoration: none;
        color: var(--dark-text);
        font-weight: 700;
        font-size: 15px;
        transition: color 0.2s ease;
    }

    .desktop-menu-list a:hover {
        color: var(--primary-red);
    }
    
    .desktop-menu-list .menu-item-button a {
        background-color: var(--primary-red);
        color: var(--light-text);
        padding: 10px 20px;
        border-radius: 8px;
    }
    .desktop-menu-list .menu-item-button a:hover {
        background-color: #b02a2a;
        color: var(--light-text);
    }


    
    .hero-section {
        height: 580px;
        max-height: none;
    }

     
    .info-card {
       
        margin-left: auto;
        margin-right: auto;
        margin-top: -150px;
        padding: 40px;
    }

    .tour-title {
        font-size: 36px;
    }

    .features-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-content {
    background-color: var(--light-text);
    padding-top: 40px;
    padding-bottom: 50px;
    min-height: 50vh;  
}

.page-header {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.page-title {
    font-size: 38px;
    font-weight: 900;
    margin: 0;
}

.entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: #343a40;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content a {
    color: var(--primary-red);
    text-decoration: underline;
}

.entry-content a:hover {
    text-decoration: none;
}

.tour-hero {
    height: 40vh; 
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tour-hero-overlay {
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tour-page-title {
    color: var(--light-text);
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    padding: 0 20px;
}

/* --- Tour Layout --- */
.tour-layout {
    padding-top: 40px;
    padding-bottom: 40px;
}

.tour-sidebar {
    margin-top: 30px;
}
.sidebar-details-card {
    background-color: var(--light-text);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.detail-item:last-of-type {
    border-bottom: none;
}
.detail-label {
    font-weight: 500;
    color: #6c757d;
}
.detail-value {
    font-weight: 700;
    font-size: 18px;
}
.detail-value.price {
    color: var(--primary-red);
}

.tour-book-btn {
    margin-top: 25px;
}

/* --- Desktop Layout for Tour Page --- */
@media (min-width: 992px) {
    .tour-layout {
        display: grid;
        grid-template-columns: 2fr 1fr; 
        gap: 40px;
        align-items: flex-start; 
    }
    .tour-sidebar {
        margin-top: 0;
        position: sticky; 
        top: 40px; 
    }
} 


.archive-container {
    padding-top: 40px;
    padding-bottom: 50px;
}

.archive-post-item {
    background-color: var(--light-text);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.archive-post-item .post-text-content {
    padding: 25px;
}

.archive-post-item .post-title {
    margin: 0 0 10px 0;
}

.archive-post-item .post-title a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 24px;
}
.archive-post-item .post-title a:hover {
    color: var(--primary-red);
}

.archive-post-item .post-excerpt p {
    margin: 0;
    color: #495057;
}

@media (min-width: 768px) {
    .archive-post-item {
        display: flex;
    }
    .archive-post-item .post-thumbnail-link {
        flex: 0 0 300px;  
    }
    .archive-post-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* --- Payment Trust Seals --- */
.payment-trust-seals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* --- Payment Trust Seals --- */
@media (min-width: 768px) { 
    .payment-trust-seals {
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}
}


.trust-seal-item.ssl-seal {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
}

.payment-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;  
}

.payment-icon {
    height: 11px;  
    width: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Specific logo styling */
.visa-logo {
    font-weight: bold;
    font-style: italic;
    color: #1a1f71;
}

.paypal-logo {
    font-weight: bold;
    font-style: italic;
    color: #00457C;
}
.paypal-logo span {
    color: #0079C1;
}

.mc-logo {
    font-weight: bold;
    color: #EB001B;
}
.mc-logo span {
    color: #F79E1B;
}
/* --- Header Logo & Tagline Alignment Fix --- */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;  
}

.custom-logo {
    max-height: 50px; 
    width: auto; 
}

/* --- Homepage Intro Section --- */
.home-intro-section {
    padding: 50px 0;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr;  
    gap: 30px;
    align-items: center;
}

.intro-image video {
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Grid cell must not stretch the video past its set height. */
.intro-layout .intro-image {
    align-self: center;
}

.intro-text .section-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 15px 0;
}

.intro-text p {
    font-size: 14px;
    line-height: 1.4;
    color: #495057;
    margin-bottom: 25px;
}

.intro-text .cta-button {
    padding-left: 30px;
    padding-right: 30px;
}


/* --- Responsive layout for the Intro Section --- */
@media (min-width: 768px) {
    .home-intro-section {
        padding: 80px 0;
    }
    
    .intro-layout {
        grid-template-columns: 1fr 1fr;  
        gap: 50px;
    }
}

/* --- Benefits Section --- */
.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header .section-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 10px 0;
}

.section-header .section-subtitle {
    font-size: 17px;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 10px;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    margin-bottom: 60px;
}



.benefit-item {
    text-align: center;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: black;
    border-radius: 50%;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 28px;  
    color: black;  
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.benefit-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* --- Responsive layout for the Benefits Section --- */

@media (min-width: 992px) {
    .benefits-section {
        padding: 80px 0;
    }
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .benefit-item {
        text-align: left;
    }
    .benefit-icon {
        display: flex; 
        margin-left: 0;
        margin-right: auto;
    }
}

/* --- Fine-tune benefits section for small mobile --- */
@media (max-width: 575px) {
    .benefit-item {
        text-align: center;
    }
    .benefit-icon {
        width: 50px;
        height: 50px;
        margin-left: auto;
        margin-right: auto;
    }
    .benefit-icon svg {
        width: 28px;
        height: 28px;
    }
    .benefit-title {
        font-size: 16px;
    }
    .benefit-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    .benefits-grid {
        gap: 15px;
    }
}

/* --- Adventures Section --- */
.adventures-section {
    background-color: var(--background-light);
    margin-bottom: 50px;
}

.team-section {
    margin-bottom: 50px;
}

/* Card styling is universal */
.adventure-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 400px;
    padding: 25px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adventure-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.adventure-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.adventure-card .card-content {
    position: relative;
    z-index: 2;
}
.adventure-card h3 { font-size: 24px; font-weight: 700; margin: 0 0 5px 0; }
.adventure-card p { margin: 0 0 15px 0; font-size: 16px; }
.card-button { font-weight: 700; text-decoration: underline; }

/* Slider-specific styles */
.adventures-slider {
    padding-bottom: 40px !important; 
    overflow: visible; 
}

 
@media (min-width: 768px) {
    .adventures-section {
        padding: 80px 0;
    }
     
    .adventures-slider .swiper-wrapper {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    /* Give each card a width on desktop */
    .adventures-slider .swiper-slide {
        width: 350px !important; 
    }
    /* Hide slider dots on desktop */
    .adventures-slider .swiper-pagination {
        display: none;
    }
}

/* --- FAQ Section --- */
.faq-section {
    padding: 10px 0;
}

/* =========================================================
   FAQ — cards, not plain rules
   ========================================================= */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    max-width: 800px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8eced;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: #d4dcd6; }
.faq-item.is-active {
    border-color: rgba(20, 64, 31, 0.3);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.faq-question {
    align-items: center;
    background: none;
    border: none;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 16.5px;
    font-weight: 700;
    gap: 14px;
    justify-content: space-between;
    letter-spacing: -0.01em;
    line-height: 1.35;
    padding: 18px 18px;
    text-align: left;
    width: 100%;
}
.faq-item.is-active .faq-question { color: #14401f; }

/* Round tinted chip instead of a bare + character */
.faq-icon {
    align-items: center;
    background: #eaf3ec;
    border-radius: 50%;
    color: #14401f;
    display: flex;
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    height: 32px;
    justify-content: center;
    line-height: 1;
    transition: transform 0.3s ease, background-color 0.2s ease;
    width: 32px;
}
.faq-item.is-active .faq-icon {
    background: #14401f;
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.faq-item.is-active .faq-answer {
    max-height: 1200px;   /* was 200px, which clipped the longer answers */
}

.faq-answer p {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
    padding: 0 18px 18px;
}
.faq-answer ul {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.6;
    margin: 10px 0 0;
    padding-left: 20px;
}
.faq-answer li { margin-bottom: 7px; }

@media (min-width: 768px) {
    .faq-question { font-size: 18px; padding: 21px 22px; }
    .faq-answer p { font-size: 16px; padding: 0 22px 21px; }
}

.tour-at-a-glance {
    background-color: var(--background-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}
.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 25px;
}
.glance-item {
    text-align: center;
}
.glance-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 10px;
}
.glance-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
}
.glance-value {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

/* Main Content Area */
.tour-details-content {
    padding-bottom: 30px;
}
.tour-details-content .entry-content {
    margin-bottom: 40px;
}

.tour-includes-card {
    background-color: #f0fff4;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 25px;
}
.tour-includes-card h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
}
.tour-includes-card ul {
    list-style: '✅ '; 
    padding-left: 20px;
    margin: 0;
}
.tour-includes-card ul li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.tour-page-cta {
    background-color: var(--background-light);
}

@media (min-width: 768px) {
    .glance-grid {
        grid-template-columns: repeat(4, 1fr); 
    }
}
@media (min-width: 992px) {
    .tour-details-content {
        display: grid;
        grid-template-columns: 2fr 1fr; 
        gap: 40px;
        align-items: flex-start;
    }
    .tour-details-content .entry-content {
        margin-bottom: 0;
    }
}

.single-post-container {
    max-width: 750px; 
    margin-top: 30px;
}

.single-post-container .entry-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
}

.single-post-container .entry-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 10px 0;
}

.single-post-container .entry-meta {
    font-size: 14px;
    color: #6c757d;
}

.single-post-container .entry-meta span {
    margin: 0 10px;
}

.single-post-container .post-thumbnail {
    margin-bottom: 30px;
}

.single-post-container .post-thumbnail img {
    border-radius: 8px;
}

/* Inherit styles from the page template for content */
.single-post-container .entry-content {
    font-size: 17px;
    line-height: 1.7;
    color: #343a40;
}
.single-post-container .entry-content p,
.single-post-container .entry-content ul,
.single-post-container .entry-content ol,
.single-post-container .entry-content blockquote {
    margin-bottom: 20px;
}
.single-post-container .entry-content h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.single-post-container .entry-content a {
    color: var(--primary-red);
    text-decoration: underline;
}

.single-post-container .entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.tags-links a {
    background-color: #f1f1f1;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    margin-right: 5px;
}
.tags-links a:hover {
    background-color: var(--primary-red);
    color: var(--light-text);
}

/* --- Related Posts Section --- */
.related-posts {
    max-width: 1024px;
    margin: 20px auto;
}

.related-posts-title {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.related-post-item {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.related-post-item a {
    text-decoration: none;
    color: var(--dark-text);
}

.related-post-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    padding: 20px;
    margin: 0;
}

@media (min-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* --- 404 Page & Search Form Styling --- */

.error-404-container {
    text-align: center;
    padding: 60px 0;
    min-height: 50vh;
}

.error-title {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    margin: 0;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
}

.error-text {
    font-size: 17px;
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.search-field {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
}
.search-field:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: -1px;
}

.search-submit {
    padding: 12px 20px;
    border: 1px solid var(--primary-red);
    background-color: var(--primary-red);
    color: var(--light-text);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

.error-404-container .cta-button {
    display: inline-block;
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.kayak-page .tour-includes-card {
    background-color: #eaf2ff;
    border-color: #b8daff;
}

/* --- Booking Assurance Section (New) --- */
.booking-assurance-section {
    padding: 15px 10px 4px 10px; 
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(to right, #ffffff, #ffa96b);
    border-radius: 15px;
    padding: 10px;
    max-width: 500px;
    margin: 0 auto;
    
}

.guarantee-icon {
    flex-shrink: 0;
}
.guarantee-icon svg {
    width: 40px;
    height: 40px;
    color: #d46a29; 
}

.guarantee-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #5c4b41;
}

.guarantee-text a {
    font-weight: 700;
    color: #333;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.guarantee-text a:hover {
    color: #000;
}

@media (min-width: 768px) {
    .how-it-works {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Our Team Page --- */
.team-page-header {
    text-align: center;
    padding-top: 40px;
    margin-bottom: 50px;
}

.team-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 50px;
}

.team-member-card {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.team-member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--light-text);
    box-shadow: 0 0 0 2px var(--primary-red);
}
.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.member-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.member-role {
    color: var(--primary-red);
    font-weight: 600;
    margin: 0 0 15px 0;
}
.member-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 20px 0;
}
.member-socials a {
    display: inline-block;
    color: #888;
    text-decoration: none;
    font-weight: bold;
    margin: 0 5px;
    transition: color 0.2s ease;
}
.member-socials a:hover {
    color: var(--primary-red);
}


@media (min-width: 576px) {
    .team-page-grid {
        grid-template-columns: repeat(2, 1fr);  
    }
}

@media (min-width: 992px) {
    .team-page-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

.team-slider {
    padding-bottom: 50px; 
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-red) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-red) !important; 
}

/* --- What to Expect Accordion --- */
.what-to-expect-accordion {
    margin-top: -10px;
    margin-bottom: 17px;
    border-bottom: 1px solid var(--border-color);
    max-width: 450px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: hidden;
}

.expect-toggle {
    display: flex;
    font-family: var(--font-sans);
    
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    margin-left: -7px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: black;
    cursor: pointer;
    text-align: left;
}

.expect-toggle .expect-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.expect-details {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.what-to-expect-accordion.is-open .expect-details {
    max-height: 500px; 
    padding-bottom: 20px;
}

.expect-details ul {
    list-style: none;
    padding: 10px 15px 0 20px;
    margin: 0;
    color: rgba(0, 0, 0, 0.9);
}

.expect-details li {
    padding-left: 5px;
    margin-bottom: 8px;
    font-size: 14px;
}

.toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.toggle-arrow {
    transition: transform 0.3s ease-in-out;
}
.toggle-arrow svg {
    margin-top: 3px;
    width: 20px;
    height: 20px;
}

/* This rotates the arrow when the accordion is open */
.what-to-expect-accordion.is-open .toggle-arrow {
    transform: rotate(90deg);
}

.space-for-below-ac {
    margin-top: 20px;
    margin-bottom: -15px;
}

.header-review-arrow {
    width: 20px;
    height: 20px;
    fill: #888; 
    transition: transform 0.2s ease;
    margin-left: 5px;
}

#review-badge-container:hover .header-review-arrow {
    transform: translateX(3px); 
}

/* --- Trustindex Reviews Widget Section --- */
.reviews-widget-section {
    padding: 35px 0;
    background-color: var(--background-light); 
}

.reviews-widget-wrapper {
    max-width: 1100px;  
    margin: 0 auto;
}

/* =========================================================
   FOOTER — same layout, proper separation and styling
   ========================================================= */

.site-footer {
    background-color: #14401f;   /* dark green anchor, clearly separate from the page */
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    margin-top: 60px;
    padding: 0;
}

/* A thin amber rule marks where the content ends and the footer begins. */
.site-footer::before {
    background: linear-gradient(90deg, #f5c518 0%, #14401f 100%);
    content: "";
    display: block;
    height: 3px;
    width: 100%;
}

.footer-grid {
    display: grid;
    gap: 34px 30px;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 44px 22px 34px;
}

.footer-widget-title {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}
.footer-widget-title::after {
    background: #f5c518;
    border-radius: 2px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 26px;
}

/* Map spans both columns on mobile/tablet */
.footer-column.footer-map { grid-column: 1 / -1; }

/* Contact list */
.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li { margin-bottom: 10px; }
.contact-info-list a {
    align-items: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    gap: 11px;
    padding: 7px 9px 7px 0;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
    word-break: break-word;
}
.contact-info-list a:hover { color: #f5c518; transform: translateX(3px); }
.footer-icon {
    fill: #f5c518;
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

/* Services list */
.service-links-list { list-style: none; margin: 0; padding: 0; }
.service-links-list li { margin-bottom: 4px; }
.service-links-list a {
    color: rgba(255, 255, 255, 0.86);
    display: inline-block;
    padding: 7px 0;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}
.service-links-list a:hover { color: #f5c518; transform: translateX(3px); text-decoration: none; }

/* Map */
.footer-map .map-embed-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
}
.footer-map .map-embed-wrapper iframe { border: 0; height: 100%; width: 100%; min-height: 220px; }

/* Sub-footer */
.sub-footer {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    font-size: 13px;
    gap: 10px;
    margin: 0 22px;
    padding: 20px 0 26px;
    text-align: center;
}
.sub-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.18s ease;
}
.sub-footer a:hover { color: #f5c518; text-decoration: none; }

@media (min-width: 768px) {
    .footer-grid { padding: 54px 30px 40px; }
    .sub-footer { margin: 0 30px; }
}

/* Responsive Footer Layout */
@media (min-width: 768px) {
    .sub-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1.5fr;
        max-width: 1080px;
        margin: 0 auto;
        padding: 58px 20px 42px;
    }
    .footer-column.footer-map { grid-column: auto; }
    .sub-footer { margin: 0 auto; max-width: 1080px; }
}

/* --- Footer Bottom Separator ---
   Retired: the footer now provides its own separation (top margin plus an
   amber gradient rule). Kept as a no-op so any cached markup stays tidy. */
.footer-bottom-separator {
    display: none;
}

#review-badge-container:hover {
    transform: scale(1.05);
}

/* --- Rafting Vjosa Refund Policy Page (New Design) --- */
.rv-refund-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.rv-refund-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.rv-refund-guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
}
.rv-refund-guarantee-badge svg {
    width: 28px;
    height: 28px;
    fill: #555;
}
.rv-refund-dark-box {
    background-color: #212529;
    color: #fff;
    padding: 20px 35px;
    text-align: center;
    border-radius: 16px;
}
.rv-refund-dark-box h2 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 15px 0;
}
.rv-refund-dark-box p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}
.rv-refund-badge-container {
    display: flex;
    justify-content: center;
    margin-top: -35px;
    position: relative;
}
.rv-refund-badge {
    background-color: #f7b731;
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #fff;
}
.rv-badge-title {
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
}
.rv-badge-stars {
    color: rgba(255,255,255,0.9);
}
.rv-badge-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
}
.rv-refund-text-section {
    padding: 60px 0;
    text-align: left;
    max-width: 650px;
    margin: 0 auto;
}
.rv-refund-text-section h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}
.rv-refund-text-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}
.rv-refund-request-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
}
.rv-request-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rv-request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.rv-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.rv-card-icon svg {
    width: 24px;
    height: 24px;
}
.rv-online-icon { background-color: #fff0d4; color: #e6a23c; }
.rv-email-icon { background-color: #e6f7eb; color: #2e7d32; }
.rv-chat-icon { background-color: #e7f3ff; color: #007bff; }
.rv-request-card h4 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}
.rv-refund-faq-section {
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}
.rv-refund-faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}
@media (min-width: 768px) {
    .rv-refund-request-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

 /* --- Refund Form Modal --- */
    .refund-modal-backdrop, .refund-modal {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .refund-modal-backdrop.is-open, .refund-modal.is-open {
        opacity: 1;
        visibility: visible;
    }
    .refund-modal-backdrop {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-color: rgba(0,0,0,0.6);
        z-index: 1999;
    }
    .refund-modal {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
        background-color: #fff;
        border-radius: 12px;
        z-index: 2000;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    }
    .refund-modal-close {
        position: absolute;
        top: 10px; right: 20px;
        font-size: 30px; font-weight: bold; color: #888;
        background: none; border: none; cursor: pointer;
    }
    .refund-modal-content {
        padding: 30px;
    }
    .refund-modal-content h2 {
        text-align: center;
        margin-top: 0;
    }



/* ============================================================
   REDESIGNED TOUR PAGES  (Rafting + Kayak)
   Scoped to  body.rva-tour-template  so other pages are unaffected.
   ============================================================ */

/* --- Header: full-width, white, NOT floating on tour pages --- */
body.rva-tour-template .site-header.floating-header {
    position: relative;   /* not static: z-index must apply so the menu's X stays visible */
    z-index: 1000;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border: none;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 1px 10px rgba(0,0,0,0.07);
    padding: 10px 0;
}
body.rva-tour-template .site-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header is static now, so remove the fixed-header offset */
body.rva-tour-template #content.site-content {
    padding-top: 0;
}

/* --- Page wrapper --- */
.rva-tour-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 20px 70px;
    box-sizing: border-box;
}

/* --- Grid: single column on mobile, 2 columns on desktop --- */
.rva-tour-grid {
    display: grid;
    grid-template-columns: 1fr;
}
.rva-tour-grid > * {
    min-width: 0;
}

/* Mobile source order */
.rva-gallery        { order: 1; }
.rva-tour-title     { order: 2; }
.rva-separator      { order: 3; }
.rva-book-anchor    { order: 4; }
.rva-reviews        { order: 5; }
.rva-tour-desc      { order: 6; }
.rva-booking        { order: 7; }
.rva-tour-location  { order: 8; }

/* --- Title --- */
.rva-tour-title {
    font-size: 27px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    margin: 22px 0 0;
}

/* --- Separator (short + thick) --- */
.rva-separator {
    width: 18%;
    min-width: 64px;
    max-width: 110px;
    height: 5px;
    border: none;
    border-radius: 3px;
    background: #f5c518;
    margin: 14px 0 20px;
}

/* --- Mobile "Book Now" anchor button --- */


/* --- Google reviews block --- */
.rva-reviews { margin-bottom: 22px; }
.rva-reviews a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #202124;
    transition: transform .2s ease;
}
.rva-reviews a:hover { transform: translateY(-1px); }
.rva-reviews img { height: 18px; width: 18px; }
.rva-reviews .rva-reviews-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.rva-reviews .rva-stars { color: #f5c518; font-size: 16px; }
.rva-reviews .rva-reviews-sep { color: #5f6368; }
.rva-reviews .rva-reviews-count { color: #5f6368; }
.rva-reviews .rva-reviews-arrow { width: 18px; height: 18px; }

/* --- Gallery slider --- */
.rva-gallery {
    position: relative;
    overflow: hidden;
    background: #1e293b;
}
.rva-gallery-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
}
.rva-gallery-slide {
    flex: 0 0 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.rva-gallery-arrow {
    display: none; /* hidden on mobile - swipe instead */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    align-items: center;
    justify-content: center;
    transition: background .25s ease;
}
.rva-gallery-arrow:hover { background: rgba(0,0,0,0.8); }
.rva-gallery-prev { left: 14px; }
.rva-gallery-next { right: 14px; }
.rva-gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.rva-gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}
.rva-gallery-dot.active {
    background: #f5c518;
    transform: scale(1.3);
}

/* Mobile: gallery is full-bleed, flush under the header */
@media (max-width: 991px) {
    .rva-tour-wrapper { padding: 0 16px 56px; }
    .rva-gallery {
        margin: 0 -16px;
        border-radius: 0;
    }
}

/* --- Description --- */
.rva-tour-desc {
    line-height: 1.8;
    color: #334155;
}
.rva-tour-desc h2,
.rva-tour-location h2 {
    font-size: 21px;
    color: #0f172a;
    margin: 0 0 12px;
}
.rva-tour-desc h2:not(:first-child),
.rva-tour-desc h3 {
    margin-top: 26px;
}

/* --- Accordions (What's Included / What to Bring) --- */
.rva-tour-accordions {
    margin-top: 26px;
    border-top: 1px solid #e2e8f0;
}
.rva-tour-accordions .accordion-item {
    border-bottom: 1px solid #e2e8f0;
}
.rva-tour-accordions .accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
}
.rva-tour-accordions .accordion-icon {
    font-size: 20px;
    color: #b8930a;
    transition: transform .3s ease;
}
.rva-tour-accordions .accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}
.rva-tour-accordions .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.6;
}
.rva-tour-accordions .accordion-content ul {
    padding-left: 20px;
    margin: 0 0 15px;
}

/* --- Our Location (tour page) --- */
/* Base type matches .rva-tour-desc so the H2 renders identically. */
.rva-tour-location {
    line-height: 1.8;
    color: #334155;
    margin-top: 34px;
}
.rva-map-embed {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    height: 300px;
    background: #f1f5f9;
}
.rva-map-embed iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}

/* --- Booking column --- */
.rva-booking-heading {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 26px 0 14px;
}

/* --- Guarantee (de-boxed) --- */




/* ============================================================
   DESKTOP layout for tour pages
   ============================================================ */
@media (min-width: 992px) {
    .rva-tour-grid {
        grid-template-columns: 1.85fr 1fr;
        column-gap: 46px;
        align-items: start;
    }

    /* Left column - explicit stacking order */
    .rva-tour-title      { grid-column: 1; grid-row: 1; margin-top: 6px; font-size: 33px; }
    .rva-separator       { grid-column: 1; grid-row: 2; }
    .rva-reviews         { grid-column: 1; grid-row: 3; }
    .rva-gallery         { grid-column: 1; grid-row: 4; border-radius: 14px; margin-bottom: 26px; }
    .rva-tour-desc       { grid-column: 1; grid-row: 5; }

    /* Desktop gallery is taller */
    .rva-gallery-slide   { height: 440px; }
    .rva-gallery-arrow   { display: flex; }

    /* The mobile-only jump button is hidden on desktop */
    .rva-book-anchor { display: none; }

    /* Right column - sticky booking box */
    .rva-booking {
        grid-column: 2;
        grid-row: 1 / span 5;
        align-self: start;
        position: sticky;
        top: 24px;
    }

    /* Our Location sits directly under the booking box, same column */
    .rva-tour-location {
        grid-column: 2;
        grid-row: 6;
        margin-top: 30px;
    }

    /*
     * Prefer the map full-width across both columns instead? Swap the block
     * above for:
     *     .rva-tour-location { grid-column: 1 / -1; grid-row: 6; margin-top: 46px; }
     *     .rva-map-embed { height: 380px; }
     */
}


/* =========================================================
   Accessibility & fallback template styles
   Added so that the markup WordPress expects from a theme
   (skip link, screen-reader text, search form, comments)
   has somewhere to land.
   ========================================================= */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #0f172a;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 14px 22px;
    text-decoration: none;
    top: 6px;
    width: auto;
    z-index: 100000;
}

/* --- Search form (searchform.php) --- */
.rva-search-form {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px auto 32px;
    max-width: 480px;
    width: 100%;
}
.rva-search-field {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex: 1 1 auto;
    font-size: 16px;
    min-width: 0;
    padding: 12px 14px;
}
.rva-search-field:focus {
    border-color: #f5c518;
    outline: 2px solid rgba(245, 197, 24, 0.25);
    outline-offset: 1px;
}
.rva-search-submit {
    background-color: #f5c518;
    border: 0;
    border-radius: 14px;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 20px;
}
.rva-search-submit:hover {
    background-color: #e0b30f;
}

/* --- Comments (comments.php) --- */
.comments-area {
    border-top: 1px solid #e2e8f0;
    margin-top: 48px;
    padding-top: 32px;
}
.comments-title {
    font-size: 22px;
    margin-bottom: 24px;
}
.comment-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}
.comment-list ol.children {
    list-style: none;
    margin-left: 24px;
    padding: 0;
}
.comment-list li article,
.comment-list li .comment-body {
    border-bottom: 1px solid #f1f5f9;
    padding: 18px 0;
}
.comment-list .avatar {
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
}
.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px 12px;
    width: 100%;
}
.comment-form .submit {
    background-color: #f5c518;
    border: 0;
    border-radius: 14px;
    color: #1a1a1a;
    cursor: pointer;
    font-weight: 600;
    padding: 12px 24px;
}
.no-comments {
    color: #64748b;
    font-style: italic;
}

/* --- Optional footer widget area --- */
.footer-widgets {
    margin-top: 32px;
}
.footer-widgets .widget {
    margin-bottom: 24px;
}

/* =========================================================
   Tour archive  ( /tour/ )
   ========================================================= */

.rva-tour-archive-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    margin: 32px 0 48px;
}
@media (min-width: 640px) {
    .rva-tour-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .rva-tour-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

.rva-tour-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rva-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.rva-tour-card-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.rva-tour-card-media {
    aspect-ratio: 16 / 10;
    background: #f8fafc;
    overflow: hidden;
}
.rva-tour-card-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.rva-tour-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    padding: 22px;
}
.rva-tour-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #0f172a;
}
.rva-tour-card-excerpt {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.rva-tour-card-price {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    margin-top: auto;
}
.rva-tour-card-cta {
    color: #14401f;
    font-size: 15px;
    font-weight: 600;
}

/* Optional duration / difficulty facts on a tour page */
.rva-tour-facts {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}
.rva-tour-facts li {
    color: #475569;
    font-size: 15px;
}

/* =========================================================
   Booking box: prices, sections, action buttons
   ========================================================= */

.rva-booking {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    padding: 24px;
}

/* --- Prices --- */
.rva-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.rva-price {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    display: flex;
    flex: 1 1 130px;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
}
.rva-price-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.rva-price-value {
    color: #0f172a;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

/* --- Action buttons --- */
.rva-book-actions {
    margin-top: 22px;
}

.rva-book-btn:hover { transform: translateY(-1px); }
.rva-book-btn:focus-visible {
    outline: 3px solid rgba(245, 197, 24, 0.4);
    outline-offset: 2px;
}





/* --- "or" divider between the two buttons --- */
.rva-book-or {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 14px 0;
}
.rva-book-or::before,
.rva-book-or::after {
    background-color: #e2e8f0;
    content: "";
    flex: 1 1 auto;
    height: 1px;
}
.rva-book-or span {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
}

/* =========================================================
   Booking modal (holds the Forminator form)
   ========================================================= */

.rva-modal[hidden] { display: none; }

.rva-modal {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}
.rva-modal-backdrop {
    background: rgba(15, 23, 42, 0.6);
    inset: 0;
    position: absolute;
}
.rva-modal-dialog {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    left: 50%;
    max-height: 90vh;
    max-width: 720px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 26px 32px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
}
.rva-modal-close {
    background: #f1f5f9;
    border: 0;
    border-radius: 50%;
    color: #0f172a;
    cursor: pointer;
    font-size: 24px;
    height: 36px;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 36px;
}
.rva-modal-close:hover { background: #e2e8f0; }
.rva-modal-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 44px 20px 0;
    color: #0f172a;
}
.rva-modal-body { min-height: 60px; }
.rva-form-missing {
    background: #fef2f2;
    border-radius: 8px;
    color: #b91c1c;
    padding: 14px;
}

body.rva-modal-open { overflow: hidden; }

@media (max-width: 640px) {
    .rva-modal-dialog {
        border-radius: 14px;
        max-height: 92vh;
        padding: 24px 18px 28px;
    }
    .rva-price-value { font-size: 23px; }
}

/* --- Tour page: breathing room before the booking box, and the
       booking-box buttons using the shared .rva-cta rectangle. --- */
.rva-booking {
    margin-top: 34px;
}
@media (min-width: 992px) {
    /* On desktop the box is a sticky sidebar column, so the gap is not needed. */
    .rva-booking { margin-top: 0; }
}

.rva-book-actions .rva-cta,
.rva-book-actions .rva-book-btn {
    width: 100%;
}
/* The solo "Book Now" jump button sits inline at its natural width,
   like it did before — only the buttons inside the booking box go
   full width. */
.rva-book-anchor.rva-cta {
    display: inline-flex;
    margin: 0 0 22px;
    min-height: 52px;
    padding: 10px 22px;
    width: auto;
}

/* Breathing room between the last booking button and the guarantee. */
.rva-booking .rva-guarantee-panel {
    margin-top: 22px;
}

/* =========================================================
   MOBILE NAVIGATION
   Slides up from the bottom to just below the header, which
   stays visible. Hamburger morphs into an X; closing slides
   the panel back down.
   ========================================================= */

/* --- The toggle: three bars that become an X --- */
.menu-toggle {
    align-items: center;
    background: none;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 44px;
    z-index: 1001;   /* never covered by the sliding panel */
}
.menu-toggle-bars {
    display: block;
    height: 16px;
    position: relative;
    width: 24px;
}
.menu-toggle-bars span {
    background-color: #14401f;
    border-radius: 2px;
    display: block;
    height: 2.5px;
    left: 0;
    position: absolute;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.18s ease,
                top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6.75px; }
.menu-toggle-bars span:nth-child(3) { top: 13.5px; }

.menu-toggle.is-active .menu-toggle-bars span:nth-child(1) {
    top: 6.75px;
    transform: rotate(45deg);
}
.menu-toggle.is-active .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
}
.menu-toggle.is-active .menu-toggle-bars span:nth-child(3) {
    top: 6.75px;
    transform: rotate(-45deg);
}

/* --- Backdrop --- */
.menu-backdrop {
    background: rgba(10, 20, 12, 0.45);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.3s ease;
    z-index: 990;
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* --- The panel --- */
.mobile-nav-panel {
    -webkit-overflow-scrolling: touch;
    background: #fff;
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;                            /* background covers to the very top... */
    padding-top: var(--rva-header-h, 108px); /* ...content starts below the header */
    transform: translateY(100%);       /* parked below the fold */
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0.42s;
    visibility: hidden;
    /* Sits above the page but BELOW the floating header (z-index 1000), so the
       logo and hamburger stay visible and clickable while it is open. */
    z-index: 995;
}
.mobile-nav-panel.is-open {
    transform: translateY(0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s linear 0s;
    visibility: visible;
}

.mobile-nav-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 100%;
    padding: 30px 22px 40px;
    width: 100%;
}
.mobile-nav-cta,
.mobile-nav-contact {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

/* --- The menu itself: bold and typographic --- */
.mobile-menu-list,
.mobile-nav-panel .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-list li,
.mobile-nav-panel .menu li {
    border-bottom: 1px solid #eef1ef;
    margin: 0;
}
.mobile-menu-list > li:last-child,
.mobile-nav-panel .menu > li:last-child { border-bottom: 0; }

.mobile-menu-list a,
.mobile-nav-panel .menu a {
    color: #14401f;
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    padding: 17px 0;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}
.mobile-menu-list a:hover,
.mobile-menu-list .current-menu-item > a,
.mobile-nav-panel .menu a:hover {
    color: #0e2d16;
    transform: translateX(5px);
}

/* Sub-items sit quieter beneath their parent. */
.mobile-menu-list .sub-menu {
    list-style: none;
    margin: 0 0 12px;
    padding: 0 0 0 14px;
}
.mobile-menu-list .sub-menu li { border-bottom: 0; }
.mobile-menu-list .sub-menu a {
    color: #64748b;
    font-size: 17px;
    font-weight: 600;
    padding: 9px 0;
}

/* Staggered entrance for the links once the panel is up. */
.mobile-nav-panel.is-open .mobile-menu-list > li,
.mobile-nav-panel.is-open .menu > li {
    animation: rvaNavIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(1) { animation-delay: 0.10s; }
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(3) { animation-delay: 0.20s; }
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(5) { animation-delay: 0.30s; }
.mobile-nav-panel.is-open .mobile-menu-list > li:nth-child(6) { animation-delay: 0.35s; }

@keyframes rvaNavIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Footer bits inside the panel --- */
.mobile-nav-cta .rva-cta { width: 100%; }

.mobile-nav-contact a {
    align-items: center;
    color: #14401f;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 9px;
    text-decoration: none;
}
.mobile-nav-contact svg { height: 20px; width: 20px; }

body.mobile-menu-open { overflow: hidden; }

/* Desktop keeps its own navigation. */
@media (min-width: 992px) {
    .mobile-nav-panel,
    .menu-backdrop { display: none; }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-panel { transition: none; }
    .mobile-nav-panel.is-open .mobile-menu-list > li,
    .mobile-nav-panel.is-open .menu > li { animation: none; }
    .menu-toggle-bars span { transition: none; }
}
