body.is-anchor-scrolling .spotify_player iframe,
body.is-anchor-scrolling .iframe-container iframe{
  visibility: hidden;   /* nezaberie výkon pri renderi */
}

:root { --anchor-offset: 0px; }     /* pokojne 0, header nemáš fixed */
[id] { scroll-margin-top: var(--anchor-offset); }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth !important;
  /*scrollbar-gutter: stable;/*/
}



body {
  position: relative;
  min-height: 100%;
  /* fixes focus scrolling in Safari (OS X) */
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* disable webkit tap highlight */
  color: #7A7A76;
  font-family: "Poppins", sans-serif;
  height: 100%;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  min-height: 100vh; /* aspoň výška obrazovky */
  display: flex;
  flex-direction: column;
}

header {
  position: relative;
  padding: 20px 0;
  box-shadow: 0px 3px 30px #0000001A;
}

main {
  flex: 1 0 auto;
  background-color: #F5F5F2;
  padding-top: 100px;
  padding-bottom: 100px;

  background-image: url("../img/cover_background.svg");
    background-repeat: no-repeat;

    /* pozícia obrázka */
    background-position: 120% -100px; 
    /* alebo presne: background-position: 90% 20px; */

    /* veľkosť obrázka */
    background-size: 60% auto; 
}

.container {
  margin: 0 auto;
  width: 1200px;
}

.begin {
  display: flex;
}

.left-side-bar {
  flex: 0 0 70%;
  padding-right: 70px;
}

.right-side-bar {
  flex: 0 0 30%;
  padding-left: 90px;
}

.together {
  white-space: nowrap;
}

.right-side-bar .scroll {
  position: sticky;
  top: 20px; /* odsadenie od vrchu viewportu – uprav podľa headeru */
}

.header_loga {
  display: flex;
  align-items: center;
  gap: 25px; /* minimálna medzera text ↔ logo */
}

.banner_mobile {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 25px; /* minimálna medzera text ↔ logo */
  margin-left: auto;
  margin-right: 70px; /* vzdialenosť od ikon */
}

/* --- TOP MENU --- */
.menu__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px; /* rozostupy medzi "Úvod" a "Obsah projektu" */
  margin: 0;
  padding: 0;
}

.menu__item {
  position: relative;
}

.menu__link {
  position: relative;
  display: inline-block;
  padding: 18px 20px;
  text-decoration: none;
  color: #1D1D1B;
  font-size: 18px;
  font-weight: 500;
}

.menu__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu__link:hover {
  color: #FF7D01; /* jemná oranžová ako na obrázku */
}

/* --- SUBMENU (dropdown) --- */
.submenu {
  list-style: none;
  margin: 0;
  padding: 10px 0;

  position: fixed; /* dôležité */
  top: var(--header-bottom, 0px);
  left: 0;

  background: #fff;
  border-radius: 0px 0px 10px 10px;
  box-shadow: 5px 20px 20px #0000001A;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 1000; /* musí byť nad bridge */
}

/* otvorenie dropdownu (ponecháme hover logiku) */
.menu__item--has-sub:hover .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu__item {
  text-align: center;
}

.submenu__link {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: #222;
  font-size: 18px;
  font-weight: 500;
}

.intro {
  padding: 75px 0;
  display: flex;
  align-items: center;
}

.left-intro {
  flex: 0 0 30%;
  padding-right: 90px;
}

.right-intro {
  flex: 0 0 70%;
  padding-right: 20px;
}

.right-intro {
  width: 100%; /* zaberie celú šírku pravého stĺpca */
}

/* kontajner definuje rozmer + zaoblenie */
.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* správny pomer videa */
  border-radius: 12px; /* zaoblené rohy */
  overflow: hidden; /* 🔑 oreže iframe do tvaru */
}

/* iframe vyplní celý kontajner */
.iframe-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.minaiframe {
  position: relative;
  width: 94%;
  right: 9%;
}

.submenu__link:hover {
  color: #FF7D01;
}

/* aktuálna položka (na obrázku je "Kazuistiky" oranžová) */
.submenu__link.is-active {
  color: #FF7D01;
}

