/* home hero */

.hero {
  /* --spaceBottom: 70px; */
  --spaceBottom: 40px;
  /* --spaceRight: 130px; */
  --spaceRight: 80px;
  position: relative;
}

.hero-wrapper {
  height: 100dvh;
}

/* hero swiper */

.heroSwiper :is(.swiper-button-next, .swiper-button-prev) {
  /* --width: 63px; */
  /* --height: 139px; */
  --width: 208px;
  --height: 60px;
  top: unset;
  left: unset;
  /* right: calc(var(--spaceRight) - var(--width)); */
  right: calc(var(--spaceRight));
  bottom: var(--spaceBottom);
  background-repeat: no-repeat;
  /* background-size: 20%; */
  background-size: 15px;
  background-position: center;
  background-color: var(--colorTxt);
  width: var(--width);
  height: var(--height);
  /* border-left: 1px solid #fff; */
  border-top: 1px solid #fff;
}
.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
  display: none;
  content: "";
}

.heroSwiper .swiper-button-next {
  background-image: url("../assets/images/icons/arrow_next_sm.png");
  /* right: calc(50% - 20px); */
  /* transform: translateX(100%); */
  /* bottom: calc(var(--spaceBottom) + var(--height)); */
  border-left: 1px solid #fff;
}
.heroSwiper .swiper-button-prev {
  right: calc(var(--spaceRight) + var(--width));
  background-image: url("../assets/images/icons/arrow_prev_sm.png");
  /* left: calc(50% - 20px); */
  /* transform: translateX(-100%); */
}

/* hero card */

.hero-card-wrapper {
  width: 100%;
  height: 100%;
}

.hero-card {
  position: relative;
  height: inherit;
}
.hero-card .card--info {
  position: absolute;
  right: var(--spaceRight);
  /* bottom: var(--spaceBottom); */
  bottom: calc(var(--spaceBottom) + 60px);
  background-color: var(--colorTxt);
  color: #fff;
  /* padding: 21px 52px 14px 30px; */
  padding: 21px 36px 14px 20px;
  width: 416px;
  /* border-right: 1px solid #fff; */
  box-sizing: border-box;
  /* height: 278px; */
  height: auto;
  overflow: auto;
}
.hero-card .card--image {
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
}

.hero-card .card--category {
  order: -1;
  font-size: 15px;
  line-height: 125%;
  margin-bottom: 11px;
}
.hero-card .card--title {
  /* font-size: 20px; */
  font-size: 18px;
  line-height: 100%;
  margin-bottom: 15px;
  padding-block: 0;
}
.hero-card .card--lead {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 16px;
  margin-bottom: 0;
}
.hero-card .card--title,
.hero-card .card--lead {
  /* max-width: 334px; */
  text-wrap: pretty;
}
.hero-card .card--event-info {
  font-size: 16px;
  line-height: 21px;
  font-family: "CFAstyBold";
}
.hero-card .card--event-info span {
  display: block;
}

@media screen and (max-width: 1420px) {
  .hero {
    /* --spaceBottom: 50px;
    --spaceRight: 100px; */
    --spaceRight: 50px;
  }
}
@media screen and (max-width: 1180px) {
  .hero {
    /* --spaceBottom: 50px;
    --spaceRight: 100px; */
    --spaceBottom: 2rem;
    --spaceRight: 2rem;
  }
}
/* @media screen and (max-width: 820px) {
  .hero {
    --spaceBottom: 24px;
    --spaceRight: 78px;
  }
} */

@media screen and (max-width: 580px) {
  .hero {
    --spaceBottom: 63px;
    /* --spaceBottom: 0; */
  }
  /* .hero-card .card--title,
  .hero-card .card--lead {
    max-width: 400px;
  } */
  .hero-card .card--title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .hero-card .card--lead {
    font-size: 13px;
    line-height: 16px;
  }
  .hero-card .card--info {
    right: 0;
    width: 100%;
    height: auto;
    /* padding: 30px 38px 24px var(--mobilePadding); */
    padding: 20px 38px 12px var(--mobilePadding);
    bottom: 63px;
  }
  .heroSwiper :is(.swiper-button-next, .swiper-button-prev) {
    --height: var(--spaceBottom);
    width: 50%;
    top: unset;
    left: 0;
    right: unset;
    bottom: 0;
    background-size: 4%;
    border-top: 1px solid #fff;
  }
  .heroSwiper .swiper-button-prev {
    border-left: none;
  }
  .heroSwiper .swiper-button-next {
    left: 50%;
  }
  .hero-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
  }
  .hero-card .card--info {
    position: relative;
    bottom: 0;
    /* margin-top: auto; */
    flex-grow: 1;
  }
  .hero-card .card--image {
    aspect-ratio: 16/9;
    height: auto;
  }
  .hero-card .card--info:before {
    /* content: ""; */
    width: 100%;
    height: 200px;
    background: #000451;
    background: linear-gradient(
      180deg,
      rgba(0, 4, 81, 0) 0%,
      rgba(0, 4, 81, 1) 100%
    );
    position: absolute;
    left: 0;
    top: -100px;
  }
  .hero-wrapper {
    height: auto;
    padding-bottom: 60px;
  }
  .hero-card-wrapper {
    height: auto;
  }
  .card--event-info {
    display: none;
  }
}

