/* Kambala Home — header and home page redesign. Brand: cobalt #006DB4, sand #EADCC8. */

:root {
	--kb-blue: #006DB4;
	--kb-blue-dark: #00568f;
	--kb-sand: #EADCC8;
	--kb-cream: #F8F2E9;
	--kb-ink: #2b2f33;
}

html { scroll-behavior: smooth; }

/* ---------- Top bar ---------- */
#headcontainer { background-color: var(--kb-blue); margin-bottom: 0; }

/* ---------- Logo + menu row ---------- */
#logocontainer { padding-bottom: 0; }
@media only screen and (min-width: 769px) {
	#top-logo-menu-wrap { display: flex; align-items: center; justify-content: space-between; float: none; width: 100%; margin: 0; }
	#top-logo-menu-wrap:before, #top-logo-menu-wrap:after { display: none; }
	#top-logo-wrap, #top-navigation-menu-wrap { float: none; width: auto !important; margin: 0 !important; }
	#top-logo-wrap a { display: block; border: 0; }
}
#main-logo, #main-logo-min { width: auto !important; max-width: none; height: 76px !important; margin: 12px 0 12px -4px !important; }
#top-navigation-menu { margin-top: 0; margin-bottom: 0; }
#top-navigation-menu > li { padding: 33px 0; }
#top-navigation-menu li .top-navigation-content-wrap { font-size: 0.92em; color: #333; }
#top-navigation-menu .under-title { display: none; }
/* theme JS (allscript.js) leaves inline color:#767676 after hover; keep items dark, cobalt on hover */
#top-navigation-menu > li .top-navigation-content-wrap,
#top-navigation-menu > li .top-navigation-content-wrap .icon-angle-down { color: #333 !important; }
#top-navigation-menu > li.hover .top-navigation-content-wrap,
#top-navigation-menu > li.hover .top-navigation-content-wrap .icon-angle-down { color: var(--kb-blue) !important; }
#top-navigation-menu .sub_menu { margin-top: 67px; }

@media only screen and (min-width: 1030px) and (max-width: 1289px) {
	#main-logo, #main-logo-min { height: 66px !important; margin: 14px 0 !important; }
	#top-navigation-menu > li { padding: 30px 0; }
	#top-navigation-menu .sub_menu { margin-top: 64px; }
}
@media only screen and (min-width: 769px) and (max-width: 1029px) {
	#main-logo, #main-logo-min { height: 58px !important; margin: 14px 0 !important; }
	#top-navigation-menu > li { padding: 28px 0; }
	#top-navigation-menu .sub_menu { margin-top: 62px; }
}
@media only screen and (max-width: 768px) {
	#main-logo, #main-logo-min { height: 54px !important; margin: 12px 0 !important; }
}

/* ---------- Hero image (replaces the slider) ---------- */
#kb-hero { height: 600px; overflow: hidden; background: #e9e9e9; line-height: 0; }
#kb-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media only screen and (max-width: 1223px) {
	#kb-hero { height: auto; aspect-ratio: 1224 / 600; }
}

/* ---------- Quick booking bar ---------- */
#kb-search-wrap { position: relative; z-index: 30; max-width: 1040px; margin: -47px auto 0; padding: 0 16px; box-sizing: border-box; }
#kb-search {
	display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 0;
	margin: 0; padding: 14px 16px; background: var(--kb-cream); border-radius: 22px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
#kb-search .kb-field { display: flex; align-items: center; gap: 12px; margin: 0; padding: 4px 18px; border-right: 1px solid #dfd3c0; cursor: pointer; min-width: 0; }
#kb-search .kb-field .kb-ico { flex: none; width: 30px; height: 30px; color: var(--kb-blue); }
#kb-search .kb-field__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
#kb-search .kb-field__label { font-size: 13px; line-height: 1.2; color: #5d6166; font-weight: 400; }
#kb-search input[type="date"], #kb-search select {
	-webkit-appearance: none; appearance: none; width: 100%; min-width: 0; height: auto; margin: 0; padding: 2px 0 0;
	border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none;
	font: 600 17px/1.3 "Open Sans", sans-serif; color: var(--kb-ink); cursor: pointer;
}
#kb-search select { padding-right: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%232b2f33' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center / 12px 8px; }
#kb-search input[type="date"]:focus-visible, #kb-search select:focus-visible { outline: 2px solid var(--kb-blue); outline-offset: 3px; border-radius: 4px; }
#kb-search .kb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 0 16px; padding: 0 28px; height: 58px;
	border: 0; border-radius: 16px; background: var(--kb-blue); color: #fff; font: 700 17px/1 "Open Sans", sans-serif;
	text-transform: none; letter-spacing: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s;
}
#kb-search .kb-btn:hover, #kb-search .kb-btn:focus-visible { background: var(--kb-blue-dark); }
#kb-search .kb-btn .kb-ico { width: 22px; height: 22px; stroke-width: 2.2; }

