/* ========== ROOT TYPOGRAPHY SYSTEM ========== */
:root {
  /* Base font size (1rem = 16px) */
  font-size: 16px;

  /* Font family */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Font weights */
  --font-light: 300;
  --font-regular: 400;
  --font-bold: 700;

  /* Font sizes (in rem, calculated from px/16) */
  --fs-h1: 4rem;        /* 64px */
  --fs-h2: 2.5rem;      /* 40px */
  --fs-h3: 1.5rem;      /* 24px */
  --fs-p: 1.125rem;     /* 18px */
  --fs-small: 0.875rem; /* 14px */
}

* {
  margin: 0;
  padding: 0;
}

/* ========== GLOBAL STYLES ========== */
body {
  position: relative;
  font-family: var(--font-primary);
  font-size: var(--fs-p);
  font-weight: var(--font-regular);
  line-height: 1.6;
  color: #111;
  background-color: #F8F7F5;
}

/* ========== HEADINGS ========== */
h1, h2, h3 {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* ========== PARAGRAPHS ========== */
p {
  font-size: var(--fs-p);
  line-height: 1.6;
  margin: 0 0 1em;
}

/* Bold / Regular / Light modifiers */
.text-bold   { font-weight: var(--font-bold); }
.text-regular { font-weight: var(--font-regular); }
.text-light  { font-weight: var(--font-light); }

/* ========== SMALL TEXT ========== */
.small {
  font-size: var(--fs-small);
  line-height: 1.4;
}

.small.text-bold   { font-weight: var(--font-bold); }
.small.text-regular { font-weight: var(--font-regular); }
.small.text-light  { font-weight: var(--font-light); }

/* ========== MARKS DESIGN ========== */
.checkmark {
  color: #0BB980;
}
.crossmark {
  color: #E76D6D;
}

/* ========== CLASSIC BUTTON ========== */
.classic-btn {
  padding: 10px 16px;
  font-size: var(--fs-h3);
  font-weight: var(--font-bold);
  line-height: 1;
  color: #000B6A;
  border-radius: 16px;
  border: solid 3px #2787E7;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.classic-btn:hover {
  background-color: #2787E7;
  color: #FFFFFF;
  box-shadow: 0 4px 4px rgba(0, 11, 106, 0.2);
}
.classic-btn:active {
  background-color: #164B81;
  border: solid 3px #164B81;
  box-shadow: 0 3px 5px rgba(0, 11, 106, 0.2);
  transform: scale(0.99);
}

/* ========== CTA BUTTON ========== */
.cta-btn {
  padding: 8px 16px;
  font-size: var(--fs-h3);
  font-weight: var(--font-bold);
  color: #FFFFFF;
  border-radius: 16px;
  border: solid 3px #2787E7;
  background-color: #2787E7;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.cta-btn:hover {
  background-color: #164B81;
  border: solid 3px #164B81;
  box-shadow: 0 4px 4px rgba(0, 11, 106, 0.2);
}
.cta-btn:active {
  box-shadow: 0 3px 5px rgba(0, 11, 106, 0.2);
  transform: scale(0.99);
}

/* ========== PLAY BUTTON ========== */
.play-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  height: max-content;
  width: max-content;
  font-size: var(--fs-h3);
  font-weight: var(--font-bold);
  line-height: 1;
  color: #000B6A;
  border-radius: 22px;
  border: solid 3px #2787E7;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.play-btn:hover {
  background-color: #2787E7;
  color: #FFFFFF;
  box-shadow: 0 4px 4px rgba(0, 11, 106, 0.2);
}
.play-btn:active {
  background-color: #164B81;
  border: solid 3px #164B81;
  box-shadow: 0 3px 5px rgba(0, 11, 106, 0.2);
  transform: scale(0.99);
}
.play-btn i {
  width: 24px;
  height: 24px;
  background-image: url("../icons/playbtn.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


/* ========== DEFAULT BADGE ========== */
.default-badge {
  padding: 6px 16px;
  background-color: #DCDCDC;
  border-radius: 14px;
  color: #000B6A;
  font-size: var(--fs-small);
  font-weight: var(--font-light);
  line-height: 1.1;
}
.default-badge:hover {
  background-color: #D2E5CE;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
  cursor: default;
}

/* ========== CATEGORY BADGE ========== */
.category-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  width: max-content;
  background-color: #FFFFFF;
  border: solid 1px #666666;
  border-radius: 14px;
  color: #666666;
  font-size: var(--fs-small);
  font-weight: var(--font-regular);
  line-height: 1.1;
  cursor: pointer;
  transition: all 0.3s ease-out;
  animation: badge_highlight infinite 11s;
  animation-play-state: running;
}
.category-badge:nth-child(1) {
  animation-delay: 0s;
}
.category-badge:nth-child(2) {
  animation-delay: 2s;
}
.category-badge:nth-child(3) {
  animation-delay: 4s;
}
.category-badge:nth-child(4) {
  animation-delay: 6s;
}
.category-badge:nth-child(5) {
  animation-delay: 8s;
}
.category-badge:nth-child(6) {
  animation-delay: 10s;
}
.category-badge.active {
  background-color: #666666;
  color: #FFFFFF;
}
.category-badge:hover {
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  animation-play-state: paused;
}
.category-badge:active {
  transform: scale(0.99);
}

@keyframes badge_highlight {
  10% {box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15); border: solid 1px #333333; transform: translateY(-2px);}
  20% {box-shadow: none; border: solid 1px #666666; transform: translateY(0);}
}

/* ========== VIEWS BADGE ========== */
.views-badge {
  font-size: var(--fs-small);
  font-weight: var(--font-light);
  line-height: 1;
  color: #666666;
}

/* ========== VIDEOPANEL BADGES ========== */
.video-views-badge, .video-author-badge, .video-category-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.video-views-badge, .video-author-badge {
  font-size: var(--fs-p);
  font-weight: var(--font-light);
  color: #666666;
}
.video-category-badge {
  font-size: var(--fs-small);
  font-weight: var(--font-bold);
  color: #000B6A;
}

/* ========== VIDEO TYPE BADGE 1 ========== */
.video-type-badge {
  padding: 6px 16px;
  background-color: #666666;
  border-radius: 14px;
  color: #FFFFFF;
  font-size: var(--fs-small);
  font-weight: var(--font-bold);
  line-height: 1;
}
.video-type-badge.free {
  background-color: #0BB980;
}
.video-type-badge.pay {
  background-color: #F59E0C;
}

/* ========== VIDEO TYPE BADGE 2 ========== */
.video-type-badge2 {
  position: absolute;
  padding: 2px 6px;
  background-color: #666666;
  box-shadow: -2px -2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 16px 0 16px 0;
  color: #FFFFFF;
  font-size: var(--fs-small);
  font-weight: var(--font-bold);
  line-height: 1;
  text-align: center;
  bottom: 0;
  right: 0;
  width: 80px;
}
.video-type-badge2.free {
  background-color: #0BB980;
}
.video-type-badge2.pay {
  background-color: #F59E0C;
}

/* ========== ORDER CARD ========== */
.order-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 12px;
  background: #FFFFFF;
  border-radius: 16px;
  border: solid 1px #DCDCDC;
  cursor: default;
  transition: all 0.3s ease-out;
}
.order-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
  transform: translateY(-4px);
}
.order-card .order-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 202px;
}
.order-card .order-header .price {
  font-size: var(--fs-h1);
  font-weight: var(--font-bold);
  line-height: 1;
  background: linear-gradient(45deg, #2787E7 35%, #164B81 90%); 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
}
.order-card .order-header .description {
  font-size: var(--fs-small);
  font-weight: var(--font-bold);
  line-height: 1;
  color: #666666;
}
.order-card .order-compare-list {
  display: flex;
  flex-direction: column;
}
.order-card .order-compare-list .row {
  display: flex;
  gap: 6px;
  padding: 16px 0;
  border-bottom: solid 1px #DCDCDC;
}
.order-card .order-compare-list .row:nth-child(6) {
  border: none;
}
.order-card .order-compare-list .row p {
  margin: 0;
  color: #666666;
}
.order-card .order-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.order-card .order-footer .stripe-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: var(--font-light);
  line-height: 1;
}
.order-card .best-order-banner {
  display: flex;
  gap: 6px;
  align-items: center;
  width: max-content;
  padding: 12px 26px;
  border-radius: 16px;
  background: #0BB980;
  font-size: var(--fs-p);
  font-weight: var(--font-regular);
  line-height: 1;
  color: #FFFFFF;
  transition: all 0.3s ease-out;
  animation: bannerShake 4s linear infinite;
}
.order-card .top-order-badge {
  position: absolute;
  top: 0;
  left: 50%;
  translate: 0 -18px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px 12px;
  background: #2787E7;
  border-radius: 16px;
  font-size: var(--fs-small);
  font-weight: var(--font-bold);
  line-height: 1;
  color: #FFFFFF;
}
.order-card.yearly-price::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  translate: -3px -3px;
  background: #2787E7;
  border-radius: 18px;
  transition: all 0.6s ease;
  animation: yearlyOrderHighlight 4s infinite;
}
.order-card.yearly-price:hover::after {
  background: #FFFFFF;
  opacity: 0.4;
}
@keyframes yearlyOrderHighlight {
  50% {transform: scale(1.005);}
}
@keyframes bannerShake {
  0%, 8.34% {
    transform: rotate(0deg); 
  }
  2% {
    transform: rotate(-1deg); 
  }
  4% {
    transform: rotate(1deg); 
  }
  6% {
    transform: rotate(-0.5deg); 
  }
  100% {
    transform: rotate(0deg); 
  }
}
.order-card.disabled {
  opacity: 0.8;
  background-color: #999999;
}
.order-card.disabled::after {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translateX(-50%);
  content: 'Nedostupné';
  width: max-content;
  height: max-content;
  padding: 12px;
  border-radius: 12px;
  background-color: #ea5542;
  color: #FFFFFF;
}
.order-card.disabled:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transform: translateY(0);
}
.order-card.yearly-price.disabled::after {
  display: none;
  animation: none;
}