/* voliteľné: oddelenie položiek jemnou čiarou ako v mnohých dropdownoch */
.submenu__item + .submenu__item {
  border-top: 1px solid #f1f1f1;
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-underline {
  position: absolute;
  bottom: 0; /* SPODOK HEADERA */
  height: 5px;
  background: transparent linear-gradient(270deg, #FFC39B 0%, #FF7D01 100%);
  transition: left .2s ease, width .2s ease, opacity .15s ease;
  opacity: 0;
  pointer-events: none;
}

.menu__item--has-sub {
  position: relative;
}

/* neviditeľný most medzi linkom a submenu (až po spodok headera) */
.menu__item--has-sub::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: var(--bridge-top, 0px);
  height: var(--bridge-height, 0px);
  background: transparent;
  opacity: 0;
  pointer-events: none; /* default vypnuté */
  z-index: 999; /* musí byť nad obsahom, ale pod submenu */
}

/* keď hoveruješ položku, most sa aktivuje */
.menu__item--has-sub:hover::after {
  pointer-events: auto;
}

/* keď submenu je viditeľné (hover na rodiča), underline ostáva */
.menu__item--has-sub:hover > .menu__link::after {
  transform: scaleX(1);
}

.menu__item--has-sub.is-closed .submenu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* vypni bridge, aby hover už nedržal otvorené */
.menu__item--has-sub.is-closed::after {
  pointer-events: none !important;
}

.listen_to {
  color: #C8C8C8;
  font-size: 12px;
  padding-bottom: 5px;
  text-align: center;
}

.listen_icons {
  display: flex;
  align-items: center; /* 🔑 zarovnanie na stred */
  gap: 10px;
}

/* tvoj fialový box */
.icon-box {
  width: 40px;
  height: 40px;
  display: flex; /* NIE inline-flex */
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #D56EFC 0%, #832BC1 100%);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: -5px;
}

/* obrázok mierne menší */
.icon-box img {
  width: 24px;
  height: 24px;
  display: block;
}

.ostrese {
  height: 75px;
  border-right: 0.5px solid #C8C8C8;
  padding-right: 18px;
}

.worwag {
  height: 62px;
}

.partner {
  color: #C8C8C8;
  font-size: 12px;
  width: 60px;
}

.partnerstvo {
  display: flex;
  align-items: center;
  gap: 20px; /* minimálna medzera text ↔ logo */
}

.linkset {
  color: #7A7A76;
}

.logo_fp {
  width: 170px;
}

.nametopic {
  color: #1D1D1B;
  font-size: 36px;
  font-weight: 600;
}

.u-grad {
  position: relative;
  display: inline-block;
  z-index: 0; /* vytvorí vlastný stacking context */
}

.u-grad::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  bottom: 0.2em; /* doladenie */
  background: linear-gradient(270deg, #FFC39B 0%, #FF7D01 100%);
  z-index: -1; /* teraz už bezpečne (len v rámci .u-grad) */
}

.magnerot {
  max-width: 100%;
}

.prednaska__author--with-time {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex-wrap: nowrap; /* 🔑 img + meno ostanú v jednom riadku */
}

.prednaska__author--with-time .author-name {
  min-width: 0; /* 🔑 umožní zmenšovanie v flexe */
  flex: 1; /* zaberie dostupné miesto */
}

.prednaska__author--with-time .prednaska__time {
  margin-left: auto;
  white-space: nowrap; /* čas sa nikdy nezalomí */
  flex: 0 0 auto;
  font-weight: 600;
}

.right-side-bar .magnerot {
  display: block;
  margin-left: auto;
}

.starter {
  padding: 25px 0;
}


.obsah {
  padding-top: 80px;
  color: #1D1D1B;
}

.obsah_title {
  font-size: 22px;
  font-weight: 600;
}

.obsah_content {
  padding-top: 25px;
  font-size: 14px;
  font-weight: 600;
}

.link-list{
  list-style: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.link-list a{
  text-decoration: none;
  color: #1D1D1B;
}

.link-list a:hover {
  text-decoration: none;
  color: #FF7D01;
}

.link-list li{
  position: relative;
  padding-left: 22px;   /* miesto pre šípku */
  margin-bottom: 12px;
}

/* telo šípky */
.link-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;

  border-top: 3px solid #FF7D01;
  border-right: 3px solid #FF7D01;
  border-radius: 2px;        /* 🔑 zaoblenie rohov */

  transform: translateY(-50%) rotate(45deg);
}

.about_section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.withoutpb {
  padding-bottom: 0px;
}

.iframe-container {
  max-width: 100%;
}

.prednasky {
  padding: 75px 0;
}

.shorter {
  max-width: 450px;
}

.list_lectures {
  padding-top: 80px;
}

/*prednaska*/
.space_lectures {
  padding-top: 50px;
}


.prednaska{
  display: flex;
  align-items: stretch;
  gap: 24px;

  background: #fff;
  width: 100%;
  min-height: 217px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);

  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s cubic-bezier(.2,.8,.2,1);
}

