/* Instant layout reserves — paint before mobile-adapt.css */
html{scroll-behavior:auto}
body{margin:0}
img,video{max-width:100%;height:auto}
/* Full-viewport ONLY for homepage IceSlideshow */
body.homepage #iceslideshow,
body.homepage #iceslideshow .iceslideshow,
body.homepage #iceslideshow .iceslideshow-fill,
body.homepage .ice_slideshow,
#iceslideshow,
#iceslideshow .iceslideshow,
#iceslideshow .iceslideshow-fill{
  min-height:100svh !important;
  width:100% !important;
  background-color:#1a1410 !important;
  background-size:cover !important;
  background-position:center !important;
}
/* Static headerimage modules only — never clamp JS page heroes */
#headerimage:not(.kasimov-page-hero-host),
#headerimage:not(.kasimov-page-hero-host) .headerimage,
#headerimage:not(.kasimov-page-hero-host) > img{
  min-height:0 !important;
  width:100%;
  background-color:#1a1410;
  background-size:cover;
  background-position:center;
}
#headerimage:not(.kasimov-page-hero-host){
  min-height:220px;
  max-height:42vh;
  overflow:hidden;
}
/* Page heroes keep full-bleed; slides cover correctly */
body.kasimov-has-page-hero #headerimage.kasimov-page-hero-host,
body.kasimov-has-page-hero #kasimov-page-hero{
  max-height:none !important;
  overflow:hidden;
  background-color:#1a1410;
}
body.kasimov-has-page-hero .kasimov-page-hero__slide{
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
#iceslideshow .ice_preload,
.ice_preload{display:none !important}
#header,#it-header,.header{
  min-height:72px;
}
.kasimov-promo-card__media,
.kasimov-promo-card .kasimov-promo-card__media{
  display:block;
  aspect-ratio:16/10;
  min-height:220px;
  overflow:hidden;
  background:#241c16;
}
.kasimov-promo-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.blog .item-image,
.blog .item-image a,
.items-leading .item-image,
.category-module .item-image,
.kasimov-rooms .item-image{
  display:block;
  aspect-ratio:3/2;
  overflow:hidden;
  background:#241c16;
}
.blog .item-image img,
.items-leading .item-image img,
.category-module .item-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
#logo img, .logo img{
  width:auto;
  height:auto;
  max-height:56px;
}
#tl-hotel-booking-form,
.tl-container,
iframe[src*="travelline"]{
  min-height:0;
}


/* BATCH100q20 iphone viewport */
#iceslideshow,
#iceslideshow .iceslideshow,
#iceslideshow .iceslideshow-fill,
#headerimage.kasimov-page-hero-host,
#kasimov-page-hero{
  min-height:100svh !important;
  min-height:100dvh !important;
}

/* === BATCH146_IPHONE === */
@media only screen and (max-width:979px){
  #notice,#notice.kasimov-contacts-sticky,.kasimov-hero-contacts{
    background:transparent!important;background-color:transparent!important;
  }
  .kasimov-sticky-dates,.kasimov-sticky-dates.is-on{
    background:#fffcf8!important;
  }
  #kasimov-scroll-dock{background:transparent!important;pointer-events:none!important}
}

/* === BATCH147_HERO_CONTACTS === */
@media only screen and (max-width:979px){
  #iceslideshow #notice, #notice.kasimov-hero-contacts, #notice.kasimov-hero-pinned{
    position:absolute!important; left:auto!important; right:12px!important;
    bottom:78px!important; background:transparent!important; text-align:right!important;
  }
  #kasimov-scroll-dock > #notice{display:none!important}
}

/* === BATCH148_CONTACTS_TIGHT === */
@media only screen and (max-width:979px){
  #iceslideshow #notice, #notice.kasimov-hero-contacts, #notice.kasimov-hero-pinned{
    background:transparent!important; border:0!important; box-shadow:none!important;
    padding:0!important; bottom:118px!important;
  }
  #notice .kasimov-contacts__group--address{margin-top:-4px!important}
}

/* === BATCH149_NO_ICONS === */
@media only screen and (max-width:979px){
  #notice .kasimov-contacts__icon, #notice img.kasimov-contacts__icon{display:none!important}
}

/* === BATCH149b_NO_ICONS_ALL === */
#notice .kasimov-contacts__icon, .kasimov-contacts__icon{display:none!important}

/* === BATCH150_HIDE_ICONS === */
html body.kasimov-page-home #notice .kasimov-contacts__icon,
html body #notice .kasimov-contacts__icon,
html body #notice img[src*="phone.png"],
html body #notice img[src*="map-marker"],
html body #language img[src*="phone.png"],
html body #language img[src*="map-marker"]{
  display:none!important;visibility:hidden!important;width:0!important;height:0!important;opacity:0!important;
}