@media only screen and (max-width: 900px) {
	#kb-search-wrap { margin-top: -36px; }
	#kb-search { grid-template-columns: 1fr 1fr; row-gap: 10px; padding: 14px; }
	#kb-search .kb-field { padding: 6px 10px; }
	#kb-search .kb-field:nth-of-type(2) { border-right: 0; }
	#kb-search .kb-btn { margin-left: 8px; padding: 0 12px; height: 54px; }
}
@media only screen and (max-width: 560px) {
	#kb-search-wrap { margin-top: 14px; padding: 0 12px; }
	#kb-search { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); border-radius: 18px; padding: 12px 8px; }
	#kb-search .kb-field { gap: 8px; padding: 6px 8px; }
	#kb-search .kb-field .kb-ico { width: 24px; height: 24px; }
	#kb-search input[type="date"], #kb-search select { font-size: 15px; }
	#kb-search .kb-btn { font-size: 15px; height: 50px; gap: 6px; }
}

/* ---------- Feature icons ---------- */
#kb-features { display: flex; justify-content: center; max-width: 1040px; margin: 34px auto 0; padding: 0 16px; box-sizing: border-box; }
#kb-features .kb-feature {
	flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 10px;
	border-right: 1px solid var(--kb-sand); text-align: center; text-decoration: none; border-bottom: 0;
	font: 400 16px/1.25 "Open Sans", sans-serif; color: var(--kb-ink); transition: color .15s;
}
#kb-features .kb-feature:last-child { border-right: 0; }
#kb-features .kb-feature .kb-ico { width: 46px; height: 46px; color: var(--kb-blue); stroke-width: 1.4; transition: transform .15s; }
#kb-features .kb-feature:hover, #kb-features .kb-feature:focus-visible { color: var(--kb-blue); }
#kb-features .kb-feature:hover .kb-ico { transform: translateY(-3px); }
@media only screen and (max-width: 700px) {
	#kb-features { flex-wrap: wrap; row-gap: 20px; margin-top: 24px; }
	#kb-features .kb-feature { flex: 0 0 33.333%; min-width: 0; box-sizing: border-box; font-size: 13px; padding: 4px 4px; }
	#kb-features { justify-content: center; padding: 0 8px; }
	#kb-features .kb-feature:nth-child(3) { border-right: 0; }
	#kb-features .kb-feature .kb-ico { width: 38px; height: 38px; }
}

/* ---------- Rooms ---------- */
.kb-home-on #room-view-wrap { margin-top: 30px; }
.kb-home-on #main-news-subheader { max-width: 1040px; margin-left: auto; margin-right: auto; font-size: 17px; line-height: 1.7; text-align: justify; hyphens: auto; -webkit-hyphens: auto; color: var(--kb-ink); }
.kb-home-on #main-news-subheader p { margin: 0 0 12px; }
.kb-home-on .main-rooms-list #room-view-content { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; width: auto; }
.kb-home-on .main-rooms-list .rooms-list-item-wrap { display: block; width: auto !important; margin: 0 !important; }
.kb-home-on .main-rooms-list #room-view-content img.rooms-list-image { width: 100% !important; height: auto; aspect-ratio: 375 / 249; object-fit: cover; }
.kb-home-on .main-rooms-list .rooms-list-header { font-size: 1.15em; margin-top: 16px; }
.kb-home-on .rooms-list-item-price {
	background-color: var(--kb-sand); color: var(--kb-ink); border: 2px solid var(--kb-blue);
	padding: 8px 13px; bottom: 22px; right: -6px;
}
.kb-home-on .price-shadow { display: none; }
.kb-home-on .room-overlay-readmore, .kb-home-on .room-overlay-checkavail, .kb-home-on .blog-overlay-readmore { background-color: var(--kb-blue); }
@media only screen and (max-width: 1029px) {
	.kb-home-on .main-rooms-list #room-view-content { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
}
@media only screen and (max-width: 560px) {
	.kb-home-on .main-rooms-list #room-view-content { grid-template-columns: minmax(0, 1fr); max-width: 400px; padding: 0 6px; }
	.kb-home-on #room-view-wrap { margin-top: 40px; }
	.kb-home-on .rooms-list-item-price { right: 0; }
}

