@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* =========================================================
   PATCH: Aktuality + hledn podle dodanho HTML
   Vloit na konec stabiln CSS v11
========================================================= */

/* Aktuality: 4 na dek, nepln dek na sted */
body.skola .news-slider.news-slider--only-list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 32px !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item {
  flex: 0 1 calc((100% - 96px) / 4) !important;
  max-width: calc((100% - 96px) / 4) !important;
  margin: 0 !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item h3 {
  color: #07182f !important;
  margin: 22px 22px 10px !important;
  line-height: 1.18 !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item span {
  color: #00578d !important;
  margin: 0 22px 8px !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item p {
  color: #40556f !important;
  margin: 0 22px 24px !important;
  line-height: 1.65 !important;
}

/* tablet */
@media (max-width: 1199.98px) {
  body.skola .news-slider.news-slider--only-list > .news-slider__item {
    flex-basis: calc((100% - 64px) / 3) !important;
    max-width: calc((100% - 64px) / 3) !important;
  }
}

/* men tablet */
@media (max-width: 991.98px) {
  body.skola .news-slider.news-slider--only-list > .news-slider__item {
    flex-basis: calc((100% - 32px) / 2) !important;
    max-width: calc((100% - 32px) / 2) !important;
  }
}

/* mobil */
@media (max-width: 560px) {
  body.skola .news-slider.news-slider--only-list {
    gap: 22px !important;
  }

  body.skola .news-slider.news-slider--only-list > .news-slider__item {
    flex-basis: 100% !important;
    max-width: 430px !important;
  }
}

/* Hledn: desktop nechv pvodn chovn, jen zved vrstvu nad hero/video */
body.skola > .searching {
  z-index: 3000 !important;
}

body.skola .slider-main-skola {
  position: relative;
  z-index: 1;
}

/* Mobil: hledn vysko pod hlavikou, bez zsahu do burger menu */
@media (max-width: 991.98px) {
  body.skola > .searching {
    position: fixed !important;
    top: 168px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    z-index: 3001 !important;
    background: #fff !important;
    border-radius: 18px !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(7, 24, 47, .18) !important;
  }

  body.skola > .searching .container--searching {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.skola > .searching #search-form {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.skola > .searching #search-text {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
  }
}
/* =========================================================
   PATCH: Kalend akc vystedit stejn jako Aktuality
========================================================= */

body.skola .download.download--full {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 28px !important;
}

body.skola .download.download--full > a {
  flex: 0 1 calc((100% - 84px) / 4) !important;
  max-width: calc((100% - 84px) / 4) !important;
  margin: 0 !important;
}

@media (max-width: 1199.98px) {
  body.skola .download.download--full > a {
    flex-basis: calc((100% - 56px) / 3) !important;
    max-width: calc((100% - 56px) / 3) !important;
  }
}

@media (max-width: 991.98px) {
  body.skola .download.download--full > a {
    flex-basis: calc((100% - 28px) / 2) !important;
    max-width: calc((100% - 28px) / 2) !important;
  }
}

@media (max-width: 560px) {
  body.skola .download.download--full {
    gap: 20px !important;
  }

  body.skola .download.download--full > a {
    flex-basis: 100% !important;
    max-width: 430px !important;
  }
}

/* =========================================================
   NOV VODN BLOK  Vesec hero + quicklinks + intro
========================================================= */

.ms-hero-vesec {
  position: relative;
  min-height: 520px;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  background: #0b3f6d;
}

.ms-hero-vesec__image {
  position: absolute;
  inset: 0;
  background-image: url("/content/files/images/PAGES/skola-vesec.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.ms-hero-vesec__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 54, 94, .94) 0%, rgba(0, 54, 94, .72) 36%, rgba(0, 54, 94, .22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.04));
}

.ms-hero-vesec__content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 82px 32px 150px;
  color: #fff;
}

.ms-hero-vesec__content h1 {
  max-width: 560px;
  margin: 0 0 22px;
  color: #fff;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.ms-hero-vesec__content p {
  max-width: 520px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.94);
  font-size: 18px;
  line-height: 1.65;
}

.ms-hero-vesec__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ms-btn:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ms-btn--primary {
  background: #f7b51e;
  color: #07182f !important;
  box-shadow: 0 12px 28px rgba(247,181,30,.28);
}

.ms-btn--outline {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff !important;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.ms-btn--dark {
  background: #00578d;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(0,87,141,.22);
}

/* quicklinks */

.ms-quicklinks {
  position: relative;
  z-index: 5;
  max-width: 1340px;
  margin: -48px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ms-quicklink {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas:
    "icon title"
    "icon text"
    "icon link";
  column-gap: 20px;
  min-height: 140px;
  padding: 28px 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(7,24,47,.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(7,24,47,.12);
  color: #07182f !important;
  text-decoration: none !important;
  backdrop-filter: blur(14px);
  transition: transform .22s ease, box-shadow .22s ease;
}

.ms-quicklink:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 65px rgba(7,24,47,.16);
}

.ms-quicklink__icon {
  grid-area: icon;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf4ff;
  color: #1373c4;
  font-size: 30px;
  font-style: normal;
}

.ms-quicklink__icon--green {
  background: #e7faf2;
  color: #1fae84;
}

.ms-quicklink__icon--yellow {
  background: #fff4db;
  color: #f4ae18;
}

.ms-quicklink__icon--blue {
  background: #eaf4ff;
  color: #1373c4;
}

.ms-quicklink strong {
  grid-area: title;
  display: block;
  margin: 0 0 8px;
  color: #003b66;
  font-size: 18px;
  line-height: 1.2;
}

.ms-quicklink p {
  grid-area: text;
  margin: 0 0 12px;
  color: #52657d;
  font-size: 15px;
  line-height: 1.5;
}

.ms-quicklink em {
  grid-area: link;
  color: #00578d;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
}

/* intro */

.ms-intro-vesec {
  max-width: 1340px;
  margin: 58px auto 0;
  padding: 0 32px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 44px;
  align-items: center;
}

.ms-intro-vesec__text {
  padding-right: 20px;
}

.ms-intro-vesec__text span {
  display: block;
  margin-bottom: 16px;
  color: #00578d;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
}

.ms-intro-vesec__text h2 {
  margin: 0 0 20px;
  color: #1e2b3d;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ms-intro-vesec__text p {
  max-width: 420px;
  margin: 0 0 28px;
  color: #4d6076;
  font-size: 16px;
  line-height: 1.65;
}

.ms-intro-vesec__points {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 46px;
}

.ms-intro-vesec__points::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(7,24,47,.16);
}

.ms-intro-vesec__points div {
  position: relative;
  padding-left: 58px;
}

.ms-intro-vesec__points div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #1f8ed8;
  box-shadow: 0 10px 24px rgba(31,142,216,.24);
}

.ms-intro-vesec__points div:nth-child(2)::before {
  background: #24b88a;
}

.ms-intro-vesec__points div:nth-child(3)::before {
  background: #f7b51e;
}

.ms-intro-vesec__points b {
  display: block;
  margin-bottom: 6px;
  color: #003b66;
  font-size: 17px;
  line-height: 1.25;
}

.ms-intro-vesec__points p {
  margin: 0;
  color: #52657d;
  font-size: 15px;
  line-height: 1.5;
}

.ms-intro-vesec__photo {
  min-height: 300px;
  border-radius: 18px;
  background-image: url("/content/files/images/PAGES/deti-ve-tride.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 45px rgba(7,24,47,.12);
}

/* responsive */

@media (max-width: 1199.98px) {
  .ms-quicklinks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-intro-vesec {
    grid-template-columns: 1fr 1fr;
  }

  .ms-intro-vesec__photo {
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .ms-hero-vesec {
    min-height: 520px;
  }

  .ms-hero-vesec__content {
    padding: 64px 22px 120px;
  }

  .ms-hero-vesec__content p {
    font-size: 16px;
  }

  .ms-quicklinks {
    grid-template-columns: 1fr;
    margin-top: -64px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ms-quicklink {
    padding: 24px;
  }

  .ms-intro-vesec {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 46px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ms-intro-vesec__points {
    padding-left: 0;
  }

  .ms-intro-vesec__points::before {
    display: none;
  }

  .ms-intro-vesec__photo {
    min-height: 260px;
  }
}
/* =========================================================
   HERO redesign nad puvodni video logikou
   Zachovana logika:
   #ytPlayer + containment: .slider-main-skola-item__background
========================================================= */

.slider-main-skola.ms-hero-vesec {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #0b3f6d;
}

.slider-main-skola.ms-hero-vesec .slider-main-skola-item {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #0b3f6d;
}

/* pvodn background je stle containment pro YouTube video */
.slider-main-skola.ms-hero-vesec .slider-main-skola-item__background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 680px;
  z-index: 1;
  background-size: cover !important;
  background-position: center center !important;
}

/* ytPlayer zstv mimo background jako v pvodn ablon */
.slider-main-skola.ms-hero-vesec #ytPlayer,
.slider-main-skola.ms-hero-vesec .player {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
}

/* wrapper generovan pluginem */
.slider-main-skola.ms-hero-vesec .mbYTP_wrapper,
.slider-main-skola.ms-hero-vesec .YTPWrapper,
.slider-main-skola.ms-hero-vesec iframe {
  z-index: 1 !important;
}

/* modern gradient pes video */
.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 42, 78, .94) 0%,
      rgba(0, 57, 104, .78) 38%,
      rgba(0, 57, 104, .28) 72%,
      rgba(0, 57, 104, .12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .18) 0%,
      rgba(0, 0, 0, .08) 45%,
      rgba(0, 0, 0, .18) 100%
    );
}

/* obsah */
.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
  position: relative !important;
  z-index: 3;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 120px 40px 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left !important;
  color: #fff;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 24px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .02em;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
  max-width: 760px;
  margin: 0 0 26px;
  color: #fff !important;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: .96;
  letter-spacing: -.055em;
  text-shadow: 0 12px 36px rgba(0,0,0,.22);
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
  max-width: 640px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.68;
  text-shadow: 0 8px 24px rgba(0,0,0,.20);
}

/* tlatka */
.ms-hero-vesec__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 10px;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ms-btn:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ms-btn--primary {
  background: #f6b51d;
  color: #07182f !important;
  box-shadow: 0 16px 36px rgba(246,181,29,.30);
}

.ms-btn--primary:hover {
  background: #ffc533;
  color: #07182f !important;
}

.ms-btn--outline {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.ms-btn--outline:hover {
  color: #fff !important;
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.75);
}

/* mobil */
@media (max-width: 991.98px) {
  .slider-main-skola.ms-hero-vesec .slider-main-skola-item,
  .slider-main-skola.ms-hero-vesec .slider-main-skola-item__background,
  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
    min-height: 600px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
    padding: 92px 24px 105px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 42, 78, .94) 0%,
        rgba(0, 57, 104, .78) 58%,
        rgba(0, 57, 104, .35) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0,0,0,.18),
        rgba(0,0,0,.12)
      );
  }
}

