/* Pahadi House Button Overrides */
.btn-default-prime {
    background: #1b6635 !important;
    color: #ffffff !important;
}
.btn-default-prime::before {
    background-color: #d8a627 !important;
    background-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/arrow-primary.svg') !important;
}
.btn-default-prime:hover {
    color: #ffffff !important;
}
.btn-default-prime:hover::after {
    background: #d8a627 !important;
}
.btn-default-prime:hover::before {
    background-color: #fff !important;
}

/* Hero subtitle - Pahadi yellow */
.hero-prime .section-title h3 {
    color: #d8a627 !important;
}
.hero-prime .section-title h3::before {
    background-image: none !important;
    background-color: #d8a627 !important;
    -webkit-mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
}

/* Custom cursor - Pahadi green */
.cb-cursor:not(.-text):not(.-opaque):not(.-exclusion):before {
    background: #1b6635 !important;
}

/* About Us - yellow subheading and star icon */
.about-us-royal .section-title h3 {
    color: #d8a627 !important;
}
.about-us-royal .section-title h3::before {
    background-image: none !important;
    background-color: #d8a627 !important;
    -webkit-mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
}

/* About Us - green bullet points */
.about-body-list-royal ul li::before {
    color: #1b6635 !important;
}

/* About client box - green background */
.about-client-box-royal {
    background-color: #1b6635 !important;
}
.about-client-box-royal p,
.about-client-box-royal h3 {
    color: #ffffff !important;
}

/* About client box - 4th counter box yellow */
.satisfy-client-image-royal.add-more {
    background: #d8a627 !important;
}
.satisfy-client-image-royal.add-more h3 {
    color: #ffffff !important;
}


/* Our Mountain Stays (homepage glamping section on home-v3) — yellow subheading */
/* Matches the About Pahadi House label color (#d8a627). */
/* The default leaf ::before icon is hidden because the user added a literal '✦' character to the heading text. */
.our-services .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.our-services .section-title h3::before {
    display: none !important;
}


/* Mountain Stays footer CTA link — Pahadi yellow to match the top heading */
.our-services .section-footer-text p a {
    color: #d8a627 !important;
}
.our-services .section-footer-text p a:hover {
    color: #1b6635 !important;
}


/* Mountain Stays footer CTA — bump text size by 6px (16px → 22px) */
.our-services .section-footer-text p {
    font-size: 22px !important;
    line-height: 1.5em !important;
}


/* Pahadi Experiences (Services Royal section on home-v3) — yellow heading + CTA, emoji icon sizing */
.our-services-royal .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.our-services-royal .section-title h3::before {
    display: none !important;
}
.our-services-royal .section-footer-text p {
    font-size: 22px !important;
    line-height: 1.5em !important;
}
.our-services-royal .section-footer-text p a {
    color: #d8a627 !important;
}
.our-services-royal .section-footer-text p a:hover {
    color: #1b6635 !important;
}
.our-services-royal .icon-box {
    font-size: 22px;
    line-height: 1;
}


