/* Kasimov premium canvas — all pages, all viewports */

:root {
  --kasimov-ink: #100e0c;
  --kasimov-deep: #1a1613;
  --kasimov-warm: #2b221c;
  --kasimov-ember: rgba(151, 0, 0, 0.18);
  --kasimov-gilt: rgba(201, 169, 110, 0.1);
  --kasimov-panel: #ffffff;
  --kasimov-panel-edge: rgba(255, 255, 255, 0.06);
  --kasimov-radius: 10px;
  --kasimov-radius-sm: 8px;
}

html {
  min-height: 100% !important;
  background-color: var(--kasimov-ink) !important;
  background-image: none !important;
}

body,
body.site,
body.com_content,
body.com_content.view-article,
body.com_content.view-category,
body.com_content.view-featured,
body.com_contact,
body.com_search,
body.com_users,
body.error_page,
body.offline_page {
  min-height: 100vh !important;
  color: #2a2420 !important;
  background-color: var(--kasimov-ink) !important;
  /* Soft atmospheric gradient only — no noise / grid texture */
  background-image:
    radial-gradient(ellipse 110% 70% at 50% -15%, var(--kasimov-ember), transparent 58%),
    radial-gradient(ellipse 80% 55% at 110% 30%, var(--kasimov-gilt), transparent 52%),
    radial-gradient(ellipse 70% 50% at -10% 85%, rgba(70, 48, 32, 0.35), transparent 50%),
    linear-gradient(168deg, var(--kasimov-deep) 0%, var(--kasimov-ink) 42%, var(--kasimov-warm) 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Remove checkered/noise overlay that made the site look unfinished */
body::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Kill flat theme fillers that hide the canvas on inner pages */
#headerimage-noimage {
  background: transparent !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#content_shadow {
  background: none !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

#headerimage {
  background-color: transparent !important;
}

/* Content stage — white panel floating on premium canvas (every page) */
#content.container,
section#content,
#content {
  background: var(--kasimov-panel) !important;
  box-shadow:
    0 1px 0 var(--kasimov-panel-edge) inset,
    0 24px 80px rgba(0, 0, 0, 0.45) !important;
  border-radius: var(--kasimov-radius) !important;
  overflow: visible !important;
}

#footer,
footer#footer,
#copyright,
#copyright .copytext,
#copyright a,
#footer a {
  background: transparent !important;
  color: rgba(255, 245, 230, 0.78) !important;
}

/* Desktop: visible canvas frame around the stage */
@media only screen and (min-width: 980px) {
  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #content.container,
  section#content,
  #content {
    margin-top: 24px !important;
    margin-bottom: 32px !important;
    border-radius: var(--kasimov-radius) !important;
  }

  #footer.container,
  footer#footer {
    margin-bottom: 24px !important;
  }
}

/* Mobile / tablet: slight inset so rounding stays visible and consistent */
@media only screen and (max-width: 979px) {
  #content.container,
  section#content,
  #content {
    margin-left: 10px !important;
    margin-right: 10px !important;
    margin-top: 12px !important;
    margin-bottom: 20px !important;
    border-radius: var(--kasimov-radius) !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
  }
}

/* ——— Unified soft radius for cards / controls / media ——— */
#content .kasimov-room-rates,
#content .price.kasimov-room-rates,
#content .kasimov-amenities,
#content .kasimov-promo-card,
#content .items-leading,
#content .blog .item,
#content .blog .items-row .item,
#content .kasimov-contacts-page,
#content .moduletable,
#content .module,
#right .moduletable,
#left .moduletable,
.kasimov-booking-card,
.tl-container,
#content .category-module li,
body.kasimov-page-rooms .blog .item {
  border-radius: var(--kasimov-radius-sm) !important;
}

#content .book-button,
#content a.book-button,
#content .btn,
#content .button,
#content input[type="submit"],
#content button,
.kasimov-booking-card button,
#mod-custom90 button,
#mod-custom90 .btn {
  border-radius: var(--kasimov-radius-sm) !important;
}