@media (max-width: 640px) {
  .slider-main-skola.ms-hero-vesec .slider-main-skola-item,
  .slider-main-skola.ms-hero-vesec .slider-main-skola-item__background,
  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
    min-height: 560px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
    padding: 76px 20px 86px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
    font-size: clamp(38px, 11vw, 56px);
    margin-bottom: 20px;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 26px;
  }

  .ms-hero-vesec__buttons {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .ms-btn {
    width: 100%;
    max-width: 270px;
  }
}

/* =========================================================
   HP blok: Nepehldnte  responsive fullwidth
========================================================= */

.ms-important {
  width: 100%;
  max-width: 1340px;
  margin: 78px auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.ms-important__head {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 32px;
  box-sizing: border-box;
}

.ms-important__head h2 {
  margin: 0;
  color: #07182f;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ms-important__list {
  width: 100%;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(7, 24, 47, .12);
  border-bottom: 1px solid rgba(7, 24, 47, .12);
}

.ms-important__item {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(7, 24, 47, .10);
}

.ms-important__item:nth-child(odd) {
  background: #eef6fc;
}

.ms-important__item:nth-child(even) {
  background: #ffffff;
}

.ms-important__item:last-child {
  border-bottom: 0;
}

.ms-important__item summary {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 20px 84px 20px 34px;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}

.ms-important__item summary::-webkit-details-marker {
  display: none;
}

.ms-important__item summary span {
  color: #07182f;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.42;
}

.ms-important__item summary::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-right: 3px solid #00578d;
  border-bottom: 3px solid #00578d;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s ease, border-color .25s ease;
}