.kazuistika {
  min-height: 300px;
}

.prednaska__authors{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.align-bottom {
display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
align-items: flex-end;
} 

.prednaska:hover{
  transform: translateY(-6px);   /* posun nahor */
}

/* ľavý cover */
.prednaska__cover{
   height: 100%;
  margin: 0;
  border-radius: 0; 
}

.prednaska__cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* play ikonka */
.prednaska__play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.prednaska__play::before{
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.prednaska__play::after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #FF7D01;
}

/* pravá časť */
.prednaska{
  display: flex;
  align-items: stretch;

  background: #fff;
  width: 100%;
  height: 217px;                 /* presná výška ako chceš */
  border-radius: 20px;
  overflow: hidden;             /* aby sa cover orezal */
  box-shadow: 0 10px 28px rgba(0,0,0,.10);

  text-decoration: none;
  color: inherit;
}

/* COVER – nalepený vľavo, na celú výšku */
.prednaska__cover{
  position: relative;
  flex: 0 0 170px;              /* šírka coveru */
  height: 100%;
  overflow: hidden;
}

.prednaska__cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eyes img{
  object-position: 75% center;  /* posun výrezu doprava */
}

.labyrinth img{
object-position: 45% center;  /* posun výrezu doprava */
}

.head img{
object-position: 50% center;  /* posun výrezu doprava */
}

.mirror img{
object-position: 45% center;  /* posun výrezu doprava */
}

.adt2 img{
object-position: 80% center;  /* posun výrezu doprava */
}

.adt3 img{
object-position: 50% center;  /* posun výrezu doprava */
}

.adt4 img{
object-position: 45% center;  /* posun výrezu doprava */
}



/* PLAY – jednoduchý trojuholník */
.prednaska__play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.prednaska__play::after{
  content: "";
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #fff;   /* biely trojuholník */
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
}

/* BODY */
.prednaska__body{
  flex: 1;
  padding: 22px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prednaska__meta{
  font-size: 12px;
  color: #9a9a97;
  margin-bottom: 40px;
}

.prednaska__title{
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #1D1D1B;
  margin-bottom: 32px;
  max-width: 580px;
}

/* spodný riadok */
.prednaska__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
}

.prednaska__author{
  display: flex;
  align-items: center;
  gap: 15px;
  color: #6f6f6b;
  font-size: 13px;
}

.prednaska__avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* CTA */
.prednaska__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FF7D01;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* šípka */
.prednaska__arrow{
  width: 10px;
  height: 10px;
  border-top: 3px solid #FF7D01;
  border-right: 3px solid #FF7D01;
  border-radius: 2px;
  transform: rotate(45deg);
}


/*end*/

.spotify_player{
  height: 260px;         /* koľko chceš reálne vidieť */
  overflow: hidden;      /* oreže spodok */
  border-radius: 12px;
  line-height: 0;
}

.spotify_player iframe{
  display: block;
  width: 100%;
  height: 240px;         /* musí byť väčšie než wrapper */
  border: 0;
  transform: none !important;
  transition: none !important;
}


.spotify_space {
  height: 40px;
}

.adtesty {
  padding-top: 0px;
}

.bold500 {
  font-weight: 500;
}

.bold600 {
  font-weight: 600;
}

.bold700 {
  font-weight: 700;
}

footer {
  flex-shrink: 0; 
    background-color: #DED6CF;
    font-size: 14px;
    padding: 40px 0;
}

.footer_part{
  display: flex;
  justify-content: space-between; /* GDPR vľavo, zvyšok vpravo */
  align-items: center;
}

.copyright_wrap{
  display: flex;
  align-items: center;
  gap: 40px; /* minimálna medzera text ↔ logo */
}

.copyright {
  text-align: right;
}

.footer_part p{
  margin: 0;
}

#myBtn{
  display:none;               /* riadi JS */
  position: fixed;            /* vždy pri spodku okna */
  bottom: 20px;               /* odsadenie od spodku */
  z-index: 9999;

  background-color: #FF7D01;
  cursor: pointer;
  padding: 20px 13px;
  border-radius: 10px;
  text-decoration: none;

  float: none;
  margin-top: 0;
}

