* {
  box-sizing: border-box;

  margin: 0;

  padding: 0;
}

html {
  scroll-behavior: smooth;

  overflow-x: hidden;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;

  padding: 0;

  border: 0;

  font-size: 100%;

  font: inherit;

  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";

  content: none;
}

table {
  border-collapse: collapse;

  border-spacing: 0;
}

body {
  font-family: "Roboto", sans-serif;

  background: #070b17;

  color: #ffffff;

  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: #f8f3ec;

  text-decoration: none;
}

button {
  font-family: inherit;

  border: 0;

  cursor: pointer;
}

img {
  max-width: 100%;

  display: block;
}

.container {
  max-width: 1340px;

  margin: 0 auto;

  padding: 0 15px;
}

.container--sm {
  max-width: 1240px;

  margin: 0 auto;

  padding: 0 15px;
}

.page {
  background: radial-gradient(circle at 82% 6%, rgba(33, 91, 185, 0.26), transparent 36%),
    radial-gradient(circle at 25% 35%, rgba(126, 49, 184, 0.08), transparent 34%), #070b17;
}

/* HEADER */

.header {
  position: fixed;

  inset: 0 0 auto;

  z-index: 100;

  background: #050816;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
}

.header__inner {
  padding: 20px 15px;

  display: flex;

  align-items: center;

  gap: 36px;
}

.logo {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  font-size: 20px;

  font-weight: 800;

  letter-spacing: -0.04em;

  flex-shrink: 0;
}

.logo__icon {
  width: 35px;

  height: 35px;

  border-radius: 10px;

  background: linear-gradient(135deg, #ffffff 0%, #b9c8ff 100%);

  display: grid;

  place-items: center;

  color: #080d1b;

  font-weight: 900;

  box-shadow: 0 12px 40px rgba(127, 69, 255, 0.2);
}

.nav {
  flex: 1;

  display: flex;

  justify-content: center;
}

.nav__list {
  display: flex;

  align-items: center;

  gap: 34px;

  list-style: none;
}

.nav__list li a {
  position: relative;

  font-size: 14px;

  font-weight: 800;

  color: #f8f3ec;

  transition: color 0.25s ease;

  white-space: nowrap;

  text-transform: uppercase;
}

.nav__list li a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 2px;

  border-radius: 10px;

  background: #9f45e9;

  transition: width 0.25s ease;
}

.nav__list li a:hover {
  color: #ffffff;
}

.nav__list li a:hover::after {
  width: 100%;
}

.header__btn {
  flex-shrink: 0;
}

.burger {
  display: none;

  width: 44px;

  height: 44px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  position: relative;
}

.burger span {
  position: absolute;

  left: 11px;

  width: 22px;

  height: 2px;

  border-radius: 10px;

  background: #ffffff;

  transition: 0.25s ease;
}

.burger span:nth-child(1) {
  top: 14px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 28px;
}

body.menu-open .burger span:nth-child(1) {
  top: 21px;

  rotate: 45deg;
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  top: 21px;

  rotate: -45deg;
}

/* BUTTONS */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  padding: 0 28px;

  border-radius: 6px;

  font-size: 13px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.01em;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.btn--primary {
  background: #5b278e;

  color: #f8f3ec;

  box-shadow: 0 14px 36px rgba(150, 57, 229, 0.34);

  font-size: 14px;

  font-weight: 700;

  padding: 12px 10px;

  transition: all 0.3s ease;
}

.btn--primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 22px 50px rgba(150, 57, 229, 0.52);

  background: linear-gradient(135deg, #8334c0 0%, #8d35e6 100%);
}

.btn--primary2 {
  position: relative;

  overflow: hidden;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 17px 35px;

  border-radius: 8px;

  font-weight: 700;

  color: #fff;

  background: linear-gradient(135deg, #9236d9 0%, #6d19c4 30%, #500899 55%, #a13ee7 80%, #9236d9 100%);

  background-size: 260% 260%;

  box-shadow: 0 12px 32px rgba(146, 54, 217, 0.32);

  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;

  animation: btnGradientMove 4s ease-in-out infinite;
}

/* Світлий блік */

.btn--primary2::before {
  content: "";

  position: absolute;

  top: -40%;

  left: -75%;

  width: 55%;

  height: 180%;

  background: linear-gradient(
    120deg,
    transparent 0%,

    rgba(255, 255, 255, 0.12) 35%,

    rgba(255, 255, 255, 0.45) 50%,

    rgba(255, 255, 255, 0.12) 65%,

    transparent 100%
  );

  transform: rotate(18deg);

  transition: left 0.65s ease;

  pointer-events: none;
}

/* Легке внутрішнє світіння */

.btn--primary2::after {
  content: "";

  position: absolute;

  inset: 1px;

  border-radius: 7px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 45%, rgba(0, 0, 0, 0.12));

  pointer-events: none;
}

.btn--primary2:hover {
  transform: translateY(-3px);

  box-shadow: 0 18px 44px rgba(146, 54, 217, 0.48), 0 0 26px rgba(161, 62, 231, 0.34);

  filter: brightness(1.08);
}

.btn--primary2:hover::before {
  left: 125%;
}

.btn--primary2:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes btnGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn--ghost {
  padding: 16px 35px;

  background: rgb(255 255 255 / 4%);

  border: 1px solid rgba(188, 123, 255, 0.55);

  color: #d8b6ff;

  font-size: 14px;

  font-weight: 700;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  color: #d9a4ff;

  border-color: #d9a4ff;

  background: rgba(158, 65, 230, 0.18);

  box-shadow: 0 14px 36px rgba(139, 62, 216, 0.22);

  transform: translateY(-3px);
}

.btn__arrow {
  font-size: 16px;

  line-height: 1;

  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* HERO */

.hero {
  min-height: 700px;

  padding-top: 74px;

  position: relative;

  display: flex;

  align-items: center;

  overflow: hidden;    background-size: cover !important;

  isolation: isolate;

  border-bottom: none;

  background: #050816;
      background-repeat: no-repeat !important;
}

/* фото */

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -3;

  background-image: url("");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  transform: scale(1.02);

  filter: brightness(1.12) contrast(1.08) saturate(1.12);
}

/* оверлей як на скріні */

.hero::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  pointer-events: none;

  background: linear-gradient(
      180deg,
      rgba(5, 8, 22, 0) 0%,

      rgba(5, 8, 22, 0.12) 45%,

      rgba(5, 8, 22, 0.55) 76%,

      #050816 100%
    ),
    /* ліва темна частина */
      linear-gradient(
        90deg,
        #050816 0%,

        rgba(5, 8, 22, 0.96) 17%,

        rgba(5, 8, 22, 0.82) 34%,

        rgba(8, 22, 55, 0.58) 55%,

        rgb(16 66 143 / 92%) 100%
      ),
    /* синє світіння справа */
      radial-gradient(circle at 73% 18%, rgb(50 111 222 / 82%) 0%, rgb(50 111 222 / 33%) 28%, #1e79a500 52%);
}