#content img,
#content a[data-lightbox] img,
#content .item-image img,
#content .blog img[itemprop="thumbnailUrl"],
#content .kasimov-gallery-img,
#content .kasimov-promo-card__media img,
#content .kasimov-gallery-mosaic img {
  border-radius: var(--kasimov-radius-sm) !important;
}

#content .kasimov-rate,
#content input,
#content select,
#content textarea {
  border-radius: 6px !important;
}

/* ——— Fix: page must scroll so room galleries are reachable ——— */
html,
html body,
html body.kasimov-has-page-hero,
html body.kasimov-page-rooms {
  height: auto !important;
  max-height: none !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Hero stays full-viewport; content flows below and scrolls with the page */
html body.kasimov-has-page-hero #headerimage,
html body.kasimov-has-page-hero #headerimage.kasimov-page-hero-host {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: none !important;
}

/* ——— Kill linen / checker / ornament overlays (look unfinished) ——— */
html body #content::before,
html body #content::after,
html body.kasimov-page-rooms #content::before,
html body.kasimov-page-rooms #content::after,
html body.kasimov-page-about #content::before,
html body.kasimov-page-about #content::after,
html body.kasimov-page-restaurant #content::before,
html body.kasimov-page-restaurant #content::after,
html body.kasimov-page-services #content::before,
html body.kasimov-page-services #content::after,
html body.kasimov-page-contacts #content::before,
html body.kasimov-page-contacts #content::after,
html body.kasimov-page-privacy #content::before,
html body.kasimov-page-home #promo::before,
html body.kasimov-page-home #promo::after,
html body::before,
html body::after,
html body.kasimov-page-contacts::before,
html body.kasimov-page-privacy::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* Beat mobile-adapt linen rules (need #content.container specificity) */
html body #content.container,
html body section#content,
html body #content,
html body.kasimov-page-rooms #content,
html body.kasimov-page-rooms #content.container,
html body.kasimov-page-about #content,
html body.kasimov-page-about #content.container,
html body.kasimov-page-restaurant #content,
html body.kasimov-page-restaurant #content.container,
html body.kasimov-page-services #content,
html body.kasimov-page-services #content.container,
html body.kasimov-page-contacts #content,
html body.kasimov-page-contacts #content.container,
html body.kasimov-page-privacy #content,
html body.kasimov-page-privacy #content.container,
html body.kasimov-page-home #promo,
html body.kasimov-page-home #promo.container {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  border-radius: var(--kasimov-radius) !important;
}

@media only screen and (min-width: 980px) {
  html body.kasimov-page-rooms #content,
  html body.kasimov-page-rooms #content.container,
  html body.kasimov-page-about #content,
  html body.kasimov-page-about #content.container,
  html body.kasimov-page-restaurant #content,
  html body.kasimov-page-restaurant #content.container,
  html body.kasimov-page-services #content,
  html body.kasimov-page-services #content.container,
  html body.kasimov-page-contacts #content,
  html body.kasimov-page-contacts #content.container,
  html body.kasimov-page-privacy #content,
  html body.kasimov-page-privacy #content.container {
    background-color: #ffffff !important;
    background-image: none !important;
    background: #ffffff !important;
    border-radius: var(--kasimov-radius) !important;
  }
}

/* ——— One soft radius everywhere (hero chrome + booking + chips + gallery) ——— */
html body #mod-custom90,
html body #mod-custom90 .custom,
html body #mod-custom90 .tl-container,
html body .tl-container,
html body .kasimov-booking-bar,
html body #bottom .moduletable,
html body #bottom .custom,
html body .kasimov-page-hero__caption,
html body #headerimage .kasimov-page-hero__caption,
html body .kasimov-welcome,
html body #headerimage .icons li,
html body .kasimov-page-hero .icons li,
html body ul.icons li,
html body .amenity,
html body .kasimov-amenity,
html body a.kasimov-book-cta,
html body a.kasimov-book-cta:link,
html body #mod-custom90 button,
html body #mod-custom90 .btn,
html body #mod-custom90 input,
html body #mod-custom90 select,
html body #mod-custom90 .form-control,
html body #content img,
html body #content a[data-lightbox] img,
html body.kasimov-page-rooms #content img,
html body.kasimov-page-rooms .item-image img,
html body.kasimov-page-rooms .blog img {
  border-radius: var(--kasimov-radius-sm) !important;
}