#myButton {
  display: none;
}

/* ikona */
#myBtn .ar{
  height: auto;
  width: 28px;
  display: block;
  transition: transform .25s ease;
}

#myButton{
  display:none;               /* riadi JS */
  position: fixed;            /* vždy pri spodku okna */
  bottom: 20px; 
  right: 8px;              /* odsadenie od spodku */
  z-index: 9999;

  background-color: #FF7D01;
  cursor: pointer;
  padding: 15px 10px;
  border-radius: 10px;
  text-decoration: none;

  float: none;
  margin-top: 0;
}

/* ikona */
#myButton .ar{
  height: auto;
  width: 18px;
  display: block;
  transition: transform .25s ease;
}

.anchor-tag {
    font-size: 0; /* zruší whitespace medzi inline prvkami */
}

.anchor-tag a,
.anchor-tag span,
.anchor-tag {
    font-size: 12px; /* vráť normálnu veľkosť */
    color: #7A7A76;
    text-decoration: none;
}

.anchor-tag > * {
    margin: 0 5px;
}

.hide {
  display: none !important;
}

.page_number {
  font-weight: 500;
}

.gray {
  color: #7A7A76; 
}

.fontsize14 {
  font-size: 14px;
}

.linkwch {
  color: inherit;
  text-decoration: none;
}

.underline {
  text-decoration: underline;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 18px; /* vzdialenosť šípky od textu */

    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;

    background: transparent linear-gradient(283deg, #FFC39B 0%, #FF7D01 100%) 0% 0% no-repeat padding-box;
    border-radius: 8px;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
              box-shadow .35s cubic-bezier(.2,.8,.2,1);
}

.btn-gradient:hover {
transform: translateY(-6px);   /* posun nahor */
}

.btn-gradient .arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.magazine_button {
  padding: 20px 0;
}


.ads {
  color: #C8C8C8;
  font-weight: 400;
  font-size: 12px;
  padding-top: 10px;
  text-align: right;
}

.pdf-card{
  border-radius: 20px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  height: min(85vh, 900px);
}

.pdf-scroller{
  height: 100%;
  overflow-x: hidden;   /* kľúčové */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS */
  padding: 0;
}

.pdf-page{
  width: 100%;
  max-width: 900px;     /* alebo koľko chceš */
  margin: 0 auto 16px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  overflow: hidden;
  box-sizing: border-box;
}

.overlay[hidden]{display:none}

.overlay{
  position:fixed;
  inset:0;
  z-index:9999999;
}

.overlay__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.8);  
}

.overlay__dialog{
  position:relative;
  z-index:1;
  width:min(520px,calc(100% - 32px));
  margin:0 auto;
  top:50%;
  transform:translateY(-50%);
  background:#fff;
  border-radius:20px;
  padding:60px 28px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  text-align: center;


  background-image: url("../img/restricted.svg");
  background-repeat: no-repeat;
  background-position: -10px -10px;   /* vľavo hore */
  background-size: 220px 220px;       /* veľkosť ikony */
}

.modal_title {
  color: #1D1D1B;
  font-weight: 600;
  font-size: 24px;
}