/* Pahadi Experiences swiper — equal-height cards with bottom-aligned Read More buttons */
.our-services-royal .swiper-wrapper {
    align-items: stretch !important;
}
.our-services-royal .swiper-slide {
    height: auto !important;
    display: flex !important;
}
.our-services-royal .swiper-slide .service-item-royal {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    width: 100%;
    margin-bottom: 0 !important;
}
.our-services-royal .service-content-body-royal {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.our-services-royal .service-btn-royal {
    margin-top: auto;
    padding-top: 15px;
}


/* Pahadi Experiences — icon-box, pagination dots in Pahadi yellow; Read More button green w/ white text */
.our-services-royal .service-image-royal .icon-box {
    background-color: #d8a627 !important;
}
.our-services-royal .service-item-royal:hover .service-image-royal .icon-box {
    background-color: #ffffff !important;
}
.our-services-royal .services-slider .service-pagination .swiper-pagination-bullet {
    background: #d8a627 !important;
    opacity: 0.4;
}
.our-services-royal .services-slider .service-pagination .swiper-pagination-bullet-active {
    background: #d8a627 !important;
    opacity: 1;
}
.our-services-royal .services-slider .service-pagination .swiper-pagination-bullet-active:before {
    border-color: #d8a627 !important;
}
.our-services-royal .btn-default-royal {
    background: #1b6635 !important;
    color: #ffffff !important;
}
.our-services-royal .btn-default-royal:hover {
    color: #ffffff !important;
}
.our-services-royal .btn-default-royal::before {
    filter: brightness(0) invert(1) !important;
}
.our-services-royal .btn-default-royal::after {
    background: #d8a627 !important;
}


/* Pahadi Way (Why Choose Us) - yellow subheading */
.why-choose-us-prime .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.why-choose-us-prime .section-title h3::before {
    display: none !important;
}


/* Pahadi Way - 10+ Years stat badge: green background, white text */
.why-choose-us-prime .why-choose-year-counter-prime {
    background: #1b6635 !important;
}
.why-choose-us-prime .why-choose-year-counter-prime h2,
.why-choose-us-prime .why-choose-year-counter-prime h3,
.why-choose-us-prime .why-choose-year-counter-prime .counter {
    color: #ffffff !important;
}


/* Guest Stories (Testimonials) — yellow subheading, hide default leaf icon */
.our-testimonials-prime .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.our-testimonials-prime .section-title h3::before {
    display: none !important;
}

/* Guest Stories — star ratings in Pahadi yellow */
.testimonial-rating-star-prime i {
    color: #d8a627 !important;
}

/* Guest Stories — bottom CTA link in Pahadi yellow */
.our-testimonials-prime .section-footer-text p a {
    color: #d8a627 !important;
}
.our-testimonials-prime .section-footer-text p a:hover {
    color: #1b6635 !important;
}

/* Guest Stories — CTA icon span background in Pahadi yellow */
.our-testimonials-prime .section-footer-text.section-footer-contact span {
    background: #d8a627 !important;
    border-radius: 50%;
}

/* Guest Stories — bump CTA text size to match other sections */
.our-testimonials-prime .section-footer-text p {
    font-size: 22px !important;
    line-height: 1.5em !important;
}


/* Guest Stories — align testimonial cards: fixed logo & title heights */
.our-testimonials-prime .testimonial-header-prime {
    min-height: 50px;
    align-items: center;
}
.our-testimonials-prime .testimonial-logo-prime {
    height: 41px;
    display: flex;
    align-items: center;
}
.our-testimonials-prime .testimonial-logo-prime img {
    max-height: 41px;
    width: auto;
    object-fit: contain;
}
.our-testimonials-prime .testimonial-content-prime h3 {
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}


/* Guest Stories — dark stats card in Pahadi green (matches 10+ Years card) */
.our-testimonials-prime .testimonial-cta-box-prime {
    background: #1b6635 !important;
}


/* Guest Stories — equal-height testimonial cards with bottom-aligned author */
.our-testimonials-prime .testimonial-slider-prime .swiper-wrapper {
    align-items: stretch !important;
}
.our-testimonials-prime .testimonial-slider-prime .swiper-slide {
    height: auto !important;
    display: flex !important;
}
.our-testimonials-prime .testimonial-item-prime {
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    min-height: 0 !important;
}
.our-testimonials-prime .testimonial-body-prime {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.our-testimonials-prime .testimonial-author-content-prime {
    margin-top: auto !important;
}


/* Mountain Stays — Explore More CTA in Pahadi yellow */
.our-services .readmore-btn {
    color: #d8a627 !important;
}
.our-services .readmore-btn:hover {
    color: #1b6635 !important;
}
.our-services .readmore-btn::before {
    filter: brightness(0) saturate(100%) invert(63%) sepia(85%) saturate(500%) hue-rotate(10deg) brightness(95%) contrast(90%) !important;
}


/* Gallery Showcase Section — heading yellow, slider styling */
.gallery-showcase-section .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.gallery-showcase-section .section-title h3::before {
    display: none !important;
}
.gallery-showcase-section .photo-gallery {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0;
}
.gallery-showcase-section .photo-gallery figure {
    margin-bottom: 0;
}
.gallery-showcase-section .photo-gallery img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
}
.gallery-showcase-slider {
    position: relative;
    padding-bottom: 50px;
}
.gallery-showcase-pagination {
    bottom: 0 !important;
    text-align: center;
}
.gallery-showcase-pagination .swiper-pagination-bullet {
    background: #d8a627 !important;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}
.gallery-showcase-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
}
.gallery-showcase-pagination .swiper-pagination-bullet-active::before {
    border-color: #d8a627 !important;
}

/* Gallery CTA link & icon */
.gallery-showcase-section .section-footer-text p a {
    color: #d8a627 !important;
}
.gallery-showcase-section .section-footer-text p a:hover {
    color: #1b6635 !important;
}
.gallery-showcase-section .section-footer-text.section-footer-contact span {
    background: #d8a627 !important;
    border-radius: 50%;
}
.gallery-showcase-section .section-footer-text p {
    font-size: 22px !important;
    line-height: 1.5em !important;
}


/* Gallery Showcase — add top padding so it doesn't touch the section above */
.gallery-showcase-section {
    padding-top: 100px !important;
}


/* Gallery Showcase — filter tabs in Pahadi yellow */
.gallery-showcase-section .our-gallery-nav ul li a.active-btn,
.gallery-showcase-section .our-gallery-nav ul li a:hover {
    color: #d8a627 !important;
}

/* Gallery Showcase — consistent image height */
.gallery-showcase-section .gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.gallery-showcase-section .gallery-item,
.gallery-showcase-section .gallery-item .image-anime {
    height: auto !important;
}
.gallery-showcase-section .gallery-popup-link {
    display: block;
    cursor: zoom-in;
    overflow: hidden;
}
.gallery-showcase-section .gallery-popup-link img {
    transition: transform 0.45s ease;
}
.gallery-showcase-section .gallery-popup-link:hover img {
    transform: scale(1.05);
}


/* Gallery filter nav — hide bullet before last visible item on small screens */
@media (max-width: 575px) {
    .gallery-showcase-section .our-gallery-nav ul li:nth-child(4):before {
        display: none !important;
    }
}


/* Gallery filter nav — remove all dots on mobile, use gap only */
@media (max-width: 767px) {
    .gallery-showcase-section .our-gallery-nav ul li:before {
        display: none !important;
    }
    .gallery-showcase-section .our-gallery-nav ul {
        gap: 8px 20px !important;
    }
}


/* Pahadi Experience (Feature section) — yellow heading, hide leaf icon */
.our-features-prime .section-title h3 {
    color: #d8a627 !important;
    padding-left: 0 !important;
}
.our-features-prime .section-title h3::before {
    display: none !important;
}


/* Feature section — mountain icon circle background to Pahadi yellow */
.our-features-prime .section-title h2 .feature-title-img-1 {
    background-color: #d8a627 !important;
}

/* Feature section — 500+ badge background to Pahadi yellow */
.our-features-prime .satisfy-client-image-prime.add-more {
    background: #d8a627 !important;
}
.our-features-prime .satisfy-client-image-prime.add-more h3 {
    color: #ffffff !important;
}


/* Feature — bottom left card (Pahadi Food & Bonfire) green bg, white text */
.our-features-prime .feature-box-3-prime {
    background: #1b6635 !important;
}
.our-features-prime .feature-box-3-prime .feature-box-content-prime h3,
.our-features-prime .feature-box-3-prime .feature-box-content-prime p {
    color: #ffffff !important;
}
.our-features-prime .feature-box-3-prime .icon-box {
    background-color: #d8a627 !important;
}


/* Feature — bottom left card icon circle: white default, yellow on hover */
.our-features-prime .feature-box-3-prime .icon-box {
    background-color: #ffffff !important;
    transition: all 0.3s ease-in-out;
}
.our-features-prime .feature-box-3-prime:hover .icon-box {
    background-color: #d8a627 !important;
}


/* Scrolling Ticker — yellow background, green text & icon */
.our-scrolling-ticker {
    background-color: #d8a627 !important;
}
.our-scrolling-ticker .scrolling-content span {
    color: #1b6635 !important;
}
.our-scrolling-ticker .scrolling-content span img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(500%) hue-rotate(100deg) brightness(70%) contrast(95%) !important;
}


