/* SmartWay 4.0: wide content and stable light/dark palette across all 9 languages. */
:root{--sw40-max:1520px;--sw40-gutter:clamp(16px,2.1vw,38px)}
@media(min-width:1050px){
 body :is(.swu-page-content,.swv-wrap,.swt-wrap,.swg-in,.gift-wrap,.fq-wrap,.sw35-home-guides,.sw35-page-content,.sw34-city,.sw34-visa,.sw35-native,.sw35-home,.sw39-wrap,.elementor-section-boxed>.elementor-container,.elementor-container,.swu-footer>.container){max-width:var(--sw40-max)!important}
 body :is(.swv-wrap,.swt-wrap,.swg-in,.gift-wrap,.fq-wrap,.sw39-wrap,.sw40-blog-wrap){width:min(calc(100% - 2 * var(--sw40-gutter)),var(--sw40-max))!important;margin-inline:auto!important}
 body .swu-page-content .swu-page-content{max-width:100%!important}
 body .sw35-home-guides{width:min(calc(100% - 2 * var(--sw40-gutter)),var(--sw40-max))!important}
 body :is(.giftx,.faqx,.swguide) :is(.gift-wrap,.fq-wrap,.swg-in){max-width:var(--sw40-max)!important}
}
body :is(.faqx,.giftx,.swguide,.swv-confirm,.sw-confirm,.sw35-native,.sw35-home,.sw39-page){width:100%;min-width:0;overflow-wrap:break-word}
body :is(.sw35-home-guides,.sw39-page) p{max-width:90ch;line-height:1.65}
body .sw40-blog{font-family:Inter,Arial,sans-serif;color:#243a32;background:#fbfaf7;line-height:1.7}
body .sw40-blog-hero{background:linear-gradient(116deg,#302119,#65422b);color:#fff;padding:clamp(50px,6vw,100px) 0}
body .sw40-blog-hero :is(h1,p,span){color:#fff!important;-webkit-text-fill-color:#fff!important}
body .sw40-blog-hero h1{font-size:clamp(32px,4vw,58px);line-height:1.17;max-width:900px}
body .sw40-blog-hero p{max-width:860px;font-size:18px}
body .sw40-blog-section{padding-block:clamp(30px,4vw,70px)}
body .sw40-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:25px 0}
body .sw40-blog-grid a{display:block;padding:24px;min-height:110px;background:#fff;color:#28443b;border:1px solid #d4c4b4;border-radius:12px;font-weight:700;text-decoration:none}
/* Explicitly repair known unreadable cards under dark mode. Do not change the light theme. */
html[data-sw-mode="dark"] body :is(.sw35-home-guides,.sw35-home,.sw35-native,.sw35-page-content,.sw39-page,.swu-crosssell,.swu-bridge-cards,.swu-extra-links,.swu-travel-next,.swu-related-grid,.swv-confirm,.sw-confirm,.swguide,.giftx,.faqx,.swj-page,.swj-mail){color-scheme:dark!important}
html[data-sw-mode="dark"] body :is(.sw35-home-guides,.sw35-home,.sw35-page-content,.sw35-native,.swu-crosssell,.swu-bridge-cards,.swu-extra-links,.swu-travel-next,.swu-related-grid,.swguide,.giftx,.faqx,.swj-page,.swj-mail,.sw40-blog){background-color:#251b16!important;color:#f8f0e5!important}
html[data-sw-mode="dark"] body :is(.sw35-home-guides,.sw35-native,.sw35-home,.sw35-page-content,.swu-crosssell,.swu-bridge-cards,.swu-extra-links,.swu-travel-next,.swu-related-grid,.swguide,.giftx,.faqx,.swj-mail,.sw39-page) :is(.sw35-card,.sw35-hero-card,.sw35-home-card,.sw35-trio>article,.sw35-section>article,.sw35-proof>div,.sw35-faq>details,.sw39-card,.sw39-faq>details,.swg-card,.gift-offer,.gift-occasion,.gift-step,.gift-terms,.fq-cat,.faq-cat,.faqx details,article[class*="card"],div[class*="card"],.swu-bridge-card,.swj-form,.swj-subscribe){background-color:#34261f!important;border-color:#987650!important;color:#f8f0e5!important}
html[data-sw-mode="dark"] body :is(.sw35-home-guides,.sw35-native,.sw35-home,.sw35-page-content,.swu-crosssell,.swu-bridge-cards,.swu-extra-links,.swu-travel-next,.swu-related-grid,.swguide,.giftx,.faqx,.swj-mail,.sw39-page) :is(.sw35-card,.sw35-hero-card,.sw35-home-card,.sw35-trio>article,.sw35-section>article,.sw35-proof>div,.sw39-card,.swg-card,.gift-offer,.gift-occasion,.gift-step,.gift-terms,.fq-cat,.faq-cat,.faqx details,article[class*="card"],div[class*="card"],.swu-bridge-card) :is(h1,h2,h3,h4,h5,p,small,span,em,strong,li,label,summary){color:#f8f0e5!important;-webkit-text-fill-color:#f8f0e5!important}
html[data-sw-mode="dark"] body :is(.swu-page-content,.sw39-page,.sw35-page-content,.swv-confirm,.sw-confirm,.swguide,.giftx,.faqx) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:#493226!important;color:#fff6e8!important;-webkit-text-fill-color:#fff6e8!important;border:1px solid #c5a077!important}
html[data-sw-mode="dark"] body :is(.swu-page-content,.sw39-page,.sw35-page-content) :is(input,textarea)::placeholder{color:#e4d0b9!important;opacity:1}
html[data-sw-mode="dark"] body :is(.swv-confirm,.sw-confirm) :is(.swv-section,.swv-band,.swv-form,.sw-form,.swv-facts,.swv-company-note,.swv-legal-links){background-color:#33251f!important;color:#f8f0e5!important;border-color:#957453!important}
html[data-sw-mode="dark"] body :is(.swv-confirm,.sw-confirm) :is(.swv-section,.swv-facts,.swv-form,.sw-form,.swv-band) :is(h1,h2,h3,h4,p,span,strong,li,label){color:#f8f0e5!important;-webkit-text-fill-color:#f8f0e5!important}
html[data-sw-mode="dark"] body .sw40-blog{background-color:#251b16!important;color:#f8f0e5!important}
html[data-sw-mode="dark"] body .sw40-blog-grid a{background:#34261f;color:#f8f0e5;border-color:#987650}
html[data-sw-mode="dark"] body .sw40-blog-section :is(h2,p,a){color:#f8f0e5!important}
/* Accessible keyboard and reduced-motion baseline */
body :is(.sw40-blog,.sw39-page,.faqx,.giftx,.swguide) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f0bc76;outline-offset:3px}
@media(max-width:960px){body .sw40-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body .sw40-blog-grid{grid-template-columns:1fr}body .sw40-blog-grid a{min-height:70px;padding:18px}}