.overlay__desc{color:#666;font-size:14px;margin:10px 0 18px}
.overlay__check{display:flex;gap:10px;align-items:center;margin-bottom:22px;padding: 40px 0;text-align: center;}
.overlay__actions{text-align:center}

.btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:14px 36px;
  border:0;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}
.btn--primary{
  color:#fff;
  background: transparent linear-gradient(281deg, #06BB46 0%, #009736 100%) 0% 0% no-repeat padding-box;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}
.btn:disabled{background: #DED6CF;}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.btn__chev{
  width:18px;
  height:18px;
  display:block;
}

.btn__chev path{
  fill:none;
  stroke:currentColor;     /* dedí bielu z buttonu */
  stroke-width: 3.8;          /* ak chceš tenšie, daj 1.6 */
  stroke-linecap:round;
  stroke-linejoin:round;
}


html.is-locked,body.is-locked{
  overflow:hidden;
  height:100%;
}

.agreement {
  color: #7A7A76;
  font-size: 16px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.check-pro{
  display:flex;
  align-items:center;
  gap:20px;
  cursor:pointer;
  user-select:none;
  padding: 35px 0;
   margin: 0 auto;
  justify-content: center;
}

/* skryjeme natívny input */
.check-pro input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

/* box */
.check-pro__box{
  width:35px;
  height:35px;
  border:3px solid #BA1E44;   /* default – červená */
  border-radius:8px;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:border-color .2s ease;
  box-sizing:border-box;
}

/* ikonka */
.check-pro__icon{
  width:24px;
  height:24px;
}

.check-pro__icon path{
  fill:none;
  stroke:#009736;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;

  opacity:0;
  transform:scale(.6);
  transition:opacity .15s ease, transform .15s ease;
}

/* CHECKED STAV */
.check-pro input:checked + .check-pro__box{
  border-color:#009736;
}

.check-pro input:checked + .check-pro__box .check-pro__icon path{
  opacity:1;
  transform:scale(1);
}

/* focus pre prístupnosť */
.check-pro input:focus-visible + .check-pro__box{
  outline:3px solid rgba(0,151,54,.35);
  outline-offset:3px;
}

/* text */
.check-pro__text{
  color: #7A7A76;
  font-size: 16px;
  text-align: left;
  max-width: 320px;   /* uprav podľa dizajnu */
  line-height: 1.4;
}

.mobile-toggle{
  display:none;                    /* zobrazi sa len na mobile */
}




/* NÍZKA VÝŠKA: banner odscrolluje, .obsah sa potom prilepí */
@media (max-height: 874px){

  /* 1) vypni sticky na celom sidebare, nech banner môže odísť */
  .right-side-bar .scroll{
    position: static !important;
    top: auto !important;
  }

  /* 2) prilep iba .obsah */
  .right-side-bar .obsah{
    position: sticky !important;
    top: 20px;
    z-index: 2;
    background: transparent; /* aby sa to neprekrývalo vizuálne */
  }

  /* 3) kľúč: pridaj priestor pod .obsah, inak sticky nemá kde "žiť" */
    .right-side-bar .scroll::after{
    content:"";
    display:block;
    height: var(--sidebar-spacer);
  }
}

@media (max-width: 1600px){
  .nametopic {
  font-size: 30px;
}
.minaiframe {
  width: 94%;
  right: 2%;
}
main {
    /* pozícia obrázka */
    background-position: 120% -80px; 
    /* alebo presne: background-position: 90% 20px; */

    /* veľkosť obrázka */
    background-size: 50% auto; 
}
.ostrese {
  height: 65px;
}
.worwag {
  height: 55px;
}
}

@media (max-width: 1365px){
.container {
  width: 1100px;
}
main {
    /* pozícia obrázka */
    background-position: 120% -80px; 
    /* alebo presne: background-position: 90% 20px; */

    /* veľkosť obrázka */
    background-size: 60% auto; 
}
.minaiframe {
  width: 94%;
  right: 5%;
}
.prednaska__bottom{
  max-width: 470px;
}
.align-bottom {
max-width: 470px;
} 
.left-side-bar {
  padding-right: 20px;
}
.prednaska__bottom{
  max-width: 98%;
}
.align-bottom {
max-width: 98%;
}
.modal_title {
  color: #1D1D1B;
  font-weight: 600;
  font-size: 22px;
}
.overlay__dialog{
  background-position: -10px -10px;   /* vľavo hore */
  background-size: 180px 180px;       /* veľkosť ikony */
}
.right-side-bar {
  flex: 0 0 30%;
  padding-left: 60px;
}
.prednasky {
  padding: 50px 0;
}
.list_lectures {
  padding-top: 70px;
}

.edited_intro {
  padding-top: 40px;
}
}

@media (max-width: 1200px){
.container {
  width: 90%;
}
.minaiframe {
  right: 7%;
}
.prednaska__bottom{
  max-width: 98%;
}
.align-bottom {
max-width: 98%;
}
.right-side-bar {
  flex: 0 0 30%;
  padding-left: 50px;
}
}

@media (max-width: 1100px){
.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* vzdialenosť šípky od textu */

    padding: 14px 35px;
    font-size: 16px;
}
}

@media (max-width: 1080px){
.minaiframe {
  width: 90%;
  right: 8%;
}
.prednaska__bottom{
  max-width: 98%;
}
.align-bottom {
max-width: 98%;
}
.minaiframe {
  right: 10%;
}
main {
  padding-top: 75px;
}
.list_lectures {
  padding-top: 66px;
}
.edited_intro {
  padding-top: 30px;
}
.btn-gradient {
    padding: 14px 32px;
    font-size: 15px;
    gap: 10px;
}
}

@media (max-width: 1000px){
.ostrese {
  height: 50px;
}
.worwag {
  height: 45px;
}
.partner, .listen_to {
  font-size: 10px;
}
.menu {
  margin-right: 40px; /* vzdialenosť od ikon */
}
.listen_icons img{
  width: 36px;
  height: auto;
}
  .nametopic {
  font-size: 27px;
}

.prednaska__title {
  font-size: 18px;
}

body {
  font-size: 15px;
}
.left-side-bar {
  flex: 0 0 70%;
}

.right-side-bar {
  flex: 0 0 30%;
  padding-left: 35px;
}
.prednasky {
  padding: 30px 0;
}
.minaiframe {
  right: 15%;
}
.btn-gradient {
    padding: 14px 26px;
    font-size: 15px;
    gap: 8px;
}
}


/*mobile version*/
@media (max-width: 880px){

 body:has(.mobile-menu.is-open) header{
    box-shadow: none !important;
  }

 :root{
    --mobile-header-height: 100px; /* uprav len ak treba */
  }

  [id] { scroll-margin-top: 100px; }

  /* =========================
     SKRY DESKTOP PRVKY
     ========================= */
  nav.menu,
  .listen_podcasts,
  .partnerstvo{
    display:none !important;
  }

  #myButton{
  display:none;               /* riadi JS */
  position: fixed;            /* vždy pri spodku okna */
  bottom: 22px; 
  right: 15px;              /* odsadenie od spodku */
}

  /* =========================
     HEADER – STÁLY, VIDITEĽNÝ
     ========================= */
  header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--mobile-header-height);
    z-index: 20000;
    background:#fff !important;
  }

  .header-bar{
    height: 100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position: relative;
  z-index: 20001;
  }

  .header_loga{
    display:flex;
    align-items:center;
    flex-shrink:0;
  }

  .ostrese{
    height:60px;
    width:auto;
    flex-shrink:0;
    border-right:none;
    padding-right:0;
    padding-left: 0px;
    display:block;
  }

  /* =========================
     HAMBURGER / CLOSE TOGGLE
     ========================= */
  .mobile-toggle{
    display:block !important;
  width:48px;
  height:48px;
  background-color:transparent;
  border:0;
  padding:0;
  cursor:pointer;

  background-repeat:no-repeat;
  background-position:center;
  background-size:30px 30px;

  background-image:url("../img/icon-hamburger.svg");

  transition:background-image 0ms, transform 180ms ease;
}