/* Force soft radius on gallery thumbs (beat mobile-adapt 4px) */
html body #content a[data-lightbox] img,
html body #content a[data-lightbox="image-1"] img,
html body.kasimov-page-rooms #content a[data-lightbox] img,
html body.kasimov-page-rooms #content .item-page img,
html body.kasimov-page-rooms #content p img {
  border-radius: 8px !important;
}


/* Final canvas cleanup: no photo body bg, no ornament/grid overlays */
html body,
html body.site,
html body.kasimov-page-rooms,
html body.kasimov-page-about,
html body.kasimov-page-restaurant,
html body.kasimov-page-services,
html body.kasimov-page-contacts,
html body.kasimov-page-privacy,
html body.kasimov-has-page-hero,
html body.kasimov-page-rooms.kasimov-has-page-hero {
  background-color: #100e0c !important;
  background-image:
    radial-gradient(ellipse 110% 70% at 50% -15%, rgba(151, 0, 0, 0.18), transparent 58%),
    radial-gradient(ellipse 80% 55% at 110% 30%, rgba(201, 169, 110, 0.1), transparent 52%),
    radial-gradient(ellipse 70% 50% at -10% 85%, rgba(70, 48, 32, 0.35), transparent 50%),
    linear-gradient(168deg, #1a1613 0%, #100e0c 42%, #2b221c 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body::before,
html body::after,
html body.site::before,
html body.site::after,
html body.kasimov-page-rooms::before,
html body.kasimov-page-rooms::after,
html body.kasimov-page-about::before,
html body.kasimov-page-about::after,
html body.kasimov-page-restaurant::before,
html body.kasimov-page-restaurant::after,
html body.kasimov-page-services::before,
html body.kasimov-page-services::after,
html body.kasimov-page-contacts::before,
html body.kasimov-page-contacts::after,
html body.kasimov-page-privacy::before,
html body.kasimov-page-privacy::after,
html body.kasimov-has-page-hero::before,
html body.kasimov-has-page-hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* sticky booking strip same soft radius as thumbs */
html body .kasimov-sticky-dates,
html body .kasimov-sticky-dates.is-on,
html body .kasimov-sticky-dates.is-desktop,
html body .kasimov-hero-booking,
html body .kasimov-tl-search {
  border-radius: 8px !important;
}


/* HOTEL UX FIX uiUnify8 */
@media only screen and (max-width: 979px) {
  /* Room page: photo hero instead of white header strip */
  html body.kasimov-page-rooms.kasimov-has-page-hero #headerimage,
  html body.kasimov-page-rooms.kasimov-has-page-hero #headerimage.kasimov-page-hero-host,
  html body.kasimov-has-page-hero #headerimage.kasimov-page-hero-host {
    display: block !important;
    visibility: visible !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none !important;
    background: #1a1613 !important;
  }
  html body.kasimov-page-rooms.kasimov-has-page-hero #kasimov-page-hero,
  html body.kasimov-has-page-hero #kasimov-page-hero {
    display: block !important;
    visibility: visible !important;
    height: 100% !important;
    min-height: 100vh !important;
  }
  html body.kasimov-page-rooms #header,
  html body.kasimov-has-page-hero #header {
    background: transparent !important;
    background-color: transparent !important;
  }
  html body.kasimov-page-rooms #header::before,
  html body.kasimov-has-page-hero #header::before {
    display: none !important;
    content: none !important;
    background: none !important;
  }
}

