/*-----------------------------------------------------------------------------------*/
/*	MAIN SLIDER AND SECTIONS
/*-----------------------------------------------------------------------------------*/
.banner {
  position: relative;
  margin: 0 auto;
	height: 900px;
  text-align: center;
  background: var(--color-main, #04415B);
  overflow: hidden;
}
.banner img {
  position: relative;
  padding: 0; margin: 0 auto;
  display: block;
  height: 900px;
  width: 1920px;
}

#subpg {
  height: 270px;
  background: url('../../images/bgr-subpage.webp') top center no-repeat;
}

/* --- AVIZO: vertikálně vycentrované, zarovnané vlevo v rámci max-width 1360px, max šířka 50% (680px) --- */
.avizo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* horizontální i vertikální centrování kontejneru */
  width: 100%;
  max-width: 1360px;                /* limitujeme šířku kontejneru do stejného rozmezí jako .wrap */
  box-sizing: border-box;
  pointer-events: auto;                  /* musí být pod headerem, header má vyšší z-index */
  display: flex;
  justify-content: flex-start;      /* obsah kontejneru (avizo-inner) zarovnáme vlevo */
  align-items: center;
  padding: 0;                        /* padding necháme v .avizo-inner (přesnější kontrola) */
  z-index: 50;
}
.avizo .avizo-inner {
  display: flex;
  flex-direction: column;        /* položky pod sebou místo vedle sebe */
  align-items: flex-start;       /* zarovnat vlevo */
  gap: 12px;                     /* mezera mezi řádky */
  width: 100%;
  max-width: 640px;
  margin: 0;
  margin-left: 30px;
  padding: 24px 20px;
  box-sizing: border-box;
  text-align: left;
  z-index: 50;
}
.avizo .avizo-inner h1 {
  color: var(--color-bg-light, #ffffff);
}
.avizo .avizo-inner p {
  color: var(--color-bg-light, #ffffff);
  font-size: 18px;
}

.play-cont {
  position: relative;
  display: inline-block;
  overflow: visible;
}
.play-cont .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  background: url('../../images/btn-play.png') center center no-repeat;
}
.play-cont .play:hover {
  opacity: 0.8;
}


/*-----------------------------------------------------------------------------------*/
/*	PAGE EVENTS
/*-----------------------------------------------------------------------------------*/
.teaser-card { 
  position: relative; 
  overflow: hidden; 
  border-radius: 6px; 
  background: var(--color-main, #0257B2);
  min-height: 420px; 
  display: flex; 
  flex-direction: column; 
}
.teaser-media { 
  height: 360px; 
  width: 100%; 
  overflow: hidden; 
}
.teaser-media img { 
  display:block; 
  width:110%; 
  height:110%; 
  object-fit:cover; 
  /*transition: transform 360ms cubic-bezier(.2,.9,.2,1); */
  transition: width 500ms;
  transform-origin: center center; 
}
.teaser-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  --teaser-footer-height: 160px;
  height: auto;
  box-sizing: border-box;
  z-index: 10;
  padding: 20px;
  background: var(--color-main, #0257B2);
  transform: translateY(calc(var(--teaser-footer-height, 160px)));
  transition: transform 360ms cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  pointer-events: none; 
}
.teaser-cta {
  font-size: 24px;
  margin-top: -10px;
}
.teaser-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-bg, #ffffff);
  box-sizing: border-box;
}
.teaser-meta { display:flex; flex-direction:column; }
.teaser-title { margin:0; padding:0; font-size: 30px; color: var(--color-accent, #BFAC7A); }
.teaser-text { font-size: 14px; margin-bottom: 10px; }

/* menu */
.teaser-menu {
  display: flex;
  flex-direction: column;
  padding: 0px 0px;
  margin: 0px;
  box-sizing: border-box;
}
.teaser-menu a { 
  display:block; 
  padding:7px 0px; 
  text-decoration:none; 
  color:var(--color-bg,#fff);
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.4); 
}
.teaser-menu a:last-child { 
  padding:8px 0px 0px 0px; 
  border-bottom: none; 
}
.teaser-menu a::before { 
  font-family: 'icomoon', sans-serif; /* upravte podle reálného icon fontu */
  content: "\e90b";
  display: inline-block;
  margin-right: 3px;
  font-size: 0.95em;
  vertical-align: middle;
  color: var(--color-accent); 
}
.teaser-menu a:hover,
.teaser-menu a:focus { color: var(--color-accent,#BFAC7A); }

.teaser-card:hover .teaser-footer,
.teaser-card.open .teaser-footer,
.teaser-card:focus-within .teaser-footer {
  transform: translateY(0);
  pointer-events: auto;
}
.teaser-card:hover .teaser-media img,
.teaser-card.open .teaser-media img,
.teaser-card:focus-within .teaser-media img {
  width:100%; 
  height:100%;
  margin-top: -40px; 
}

/*-----------------------------------------------------------------------------------*/
/*  BREADCRUMBS
/*-----------------------------------------------------------------------------------*/
.breadcrumbs {
  font-size: 14px;
  border-bottom: 1px solid var(--color-lines);
}
.breadcrumbs ul {
  display: flex;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs .crumb {
  margin-left: 0px;
}
.breadcrumbs .crumb a {
  color: var(--color-lines);
  text-decoration: none;
  font-size: 14px;
}
.breadcrumbs .crumb a:hover,
.breadcrumbs .crumb a:focus {
  text-decoration: underline;
}
.breadcrumbs .crumb.current {
  color: var(--color-lines);
  font-size: 14px;
}
.breadcrumbs .crumb::after {
  content: "›";
  margin: 0 30px;
  color: #cfcfcf;
}
.breadcrumbs .crumb:last-child::after { content: ""; }
#bread .wrap { padding-top: 6px; padding-bottom: 6px; }

.cnt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
}
.cnt-box {
  padding: 0px 0px 0px 0px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.cnt-grid .cnt-box {
  position: relative;
  padding-left: 50px;
  padding-right: 30px;
  counter-increment: col-counter;
}
.cnt-grid .cnt-box::before {
  content: counter(col-counter);
  position: absolute;
  top: 35px;
  left: 0;
  font-size: 56px;
  border-radius: 50%;
  color: rgba(0,0,0, 0.15);
  display: flex;
  font-family: 'redhat_black', Tahoma, Arial, sans-serif;
}
.cnt-grid .cnt-box:first-child:before {
  left: 10px;
}


/*-----------------------------------------------------------------------------------*/
/*  CAROUSEL
/*-----------------------------------------------------------------------------------*/
:root {
  --wrap-max: 1320px;   /* držíme konzistenci s .wrap */
  --wrap-pad: 30px;     /* padding-inline .wrap */
  --gap: 18px;
  --item-min: 220px;
  --item-max: 420px;
  --item-pref: 28vw;
  --item-height: 220px;
  --btn-size: 44px;
  --transition-ms: 480ms;
}
*{box-sizing:border-box}
.carousel-fullwidth {
  position: relative;
  width: 100%;
  padding: 18px 0;
  overflow: visible; /* umožní se pravá strana zobrazit, pokud viewport dovolí */
}
.carousel-viewport {
  position: relative;
  width: 100%;
  touch-action: pan-y;
  outline: none;
}
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;               
  padding: 6px 0;
}
.carousel-track {
  position: relative; /* místo absolute */
  left: auto !important;
  margin-left: 0;     /* JS bude nastavovat margin-left */
  display: flex;
  gap: 20px;
  padding: 6px 0;
  will-change: transform;
  transition: transform 480ms cubic-bezier(.2,.9,.2,1);
}
.carousel-item {
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
  width: 300px;
}
.item-media {
  position: relative;
  background: #ddd;
  overflow: hidden;
  display: block;
}
.destins .item-media {
  position: relative;
  overflow: visible;
  background: none;
  height: auto;
  border: 1px solid #eee;
}
.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-backface-visibility: hidden;
}
.destins .item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  -webkit-backface-visibility: hidden;
}
.item-media h3 {
  position: absolute;
  left: 30px;
  bottom: 30px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.destins .item-media h3 {
  position: relative;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}
.carousel-btn {
  position: absolute;
  top: -40px;
  right: 0px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--color-main);
  border: 2px solid var(--color-main);
  background: transparent;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
}
.carousel-btn:hover { background: var(--color-main); color: var(--color-bg-light);}
.carousel-btn:active { transform: translateY(-50%) scale(.98); }
.carousel-btn:disabled { opacity: 0.45; cursor: default; }

/* pozice tlačítek - jejich souradnice bude přepočtena JS vůči .wrap,
   ale sedí i bez JS: prev vlevo lícuje s wrap left; next u pravého okraje */
.carousel-btn.prev { right: 60px; }
.carousel-btn.next { right: 0px; }


/* před vykreslením JS počítání skryjeme track aby se zabránilo flash pozic */
.carousel-track[aria-hidden="true"] { visibility: hidden; }

/* pokud máte pevnou hlavičku */
body.has-fixed-header .carousel-fullwidth { margin-top: 0; }


/* kontejner hotelu */
.hotel-card { margin-bottom: 30px; }

.hotel-card p.strs { color: #A98E5A; font-size: 16px; margin: 20px 0px 0px 0px; padding: 0px; }
.hotel-card h3 { margin: 5px 0px 5px 0px; padding: 0px; }

.hotel-card .owl-dots {
  float: left;
  width: 100%;
  text-align: center;
}
.hotel-card .owl-dots .owl-dot span {
  float: left;
  width: 10px;
  height: 10px;
  background: var(--color-bg-light);
  margin-right: 5px;
  margin-top: 10px;
  border-radius: 20px;
}
.hotel-card .owl-dots .owl-dot.active span {
  background: var(--color-accent);
}
.blocks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;            /* ensure grid items stretch */
  grid-auto-rows: 1fr;             /* make each row have equal height cells */
  margin: 0 auto;
}

/* responsivita */
@media (max-width: 700px) {
  .blocks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .blocks-grid { grid-template-columns: repeat(1, 1fr); }
}
.block-card {
  /*border-radius: 5px;*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;   
  transition: transform .16s ease, box-shadow .16s ease;
  text-decoration: none;
  color: inherit;
}
.block-media {
  width: 100%;
  /* modernní způsob: aspect-ratio */
  aspect-ratio: 3 / 4;
  display: block;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}
.block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}
.block-body {
  padding: 0px 0px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;                   /* this makes body expand to equalize cards */
  min-height: 0;                    /* allow flex children to shrink properly */
}
.block-body h3 {
  padding: 10px 0px 0px 0px;             /* allow flex children to shrink properly */
}
#svcs .col a p {
  color: var(--color-text);
}
#svcs .col a:hover p {
  color: var(--color-text);
}
#svcs .col a:hover h3 {
  color: var(--color-accent);
}
#svcs .col a img {
  transition: all 300ms linear;
}
#svcs .col a:hover img {
  transform: scale(1.1);
}