@import url("./fonts_2.css");


:root {
  --colorBg: #fff;
  --sectionBg: #f4f4f4;
  --colorTxt: #000451;
  --colorFt: #f8f5f0;
  --wrapperWidth: 1920px;
  --wrapperMdWidth: 1732px;
  --padding: 66px;
  --mobilePadding: 17px;
  --filterBlue: brightness(0) saturate(100%) invert(14%) sepia(56%) saturate(6102%) hue-rotate(214deg) brightness(47%) contrast(134%);
}

@media screen and (max-width: 620px) {
  :root {
    --padding: var(--mobilePadding);
  }
}

.upercase,
.uppercase {
  text-transform: uppercase;
}

body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
blockquote,
figure {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

body {
  position: relative;
  font-weight: 400;
  max-width: 2500px;
  margin: 0 auto;
  font-family: "CFAsty";
  color: var(--colorTxt);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

ul.flex>li:last-of-type {
  margin-right: 0 !important;
}

ul.flex.col>li:last-of-type {
  margin-bottom: 0 !important;
}

ul.flex.border>li:last-of-type {
  border-right: 0 !important;
}

ul.flex.col.border>li:last-of-type {
  border-bottom: 0 !important;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background-color: transparent;
}

address {
  font-style: normal;
}

html {
  scroll-behavior: smooth;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

[style*="--aspect-ratio"]> :first-child {
  width: 100%;
}

[style*="--aspect-ratio"]>img {
  height: auto;
}

@supports (--custom: property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }

  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }

  [style*="--aspect-ratio"]> :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

/*  containers */

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.flex.col {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.flex.centered {
  justify-content: center;
  align-items: center;
}

/*  general */

/*  κλείδωμα του scroll στο background
    σε περίπτωση που έχουμε ένα στοιχείο
    που καλύπτει όλη την οθόνη */
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

/*  κεντράρισμα εικόνας*/
.img-center {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

/*  κρύψιμο οριζόντιας μπάρας κύλισης*/
.scrollbar-hide {
  overflow-x: scroll;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.pntr {
  cursor: pointer;
}

/* bg img */

.bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* wrappers */

.wrapper {
  max-width: var(--wrapperWidth);
  padding-inline: var(--padding);
  margin-inline: auto;
}

.wrapper.md {
  max-width: var(--wrapperMdWidth);
}

.wrapper.pr-0 {
  padding-right: 0;
}

@media screen and (max-width: 1500px) {
  .wrapper {
    --padding: 3rem;
  }
}

@media screen and (max-width: 1200px) {
  .wrapper {
    --padding: 2rem;
  }

  .wrapper.tab-pr-0 {
    padding-right: 0;
  }
}

@media screen and (max-width: 840px) {
  .wrapper.mbr-0 {
    padding-right: 0;
  }
}

@media screen and (max-width: 620px) {
  .wrapper {
    --padding: var(--mobilePadding);
  }

  .wrapper.mob-0 {
    padding-inline: 0;
  }
}

/* grid */

.grid {
  --gridGap: 1.5rem;
  --columnWidth: calc(((100% - (var(--columns) - 1) * (var(--gridGap))) / var(--columns)));
  display: grid;
  grid-template-columns: repeat(var(--columns), var(--columnWidth));
  grid-gap: var(--gridGap);
}

.grid .block {
  height: 100px;
  background-color: #000;
}

@media screen and (max-width: 1020px) {
  .grid {
    --columns: 3 !important;
  }

  .grid.tab-4 {
    --columns: 4 !important;
  }

  .grid.tab-2 {
    --columns: 2 !important;
  }
}

@media screen and (max-width: 520px) {

  .grid,
  .grid.mob-1 {
    --columns: 1 !important;
  }

  .grid.mob-2 {
    --columns: 2 !important;
  }
}

/* cards */

/* card general */

.card.row {
  display: flex;
}

.card.row>div {
  width: 50%;
}

.card.row.img-sm>div {
  flex-grow: 1;
}

.card.cover {
  display: grid;
}

.card.cover>div {
  grid-column: 1/-1;
  grid-row: 1/-1;
}

/* card-image */

.card--image {
  /* margin-bottom: 25px; */
  aspect-ratio: 1.63;
}

.article-card .card--image {
  /* max-width: 275px; */
}

.card.row .card-image {
  margin-bottom: 0;
  height: fit-content;
}

.card.row.img-r .card-image {
  order: 2;
}

.card.row.img-sm .card-image {
  width: 120px;
  flex-grow: 0;
}

.card.cover .card-image {
  z-index: -1;
  margin-bottom: 0;
}

/* card info general */
.card-info {
  display: flex;
  flex-direction: column;
}

.card-info>*:last-child {
  margin-bottom: 0 !important;
}

.card.row .card-info {
  padding-left: 1rem;
}

.card.row.img-r .card-info {
  padding-inline: 0 1rem;
}

.card.cover .card-info {
  display: flex;
}

.card.cover.center .card-info {
  align-items: center;
  justify-content: center;
}

.card.cover.bottom .card-info {
  justify-content: flex-end;
}

/* card info category */

.card .category {
  order: -1;
  margin-bottom: 0.5rem;
}

/* card info title */

.card--title {
  font-size: 20px;
  line-height: 25px;
  padding-block: 25px 12px;
  font-family: "CFAstyBold";
}

/* card info lead */

.card--lead {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 21px;
}

/* card more */

.card--more {
  font-size: 16px;
  line-height: 21px;
  font-family: "CFAstyBold";
}

/* card date */

.card--date {
  font-size: 15px;
  line-height: 100%;
  padding-bottom: 17px;
}

/* section headers */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  border-bottom: 1px solid #fff;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 70px;
  line-height: 82px;
}

.section-header.multi-line {
  flex-wrap: wrap;
  border-bottom: none;
  justify-content: space-between;
  align-items: center;
}

.section-header.multi-line>div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header.multi-line>.top-row {
  margin-bottom: 0.5rem;
}

.section-header.multi-line>.top-row.border {
  border-bottom: 1px solid #fff;
}

/*  socials */

.social ul {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.social li {
  width: 30px;
  height: 30px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  background-size: 50%;
  filter: invert(1);
}

.social.border li {
  border: 1px solid #000;
}

.social.border.rnd li {
  border-radius: 50%;
}

.social.white li {
  filter: invert(1);
}

.social.round li {
  background-color: #fffbae;
  border-radius: 50%;
}

.social ul li:last-of-type {
  margin-right: 0;
}

.social ul li.pin {
  background-image: url(../assets/images/icons/pin.svg);
}

.social ul li.fb {
  background-image: url(../assets/images/icons/fb.svg);
  background-size: 25%;
}

.social ul li.tw {
  background-image: url(../assets/images/icons/tw.svg);
  /* background-size:5px 10px; */
}

.social ul li.yt {
  background-image: url(../assets/images/icons/yt.svg);
}

.social ul li.ml {
  background-image: url(../assets/images/icons/ml.svg);
}

.social ul li.ig {
  background-image: url(../assets/images/icons/ig.svg);
}

.social ul li.ln {
  background-image: url(../assets/images/icons/ln.svg);
}

.social ul li.tt {
  background-image: url(../assets/images/icons/tt.svg);
}

.social ul li.sf {
  background-image: url(../assets/images/icons/sf.svg);
}

.social ul li.ap {
  background-image: url(../assets/images/icons/ap.svg);
}

.social ul li.rss {
  background-image: url(../assets/images/icons/rss.svg);
  /* background-size:20px 20px; */
}

.social ul li.wup {
  background-image: url(../assets/images/icons/wup.svg);
  background-size: contain;
  background-color: transparent;
  border-radius: 0;
}

.social ul li.lg {
  width: 2.25rem;
  height: 1.85rem;
  margin-right: 3rem;
}

.social ul li>a {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.social.md ul li {
  width: 36px;
  height: 36px;
  margin-right: 32px;
}

.social.md ul li.fb {
  background-image: url(../images/icons/fb.svg);
  background-size: 10px 20px;
}

.social.md ul li.tw {
  background-image: url(../images/icons/tw.svg);
  background-size: 19px 15px;
}

.darkmode .social ul li {
  filter: invert(1);
}

/* search */
.search-header-wrapper {
  position: relative;
}

.search-icon {
  width: 1rem;
  height: 1rem;
  background-image: url(../assets/images/icons/search.svg);
  background-size: 50%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

.search-icon.white {
  filter: invert(1);
}

.search-inner-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  overflow: hidden;
  width: 0;
  position: absolute;
  background-color: #000;
  transition: width 0.3s;
}

.search-form {
  width: 200px;
  display: flex;
  align-items: center;
}

.search-inner-wrapper.on {
  width: 200px;
}

.search-form input {
  background: transparent;
  color: #fff;
  /* border-bottom: 1px solid #fff; */
}

.search-close.btn-container {
  width: 25px;
  height: 25px;
}

.search-close .line {
  transform-origin: center;
  top: 50% !important;
}

.search-close .line:first-of-type {
  transform: rotate(-45deg);
}

.search-close .line:last-of-type {
  transform: rotate(45deg);
}

/* main header and menus */

.fixed-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding-block: 1rem;
  background-color: var(--colorBg);
  z-index: 100;
}

/* buttons */

.btn-container {
  width: 3rem;
  height: 2rem;
  padding: 0.5rem;
}

.btn-container>div {
  height: 100%;
  width: 100%;
  position: relative;
  cursor: pointer;
}

.btn-container .line {
  width: 100%;
  border-top: 1px solid #fff;
  position: absolute;
  left: 0;
  top: 50%;
}

.btn-container .line:first-of-type {
  top: 0;
}

.btn-container .line:last-of-type {
  top: 100%;
}

/* dash before title */

.dash::before {
  content: "/";
  margin-right: 1ch;
}

/* logo */

.logo-component {
  font-family: "CFAstyMed";
}
.logo-component img.site-logo {

    width: auto;
    margin-right: 12px;
    display: block;
}


.logo-component span {
  display: block;
}

/* page headers */

.page-header {
  border-bottom: 1px solid var(--colorTxt);
}

.page-content+.page-header {
  border-top: 1px solid var(--colorTxt);
  margin-top: clamp(91px, 10vw, 170px);
}

.page-header-wrapper {
  align-items: stretch;
  min-height: 241px;
}

.page-title {
  font-size: 70px;
  line-height: 82px;
  padding-block: 20px;
  padding-right: 57px;
  border-right: 1px solid;
  display: flex;
  align-items: center;
  font-family: "CFAstyBold";
}

.page-title:has(span) {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.full .page-title {
  border-right: none;
}

.sm .page-title {
  max-width: 650px;
  flex-shrink: 0;
  width: 100%;
}

.lg .page-title {
  max-width: 1080px;
  flex-shrink: 0;
  width: 100%;
  padding-right: 2rem;
}

.page-image {
  /* height: 242px;   */
  width: 100%;
  position: relative;
}

.page-image img {
  position: absolute;
  --pos: 28px;
  left: var(--pos);
  top: var(--pos);
  width: calc(100% - var(--pos));
  height: calc(100% - 2 * var(--pos));
}

.page-header-grid {
  border-bottom: 1px solid var(--colorTxt);
}

.page-header-wrapper.grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  --space: clamp(4rem, 25vw, 574px);
}

.grid>.page-title {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  align-items: flex-start;
  padding-top: 70px;
}

.grid.sm>.page-title {
  max-width: 320px;
}

.grid>.page-image {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 217px;
}

.grid>.page-header--text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  position: relative;
  padding: 2rem;
  padding-left: var(--space);
  padding-block: 70px 140px;
  font-size: 18px;
  line-height: 28px;
}

.grid>.page-header--text::before {
  content: "";
  width: calc(100% + var(--padding));
  position: absolute;
  left: 0;
  top: 1px;
  height: 1px;
  background-color: var(--colorTxt);
}

.page-header--text>*:not(:last-child) {
  margin-bottom: 53px;
}

.page-header--text>* {
  max-width: 620px;
}

.page-header--text>*:first-child {
  font-family: "CFAstyMed";
}

.grid>.page-image img {
  left: var(--space);
  width: calc(100% - var(--space));
  max-width: 728px;
}

.grid>.page-image-group {
  grid-column: 2 /3;
  gap: 2rem;
  padding: 59px 0 39px 68px;
}

.article-header .page-image {
  height: 411px;
}

.article-header .single-title {
  width: calc(50% + 14px);
  min-width: 520px;
  flex-shrink: 0;
  border-right: 1px solid var(--colorTxt);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 2rem;
}

.article-header .page-title {
  border: none;
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 20px;
  padding: 0;
  max-width: 448px;
  font-family: "CFAstyMed";
}

.article-header .single-date {
  font-size: 15px;
  line-height: 100%;
}

.article-header .page-image img {
  --left: 58px;
  --pos: 29px;
  left: var(--left);
  width: calc(100% - var(--left));
  object-fit: contain;
}

@media screen and (max-width: 1620px) {
  .lg .page-title {
    max-width: 800px;
  }
}

@media screen and (max-width: 1420px) {
  .page-title {
    font-size: 50px;
    line-height: 58px;
  }

  .page-image img {
    --pos: 20px;
  }
}

@media screen and (max-width: 1280px) {
  .lg .page-title {
    max-width: 650px;
  }

  .article-header .page-image img {
    --left: 2rem;
    --pos: 20px;
  }

  .article-header .page-title {
    font-size: 35px;
    line-height: 40px;
  }
}

@media screen and (max-width: 1080px) {
  .page-header-wrapper {
    min-height: 200px;
  }

  .article-header .page-image {
    height: 320px;
  }

  .page-image img {
    --pos: 15px;
  }

  .page-title {
    font-size: 40px;
    line-height: 44px;
  }
}

@media screen and (max-width: 920px) {
  .page-header-wrapper {
    flex-direction: column;
    --height: 150px;
    min-height: unset;
  }

  .page-image,
  .page-title {
    min-height: var(--height);
    border-right: none;
  }

  .grid .page-title {
    height: 100%;
    border-right: 1px solid var(--colorTxt);
    padding-right: 2rem;
    padding-top: 5rem;
  }

  .article-header .page-image img,
  .page-image img {
    width: 100%;
    left: 0;
    --pos: (var(--padding));
    top: var(--padding);
  }

  .page-image::before {
    content: "";
    width: calc(100% + 2 * var(--padding));
    left: calc(-1 * var(--padding));
    border-top: 1px solid var(--colorTxt);
    position: absolute;
    top: 0;
  }

  .page-header-wrapper.grid {
    --space: 2rem;
  }

  .grid .page-image::before {
    display: none;
  }

  .page-header--text>*:not(:last-child) {
    margin-bottom: 2rem;
  }

  .article-header .single-title {
    display: block;
    height: auto;
    padding-block: 2rem 20px;
  }

  .article-header .page-title {
    font-size: 30px;
    line-height: 35px;
    height: auto;
  }
}

@media screen and (max-width: 680px) {
  .page-header-wrapper {
    min-height: 118px;
    --height: 118px;
  }

  .page-title {
    font-size: 35px;
    line-height: 35px;
  }

  .page-header-wrapper.grid {
    display: block;
  }

  .grid>.page-header--text::before {
    width: calc(100% + 2 * var(--padding));
    left: calc(-1 * var(--padding));
  }

  .grid>.page-header--text {
    padding: 41px 0;
  }

  .grid .page-title {
    padding-block: 0;
    position: relative;
    height: var(--height);
    display: flex;
    align-items: center;
  }

  .grid .page-title::after {
    content: "";
    position: absolute;
    width: calc(100% + 2 * var(--padding));
    left: calc(-1 * var(--padding));
    border-top: 1px solid var(--colorTxt);
    top: 100%;
  }

  .grid .page-image img {
    left: 0;
    width: 100%;
  }

  .article-header .single-title {
    min-width: unset;
    width: 100%;
    border-right: none;
  }

  .article-header .page-title {
    max-width: unset;
  }
}

@media screen and (max-width: 620px) {
  .article-header .page-title {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 12px;
  }

  .article-header .single-title {
    padding-block: 26px 16px;
    padding-right: 0;
  }
}

/* sections */

.box-header {
  font-size: 40px;
  line-height: 44px;
  text-align: center;
  padding-block: 24px;
  border-bottom: 1px solid var(--colorTxt);
  color: var(--colorTxt);
  margin-bottom: 14px;
  font-family: "CFAstyMed";
}

.box-header span {
  display: inline-block;
}

.box.intro+.box-header {
  padding-top: 0;
}

.box {
  border: 1px solid var(--colorTxt);
  background-color: var(--sectionBg);
  padding: 43px 91px 37px 128px;
  color: var(--colorTxt);
}

.box.transparent {
  border: none;
  background-color: transparent;
}

.box.open {
  padding-block: 0;
}

.box.intro {
  padding: 0 0 244px;
  position: relative;
}

.box.intro::after {
  content: "";
  width: calc(100% + 2 * var(--padding));
  left: calc(-1 * var(--padding));
  border-top: 1px solid var(--colorTxt);
  bottom: 0;
  position: absolute;
}

.box.link {
  position: relative;
}

/* .box.link a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
} */
.box.link::after {
  content: "";
  background-image: url("../assets/images/icons/arrow_next.png");
  background-size: contain;
  position: absolute;
  top: 55%;
  right: 80px;
  transform: translateY(-50%);
  width: 29px;
  height: 24px;
}

.box--title {
  font-family: "CFAstyMed";
  font-size: 25px;
  position: relative;
  cursor: pointer;
  padding-right: 4rem;
}

.box--title span {
  font-family: "CFAsty";
  display: inline-block;
  margin-left: 2rem;
}

.box--title::after,
.box--title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1rem;
  border-top: 2px solid var(--colorTxt);
}

.box--title::after {
  transform: rotate(90deg);
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

.box.on .box--title::after {
  opacity: 0;
}

.box.link .box--title {
  margin-bottom: 0;
}

.box.link .box--title::before,
.box.link .box--title::after,
.box.open .box--title::before,
.box.open .box--title::after {
  display: none;
}

.box:has(.image-slider) {
  padding-right: 0;
}

.box--elements {
  display: flex;
  gap: 110px;
  justify-content: flex-start;
  padding-top: 70px;
}

.box--content {
  overflow: hidden;
  max-height: 0;
  transition: all 0.3s ease-in;
}

.box-content>div:nth-child(even) {
  flex-direction: row-reverse;
}

.box.transparent .box--content,
.box.on .box--content {
  max-height: 10000px;
}

/* .box--elements > div{
    width: 100%;
    max-width: 680px;
} */
.box--elements.full>div {
  max-width: 900px;
}

.intro>.box--elements>div {
  max-width: 828px;
}

.box--text {
  font-size: 18px;
  line-height: 28px;
  /* max-width: 680px; */
  width: 680px;
  flex-shrink: 0;
}

.box--text h2 {
  font-size: 25px;
  margin-bottom: 40px;
  font-family: "CFAstyMed";
}

.box--text h3 {
  font-size: 20px;
  margin-bottom: 55px;
  margin-bottom: 2rem;
  font-family: "CFAstyMed";
}

.box--text b,
.box--text span {
  font-family: "CFAstyMed";
}

.box--elements .box--text>*:is(p, ul, ol, h1, h2, h3, h4, h5, h6, div) {
  max-width: 636px;
  padding-right: 1rem;
}

.box--elements.full .box--text>*:is(p, ul, ol, h1, h2, h3, h4, h5, h6, div) {
  max-width: 344px;
}

.intro>.box--elements .box--text>*:is(p, ul, ol, h1, h2, h3, h4, h5, h6, div) {
  max-width: 700px;
}

.box--text.column {
  column-count: 2;
}

.box--text ol li,
.box--text>p:not(:last-child) {
  margin-bottom: 2rem;
}

.box--text ol,
.box--text ul {
  margin-bottom: 2rem;
}

.box--text ol {
  /* list-style-position: inside; */
  list-style: inside;
}

.box--text ul {
  /* list-style-position: inside; */
  list-style: inside;
}

.reverse .box--elements {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.box--text.column :is(h4, h5) {
  font-size: 18px;
  line-height: 28px;
}

.box--text>p b,
.box--text.column h4 {
  font-family: "CFAstyMed";
}

.box--text.column h5 {
  margin-bottom: 2rem;
}

.box--text.column h5 span {
  display: block;
  font-family: "CFAsty";
}

.box--image {
  width: 30%;
  flex-grow: 1;
  margin-inline: auto;
}

.box--image picture {
  margin-bottom: 2rem;
  display: block;
}

.intro.box .box--image picture {
  margin-bottom: 0;
}

.box .box--image picture img {
  margin-inline: auto;
}

.box--image:has(> .image-slider) {
  overflow: scroll;
  max-width: unset;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.box--image:has(> .image-slider)::-webkit-scrollbar {
  display: none;
}

.box--image .image-slider {
  display: flex;
  gap: 2rem;
}

.box--image .image-slider>* {
  flex-shrink: 0;
  max-width: 500px;
  aspect-ratio: 1.275;
}

@media screen and (max-width: 1620px) {
  .box {
    padding-inline: 80px 50px;
  }

  .box--elements {
    gap: 80px;
  }
}

@media screen and (max-width: 1440px) {
  .box {
    padding-inline: 2rem;
  }

  .box--elements {
    gap: 3rem;
  }

  .box--elements>div {
    max-width: 550px;
  }

  .box--text h3 {
    margin-bottom: 2rem;
  }

  .box--title span {
    margin-left: 1rem;
  }
}

@media screen and (max-width: 1140px) {
  .box {
    padding: 40px 18px;
  }

  .box--elements {
    gap: 2rem;
  }

  .box--elements>div {
    max-width: 500px;
  }

  .box--title {
    /* margin-bottom: 3rem; */
  }

  .box-header {
    font-size: 35px;
    line-height: 38px;
  }
}

@media screen and (max-width: 980px) {
  .box--elements {
    display: block;
    padding-top: 41px;
  }

  .box--elements>div {
    max-width: unset;
  }

  .box--image {
    margin-top: 2rem;
    width: 100%;
  }

  .box.link::after {
    right: 2rem;
    top: 50%;
  }

  .box--text h3 {
    margin-bottom: 1.5rem;
  }

  .box--title span {
    display: inline;
    margin-left: 0;
  }

  .box--text {
    max-width: 680px;
    width: 100%;
  }

  .box.transparent {
    padding-inline: 0;
  }
}

@media screen and (max-width: 820px) {
  .box.link {
    min-height: 90px;
    display: flex;
    align-items: center;
    padding-block: 0;
  }
}

@media screen and (max-width: 720px) {
  .box--text.column {
    column-count: 1;
  }

  .box--text.column h5 {
    margin-bottom: 1rem;
  }

  .box-header {
    padding-block: 20px;
  }
}

@media screen and (max-width: 580px) {
  .box.link::after {
    right: 23px;
  }

  .box--title {
    padding-right: 3rem;
    font-size: 20px;
  }

  .box-header {
    font-size: 28px;
    line-height: 30px;
  }

  .box--text h3 {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 370px) {
  .box.link .box--title {
    font-size: 20px;
  }

  .box.link::after {
    width: 23px;
    height: 19px;
  }
}

/* more btn */

.more-btn {
  position: relative;
}

.more-btn::after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  border-top: 1px solid #fff;
}

.more-btn span {
  display: block;
  width: fit-content;
  margin-left: auto;
  font-size: 15px;
  position: relative;
  cursor: pointer;
  line-height: 1;
  font-family: "CFAstyMed";
}

.more-btn span::after {
  content: "";
  --space: 30px;
  width: calc(100% + var(--space));
  position: absolute;
  left: calc(-1 * var(--space));
  border-top: 3px solid var(--colorTxt);
  bottom: -1px;
  z-index: 2;
}

.more-btn.grey::after,
.more-btn.white::after {
  border-color: var(--colorTxt);
}

.more-btn.white span::after {
  border-color: #fff;
}

.more-btn.grey span::after {
  border-color: #f4f4f4;
}

@media screen and (max-width: 1080px) {
  .more-btn span::after {
    --space: 22px;
  }
}

@media screen and (max-width: 620px) {
  .more-btn span::after {
    --space: 15px;
  }
}

/* box swipwer */

.boxSwipwer :is(.swiper-button-next, .swiper-button-prev) {
  border: 1px solid #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  color: #fff;
}

.boxSwipwer .swiper-button-next::after,
.boxSwipwer .swiper-button-prev::after {
  font-size: 12px;
}

/* video wrapper */

.video-wrapper {
  border-top: 1px solid #000451;
  border-bottom: 1px solid #000451;
  margin-block: clamp(40px, 7vw, 117px) clamp(70px, 8vw, 167px);
}

.video-container {
  padding: 64px 82px;
  border-left: 1px solid #000451;
  border-right: 1px solid #000451;
}

.video-element {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
}

.video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 2;
}

video+.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: auto;
  background: transparent;
  padding: 10px;
  border-radius: 5px;
  z-index: 99999999;
  box-sizing: border-box;
}

video+.controls .play-mute-container {
  gap: 15px;
}

video+.controls button {
  border: 0;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  border-radius: 25px;
  box-shadow: inset 0px 0px 26px #000000;
}

video+.controls .icon {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: invert(1);
}

@media screen and (max-width: 880px) {
  video+.controls {
    padding: 0;
  }

  video+.controls button {
    padding: 8px;
    width: 15px;
    height: 15px;
    border-radius: 15px;
  }

  video+.controls .icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
  }

  video+.controls .play-mute-container {
    gap: 10px;
  }
}

@media screen and (max-width: 590px) {
  .video-element {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
  }

  .video-frame {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    overflow: hidden;
    z-index: 2;
  }
}


@media screen and (max-width: 1500px) {
  .video-container {
    padding: 64px;
  }
}

@media screen and (max-width: 1320px) {
  .video-container {
    padding: 2rem;
  }

  .video-element {
    --space: 2rem;
  }
}

@media screen and (max-width: 820px) {
  .video-container {
    padding: 1rem;
  }

  .video-element {
    --space: 1rem;
  }
}

@media screen and (max-width: 520px) {
  .video-container {
    padding: 1rem 0.5rem;
  }

  .video-element {
    --space: 0.5rem;
  }
}


.swipe-text {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  row-gap: 200px;
}

.swipe-text__row {
  display: flex;
  gap: 200px;
  align-items: center;
  position: relative;
}

.swipe-text__row::after {
  content: "";
  position: absolute;
  width: 80%;
  bottom: -99.5px;
  left: 10%;
  height: 1px;
  background-color: #000451;
}

.swipe-text__row:not(.reverse)::before {
  left: 40%;
  transform: translateX(-40%);
}

.swipe-text__row.reverse::before {
  left: 60%;
  transform: translateX(-60%);
}

.swipe-text__row::before {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  width: 1px;
  background-color: #000451;
}

.swipe-text__row.reverse {
  flex-direction: row-reverse;
}

.swipe-text__row .card-image {
  width: calc(40% - 100px);
  flex: 0 0 calc(40% - 100px);
}

.swipe-text__row .card-info {
  width: calc(60% - 100px);
  flex: 0 0 calc(60% - 100px);
}

.swipe-text__row .card-info p {
  margin: revert;
  padding: revert;
  font-size: 18px;
  line-height: 28px;
}

@media screen and (max-width: 1360px) {
  .swipe-text__row {
    gap: 100px;
  }

  .swipe-text__row .card-image {
    width: calc(60% - 50px);
    flex: 0 0 calc(60% - 50px);
  }

  .swipe-text__row .card-info {
    width: calc(40% - 50px);
    flex: 0 0 calc(40% - 50px);
  }

  .swipe-text__row:not(.reverse)::before {
    left: 60%;
    transform: translateX(-60%);
  }

  .swipe-text__row.reverse::before {
    left: 40%;
    transform: translateX(-40%);
  }

  .swipe-text__row .card-info p {
    font-size: 17px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 980px) {
  .swipe-text__row {
    flex-direction: column;
  }

  .swipe-text__row .card-info,
  .swipe-text__row .card-image {
    width: 100%;
    flex: 0 0 100%;
  }

  .swipe-text__row .card-info p {
    font-size: 18px;
    line-height: 1.6;
  }

  .swipe-text__row::before,
  .swipe-text__row::after {
    content: none;
  }

  .swipe-text__row {
    gap: 60px;
  }

  .swipe-text {
    gap: 100px;
  }

  .swipe-text__row.reverse {
    flex-direction: column;
  }
}