/* ========== LINK SPAN ========== */
.link-span {
  display: flex;
  gap: 4px;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: var(--font-regular);
  color: #666666;
  text-align: center;
}
.link-span button {
  border: none;
  background: none;
  color: #2787E7;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.link-span button:hover {
  color: #164B81;
}
.link-span button:active {
  transform: scale(0.95);
}

/* ========== OVERLAY ========== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  overflow: scroll;
}

/* ========== DIALOG ========== */
.dialog-window {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 522px;
  padding: 12px;
}
.dialog-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
}
.dialog-header .academy-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dialog-header .academy-logo img {
  width: 64px;
  height: 64px;
}
.dialog-header .academy-logo a {
  text-decoration: none;
}
.dialog-header .academy-logo span {
  font-size: var(--fs-h2);
  font-weight: var(--font-bold);
  background: linear-gradient(45deg, #2787E7 35%, #164B81 90%); 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
}
.dialog-header h3 {
  color: #000000;
  text-align: center;
}
.dialog-window form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 400px;
  margin: 0 auto;
}
.input-group {
  position: relative;
  height: 49.5px;
  width: 400px;
}
.input-group input {
  font-size: var(--fs-p);
  font-weight: var(--font-light);
  color: #666666;
  line-height: 1;
  padding: 0 16px;
  margin: 0;
  background-color: #F8F7F5;
  border: solid 1px #DCDCDC;
  border-radius: 16px;
  outline: none;
  height: 100%;
  width: calc(100% - 34px);
  appearance: none;
  transition: all 0.3s ease-out;
}
.input-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  font-size: var(--fs-p);
  font-weight: var(--font-light);
  line-height: 1;
  color: #666666;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease-out;
  padding: 0 4px;
  background-color: #F8F7F5;
  border-radius: 6px;
  z-index: 1001;
}
.input-group input:hover,
.input-group input:focus {
  border-color: #333333;
}
.input-group input:hover ~ label,
.input-group input:focus ~ label,
.input-group input.has-value ~ label {
  transform: translateY(-200%);
  color: #333333;
}
.dialog-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
  width: 400px;
}