/* hero extra */

.hero-extra {
  background-color: #525252;
  color: #fff;
  padding: 22.5px var(--padding);
}
.hero-extra--wrapper {
  justify-content: center;
  gap: 0.5rem;
}

.hero-extra--text,
.hero-extra--title {
  font-size: 20px;
  line-height: 25px;
  flex-shrink: 0;
}
.hero-extra--title {
  font-family: "CFAstyBold";
}

@media screen and (max-width: 1320px) {
  .hero-extra {
    padding-inline: 0;
  }
  .hero-extra--wrapper {
    justify-content: flex-start;
  }
  .hero-extra--title {
    padding-left: 2rem;
  }
  .hero-extra--text {
    padding-right: 1rem;
  }
}

@media screen and (max-width: 1320px) {
  .hero-extra {
    padding-block: 15px;
  }
}

/* home articles */

.home-article-wrapper {
  gap: 98px;
}
.home-articles {
  --cardSpace: 52px;
  /* margin-top: clamp(70px, 8vw, 153px); */
  margin-top: clamp(50px, 8vw, 120px);
}

.home-articles article {
  padding-inline: var(--cardSpace);
  border-right: 1px solid var(--colorTxt);
}
.home-articles article:nth-of-type(1) {
  padding-left: 0;
}
.home-articles article:nth-of-type(3) {
  padding-right: 0;
  border-right: none;
}

.home-articles .more-btn {
  margin-top: 24px;
}

.today-box {
  width: 471px;
  flex-shrink: 0;
  background-color: var(--colorTxt);
  color: #fff;
  padding: 31px 35px;
  container-name: today;
  container-type: inline-size;
}

.today-box h2 {
  font-size: 30px;
  line-height: 35px;
  margin-bottom: 26px;
  font-family: "CFAstyBold";
}

.today-box .card--image {
  max-width: 275px;
}

.home-articles .section-header h2 {
  font-size: 50px;
}

.home-articles-list article {
   flex: 1; 
}

@container today (width > 620px) {
  .today-box .article-card {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .today-box .card--image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    margin-right: 52px;
  }
}

@media screen and (max-width: 1620px) {
  .home-articles {
    --cardSpace: 2rem;
  }
  .home-article-wrapper {
    gap: 3rem;
  }
}
@media screen and (max-width: 1480px) {
  .home-articles {
    --cardSpace: 2rem;
  }
  .home-article-wrapper {
    flex-direction: column;
  }
  .today-box {
    width: 100%;
  }
}

@media screen and (max-width: 1280px) {
  .home-articles .section-header h2 {
    font-size: 40px;
    line-height: 50px;
  }
}
@media screen and (max-width: 840px) {
  .home-articles-list .article-list {
    width: calc(100% + var(--padding));
  }
  .home-articles-list article {
    width: 38%;
    flex-shrink: 0;
    box-sizing: content-box;
  }
  .home-articles article:nth-of-type(3) {
    padding-right: var(--cardSpace);
  }

  .home-articles .section-header {
    margin-bottom: 1rem;
  }
  .home-articles .section-header h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .home-articles-list article {
    flex: 0 0 auto;
  }
}
@media screen and (max-width: 680px) {
  .home-articles-list article {
    width: 60vw;
  }
  .home-articles .more-btn {
    margin-top: 54px;
  }
  .today-box .more-btn {
    margin-top: 30px;
  }
}
@media screen and (max-width: 620px) {
  .today-box,
  .home-articles-list {
    padding-left: var(--mobilePadding);
  }
  .today-box {
    padding-bottom: 40px;
  }
  .home-articles-list .article-list {
    width: 100%;
  }
}
@media screen and (max-width: 520px) {
  .home-articles {
    --cardSpace: 26px;
  }
  .home-articles .section-header h2 {
    font-size: 25px;
    line-height: 30px;
  }
}
@media screen and (max-width: 460px) {
  .home-articles-list article {
    width: 76vw;
  }
}

/* home rows */

.home-row-nav {
  margin-block: clamp(70px, 8vw, 150px) clamp(60px, 14vw, 246px);
}

.home-row-nav .wrapper > div:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.home-row > div {
  flex: 1;
  aspect-ratio: 1;
  background-color: #f4f4f4;
  font-size: 25px;
  line-height: 130%;
}

.home-row--info {
  container-name: home-row;
  container-type: inline-size;
}
.home-row .title {
  font-size: 40px;
  line-height: 46px;
  margin-bottom: 74px;
  font-family: "CFAstyMed";
}

.home-row .lead {
  max-width: 532px;
  font-family: "CFAstyMed";
}
.home-row .lead h3 {
  margin-top: 1rem;
  font-size: 1em;
}

.home-row--info-wrapper {
  --left: 76px;
  --right: 52px;
  --block: 70px;
  justify-content: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: var(--block) var(--right) var(--block) var(--left);
}

.home-row--info .more-btn {
  position: absolute;
  bottom: var(--block);
  left: var(--left);
  width: calc(100% - var(--left) - var(--right));
}

@container home-row (width < 600px) {
  .home-row--info-wrapper {
    --left: 50px;
    --right: 40px;
    --block: 50px;
  }
  .home-row .title {
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 54px;
  }
  .home-row .lead {
    font-size: 22px;
    line-height: 30px;
  }
}