/* Center room article content */
html body.kasimov-page-rooms #content,
html body.kasimov-page-rooms #content.container,
html body.kasimov-page-rooms #content .item-page,
html body.kasimov-page-rooms #content .row,
html body.kasimov-page-rooms #content .span8,
html body.kasimov-page-rooms #content .span9,
html body.kasimov-page-rooms #content .span12 {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}
html body.kasimov-page-rooms #content .item-page {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.kasimov-page-rooms #content a[data-lightbox],
html body.kasimov-page-rooms #content p {
  text-align: center !important;
}
html body.kasimov-page-rooms #content a[data-lightbox] img {
  display: inline-block !important;
  margin: 8px !important;
  vertical-align: top !important;
}

/* Homepage promo cards: equal height tiles */
html body.kasimov-page-home #promo,
html body #promo {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
html body.kasimov-page-home #promo .kasimov-promo-card,
html body #promo .kasimov-promo-card,
html body #promo .moduletable,
html body #promo > div {
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
}
html body #promo .kasimov-promo-card__media,
html body #promo .kasimov-promo-card a.kasimov-promo-card__media {
  display: block !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}
html body #promo .kasimov-promo-card__media img,
html body #promo .kasimov-promo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
html body #promo .kasimov-promo-card__body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}
@media only screen and (max-width: 979px) {
  html body.kasimov-page-home #promo,
  html body #promo {
    grid-template-columns: 1fr !important;
  }
}
@media only screen and (min-width: 980px) and (max-width: 1199px) {
  html body.kasimov-page-home #promo,
  html body #promo {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Lightbox pinch: allow transform zoom inside lightbox only */
html body .lb-container,
html body .lb-outerContainer,
html body .lightbox .lb-image {
  touch-action: pinch-zoom pan-x pan-y !important;
}
html body {
  touch-action: pan-x pan-y !important;
}


/* heroFull2 canvas */

@media only screen and (max-width: 979px) {
  html body.kasimov-has-page-hero #headerimage,
  html body.kasimov-has-page-hero #headerimage.kasimov-page-hero-host,
  html body.kasimov-page-rooms #headerimage {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: none !important;
  }
}


/* sheetUI1 canvas */
@media only screen and (max-width: 979px) {
  html body:not(.kasimov-page-home) #content,
  html body:not(.kasimov-page-home) #content.container,
  html body.kasimov-has-page-hero #content,
  html body.kasimov-page-rooms #content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 28px 28px 0 0 !important;
  }
}


/* sheetUI2 canvas */
@media only screen and (max-width: 979px) {
  html body:not(.kasimov-page-home).kasimov-has-page-hero #content,
  html body:not(.kasimov-page-home).kasimov-has-page-hero #content.container,
  html body.kasimov-page-rooms.kasimov-has-page-hero #content,
  html body.kasimov-page-home #content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-top: -36px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #fbf8f3 !important;
    border-radius: 28px 28px 0 0 !important;
  }
}


/* sheetUI3 canvas home */
@media only screen and (max-width: 979px) {
  html body.kasimov-page-home #promo .moduletable,
  html body.kasimov-page-home #promo .span4,
  html body.kasimov-page-home .kasimov-promo-card {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}


/* sheetUI5 canvas */
@media only screen and (max-width: 979px) {
  html body.kasimov-page-home #content #promo .moduletable_content,
  html body.kasimov-page-home #content #promo .custom,
  html body.kasimov-page-home #content #promo .moduletable > div {
    padding: 0 !important;
    width: 100% !important;
  }
  html body.kasimov-page-home #content #promo .kasimov-promo-card,
  html body.kasimov-page-home #content #promo .kasimov-promo-card__media,
  html body.kasimov-page-home #content #promo .kasimov-promo-card__media img {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
}