/* Scrollbar — Pahadi yellow */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d8a627 !important;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c49520 !important;
}
html {
    scrollbar-color: #d8a627 #f1f1f1;
}


/* Mobile menu — hamburger button yellow, menu bg green, text white */
.slicknav_btn {
    background: #d8a627 !important;
}
.slicknav_menu {
    background: #1b6635 !important;
}
.slicknav_nav .slicknav_row,
.slicknav_nav li a {
    color: #ffffff !important;
}
.slicknav_nav a:hover,
.slicknav_nav a:focus,
.slicknav_nav .slicknav_row:hover {
    color: #d8a627 !important;
}
.slicknav_arrow:after {
    color: #ffffff !important;
}


/* Footer — tagline styling */
.footer-tagline-prime {
    color: #d8a627 !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Footer — social icons */
.footer-social-icons-prime ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    gap: 12px;
}
.footer-social-icons-prime ul li a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}
.footer-social-icons-prime ul li a:hover {
    background: #d8a627 !important;
    border-color: #d8a627 !important;
    color: #ffffff !important;
}

/* Footer header social links — hover yellow */
.footer-social-links-prime ul li a:hover {
    color: #d8a627 !important;
}

/* Footer — Quick Links & Our Stays list styling */
.main-footer-prime .footer-links-prime ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-footer-prime .footer-links-prime ul li {
    margin-bottom: 8px;
}
.main-footer-prime .footer-links-prime ul li a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease-in-out;
}
.main-footer-prime .footer-links-prime ul li a:hover {
    color: #d8a627 !important;
}