@container home-row (width < 500px) {
  .home-row--info-wrapper {
    --left: 2rem;
    --right: 2rem;
    --block: 2rem;
  }
  .home-row .title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 40px;
  }
  .home-row .lead {
    font-size: 20px;
    line-height: 26px;
  }
}
@container home-row (width < 400px) {
  .home-row--info-wrapper {
    --left: 1.5rem;
    --right: 1.5rem;
    --block: 1.5rem;
  }
  .home-row .title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 1.5rem;
  }
  .home-row .lead {
    font-size: 16px;
    line-height: 20px;
  }
}

@media screen and (max-width: 720px) {
  .home-row {
    flex-direction: column !important;
  }
  .home-row--info {
    aspect-ratio: unset !important;
  }
  .home-row--info-wrapper {
    --left: 2rem;
    --right: 2rem;
    --block: 4rem;
    padding-bottom: calc(var(--block) * 2);
  }
  .home-row .title {
    font-size: 35px;
    line-height: 40px;
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 520px) {
  .home-row--info-wrapper {
    --left: 14px;
    --right: 15px;
    --block: 30px;
    padding-bottom: calc(var(--block) * 3);
  }
  .home-row .title {
    font-size: 30px;
    line-height: 29px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 430px) {
  .home-row--info {
    aspect-ratio: 1 !important;
  }
  .home-row--info-wrapper {
    justify-content: flex-start;
    padding-top: 52px;
  }
  .home-row--info .more-btn {
    bottom: 28px;
  }
}

/* home press */

.home-row.press {
  height: 533px;
}

.home-row.press .home-row--image {
  /* flex: 0 0 42%; */
  width: 42%;
  flex-grow: 0;
  padding: 50px 1rem 0 89px;
}
.home-row.press .home-row--info::before {
  content: "";
  width: 100%;
  height: 100%;
  background: transparent linear-gradient(270deg, #f4f4f400 0%, #f4f4f4 100%) 0%
    0% no-repeat padding-box;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
}
.home-row.press .home-row--info {
  /* flex: 0 0 58%; */
  width: 58%;
  position: relative;
}
.home-row.press .home-row--info-wrapper {
  z-index: 3;
}
.home-row.press .home-row--info .title {
  font-size: 50px;
  line-height: 60px;
  max-width: 525px;
  padding-right: 2rem;
  font-family: "CFAstyBold";
  margin-block: 28px 0;
  position: relative;
}

.home-row.press .home-row--info .quotes {
  width: 140px;
  filter: var(--filterBlue);
}
.home-row.press .home-row--info .bg-img {
  z-index: 2;
}
.home-row.press .more-btn::after {
  width: calc(100% - 120px);
}
.home-row.press .more-btn span::after {
  display: none;
}

@media screen and (max-width: 1420px) {
  .home-row.press .home-row--image {
    width: 30%;
    padding-left: 0;
  }
  .home-row.press .home-row--info {
    width: 70%;
  }
  .home-row.press .home-row--info .quotes {
    width: 100px;
  }
  .home-row.press .home-row--info .title {
    font-size: 40px;
    line-height: 50px;
    max-width: 400px;
  }
}
@media screen and (max-width: 920px) {
  .home-row.press .home-row--image {
    display: none;
  }
  .home-row.press .home-row--info {
    width: 100%;
  }
  .home-row.press .home-row--info-wrapper {
    --left: 2rem;
    --right: 2rem;
  }
}
@media screen and (max-width: 720px) {
  .home-row.press .home-row--info .title {
    font-size: 35px;
    line-height: 40px;
  }
  .home-row.press .home-row--info .quotes {
    width: 60px;
  }
}

/* page */

.page-intro {
  padding-block: clamp(65px, 10vw, 190px) clamp(50px, 11vw, 205px);
}

.page-intro-text {
  padding-bottom: 68px;
}
.page-intro .box--elements {
  padding-top: 0;
}
.page-intro-text .box--elements {
  flex-direction: row-reverse;
}
.page-intro .box--image picture {
  margin-bottom: 0;
}

.page-content {
  margin-block: 116px;
}
.page-content .box {
  margin-bottom: 20px;
}
.page-content .box.intro {
  margin-bottom: 83px;
}

@media screen and (max-width: 980px) {
  .page-intro {
    padding-bottom: 0;
  }
  .page-intro .box--elements {
    flex-direction: column-reverse;
    display: flex;
    gap: 41px;
  }
  .page-intro .box--image {
    margin-top: 0;
  }
  .page-intro-text .box {
    padding-inline: 0;
  }
  .page-intro-text {
    padding-bottom: 42px;
  }
  .page-intro-text .box--text h2 {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 820px) {
  .page-content {
    margin-block: 100px;
  }
}

/* page resarch */

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

.articleListSwiper {
  width: calc(100% - 2 * var(--padding));
  margin-inline: auto;
  max-width: 1800px;
  padding-block: 75px 150px;
}

.article-list-wrapper.swiper-wrapper {
  height: auto;
}
.article-list-wrapper .swiper-slide {
  --space: 52px;
  box-sizing: border-box;
  padding-inline: var(--space);
  width: 40vw;
}

.article-list-wrapper .card > * {
  position: relative;
}
.article-list-wrapper .card--date::after,
.article-list-wrapper .card--image::after,
.article-list-wrapper .card--lead::after,
.article-list-wrapper .card--title::after {
  content: "";
  height: 100%;
  border-right: 1px solid var(--colorTxt);
  position: absolute;
  left: calc(-1 * var(--space));
  top: 0;
}
.article-list-wrapper .card--lead::after {
  height: calc(100% - 1rem);
}

.article-list-wrapper .swiper-slide-active .card--date::after,
.article-list-wrapper .swiper-slide-active .card--image::after,
.article-list-wrapper .swiper-slide-active .card--lead::after,
.article-list-wrapper .swiper-slide-active .card--title::after,
.article-list-wrapper
  .swiper-slide.swiper-slide-active
  + .swiper-slide
  .card--date::after,
.article-list-wrapper
  .swiper-slide.swiper-slide-active
  + .swiper-slide
  .card--image::after,
.article-list-wrapper
  .swiper-slide.swiper-slide-active
  + .swiper-slide
  .card--lead::after,
.article-list-wrapper
  .swiper-slide.swiper-slide-active
  + .swiper-slide
  .card--title::after {
  display: none;
}

.articleListSwiper :is(.swiper-button-next, .swiper-button-prev) {
  top: unset;
  bottom: 46px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.articleListSwiper .swiper-button-next::after,
.articleListSwiper .swiper-button-prev::after {
  display: none;
  content: "";
}

.articleListSwiper .swiper-button-next {
  background-image: url("../assets/images/icons/arrow_next.png");
  right: calc(50% - 20px);
  transform: translateX(100%);
}
.articleListSwiper .swiper-button-prev {
  background-image: url("../assets/images/icons/arrow_prev.png");
  left: calc(50% - 20px);
  transform: translateX(-100%);
}

.page-articleList + .page-content {
  margin-top: 88px;
}

.page-research .boxSwipwer :is(.swiper-button-next, .swiper-button-prev) {
  border: none;
  border-radius: 0%;
  width: 35px;
  height: 35px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.page-research .boxSwipwer .swiper-button-next {
  background-image: url("../assets/images/icons/arrow_next.png");
}
.page-research .boxSwipwer .swiper-button-prev {
  background-image: url("../assets/images/icons/arrow_prev.png");
}

.page-research .boxSwipwer .swiper-button-next::after,
.page-research .boxSwipwer .swiper-button-prev::after {
  display: none;
  content: "";
}

.page-research .boxSwipwer {
  max-width: 464px;
  width: 100%;
}
.page-research .boxSwipwer .swiper-wrapper {
  max-width: 324px;
}

.book-slide {
  text-align: center;
}
.book-slide .book-title {
  font-family: "CFAstyMed";
  line-height: 1;
  font-size: 20px;
  padding-block: 0 14px;
}
.book-slide .book-more {
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 1680px) {
  .article-list-wrapper .swiper-slide {
    --space: 30px;
  }
}
@media screen and (max-width: 1120px) {
  .articleListSwiper {
    /* padding-bottom: 100px; */
    width: 100%;
    margin-inline: 0;
  }
  .article-list-wrapper.swiper-wrapper {
    height: auto;
  }
  .article-list-wrapper
    .swiper-slide.swiper-slide-active
    + .swiper-slide
    .card--date::after,
  .article-list-wrapper
    .swiper-slide.swiper-slide-active
    + .swiper-slide
    .card--image::after,
  .article-list-wrapper
    .swiper-slide.swiper-slide-active
    + .swiper-slide
    .card--lead::after,
  .article-list-wrapper
    .swiper-slide.swiper-slide-active
    + .swiper-slide
    .card--title::after {
    display: block;
  }
}
@media screen and (max-width: 980px) {
  .articleListSwiper {
    padding-block: 60px 100px;
  }
  .articleListSwiper :is(.swiper-button-next, .swiper-button-prev) {
    bottom: 2rem;
  }
  .page-research .page-content .box--elements {
    display: flex;
    flex-direction: column-reverse;
    gap: 45px;
  }
}
@media screen and (max-width: 740px) {
  .article-list-wrapper .swiper-slide {
    width: 60vw;
  }
  .page-articleList + .page-content {
    margin-top: 127px;
  }
}
@media screen and (max-width: 520px) {
  .article-list-wrapper .swiper-slide {
    width: 80vw;
    transform: padding 0.1s;
  }
  .article-list-wrapper .swiper-slide-active {
    padding-left: var(--mobilePadding);
  }
  .articleListSwiper .swiper-button-next {
    right: unset;
    transform: translateX(0);
    left: calc(var(--mobilePadding) + 40px);
  }
  .articleListSwiper .swiper-button-prev {
    left: var(--mobilePadding);
    transform: translateX(0);
  }
  .articleListSwiper {
    padding-top: 45px;
  }
  .page-research .boxSwipwer .swiper-button-next {
    right: 5px;
  }
  .page-research .boxSwipwer .swiper-button-prev {
    left: 5px;
  }
  .page-research .boxSwipwer {
    width: calc(100% + 2 * var(--mobilePadding));
    margin-left: calc(-1 * var(--mobilePadding));
    max-width: unset;
  }
  .page-research .box.on .box--content {
    overflow: visible;
  }
}

@media screen and (max-width: 420px) {
  .book-slide picture {
    width: 250px;
    margin-inline: auto;
  }
  .page-research .boxSwipwer :is(.swiper-button-next, .swiper-button-prev) {
    width: 28px;
  }
}
@media screen and (max-width: 365px) {
  .book-slide picture {
    width: 200px;
  }
}

/* single */

.article-body {
  padding-top: clamp(98px, 7vw, 130px);
  max-width: 620px;
}
.article-footer,
.article-body {
  padding-left: clamp(4rem, 8vw, 128px);
}
.article-footer {
  margin-top: 61px;
  padding-bottom: clamp(91px, 6.5vw, 145px);
  padding-bottom: 0;
}

.share-wrapper {
  position: relative;
}
.share-btn {
  position: relative;
  padding-left: 1rem;
  font-size: 15px;
  line-height: 100%;
  cursor: pointer;
  font-family: "CFAstyBold";
}

.share-btn::before,
.share-btn::after {
  content: "";
  width: 10px;
  border-top: 2px solid var(--colorTxt);
  position: absolute;
  left: 0;
  top: calc(50% - 2px);
}

.share-btn::before {
  transform: rotate(90deg);
}
.share-btn.on::before {
  display: none;
}

.share-container {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
}
.share-btn.on + .share-container {
  height: 50px;
}
.share-container ul {
  border: 1px solid;
  width: fit-content;
}
.share-container ul li {
  filter: brightness(0) saturate(100%) invert(10%) sepia(34%) saturate(7009%)
    hue-rotate(232deg) brightness(75%) contrast(120%);
}
.center-article{
    max-width:800px;
    margin:0 auto;
}
@media screen and (max-width: 750px) {
  .article-footer,
  .article-body {
    padding-left: 0;
  }
  .article-header {
    border-bottom: none;
  }
  .article-body {
    padding-top: 79px;
  }
  body:has(.page-article) .top-footer-wrapper {
    margin-top: 91px;
  }
}

@media screen and (max-width: 460px) {
  body:has(.page-article) .article-header .page-title {
    max-width: 280px;
  }
}

/* page karamanlis */

.page-karamanlis .box.intro,
.page-karamanlis .box.intro .box--elements {
  padding-block: 0;
  --top: 79px;
  --gap: 75px;
  gap: var(--gap);
  justify-content: flex-end;
}
.page-karamanlis .box.intro .box--elements > * {
  max-width: 798px;
  width: 100%;
  padding-top: var(--top);
}
.page-karamanlis .box.intro .box--image {
  padding: var(--top) var(--gap) 105px 0;
  border-right: 1px solid var(--colorTxt);
  min-width: 450px;
  margin-inline: 0;
}
.page-karamanlis .box.intro .box--image picture {
  margin-bottom: 0;
  aspect-ratio: 1.25;
}
.page-karamanlis .box.intro .box--text {
  max-width: 546px;
  flex-shrink: 1;
  font-family: "CFAstyMed";
}

.page-karamanlis .home-row {
  margin-top: clamp(82px, 7.5vw, 142px);
  flex-direction: row-reverse;
}
.page-karamanlis .home-row .title {
  max-width: 377px;
}

.page-karamanlis .page-header + .wrapper .box::after {
  display: none;
}
.page-karamanlis .page-content {
  margin-block: 0;
}

@media screen and (max-width: 1380px) {
  .page-karamanlis .box.intro .box--elements {
    --top: 50px;
    --gap: 50px;
  }
  .page-karamanlis .box.intro .box--image {
    padding-bottom: 4rem;
  }
}
@media screen and (max-width: 1120px) {
  .page-karamanlis .box.intro .box--elements {
    --top: 2rem;
    --gap: 2rem;
  }
  .page-karamanlis .box.intro .box--image {
    padding-bottom: 3rem;
  }
}
@media screen and (max-width: 980px) {
  .page-karamanlis .box.intro .box--elements {
    flex-direction: column-reverse;
    display: flex;
    gap: 3rem;
  }
  .page-karamanlis .box.intro .box--image {
    border-right: none;
    position: relative;
    padding: 3rem 0;
    margin-top: 0;
  }
  .page-karamanlis .box.intro .box--image::after {
    content: "";
    width: 100vw;
    border-top: 1px solid var(--colorTxt);
    position: absolute;
    left: calc(-1 * var(--padding));
    bottom: 0;
  }
  .page-karamanlis .box.intro .box--text {
    padding-block: 0;
  }
  .page-karamanlis .box.intro::after {
    display: none;
  }
  .page-karamanlis .page-content {
    margin-top: 100px;
  }
}
@media screen and (max-width: 980px) {
  .page-karamanlis .box.intro .box--elements {
    gap: 41px;
  }
  .page-karamanlis .box.intro .box--image {
    padding-block: 27px;
  }
}

/* timeline */

.timeline-wrapper {
  margin-top: clamp(80px, 8vw, 136px);
}

.timeline {
  margin-top: 35px;
}

.year-btn {
  font-size: 20px;
  line-height: 100%;
  padding-bottom: 8px;
  flex-shrink: 0;
  width: 4ch;
  position: static;
}

.year {
  padding-right: 2px;
  cursor: pointer;
  width: fit-content;
}
.year.on {
  border-bottom: 3px solid var(--colorTxt);
}

.timelineSwiper :is(.swiper-button-next, .swiper-button-prev) {
  width: 8ch;
  height: 20px;
  background-color: #fff;
  top: 22px;
}

.timelineSwiper .swiper-button-next::after,
.timelineSwiper .swiper-button-prev::after {
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  font-family: "CFAsty";
  font-size: 20px;
  line-height: 100%;
  color: var(--colorTxt);
  letter-spacing: 0;

  /* background-color: #fff; */
}

.timelineSwiper .swiper-button-next {
  right: 0;
}
.timelineSwiper .swiper-button-prev {
  left: 0;
}

.timelineSwiper .swiper-button-next::after {
  content: ".... 1998";
}
.timelineSwiper .swiper-button-prev::after {
  content: "1907 ....";
}
.timelineSwiper .swiper-button-disabled {
  display: none;
}

.timeline-media {
  margin-top: 169px;
  position: relative;
  height: 502px;
}

.year-media {
  display: none;
  height: 100%;
  --imageWidth: 730px;
  --gap: clamp(3rem, 7vw, 120px);
}

.year-media.on {
  display: flex;
}
.year-card {
  display: flex;
  width: 100%;
  flex-shrink: 0;
}
.year-card .card--image {
  width: var(--imageWidth);
  flex-shrink: 0;
}
.year-card .card--info {
  padding: 40px 2rem 2rem var(--gap);
}
.year-card .card--title {
  font-size: 22px;
  font-family: "CFAstyMed";
  max-width: 429px;
  line-height: 28px;
  padding-block: 0 41px;
}
.year-card .card--lead {
  font-size: 18px;
  max-width: 546px;
  line-height: 28px;
  margin-bottom: 0;
}

.year-card .card--image img {
  object-fit: contain;
}

.yearMediaSwiper :is(.swiper-button-next, .swiper-button-prev) {
  top: calc(100% - 100px);
  left: calc(var(--imageWidth) + var(--gap));
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.yearMediaSwiper .swiper-button-next::after,
.yearMediaSwiper .swiper-button-prev::after {
  display: none;
  content: "";
}

.yearMediaSwiper .swiper-button-next {
  background-image: url("../assets/images/icons/arrow_next.png");
  left: calc(var(--imageWidth) + var(--gap) + 50px);
}
.yearMediaSwiper .swiper-button-prev {
  background-image: url("../assets/images/icons/arrow_prev.png");
}

@media screen and (max-width: 1620px) {
  .year-media {
    --imageWidth: 650px;
    --gap: clamp(40px, 6vw, 80px);
  }
  .year-card .card--info {
    padding-top: 80px;
  }
}
@media screen and (max-width: 1340px) {
  .timeline-media {
    margin-top: 100px;
  }
  .year-media {
    --imageWidth: 600px;
    --gap: 50px;
  }
  .year-card .card--info {
    padding-top: 50px;
  }
  .year-card .card--title {
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 1180px) {
  .year-media {
    --imageWidth: 520px;
    --gap: 2rem;
  }
  .year-card .card--info {
    padding-block: 2rem 3rem;
  }
}
@media screen and (max-width: 1080px) {
  .timeline-media {
    height: auto;
  }
  .year-card {
    display: block;
  }
  .year-card > * {
    max-width: 720px;
    margin-inline: auto;
  }
  .year-card .card--image {
    width: 100%;
    aspect-ratio: 1.45;
  }
  .yearMediaSwiper :is(.swiper-button-next, .swiper-button-prev) {
    top: calc(100% - 1rem);
    left: calc(50% - 37px);
    /* left: 50%; */
  }
  .yearMediaSwiper .swiper-button-next {
    left: calc(50% + 10px);
  }
}
@media screen and (max-width: 820px) {
  .timeline-media {
    margin-top: 65px;
  }
}
@media screen and (max-width: 620px) {
  .timeline {
    width: calc(100% + var(--mobilePadding));
  }
  .timelineSwiper :is(.swiper-button-next, .swiper-button-prev) {
    display: none;
  }
}
@media screen and (max-width: 520px) {
  .timeline-media {
    margin-top: 40px;
  }
  .year-card .card--info {
    padding: 41px 0 52px;
  }
  .yearMediaSwiper :is(.swiper-button-next, .swiper-button-prev) {
    left: 0;
  }
  .yearMediaSwiper .swiper-button-next {
    left: 58px;
  }
  .year-card .card--title {
    padding-bottom: 28px;
  }
}

/* page statements */

.page-statements .page-content {
  margin-block: 77px 128px;
}

.statements-wrapper {
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  margin-right: clamp(2rem, 9vw, 170px);
}
.statement-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
  line-height: 22px;
  opacity: 0.5;
  transition: opacity 0.3s ease-in;
  cursor: pointer;
}
.statement-item h3 span {
  font-family: "CFAstyBold";
}
.statement-item.on h3 {
  opacity: 1;
}
.statement-media {
  display: none;
}
.statement-item.on .statement-media {
  display: block;
}

.statements-media--show {
  width: 557px;
  flex-shrink: 0;
}

.statement-media {
  position: absolute;
  right: 0;
  top: 0;
  width: 557px;
}
.media-card .card--info {
  display: flex;
  flex-direction: column;
}
.media-card .card--image {
  aspect-ratio: 1.6;
  margin-bottom: 72px;
}
.media-card .card--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ΤΟ ΣΗΜΑΝΤΙΚΟ */
  object-position: center;
  display: block;
}

.media-card .card--title {
  padding-block: 10px 0;
  font-family: "CFAsty";
}
.media-card .card--title,
.media-card .card--lead {
  font-size: 18px;
  line-height: 23px;
}
.media-card .card--lead {
  font-family: "CFAstyMed";
  order: -1;
}

.statementSwiper :is(.swiper-button-next, .swiper-button-prev) {
  top: calc((557px / 1.6) + 2rem);
  left: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.statementSwiper:not(:has(.media-card .card--image))
  :is(.swiper-button-next, .swiper-button-prev) {
  top: calc(100% - 1rem);
}
.statementSwiper:not(:has(.media-card .card--image)) {
  padding-bottom: 3rem;
}

.statementSwiper .swiper-button-next::after,
.statementSwiper .swiper-button-prev::after {
  display: none;
  content: "";
}

.statementSwiper .swiper-button-next {
  background-image: url("../assets/images/icons/arrow_next.png");
  left: 50px;
}
.statementSwiper .swiper-button-prev {
  background-image: url("../assets/images/icons/arrow_prev.png");
}

@media screen and (max-width: 1720px) {
  .statements-wrapper {
    margin-right: 100px;
  }
}
@media screen and (max-width: 1520px) {
  .statements-wrapper {
    margin-right: 0;
  }
}
@media screen and (max-width: 1020px) {
  .statements-wrapper {
    flex-direction: column-reverse;
  }
  .page-statements .page-content {
    margin-top: 50px;
  }
  .statements-media--show {
    height: 600px;
    max-width: 557px;
    width: 100%;
  }
  .statement-media {
    right: unset;
    left: 0;
    max-width: 557px;
    width: 100%;
  }
}

@media screen and (max-width: 620px) {
  .page-statements .page-content {
    margin-block: 32px 104px;
  }
}

@media screen and (max-width: 590px) {
  .statementSwiper :is(.swiper-button-next, .swiper-button-prev) {
    top: calc(((100vw - 2 * var(--mobilePadding)) / 1.6) + 2rem);
  }
}

/* page library */

.page-library .library-collection-list > div:last-child {
  margin-top: 114px;
}
.page-library .library-collection-list .box--elements {
  padding-top: 96px;
}
.page-library .library-collection-list > div:last-child .box--elements {
  padding-top: 51px;
}
.page-library .library-collection-list > div:first-child .box--elements {
  padding-top: 0;
}

@media screen and (max-width: 1320px) {
  .page-library .page-content .box.intro {
    padding-bottom: 116px;
  }
}
@media screen and (max-width: 980px) {
  .page-library .library-collection-list .box--elements {
    padding-top: 41px;
    flex-direction: column-reverse;
    display: flex;
  }
  .page-library .library-collection-list .box--elements .box--image {
    margin-top: 0;
  }
  .page-library .library-collection-list > div:first-child .box--elements {
    gap: 53px;
  }
  .page-library .page-content {
    margin-top: 50px;
  }
  .page-library .page-content .box.intro {
    padding-bottom: 80px;
  }
}
@media screen and (max-width: 620px) {
  .page-library .library-collection-list > div:last-child {
    margin-top: 61px;
  }
  .page-library .page-content {
    margin-top: 26px;
  }
  .page-library .page-content .box.intro {
    padding-bottom: 53px;
    margin-bottom: 53px;
  }
}

/* economy - europe - education */

.page-education .box--elements,
.page-europe .box--elements,
.page-economy .box--elements {
  padding-top: 96px;
}

@media screen and (max-width: 1120px) {
  .page-education .box--elements,
  .page-europe .box--elements,
  .page-economy .box--elements {
    padding-top: 71px;
  }
}
@media screen and (max-width: 920px) {
  .page-education .page-content,
  .page-europe .page-content,
  .page-economy .page-content {
    margin-top: 4rem;
  }
}
@media screen and (max-width: 620px) {
  .page-education .box--elements,
  .page-europe .box--elements,
  .page-economy .box--elements {
    padding-top: 41px;
  }
  .page-education .page-content,
  .page-europe .page-content,
  .page-economy .page-content {
    margin-top: 3rem;
  }
  .page-institutions .page-content {
    margin-top: 0;
  }
}
@media screen and (max-width: 440px) {
  .page-education .page-content,
  .page-europe .page-content,
  .page-economy .page-content {
    margin-top: 2rem;
  }
}

/* institutions */

.page-institutions .page-content {
  margin-top: 50px;
}
.page-institutions .box.transparent:not(:has(+ .transparent)) + .box {
  margin-top: 110px;
}
.page-institutions .box.transparent:has(+ .transparent) {
  margin-bottom: 0;
}
.page-institutions .box:has(.box--title) .box--elements {
  padding-top: 96px;
}
@media screen and (max-width: 1120px) {
  .page-institutions .page-content {
    margin-top: 2rem;
  }
  .page-institutions .box:has(.box--title) .box--elements {
    padding-top: 71px;
  }
}
@media screen and (max-width: 980px) {
  /* .page-institutions .box.transparent .box--elements{
        display: flex;
        flex-direction: column-reverse;
    } */
  .page-institutions .box.transparent:not(:has(+ .transparent)) + .box {
    margin-top: 71px;
  }
}
@media screen and (max-width: 620px) {
  .page-institutions .page-content {
    margin-top: 0;
  }
  .page-institutions .box:has(.box--title) .box--elements {
    padding-top: 41px;
  }
  .page-institutions .box.transparent:not(:has(+ .transparent)) + .box {
    margin-top: 41px;
  }
}

/* page foundation */

.page-foundation .page-header + .page-content {
  margin-block: 38px 79px;
}

body:has(.page-foundation) .top-footer-wrapper {
  margin-top: 0;
}

@media screen and (max-width: 980px) {
  .page-foundation .page-intro + .page-content {
    margin-block: 60px 91px;
  }
  .page-foundation .page-header + .page-content .box--content {
    overflow: visible;
  }
  .page-foundation .page-content .box--elements {
    display: flex;
    flex-direction: column-reverse;
    gap: 46px;
  }
  .page-foundation .page-header + .page-content .box--elements {
    gap: 30px;
    padding-top: 0;
  }
  .page-foundation .page-header + .page-content .box--image {
    margin-top: 0;
    position: relative;
  }
  .page-foundation .page-header + .page-content .box--image::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: calc(100% + 2 * var(--padding));
    left: calc(-1 * var(--padding));
    border-top: 1px solid var(--colorTxt);
  }
  .page-foundation .page-intro + .page-content .wrapper > div:first-child {
    overflow: hidden;
  }
  .page-foundation
    .page-intro
    + .page-content
    .wrapper
    > div:first-child
    .box--elements {
    padding-top: 0;
  }
  .page-foundation
    .page-intro
    + .page-content
    .wrapper
    > div:first-child
    .box--content {
    overflow: visible;
  }
  .page-foundation .page-intro + .page-content .box--image {
    display: flex;
    gap: 2rem;
    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;
    width: calc(100% + var(--padding));
    margin-top: 46px;
  }
  .page-foundation .page-intro + .page-content .box--image > * {
    flex-shrink: 0;
    width: 80%;
    margin-bottom: 0;
  }

  .page-foundation .page-intro + .page-content .box--image::-webkit-scrollbar {
    display: none;
  }
}

@media screen and (max-width: 620px) {
  .page-foundation .page-header + .page-content {
    margin-top: 21px;
  }
  .page-foundation .page-header + .page-content .box--image picture {
    margin-bottom: 21px;
  }
  .page-foundation .page-intro + .page-content .box--image {
    gap: 19px;
  }
}

/* page archives */

.page-archives .page-header-wrapper {
  --space: clamp(80px, 32vw, 590px);
}
.page-archives .page-header-wrapper .page-title {
  max-width: 327px;
  padding-right: 0;
}
.page-archives .page-header--text > * {
  max-width: 650px;
}

.page-archives .page-intro {
  padding-block: clamp(80px, 9vw, 156px) clamp(54px, 8vw, 138px);
}
.page-archives .page-content {
  margin-block: 0 71px;
}
.page-archives .page-content .box--elements {
  padding-top: 96px;
}
.page-archives .page-intro .wrapper > div:not(:last-of-type) {
  padding-bottom: 64px;
  margin-bottom: 104px;
  position: relative;
}
.page-archives .page-intro .wrapper > div:not(:last-of-type)::after {
  content: "";
  width: calc(100% + 2 * var(--padding));
  border-top: 1px solid var(--colorTxt);
  position: absolute;
  left: calc(-1 * var(--padding));
  bottom: 0;
}
.page-archives .page-intro .wrapper > div:nth-of-type(even) .box--text {
  margin-left: 50%;
}

body:has(.page-archives) .top-footer-wrapper {
  margin-top: 0;
}

@media screen and (max-width: 1380px) {
  .page-archives .page-header-wrapper {
    --space: clamp(100px, 20vw, 250px);
  }
}
@media screen and (max-width: 1180px) {
  .page-archives .page-intro .wrapper > div:nth-of-type(even) .box--text {
    margin-left: 0%;
  }
  .page-archives .page-header-wrapper .page-title {
    padding-right: 2rem;
  }
  .page-archives .page-image-group {
    padding: 2rem 0 2rem 2rem;
    gap: 1rem;
  }
}

@media screen and (max-width: 1120px) {
  .page-archives .page-content .box--elements {
    padding-top: 71px;
  }
}
@media screen and (max-width: 980px) {
  .page-archives .page-header-wrapper .page-title {
    max-width: 200px;
  }
  .page-archives .page-header--text {
    padding-inline: 2rem;
    padding-bottom: 70px;
  }
  .page-archives .page-intro {
    padding-top: 41px;
  }
  .page-archives .page-intro .box--elements {
    flex-direction: column;
  }
  .page-archives .page-content {
    margin-bottom: 62px;
  }
  .page-archives .page-intro .wrapper > div:not(:last-of-type) {
    padding-bottom: 60px;
    margin-bottom: 57px;
  }
}
@media screen and (max-width: 680px) {
  .page-archives .page-header-wrapper .page-title {
    max-width: unset;
    border-right: none;
  }
  .page-archives .page-header--text {
    padding: 42px 0;
  }
  .page-archives .page-image-group {
    padding: 23px 0;
    gap: 13px;
  }
  .page-archives .page-content .box--elements {
    padding-top: 41px;
  }
}