/* щоб контент був поверх */

.hero__inner,
.hero__image-label {
  position: relative;

  z-index: 2;
}

.hero__inner {
  position: relative;

  z-index: 2;

  width: 100%;

  display: grid;

  grid-template-columns: 0.88fr 1.12fr;

  align-items: center;

  gap: 40px;
}

.hero__content {
  /* padding-left: 108px; */
}

.hero__title {
  max-width: 400px;

  font-size: 48px;

  line-height: 0.98;

  font-weight: 700;

  color: #f8f3ec;

  /* letter-spacing: -0.065em; */

  margin-bottom: 15px;
}

.hero__text {
  max-width: 271px;

  font-size: 16px;

  font-weight: 500;

  line-height: 1.45;

  color: #c8c0d2;

  margin-bottom: 49px;
}

.hero__image-label {
  position: absolute;

  top: 84px;

  right: 48px;

  z-index: 3;

  color: rgba(255, 255, 255, 0.55);

  font-size: 17px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.02em;
}

/* FEATURES */

.features {
  position: relative;

  z-index: 5;

  margin-top: -44px;

  padding: 40px 0 80px;

  background: linear-gradient(180deg, rgba(5, 8, 22, 0) 0%, #050816 10%, #050816 100%);

  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.features__grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 22px;
}

.feature {
  display: flex;

  align-items: center;

  gap: 16px;

  min-height: 74px;

  color: rgba(255, 255, 255, 0.72);
}

.feature__icon {
  width: 42px;

  height: 42px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color: #d59bff;

  filter: drop-shadow(0 0 18px rgba(166, 74, 236, 0.55));

  animation: iconFloat 3s ease-in-out infinite;
}

.feature:nth-child(2) .feature__icon {
  animation-delay: 0.2s;
}

.feature:nth-child(3) .feature__icon {
  animation-delay: 0.4s;
}

.feature:nth-child(4) .feature__icon {
  animation-delay: 0.6s;
}

.feature__icon svg {
  width: 32px;

  height: 32px;
}

.feature__text {
  max-width: 230px;

  font-size: 13px;

  line-height: 1.4;

  font-weight: 700;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.04);
  }
}

/* SECTIONS */

.section {
  padding: 50px 0;

  border-bottom: 2px solid rgba(255, 255, 255, 0.08);

  background: #080d1d85 !important;
}

.section__top {
  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 24px;

  margin-bottom: 25px;
}

.section__label {
  display: block;

  margin-bottom: 15px;

  color: #d9a4ff;

  font-size: 14px;

  line-height: 1;

  text-transform: uppercase;

  font-weight: 700;

  letter-spacing: 0.04em;
}

.section__title {
  font-size: 32px;

  line-height: 1.08;

  font-weight: 700;

  color: #f8f3ec;

  max-width: 466px;

  margin-bottom: 8px;
}
body.postid-29 .section__title {
  max-width: unset;
}
.section__text {
  color: #c8c0d2;

  font-size: 16px;

  line-height: 1.45;

  font-weight: 500;
}

/* ABOUT */

.section__about {
  background: #080d1dc9 !important;
}

.about__grid {
  display: grid;

  grid-template-columns: 0.92fr 1.08fr;

  gap: 70px;

  align-items: flex-start;
}

.about__text {
  max-width: 620px;

  color: #c8c0d2;

  font-size: 16px;

  line-height: 1.65;

  font-weight: 500;

  margin-bottom: 50px;
}

.about__media {
  min-height: 440px;

  border-radius: 7px;

  position: relative;

  overflow: hidden;

  background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%)), url("") center / cover;

  background-size: contain;

  background-repeat: no-repeat;

  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

/* .about__media::before {

  content: "";

  position: absolute;

  top: 25px;

  left: 28px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 12px;

  font-weight: 900;

  letter-spacing: 0.04em;

} */

/* CARDS */

.section__courses {
  background: #050816 !important;
}
.section__courses .breadcrumbs {
  display: none !important;
}
.cards-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 24px;
}

.card {
  overflow: hidden;

  border-radius: 6px;

  background: #141827;

  min-height: 292px;

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

.card:hover {
  transform: translateY(-8px);

  background: #181d30;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.card__image {
  height: 142px !important;

  position: relative;

  overflow: hidden;

  border-radius: 7px;

  /* background: linear-gradient(115deg, #10275a 0%, #16448e 100%); */
}

.card__image img {
  width: 100%;

  height: 145px !important;

  object-fit: cover;

  display: block;
}

/* Оверлей поверх фото */

.card__image::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  border-radius: inherit;

  pointer-events: none;

  /* background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%)); */
}

.card__image img {
  width: 100%;

  /* height: 100%; */

  object-fit: cover;
}

.card__body {
  padding: 15px 20px 26px 20px;
}

.card__title {
  font-size: 20px;

  color: #f8f3ec;

  font-weight: 700;

  margin-bottom: 8px;
}

.card__text {
  color: #c8c0d2;

  font-size: 14px;

  line-height: 1.48;
}

/* NEWS */

.news-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 56px;
}

.news-card {
  min-height: 280px;

  border-radius: 6px;

  overflow: hidden;

  background: #151928;

  display: flex;

  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card__image {
  height: 145px;

  flex-shrink: 0;

  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

.news-card__body {
  padding: 15px 20px 18px;

  flex: 1;

  display: flex;

  flex-direction: column;
}

.news-card__date {
  display: block;

  color: rgba(255, 255, 255, 0.45);

  font-size: 12px;

  font-weight: 700;

  margin-bottom: 8px;
}

.news-card__title {
  font-size: 16px;

  line-height: 1.28;

  font-weight: 500;

  margin-bottom: 20px;
}

/* Кнопка завжди внизу */

.read-link {
  margin-top: auto;

  display: inline-flex;

  align-items: center;

  justify-content: flex-end;

  align-self: flex-end;

  gap: 14px;

  color: #d9a4ff;

  font-size: 14px;

  font-weight: 700;

  text-transform: uppercase;

  text-decoration: underline;

  transition: color 0.25s ease;
}

.read-link:hover {
  color: #d9a4ff;
}

.read-link span {
  transition: transform 0.25s ease;
}

.read-link:hover span {
  transform: translateX(5px);
}

.read-link:hover span {
  transform: translateX(5px);
}

/* VIDEO */

.video-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 28px;

  margin-bottom: 50px;
}

.video-card {
  height: 180px;

  border-radius: 6px;

  position: relative;

  overflow: hidden;

  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;
}

.video-card::before {
  content: "ВІДЕО";
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%));
  border-radius: 30px;
  padding: 6px;
}