/* OPEN STAV */
.mobile-toggle.is-open{
  background-image:url("../img/icon-close.svg");
  background-size:24px 24px; /* alebo 25px */
}


  /* =========================
     MOBILE MENU – FULLSCREEN
     ========================= */
.mobile-menu{
  display:none;
  position:fixed;
  top: var(--mobile-header-height);
  left: 0;
  right: 0;
  bottom: 0;

  z-index:10001;
  background:#fff !important;
  box-sizing:border-box;

  overflow-y:auto;
  overflow-x:hidden;
  -webkit-overflow-scrolling: touch; /* môžeš vrátiť, teraz už nebude bugovať */
  overscroll-behavior: contain;

  padding: 18px;
}




.mobile-menu.is-open{
    display:block;
  }


  /* NEPOUŽÍVAME DRUHÝ HEADER */
  .mobile-menu__top,
  .mobile-close{
    display:none !important;
  }

  /* =========================
     NAVIGÁCIA
     ========================= */
  .mobile-menu__nav{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:22px;
    padding-top: 18px;
  }

  .mobile-menu__nav a{
    font-size:20px;
    line-height:1.15;
    color:#1D1D1B;
    text-decoration:none;
  }

  .mobile-menu__nav a:hover{
    color:#FF7D01;
  }

  /* =========================
     PODCAST BLOK
     ========================= */
  .mobile-menu__listen{
    margin-top: 60px;
    text-align:center;
  }

  .mobile-menu__listen p{
    margin:0 0 14px;
    font-size:12px;
    color:#C8C8C8;
  }

  .mobile-menu__icons{
    display:flex;
    justify-content:center;
    gap:18px;
  }

  .mobile-menu__icons img{
    height:40px;
    width:auto;
    display:block;
  }

  /* =========================
     PARTNER
     ========================= */
  .mobile-menu__partner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin-top: 50px;
    padding:40px 0;
    background: #F5F5F2;
    margin-left: -18px;
  margin-right: -18px;
  }

  .mobile-menu__partner .worwag{
    height:62px;
    width:auto;
  }

  .mobile-menu__partner p{
    margin:0;
    font-size:12px;
    color:#C8C8C8;

    line-height:1.35;

    display:-webkit-box;
  -webkit-line-clamp:3;        /* MAX 3 RIADKY */
  -webkit-box-orient:vertical;
  overflow:hidden;
  max-width:120px;   /* uprav podľa dizajnu */

  }

  /* =========================
     FOOTER
     ========================= */
 .mobile-menu__footer{
    margin-top: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align:center;
  }
  .mobile-menu__footer a{
    font-size:12px;
    text-decoration:underline;
  }

  .mobile-menu__footer p{
    margin:10px 0 0;
    font-size:12px;
  }

  /* =========================
     LOCK SCROLL (BEZ POSUNU)
     ========================= */
  

  .header-bar{ position: relative; z-index: 10002; }
  .mobile-menu{ z-index: 10001; }

  html.is-locked,
