/*
Theme Name: Tambo del Chalán
Theme URI: https://tambodelchalan.com
Author: Alturas Digital
Description: Custom WordPress theme based on the client-approved five-page visual design. Development starter; form and translations are not implemented.
Version: 0.13.2
Requires at least: 6.2
Text Domain: tambo-del-chalan
*/

/* v0.11.2 — readability, contact actions, and accessible floating WhatsApp */
.tambo-copy-sections{margin-top:24px}.tambo-copy-sections .body-copy{margin:0 0 17px;line-height:1.85}
.tambo-copy-subhead{font-size:17px;line-height:1.35;font-weight:600;color:#344b68;margin:29px 0 11px;letter-spacing:.01em}
.tambo-copy-subhead:first-child{margin-top:0}
.tambo-clean-list{list-style:none;padding:0;margin:18px 0 22px;color:#5f7284;line-height:1.8}
.tambo-clean-list li{padding:5px 0;border-bottom:1px solid rgba(52,75,104,.10)}
.tambo-card-divider{border-top:1px solid rgba(52,75,104,.23);margin:25px 0 14px}
.tambo-card-subhead{font-size:15px;color:#344b68;margin:26px 0 10px;font-weight:600}
.tambo-primary-cta{display:inline-flex;justify-content:center;align-items:center;background:#b96e4d;color:#fff!important;text-decoration:none!important;padding:15px 20px;margin-top:18px;font-size:12px;font-weight:700;letter-spacing:.05em;transition:background .2s ease;min-height:46px}
.tambo-primary-cta:hover,.tambo-primary-cta:focus-visible{background:#934c31}
.price-box .tambo-primary-cta{width:100%;box-sizing:border-box}
.tambo-contact-whatsapp{margin-top:25px;background:#247c57}
.tambo-contact-whatsapp:hover,.tambo-contact-whatsapp:focus-visible{background:#176343}
.tambo-whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:9999;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#25d366;color:white!important;box-shadow:0 5px 18px rgba(0,0,0,.22);text-decoration:none;transition:transform .2s ease}
.tambo-whatsapp-float:hover,.tambo-whatsapp-float:focus-visible{transform:translateY(-3px);outline-offset:3px}
.tambo-whatsapp-float svg{width:32px;height:32px}
@media(max-width:680px){.tambo-whatsapp-float{right:14px;bottom:14px;width:50px;height:50px}.tambo-whatsapp-float svg{width:29px;height:29px}}

/* v0.11.3 — icon sizing and balanced preparation section */
a.tambo-whatsapp-float{position:fixed!important;right:24px!important;bottom:24px!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;max-height:56px!important;box-sizing:border-box!important;overflow:hidden!important;padding:0!important;z-index:2147483000!important;border-radius:50%!important;background:#25d366!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.tambo-wa-glyph{display:block!important;width:32px!important;height:32px!important;line-height:32px!important;font:normal 32px/32px Arial,sans-serif!important;color:#fff!important;text-align:center!important;transform:rotate(-22deg)}
.prep-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch}
.prep-grid>.prep-card:nth-child(2){background:#f0e0d4}
@media(max-width:780px){.prep-grid{grid-template-columns:1fr!important}}
@media(max-width:680px){a.tambo-whatsapp-float{right:14px!important;bottom:14px!important;width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;max-width:50px!important;max-height:50px!important}}

a.tambo-whatsapp-float img.tambo-wa-icon{display:block!important;position:static!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain!important;margin:0!important;padding:0!important;flex:none!important}

/* v0.11.4 stability fixes */
.prep-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;align-items:start!important;gap:18px!important}
.prep-card{min-height:0!important;height:auto!important}
.prep-grid .tambo-clean-list{list-style:none!important;padding-left:0!important;margin:15px 0 22px!important}
.prep-grid .tambo-clean-list li{list-style:none!important;padding:6px 0!important;margin:0!important;border-bottom:1px solid rgba(52,75,104,.12)!important;font:13px/1.7 'DM Sans',sans-serif!important;color:#627387!important}
.contact-form button:disabled{opacity:.5;cursor:not-allowed}
.contact-form .tambo-contact-whatsapp{display:inline-flex}
@media(max-width:780px){.prep-grid{grid-template-columns:1fr!important}}

/* v0.11.5: compact WhatsApp artwork, retain fixed button dimensions */
a.tambo-whatsapp-float img.tambo-wa-icon{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;max-width:26px!important;max-height:26px!important}

/* v0.12.1 language state */
.tambo-languages a {color:#8b9299; text-decoration:none; transition:color .2s ease;}
.tambo-languages a[aria-current="page"] {color:#b96f52; font-weight:800;}
.tambo-languages a:not([aria-current]):hover {color:#b96f52;}

/* v0.13.0 — consolidated desktop and mobile refinements */
.price-box .tambo-primary-cta{background:#f0d5c3!important;color:#283d57!important}
.price-box .tambo-primary-cta:hover,.price-box .tambo-primary-cta:focus-visible{background:#e8bfa8!important;color:#283d57!important}
a.tambo-whatsapp-float{overflow:visible!important;isolation:isolate}
a.tambo-whatsapp-float img.tambo-wa-icon{object-fit:contain!important;overflow:visible!important}
@media(max-width:680px){
 .head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:22px 5% 0!important}
 .head .nav{display:flex!important;gap:9px!important;justify-self:end!important;align-items:center!important;min-width:0!important}
 .head .nav a{display:inline!important}
 .head .nav button{padding:9px 10px!important;font-size:9px!important;white-space:nowrap!important}
 .head .mark{font-size:25px!important;min-width:0!important}
 .head .mark span{font-size:6px!important;letter-spacing:.12em!important}
 .subnav{right:5%!important;left:auto!important;max-width:90vw!important;min-width:min(250px,90vw)!important;box-sizing:border-box!important}
 .hero-title{font-size:clamp(40px,10.5vw,67px)!important;overflow-wrap:anywhere}
 .composition{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:25px 6% 0!important;min-height:0!important}
 .composition .photo{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:215px!important}
 .composition .photo.c{grid-column:1/-1!important;height:170px!important}
 .composition .side-note{position:static!important;grid-column:1/-1!important;width:auto!important;margin:4px 0 0!important}
 .composition .orb{position:static!important}
 .bottom{padding-top:20px!important}
 .mobile-caption{display:none!important}
 .editorial-row{gap:20px!important;padding:40px 0!important}
 .inner-head{gap:20px!important}
 a.tambo-whatsapp-float{right:14px!important;bottom:14px!important}
}
@media(max-width:380px){
 .head .nav{gap:5px!important}
 .head .nav button{padding:8px!important}
 .composition .photo{height:175px!important}
}

/* v0.13.1 — mobile spacing and alignment polish. Desktop structure unchanged. */
@media (max-width:680px){
 /* Remove the standalone T emblem on mobile; retain accessible site link. */
 .head{grid-template-columns:1fr!important;padding:20px 6% 0!important}
 .head .mark{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
 .head .nav{grid-column:1!important;justify-self:end!important}
 .head .location{display:none!important}
 /* One shared horizontal rhythm for page content and footer text. */
 .home-footer{padding:32px 6% 28px!important;gap:17px!important}
 .home-footer .footnote{padding-top:15px!important}
 /* Reduce the large title-to-content gap on interior pages. */
 .inner-head{padding:48px 6% 10px!important;gap:12px!important}
 .inner-head h1{margin-top:14px!important}
 .page-content{padding:28px 6% 44px!important}
 .editorial-row{padding:28px 0!important;gap:18px!important}
 .editorial-row img{height:340px!important}
 .editorial-row:first-child img{height:clamp(390px,105vw,550px)!important;object-position:center!important}
 .pill-list{margin:19px 0 10px!important}
 .page-content>div[style*="padding-top"]{padding-top:28px!important}
 .retreat-gallery{padding:18px 0 18px!important;gap:16px!important}
 .itinerary-wrap{padding:28px 6% 48px!important;gap:25px!important}
 .itinerary-side img{height:clamp(290px,85vw,400px)!important;object-fit:cover!important;margin-top:18px!important}
 .day summary{padding:18px 0!important}
 .date-layout{padding:22px 6% 44px!important;gap:28px!important}
 .date-row{padding:19px 0!important}
 .prep-grid{padding:0 6% 44px!important;gap:14px!important}
 .contact-layout{padding:24px 6% 44px!important;gap:24px!important}
 .contact-layout .steps{margin-top:24px!important}
 .contact-form{padding:26px!important}
 .contact-form .tambo-contact-whatsapp{margin-top:18px!important}
 .intro-grid{padding-top:42px!important;padding-bottom:42px!important}
 .details-row,.route-block,.closing-grid{padding-top:40px!important;padding-bottom:40px!important}
}

/* v0.13.2 — verified source fixes and targeted mobile rhythm */
/* Keep the introductory copy only below the homepage photography. */
.composition .side-note{display:none!important}
/* Consistent footer background, with text on the same 6% mobile inset as content. */
@media(max-width:680px){
 .home-footer{box-sizing:border-box!important;padding:30px 6% 27px!important}
 .activity-composition{margin-bottom:34px!important}
 /* The ceremonial photograph is a portrait: constrain its visible height, don't stretch it. */
 .activity-composition .panel.right{height:clamp(300px,95vw,440px)!important;min-height:0!important;overflow:hidden!important}
 .activity-composition .panel.right img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 37%!important}
 .activity-composition .panel.right figcaption{bottom:0!important}
 .details-row{gap:16px!important;padding-top:25px!important;padding-bottom:27px!important}
 .route-block,.closing-grid{padding-top:26px!important;padding-bottom:28px!important}
 .intro-grid{padding-top:30px!important;padding-bottom:30px!important}
 .interior-photo{margin-bottom:0!important}
 .page-content{padding-top:18px!important;padding-bottom:30px!important}
 .page-content .editorial-row{padding:22px 0!important}
 .page-content .editorial-row:first-child img{height:clamp(410px,115vw,560px)!important;object-fit:cover!important}
 .page-content>div[style*="padding-top"]{padding-top:22px!important}
 .retreat-gallery{padding:14px 0!important;margin-bottom:16px!important}
 .itinerary-wrap{padding-top:18px!important;padding-bottom:32px!important}
 .itinerary-side img{height:clamp(340px,105vw,470px)!important;object-fit:cover!important}
 .date-layout{padding-top:15px!important;padding-bottom:27px!important}
 .prep-grid{padding-bottom:30px!important}
 .contact-layout{padding-top:16px!important;padding-bottom:30px!important}
 .contact-layout .steps{margin-top:16px!important}
 .contact-form{padding:22px!important}
}