/* ---------- New sections ---------- */
.kb-section { padding: 60px 0; scroll-margin-top: 20px; }
.kb-section--tint { background: var(--kb-cream); }
.kb-home-on #room-view-wrap { padding-bottom: 60px; }
.kb-wrap { max-width: 1224px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.kb-h2 { margin: 0 0 26px; font: 900 28px/1.2 "Open Sans", sans-serif; text-transform: uppercase; text-align: center; color: #444; letter-spacing: 0; }
.kb-wide-img { display: block; width: 100%; height: auto; border-radius: 18px; }
.kb-text { max-width: 860px; margin: 30px auto 0; }
.kb-section p, .kb-section .kb-list li { margin: 0 0 14px; font: 300 17px/1.7 "Open Sans", sans-serif; color: var(--kb-ink); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.kb-section .kb-list { margin: 0 0 14px 4px; padding: 0; list-style: none; }
.kb-section .kb-list li { position: relative; margin-bottom: 6px; padding-left: 26px; font-weight: 600; text-align: left; }
.kb-section .kb-list li:before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--kb-blue); }
.kb-section p strong { font-weight: 700; }
.kb-section p.kb-lead { font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--kb-blue); text-align: center; }
.kb-text .kb-lead { text-align: center; margin-bottom: 20px; }
.kb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.kb-split--rev .kb-split__img { order: 2; }
.kb-split__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.kb-split .kb-h2 { text-align: left; margin-bottom: 14px; }
@media only screen and (max-width: 800px) {
	.kb-section { padding: 42px 0; }
	.kb-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.kb-split--rev .kb-split__img { order: 0; }
	.kb-split__img { max-width: 560px; margin: 0 auto; }
	.kb-h2, .kb-split .kb-h2 { font-size: 23px; text-align: center; }
	.kb-wide-img { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	#kb-features .kb-feature .kb-ico { transition: none; }
}

/* ---------- About block ("С теплом и любовью") ---------- */
.kb-home-on #aboutus-placeholder, .kb-home-on #about-us-img { display: none; }
.kb-home-on #about-us-content { float: none; width: auto; margin-right: 30px; font-size: 17px; }
.kb-home-on #about-us-content p { margin: 0 0 14px; font: 300 17px/1.7 "Open Sans", sans-serif; color: var(--kb-ink); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.kb-home-on #information-wrap .header-wrap .icon-heart { color: var(--kb-blue); }
@media only screen and (max-width: 768px) {
	.kb-home-on #about-us-content { margin-right: 0; }
}

/* Phones and small tablets: rooms and About blocks use the same text width as the new sections */
@media only screen and (max-width: 768px) {
	.kb-home-on #room-view-wrap > .container,
	.kb-home-on #information-wrap > .container { width: auto !important; max-width: 1224px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
	.kb-home-on #information-wrap > .container > .columns { float: none; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
	.kb-home-on #about-us-content { margin-right: 0; }
}

/* ---------- Generic button ---------- */
a.kb-btn, a.kb-btn:visited {
	display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; height: 50px; border: 0; border-radius: 14px;
	background: var(--kb-blue); color: #fff; font: 700 15px/1 "Open Sans", sans-serif; text-transform: uppercase; letter-spacing: .4px;
	text-decoration: none; white-space: nowrap; transition: background-color .15s;
}
a.kb-btn:hover, a.kb-btn:focus-visible { background: var(--kb-blue-dark); color: #fff; }

/* ---------- Menu label without a link ---------- */
#top-navigation-menu li.kb-menu-label > .top-navigation-content-wrap > a, #top-navigation-menu li.kb-menu-label > a, #mobile-navigation-menu-list li.kb-menu-label > a { cursor: default; }
#top-navigation-menu .sub_menu li a { white-space: nowrap; }

/* ---------- Room page ---------- */
#top-content-divider.kb-room-head { margin-top: 0; padding: 14px 0 !important; margin-bottom: 34px; }
.kb-room-head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kb-room-head #main-title-wrap { padding: 0; font-size: 28px; line-height: 1.2; }
/* Full-width pages («О нас»): same strip, aligned to the theme grid of the text below. */
#top-content-divider.kb-page-head { margin-bottom: 14px; }
.kb-page-head #main-title-wrap { margin-bottom: 0; }
.kb-page-head .page-wrap.kb-room-head__in { display: flex; padding-top: 0; padding-bottom: 0; margin-bottom: 0; min-height: 0; float: none; }
.kb-page > img.alignleft:first-child + h2, .kb-page > p:first-child:has(> img.alignleft) + h2 { margin-top: 0; }
.kb-page > p:first-child:has(> img.alignleft) { margin: 0; }
.kb-room { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 44px; align-items: start; margin-bottom: 14px; }
.kb-gallery__stage { position: relative; aspect-ratio: 3 / 2; background: var(--kb-cream); border-radius: 18px; overflow: hidden; }
.kb-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; visibility: hidden; transition: opacity .3s; }
.kb-gallery__img.is-active { opacity: 1; visibility: visible; }
.kb-gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .88); color: var(--kb-blue); cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: background-color .15s;
}
.kb-gallery__nav:hover, .kb-gallery__nav:focus-visible { background: #fff; }
.kb-gallery__nav--prev { left: 14px; }
.kb-gallery__nav--next { right: 14px; }
.kb-gallery__count { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 12px; background: rgba(0, 0, 0, .5); color: #fff; font: 600 13px/1.3 "Open Sans", sans-serif; }
.kb-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.kb-gallery__thumb { flex: 0 0 auto; width: 96px; height: 64px; margin: 0; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.kb-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kb-gallery__thumb:hover, .kb-gallery__thumb.is-active { opacity: 1; }
.kb-gallery__thumb.is-active { border-color: var(--kb-blue); }
.kb-room__text .kb-h2 { text-align: left; margin-bottom: 16px; }
.kb-room__text p { margin: 0 0 14px; font: 300 17px/1.7 "Open Sans", sans-serif; color: var(--kb-ink); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.kb-room__btn { margin-top: 8px; }
img.kb-room-card-img { height: auto; }
@media only screen and (max-width: 900px) {
	.kb-room { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 46px; }
	.kb-room-head #main-title-wrap { font-size: 22px; }
	a.kb-btn { height: 46px; padding: 0 20px; font-size: 14px; }
	.kb-room__text .kb-h2 { text-align: center; }
}
@media only screen and (max-width: 480px) {
	.kb-room-head__in { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
	.kb-gallery__stage { border-radius: 12px; }
	.kb-gallery__thumb { width: 78px; height: 52px; }
	.kb-room__btn { display: flex; }
}

/* ---------- Testimonials: fixed-height card, full text in a dialog ---------- */
.kb-home-on #information-wrap .testimonials-content-wrap { min-height: 0; }
.kb-rev-text { position: relative; height: 280px; overflow: hidden; }
.kb-rev-text.is-clamped:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.kb-rev-text p { margin: 0 0 10px; }
.kb-rev-foot { height: 34px; padding-top: 8px; }
.kb-rev-more { margin: 0; padding: 0; border: 0; background: none; color: var(--kb-blue); font: 600 14px/26px "Open Sans", sans-serif; text-transform: none; letter-spacing: 0; cursor: pointer; border-bottom: 1px dashed currentColor; border-radius: 0; height: auto; }
.kb-rev-more:hover, .kb-rev-more:focus-visible { color: var(--kb-blue-dark); background: none; }
@media only screen and (max-width: 768px) {
	.kb-home-on #information-wrap .testimonials-content-wrap,
	.kb-home-on #information-wrap .testimonials-content { width: auto !important; box-sizing: border-box; }
	.kb-home-on #information-wrap .testimonials-content { padding: 24px 22px; }
	.kb-home-on #information-wrap .testimonials-content-wrap { padding-bottom: 20px; margin-bottom: 20px; }
	.kb-rev-text { height: 308px; }
}
#kb-rev-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 28, 36, .62); box-sizing: border-box; }
#kb-rev-modal.is-open { display: flex; }
.kb-rev-modal__box { position: relative; width: 100%; max-width: 660px; max-height: 84vh; overflow-y: auto; padding: 34px 38px 28px; background: #fff; border-radius: 18px; box-sizing: border-box; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.kb-rev-modal__text p { margin: 0 0 12px; font: 300 17px/1.7 "Open Sans", sans-serif; color: var(--kb-ink); }
.kb-rev-modal__author { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--kb-sand); font: 700 13px/1.4 "Open Sans", sans-serif; text-transform: uppercase; color: #666; }
.kb-rev-modal__close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; background: none; color: #777; font: 300 34px/40px "Open Sans", sans-serif; cursor: pointer; }
.kb-rev-modal__close:hover, .kb-rev-modal__close:focus-visible { color: var(--kb-blue); background: none; }
html.kb-rev-lock { overflow: hidden; }
@media only screen and (max-width: 560px) {
	#kb-rev-modal { padding: 10px; }
	.kb-rev-modal__box { padding: 30px 20px 22px; max-height: 88vh; }
	.kb-rev-modal__text p { font-size: 16px; }
}

/* kb: last menu item — its dropdown is aligned to the right edge so it never leaves the screen */
#top-navigation-menu > li:last-child { position: relative; }
#top-navigation-menu > li:last-child > .sub_menu { left: auto !important; right: 0 !important; }
#top-navigation-menu > li:last-child > .sub_menu .submenu-arrow-wrap { left: auto !important; right: 32px !important; width: 16px !important; padding: 0 !important; } /* points at the label: its centre is 41 px from the item's right edge */

/* ---------- Footer: one compact row (copyright, links, payment logos) ---------- */
.kb-home-on footer { margin-top: 30px; }
.kb-home-on #location-wrap { padding-bottom: 0; }
.kb-home-on #footer-wrap { padding: 16px 0; background-color: var(--kb-blue) !important; border-top: 0 !important; } /* cobalt like the top bar; the theme's allscript.js injects its option «menuColor» (#677c8b) here with !important */
.kb-home-on footer:before { display: none; } /* theme's 8 px grey stripe above the footer (css/options.css) */
.kb-home-on #prefooter-wrap > .five.columns { display: none; } /* empty widget areas «footer_section1/2» */
.kb-home-on #prefooter-wrap > div[align="right"] { display: flex; align-items: center; gap: 28px; text-align: left; }
.kb-home-on #prefooter-wrap .footer-widget { order: 2; flex: none; margin: 0; }
.kb-home-on #prefooter-wrap .footer-widget p { margin: 0; line-height: 0; }
.kb-home-on #copyright-wrap { order: 1; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 0; border-top: 0; }
.kb-home-on #copyright-text, .kb-home-on #copyright-links { float: none; margin: 0; }
.kb-home-on #copyright-text p { margin: 0; }
@media only screen and (max-width: 768px) {
	.kb-home-on #footer-wrap { padding: 18px 0 20px; }
	.kb-home-on #prefooter-wrap > div[align="right"], .kb-home-on #copyright-wrap { flex-direction: column; gap: 10px; text-align: center; }
	.kb-home-on #prefooter-wrap .footer-widget { order: 0; }
}

/* «Up» button: moved into the footer by kambala-home.php and placed on the footer's top edge, clear of the footer text */
.kb-btt-in-footer footer { position: relative; }
.kb-btt-in-footer #back-to-top { top: -20px; bottom: auto; right: 24px; z-index: 5; background: var(--kb-blue); border-color: #fff; opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.kb-btt-in-footer #back-to-top:hover { top: -24px; bottom: auto; }
@media only screen and (max-width: 768px) {
	.kb-btt-in-footer #back-to-top { right: 16px; }
}

/* ---------- Gallery lightbox (kb-lightbox.js, replaces the theme's lightBox 0.5) ---------- */
#kb-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 12px 16px; background: rgba(10, 20, 30, .92); line-height: 1.4; }
#kb-lb[hidden], #kb-lb .kb-lb__btn[hidden] { display: none; }
html.kb-lb-open, html.kb-lb-open body { overflow: hidden; }
#kb-lb .kb-lb__stage { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
#kb-lb .kb-lb__img { display: block; width: auto; height: auto; max-width: calc(100vw - 24px); max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); object-fit: contain; border-radius: 6px; box-shadow: 0 6px 30px rgba(0, 0, 0, .5); background: #222; transition: opacity .2s; }
#kb-lb.is-loading .kb-lb__img { opacity: .35; }
#kb-lb .kb-lb__cap { margin-top: 8px; color: #fff; font: 400 15px/1.4 "Open Sans", sans-serif; text-align: center; }
#kb-lb .kb-lb__bar { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 20px; }
#kb-lb .kb-lb__count { color: #fff; font: 600 15px/1 "Open Sans", sans-serif; }
#kb-lb .kb-lb__btn { width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--kb-blue); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: background .15s, color .15s; }
#kb-lb .kb-lb__btn:hover, #kb-lb .kb-lb__btn:focus-visible { background: var(--kb-blue); color: #fff; outline: none; }
#kb-lb .kb-lb__btn svg { width: 24px; height: 24px; }
#kb-lb .kb-lb__prev, #kb-lb .kb-lb__next { position: absolute; top: 50%; margin-top: -22px; }
#kb-lb .kb-lb__prev { left: 16px; }
#kb-lb .kb-lb__next { right: 16px; }
@media only screen and (min-width: 769px) {
	#kb-lb { padding-left: 76px; padding-right: 76px; }
	#kb-lb .kb-lb__img { max-width: calc(100vw - 152px); }
}
@media only screen and (max-width: 768px) {
	#kb-lb .kb-lb__prev { left: 8px; }
	#kb-lb .kb-lb__next { right: 8px; }
	#kb-lb .kb-lb__prev, #kb-lb .kb-lb__next { background: rgba(255, 255, 255, .8); }
}