.ms-important__item[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
  border-color: #003b66;
}

.ms-important__content {
  width: 100%;
  max-width: 100%;
  padding: 0 84px 26px 34px;
  box-sizing: border-box;
}

.ms-important__content p {
  max-width: 980px;
  margin: 0;
  color: #40556f;
  font-size: 15px;
  line-height: 1.72;
}

.ms-important__content a {
  color: #00578d;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  text-decoration: underline;
}

.ms-important__item:hover summary span {
  color: #00578d;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 991.98px) {

  .ms-important {
    margin: 64px auto;
  }

  .ms-important__head {
    padding: 0 24px;
  }

  .ms-important__head h2 {
    font-size: clamp(28px, 4vw, 38px);
  }

  .ms-important__item summary {
    min-height: 68px;
    padding: 18px 68px 18px 24px;
  }

  .ms-important__item summary span {
    font-size: 18px;
  }

  .ms-important__item summary::after {
    right: 26px;
  }

  .ms-important__content {
    padding: 0 68px 22px 24px;
  }

  .ms-important__content p {
    font-size: 15px;
  }
}

/* =========================================================
   Mobil
========================================================= */

@media (max-width: 767.98px) {

  .ms-important {
    margin: 52px auto;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .ms-important__head {
    margin-bottom: 22px;
    padding: 0;
  }

  .ms-important__head h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .ms-important__list {
    border-radius: 16px;
    overflow: hidden;
  }

  .ms-important__item summary {
    min-height: 62px;
    padding: 16px 52px 16px 18px;
  }

  .ms-important__item summary span {
    font-size: 16px;
    line-height: 1.45;
  }

  .ms-important__item summary::after {
    right: 20px;
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .ms-important__content {
    padding: 0 18px 20px 18px;
  }

  .ms-important__content p {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* odstranÄ›nÃ­ mezery mezi menu a hero videem */

/* =========================================
   FIX mezery mezi headerem a hero videem
========================================= */

header {
  margin-bottom: 0 !important;
}

.container--header,
.container-full.container--grid.container--header2 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* wrapper pod headerem */

.cubesList {
  margin-top: -26px !important;
  padding-top: 0 !important;
}

/* samotn slider */

.slider-main-skola,
.slider-main-skola-item,
.slider-main-skola-item__background {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* asto dl mezeru transformace */

.slider-main-skola-item {
  transform: none !important;
}

/* video wrapper */

.mbYTP_wrapper {
  top: 0 !important;
}

/* =========================================================
   Jemn opakovateln pozad v2
   Dleit: pouvej repeat a background-size pesn jako rozmr SVG tile.
========================================================= */

body.skola {
  background-color: #fff;
  background-image: url("/content/images/vesec-seamless-school-bg-v2.svg");
  background-repeat: repeat;
  background-size: 720px 720px;
  background-position: 0 0;
}

/* Prhledn obsahov sti, kde m bt vzor vidt */
body.skola .cubesList,
body.skola main,
body.skola .pageContent {
  background-color: transparent;
}

/* Sekce, kter maj zstat bez vzoru */
body.skola header,
body.skola .container--header,
body.skola .container--header1,
body.skola .bg-blue,
body.skola .bg-pink,
body.skola .bg-darkgray,
body.skola .slider-main-skola {
  background-image: none;
}

/* Mobil: men tile, ale stle plynule opakovan */
@media (max-width: 767.98px) {
  body.skola {
    background-size: 560px 560px;
  }
}
/* =========================================================
   Footer  sjednocen fontu
========================================================= */

.footer1,
.footer1 * ,
.footer2,
.footer2 * {
  font-family: 'Inter', Arial, sans-serif !important;
}

/* nadpisy ve footeru */
.footer1 h3 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* odkazy */
.footer1 a,
.footer2 a,
.footer2 span {
  font-weight: 500;
}

/* men copy */
.footer2 {
  font-size: 14px;
  line-height: 1.5;
}

/* hornï¿½ informaï¿½nï¿½ liï¿½ta */

body.skola .container--header1 {
  background-color: #00578d !important;
  background-image: none !important;
  color: #fff !important;
}

body.skola .container--header1 a,
body.skola .container--header1 span {
  color: #fff !important;
}

/* =========================================================
   Mobil: fixnï¿½ logo + menu, hornï¿½ info liï¿½ta odjï¿½dï¿½ pryï¿½
========================================================= */

@media (max-width: 991.98px) {

  body.skola .container--header1 {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
  }

  body.skola header {
    position: sticky !important;
    top: 0 !important;
    z-index: 12000 !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(7, 24, 47, .12) !important;
  }

  body.skola header .container--header,
  body.skola header .container--header2 {
    background: #fff !important;
  }

  /* aby obsah nezajï¿½dï¿½l pod sticky header pï¿½i otevï¿½enï¿½ hledï¿½nï¿½ */
  body.skola > .searching {
    top: 92px !important;
  }
}

/* =========================================================
   Mobil: skuteï¿½nï¿½ zï¿½ï¿½enï¿½ hornï¿½ modrï¿½ liï¿½ty
========================================================= */

@media (max-width: 991.98px) {

  body.skola .container-fluid.container--grid.container--header1 {
    min-height: 42px !important;
    height: 42px !important;
    max-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    overflow: hidden !important;
  }

  body.skola .container--header1 > div:first-child {
    display: none !important;
  }

  body.skola .container--header1 > div:last-child {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  body.skola .container--header1 a {
    width: 26px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.skola .container--header1 .header1-text3 {
    display: none !important;
  }

  body.skola .container--header1 a::before {
    margin: 0 !important;
  }
}

.footer1__links1 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap: 30px;
}
/* =========================================================
   ZS Vesec: definitivní fix header/menu
   desktop >= 1200, mobil < 1200
========================================================= */

@media (min-width: 1200px) {
  body.skola .container--header2 {
    grid-template-columns: auto 1fr !important;
    height: 93px !important;
    min-height: 93px !important;
    align-items: center !important;
    overflow: visible !important;
  }

  body.skola .header__menu-icon {
    display: none !important;
  }

  body.skola .header2__menu {
    display: flex !important;
    align-self: stretch !important;
    align-items: center !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }

  body.skola .menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    min-height: 93px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    overflow: visible !important;
  }

  body.skola .menu > ul {
    display: flex !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    align-items: center !important;
    gap: 2px !important;
  }

  body.skola .menu > ul > li {
    width: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border-bottom: 0 !important;
  }

  body.skola .menu > ul > li > a {
    width: auto !important;
    margin: 0 !important;
    padding: 13px 10px !important;
    color: #102033 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.skola .menu > ul > li > a:hover {
    color: #00578d !important;
    background: #eef7ff !important;
  }

  body.skola .menu .icon-searching--black,
  body.skola .menu .searching-trigger {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    float: none !important;
    display: inline-flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background-color: #f0f6fc !important;
    transform: none !important;
  }
}

@media (max-width: 1199.98px) {
  body.skola .container--header2 {
    grid-template-columns: auto 1fr auto !important;
    overflow: visible !important;
  }

  body.skola .header__menu-icon {
    display: inline-flex !important;
  }

  body.skola .menu {
    position: absolute !important;
    top: 119px !important;
    left: 0 !important;
    width: 100% !important;
  }

  body.skola .menu > ul {
    display: none;
  }

  body.skola .menu .icon-searching--black,
  body.skola .menu .searching-trigger {
    display: inline-block !important;
    position: absolute !important;
    top: -65px !important;
    right: 86px !important;
  }
}

@media (max-width: 590px) {
  body.skola .menu .icon-searching--black,
  body.skola .menu .searching-trigger {
    right: 63px !important;
  }
}/* =========================================================
   ZS Vesec: mobile burger + search final override
========================================================= */

@media (max-width: 1199.98px) {
  body.skola header,
  body.skola .container--header,
  body.skola .container--header2 {
    overflow: visible !important;
  }

  body.skola .header2__menu {
    position: static !important;
    overflow: visible !important;
  }

  body.skola .header__menu-icon {
    position: relative !important;
    z-index: 12010 !important;
  }

  body.skola .menu {
    position: static !important;
    width: auto !important;
    min-height: 0 !important;
  }

  body.skola .menu .searching-trigger {
    position: absolute !important;
    top: 50% !important;
    right: 92px !important;
    transform: translateY(-50%) !important;
    z-index: 12005 !important;
  }

  body.skola .menu > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 12000 !important;
    width: auto !important;
    margin: 10px 0 0 !important;
    padding: 12px !important;
    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 60px rgba(7,24,47,.22) !important;
  }

  body.skola .menu > ul[style*="display: block"],
  body.skola .menu > ul[style*="display:block"],
  body.skola .menu > ul[style*="display: flex"],
  body.skola .menu > ul[style*="display:flex"] {
    display: block !important;
  }
}

@media (max-width: 590px) {
  body.skola .menu .searching-trigger {
    right: 82px !important;
  }
}
/* ZS Vesec: mobile search dropdown below sticky header */
@media (max-width: 1199.98px) {
  body.skola > .searching {
    position: fixed !important;
    top: 104px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    z-index: 12020 !important;
    padding: 10px !important;
    background: #fff !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 18px 45px rgba(7,24,47,.18) !important;
  }

  body.skola > .searching .container--searching {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.skola > .searching #search-form {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.skola > .searching #search-text {
    display: block !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 48px !important;
  }
}

@media (max-width: 590px) {
  body.skola > .searching {
    top: 96px !important;
  }
}
/* =========================================================
   ZS Vesec: submenu arrow spacing exact fix
========================================================= */

@media (min-width: 1200px) {

  body.skola .menu > ul {
    gap: 12px !important;
  }

  body.skola .menu > ul > li > a,
  body.skola .menu > ul > li > a.menu__arrow-main {
    padding-left: 10px !important;
    padding-right: 18px !important; /* prostor pro šipku */
  }

  body.skola .menu > ul > li.menu__big > a::after,
  body.skola .menu > ul > li:has(ul) > a::after {
    right: 6px !important; /* šipka 4–6 px od textu */
  }
}
/* Mobil: odsazení quicklinks pod blokem Nepøehlédnìte */

@media (max-width: 767.98px) {
  body.skola .ms-quicklinks {
    margin-top: 28px !important;
    padding-top: 0 !important;
  }
}

/* =========================================================
   ZŠ Vesec – Friendly school redesign
========================================================= */

:root {
  --ms-primary: #0b6fb8;
  --ms-primary-dark: #07548b;
  --ms-primary-soft: #eef7ff;

  --ms-accent: #ffc83d;
  --ms-accent-soft: #fff5d6;

  --ms-text: #18324a;
  --ms-bg: #f7fbff;
}

/* =========================================================
   TOP BAR
========================================================= */

body.skola .container--header1 {
  background:
    linear-gradient(
      90deg,
      #0b6fb8 0%,
      #0e82d6 100%
    ) !important;

  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

body.skola .container--header1 a {
  opacity: .96;
  transition: opacity .2s ease;
}

body.skola .container--header1 a:hover {
  opacity: 1;
}

/* =========================================================
   MAIN HEADER
========================================================= */

body.skola header {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.96),
      rgba(255,255,255,.92)
    ) !important;

  backdrop-filter: blur(14px);

  box-shadow:
    0 8px 30px rgba(18,55,95,.08),
    0 1px 0 rgba(255,255,255,.8) inset;
}

/* jemné dekorativní pozadí */

body.skola .container--header2 {
  position: relative;
  overflow: hidden;
}

body.skola .container--header2::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(255,200,61,.12),
      transparent 28%
    ),
    radial-gradient(
      circle at left center,
      rgba(11,111,184,.08),
      transparent 26%
    );

  pointer-events: none;
}

/* =========================================================
   LOGO
========================================================= */

body.skola .header2__logo img {
  transition:
    transform .25s ease,
    filter .25s ease;
}

body.skola .header2__logo:hover img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

/* =========================================================
   MENU
========================================================= */

body.skola .menu > ul > li > a {
  border-radius: 999px;

  color: var(--ms-text) !important;

  font-weight: 700 !important;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

body.skola .menu > ul > li > a:hover {
  background: var(--ms-primary-soft) !important;
  color: var(--ms-primary) !important;

  transform: translateY(-1px);
}

/* aktivní položka */

body.skola .menu > ul > li.active > a,
body.skola .menu > ul > li.current > a {
  background: var(--ms-primary-soft) !important;
  color: var(--ms-primary) !important;
}

/* =========================================================
   SEARCH
========================================================= */

body.skola .searching-trigger {
  background: var(--ms-primary-soft) !important;

  border-radius: 999px !important;

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

body.skola .searching-trigger:hover {
  background: #dceeff !important;

  transform: scale(1.06);

  box-shadow:
    0 8px 24px rgba(11,111,184,.16);
}

/* =========================================================
   BURGER
========================================================= */

body.skola .menu-icon {
  background:
    linear-gradient(
      180deg,
      #0d78c5,
      #095f9d
    ) !important;

  border-radius: 999px;

  box-shadow:
    0 10px 24px rgba(11,111,184,.24);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

body.skola .menu-icon:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(11,111,184,.30);
}

/* =========================================================
   HERO OVERLAY
========================================================= */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(5,52,92,.82) 0%,
      rgba(7,78,138,.62) 38%,
      rgba(7,78,138,.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,.03),
      rgba(0,0,0,.10)
    ) !important;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.ms-btn--primary {
  background:
    linear-gradient(
      180deg,
      #ffd04f,
      #ffbf1f
    ) !important;

  color: #17324a !important;

  box-shadow:
    0 16px 32px rgba(255,191,31,.24);
}

.ms-btn--primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.ms-btn--outline {
  background: rgba(255,255,255,.12) !important;

  border: 1px solid rgba(255,255,255,.44) !important;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1199.98px) {

  body.skola header {
    border-radius: 0 0 22px 22px;
  }

  body.skola .menu > ul {
    border: 1px solid rgba(11,111,184,.08);

    background:
      linear-gradient(
        180deg,
        #ffffff,
        #f8fbff
      ) !important;
  }
}
/* =========================================================
   FOOTER – jednobarevný + nižší výška
========================================================= */

/* hlavní footer */

body.skola .footer1 {
  background: #00578d !important;
  background-image: none !important;
  padding-top: 42px !important;
  padding-bottom: 34px !important;
  min-height: auto !important;
}

/* spodní copyright lišta */

body.skola .footer2 {
  background: #00578d !important;
  border-top: 1px solid rgba(255,255,255,.10);
  min-height: 56px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* menší mezery uvnitø */

body.skola .footer1__links1,
body.skola .footer1__links2,
body.skola .footer1__links3 {
  row-gap: 10px !important;
}

/* logo menší */

body.skola .footer1 img {
  max-width: 130px !important;
}

/* nadpisy */

body.skola .footer1 h3 {
  margin-bottom: 14px !important;
  font-size: 24px !important;
}

/* odkazy */

body.skola .footer1 a,
body.skola .footer1 li,
body.skola .footer1 span,
body.skola .footer2 a,
body.skola .footer2 span {
  color: rgba(255,255,255,.92) !important;
}

/* sociální ikony */

body.skola .footer1 .socialIcon,
body.skola .footer1 .socials a {
  background: rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  transition: all .2s ease;
}

body.skola .footer1 .socialIcon:hover,
body.skola .footer1 .socials a:hover {
  background: rgba(255,255,255,.24) !important;
  transform: translateY(-2px);
}

/* desktop – menší footer */

@media (min-width: 992px) {

  body.skola .footer1 .container,
  body.skola .footer2 .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.skola .footer1 {
    padding-top: 36px !important;
    padding-bottom: 26px !important;
  }

  body.skola .footer2 {
    min-height: 48px !important;
  }
}

/* mobil */

@media (max-width: 767.98px) {

  body.skola .footer1 {
    padding-top: 28px !important;
    padding-bottom: 20px !important;
    text-align: center;
  }

  body.skola .footer1 h3 {
    font-size: 20px !important;
  }

  body.skola .footer2 {
    min-height: 44px !important;
  }

  body.skola .footer1 img {
    max-width: 110px !important;
  }
}

/* =========================================================
   ZŠ Vesec – celková radostnìjší školní barevnost
   vložit úplnì na konec add.css
========================================================= */

:root {
  --vesec-blue: #0b6fb8;
  --vesec-blue-dark: #07528a;
  --vesec-blue-soft: #eaf6ff;
  --vesec-blue-pale: #f6fbff;

  --vesec-yellow: #ffc83d;
  --vesec-yellow-dark: #f5ae00;
  --vesec-yellow-soft: #fff5d6;

  --vesec-green: #28b88f;
  --vesec-green-soft: #e9fbf5;

  --vesec-red: #f47b7b;
  --vesec-red-soft: #fff0f0;

  --vesec-text: #18324a;
  --vesec-muted: #52677c;
  --vesec-line: rgba(24, 50, 74, .10);
  --vesec-shadow: 0 18px 45px rgba(18, 55, 95, .11);
}

/* základ stránky */

body.skola {
  color: var(--vesec-text) !important;
  background-color: #f8fcff !important;
}

body.skola p {
  color: var(--vesec-muted) !important;
}

skola a {
   color: white !important;
}

left-menu.skola a {
  color: black !important;
}


body.skola a:hover {
  color: var(--vesec-blue-dark) !important;
}

/* výbìr textu */

body.skola ::selection {
  background: var(--vesec-yellow) !important;
  color: var(--vesec-text) !important;
}

/* nadpisy */

body.skola h1,
body.skola h2,
body.skola h3,
body.skola h4,
body.skola h5,
body.skola h6,
body.skola .h1,
body.skola .h2,
body.skola .h3,
body.skola .h4,
body.skola .h5,
body.skola .h6 {
  color: var(--vesec-text);
}

body.skola .h2-special::before,
body.skola h2.h2-special::before {
  background: linear-gradient(90deg, var(--vesec-yellow), var(--vesec-blue)) !important;
  border-radius: 999px;
}

/* horní informaèní lišta */

body.skola .container--header1 {
  background:
    linear-gradient(90deg, #0a67aa 0%, #0f86d9 55%, #22a7dd 100%) !important;
  box-shadow: 0 2px 14px rgba(7, 82, 138, .18);
}

body.skola .container--header1 a,
body.skola .container--header1 span {
  color: #fff !important;
}

body.skola .container--header1 a:hover {
  opacity: .86;
}


/* menu */

body.skola .menu > ul > li > a {
  color: var(--vesec-text) !important;
  border-radius: 999px !important;
}

body.skola .menu > ul > li > a:hover,
body.skola .menu > ul > li.active > a,
body.skola .menu > ul > li.current > a {
  background: var(--vesec-blue-soft) !important;
  color: var(--vesec-blue-dark) !important;
}

/* šipka v menu */

body.skola .menu > ul > li.menu__big > a::after {
  border-color: var(--vesec-blue) !important;
}

/* hledání + burger */

body.skola .searching-trigger {
  background: var(--vesec-blue-soft) !important;
  box-shadow: 0 8px 22px rgba(11,111,184,.12) !important;
}

body.skola .searching-trigger:hover {
  background: #dcefff !important;
}

body.skola .menu-icon {
  background: linear-gradient(180deg, #0d7fd0, #075c99) !important;
  box-shadow: 0 12px 26px rgba(11,111,184,.24) !important;
}

body.skola > .searching {
  background: #ffffff !important;
  border: 1px solid rgba(11,111,184,.10) !important;
  box-shadow: 0 18px 45px rgba(18,55,95,.18) !important;
}

body.skola #search-text {
  border: 1px solid rgba(11,111,184,.18) !important;
  border-radius: 12px !important;
}

/* hero */

.slider-main-skola.ms-hero-vesec {
  background: var(--vesec-blue-dark) !important;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  background:
    linear-gradient(90deg, rgba(5,52,92,.84) 0%, rgba(8,93,150,.62) 44%, rgba(8,93,150,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.10)) !important;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.34) !important;
}

/* tlaèítka */

body.skola .btn--main--pink,
body.skola .ms-btn--primary {
  background: linear-gradient(180deg, #ffd65c, var(--vesec-yellow)) !important;
  color: var(--vesec-text) !important;
  box-shadow: 0 14px 30px rgba(255,200,61,.28) !important;
}

body.skola .btn--main--pink:hover,
body.skola .ms-btn--primary:hover {
  background: linear-gradient(180deg, #ffe082, var(--vesec-yellow-dark)) !important;
  color: var(--vesec-text) !important;
}

body.skola .ms-btn--outline {
  border-color: rgba(255,255,255,.48) !important;
  background: rgba(255,255,255,.14) !important;
}

/* quicklinks */

body.skola .ms-quicklink {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,255,.96)) !important;
  border: 1px solid rgba(11,111,184,.10) !important;
  box-shadow: var(--vesec-shadow) !important;
}

body.skola .ms-quicklink:hover {
  box-shadow: 0 26px 65px rgba(18,55,95,.16) !important;
}

body.skola .ms-quicklink strong {
  color: var(--vesec-blue-dark) !important;
}

body.skola .ms-quicklink p {
  color: var(--vesec-muted) !important;
}

body.skola .ms-quicklink em {
  color: var(--vesec-blue) !important;
}

body.skola .ms-quicklink__icon {
  background: var(--vesec-blue-soft) !important;
  color: var(--vesec-blue) !important;
}

body.skola .ms-quicklink:nth-child(2n) .ms-quicklink__icon,
body.skola .ms-quicklink__icon--green {
  background: var(--vesec-green-soft) !important;
  color: var(--vesec-green) !important;
}

body.skola .ms-quicklink:nth-child(3n) .ms-quicklink__icon,
body.skola .ms-quicklink__icon--yellow {
  background: var(--vesec-yellow-soft) !important;
  color: var(--vesec-yellow-dark) !important;
}

/* Nepøehlédnìte */

body.skola .ms-important__head h2 {
  color: var(--vesec-blue-dark) !important;
}

body.skola .ms-important__list {
  border-color: rgba(11,111,184,.12) !important;
  box-shadow: var(--vesec-shadow);
  border-radius: 22px;
  overflow: hidden;
}

body.skola .ms-important__item:nth-child(odd) {
  background: var(--vesec-blue-soft) !important;
}

body.skola .ms-important__item:nth-child(even) {
  background: #ffffff !important;
}

body.skola .ms-important__item {
  border-bottom-color: rgba(11,111,184,.10) !important;
}

body.skola .ms-important__item summary span {
  color: var(--vesec-text) !important;
}

body.skola .ms-important__item:hover summary span {
  color: var(--vesec-blue) !important;
}

body.skola .ms-important__item summary::after {
  border-color: var(--vesec-blue) !important;
}

/* aktuality */

body.skola .news-slider.news-slider--only-list > .news-slider__item {
  background: #ffffff !important;
  border: 1px solid rgba(11,111,184,.10) !important;
  border-radius: 22px !important;
  box-shadow: var(--vesec-shadow) !important;
  overflow: hidden;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item h3 {
  color: var(--vesec-blue-dark) !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item span {
  color: var(--vesec-yellow-dark) !important;
}

body.skola .news-slider.news-slider--only-list > .news-slider__item p {
  color: var(--vesec-muted) !important;
}

/* dokumenty / download karty */

body.skola .download.download--full > a {
  background: #ffffff !important;
  border: 1px solid rgba(11,111,184,.10) !important;
  border-radius: 20px !important;
  box-shadow: var(--vesec-shadow) !important;
}

body.skola .download.download--full > a:hover {
  background: var(--vesec-blue-pale) !important;
}

/* obsahové bloky */

body.skola .bg-blue {
  background: linear-gradient(135deg, var(--vesec-blue-dark), var(--vesec-blue)) !important;
}

body.skola .bg-pink {
  background: linear-gradient(135deg, var(--vesec-yellow), var(--vesec-yellow-dark)) !important;
}

body.skola .bg-gray,
body.skola .bg-lightgray {
  background: var(--vesec-blue-pale) !important;
}

/* seznamy */

body.skola .cubesList ul li::before,
body.skola .pageContent ul li::before,
body.skola ol li::before {
  color: var(--vesec-yellow-dark) !important;
}

/* tabulky */

body.skola .table thead {
  background: linear-gradient(90deg, var(--vesec-blue), #22a7dd) !important;
}

body.skola .table-striped tbody tr:nth-of-type(odd) {
  background: var(--vesec-blue-pale) !important;
}

/* stránkování */

body.skola .page-item.active .page-link,
body.skola .pagination .active,
body.skola .pagination .active:hover {
  background: var(--vesec-blue) !important;
  border-color: var(--vesec-blue) !important;
  color: #fff !important;
}

body.skola .page-link {
  color: var(--vesec-blue) !important;
  border-color: rgba(11,111,184,.18) !important;
}

body.skola .page-link:hover {
  background: var(--vesec-blue) !important;
  color: #fff !important;
}

/* formuláøe */

body.skola input,
body.skola textarea,
body.skola select,
body.skola .form-control {
  border-color: rgba(11,111,184,.18) !important;
}

body.skola input:focus,
body.skola textarea:focus,
body.skola select:focus,
body.skola .form-control:focus {
  border-color: var(--vesec-blue) !important;
  box-shadow: 0 0 0 .2rem rgba(11,111,184,.16) !important;
}

/* footer */

body.skola .footer1 {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,200,61,.16), transparent 24%),
    linear-gradient(135deg, #063f6c, #075c99) !important;
}

body.skola .footer1 h3,
body.skola .footer1 p,
body.skola .footer1 li,
body.skola .footer1 span,
body.skola .footer1 a {
  color: #ffffff !important;
}

body.skola .footer1 a:hover {
  color: var(--vesec-yellow) !important;
}

body.skola .footer2 {
  background: #052f52 !important;
  color: rgba(255,255,255,.82) !important;
}

body.skola .footer2 a,
body.skola .footer2 span {
  color: rgba(255,255,255,.86) !important;
}

/* mobil */

@media (max-width: 1199.98px) {
  body.skola header {
    background: #ffffff !important;
    border-radius: 0 0 22px 22px;
  }

  body.skola .menu > ul {
    background:
      linear-gradient(180deg, #ffffff, #f7fbff) !important;
    border: 1px solid rgba(11,111,184,.12) !important;
  }

  body.skola .menu > ul > li > a {
    background: transparent !important;
    color: var(--vesec-text) !important;
  }

  body.skola .menu > ul > li > a:hover {
    background: var(--vesec-blue-soft) !important;
    color: var(--vesec-blue-dark) !important;
  }
}

/* odstranìní tmavého pozadí pod footerem */

body.skola footer,
body.skola .footer,
body.skola .footer2,
body.skola .footer2 > div,
body.skola .footer2 .container,
body.skola .footer2 .container-fluid {
  background: #00578d !important;
  background-image: none !important;
}

/* nìkde je ještì extra wrapper */

body.skola .bg-darkgray,
body.skola .bg-blue-dark,
body.skola .footerBottom {
  background: #00578d !important;
  background-image: none !important;
}

/* =========================================================
   HERO – LIGHT SCHOOL STYLE (vzory jen vlevo)
========================================================= */

/* celé hero svìtlejší */

.slider-main-skola.ms-hero-vesec {
  background: #dfeffd !important;
}

/* video lehce zesvìtlit */

.slider-main-skola.ms-hero-vesec video,
.slider-main-skola.ms-hero-vesec iframe,
.slider-main-skola.ms-hero-vesec .mbYTP_wrapper,
.slider-main-skola.ms-hero-vesec .player,
.slider-main-skola.ms-hero-vesec .slider-main-skola-item__background {
  filter:
    brightness(.88)
    contrast(1.12)
    saturate(1.18)
    hue-rotate(-2deg);
}

/* nový overlay */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  background:

    linear-gradient(
      90deg,
      rgba(40,72,104,.52) 0%,
      rgba(56,102,146,.36) 26%,
      rgba(56,102,146,.18) 52%,
      rgba(11,111,184,.08) 100%
    ),

    radial-gradient(
      circle at 14% 18%,
      rgba(255,211,92,.10) 0,
      rgba(255,211,92,0) 240px
    ) !important;
}

/* jemný pattern jen vlevo */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  bottom: 0;

  width: 48%;

  opacity: .22;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='2'%3E%3Ccircle cx='34' cy='34' r='12'/%3E%3Cpath d='M112 24l18 18-18 18-18-18z'/%3E%3Cpath d='M38 118h28v28H38z'/%3E%3Cpath d='M130 118c10 0 18 8 18 18s-8 18-18 18-18-8-18-18 8-18 18-18z'/%3E%3Cpath d='M88 76l8 16 18 2-13 12 4 18-17-9-17 9 4-18-13-12 18-2z'/%3E%3C/g%3E%3C/svg%3E");

  background-size: 180px 180px;

  background-repeat: repeat;

  background-position: left top;

  mask-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.92) 55%,
      rgba(0,0,0,0) 100%
    );

  -webkit-mask-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.92) 55%,
      rgba(0,0,0,0) 100%
    );

  pointer-events: none;
}