/* ========== SEARCH MODAL ========== */
.search-modal {
  position: fixed;
  top: 0;
  left: 50%;
  width: 400px;
  transform: translateX(-50%);
  margin-top: 90px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 12px;
}
.search-modal.is-open {
  display: flex;
}
.search-bar {
  position: relative;
  height: 49.5px;
  width: 400px;
}
.search-bar input {
  font-size: var(--fs-p);
  font-weight: var(--font-light);
  color: #666666;
  line-height: 1;
  padding: 0 42px 0 16px;
  margin: 0;
  background-color: #F8F7F5;
  border: solid 1px #DCDCDC;
  border-radius: 16px;
  outline: none;
  height: 100%;
  width: calc(100% - 60px);
  appearance: none;
  transition: all 0.3s ease-out;
}
.search-bar input:hover,
.search-bar input:focus {
  border-color: #333333;
}
.search-bar button {
  position: absolute;
  top: 55%;
  right: 16px;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

/* ========== VIDEO MODAL ========== */
.video-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #FFFFFF;
  border-radius: 16px;
  width: 640px;
  padding: 12px;
}
.video-modal h2 {
  color: #000B6A;
  margin: 12px 0 0 0;
}
.video-modal .thumbnail-box {
  position: relative;
  background-color: #666666;
  border-radius: 16px;
  height: 360px;
  width: 640px;
  overflow: hidden;
}
.video-modal .thumbnail-box iframe {
  position: absolute;
  object-fit: fill;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  transition: all 0.3s ease-out;
}
.video-modal .thumbnail-box img {
  position: absolute;
  object-fit: fill;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  transition: all 0.3s ease-out;
}
.video-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  background-color: #F8F7F5;
  border-radius: 16px;
  padding: 12px;
}
.video-panel .video-views-badge {
  grid-column: 1;
  grid-row: 1;
  margin: auto 0;
}
.video-panel .video-author-badge {
  grid-column: 2;
  grid-row: 1;
  margin: auto 0;
}
.video-panel .video-category-badge {
  grid-column: 1;
  grid-row: 2;
  margin: auto 0;
}
.video-panel button {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: auto;
}
.video-modal .show-p-btn {
  color: #2787E7;
  cursor: pointer;
}
.video-modal .about-video {
  background: #FFFFFF;
  height: 260px;
  text-align: justify;
}
.video-modal .about-video p {
  margin: 0;
  color: #666666;
}