/* centerRS1 canvas */
html body.kasimov-page-restaurant #content .row,
html body.kasimov-page-services #content .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html body.kasimov-page-restaurant #content .item-page,
html body.kasimov-page-services #content .item-page {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  float: none !important;
}


/* photoGap1 canvas */
html body.kasimov-page-rooms #content a[data-lightbox],
html body.kasimov-page-restaurant #content a[data-lightbox],
html body.kasimov-page-about #content a[data-lightbox] {
  margin: 0 !important;
  float: none !important;
}


/* photoGap2 canvas */
html body.kasimov-page-rooms #content .item-page {
  display: block !important;
}
html body #content .kasimov-gallery-mosaic {
  display: grid !important;
  gap: 16px !important;
}


/* EQUAL HOME TILES v9 — promo + extras: same width, same height */
@media only screen and (min-width: 980px) {
  html body.kasimov-page-home #promo.row,
  html body.kasimov-page-home #content #promo.row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home #promo > .moduletable,
  html body.kasimov-page-home #promo > .span4,
  html body.kasimov-page-home #content #promo > .moduletable.span4 {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body.kasimov-page-home #kasimov-home-extras,
  html body.kasimov-page-home #kasimov-home-extras.container {
    max-width: 1170px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home #content.kasimov-home-content {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home #promo.row,
  html body.kasimov-page-home .kasimov-home-extras__grid {
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }
  html body.kasimov-page-home .kasimov-home-extras__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home .kasimov-home-extras__grid > .sidebar_module,
  html body.kasimov-page-home .kasimov-home-extras__grid > .sidebar_module_ {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home .kasimov-home-extras__grid .sidebar_module_content,
  html body.kasimov-page-home .kasimov-home-extras__grid .custom,
  html body.kasimov-page-home .kasimov-home-extras__grid .custom.kasimov-side-mod {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.kasimov-page-home #promo .moduletable_content,
  html body.kasimov-page-home #promo .custom {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Shared card shell — identical for both rows */
  html body.kasimov-page-home #promo .kasimov-promo-card,
  html body.kasimov-page-home #promo .kasimov-promo-card--v2,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card--v2 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    height: 406px !important;
    min-height: 406px !important;
    max-height: 406px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  html body.kasimov-page-home #promo .kasimov-promo-card__media,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__media {
    display: block !important;
    flex: 0 0 220px !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    margin: 0 !important;
  }
  html body.kasimov-page-home #promo .kasimov-promo-card__media img,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__media img {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
  }

  html body.kasimov-page-home #promo .kasimov-promo-card__body,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: 186px !important;
    min-height: 186px !important;
    max-height: 186px !important;
    padding: 22px 22px 26px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  html body.kasimov-page-home #promo .kasimov-promo-card__body h3,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__body h3 {
    min-height: 2.4em !important;
    margin: 0 0 8px !important;
  }
  html body.kasimov-page-home #promo .kasimov-promo-card__text,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__text {
    flex: 1 1 auto !important;
    margin: 0 !important;
    min-height: 4.5em !important;
  }

  /* Match horizontal padding of both rows to the same content width */
  html body.kasimov-page-home #content.kasimov-home-content,
  html body.kasimov-page-home #kasimov-home-extras.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
}

@media only screen and (max-width: 979px) {
  html body.kasimov-page-home #promo .kasimov-promo-card__media,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__media {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    max-height: none !important;
  }
  html body.kasimov-page-home #promo .kasimov-promo-card__media img,
  html body.kasimov-page-home .kasimov-home-extras__grid .kasimov-promo-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* EQUAL HOME TILES v9d — force identical gap */