/* Footer — newsletter arrow hover yellow */
.footer-newsletter-form-prime .newsletter-btn:hover {
    background: #d8a627 !important;
}
.footer-newsletter-form-prime .newsletter-btn:hover img {
    filter: brightness(0) invert(1) !important;
}


/* Footer tagline */
.footer-about .footer-tagline {
    color: #d8a627;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Footer social icons — yellow on hover */
.footer-social-links ul li a:hover {
    background: #d8a627 !important;
    border-color: #d8a627 !important;
}

/* Footer links — yellow on hover */
.footer-links ul li a:hover {
    color: #d8a627 !important;
}

/* Footer newsletter arrow — yellow on hover */
.footer-newsletter-form .newsletter-btn:hover {
    background: #d8a627 !important;
}

/* Contact page — custom banner (WebP) */
.page-id-24 .page-header {
    background-image: url('../../../uploads/2026/04/contact-banner.webp') !important;
    background-position: center center !important;
    background-size: cover !important;
}

/* Contact page — info card icon backgrounds use brand yellow (was accent green) */
.contact-info-item .icon-box,
.contact-info-item .icon-box::before {
    background: #d7a628 !important;
}

/* Contact form — sub-heading label uses brand yellow (was accent green) */
.page-contact-us .contact-form .section-title h3 {
    color: #d7a628 !important;
}
.page-contact-us .contact-form .section-title h3::before {
    background-image: none !important;
    background-color: #d7a628 !important;
    -webkit-mask: url('../../../uploads/2026/04/icon-sub-heading-accent.svg') center/cover no-repeat;
    mask: url('../../../uploads/2026/04/icon-sub-heading-accent.svg') center/cover no-repeat;
}

/* Contact form — Send Message button: dark green base, yellow on hover, white icon box kept */
.contact-form-btn .btn-default {
    background: #1b6635 !important;
    color: #ffffff !important;
}
.contact-form-btn .btn-default::after {
    background: #d7a628 !important;
}
.contact-form-btn .btn-default:hover {
    color: #1b6635 !important;
}
/* Arrow icon box stays white in both states */
.contact-form-btn .btn-default::before,
.contact-form-btn .btn-default:hover::before {
    background-color: #ffffff !important;
}


/* about-us page: force all section-title sparkles yellow */
.page-id-13 .section-title h3::before,
.page-id-13 .section-sub-title h3::before {
    background-image: none !important;
    background-color: #d7a628 !important;
    -webkit-mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    mask-image: url('https://pahadihouse.com/wp-content/uploads/2026/04/icon-sub-heading-accent.svg');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
}

/* Preloader: custom dark background image */
.preloader {
    background: url('../../../uploads/2026/04/preloader-bg.webp') center center / cover no-repeat !important;
}
/* Preloader logo: hidden until decoded, fades in to avoid dot/rectangle artifacts */
#loading-icon img.preloader-logo {
    display: block;
    width: 66px;
    height: auto;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.preloader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 0;
    pointer-events: none;
}
.preloader .loading-container {
    position: relative;
    z-index: 1;
}

/* Our Stays page hero background override (page ID 196) */
.page-id-196 .page-header {
    background-image: url("../../../uploads/2026/04/our-stays-hero.webp") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}


/* Our Stays hero: kicker, subhead, CTA (theme-aligned) */
html { scroll-behavior: smooth; }
@keyframes pahadiPinPulse {
    0%   { transform: scale(0.85); opacity: 0.75; }
    100% { transform: scale(2.1); opacity: 0; }
}