/* ========== COOKIES BANNER ========== */
.cookie-banner {
  position: absolute;
  width: 380px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
}
.cookie-banner img {
  width: 140px;
  margin: 0 auto;
}
.cookie-banner span {
  font-size: var(--fs-p);
  font-weight: var(--font-regular);
  line-height: 1;
  color: #666666;
  margin-top: auto;
}
.cookie-banner span a {
  font-weight: var(--font-light);
  color: #2787E7;
  cursor: pointer;
}

/* ========== MSG BOX ========== */
.msg {
  display: none;
  opacity: 0;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background-color: #333333;
  padding: 4px 8px;
  border: 2px solid black;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: small;
  font-weight: bold;
  text-align: center;
  color: #DCDCDC;
  transition: all 0.3s ease;
}
.msg.success {
  background-color: #cbf5dd;
  border-color: #0bb980;
  color: #333333;
}
.msg.error {
  background-color: #f2b1b1;
  border-color: #ea5542;
  color: #FFFFFF;
}

/* ========== LOADING SCREEN ========== */
.loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2999;
  background: rgba(0, 0, 0, 0.6);
}
.loading img {
  transition: all 0.3s ease;
  animation: logoGlow 1s infinite linear alternate;
}
@keyframes logoGlow {
  0%    {opacity: 1;}
  5%    {opacity: 0.98;}
  12.5% {opacity: 0.95;}
  25%   {opacity: 0.92;}
  37.7% {opacity: 0.89;}
  50%   {opacity: 0.86;}
  62.5% {opacity: 0.89;}
  75%   {opacity: 0.92;}
  87.5% {opacity: 0.95;}
  95%   {opacity: 0.98;}
  100%  {opacity: 1;}
}
.loader {
  height: 30px;
  aspect-ratio: 2.5;
  --_g: no-repeat radial-gradient(farthest-side,#f8f8f8 90%,#0000);
  background: var(--_g), var(--_g), var(--_g), var(--_g);
  background-size: 20% 50%;
  animation: l44 1s infinite linear alternate;
}
@keyframes l44 {
  0%,
  5%    {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  12.5% {background-position: calc(0*100%/3) 0   ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  25%   {background-position: calc(0*100%/3) 0   ,calc(1*100%/3) 0   ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
  37.5% {background-position: calc(0*100%/3) 100%,calc(1*100%/3) 0   ,calc(2*100%/3) 0   ,calc(3*100%/3) 50% }
  50%   {background-position: calc(0*100%/3) 100%,calc(1*100%/3) 100%,calc(2*100%/3) 0   ,calc(3*100%/3) 0   }
  62.5% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 100%,calc(2*100%/3) 100%,calc(3*100%/3) 0   }
  75%   {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 100%,calc(3*100%/3) 100%}
  87.5% {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 100%}
  95%,
  100%  {background-position: calc(0*100%/3) 50% ,calc(1*100%/3) 50% ,calc(2*100%/3) 50% ,calc(3*100%/3) 50% }
}

/* ========== RESPONSIVE TYPOGRAPHY & COMPONENTS ========== */
@media screen and (max-width: 1200px) {
  :root {
    --fs-h1: 3.5rem;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --fs-h1: 2.25rem;
    --fs-h2: 1.875rem;
    --fs-h3: 1.25rem;
    --fs-p: 1rem;
    --fs-small: 0.875rem;
  }
  .classic-btn {
    padding: 9px 16px;
  }
  .dialog-window {
    width: 90%;
    max-width: 560px;
  }
  .dialog-window form,
  .dialog-footer {
    width: calc(100% - 24px);
  }
  .input-group {
    width: 100%;
  }
  .search-modal {
    width: calc(90% - 24px);
    left: 50%;
    transform: translateX(-50%);
  }
  .search-bar {
    width: 100%;
  }
  .video-modal {
    width: 90%;
    max-width: 720px;
  }
  .video-modal .thumbnail-box {
    width: 100%;
    height: max-content;
  }
  .video-modal .thumbnail-box iframe {
    height: 100%;
  }
  .video-modal .about-video {
    height: 200px;
  }
  .video-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .video-panel button {
    grid-column: 2;
    margin-top: 56px;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.5rem;
    --fs-h3: 1.125rem;
    --fs-p: 0.95rem;
    --fs-small: 0.825rem;
  }
  .play-btn {
    gap: 6px;
    padding: 6px 8px;
  }
  .play-btn i {
    width: 16px;
    height: 16px;
  }
  .default-badge {
    font-weight: var(--font-regular);
  }
  .dialog-header .academy-logo img {
    width: 56px;
    height: 56px;
  }
  .dialog-window {
    max-width: 420px;
  }
  .video-modal .about-video {
    height: 220px;
  }
  .cookie-banner {
    position: absolute;
    width: 300px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 12px;
  }
  .cookie-banner img {
    width: 80px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 420px) {
  .search-modal {
    margin-top: 84px;
  }
  .video-modal .about-video {
    min-height: 220px;
    overflow-y: auto;
  }
}