/* Beansider 5.4: component-scoped layout, with no body/header width resets. */
.beansider-search-wrapper .bsls-placeholder,.bs-destination-search .bscs-placeholder{color:#6D625B!important;font-weight:400!important;opacity:1!important}
.bs-home-story :is(.bs-home-story-map-city,.bs-home-story-attribution,.bs-home-story-example),.bs-home-story .bs-home-story-coffee dt{color:#6D625B!important;opacity:1!important}
.bs-home-story button.bs-home-story-tab{color:#6D625B!important}
.bs-home-story .bs-home-story-attribution{font-size:10px!important;line-height:1.5!important}
.bs-home-story .bs-home-story-attribution a{color:inherit!important;text-decoration:underline!important;text-underline-offset:2px}
/* Both country/city headings get the entire content width. CTA follows the grid. */
.bs-home-locations .bshl-block{grid-template-columns:minmax(0,1fr)!important;gap:30px!important}
.bs-home-locations h2.bshl-title{grid-column:1!important;grid-row:1!important;width:100%!important;max-width:none!important;text-wrap:pretty!important}
.bs-home-locations .bshl-grid{grid-column:1!important;grid-row:2!important}
.bs-home-locations a.bshl-button{grid-column:1!important;grid-row:3!important;justify-self:center!important;max-width:100%!important}
/* Remove whole-phrase no-wrap groups; the punctuation stays with its preceding word. */
:is(.bs-home-locations,.bs-home-story,.bscc-cities,.bs-archive-section,.bs-discover-countries) :is(.bshl-tail,.bs-home-story-tail,.bscc-cities__title-tail,.bs-archive-location){white-space:normal!important;display:inline!important}
.bscc-cities__title,.bs-archive-section h2.bs-archive-title,.bs-discover-countries h2.bsdc-title{max-width:none!important;width:100%!important;text-wrap:pretty!important;word-break:normal!important;overflow-wrap:break-word!important}
.bs-archive-section .bs-archive-title-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
.bs-archive-section .bs-archive-filter-toggle{justify-self:end!important;margin:0!important}
.bs-archive-section .bs-archive-title-wrapper>h2{grid-column:1!important}
:is(.bshl-dot,.bs-home-story-dot,.bs-archive-dot,.bscc-cities__dot,.bs-submission-intro-dot){white-space:nowrap!important}
/* A real wrapping label rather than a fixed-width pill or shrunken font. */
body .bs-home-hero .bs-hero-buttons-wrapper{display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:10px!important}
body .bs-home-hero .bs-hero-buttons-wrapper a{flex:1 1 auto!important;min-width:0!important;max-width:100%!important;min-height:46px!important;height:auto!important;padding:12px 20px!important;line-height:1.45!important;white-space:normal!important;text-align:center!important;overflow-wrap:break-word!important}
body .bs-home-hero .bs-hero-buttons-wrapper a::after{flex:0 0 auto}
:is(.bs-header-modal-box,.bsf-dialog,.bsbp-dialog,.bspo-dialog,.bs-submission-dialog) :is(p,a,button){word-break:normal!important;overflow-wrap:break-word!important}
:is(.bs-header-modal-text,.bsf-dialog-text,.bsbp-dialog-text,.bspo-dialog-text,.bs-submission-dialog-text){text-wrap:pretty!important;white-space:normal!important}
body :is(.bs-header-btn-modal,.bsf-button,.bsbp-button,.bspo-button,.bs-submission-button){height:auto!important;min-height:44px;white-space:normal!important;line-height:1.45!important}
/* Stable desktop hero controls while the font and search data arrive. */
.bs-home-hero .bsh-search-wrap{min-height:52px}
.bs-home-hero .bsh-buttons-wrap{min-height:46px}
.bs-home-hero .bsh-image-wrapper{contain:layout}
/* Safe horizontal frame for static pages, including notched phones in landscape.
   Existing CC/cafe widths and breadcrumbs are deliberately outside this scope. */
body.bs-refined-static{--bs-safe-start:max(20px,env(safe-area-inset-left,0px));--bs-safe-end:max(20px,env(safe-area-inset-right,0px));--bs-static-frame:min(1100px,calc(100vw - var(--bs-safe-start) - var(--bs-safe-end)))}
body.bs-refined-static :is(.bsgm-section,.bs-home-hero,.bs-home-story,.bs-home-locations,.bs-home-stats,.bs-discover-hero,.bs-business-hero,.bs-manifesto-hero,.bs-submission-hero,.bs-business-pricing,.bs-partner-offers,.bs-discover-countries,.bs-legal-wrapper,.bs-home-faq,.bs-discover-faq,.bs-business-faq,.bs-form-intro-wrap.bs-submission-form-intro,.bs-manifesto-section.bs-manifesto-editorial){box-sizing:border-box!important;width:var(--bs-static-frame)!important;max-width:var(--bs-static-frame)!important;min-width:0!important;margin-inline:calc((100% - var(--bs-static-frame))/2 + (var(--bs-safe-start) - var(--bs-safe-end))/2)!important;padding-inline:0!important}
/* Wrappers keep their editorial line lengths; only the outside frame is shared. */
body.bs-refined-static :is(.bs-home-hero,.bs-home-story,.bs-home-locations,.bs-discover-hero,.bs-business-hero,.bs-manifesto-hero,.bs-submission-hero,.bs-business-pricing,.bs-partner-offers,.bs-discover-countries,.bs-legal-wrapper) :is(h1,h2,h3){overflow-wrap:break-word!important}
@media(max-width:767px){
 body.bs-refined-static{--bs-safe-start:max(calc(10px + clamp(12px,4vw,20px)),env(safe-area-inset-left,0px));--bs-safe-end:max(calc(10px + clamp(12px,4vw,20px)),env(safe-area-inset-right,0px))}
 .bs-home-locations a.bshl-button{justify-self:center!important}
 .bs-archive-section .bs-archive-title-wrapper{gap:12px!important}
 body .bs-home-hero .bs-hero-buttons-wrapper a{flex-basis:auto!important}
}
@media(orientation:landscape) and (max-height:600px){
 body.bs-refined-static :is(.bs-header-container,.bs-site-footer){padding-left:max(20px,env(safe-area-inset-left,0px))!important;padding-right:max(20px,env(safe-area-inset-right,0px))!important}
}
/* Country dropdown only. Page, footer and static component widths are untouched. */
/* Long translated legal headings retain their typography and may wrap inside the phone frame. */
body.bs-refined-static .bs-legal-wrapper[lang]:not([lang="en"]) :is(h1.bs-legal-title,h2:not(.bs-legal-section)){display:block!important;overflow-wrap:anywhere!important;hyphens:manual}
.bs-header-discover-slot{display:inline-flex;align-items:center;gap:2px;position:relative;flex:0 0 auto;min-width:0}
.bs-header-destinations{position:static;flex:0 0 auto;display:inline-block;line-height:1}
.bs-header-destinations>summary{display:flex!important;align-items:center;justify-content:center;min-width:32px;min-height:40px;list-style:none!important;cursor:pointer;background:transparent!important;border:0!important;margin:0!important;padding:5px!important;color:#613A2E!important;-webkit-tap-highlight-color:transparent}
.bs-header-destinations>summary::-webkit-details-marker,.bs-header-destinations>summary::marker{display:none;content:''}
.bs-header-destinations>summary svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.5}
.bs-header-destination-list{box-sizing:border-box!important;position:absolute;inset-inline-start:0;top:calc(100% + 10px);z-index:100006;width:296px;min-width:0;max-width:calc(100vw - 48px);max-height:min(324px,calc(100dvh - 140px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9D8171 #FAF8F5;scrollbar-gutter:stable;margin:0!important;padding:8px!important;list-style:none!important;border:1px solid #E3D6CA;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(97,58,46,.07)}
.bs-header-destination-list::-webkit-scrollbar{width:6px}
.bs-header-destination-list::-webkit-scrollbar-thumb{background:#9D8171;border-radius:8px}
.bs-header-destination-list::-webkit-scrollbar-track{background:#FAF8F5}
.bs-header-destination-list li{margin:0!important;padding:0!important;list-style:none!important}
.bs-header-destination-list a{box-sizing:border-box!important;display:flex!important;align-items:center;min-height:44px;max-width:100%;margin:0!important;padding:10px 13px!important;border:0!important;border-radius:7px;background:transparent;font:400 14px/1.4 'Plus Jakarta Sans',sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;color:#613A2E!important;white-space:normal;overflow-wrap:break-word}
.bs-header-destination-list a::before,.bs-header-destination-list a::after{content:none!important}
.bs-header-destination-list a:hover{background:#F7F2ED}
.bs-header-destination-list li.bs-header-destinations-all{border-top:1px solid #E3D6CA;margin-top:5px!important;padding-top:5px!important}
.bs-header-discover-slot:has(.bs-header-destinations[open])::before{content:'';position:absolute;top:100%;left:0;width:296px;max-width:calc(100vw - 48px);height:10px}
/* Center uses a physical X axis in both directions; logical right + negative X clipped RTL. */
@media(min-width:1200px) and (hover:hover) and (pointer:fine){
 html[dir="rtl"] #bs-custom-header .bs-header-nav>.bs-header-discover-slot .bs-header-destination-list{inset-inline-start:auto!important;inset-inline-end:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
}
.bs-header-destinations :is(summary,a){outline:0 solid transparent!important;box-shadow:none!important}
.bs-header-destinations :is(summary,a):focus-visible{outline:2px solid #613A2E!important;outline-offset:2px!important}
@media(min-width:1200px) and (hover:hover) and (pointer:fine){.bs-header-destinations[data-bs-placement=desktop]>summary{display:none!important}}
#bs-mobile-nav .bs-header-discover-slot{justify-content:center;width:100%;max-width:340px}
#bs-mobile-nav .bs-header-destination-list{left:50%;right:auto;transform:translateX(-50%);max-height:min(324px,44dvh);max-width:calc(100vw - 48px)}
html[dir="rtl"] #bs-mobile-nav .bs-header-destination-list{inset-inline-start:auto!important;inset-inline-end:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
#bs-mobile-nav .bs-header-discover-slot:has(.bs-header-destinations[open])::before{left:50%;transform:translateX(-50%)}
@media(max-height:600px){#bs-mobile-nav .bs-header-destination-list{max-height:min(260px,calc(100dvh - 210px - env(safe-area-inset-top,0px)))}}

/* Picker expands to two columns after ten published languages, with a bounded height. */
.bs-lang-v3{min-width:68px}
.bs-lang-v3>summary>svg.bs-inline-flag,.bs-lang-v3-list a>svg.bs-inline-flag{width:24px!important;height:16px!important;min-width:24px!important;max-width:24px!important;flex:0 0 24px!important;stroke:none!important}
.bs-lang-v3 .bs-lang-v3-list.bs-lang-v3-many{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:340px!important;max-width:calc(100vw - 40px)!important;min-width:260px}
.bs-lang-v3-many a{min-width:0;overflow-wrap:break-word}
/* Anchor the phone/tablet language panel to the tools edge so 17 languages fit on small screens. */
#bs-custom-header .bs-header-mobile-tools{position:relative}
#bs-custom-header .bs-header-mobile-tools .bs-lang-v3{position:static}
#bs-custom-header .bs-header-mobile-tools .bs-lang-v3 .bs-lang-v3-list{inset-inline-end:0!important;min-width:min(260px,calc(100vw - 48px));max-width:calc(100vw - 48px)!important;max-height:min(55dvh,calc(100dvh - 130px))}
@media(prefers-reduced-motion:reduce){.bs-header-destinations *{transition:none!important;scroll-behavior:auto!important}}

/* Translated hero tails may wrap naturally; no fixed English phrase groups. */
:is(.bs-discover-hero,.bs-business-hero,.bs-manifesto-hero,.bs-submission-hero) :is([class$="-tail"],[class$="-end"],.naslov-lokacija){white-space:normal!important}
.bscc-cities .bscc-cities__head{flex-direction:column!important;align-items:stretch!important}
.bscc-cities .bscc-cities__tools{justify-content:flex-end!important}
:is(.bscm-section,.bscc-cities,.bs-archive-section) [data-bs-location-heading] span{display:inline!important;white-space:normal!important}

/* Alt remains in HTML for assistive technology; only the pre-image text paint is suppressed. Captions and credit lines are untouched. */
img[data-bs-media-render],img[class*="wp-image-"],img[class*="attachment-"],.elementor-widget-image img{font-size:0!important;color:transparent!important}

/* Some Elementor shortcode widgets retain a desktop-only left margin or shrink to zero. Normalize only widgets containing these standalone static components. */
body.bs-refined-static .elementor-widget-shortcode:has(>.elementor-shortcode>:is(.bsgm-section,.bs-home-hero,.bs-home-story,.bs-home-locations,.bs-home-stats,.bs-discover-hero,.bs-business-hero,.bs-manifesto-hero,.bs-submission-hero,.bs-business-pricing,.bs-partner-offers,.bs-discover-countries,.bs-legal-wrapper,.bs-home-faq,.bs-discover-faq,.bs-business-faq,.bs-submission-form-intro,.bs-manifesto-editorial)){width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;padding-inline:0!important}

/* Preserve the existing last-word-and-dot wrapper; only long phrase wrappers are released. */
:is(.bscm-section,.bscc-cities,.bs-archive-section) [data-bs-location-heading] .bs-location-heading__tail{white-space:nowrap!important}

/* Includes hardcoded hero media as well as native WP attachment output. */
:is(.bs-home-hero,.bs-featured-gallery,.bs-tablet-gallery,.bs-home-locations,.bs-discover-countries,#bs-custom-header) img{font-size:0!important;color:transparent!important}

.bs-lang-v3:not([open])>.bs-lang-v3-list,.bs-header-destinations:not([open])>.bs-header-destination-list{display:none!important}
#bs-custom-header:has(.bs-header-destinations[open],.bs-lang-v3[open]){z-index:100010!important}

:is(.bs-lang-v3,.bs-header-destinations)[data-bs-input=pointer] :is(summary,a):is(:focus,:focus-visible){outline:0 solid transparent!important;box-shadow:none!important}

/* The same wrapping rule covers FAQ, pricing, partner and editorial headings. */
body.bs-refined-static :is(.bsh-title-tail,.bsbp-title-end,.bsbp-tail,.bspo-tail,.bsdc-tail,.bs-home-faq-tail,.bs-discover-faq-tail,.bs-business-faq-end,.bs-manifesto-end,.bs-submission-end,.bs-submission-accent,.bs-submission-intro-end){display:inline!important;white-space:normal!important}
body :is(.bs-home-story a.bs-home-story-button,.bs-home-locations a.bshl-button,.bs-discover-countries button.bsdc-button){white-space:normal!important;line-height:1.45!important;overflow-wrap:break-word!important;height:auto!important;min-height:44px}
.bs-legal-wrapper :is(p,ul,ol){max-width:78ch}
/* Compact landscape phones whose CSS viewport is still below the 768px tablet breakpoint.
   No page/frame widths change. Portrait, existing tablets, and desktops are outside this query. */
@media (orientation:landscape) and (min-width:568px) and (max-width:767px){
 body .bsh-container.bs-home-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;grid-template-areas:"copy art" "controls art"!important;align-items:center!important;justify-items:stretch!important;column-gap:20px!important;row-gap:16px!important;margin-block:24px 40px!important}
 body .bs-home-hero .bsh-content{align-items:flex-start!important;align-self:end!important;text-align:left!important}
 body .bs-home-hero h1.bsh-title{max-width:none!important;font-size:clamp(30px,4.6vw,36px)!important;line-height:1.1!important;text-align:left!important}
 body .bs-home-hero p.bsh-overtitle{margin-bottom:12px!important;font-size:10px!important;letter-spacing:.06em!important}
 body .bs-home-hero .bsh-controls{max-width:none!important;gap:10px!important;align-self:start!important}
 body .bs-home-hero .bsh-image-wrapper{align-self:center!important;align-items:center!important;justify-self:center!important;max-width:360px!important;aspect-ratio:1.2!important;margin-top:0!important}
 body .bs-home-hero .bsh-image-wrapper img{transform:translateX(-3%)!important}
 body.bs-refined-static .bs-home-hero .bs-hero-buttons-wrapper{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 body.bs-refined-static .bs-home-hero .bs-hero-buttons-wrapper a{flex:1 1 130px!important;padding:10px 14px!important;font-size:13px!important;min-height:44px!important}
 body .bs-home-stats .bs-home-stats-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:0!important}
 body .bs-home-stats .bs-home-stats-metric{padding:8px 6px!important;gap:4px!important}
 body .bs-home-stats .bs-home-stats-name{font-size:12px!important;line-height:1.4!important}
 body .bs-home-stats .bs-home-stats-metric+.bs-home-stats-metric::before{content:''!important}
 body .bs-home-locations .bshl-grid,body .bs-discover-countries .bsdc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 18px!important}
 body .bs-home-locations a.bshl-card,body .bs-discover-countries a.bsdc-card{max-width:100%!important}
 body .bs-home-locations h3.bshl-name,body .bs-discover-countries h3.bsdc-name{font-size:22px!important}
 body .bs-archive-section .bs-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 18px!important}
 body .bs-serving-row{flex-direction:row!important;align-items:center!important;gap:16px 24px!important}
 body .bs-serving-row .bs-serving-title{font-size:20px!important;margin:0 16px 0 0!important}
 body .bs-serving-row .bs-serving-icon{width:20px!important;height:20px!important}
 body .bs-serving-row .bs-serving-text{font-size:14px!important}
 body .bs-cg-grid-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;min-width:0!important}
 body .bs-cg-grid-wrapper>.bs-mock-card{grid-column:auto!important;grid-row:auto!important;min-width:0!important}
 body .bs-cg-grid-wrapper :is(.bs-mock-label,.bs-mock-value){min-width:0!important;overflow-wrap:anywhere!important}
 body .bs-cg-grid-wrapper .bs-btn-secondary{max-width:100%!important;white-space:normal!important;line-height:1.4!important;height:auto!important}
 body .bs-services-hours-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;margin-block:28px!important;padding-block:24px!important}
 body .bs-services-hours-grid .bs-title{font-size:24px!important;margin-bottom:22px!important;line-height:1.2!important}
 body .bs-services-hours-grid .bs-col{min-width:0!important}
 body .bs-services-hours-grid .bs-service-item{gap:12px!important}
 body .bs-services-hours-grid .bs-service-text{min-width:0!important;overflow-wrap:break-word!important}
 body .bs-services-hours-grid .bs-hours-list{grid-template-columns:minmax(0,100px) minmax(0,1fr)!important;column-gap:10px!important}
 body .bs-services-hours-grid .bs-hours-time{white-space:normal!important}
 body .bscc-cities .bscc-cities__rail{--bscc-gap:18px;grid-auto-columns:calc((100% - var(--bscc-gap))/2)!important}
 body .bs-cc-hero .bs-cc-hero-stage{gap:12px!important;padding-block:12px!important}
 body .bs-cc-hero .bs-cc-illustration{max-width:620px!important}
 body .bs-cc-hero .bs-cc-illustration img{max-height:200px!important}
 body .bs-cc-hero .bs-cc-heading{font-size:34px!important}
 body .bs-cc-snapshot .bs-cc-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;row-gap:0!important}
 body .bs-cc-snapshot[data-count="1"] .bs-cc-metrics{grid-template-columns:minmax(0,1fr)!important}
 body .bs-cc-snapshot[data-count="3"] .bs-cc-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .bs-cc-snapshot[data-count="3"] .bs-cc-metric:last-child{grid-column:auto!important}
 body .bs-cc-snapshot .bs-cc-name{font-size:12px!important}
 body .bs-cc-snapshot .bs-cc-metric+.bs-cc-metric::before{content:''!important}
}
@media (orientation:landscape) and (min-width:640px) and (max-width:767px){
 body .bs-home-locations .bshl-grid,body .bs-discover-countries .bsdc-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