@media only screen and (min-width: 980px) {
  html body.kasimov-page-home #promo.row,
  html body.kasimov-page-home #content #promo.row,
  html body.kasimov-page-home #kasimov-home-extras .kasimov-home-extras__grid,
  html body.kasimov-page-home .kasimov-home-extras__grid {
    gap: 24px !important;
    column-gap: 24px !important;
    row-gap: 24px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* kasimov-unified-prose-v1 */
html body #content .kasimov-prose p,
html body #content .kasimov-svc-intro,
html body #content .kasimov-sight-intro,
html body #content .kasimov-svc-lead,
html body #content .kasimov-sight-card__lead,
html body #content .kasimov-sight-note {
  font-family: var(--kasimov-font-body, Georgia, "Times New Roman", serif) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  font-weight: 300 !important;
  color: var(--kasimov-ink-text, #3f3832) !important;
  margin: 0 0 1.15em !important;
  text-align: left !important;
  letter-spacing: 0 !important;
}
html body #content .kasimov-prose > p:first-child,
html body #content .kasimov-svc-intro,
html body #content .kasimov-sight-intro {
  font-size: 19px !important;
  line-height: 1.7 !important;
  margin-bottom: 1.35em !important;
}
html body #content .kasimov-svc-lead,
html body #content .kasimov-sight-card__lead {
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin-bottom: 0.9em !important;
  opacity: 0.95;
}
html body #content .kasimov-svc-zone span {
  font-family: var(--kasimov-font-body, Georgia, "Times New Roman", serif) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  font-weight: 300 !important;
  color: var(--kasimov-ink-text, #3f3832) !important;
}
html body #content .kasimov-sight-meta,
html body #content .kasimov-sight-meta li {
  font-family: var(--kasimov-font-body, Georgia, "Times New Roman", serif) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 300 !important;
  color: var(--kasimov-ink-text, #3f3832) !important;
}

/* === BATCH102_BOOKING_NOCLIP (premium-canvas) === */
/* Booking / TravelLine widgets must never be clipped by the white stage */
html body.kasimov-page-booking #content,
html body.kasimov-page-booking #content.container,
html body.kasimov-page-booking section#content,
html body #content:has(#tl-booking-form),
html body #content.container:has(#tl-booking-form),
html body #content:has(#tl-search-form),
html body #content:has(.tl-container),
html body #content:has(iframe[src*="travelline"]),
html body #content:has(iframe[src*="tlintegration"]),
html body #content:has(iframe[id^="tlFrame"]) {
  overflow: visible !important;
  max-height: none !important;
}
html body #tl-booking-form,
html body #tl-search-form,
html body #block-search,
html body .tl-container {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}
html body #tl-booking-form iframe,
html body #tl-search-form iframe,
html body iframe[id^="tlFrame"],
html body iframe[src*="travelline"],
html body iframe[src*="tlintegration"] {
  max-height: none !important;
  overflow: visible !important;
}


/* === BATCH114_BOOKING_LIKE_PROD (premium-canvas) === */
html body.kasimov-page-booking #headerimage,
html body.kasimov-page-booking #headerimage.kasimov-page-hero-host,
html body.kasimov-page-booking #kasimov-page-hero,
html body.kasimov-page-booking.kasimov-has-page-hero #headerimage,
html body.kasimov-page-booking.kasimov-has-page-hero #kasimov-page-hero {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
html body.kasimov-page-booking #content,
html body.kasimov-page-booking #content.container {
  overflow: visible !important;
  max-height: none !important;
}


/* === BATCH113f_BOOKING_LIGHT_CHROME === */
html body.kasimov-page-booking,
html body.kasimov-page-booking #wrapper,
html body.kasimov-page-booking #main {
  background: #f3eee6 !important;
  background-image: none !important;
  background-color: #f3eee6 !important;
}
html body.kasimov-page-booking #header,
html body.kasimov-page-booking header#header,
html body.kasimov-page-booking .kasimov-header-actions {
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.06) !important;
}
html body.kasimov-page-booking .kasimov-header-actions {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  box-sizing: border-box !important;
}
html body.kasimov-page-booking #content,
html body.kasimov-page-booking #content.container,
html body.kasimov-page-booking section#content {
  background: #ffffff !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.08) !important;
}
html body.kasimov-page-booking #content_shadow {
  display: none !important;
}