/* obsah */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content {
  color: #16324a !important;
}

/* badge nahoøe */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
  background: rgba(255,255,255,.62) !important;

  border: 1px solid rgba(11,111,184,.12) !important;

  color: #0b5f9b !important;

  backdrop-filter: blur(12px);

  box-shadow:
    0 8px 24px rgba(0,0,0,.05);
}

/* hlavní nadpis */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
  color: #11324b !important;

  text-shadow:
    0 6px 18px rgba(255,255,255,.22) !important;
}

/* text */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
  color: #31526c !important;

  text-shadow: none !important;
}

/* primary button */

.ms-btn--primary {
  background:
    linear-gradient(
      180deg,
      #ffd85f,
      #ffc83d
    ) !important;

  box-shadow:
    0 14px 30px rgba(255,200,61,.24) !important;
}

/* outline button */

.ms-btn--outline {
  background: rgba(255,255,255,.54) !important;

  border: 1px solid rgba(17,50,75,.16) !important;

  color: #16324a !important;

  backdrop-filter: blur(10px);
}

.ms-btn--outline:hover {
  background: rgba(255,255,255,.72) !important;
}

/* mobil */

@media (max-width: 767.98px) {

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {

    background:

      linear-gradient(
        180deg,
        rgba(255,255,255,.78) 0%,
        rgba(224,241,255,.62) 52%,
        rgba(11,111,184,.20) 100%
      ),

      radial-gradient(
        circle at top left,
        rgba(255,211,92,.24) 0,
        rgba(255,211,92,0) 180px
      ) !important;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
    color: #11324b !important;
  }

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
    color: #31526c !important;
  }
}