/* ===== Single post article padding (added 2026-04-20) ===== */
.page-single-post .container {
    max-width: 900px;
}
.page-single-post .post-content {
    padding-left: 20px;
    padding-right: 20px;
}
.page-single-post .post-entry p,
.page-single-post .post-entry h2,
.page-single-post .post-entry h3,
.page-single-post .post-entry ul,
.page-single-post .post-entry ol,
.page-single-post .post-entry blockquote {
    padding-left: 0;
    padding-right: 0;
}
.page-single-post .post-entry blockquote {
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767px) {
    .page-single-post .post-content {
        padding-left: 16px;
        padding-right: 16px;
    }
    .page-single-post .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (min-width: 992px) {
    .page-single-post .post-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}
/* ===== REVISED: single post padding (2026-04-20) ===== */
.page-single-post .container {
    max-width: none;
}
.page-single-post .post-content {
    padding-left: 0;
    padding-right: 0;
}
.page-single-post .container {
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767px) {
    .page-single-post .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (min-width: 992px) {
    .page-single-post .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}
/* ===== Restore blockquote inner padding (2026-04-20) ===== */
.page-single-post .post-entry blockquote {
    padding: 30px 30px 30px 90px !important;
}
@media (max-width: 991px) {
    .page-single-post .post-entry blockquote {
        padding: 20px 20px 20px 70px !important;
    }
}
@media (max-width: 575px) {
    .page-single-post .post-entry blockquote {
        padding: 60px 15px 15px 15px !important;
    }
}

/* ===== Single post breadcrumb yellow accent (2026-04-20) ===== */
.post-single-meta .breadcrumb li,
.post-single-meta .breadcrumb li a,
.post-single-meta .breadcrumb li i {
    color: #d7a628 !important;
}
.post-single-meta .breadcrumb li a:hover {
    color: #ffffff !important;
}

/* ===== Pahadi gallery slider (2026-04-20) ===== */
.pahadi-gallery-slider {
    position: relative;
    margin: 60px 0 30px;
}
.pahadi-gallery-title {
    font-size: 26px;
    font-family: var(--accent-font);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}
.pahadi-gallery-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 18px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d7a628 rgba(0,0,0,.08);
}
.pahadi-gallery-track::-webkit-scrollbar { height: 6px; }
.pahadi-gallery-track::-webkit-scrollbar-track { background: rgba(0,0,0,.05); border-radius: 3px; }
.pahadi-gallery-track::-webkit-scrollbar-thumb { background: #d7a628; border-radius: 3px; }
.pahadi-gallery-track figure {
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin: 0;
    width: 360px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.pahadi-gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    display: block;
}
.pahadi-gallery-track figure:hover img { transform: scale(1.05); }
.pahadi-gallery-btn {
    position: absolute;
    top: calc(50% + 20px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #d7a628;
    color: #111;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    transition: transform .2s ease, background .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pahadi-gallery-btn:hover { transform: translateY(-50%) scale(1.08); background: #e8b835; }
.pahadi-gallery-prev { left: -14px; }
.pahadi-gallery-next { right: -14px; }
@media (max-width: 767px) {
    .pahadi-gallery-track figure { width: 260px; }
    .pahadi-gallery-btn { display: none; }
    .pahadi-gallery-title { font-size: 22px; }
}

/* ===== Gallery portrait aspect override (2026-04-20) ===== */
.pahadi-gallery-track figure {
    width: 300px !important;
    aspect-ratio: 9 / 16 !important;
}
@media (max-width: 767px) {
    .pahadi-gallery-track figure {
        width: 220px !important;
    }
}


/* Gallery Showcase — 2 cols mobile (<768px), 3 cols tablet/desktop (>=768px) [v3] */
.gallery-home-v3 .gallery-item-box {
    flex: 0 0 auto !important;
    width: 50% !important;
    max-width: 50% !important;
}
@media (min-width: 768px) {
    .gallery-home-v3 .gallery-item-box {
        width: 33.3333% !important;
        max-width: 33.3333% !important;
    }
}

/* Footer — 3 link columns layout (2026-04-20), removed subscribe */
.footer-newsletter-box { display: none !important; }
.main-footer-box .footer-about {
    width: calc(28% - 50px) !important;
}
.main-footer-box .footer-links-box {
    width: calc(72% - 50px) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px 40px !important;
}
.main-footer-box .footer-links-box .footer-links {
    flex: 1 1 0;
    min-width: 160px;
}
.main-footer-box .footer-links-box::before { display: none !important; }
@media (max-width: 991px) {
    .main-footer-box .footer-about,
    .main-footer-box .footer-links-box { width: 100% !important; }
}
@media (max-width: 767px) {
    .main-footer-box .footer-links-box .footer-links {
        flex: 1 1 45%;
        min-width: 45%;
    }
}

/* Footer — equal gap between logo block and link columns */
.main-footer-box { gap: 40px !important; }
.main-footer-box .footer-links-box { gap: 30px 40px !important; }

/* Footer — fix width math (match 40px gap), keep divider between about and links */
.main-footer-box .footer-about { width: calc(30% - 20px) !important; }
.main-footer-box .footer-links-box { width: calc(70% - 20px) !important; }
.footer-about::before { right: -20px !important; }
.main-footer-box .footer-links-box::before { display: none !important; }

/* Gallery Showcase — CSS Grid final layout (2026-04-20) */
.gallery-home-v3 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
}
@media (min-width: 768px) {
    .gallery-home-v3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
.gallery-home-v3 .gallery-item-box {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}
.gallery-home-v3 .gallery-item-box.gal-hidden { display: none !important; }
.gallery-home-v3 .gallery-item {
    height: auto !important;
    margin-bottom: 0 !important;
}


/* Mobile fix (2026-04-21): gallery→experience overlap
   On ≤767px the next section's h3/h2 was rendering over the last gallery row.
   Root cause: gallery had no bottom padding and our-features-prime had .wow
   transform leftover + tight 50px top padding. Force clear vertical separation
   and nullify any transform/negative-margin carryover on the next section. */
@media (max-width: 767px) {
    .gallery-showcase-section {
        padding-bottom: 40px !important;
    }
    .our-features-prime {
        padding-top: 40px !important;
        position: relative;
        z-index: 2;
        background: var(--white-color, #fff);
    }
    .our-features-prime .section-row {
        margin-bottom: 24px !important;
    }
    .our-features-prime .section-title h2 {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }
    .our-features-prime .section-title h2 .feature-title-img-1,
    .our-features-prime .section-title h2 .feature-title-img-2 {
        vertical-align: middle !important;
        margin: 0 4px !important;
    }
    /* Feature boxes currently keep desktop 64%/36% widths on mobile — stack them */
    .our-feature-box-prime {
        flex-direction: column !important;
    }
    .our-feature-box-prime .feature-item-1-prime,
    .our-feature-box-prime .feature-item-2-prime,
    .our-feature-box-prime .feature-box-1-prime,
    .our-feature-box-prime .feature-box-2-prime,
    .our-feature-box-prime .feature-box-3-prime,
    .our-feature-box-prime .feature-box-4-prime {
        width: 100% !important;
    }
}


/* ======================================================
   MOBILE GALLERY SECTION FIXES (2026-04-21)
   ====================================================== */

/* 1. Prevent testimonial-footer CTA from bleeding into gallery section */
@media (max-width: 767px) {
    .our-testimonials-prime .section-footer-text {
        margin-top: 24px !important;
        margin-bottom: 0 !important;
    }

    /* 2. Gallery section needs breathing room — bottom padding so next section clears properly */
    .gallery-showcase-section {
        padding-bottom: 60px !important;
    }

    /* 3. The "View Full Gallery" CTA footer */
    .gallery-showcase-section .section-footer-text {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
    .gallery-showcase-section .section-footer-text p {
        font-size: 16px !important;
        line-height: 1.5em !important;
    }
    .gallery-showcase-section .section-footer-text.section-footer-contact span {
        display: inline-flex !important;
        vertical-align: middle !important;
    }

    /* 4. Gallery images — ensure consistent 4:3 ratio, full width, no cropping */
    .gallery-home-v3 .gallery-item-box .gallery-item img {
        aspect-ratio: 4 / 3 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 12px !important;
    }
    .gallery-home-v3 .gallery-item-box .gallery-item,
    .gallery-home-v3 .gallery-item-box .gallery-item .image-anime {
        height: auto !important;
        overflow: hidden !important;
    }
    .gallery-home-v3 .gallery-item-box .gallery-popup-link {
        display: block !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }
}

/* Gallery → Experience section: prevent overlap on mobile (2026-04-21) */
@media (max-width: 767px) {
    /* Gallery section: clip any overflow, establish stacking context */
    .gallery-showcase-section {
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }
    /* Experience section: rise above gallery, solid bg blocks gallery content behind */
    .our-features-prime {
        position: relative !important;
        z-index: 2 !important;
        background: #ffffff !important;
        padding-top: 50px !important;
    }
}

/* ======================================================
   GALLERY SECTION MOBILE STACKING FIX (2026-04-21)
   The testimonial CTA text was appearing BEHIND gallery images
   because gallery items created their own stacking context.
   Fix: lift the testimonial footer above gallery stacking.
   ====================================================== */
@media (max-width: 767px) {
    /* Ensure testimonial section's footer CTA renders ABOVE gallery images */
    .our-testimonials-prime {
        position: relative !important;
        z-index: 10 !important;
    }
    .our-testimonials-prime .section-footer-text {
        position: relative !important;
        z-index: 11 !important;
    }

    /* Gallery section: establish its own stacking context (z-index 1)
       so its content doesn't float above testimonial footer */
    .gallery-showcase-section {
        position: relative !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }

    /* Experience section: above gallery */
    .our-features-prime {
        position: relative !important;
        z-index: 2 !important;
        background: #ffffff !important;
    }
}

/* ======================================================
   GALLERY SECTION BOTTOM FIX (2026-04-21)
   - Remove overflow:hidden that crops bottom row images
   - Give View Full Gallery button proper space below images
   ====================================================== */
@media (max-width: 767px) {
    /* Remove overflow:hidden — it was cropping bottom images */
    .gallery-showcase-section {
        overflow: visible !important;
        position: relative !important;
        z-index: auto !important;
    }

    /* Give gallery grid items space at bottom so button doesn't overlap */
    .gallery-home-v3 {
        margin-bottom: 30px !important;
    }

    /* View Full Gallery button — give it clear space below gallery grid */
    .gallery-showcase-section .section-footer-text {
        margin-top: 30px !important;
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: auto !important;
    }
    .gallery-showcase-section .section-footer-text p {
        font-size: 17px !important;
        line-height: 1.6em !important;
    }

    /* Next section (Pahadi Experience) stays above gallery */
    .our-features-prime {
        position: relative !important;
        z-index: 2 !important;
        background: #ffffff !important;
    }
}

/* ======================================================
   GALLERY MOBILE FIX v2 (2026-04-21)
   2-col grid was causing images to overflow/crop.
   Clean: let grid items size naturally, no overflow clipping.
   ====================================================== */
@media (max-width: 767px) {
    /* Let gallery section grow with its content, no clipping */
    .gallery-showcase-section {
        overflow: visible !important;
    }

    /* Grid: gap creates natural spacing, margin-bottom pushes button down */
    .gallery-home-v3 {
        gap: 16px !important;
        margin-bottom: 24px !important;
    }

    /* Each item: let the image determine the height via aspect-ratio */
    .gallery-home-v3 .gallery-item-box {
        margin-bottom: 0 !important;
    }
    .gallery-home-v3 .gallery-item {
        height: auto !important;
        margin-bottom: 0 !important;
    }
    .gallery-home-v3 .gallery-item .image-anime {
        height: auto !important;
    }

    /* Images: fixed 4:3, no forced cropping */
    .gallery-home-v3 .gallery-item img {
        aspect-ratio: 4 / 3 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 10px !important;
    }
    .gallery-home-v3 .gallery-popup-link {
        display: block !important;
        border-radius: 10px !important;
    }

    /* View Full Gallery button: clear space below gallery grid */
    .gallery-showcase-section .section-footer-text {
        margin-top: 20px !important;
        padding-bottom: 10px !important;
    }

    /* Experience section: solid bg, stays above */
    .our-features-prime {
        background: #fff !important;
        position: relative !important;
        z-index: 2 !important;
    }
}

/* More space between gallery images and View Full Gallery button */
@media (max-width: 767px) {
    .gallery-home-v3 {
        margin-bottom: 40px !important;
    }
    .gallery-showcase-section .section-footer-text {
        margin-top: 30px !important;
        padding-bottom: 20px !important;
    }
}

/* Extra breathing room below gallery grid */
@media (max-width: 767px) {
    .gallery-home-v3 {
        margin-bottom: 60px !important;
    }
}

/* Adjust gallery bottom margin to 70px */
@media (max-width: 767px) {
    .gallery-home-v3 {
        margin-bottom: 70px !important;
    }
}

/* Gallery bottom margin 90px */
@media (max-width: 767px) {
    .gallery-home-v3 {
        margin-bottom: 90px !important;
    }
}

/* Footer layout fix (2026-04-21)
   Left column too wide, right side cramped.
   Social icons vertical (should be horizontal).
   Fix: balance column widths, make icons horizontal. */
@media (max-width: 1199px) {
    .main-footer-box .footer-about {
        width: 28% !important;
    }
    .main-footer-box .footer-links-box {
        width: 72% !important;
    }
}
@media (max-width: 991px) {
    .main-footer-box .footer-about,
    .main-footer-box .footer-links-box {
        width: 50% !important;
    }
}
@media (max-width: 575px) {
    .main-footer-box .footer-about,
    .main-footer-box .footer-links-box {
        width: 100% !important;
    }
}

/* Social icons: ensure horizontal in both footer link areas */
.footer-social-links ul,
.footer-social-links-prime ul,
.footer-social-icons-prime ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px 14px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 0 !important;
}
.footer-social-links ul li,
.footer-social-links-prime ul li,
.footer-social-icons-prime ul li {
    display: inline-block !important;
    vertical-align: top !important;
    margin: 0 !important;
}
.footer-social-links ul li a,
.footer-social-links-prime ul li a,
.footer-social-icons-prime ul li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}
.footer-social-links ul li a:hover,
.footer-social-links-prime ul li a:hover,
.footer-social-icons-prime ul li a:hover {
    background: #d8a627 !important;
    border-color: #d8a627 !important;
    color: #fff !important;
}

/* Social media icons: make green and visible */
.footer-social-links ul li a,
.footer-social-links-prime ul li a,
.footer-social-icons-prime ul li a,
.footer-social-links ul li a i,
.footer-social-links-prime ul li a i,
.footer-social-icons-prime ul li a i {
    color: #1b6635 !important;
    border-color: #1b6635 !important;
    background: transparent !important;
}
.footer-social-links ul li a:hover,
.footer-social-links-prime ul li a:hover,
.footer-social-icons-prime ul li a:hover {
    background: #1b6635 !important;
    color: #ffffff !important;
}

/* Hide JoinChat plugin button (replacing with custom WhatsApp) */
.joinchat,
.joinchat-button,
#joinchat-button,
.joinchat-modal,
.joinchat-button__link {
    display: none !important;
}


/* ======================================================
   HERO INFO BOX — true frosted glass (2026-04-22)
   Image visible through the glass, stronger blur,
   subtle text-shadow on inner text for legibility.
   ====================================================== */
.hero-info-box-prime {
    background: rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(24px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.hero-info-box-prime .hero-info-text h3,
.hero-info-box-prime .hero-info-text p,
.hero-info-box-prime .hero-info-content-prime h3,
.hero-info-box-prime .hero-info-content-prime p {
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Gallery page hero background (page ID 22) */
.page-id-22 .page-header {
    background-image: url("../../../uploads/2026/04/gallery-hero.webp") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* ======================================================
   OUR MOUNTAIN STAYS — mobile spacing (2026-04-25)
   Cards were stacked flush against each other and against
   the viewport edges on mobile. Add vertical gap between
   cards + horizontal padding inside the container.
   ====================================================== */
@media (max-width: 767.98px) {
    .our-services .col-md-6 {
        margin-bottom: 24px;
    }
    .our-services .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* ======================================================
   River Rafting pricing cards — mobile layout (2026-04-25)
   Default ≤640px stacks everything centered. Make it
   left-aligned with duration + price on the same row.
   ====================================================== */
@media (max-width: 640px) {
    .phx-stretch {
        grid-template-columns: auto auto 1fr !important;
        text-align: left !important;
        column-gap: 14px !important;
        row-gap: 8px !important;
        align-items: start !important;
    }
    .phx-stretch .grade {
        grid-row: 1 / 3 !important;
        grid-column: 1 !important;
        margin: 0 !important;
        align-self: start !important;
    }
    .phx-stretch .info {
        grid-row: 1 !important;
        grid-column: 2 / 4 !important;
        text-align: left !important;
    }
    .phx-stretch .info h3 {
        text-align: left !important;
    }
    .phx-stretch .info .rapids {
        text-align: left !important;
    }
    .phx-stretch .meta {
        grid-row: 2 !important;
        grid-column: 2 !important;
        text-align: left !important;
        padding-right: 16px;
    }
    .phx-stretch .cost {
        grid-row: 2 !important;
        grid-column: 3 !important;
        text-align: left !important;
    }
}


/* Hero: wood-fire cooking image — show full portrait, rebalance columns (20260607) */
.hero-prime .hero-content-prime{ width: calc(56% - 15px); }
.hero-prime .hero-image-box-prime{ width: calc(44% - 15px); align-self: center; }
.hero-prime .hero-image-prime,
.hero-prime .hero-image-prime figure{ height: auto; }
.hero-prime .hero-image-prime img{
    height: auto;
    aspect-ratio: 487 / 600;
}
@media only screen and (max-width: 1024px){
    .hero-prime .hero-content-prime,
    .hero-prime .hero-image-box-prime{ width: 100%; }
    .hero-prime .hero-image-prime img{ aspect-ratio: 487 / 600; }
}

/* LCP-FIX-single-post-hero: theme .reveal sets visibility:hidden, which blocks the eager fetchpriority hero from being an LCP candidate (caused NO_LCP on story pages). Force the single-post featured hero visible so it paints immediately. */
.page-single-post .post-image .reveal,
.page-single-post .post-image .image-anime{visibility:visible !important;}

/* LCP-FIX-single-hero-img: real eager <img> filling the single-post page-header so it is a reliable LCP element (CSS background + reveal-img were not consistently detected, causing NO_LCP). Sits below the ::before overlay (z-index:1) so heading contrast is unchanged. */
.single .page-header{position:relative;}
.single .page-header .single-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;margin:0;pointer-events:none;}
.single .page-header::before{z-index:1;}
.single .page-header>.container{position:relative;z-index:2;}

/* LCP-FIX-experiment */
.single .page-header .single-hero-img{z-index:2 !important;filter:brightness(.62) !important;}
.single .page-header::before{z-index:1;}
.single .page-header>.container{position:relative;z-index:3;}
.single .page-header h1,.single .page-header .text-anime-style-3,.single .page-header .post-single-meta,.single .page-header .wow{opacity:1 !important;visibility:visible !important;transform:none !important;}

/* LCP-FIX-textshadow: meta/title contrast on the brightened hero img */
.single .page-header .page-header-box{text-shadow:0 1px 6px rgba(0,0,0,.55);}


/* GRID-GAP-FIX (homepage stay/experience cards): the theme only sets a bottom
   margin on .page-services .service-item, so on .our-services the second row of
   cards sat flush against the first. 30px matches the 30px horizontal gutter
   created by .row's -15px side margins. */
.our-services .service-item{margin-bottom:30px;}