body.is-locked{
  overflow: hidden;
  height: 100%;
}

   



  .left-side-bar {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  main {
    /* veľkosť obrázka */
    margin-top: 90px;
    background-size: 80% auto;
    padding-top: 50px; 
}
.right-side-bar {
  display: none;
}
.menu {
  display: none;
}
.intro {
  padding-top: 0px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
}

 .left-intro {
    flex: 0 0 30%;
    max-width: 30%;
    padding-right: 10px;
  }

  .right-intro {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 0;
    display: flex;
  justify-content: flex-end;
  }

.minaiframe {
  position: relative;
  width: 90%;
  right: 0;
}

.logo_fp, .partnerstvo, .partner {
  display: none;
}

.ostrese {
  border-right: none;
  padding-right: 0px;
}

.listen_podcasts {
  display: none;
}
.prednaska__author--with-time {
  width: 100%;
}
.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* správny pomer videa */
  border-radius: 12px; /* zaoblené rohy */
  overflow: hidden; /* 🔑 oreže iframe do tvaru */
}

.banner_mobile img{
  max-width: 100%;
}
.banner_mobile {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;   /* celé je v strede obrazovky */
}

.magnerot_mobile {
  display: flex;
  flex-direction: column;
  align-items: center;      /* banner je v strede */
}