/* =========================================================
   HERO – LIGHT SCHOOL STYLE (jemnìjší vlevo)
========================================================= */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  background:

    /* ménì bílé, více jemnì modré */
    linear-gradient(
      90deg,
      rgba(223,239,253,.72) 0%,
      rgba(214,234,248,.56) 24%,
      rgba(184,221,248,.34) 52%,
      rgba(11,111,184,.10) 100%
    ),

    /* jemné teplé svìtlo */
    radial-gradient(
      circle at 14% 18%,
      rgba(255,211,92,.16) 0,
      rgba(255,211,92,0) 240px
    ) !important;
}

/* pattern ménì výrazný */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay::before {
  opacity: .12 !important;
}

/* text lehce tmavší pro kontrast */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
  color: #12324a !important;

  text-shadow:
    0 4px 12px rgba(255,255,255,.10) !important;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
  color: #36556d !important;
}

/* label jemnìjší */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
  background: rgba(255,255,255,.42) !important;

  border: 1px solid rgba(11,111,184,.10) !important;
}

/* =========================================================
   Intro Vesec image
========================================================= */

.ms-intro-vesec__photo {
  position: relative;
  overflow: hidden;

  border-radius: 34px;

  min-height: 520px;

  background:
    linear-gradient(
      180deg,
      #f8fbff,
      #eef6ff
    );

  box-shadow:
    0 30px 70px rgba(18,55,95,.10);
}

