/* User-approved palette 4: white canvas and softly tinted panels. */
body{background:#fff}
.uktus-home .hero{background:#fff}
.uktus-home .type-grid .type{background:#eaf5ed;border-color:#cfe4d3;box-shadow:0 5px 18px rgba(18,77,43,.08)}
.uktus-home .section.wrap#mesta{margin-top:56px;padding:28px;background:#f0f8f1;border:1px solid #e0eee2;border-radius:18px}
.uktus-home #mesta .card{background:#fff;border-color:#dceade;box-shadow:0 5px 18px rgba(18,77,43,.07)}
.uktus-home .how{background:#e7f4e9;border:1px solid #d5eada}
.uktus-home .closing{background:#f0f8f0;border-color:#dceade}
.uk-card,.ukr-tariffs>div{background:#eaf5ed;border-color:#c6e1ce;box-shadow:0 5px 18px rgba(18,77,43,.06)}
.ukr-places,.ukr-editorial,.ukr-search-terms,.ukr-no-results{background:#f0f8f1;border-color:#dbece0}
.uk-filters,.uk-info-item,.uk-empty{background:#f0f8f1;border-color:#dbece0}
/* Move the existing single search form into the header only when JS finds the expected theme markup. */
.ukr-searchbar.is-integrated{background:transparent;border:0;min-width:0;flex:0 0 210px;width:210px}
.ukr-searchbar.is-integrated .ukr-searchbar-inner{padding:0;max-width:none;margin:0}
.ukr-searchbar.is-integrated .ukr-search{width:100%;gap:5px}
.ukr-searchbar.is-integrated .ukr-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ukr-searchbar.is-integrated .ukr-search input{font-size:13px;padding:9px 10px}
.ukr-searchbar.is-integrated .ukr-search button{font-size:13px;padding:10px 12px}
@media(min-width:1181px){
 .uk-header .uk-container{max-width:var(--uk-max);padding-left:20px;padding-right:20px}
 .uk-header-inner{gap:7px}
 .uk-header-inner .uk-nav{margin-left:0;flex:0 0 auto;min-width:0}
 .uk-header-inner .uk-nav ul{flex-wrap:nowrap;gap:0}
 .uk-header-inner .uk-nav a{font-size:12.5px;white-space:nowrap;padding-left:3px;padding-right:3px}
 .uk-header-inner .ukr-searchbar.is-integrated{flex:0 0 190px;width:190px}
}
@media(max-width:1180px){
 .uk-header-inner .ukr-searchbar.is-integrated{width:min(270px,45%);flex:0 1 270px}
}
@media(max-width:760px){
 .uktus-home .section.wrap#mesta{margin-top:38px;padding:20px}
}
@media(max-width:560px){
 .uk-header-inner .ukr-searchbar.is-integrated{order:5;flex:1 1 100%;width:100%}
 .uk-header-inner{row-gap:8px}
}

/* v06: consistent, softly toned canvas and reading surfaces. */
:root{--uk-bg:#edf4ed;--uk-line:#d5e5d9}
body,.uk-header,.ukr-searchbar{background:#edf4ed}
.uk-header{border-color:#d2e3d5}
.uktus-home .hero{background:#edf4ed}
.uktus-home .eyebrow:before{display:none}
.uk-hero{border-radius:20px;overflow:hidden;box-shadow:0 9px 25px rgba(11,79,74,.09)}
body.page:not(.home):not(.page-id-116) article.type-page>.uk-entry-header,
body.single-post article.type-post>.uk-entry-header{
 padding:clamp(20px,3.5vw,38px);border:1px solid #cfe2d2;border-radius:20px;
 background:linear-gradient(120deg,#e0f0e3,#f2f8ee);margin-bottom:22px;
}
body.page:not(.home):not(.page-id-116) article.type-page>.uk-entry-header h1,
body.single-post article.type-post>.uk-entry-header h1{color:#103f35;margin:0}
body.single-post article.type-post>.uk-entry-header h1{margin:10px 0}
body.page:not(.home):not(.page-id-116) article.type-page>.uk-content,
body.single-post article.type-post>.uk-content{
 background:#f8fbf6;border:1px solid #d5e7d8;border-radius:20px;
 padding:clamp(20px,3.5vw,40px);box-shadow:0 8px 24px rgba(27,77,48,.045);
 overflow-wrap:anywhere;
}
body.page:not(.home):not(.page-id-116) article.type-page>.uk-content h2,
body.single-post article.type-post>.uk-content h2{color:#174d3e;border-color:#d5e7d8}
.uk-content .wp-block-table{overflow-x:auto;max-width:100%}
.uk-content table{display:block;max-width:100%;overflow-x:auto}
.uk-card{position:relative;min-width:0}
.uk-card-body,.uk-card-foot,.uk-price{min-width:0}
.uk-card-foot{align-items:flex-start;flex-wrap:wrap;gap:8px 14px}
.uk-card-foot .uk-price{white-space:normal;overflow-wrap:anywhere;flex:1 1 150px;line-height:1.45}
.uk-card-foot a{white-space:normal;flex:0 0 auto}
.uk-card h3 a:after{content:"";position:absolute;inset:0;z-index:1}
.uk-card .uk-tag,.uk-card-foot a{position:relative;z-index:2}
.uk-card:focus-within{outline:3px solid #d7832d;outline-offset:3px}
.uk-card h3 a:focus-visible,.uk-card .uk-tag:focus-visible,.uk-card-foot a:focus-visible{outline:3px solid #d7832d;outline-offset:3px}
.uk-card:hover{cursor:pointer}
@media(max-width:560px){
 body.page:not(.home):not(.page-id-116) article.type-page>.uk-entry-header,
 body.single-post article.type-post>.uk-entry-header{padding:22px}
 .uk-hero{border-radius:16px}
}
/* The guide keeps the original editorial text, but separates plans visually. */
body.page-id-21 .uk-content>h3{margin:24px 0 0;padding:16px 20px 6px;background:#e6f2e7;border:1px solid #cee3d1;border-bottom:0;border-radius:14px 14px 0 0;color:#154a3c}
body.page-id-21 .uk-content>h3+p{margin:0;padding:10px 20px 18px;background:#e6f2e7;border:1px solid #cee3d1;border-top:0;border-radius:0 0 14px 14px}
body.page-id-21 .uk-guide-articles{margin-top:32px;padding:22px;background:#edf6ed;border:1px solid #d0e5d3;border-radius:16px}
/* Give long price/conditions the full width; detail link is never cropped. */
.uk-card--place .uk-card-foot{flex-direction:column;align-items:stretch}
.uk-card--place .uk-card-foot .uk-price{flex:0 1 auto}
.uk-card--place .uk-card-foot .uk-card-link{align-self:flex-start}

/* v07: the page canvas stays white; only the navigation area is tinted. */
:root{--uk-bg:#fff}
body,.uktus-home .hero{background:#fff}
.uk-header,.ukr-searchbar{background:#dceadd}
.uk-header{border-bottom-color:#c4dac8}
.ukr-searchbar.is-integrated{background:transparent}
body.page:not(.home):not(.page-id-116) article.type-page>.uk-content,
body.single-post article.type-post>.uk-content{background:#fff}
/* Navigation interaction darkens, rather than flashing white. */
.uk-nav a:hover,.uk-nav a:focus-visible,.uk-nav .current-menu-item>a{background:#b9d7bf;color:#103e31}
.uk-nav a:focus-visible{outline:2px solid #176747;outline-offset:2px}
.uktus-home a.type:hover,.uktus-home a.type:focus-visible{background:#d6ead9;border-color:#9ac8a5}
.uk-card:hover{background:#d6ead9;border-color:#9ac8a5}
/* Wider desktop header, normal readable navigation, and deliberate space before search. */
@media(min-width:1521px){
 .uk-header .uk-container{max-width:1560px;padding-left:24px;padding-right:24px}
 .uk-header-inner{gap:14px}
 .uk-header-inner .uk-nav{margin:0 12px 0 0;flex:0 0 auto;min-width:0}
 .uk-header-inner .uk-nav ul{gap:2px;flex-wrap:nowrap}
 .uk-header-inner .uk-nav a{font-size:14.5px;padding:9px 3.5px;white-space:nowrap}
 .uk-header-inner .ukr-searchbar.is-integrated{margin-left:auto;flex:0 0 250px;width:250px}
 .uk-header-inner .ukr-searchbar.is-integrated .ukr-search{gap:7px}
 .uk-header-inner .ukr-searchbar.is-integrated input{font-size:14px}
}
/* Use the existing mobile-menu controls when a full-sized menu won't fit. */
@media(max-width:1520px){
 .uk-header .uk-container{max-width:var(--uk-max);padding-left:20px;padding-right:20px}
 .uk-header-inner{position:relative;flex-wrap:wrap;gap:12px}
 .uk-header-inner .uk-burger{display:block}
 .uk-header-inner .uk-nav{display:none;position:absolute;z-index:4;top:100%;left:0;right:0;margin:0;flex:auto;background:#dceadd;border:1px solid #c4dac8;border-radius:0 0 12px 12px;padding:12px 20px 18px;box-shadow:0 12px 24px rgba(15,23,42,.1);max-height:70vh;overflow-y:auto}
 .uk-header-inner .uk-nav.is-open{display:block}
 .uk-header-inner .uk-nav ul{flex-direction:column;align-items:stretch;gap:2px}
 .uk-header-inner .uk-nav a{font-size:15px;padding:10px 12px}
 .uk-header-inner .ukr-searchbar.is-integrated{width:min(270px,45%);flex:0 1 270px}
}
@media(max-width:560px){.uk-header-inner .ukr-searchbar.is-integrated{order:5;flex:1 1 100%;width:100%}}
/* Keep the sticky menu below the WordPress toolbar when it is visible. */
@media(min-width:783px){body.admin-bar .uk-header{top:32px}}
@media(min-width:601px) and (max-width:782px){body.admin-bar .uk-header{top:46px}}
/* No JavaScript: show the regular links instead of an inoperative menu button. */
@media(max-width:1520px){
 body:not(.ukr-js) .uk-header-inner .uk-burger{display:none}
 body:not(.ukr-js) .uk-header-inner .uk-nav{display:block;position:static;flex:1 1 100%;width:100%;max-height:none;overflow:visible;padding:0;border:0;border-radius:0;box-shadow:none}
 body:not(.ukr-js) .uk-header-inner .uk-nav ul{flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px}
 body:not(.ukr-js) .uk-header-inner .uk-nav a{padding:8px 9px}
}

/* v08: white canvas, three deliberately distinct levels of green. */
.uk-header,.ukr-searchbar{background:#cadfce}
.ukr-searchbar.is-integrated{background:transparent}
.uk-header-inner .uk-nav{background:inherit}
.ukr-places{background:#f2f8f1;border-color:#d4e8d7}
.ukr-places .uk-card{background:#dceee1;border-color:#bdddc5}
.ukr-places .uk-card:hover{background:#cbe5d1;border-color:#90c39d}
/* The illustrated headers are decorative, not images of specific real places. */
body.page-id-10{--ukr-banner:url('hero-uktus.jpg')}
body.page-id-18{--ukr-banner:url('termy.jpg')}
body.page-id-19{--ukr-banner:url('ski.jpg')}
body.page-id-20{--ukr-banner:url('bases.jpg')}
body.page-id-21{--ukr-banner:url('hero-guide.jpg')}
body.page-id-27{--ukr-banner:url('hero-business.jpg')}
body.page-id-116{--ukr-banner:url('hero-guide.jpg')}
body.page.page-id-10:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-18:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-19:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-20:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-21:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-27:not(.home) article.type-page>.uk-entry-header,
body.page.page-id-116:not(.home) article.type-page>.uk-entry-header{
 border:1px solid #cfe2d2;border-radius:20px;min-height:220px;
 display:flex;flex-direction:column;justify-content:center;
 padding:clamp(24px,4vw,44px);margin-bottom:22px;
 background-color:#e0f0e3;
 background-image:linear-gradient(90deg,#e0f0e3 0%,#e0f0e3 40%,rgba(224,240,227,.15) 78%),var(--ukr-banner);
 background-size:100% 100%,58% 100%;background-position:center,right center;background-repeat:no-repeat;
 overflow:hidden;
}
body.page.page-id-10:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-18:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-19:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-20:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-21:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-27:not(.home) article.type-page>.uk-entry-header h1,
body.page.page-id-116:not(.home) article.type-page>.uk-entry-header h1{max-width:57%;margin:0;color:#103f35}
body.post-type-archive-place,body.tax-place_type,body.tax-region{--ukr-banner:url('hero-uktus.jpg')}
body.term-termy{--ukr-banner:url('termy.jpg')}
body.term-gornolyzhka{--ukr-banner:url('ski.jpg')}
body.term-bazy-otdyha{--ukr-banner:url('bases.jpg')}
body.term-sanatorii{--ukr-banner:url('sanatoria.jpg')}
body.post-type-archive-place .uk-hero,
body.tax-place_type .uk-hero,body.tax-region .uk-hero{
 background-image:linear-gradient(90deg,rgba(8,73,62,.99) 0%,rgba(8,73,62,.95) 38%,rgba(8,73,62,.24) 100%),var(--ukr-banner);
 background-size:cover;background-position:center;
}
body.post-type-archive-place .uk-hero h1,body.post-type-archive-place .uk-hero p,
body.tax-place_type .uk-hero h1,body.tax-place_type .uk-hero p,
body.tax-region .uk-hero h1,body.tax-region .uk-hero p{max-width:62%}
@media(max-width:650px){
 body.page.page-id-10:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-18:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-19:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-20:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-21:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-27:not(.home) article.type-page>.uk-entry-header,
 body.page.page-id-116:not(.home) article.type-page>.uk-entry-header{
  padding:24px 22px 170px;min-height:0;
  background-image:linear-gradient(180deg,#e0f0e3 0%,#e0f0e3 45%,rgba(224,240,227,.08) 100%),var(--ukr-banner);
  background-size:100% 100%,100% 165px;background-position:center,bottom center;
 }
 body.page article.type-page>.uk-entry-header h1{max-width:100%}
 body.post-type-archive-place .uk-hero h1,body.post-type-archive-place .uk-hero p,
 body.tax-place_type .uk-hero h1,body.tax-place_type .uk-hero p,
 body.tax-region .uk-hero h1,body.tax-region .uk-hero p{max-width:100%}
 body.post-type-archive-place .uk-hero,body.tax-place_type .uk-hero,body.tax-region .uk-hero{
  background-image:linear-gradient(90deg,rgba(8,73,62,.94),rgba(8,73,62,.72)),var(--ukr-banner)
 }
}
body.ukr-page-sanatorii{--ukr-banner:url('sanatoria.jpg')}
body.page.ukr-page-sanatorii:not(.home) article.type-page>.uk-entry-header{
 border:1px solid #cfe2d2;border-radius:20px;min-height:220px;display:flex;flex-direction:column;justify-content:center;
 padding:clamp(24px,4vw,44px);margin-bottom:22px;background-color:#e0f0e3;
 background-image:linear-gradient(90deg,#e0f0e3 0%,#e0f0e3 40%,rgba(224,240,227,.15) 78%),var(--ukr-banner);
 background-size:100% 100%,58% 100%;background-position:center,right center;background-repeat:no-repeat;overflow:hidden;
}
body.page.ukr-page-sanatorii:not(.home) article.type-page>.uk-entry-header h1{max-width:57%;margin:0;color:#103f35}
@media(max-width:650px){
 body.page.ukr-page-sanatorii:not(.home) article.type-page>.uk-entry-header{padding:24px 22px 170px;min-height:0;background-image:linear-gradient(180deg,#e0f0e3 0%,#e0f0e3 45%,rgba(224,240,227,.08) 100%),var(--ukr-banner);background-size:100% 100%,100% 165px;background-position:center,bottom center}
 body.page.ukr-page-sanatorii:not(.home) article.type-page>.uk-entry-header h1{max-width:100%}
}
/* v09: on roomy desktop align the menu to the content edge and keep search near it. */
@media(min-width:1521px){
 .uk-header-inner>.uk-brand,.uk-header-inner>.uk-brand-wrap{margin-left:var(--ukr-header-shift,0px)}
 .uk-header-inner .uk-nav{margin-right:0}
 .uk-header-inner .ukr-searchbar.is-integrated{margin-left:8px}
}
/* Inert links in comment text remain readable but are not interactive. */
.comment-content a:not([href]),.comment-body a:not([href]){color:inherit;text-decoration:none;cursor:text}

/* v10: readable brand and menu, search aligned with the content's right edge. */
.uk-brand-name{font-size:21px}
.uk-brand-tag{font-size:12px}
@media(min-width:1521px){
 .uk-header-inner .uk-nav a{font-size:15.5px;padding:9px 2.5px}
 .uk-header-inner .ukr-searchbar.is-integrated{margin-left:calc(8px + var(--ukr-search-extra,0px))}
}
/* Full-bleed conceptual illustrations on category cards.  Text is kept on a
 * dark transparent gradient for contrast, not on an opaque blank rectangle. */
.uktus-home .type-grid .type{
 position:relative;isolation:isolate;overflow:hidden;min-height:270px;
 display:flex;flex-direction:column;justify-content:flex-end;
 padding:18px;border-color:#bdd9c3;background:#29564a;
}
.uktus-home .type-grid .type::before{
 content:"";position:absolute;inset:0;display:block;height:auto;margin:0;
 background-size:cover;background-position:center;z-index:-2;
}
.uktus-home .type-grid .type::after{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:linear-gradient(180deg,rgba(6,48,39,.02) 0%,rgba(6,48,39,.06) 38%,rgba(6,48,39,.90) 100%);
}
.uktus-home .type-grid .type-top{position:absolute;top:16px;left:17px;right:17px}
.uktus-home .type-grid .type h3{font-size:17px;color:#fff;margin:0 0 6px;text-shadow:0 1px 3px rgba(0,0,0,.3)}
.uktus-home .type-grid .type p{font-size:13px;color:#f0fbf1;margin:0;line-height:1.45;text-shadow:0 1px 3px rgba(0,0,0,.4)}
.uktus-home .type-grid .type-arrow{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.uktus-home .type-grid .type.is-pending{opacity:1}
.uktus-home .type-grid a.type:hover::after,.uktus-home .type-grid a.type:focus-visible::after{
 background:linear-gradient(180deg,rgba(6,48,39,.12) 0%,rgba(6,48,39,.18) 38%,rgba(6,48,39,.96) 100%);
}
@media(max-width:760px){
 .uktus-home .type-grid .type{min-height:220px;padding:16px}
 .uktus-home .type-grid .type-top{top:12px;left:12px;right:12px}
 .uktus-home .type-grid .type h3{font-size:15px}
 .uktus-home .type-grid .type p{font-size:12px}
}
@media(max-width:360px){.uktus-home .type-grid .type{min-height:210px}.uktus-home .type-grid .type h3{font-size:14px}}
@media(min-width:1521px){
 .uk-header .uk-container{max-width:1602px}
 .uk-header-inner .uk-nav ul{gap:1px}
 .uk-header-inner .uk-nav a{padding-left:1.5px;padding-right:1.5px}
 .uk-header-inner .ukr-searchbar.is-integrated{flex-basis:230px;width:230px}
}
@media(min-width:1521px){
 .uk-header-inner .uk-nav ul{gap:2px}
 .uk-header-inner .uk-nav a{padding-left:2px;padding-right:2px}
 .uk-header-inner .ukr-searchbar.is-integrated{flex-basis:244px;width:244px}
}
