/*
Theme Name: Sri Lanka Drive Modern
Theme URI: https://srilankadrive.com/
Author: Sri Lanka Drive Studio
Description: Bright, mobile-first tourism theme for Elementor-edited Sri Lanka tours, driver profiles and vehicle bookings.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sri-lanka-drive
License: GPL-2.0-or-later
*/
:root{--sld-navy:#12253e;--sld-blue:#0862a9;--sld-green:#07875a;--sld-yellow:#fcb63f;--sld-off:#f3f9f8;--sld-shadow:0 14px 44px rgba(14,46,67,.095)}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f8fbfb;color:var(--sld-navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;line-height:1.65}a{color:var(--sld-blue)}img{max-width:100%;height:auto}h1,h2,h3,h4{font-weight:850;letter-spacing:-.035em;line-height:1.18}h1{font-size:clamp(2rem,5vw,4rem)}h2{font-size:clamp(1.55rem,3vw,2.4rem)}h3{font-size:1.2rem}.screen-reader-text{position:absolute;left:-9999px}.screen-reader-text:focus{left:10px;top:10px;z-index:1000;background:#fff;padding:10px}main{min-height:52vh}.sld-shell{max-width:1240px;margin-left:auto!important;margin-right:auto!important;width:100%}.sld-hero{border-radius:0 0 34px 34px;max-width:none!important;overflow:hidden;background:linear-gradient(125deg,#064780,#0862a9 55%,#06875d)!important}.sld-hero>.elementor-container{max-width:1240px;margin:auto}.sld-hero h1,.sld-hero p,.sld-hero .elementor-widget-text-editor{color:#fff!important}.sld-lede{font-size:clamp(1.05rem,2vw,1.35rem);font-weight:530}.sld-hero img{border-radius:28px!important;box-shadow:0 22px 70px #052b5244}.sld-shell:not(.sld-header):not(.sld-footer){margin-top:12px;margin-bottom:12px}.sld-shell .elementor-widget-image img{object-fit:cover;border-radius:17px}.sld-cards>.elementor-container{gap:18px}.sld-cards .sld-card{background:#fff;border:1px solid #edf3f3;border-radius:21px;padding:15px!important;box-shadow:var(--sld-shadow);transition:transform .2s}.sld-cards .sld-card:hover{transform:translateY(-4px)}.sld-card .elementor-widget-image img{width:100%;height:200px;object-fit:cover}.sld-card h3{margin:6px 0}.sld-card p{font-size:.95rem}.sld-button .elementor-button{background:var(--sld-green);color:#fff!important;border-radius:12px!important;box-shadow:0 8px 20px #07875a22;padding:12px 16px}.sld-button .elementor-button:hover{background:var(--sld-blue)}.sld-header{background:#fff!important;box-shadow:0 8px 26px #12253e12;border-radius:0 0 18px 18px;position:relative;z-index:8}.sld-header .elementor-container{align-items:center}.sld-header .elementor-widget:not(:last-child){margin-bottom:4px}.sld-header .sld-button .elementor-button{font-size:11px;padding:9px 8px;box-shadow:none}.sld-header-brand img{max-height:78px;width:auto}.sld-header h3{margin:0;font-size:1.2rem}.sld-header p{font-size:11px;line-height:1.2;margin:0}.sld-footer{max-width:none!important;background:var(--sld-navy)!important;color:#fff;border-radius:25px 25px 0 0}.sld-footer>.elementor-container{max-width:1240px;margin:auto}.sld-footer p,.sld-footer h3,.sld-footer a{color:#fff}.sld-footer img{max-width:135px}.sld-footer .sld-button .elementor-button{padding:9px 14px;font-size:12px}.sld-highlight,.sld-feature{border-radius:26px}.sld-highlight h2{color:#115a51}.sld-carousel .swiper,.sld-carousel .elementor-swiper{border-radius:24px;overflow:hidden}.sld-carousel img{width:100%;max-height:560px;object-fit:cover}.sld-article{font-size:1.08rem}.sld-article p{line-height:1.9}.sld-itinerary h3{margin-top:22px;border-left:4px solid var(--sld-green);padding-left:15px}.sld-itinerary p{padding-left:20px}.sld-gallery>.elementor-container{gap:10px}.sld-gallery-card{background:#fff;padding:8px;border-radius:14px;box-shadow:0 3px 14px #1234}.sld-gallery-card img{height:142px!important;width:100%;object-fit:cover}.sld-small{text-align:center;font-size:12px;color:#5c7084}.sld-form-wrap{border-radius:25px}.sld-reviews img{max-height:94px;width:100%;object-fit:contain}.sld-review-badge{padding:12px!important}.sld-native-header{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;padding:12px max(20px,calc((100vw - 1220px)/2));box-shadow:0 3px 25px #12253e10}.sld-native-header img{width:90px}.sld-native-header nav{display:flex;flex-wrap:wrap;gap:15px}.sld-native-header nav a{text-decoration:none;font-weight:700;font-size:14px}.sld-native-footer{background:#12253e;color:#fff;padding:40px 5%;text-align:center}.sld-native-footer a{color:#fff}.sld-template-post{max-width:1160px;margin:auto;padding:34px 20px}.sld-template-post h1{font-size:2.5rem}.sld-template-post .wp-block-image img{border-radius:15px}.sld-template-post article{background:#fff;padding:25px;border-radius:20px;margin-bottom:20px}.sld-template-post .post-card{border:1px solid #e7eeee}.sld-note{background:#fff3d5;padding:16px;border-left:4px solid #f3aa27;border-radius:10px}.sld-wide-content{width:100%}
@media(max-width:1024px){.sld-header .elementor-column{width:33.333%!important}.sld-header .elementor-widget-image{text-align:center}.sld-cards>.elementor-container{flex-wrap:wrap}.sld-cards .elementor-column{width:48%!important}.sld-gallery .elementor-column{width:31%!important}.sld-hero .elementor-column{width:50%!important}.sld-footer .elementor-column{width:48%!important}}@media(max-width:767px){.sld-header .elementor-column{width:50%!important}.sld-header h3{font-size:1rem}.sld-hero .elementor-column,.sld-shell .elementor-column,.sld-footer .elementor-column{width:100%!important}.sld-header .elementor-column{width:50%!important}.sld-cards .sld-card{width:100%!important}.sld-gallery .elementor-column{width:48%!important}.sld-shell:not(.sld-header):not(.sld-footer){padding-left:8px!important;padding-right:8px!important}.sld-native-header{flex-direction:column}.sld-native-header nav{justify-content:center}.sld-itinerary p{padding-left:8px}.sld-hero{border-radius:0 0 18px 18px}}

/* Sri Lanka Drive Driver / Guide with Vehicles showcase v2 — Elementor editable widgets */
.sld-driver-hero{background:linear-gradient(120deg,#073d67,#087a85 58%,#05946a)!important;min-height:460px;}
.sld-driver-hero>.elementor-container{align-items:center;gap:32px}
.sld-driver-hero h1{font-size:clamp(2.4rem,4.5vw,4.7rem);letter-spacing:-.045em;line-height:1.06;margin-bottom:20px}
.sld-eyebrow{font-size:12px;font-weight:900;letter-spacing:.16em;color:#b7f1e6;text-transform:uppercase;margin:4px 0 10px}
.sld-green-eyebrow{color:#047958}
.sld-driver-hero-lede{font-size:clamp(1.05rem,1.5vw,1.3rem);font-weight:500;line-height:1.7;color:#fff}
.sld-hero-tags{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 24px!important}
.sld-hero-tags span{display:inline-block;background:#ffffff28;color:#fff;border:1px solid #ffffff45;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:720}
.sld-driver-hero .sld-driver-headshot img{height:385px;max-width:450px;width:100%;object-fit:cover;object-position:center 24%;border:7px solid #ffffffdb;border-radius:25px!important;box-shadow:0 26px 80px #052b4155}
.sld-demo-photo-note{color:#e6f5f7!important;font-size:12px!important;text-align:center;margin:10px 0 0}
.sld-driver-hero .sld-button{display:inline-flex;margin:4px 9px 6px 0}
.sld-driver-hero .sld-button .elementor-button{background:#10b981;border:1px solid #10b981;color:#fff;font-weight:800;padding:15px 21px;font-size:14px}
.sld-driver-hero .sld-outline-link .elementor-button{border:1px solid #e4fffa!important;background:transparent!important}
.sld-driver-facts>.elementor-container{gap:14px}
.sld-driver-facts .sld-driver-stat{background:#fff;border:1px solid #d7efea;border-radius:16px;padding:24px 16px 17px!important;box-shadow:0 10px 24px #042d4520;min-width:0}
.sld-driver-stat .elementor-widget:not(:last-child){margin-bottom:8px}
.sld-stat-label{letter-spacing:.11em;color:#506f7e;font-weight:800;font-size:11px;margin:0}
.sld-driver-stat h2{font-size:clamp(1.35rem,2.1vw,2.1rem);margin:0}
.sld-stat-small{color:#577184;margin:0;font-size:12px}
.sld-driver-vehicle-section>.elementor-container,.sld-driver-experience>.elementor-container{align-items:center;gap:28px}
.sld-driver-vehicle-section .sld-vehicle-shot img{width:100%;height:auto;max-height:455px;object-fit:contain;border-radius:25px!important;box-shadow:0 18px 34px #154c6d22}
.sld-driver-vehicle-section h2,.sld-driver-experience h2{font-size:clamp(1.8rem,3vw,3rem);margin:8px 0 18px}
.sld-photo-caption{color:#738797;font-size:12px;text-align:center}
.sld-driver-vehicle-text p,.sld-driver-experience p{line-height:1.85}
.sld-check-list{list-style:none;padding:0;margin:16px 0}.sld-check-list li{position:relative;padding:9px 0 9px 34px;border-bottom:1px solid #dceae7;font-weight:650;color:#253f4d}.sld-check-list li:before{content:'✓';position:absolute;left:2px;top:9px;color:#0d9968;font-weight:950}
.sld-disclaimer{font-size:12px;color:#5d7280;padding:14px 15px;background:#f2f8f6;border-radius:12px;border-left:3px solid #1bae82}
.sld-driver-experience .elementor-column{background:#fff;padding:22px 20px!important;border-radius:17px;border:1px solid #e5efee}
.sld-driver-gallery h2{text-align:center}.sld-driver-gallery .sld-eyebrow,.sld-driver-gallery .elementor-widget-text-editor{text-align:center}
.sld-driver-gallery .sld-driver-carousel{max-width:980px;margin:auto}
.sld-driver-carousel .swiper-slide img{height:450px!important;object-fit:contain!important;background:#f3f8fa;border-radius:18px}
.sld-driver-route-banner{border-radius:22px}.sld-driver-route-banner>.elementor-container{align-items:center}.sld-driver-route-banner p{font-size:16px}
.sld-driver-bottom-nav{text-align:center;color:#435b6b}
.sld-driver-category-grid>.elementor-container{gap:15px}
.sld-driver-category-card{min-width:0}.sld-driver-category-card .elementor-widget-image img{height:145px!important;object-fit:cover}
.sld-driver-category-card h3{font-size:1.16rem}
.sld-driver-directory-card .sld-driver-directory-photo img{height:230px!important;object-fit:cover!important;object-position:center 15%}
.sld-driver-directory-card .elementor-widget:not(:last-child){margin-bottom:9px}
.sld-driver-directory-card h3{margin:3px 0}
.sld-driver-card-label{font-size:11px;font-weight:900;letter-spacing:.12em;color:#087a61;margin:0}
.sld-driver-card-vehicle{font-size:14px;font-weight:750;color:#345d76;margin:0}
.sld-driver-directory-card .sld-button .elementor-button{width:100%;font-size:13px;font-weight:800;padding:14px 8px}
.sld-driver-category-heading h2{font-size:clamp(1.6rem,3vw,2.5rem)}
.sld-driver-directory-card{margin-bottom:8px!important}
.sld-driver-list-row .elementor-container{align-items:stretch}
.sld-directory-inclusions .sld-check-list{columns:2;column-gap:50px}
@media(max-width:1024px){.sld-driver-category-grid .elementor-column{width:48%!important}.sld-driver-facts .elementor-column{width:48%!important}.sld-driver-hero .elementor-column{width:50%!important}}
@media(max-width:767px){.sld-driver-hero .elementor-column,.sld-driver-category-grid .elementor-column,.sld-driver-facts .elementor-column{width:100%!important}.sld-driver-hero .sld-driver-headshot img{max-height:330px}.sld-driver-gallery .sld-driver-carousel img{height:285px!important}.sld-driver-facts>.elementor-container{gap:9px}.sld-driver-facts .sld-driver-stat{text-align:center}.sld-directory-inclusions .sld-check-list{columns:1}.sld-driver-hero{border-radius:0 0 18px 18px}.sld-driver-hero .sld-button{display:block}}

/* v3: Single-row Elementor navigation, responsive menu, original linked review-platform logos, floating actions. */
.sld-site-header{position:sticky;top:0;z-index:9980;background:#fff;box-shadow:0 8px 25px rgba(18,49,67,.12)}
body.admin-bar .sld-site-header{top:32px}
.sld-nav-toggle{display:none;background:#066e6f;color:#fff;border:0;border-radius:12px;padding:11px 15px;font-weight:800;cursor:pointer;box-shadow:0 3px 8px #2346}
.sld-site-header .sld-header{border-radius:0!important;margin:0!important;box-shadow:none!important;max-width:none!important;padding:0 12px!important}
.sld-site-header .sld-header>.elementor-container{max-width:1600px!important;margin:auto;display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:2px;width:100%;min-height:68px}
.sld-site-header .sld-header>.elementor-container>.elementor-column{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important}
.sld-site-header .sld-header>.elementor-container>.sld-brand-logo{flex:0 0 54px!important;width:54px!important}
.sld-site-header .sld-header>.elementor-container>.sld-brand-name{flex:0 0 145px!important;min-width:145px!important}
.sld-site-header .sld-header>.elementor-container>.sld-nav-item{flex:1 1 auto!important;min-width:0!important}
.sld-site-header .sld-header>.elementor-container>.sld-quote-item{flex:0 0 auto!important}
.sld-site-header .sld-header .elementor-widget:not(:last-child){margin-bottom:0!important}
.sld-site-header .sld-header .sld-brand-logo img{width:53px!important;height:53px!important;object-fit:contain!important;border-radius:50%!important}
.sld-site-header .sld-header .sld-brand-name h3{font-size:clamp(15px,1.4vw,20px)!important;line-height:1.12;font-weight:900;letter-spacing:-.045em;white-space:nowrap;margin:0}
.sld-site-header .sld-header .sld-nav-item .elementor-button{display:inline-block!important;white-space:nowrap!important;background:transparent!important;box-shadow:none!important;border:0!important;color:#17374d!important;padding:10px clamp(4px,.57vw,10px)!important;font-size:clamp(10px,.79vw,12px)!important;font-weight:800!important;border-radius:9px!important;line-height:1.4}
.sld-site-header .sld-header .sld-nav-item .elementor-button:hover,.sld-site-header .sld-header .sld-nav-item .elementor-button:focus-visible{background:#e5f6ef!important;color:#087652!important}
.sld-site-header .sld-header .sld-quote-item .elementor-button,.sld-native-header nav .sld-native-quote{background:#0b9b63!important;color:#fff!important;border-radius:12px!important;padding:12px 11px!important;box-shadow:0 7px 18px #08765330!important}
.sld-native-header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;gap:7px!important;padding:10px max(12px,calc((100vw - 1500px)/2))!important}
.sld-native-header img{width:54px!important;height:54px;object-fit:contain}.sld-native-site-name{white-space:nowrap;color:#08734a;font-size:clamp(15px,1.3vw,19px);margin-right:9px}
.sld-native-header nav{display:flex!important;flex:1 1 auto;align-items:center;justify-content:space-between;gap:4px!important;flex-wrap:nowrap!important}
.sld-native-header nav a{white-space:nowrap;color:#1d3c4e!important;font-size:clamp(10px,.79vw,12px)!important;padding:9px 4px!important}
.sld-native-header nav .sld-native-quote{white-space:nowrap}
/* Honest review links: no fake star rating or invented testimonials. */
.sld-review-platform-card{background:#fff;border-radius:22px;border:1px solid #e3eefa;box-shadow:0 12px 34px #12345213;padding:25px 22px!important;display:flex;align-items:stretch}
.sld-review-platform-card .elementor-widget-heading h3{font-size:1.2rem;color:#1c3346;text-align:center}
.sld-review-platform-card .elementor-widget-image{text-align:center;min-height:105px;display:flex;justify-content:center;align-items:center}
.sld-review-platform-card .elementor-widget-image img{width:auto!important;max-width:100%!important;max-height:86px!important;object-fit:contain!important;box-shadow:none!important;border-radius:0!important}
.sld-review-platform-card .sld-platform-label{text-align:center;font-size:12px;color:#597486;line-height:1.5;min-height:36px}
.sld-review-platform-card .elementor-button{width:100%;text-align:center;white-space:normal;font-weight:750}
.sld-reviews-v3>.elementor-container{gap:20px;align-items:stretch;justify-content:center}
.sld-review-intro-v3,.sld-reviews-intro-v3{text-align:center;max-width:1080px;margin:auto}
.sld-review-highlight-v3{background:#f0faf6!important;border-radius:24px;padding:14px}
.sld-actual-review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:10px 0 22px;padding:0}
.sld-actual-review-list li{padding:21px;border:1px solid #d6e7e0;border-radius:16px;background:#fff;box-shadow:0 4px 16px #1234510f;min-height:150px}
.sld-actual-review-list blockquote{margin:8px 0;font-size:14px;font-weight:500;color:#314b56}
.sld-actual-review-list .sld-review-author{color:#0f7958;font-size:13px;font-weight:800}
.sld-no-reviews{padding:14px 20px;border:1px dashed #b9dacf;border-radius:15px;background:#fff;color:#455d65}
.sld-google-review-card{max-width:780px;margin:auto;border:1px solid #dce8f1;background:#fff;border-radius:20px;padding:25px;box-shadow:0 10px 40px #1234}
.sld-google-review-card label{font-size:15px;font-weight:850;color:#153c50;display:block}
.sld-google-review-card textarea{display:block;width:100%;min-height:134px;resize:vertical;border:1px solid #b9cfd9;border-radius:10px;background:#fafdfe;padding:14px;font:inherit;margin:12px 0}
.sld-google-review-card button{background:#1266b6;border:0;padding:15px 19px;color:#fff;border-radius:11px;font-weight:850;cursor:pointer}
.sld-google-review-card button:hover{background:#084d97}
.sld-google-review-card p{font-size:13px;color:#567482}
.sld-google-review-card [role=status]{font-weight:750;min-height:16px}
.sld-floating-actions{position:fixed;right:18px;bottom:20px;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:12px;z-index:9991}
.sld-floating-actions .sld-float-whatsapp{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff;background:#17a55d;padding:13px 17px 13px 13px;border-radius:999px;box-shadow:0 8px 23px #07583850;font-weight:850;font-size:14px;min-height:53px}
.sld-floating-actions .sld-float-whatsapp:hover{background:#087744;color:#fff;transform:translateY(-2px)}
.sld-floating-actions .sld-float-top{display:flex;align-items:center;justify-content:center;cursor:pointer;width:46px;height:46px;border-radius:50%;border:0;background:#10609c;color:#fff;box-shadow:0 8px 24px #07395f55}
.sld-floating-actions .sld-float-top[hidden]{display:none!important}
.sld-floating-actions .sld-float-top:hover{background:#073e72}
.sld-floating-actions a:focus-visible,.sld-floating-actions button:focus-visible,.sld-nav-toggle:focus-visible{outline:3px solid #f8b948;outline-offset:3px}
@media(max-width:1190px){
 .sld-nav-toggle{display:block;position:absolute;right:16px;top:15px;z-index:2}
 .sld-site-header #sld-main-nav .sld-header>.elementor-container{flex-wrap:wrap!important;justify-content:flex-start;padding-right:115px!important;min-height:75px}
 .sld-site-header #sld-main-nav .sld-header>.elementor-container>.sld-brand-logo{flex:0 0 58px!important;width:58px!important;display:block!important}
 .sld-site-header #sld-main-nav .sld-header>.elementor-container>.sld-brand-name{flex:1 1 190px!important;width:auto!important;display:block!important}
 .sld-site-header #sld-main-nav .sld-header>.elementor-container>.sld-nav-item{display:none!important;flex:0 0 100%!important;width:100%!important;max-width:100%!important}
 .sld-site-header.sld-nav-open #sld-main-nav .sld-header>.elementor-container{padding-right:18px!important}
 .sld-site-header.sld-nav-open #sld-main-nav .sld-header>.elementor-container>.sld-nav-item{display:block!important}
 .sld-site-header #sld-main-nav .sld-header .sld-nav-item .elementor-button{display:block!important;font-size:14px!important;text-align:left!important;border-bottom:1px solid #e4eeef!important;padding:13px 17px!important}
 .sld-site-header #sld-main-nav .sld-header .sld-quote-item .elementor-button{margin:10px 0 15px;text-align:center!important}
 .sld-native-header{flex-wrap:wrap!important;padding:10px 18px!important;gap:10px}
 .sld-native-header nav{display:none!important;width:100%;flex:0 0 100%;flex-direction:column;align-items:stretch}
 .sld-site-header.sld-nav-open .sld-native-header nav{display:flex!important}
 .sld-native-header nav a{font-size:14px!important;padding:11px 15px!important}
}
@media(max-width:767px){
 body.admin-bar .sld-site-header{top:46px}
 .sld-site-header .sld-header>.elementor-container>.sld-brand-name h3{font-size:19px!important}
 .sld-reviews-v3 .elementor-column{width:100%!important;flex:0 0 100%!important}
 .sld-review-platform-card{margin-bottom:18px!important}
 .sld-actual-review-list{grid-template-columns:1fr}
 .sld-floating-actions{right:10px;bottom:14px;gap:9px}
 .sld-floating-actions .sld-float-whatsapp{padding:12px;min-width:50px;justify-content:center}
 .sld-floating-actions .sld-float-whatsapp span{display:none}
 .sld-floating-actions .sld-float-top{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){.sld-floating-actions *{transition:none!important}}