.ms-intro-vesec__img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  display: block;

  filter:
    brightness(1.03)
    saturate(1.02)
    contrast(.98);
}

/* jemný overlay */

.ms-intro-vesec__photo::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.02),
      rgba(11,111,184,.05)
    );

  pointer-events: none;
}

/* mobil */

@media (max-width: 767.98px) {

  .ms-intro-vesec__photo {
    min-height: 340px;
    border-radius: 24px;
  }
}

/* =========================================================
   HERO – modrý cinematic overlay
   ménì mléèné, více kontrastu
========================================================= */

/* video / fallback image */

.slider-main-skola.ms-hero-vesec video,
.slider-main-skola.ms-hero-vesec iframe,
.slider-main-skola.ms-hero-vesec .mbYTP_wrapper,
.slider-main-skola.ms-hero-vesec .player,
.slider-main-skola.ms-hero-vesec .slider-main-skola-item__background {
  filter:
    brightness(.86)
    contrast(1.14)
    saturate(1.20);
}

/* overlay */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {
  background:

    /* modrá vlevo -> svìtlo doprava */
    linear-gradient(
      90deg,
      rgba(7,45,78,.78) 0%,
      rgba(11,78,128,.58) 24%,
      rgba(76,145,194,.30) 56%,
      rgba(255,255,255,.04) 100%
    ),

    /* jemné svìtlo vlevo nahoøe */
    radial-gradient(
      circle at 18% 16%,
      rgba(255,211,92,.12) 0,
      rgba(255,211,92,0) 260px
    ) !important;
}