.video-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.video-card__play {
  position: absolute;

  left: 50%;

  top: 50%;

  width: 52px;

  height: 52px;

  border-radius: 50%;

  transform: translate(-50%, -50%);

  border: 2px solid rgba(255, 255, 255, 0.78);

  background: rgba(5, 9, 20, 0.38);

  display: grid;

  place-items: center;

  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.video-card__play::before {
  content: "";

  margin-left: 4px;

  width: 0;

  height: 0;

  border-top: 9px solid transparent;

  border-bottom: 9px solid transparent;

  border-left: 14px solid #ffffff;
}

.video-card:hover .video-card__play {
  background: #9237df;

  border-color: #9237df;

  transform: translate(-50%, -50%) scale(1.1);
}

/* CTA */

.cta {
  padding: 0 0 60px;
}

.cta__box {
  border-radius: 6px;

  padding: 48px;

  background: linear-gradient(135deg, #5b278e 0%, #8f3fc1 100%);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  /* box-shadow: 0 22px 70px rgba(154, 57, 226, 0.32); */
}

.cta__title {
  font-size: 28px;

  font-weight: 700;

  margin-bottom: 8px;
}

.cta__text {
  color: rgba(255, 255, 255, 0.74);

  font-size: 14px;

  font-weight: 600;
}

.btn__cta {
  background: #5b278e;

  padding: 16px 35px;

  color: #ffffff;

  box-shadow: none;

  font-size: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  font-weight: 700;

  transition: all 0.3s ease;

  text-transform: uppercase;

  border-radius: 7px;
}

.btn__cta:hover {
  background: rgba(9, 11, 23, 0.34);

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.btn__cta:hover .btn__arrow {
  transform: translateX(4px);
}

/* PARTNERS */

.partners {
  padding: 40px 0 54px;
}

.partners__title {
  color: #cd83ff;

  font-size: 13px;

  text-transform: uppercase;

  font-weight: 900;

  margin-bottom: 28px;
}

.partners__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.partner {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 18px;

  padding: 28px 24px;

  border-radius: 6px;

  background: #141827;

  text-align: center;

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

.partner:hover {
  transform: translateY(-8px);

  background: #181d30;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.partner__logo {
  display: grid;

  place-items: center;

  height: 80px;
}

.partner__logo img {
  max-height: 80px;

  max-width: 160px;

  width: auto;

  height: auto;

  object-fit: contain;
}

.partner__description {
  color: rgba(255, 255, 255, 0.66);

  font-size: 14px;

  line-height: 1.55;

  font-weight: 400;

  text-align: justify;

  display: -webkit-box;

  -webkit-line-clamp: 5;

  -webkit-box-orient: vertical;

  overflow: hidden;
}

.partner--expanded .partner__description {
  display: block;

  -webkit-line-clamp: unset;

  overflow: visible;
}

.partner__more {
  align-self: center;

  padding: 0;

  border: none;

  background: none;

  color: #cd83ff;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.06em;

  cursor: pointer;

  transition: color 0.25s ease;
}

.partner__more:hover {
  color: #ffffff;
}

.partner__more[hidden] {
  display: none;
}

.partner__description p {
  margin: 0 0 10px;
}

.partner__description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FOOTER */

.footer {
  padding: 54px 0 19px;

  background: #060914;

  color: #ffffff;
}

.footer__grid {
  display: grid;

  grid-template-columns: 1fr 1fr 1.45fr;

  gap: 52px;

  align-items: start;

  padding-bottom: 42px;
}

.footer__col {
  min-height: 233px;
}

.footer__contacts,
.footer__location {
  position: relative;

  padding-left: 52px;
}

.footer__contacts::before,
.footer__location::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 2px;

  height: 100%;

  background: rgba(255, 255, 255, 0.09);
}

.footer-logo {
  display: inline-flex;

  align-items: center;

  max-width: 220px;

  margin-bottom: 16px;
}

.footer-logo img {
  width: 220px;

  height: auto;

  display: block;
}

.footer__text {
  max-width: 335px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;

  line-height: 1.45;

  font-weight: 500;

  margin-bottom: 50px;
}

.socials {
  display: flex;

  align-items: center;

  gap: 18px;
}

.socials a {
  width: 38px;

  height: 38px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #d89bff;

  background: rgba(148, 55, 217, 0.32);

  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.socials a:hover {
  transform: translateY(-4px);

  color: #ffffff;

  background: #9236d9;

  box-shadow: 0 14px 35px rgba(146, 54, 217, 0.35);
}

.socials svg {
  width: 19px;

  height: 19px;

  fill: currentColor;
}

.footer__heading {
  margin-bottom: 25px;

  font-size: 16px;

  line-height: 1.2;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.01em;

  color: #ffffff;
}

.contacts {
  display: grid;

  gap: 19px;
}

.contacts__item {
  display: grid;

  grid-template-columns: 28px 1fr;

  align-items: center;

  gap: 11px;

  color: #c8c0d2;

  font-size: 14px;

  line-height: 1.45;

  font-weight: 500;

  transition: color 0.25s ease;
}

.contacts__item:hover {
  color: #ffffff;
}

.contacts__item--top:hover {
  color: #c8c0d2;
}

.contacts__item--top {
  align-items: start;
}

.contacts__icon {
  width: 20px;

  height: 20px;

  display: grid;

  place-items: center;

  color: #c783f5;

  flex-shrink: 0;
}

.contacts__icon svg {
  width: 23px;

  height: 23px;

  fill: currentColor;
}

/* MAP */

.footer__map {
  position: relative;

  height: 170px;

  width: 480px;

  border-radius: 7px;

  overflow: hidden;

  background-color: #c7ccd5;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.footer__pin {
  position: absolute;

  left: 45%;

  top: 34px;

  z-index: 3;

  width: 44px;

  height: 44px;

  color: #7b2ec7;

  transform: translateX(-50%);

  filter: drop-shadow(0 8px 14px rgba(123, 46, 199, 0.24));
}

.footer__pin svg {
  width: 100%;

  height: 100%;

  fill: currentColor;
}

/* .footer__map-card {

  position: absolute;

  z-index: 4;

  right: 67px;

  bottom: 31px;

  min-width: 166px;

  padding: 13px 17px;

  border-radius: 7px;

  background: #ffffff;

  color: #111827;

  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);

} */

.footer__map-card strong {
  display: block;

  font-size: 14px;

  line-height: 1.15;

  font-weight: 900;

  margin-bottom: 3px;
}

.footer__map-card span {
  display: block;

  font-size: 11px;

  line-height: 1.2;

  font-weight: 700;

  color: #374151;
}

/* COPY */

.footer__copy {
  padding-top: 19px;

  border-top: 2px solid rgba(255, 255, 255, 0.09);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 13px;

  line-height: 1.4;

  font-weight: 600;
}

.footer__links {
    display: flex;
            align-items: flex-start;
    gap: 4px;
    /* flex-direction: column; */
}
body.page-id-11 .footer__links ul {
  display: flex;
      gap: 14px;
    align-items: center;
}
.dev-copyright {
  display: flex;
     gap: 3px;
    align-items: center
}
.footer__copy p {
  color: #9b90aa;

  transition: color 0.25s ease;

  font-size: 12px;

  font-weight: 500;
}

.footer__links a {
  color: #9b90aa;

  transition: color 0.25s ease;

  font-size: 12px;

  font-weight: 500;
}

.footer__links a:hover {
  color: #d89bff;
}

/* ADAPTIVE */
.btn-mob {
  display: none;
}
@media (max-width: 1180px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;

    gap: 42px;
  }

  .footer__location {
    grid-column: 1 / -1;

    padding-left: 0;

    padding-top: 36px;
  }

  .news-grid {
    gap: 10px !important;
  }

  .footer__location::before {
    top: 0;

    width: 100%;

    height: 1px;
  }

  .footer__map {
    max-width: 620px;
  }
}

@media (max-width: 1040px) {
  .courses-slider .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 42px 0 22px;
  }

  .footer__grid {
    grid-template-columns: 1fr;

    gap: 32px;

    padding-bottom: 32px;
  }

  .footer__col {
    min-height: auto;
  }

  .footer__contacts,
  .footer__location {
    padding-left: 0;

    padding-top: 30px;
  }

  .footer__contacts::before,
  .footer__location::before {
    top: 0;

    width: 100%;

    height: 1px;
  }

  .footer-logo {
    max-width: 190px;
  }

  .footer-logo img {
    width: 190px;
  }

  .footer__text {
    max-width: 100%;

    margin-bottom: 28px;

    font-size: 15px;
  }
.hero {
      background-size: 100% 72%;
}
  .footer__heading {
    margin-bottom: 22px;
  }

  .contacts {
    gap: 16px;
  }

  .footer__map {
    height: 170px;

    width: 100%;

    max-width: 100%;
  }

  .footer__map-card {
    right: 18px;

    bottom: 26px;
  }

  .footer__pin {
    left: 42%;

    top: 34px;
  }

  .footer__copy {
    align-items: flex-start;

    flex-direction: column;

    gap: 16px;
  }

  .footer__links {
    width: 100%;

    justify-content: space-between;

    gap: 4px;

    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 36px;
  }

  .socials a {
    width: 36px;

    height: 36px;
  }

  .contacts__item {
    grid-template-columns: 25px 1fr;

    gap: 13px;

    font-size: 14px;
  }

  .contacts__icon {
    width: 25px;

    height: 25px;
  }

  .contacts__icon svg {
    width: 21px;

    height: 21px;
  }

  .footer__map {
    height: 160px;
  }

  .footer__pin {
    left: 50%;

    top: 28px;

    width: 40px;

    height: 40px;
  }

  .footer__map-card {
    left: 50%;

    right: auto;

    bottom: 22px;

    transform: translateX(-50%);

    min-width: 180px;

    text-align: left;
  }

  .footer__links {
    flex-direction: column;

    align-items: flex-start;
  }
}
@media (max-width: 350px) { 
  .hero {
    background-size: cover !important;
  }
}
/* ANIMATIONS */

.reveal {
  opacity: 0;

  transform: translateY(42px);
  background-size: cover;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.4s;
}

.desktop-only {
  display: inline-flex;
}

.mobile-slider {
  overflow: visible;
}
/* 700px і нижче — без анімацій */
@media (max-width: 700px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4,
  .reveal-delay-5 {
    transition-delay: 0s !important;
  }
}
/* RESPONSIVE */

@media (max-width: 1321px) {
  .nav__list {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .hero__content {
    padding-left: 30px;
  }

  .cards-grid,
  .video-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
  }
}

@media (max-width: 1230px) {
  .nav__list {
    gap: 12px;
  }
}

@media (max-width: 1190px) {
  .nav__list {
    flex-wrap: wrap;

    gap: 20px;
  }
}

@media (max-width: 992px) {
  .header__inner {
    justify-content: space-between;
  }

  .burger {
    display: block;
  }

  .header__btn {
    display: none;
  }

  .nav {
    position: fixed;

    top: 68px;

    left: 0;

    right: 0;

    height: calc(100vh - 68px);

    background: rgba(7, 11, 23, 0.96);

    backdrop-filter: blur(18px);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-14px);

    transition: 0.25s ease;

    justify-content: flex-start;

    padding: 34px 20px;

    overflow-y: auto;
  }

  body.menu-open .nav {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
  }

  .nav__list {
    width: 100%;

    align-items: stretch;

    flex-direction: column;

    gap: 0;
  }

  .nav__list li a {
    display: flex;

    width: 100%;

    padding: 18px 0;

    font-size: 22px;

    color: #ffffff;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__list li a::after {
    display: none;
  }

  .hero {
    min-height: 700px;

    padding-top: 68px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-left: 0;

    max-width: 600px;
  }

  .hero__text {
    margin-bottom: 42px;
  }

  .hero__image-label {
    top: 96px;

    right: 24px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;

    gap: 34px;
  }

  .cta__box {
    align-items: flex-start;

    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .mobile-slider .swiper-wrapper {
    display: grid;
  }

  .courses-slider .swiper-wrapper {
    grid-template-columns: repeat(5, 1fr);

    gap: 24px;
  }

  .mobile-slider .swiper-slide {
    width: auto !important;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .hero {
    min-height: 630px;

    background-position: center right;
  }

  /* .hero::after {

    background: linear-gradient(180deg, rgba(7, 11, 23, 0.35), rgba(7, 11, 23, 0.92)),

      radial-gradient(circle at 76% 20%, rgba(48, 111, 215, 0.3), transparent 34%);

  } */

  .hero__title {
    font-size: 48px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__image-label {
    font-size: 12px;

    right: 18px;
  }

  .features__grid {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .section {
    padding: 35px 0;
  }

  .section__top {
    align-items: stretch;

    flex-direction: column;
  }

  .section__title {
    font-size: 32px;
  }

  .section__text {
    font-size: 15px;
  }

  .courses-slider {
    overflow: visible;
  }

  .courses-slider .swiper-slide {
    height: auto;
  }

  .card {
    min-height: unset;
  }

  .news-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .video-card {
    height: 190px;
  }

  .cta__box {
    padding: 24px 18px;
  }

  .partners__grid {
    grid-template-columns: 1fr;
  }

  .partner {
    padding: 22px 18px;
  }
  .card__image img {
    height: 188px !important;
  }
}

@media (max-width: 680px) {
  .btn {
    width: 100%;
  }
  .about__text {
    margin-bottom: 0 ;
  }
  .hero__content {
    max-width: 100%;
  }
  .about__grid {
    gap: 26px;
  }
  .direction__grid {
    gap: 30px !important;
  }
  .btn-desk {
    display: none;
  }
.btn-mob {
  display: flex;
}
  .features {
    padding: 20px 0;
  }
  body.post-type-archive .cards-grid {
            grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .about__media {
    min-height: 340px;
  }
  .gallery-grid {
            grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .logo {
    font-size: 17px;
  }
  .about__media {
    min-height: 263px;
  }
  .gallery-grid {
            grid-template-columns: repeat(1, 1fr) !important;
  }
  .hero {
    min-height: 530px;
  }
body.post-type-archive .cards-grid {
            grid-template-columns: repeat(1, 1fr) !important;
  }
  .hero__title {
    font-size: 40px;
  }

  .hero__text {
    max-width: 300px;
  }

  .section__title {
    font-size: 29px;
  }
}

/* ===== COURSES MOBILE SLIDER ===== */

.courses-slider__controls {
  display: none;
}

@media (max-width: 768px) {
  .section__courses {
    overflow: hidden;
  }

  .courses-slider {
    position: relative;

    overflow: visible;

    padding: 0 0 64px;
  }

  /* головне — прибираємо grid на мобілці */

  .courses-slider .swiper-wrapper {
    display: flex !important;

    gap: 0 !important;

    align-items: stretch;

    margin-bottom: 22px;
  }

  .courses-slider .swiper-slide {
    height: auto !important;

    display: flex;
  }

  .courses-slider .card {
    width: 100%;

    height: auto;

    /* min-height: 355px; */

    display: flex;

    flex-direction: column;

    border-radius: 8px;

    overflow: hidden;

    background: #151928;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  }

  .courses-slider .card__image {
    height: unset;

    flex-shrink: 0;

    border-radius: 8px 8px 0 0;
  }.card__image {
    height: unset !important;
  }

  .courses-slider .card__body {
    flex: 1;

    padding: 22px 20px 24px;

    display: flex;

    flex-direction: column;
  }

  .courses-slider .card__title {
    /* font-size: 24px;

    line-height: 1.03;

    margin-bottom: 12px; */
  }

  .courses-slider .card__text {
    /* font-size: 16px;

    line-height: 1.45; */
  }

  .courses-slider__controls {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 4px;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
  }

  .courses-slider__btn {
    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: #ffffff;

    background: rgba(146, 54, 217, 0.18);

    border: 1px solid rgba(216, 155, 255, 0.45);

    backdrop-filter: blur(10px);

    /* box-shadow: 0 12px 32px rgba(146, 54, 217, 0.22); */

    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .courses-slider__btn svg {
    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2.4;

    stroke-linecap: round;

    stroke-linejoin: round;
  }

  .courses-slider__btn:hover {
    background: #9236d9;

    border-color: #9236d9;

    transform: translateY(-2px);

    box-shadow: 0 16px 38px rgba(146, 54, 217, 0.38);
  }

  .courses-slider__btn:active {
    transform: scale(0.95);
  }

  .courses-slider__btn.swiper-button-disabled {
    opacity: 0.35;

    pointer-events: none;
  }

  .courses-slider__pagination {
    width: auto !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
  }

  .courses-slider__pagination .swiper-pagination-bullet {
    width: 8px;

    height: 8px;

    margin: 0 !important;

    opacity: 1;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.24);

    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .courses-slider__pagination .swiper-pagination-bullet-active {
    width: 26px;

    background: #d89bff;

    box-shadow: 0 0 18px rgba(216, 155, 255, 0.55);
  }
}

@media (max-width: 560px) {
  .courses-slider {
    padding-bottom: 62px;
  }

  /* .courses-slider .card {

    min-height: 350px;

  } */

  /* .courses-slider .card__image {

    height: 150px;

  } */

  .courses-slider .card__title {
    font-size: 23px;
  }
}

@media (max-width: 420px) {
  .courses-slider .card {
    /* min-height: 340px; */
  }

  .courses-slider .card__image {
    /* height: 145px; */
  }

  .courses-slider .card__body {
    padding: 20px 18px 22px;
  }

  .courses-slider__btn {
    width: 42px;

    height: 42px;
  }
}

/* ===== NEWS DESKTOP ===== */

.news-slider {
  position: relative;
}

.news-slider__controls {
  display: none;
}

.news-grid {
  display: grid !important;

  grid-template-columns: repeat(4, 1fr);

  gap: 56px;

  align-items: stretch;
}

.news-card {
  height: 100% !important;

  min-height: 280px;

  border-radius: 6px;

  overflow: hidden;

  background: #151928;

  display: flex !important;

  flex-direction: column;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* .news-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);

} */

.news-card__image {
  position: relative;

  height: 150px;

  flex-shrink: 0;

  overflow: hidden;

  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

.news-card__image img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;
}

.news-card__image::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  /* background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%)); */
}

.news-card__body {
  padding: 15px 20px 18px;

  display: flex;

  flex: 1 !important;

  flex-direction: column;
}

.news-card__date {
  display: block;

  color: rgba(255, 255, 255, 0.45);

  font-size: 12px;

  font-weight: 700;

  margin-bottom: 8px;
}

.read-link {
  margin-top: auto;

  align-self: flex-end;

  display: inline-flex;

  align-items: center;

  justify-content: flex-end;

  gap: 14px;

  color: #d89fff;

  font-size: 14px;

  font-weight: 900;

  text-transform: uppercase;

  transition: color 0.25s ease;
}

.read-link span {
  display: inline-flex;

  transition: transform 0.25s ease;
}

.read-link:hover span {
  transform: translateX(5px);
}

/* ===== NEWS MOBILE SLIDER ===== */

@media (max-width: 768px) {
  .news-slider {
    overflow: visible;

    padding-bottom: 64px;
  }

  .news-slider .swiper-wrapper {
    display: flex !important;

    gap: 0 !important;

    align-items: stretch;

    margin-bottom: 22px;
  }

  .news-slider .swiper-slide {
    height: auto !important;

    display: flex;
  }

  .news-slider .news-card {
    width: 100%;

    border-radius: 8px;

    background: #151928;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  }

  .news-slider .news-card__image {

    border-radius: 8px 8px 0 0;
  }

  .news-slider .news-card__body {
    padding: 20px 20px 22px;
  }

  .news-slider .news-card__title {
    font-size: 20px;

    line-height: 1.25;
  }

  .news-slider__controls {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 4px;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
  }

  .news-slider__btn {
    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: #ffffff;

    background: rgba(146, 54, 217, 0.18);

    border: 1px solid rgba(216, 155, 255, 0.45);

    backdrop-filter: blur(10px);

    /* box-shadow: 0 12px 32px rgba(146, 54, 217, 0.22); */

    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .news-slider__btn svg {
    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2.4;

    stroke-linecap: round;

    stroke-linejoin: round;
  }

  .news-slider__btn:hover {
    background: #9236d9;

    border-color: #9236d9;

    transform: translateY(-2px);

    box-shadow: 0 16px 38px rgba(146, 54, 217, 0.38);
  }

  .news-slider__btn:active {
    transform: scale(0.95);
  }

  .news-slider__btn.swiper-button-disabled {
    opacity: 0.35;

    pointer-events: none;
  }

  .news-slider__pagination {
    width: auto !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
  }

  .news-slider__pagination .swiper-pagination-bullet {
    width: 8px;

    height: 8px;

    margin: 0 !important;

    opacity: 1;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.24);

    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }.news-card__image {
        height: 210px !important;
  }

  .news-slider__pagination .swiper-pagination-bullet-active {
    width: 26px;

    background: #d89bff;

    box-shadow: 0 0 18px rgba(216, 155, 255, 0.55);
  }
}

@media (max-width: 560px) {
  .news-slider .news-card {
  }

  .news-slider .news-card__image {
  }

  .news-slider .news-card__title {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .news-slider .news-card {
    /* min-height: 335px; */
  }

  .news-slider .news-card__image {
  }

  .news-slider .news-card__body {
    padding: 18px 18px 22px;
  }

  .news-slider__btn {
    width: 42px;

    height: 42px;
  }
}

/* ===== VIDEO DESKTOP ===== */

.video-slider {
  position: relative;
}

.video-slider__controls {
  display: none;
}

.video-grid {
  display: grid !important;

  grid-template-columns: repeat(5, 1fr);

  gap: 28px;
}

.video-card {
  position: relative;

  height: 180px;

  border-radius: 6px;

  overflow: hidden;

  background: linear-gradient(120deg, rgba(17, 42, 96, 0.95), rgba(24, 77, 151, 0.92));

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card::before {
  content: "ВІДЕО";

  position: absolute;

  top: 14px;

  left: 16px;

  z-index: 3;

  color: rgba(255, 255, 255, 0.56);

  font-size: 11px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.video-card::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  pointer-events: none;

  /* background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%)); */
}

.video-card img {
  width: 100%;

  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.45s ease;
}

.video-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.video-card:hover img {
  transform: scale(1.08);
}

.video-card__play {
  position: absolute;

  left: 50%;

  top: 50%;

  z-index: 4;

  width: 52px;

  height: 52px;

  border-radius: 50%;

  transform: translate(-50%, -50%);

  border: 2px solid rgba(255, 255, 255, 0.82);

  background: rgba(5, 9, 20, 0.38);

  backdrop-filter: blur(6px);

  display: grid;

  place-items: center;

  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card__play::before {
  content: "";

  width: 0;

  height: 0;

  margin-left: 4px;

  border-top: 9px solid transparent;

  border-bottom: 9px solid transparent;

  border-left: 14px solid #ffffff;
}

.video-card:hover .video-card__play {
  background: #9236d9;

  border-color: #9236d9;

  transform: translate(-50%, -50%) scale(1.1);

  box-shadow: 0 0 28px rgba(146, 54, 217, 0.55);
}

/* ===== VIDEO MOBILE SLIDER ===== */

@media (max-width: 768px) {
  .video-slider {
    overflow: visible;

    padding-bottom: 64px;
  }

  .video-slider .swiper-wrapper {
    display: flex !important;

    gap: 0 !important;

    align-items: stretch;

    margin-bottom: 22px;
  }

  .video-slider .swiper-slide {
    height: auto !important;
  }

  .video-slider .video-card {
    height: 210px;

    border-radius: 8px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  }

  .video-slider .video-card::before {
    top: 18px;

    left: 18px;
  }

  .video-slider .video-card__play {
    width: 56px;

    height: 56px;
  }

  .video-slider__controls {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 4px;

    z-index: 10;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
  }

  .video-slider__btn {
    width: 44px;

    height: 44px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    color: #ffffff;

    background: rgba(146, 54, 217, 0.18);

    border: 1px solid rgba(216, 155, 255, 0.45);

    backdrop-filter: blur(10px);

    /* box-shadow: 0 12px 32px rgba(146, 54, 217, 0.22); */

    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .video-slider__btn svg {
    width: 22px;

    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 2.4;

    stroke-linecap: round;

    stroke-linejoin: round;
  }

  .video-slider__btn:hover {
    background: #9236d9;

    border-color: #9236d9;

    transform: translateY(-2px);

    box-shadow: 0 16px 38px rgba(146, 54, 217, 0.38);
  }

  .video-slider__btn:active {
    transform: scale(0.95);
  }

  .video-slider__btn.swiper-button-disabled {
    opacity: 0.35;

    pointer-events: none;
  }

  .video-slider__pagination {
    width: auto !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
  }

  .video-slider__pagination .swiper-pagination-bullet {
    width: 8px;

    height: 8px;

    margin: 0 !important;

    opacity: 1;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.24);

    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .video-slider__pagination .swiper-pagination-bullet-active {
    width: 26px;

    background: #d89bff;

    box-shadow: 0 0 18px rgba(216, 155, 255, 0.55);
  }

  .video-slider {
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .video-slider .video-card {
    height: 195px;
  }
}

@media (max-width: 420px) {
  .video-slider .video-card {
    height: 185px;
  }

  .video-slider__btn {
    width: 42px;

    height: 42px;
  }
}

/* ===== ALL MOBILE SLIDERS CENTER 400PX ===== */

@media (max-width: 768px) {
  .courses-slider,
  .news-slider,
  .video-slider {
    width: 100%;

    max-width: 400px;

    margin-left: auto;

    margin-right: auto;

    overflow: hidden;

    padding-bottom: 64px;
  }

  .courses-slider .swiper-wrapper,
  .news-slider .swiper-wrapper,
  .video-slider .swiper-wrapper {
    display: flex !important;

    gap: 0 !important;
    
    align-items: stretch;
  }

  .courses-slider .swiper-slide,
  .news-slider .swiper-slide,
  .video-slider .swiper-slide {
    width: 100% !important;

    max-width: 400px !important;

    height: auto !important;
  }

  .courses-slider .card,
  .news-slider .news-card,
  .video-slider .video-card {
    width: 100%;

    max-width: 400px;

    margin: 0 auto;
  }

  .video-slider .video-card {
    height: 210px;
  }

  .courses-slider__controls,
  .news-slider__controls,
  .video-slider__controls {
    left: 0;

    right: 0;

    justify-content: center;
  }
}

@media (max-width: 430px) {
  .courses-slider,
  .news-slider,
  .video-slider {
    max-width: calc(100vw - 28px);
  }

  .courses-slider .swiper-slide,
  .news-slider .swiper-slide,
  .video-slider .swiper-slide {
    max-width: calc(100vw - 28px) !important;
  }

  .video-slider .video-card {
    height: 190px;
  }
}
@media (max-width: 768px) {
  .courses-slider,
  .news-slider,
  .video-slider {
    width: 100%;

    max-width: 100%;

    margin-left: auto;

    margin-right: auto;

    overflow: hidden;

    padding-bottom: 64px;
  }

  .courses-slider .swiper-wrapper,
  .news-slider .swiper-wrapper,
  .video-slider .swiper-wrapper,
  .swiper-wrapper {
    display: flex !important;
    /* justify-content: center; */
    gap: 0 !important;
  }

  .courses-slider .swiper-slide,
  .news-slider .swiper-slide,
  .video-slider .swiper-slide,
  .swiper-slide {
    height: auto !important;
  }
}

@media (max-width: 649px) {
  .courses-slider,
  .news-slider,
  .video-slider {
    max-width: 400px;
  }
} /* ===== THEME ADDITIONS ===== */

/* ===== THEME ADDITIONS ===== */

/* Hero label */
.hero__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(146, 54, 217, 0.22);
  border: 1px solid rgba(216, 155, 255, 0.35);
  color: #d89bff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: none !important;
}

/* Page content base */
.page-section,
.single-post,
.single-direction,
.single-actor,
.single-scenario,
.archive-section,
.gallery-section {
  padding-top: 110px;
  padding-bottom: 1px;
}
.single-post {
  padding-top: 55px;
  padding-bottom: 50px;
}
.single-actor {
  
  padding-bottom: 50px;
}
.single-direction {
  padding-bottom: 50px;
}
.page__content {
  color: #c8c0d2;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.page__content p {
  margin-bottom: 18px;
}

.page__content h2,
.page__content h3 {
  color: #f8f3ec;
  font-weight: 700;
  margin: 28px 0 16px;
}

.page__content h2 {
  font-size: 26px;
}

.page__content h3 {
  font-size: 20px;
}

.page__content ul,
.page__content ol {
  margin: 0 0 18px 22px;
  color: #c8c0d2;
}

.page__content ul {
  list-style: disc;
}

.page__content ol {
  list-style: decimal;
}

.page__content li {
  margin-bottom: 8px;
}

.page__image {
  margin: 30px 0;
  border-radius: 7px;
  overflow: hidden;
  max-height: 520px;
  max-width: 520px;
}

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

/* Pagination */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8c0d2;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #9236d9;
  border-color: #9236d9;
  color: #ffffff;
}

/* Single post back link */
.single-post__back {
  margin-top: 50px;
}

/* Direction single */
.direction__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.direction__image {
  border-radius: 7px;
  overflow: hidden;
  /* min-height: 440px; */
  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

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

/* Direction gallery */

.direction-gallery {
  display: grid;

  gap: 14px;
}

.direction-gallery__item {
  position: relative;

  border-radius: 7px;

  overflow: hidden;

  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

.direction-gallery__item img,
.direction-gallery__item video {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.35s ease;
}

.direction-gallery__item:hover img,
.direction-gallery__item:hover video {
  transform: scale(1.04);
}

.direction-gallery__item--video:hover .video-card__play {
  background: #9237df;

  border-color: #9237df;

  transform: translate(-50%, -50%) scale(1.1);
}

/* 1 фото — большое */

.direction-gallery--1 {
  grid-template-columns: 1fr;
}

.direction-gallery--1 .direction-gallery__item {
  height: 480px;
}

/* 2 фото — в ряд, чуть меньше */

.direction-gallery--2 {
  grid-template-columns: 1fr 1fr;
}

.direction-gallery--2 .direction-gallery__item {
  height: 300px;
}

/* 3 фото — первое сверху на всю ширину, два снизу */

.direction-gallery--3 {
  grid-template-columns: 1fr 1fr;
}

.direction-gallery--3 .direction-gallery__item:nth-child(1) {
  grid-column: 1 / -1;

  height: 300px;
}

.direction-gallery--3 .direction-gallery__item:nth-child(n + 2) {
  height: 220px;
}

/* 4 фото — сетка 2×2 */

.direction-gallery--4 {
  grid-template-columns: 1fr 1fr;
}

.direction-gallery--4 .direction-gallery__item {
  height: 220px;
}

/* 5 фото — два сверху, три снизу */

.direction-gallery--5 {
  grid-template-columns: repeat(6, 1fr);
}

.direction-gallery--5 .direction-gallery__item {
  height: 200px;
}

.direction-gallery--5 .direction-gallery__item:nth-child(-n + 2) {
  grid-column: span 3;
}

.direction-gallery--5 .direction-gallery__item:nth-child(n + 3) {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .direction-gallery,
  .direction-gallery--1,
  .direction-gallery--2,
  .direction-gallery--3,
  .direction-gallery--4,
  .direction-gallery--5 {
    grid-template-columns: 1fr;
  }

  .direction-gallery .direction-gallery__item,
  .direction-gallery--3 .direction-gallery__item:nth-child(1),
  .direction-gallery--5 .direction-gallery__item:nth-child(-n + 2),
  .direction-gallery--5 .direction-gallery__item:nth-child(n + 3) {
    grid-column: auto;

    height: 240px;
  }
}

/* Actors grid */
.actors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.actor-card {
  border-radius: 6px;
  overflow: hidden;
  background: #151928;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.actor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.actor-card__image {
  display: block;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

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

.actor-card__body {
  padding: 18px 20px 22px;
}

.actor-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.actor-card__name a {
  color: #f8f3ec;
}

.actor-card__position {
  color: #d89bff;
  font-size: 13px;
  font-weight: 600;
}

/* Single actor */
.actor__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.actor__image {
  border-radius: 7px;
  overflow: hidden;
  min-height: 520px;
  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

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

.actor__position {
  color: #d89bff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.actor__dob {
  color: #c8c0d2;
  font-size: 15px;
  margin-bottom: 24px;
}

.actor__form {
  margin-top: 40px;
  padding: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
}

.actor__form-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8f3ec;
  margin-bottom: 20px;
}

/* Scenarios */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.scenario-card {
  border-radius: 6px;
  overflow: hidden;
  background: #151928;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scenario-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.scenario-card__image {
  display: block;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

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

.scenario-card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scenario-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.scenario-card__title a {
  color: #f8f3ec;
}

.scenario-card__author {
  color: #c8c0d2;
  font-size: 13px;
  margin-bottom: 16px;
}

.scenario__author {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 40px 0;
  padding: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scenario__author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(115deg, #10275a 0%, #16448e 100%);
}

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

.scenario__author-name {
  font-size: 22px;
  font-weight: 700;
  color: #f8f3ec;
}

/* Scenario page options block */

.scenario-block {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 0 30px;
  padding: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scenario-block__image {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 7px;
  overflow: hidden;
}

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

.scenario-block__content {
  flex: 1;
  min-width: 0;
}

.scenario-block__title {
  font-size: 26px;
  font-weight: 700;
  color: #f8f3ec;
  margin: 0 0 16px;
}

.scenario-block__text :last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .scenario-block {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 22px;
  }

  .scenario-block__image {
    flex: none;
    max-width: 100%;
  }
}

.scenario-form-wrapper {
  max-width: 720px;
  margin: 30px auto 0;
}

/* Gallery page */
.gallery__block {
  margin-bottom: 60px;
}

.gallery__title {
  font-size: 24px;
  font-weight: 700;
  color: #f8f3ec;
  margin-bottom: 24px;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 22, 0.86);
  backdrop-filter: blur(6px);
}

/* .modal__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 42px 36px 36px;
  border-radius: 10px;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  transition: transform 0.3s ease;
} */
.modal__content {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 480px;

  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overflow-x: hidden;

  padding: 42px 32px 36px 36px;

  border-radius: 10px;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);

  transform: translateY(20px);
  transition: transform 0.3s ease;

  scrollbar-width: thin;
  scrollbar-color: #5b278e rgba(255, 255, 255, 0.06);
  scrollbar-gutter: stable;
}

/* Chrome / Edge / Safari */
.modal__content::-webkit-scrollbar {
  width: 7px;
}

.modal__content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  margin: 12px 0;
}

.modal__content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7b32bf 0%, #5b278e 100%);
  border-radius: 20px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8f3ede 0%, #6b2fa5 100%);
}
.modal.is-open .modal__content {
  transform: translateY(0);
}

.modal__content--center {
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #c8c0d2;
  transition: background 0.25s ease, color 0.25s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.modal__title {
  font-size: 24px;
  font-weight: 700;
  color: #f8f3ec;
  margin-bottom: 12px;
}

.modal__text {
  color: #c8c0d2;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal__icon {
  margin-bottom: 20px;
}

/* Contact Form 7 in modals and pages */
.wpcf7-form {
  display: grid;
  gap: 16px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: flex;
  color: #c8c0d2;
  flex-direction: column;
  font-size: 13px;
  gap: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="file"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.age-field__hint {
  display: block;
  margin-top: 8px;
  color: #ff7a7a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.age-field__hint[hidden] {
  display: none;
}

.wpcf7-form input[type="file"] {
  padding: 10px;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: #9236d9;
  background: rgba(255, 255, 255, 0.08);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  padding: 16px 35px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9236d9 0%, #6d19c4 30%, #500899 55%, #a13ee7 80%, #9236d9 100%);
  background-size: 260% 260%;
  box-shadow: 0 12px 32px rgba(146, 54, 217, 0.32);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: btnGradientMove 4s ease-in-out infinite;
}

.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(146, 54, 217, 0.48);
}

.wpcf7-not-valid-tip {
  color: #ff7b7b;
  font-size: 12px;
  margin-top: 6px;
}

.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 6px;
  font-size: 14px;
  color: #ffffff;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.4) !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
  background: rgba(255, 123, 123, 0.15);
  border-color: rgba(255, 123, 123, 0.4) !important;
}

/* Footer map iframe */
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.dev-copyright {
  color: #9b90aa;
  font-size: 12px;
  font-weight: 500;
}

.dev-copyright a {
  color: #9b90aa;
  transition: color 0.25s ease;
  display: flex;
  align-items: flex-end;
}

.dev-copyright a:hover {
  color: #d89bff;
}
.dev-copyright a img {
  width: 12px;
}
/* Card title links */
.card__title a,
.news-card__title a {
  color: #f8f3ec;
}

.card__title a:hover,
.news-card__title a:hover {
  color: #d89bff;
}

/* Responsive additions */
@media (max-width: 1100px) {
  .actors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .direction__grid,
  .actor__grid {
    grid-template-columns: 1fr;
  }

  .direction__image,
  .actor__image {
    /* min-height: 340px; */
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .actors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .actor-card__image {
    height: 240px;
  }

  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .scenario__author {
    flex-direction: column;
    text-align: center;
  }

  .actor__form {
    padding: 24px 20px;
  }

  .modal__content {
    padding: 36px 24px 28px;
  }

  .wpcf7-form .wpcf7-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .actors-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .modal__close {
    top: 1px;
    right: 1px;
  }
}

.blog-section {
  padding-top: 110px;
  padding-bottom: 1px;
}
.gallery-section {
  padding-bottom: 1px;
}

body.post-type-archive .cta__box {
  background: linear-gradient(90deg, rgb(14 32 63 / 72%), rgb(84 38 154 / 67%)), url(main.css) center / cover;
}

.swiper-backface-hidden .swiper-slide {
      margin-left: unset !important;
}




.single-direction .direction-teachers {
	margin-top: clamp(36px, 5vw, 64px);
	padding-top: clamp(28px, 4vw, 44px);
	border-top: 1px solid rgba(127, 127, 127, 0.18);
}

.single-direction .page__content .direction-teachers__title {
	margin: 0 0 clamp(20px, 3vw, 32px);
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.1;
	font-weight: 700;
}

.single-direction .direction-teachers__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(18px, 2.6vw, 30px);
}

.single-direction .direction-teachers__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border-radius: 24px;
	background: rgba(127, 127, 127, 0.07);
	border: 1px solid rgba(127, 127, 127, 0.16);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.single-direction .direction-teachers__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: rgba(127, 127, 127, 0.12);
}

.single-direction .page__content .direction-teachers__photo,
.single-direction .direction-teachers__photo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.45s ease;
}

.single-direction .direction-teachers__item:hover .direction-teachers__photo {
	transform: scale(1.04);
}

.single-direction .page__content .direction-teachers__name {
	margin: 20px 20px 8px;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.15;
	font-weight: 700;
}

.single-direction .direction-teachers__position {
	margin: 0 20px 22px;
	font-size: 16px;
	line-height: 1.55;
	opacity: 0.78;
}

.single-direction .direction-teachers__position p {
	margin: 0;
}

.single-direction .direction-teachers__position p + p {
	margin-top: 8px;
}

/* Better adaptive colors if browser supports it */
@supports (background: color-mix(in srgb, currentColor 10%, transparent)) {
	.single-direction .direction-teachers {
		border-top-color: color-mix(in srgb, currentColor 14%, transparent);
	}

	.single-direction .direction-teachers__item {
		background: color-mix(in srgb, currentColor 5%, transparent);
		border-color: color-mix(in srgb, currentColor 12%, transparent);
	}

	.single-direction .direction-teachers__image {
		background: color-mix(in srgb, currentColor 8%, transparent);
	}
}

@media (max-width: 767px) {
	.single-direction .direction-teachers__grid {
		grid-template-columns: 1fr;
	}

	.single-direction .direction-teachers__item {
		border-radius: 20px;
	}

	.single-direction .page__content .direction-teachers__name {
		margin: 18px 18px 8px;
	}

	.single-direction .direction-teachers__position {
		margin: 0 18px 20px;
	}
}

@media (max-width: 480px) {
	.single-direction .direction-teachers {
		margin-top: 32px;
		padding-top: 28px;
	}

	.single-direction .direction-teachers__image {
		aspect-ratio: 3 / 4;
	}

	.single-direction .direction-teachers__item {
		border-radius: 18px;
	}
}

.video-card::before {
	content: none !important;
	display: none !important;

}

.video-card__label {
	position: absolute;
	top: 14px;
	left: 16px;
	z-index: 3;
	color: rgba(255, 255, 255, 0.56);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	pointer-events: none;
	    background: linear-gradient(90deg, rgb(8 25 54 / 72%), rgb(6 61 151 / 71%));
    border-radius: 30px;
    padding: 6px;
}

.actor__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 40px;
}

.actor__gallery-item {
	display: block;
	overflow: hidden;
	border-radius: 12px;
}

.actor__gallery-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;object-position: top center;
}

.actor__gallery-item:hover .actor__gallery-img {
	transform: scale(1.05);
}

@media (max-width: 768px) {
	.actor__gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.actor__gallery-img {
		height: 180px;
	}
}

@media (max-width: 480px) {
	.actor__gallery {
		grid-template-columns: 1fr;
	}

	.actor__gallery-img {
		height: 220px;
	}
}