.magnerot {
  display: block;
}

/* text Reklama */
.adsmobile {
  width: 100%;              /* rovnaká šírka ako obrázok */
  text-align: right;       /* zarovnanie doprava */
  color: #C8C8C8;
  font-weight: 400;
  font-size: 12px;
  padding-top: 10px;
}
 .intro {
    flex-direction: column;
    align-items: stretch;
  }

  .left-intro,
  .right-intro {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-top: 40px;
  }


.minaiframe {
  position: relative;
  width: 100%;
  right: 0;
}
}

@media (max-width: 600px){
  .nametopic {
  font-size: 25px;
} 
.u-grad::after {
  height: 6px;
}
.kazuistika {
  min-height: 340px;
}

.special_metatag {
  margin-bottom: 20px;
}

.prednaska__meta {
  margin-bottom: 20px;
}

.prednaska {
  min-height: 280px;
}
.prednaska__title{
  font-size: 18px;
  max-width: 95%;
}
.prednaska__cover{
  position: relative;
  flex: 0 0 120px;              /* šírka coveru */
  height: 100%;
  overflow: hidden;
}
.eyes img{
  object-position: 70% center;  /* posun výrezu doprava */
}

.labyrinth img{
object-position: 40% center;  /* posun výrezu doprava */
}

.head img{
object-position: 40% center;  /* posun výrezu doprava */
}

.mirror img{
object-position: 45% center;  /* posun výrezu doprava */
}

.adt2 img{
object-position: 70% center;  /* posun výrezu doprava */
}

.adt3 img{
object-position: 50% center;  /* posun výrezu doprava */
}

.adt4 img{
object-position: 45% center;  /* posun výrezu doprava */
}
 .prednaska__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .prednaska__cta {
    margin-top: 8px;
  }
  .align-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.special_metatag {
display: none;
}
 .footer_part {
    display: flex;              /* ak už je, nevadí */
    flex-direction: column;     /* pod seba */
    align-items: center;        /* horizontálne na stred */
    text-align: center;         /* text na stred */
    gap: 16px;                  /* pekné rozostupy */
  }

  .copyright_wrap {
    display: flex;
    flex-direction: column;     /* text + logo pod seba */
    align-items: center;
    gap: 10px;
  }
  .modal_title {
  color: #1D1D1B;
  font-weight: 600;
  font-size: 20px;
}
.check-pro__text{
  color: #7A7A76;
  font-size: 15px;
  text-align: left;
  max-width: 270px;   /* uprav podľa dizajnu */
}
}


@media (max-width: 420px){
.prednaska__meta {
  display: none;
}
.kazuistika {
  min-height: 350px;
}
.check-pro__text{
  color: #7A7A76;
  font-size: 15px;
  text-align: left;
  max-width: 75%;   /* uprav podľa dizajnu */
}
}

@media (max-width: 386px){
.prednaska__title{
  font-size: 16px;
}
.cta_special {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  color: #FF7D01;
  font-weight: 700;
  font-size: 13px;
  white-space: wrap;
  max-width: 150px;
}
.kazuistika {
  min-height: 350px;
}
}

@media (max-width: 360px){
.prednaska__cover{
  position: relative;
  flex: 0 0 90px;              /* šírka coveru */
  height: 100%;
  overflow: hidden;
}
.prednaska {
  min-height: 300px;
}
.kazuistika {
  min-height: 390px;
}
.eyes img{
  object-position: 60% center;  /* posun výrezu doprava */
}

.labyrinth img{
object-position: 40% center;  /* posun výrezu doprava */
}

.head img{
object-position: 40% center;  /* posun výrezu doprava */
}

.mirror img{
object-position: 45% center;  /* posun výrezu doprava */
}

.adt2 img{
object-position: 70% center;  /* posun výrezu doprava */
}

.adt3 img{
object-position: 50% center;  /* posun výrezu doprava */
}

.adt4 img{
object-position: 45% center;  /* posun výrezu doprava */
}
}



