/* pattern */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay::before {
  opacity: .10 !important;
}

/* text */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content h1 {
  color: #ffffff !important;

  text-shadow:
    0 12px 28px rgba(0,0,0,.24) !important;
}

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__content p {
  color: rgba(255,255,255,.92) !important;

  text-shadow:
    0 6px 18px rgba(0,0,0,.18) !important;
}

/* badge */

.slider-main-skola.ms-hero-vesec .ms-hero-vesec__label {
  background: rgba(255,255,255,.18) !important;

  border: 1px solid rgba(255,255,255,.22) !important;

  color: #ffffff !important;

  backdrop-filter: blur(12px);
}

/* outline button */

.ms-btn--outline {
  background: rgba(255,255,255,.14) !important;

  border: 1px solid rgba(255,255,255,.34) !important;

  color: #ffffff !important;
}

.ms-btn--outline:hover {
  background: rgba(255,255,255,.22) !important;
}

/* mobil */

@media (max-width: 767.98px) {

  .slider-main-skola.ms-hero-vesec .ms-hero-vesec__overlay {

    background:

      linear-gradient(
        180deg,
        rgba(7,45,78,.82) 0%,
        rgba(11,78,128,.58) 52%,
        rgba(76,145,194,.26) 100%
      ),

      radial-gradient(
        circle at top left,
        rgba(255,211,92,.10) 0,
        rgba(255,211,92,0) 180px
      ) !important;
  }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;

    background: #ffffff;
    color: #000000;
    padding: 12px 18px;
    border: 2px solid #000;
    border-radius: 6px;

    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
}
.searching-trigger {
    border: 0;
    background: transparent;
    padding: 0;
}

.searching-trigger:focus {
    outline: none;
    box-shadow: none;
}
@media (min-width: 992px) {
    body.skola .searching {
        position: fixed !important;
        top: 125px !important;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999 !important;
    }

    body.skola.scrolled .searching {
        top: 93px !important;
    }
}

@media (min-width: 1200px) {

  body.skola .menu > ul > li.menu__big > div {
    display: none !important;
    pointer-events: none !important;
  }

  body.skola .menu > ul > li.menu__big:hover > div,
  body.skola .menu > ul > li.menu__big:focus-within > div {
    display: block !important;
    pointer-events: auto !important;
  }

  body.skola .menu > ul > li.menu__big > div > ul {
    display: block !important;
  }

  body.skola .menu > ul > li > ul > li > ul,
  body.skola .menu > ul > li.menu__big > div > ul > li > ul {
    left: 100% !important;
    top: 0 !important;
  }

  body.skola .menu > ul > li > ul > li::after,
  body.skola .menu > ul > li.menu__big > div > ul > li::after {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
    pointer-events: none;
  }
}