/* === BATCH151_SCROLL_STABLE === */
@media only screen and (max-width:979px){
  html body.kasimov-page-home #iceslideshow #notice,
  html body.kasimov-page-home #notice.kasimov-hero-contacts{
    position:absolute!important; right:12px!important; bottom:118px!important;
    transform:none!important; transition:none!important; opacity:1!important;
    background:transparent!important;
  }
  #kasimov-scroll-dock > #notice{display:none!important}
}

/* === BATCH153_PHONE_STACK_REPAIR === */
#notice .kasimov-contacts--cluster{display:flex!important;flex-direction:column!important;align-items:flex-end!important}
#notice .kasimov-contacts__group--phones .kasimov-contacts__text{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:0!important}
#notice a.kasimov-phone{display:block!important;text-align:right!important}
#notice .kasimov-phones__sep,#notice .kasimov-contacts__icon{display:none!important}

/* === BATCH153c_STACK_MOBILE === */
@media only screen and (max-width:979px){
  #notice .kasimov-contacts--cluster,
  #notice .kasimov-contacts__group--phones .kasimov-contacts__text{
    display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:0!important;column-gap:0!important
  }
  #notice a.kasimov-phone{display:block!important;text-align:right!important}
}

/* === BATCH154_CONTACTS_READABLE === */
@media only screen and (max-width:979px){
  html body.kasimov-page-home #iceslideshow #notice,
  html body.kasimov-page-home #notice.kasimov-hero-contacts{
    bottom:68px!important; background:transparent!important;
  }
  #notice a.kasimov-phone, #notice a.kasimov-address__link{
    color:#fff!important; font-weight:600!important; font-size:13.5px!important;
    text-shadow:0 0 2px #000,0 1px 2px rgba(0,0,0,.9),0 2px 8px rgba(0,0,0,.7)!important;
    background:transparent!important;
  }
}

/* === BATCH154b_READABILITY === */
@media only screen and (max-width:979px){
  #notice a.kasimov-phone{font-size:15px!important;font-weight:700!important;text-shadow:0 0 3px #000,0 1px 2px #000,0 2px 8px rgba(0,0,0,.85)!important}
  #notice a.kasimov-address__link{font-size:13.5px!important;font-weight:700!important;text-shadow:0 0 3px #000,0 1px 2px #000,0 2px 8px rgba(0,0,0,.85)!important}
}

/* === BATCH155_NO_SHEET_JUMP === */
@media only screen and (max-width:979px){
  html body.kasimov-page-home #iceslideshow,
  html body.kasimov-page-home #iceslideshow .carousel,
  html body.kasimov-page-home #iceslideshow .item{
    height:100svh!important;min-height:100svh!important;max-height:100svh!important;
  }
  html body.kasimov-page-home #content{
    margin-top:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;
  }
}

/* === BATCH160_TL_ORIGINAL === */
#tl-booking-form{display:block!important;width:100%!important;min-height:200px!important;position:static!important;pointer-events:auto!important;overflow:visible!important;z-index:auto!important;transform:none!important}
#tl-booking-form iframe[src]{display:block!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;max-height:none!important;min-height:0!important;height:auto!important;border:0!important}
.kasimov-page-booking .kasimov-sticky-dates,.kasimov-page-booking #kasimov-scroll-dock,.kasimov-page-booking #kasimov-page-hero{display:none!important}

/* === BATCH163_TL_FULL_CTA_FOOTER === */
#tl-booking-form{display:block!important;width:100%!important;min-height:0!important;height:auto!important;background:transparent!important;padding:0!important;margin:0!important}
#tl-booking-form iframe[src]{display:block!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;max-height:none!important;min-height:0!important;height:auto!important;border:0!important}
a.kasimov-book-cta,.readmore a,a.readmore,.kasimov-room-card__book{background:#970000!important;color:#fff!important;border:0!important}

/* === FIX164_BOOKING_HERO_ADDRESS === */
html body #header a.kasimov-phone,html body #header a.kasimov-address__link{font-family:Manrope,"PT Sans",Arial,sans-serif!important;font-size:13px!important;font-weight:500!important;line-height:1.25!important}

/* FIX183_CRITICAL */
#tl-booking-form iframe[src],
#tl-booking-form iframe[src*="tlintegration"],
#tl-booking-form iframe[src*="travelline"]{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

/* FIX184_CRITICAL */
#tl-booking-form iframe[src],
#tl-booking-form iframe[src*="tlintegration"]{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
