/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * NIVEAUX DE TITRES LANDING PAGE .........
 * HEADER LANDING PAGE ....................
 * HIGHLIGHT BLOCKS .......................
 * L'INSTITUT EN IMAGES ...................
 * IMAGE PRE FOOTER .......................
 * MEDIA QUERIES ..........................
*/

/* ------------------------------------ *\
  ==NIVEAUX DE TITRES LANDING PAGE
\* ------------------------------------ */
.landing_page h2 {
  font-size: 3.75rem;
  font-weight: 500;
}

.landing_page h3 {
  font-size: clamp(1rem, calc(1rem + 1.4vw), 3rem);
  font-weight: 500;
}

/* ------------------------------------ *\
  ==HEADER LANDING PAGE
\* ------------------------------------ */
.landing_page header {
  margin-bottom: 10rem;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}

.landing_page header:before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: transparent linear-gradient(180deg, #1f63de52 0%, #1f63de6e 100%)
    0 0 no-repeat padding-box;
}

.region-nav-main {
  background-color: #fff;
}

.landing_page header .header-block__wrapper {
  display: flex;
}

.landing_page header .header-block h1 {
  color: #fff;
  font-size: clamp(2rem, calc(1.2rem + 2.6vw), 5rem);
  font-family: ABCMonumentGrotesk, sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.2;
}

.landing_page header .header-block {
  background-color: var(--bs-blue);
  display: inline-block;
  position: relative;
  flex-basis: fit-content;
  padding: 2rem 2rem 2rem calc(2.8rem + 4.5vw);
  margin-bottom: calc(2.8rem + 4.5vw);
  margin-top: 3rem;
}

.landing_page header .header-block .header-link:after {
  position: absolute;
  top: 0.5rem;
  right: -3.2rem;
  content: '\f144';
  font: var(--fa-font-light);
  font-size: 2.5rem;
  color: var(--bs-white);
}

.landing_page header .header-block .header-link {
  position: relative;
  background-color: unset;
  border: 0;
  padding: 0;
  border-bottom: 2px solid var(--bs-white);
  color: var(--bs-white);
  font-size: 1.875rem;
  font-family: ABCMonumentGrotesk, sans-serif;
  font-weight: 400;
}

.landing_page header .header-block .modal iframe {
  aspect-ratio: 16/9;
  max-width: 100%;
  height: auto;
}

.landing_page header .header-block .modal-body {
  text-align: center;
}

.landing_page
  header
  .header-block
  .header-link:where(:hover, :focus, :active):after {
  color: var(--bs-yellow);
}

.landing_page header .header-block .header-link:where(:hover, :focus, :active) {
  border-bottom: 2px solid var(--bs-yellow);
  color: var(--bs-yellow);
}

.landing_page header .subheader-block__wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -8rem;
  position: relative;
}

.subheader-block .paragraph-texte,
.subheader-block .paragraph-texte .field > ul {
  padding: 0;
  font-family: ABCMonumentGrotesk, sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 0;
}

.subheader-block .paragraph-texte .field > ul li {
  display: flex;
  font-style: normal;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 400;
  flex: 0 0 33%;
  padding: 0.3rem 0;
}

.subheader-block .paragraph-texte .field > ul li:before {
  content: '◗';
  margin-right: 0.5rem;
}

.subheader-block {
  background-color: var(--bs-yellow);
  padding: 0.5em 0;
  width: 70%;
}

.field.field--name-field-landing-keys {
  margin-top: 2rem;
}

.landing_page h2,
.landing_page
  .field.field--name-field-landing-keys.field__items
  > .field__item
  > .paragraph-section
  > .row
  .paragraph-texte
  h3 {
  margin-left: 2.5rem;
}

.header-block .field--name-field-landing-logo img {
  width: 7rem;
}

.header-block .field--name-field-landing-logo {
  width: 7rem;
  max-width: 7rem;
  align-content: center;
  margin: 0 2.5rem;
  position: absolute;
  right: 0;
  top: 1rem;
}

.header-block .block-fieldblock {
  position: unset;
}

.block-page-title-block {
  margin-right: 10rem;
}

.header-block #block-amu-kit-ie-header-link {
  width: 100%;
}

/* ------------------------------------ *\
  ==FENETRE MODALE HEADER
\* ------------------------------------ */
.landing_page header .modal-dialog {
  width: 60%;
  max-width: unset;
  border: 0;
}

.landing_page header .modal-dialog .modal-content {
  background-color: unset;
  border: 0;
}

.landing_page header .modal-dialog .modal-header {
  position: absolute;
  z-index: 2;
  width: 100%;
  border: 0;
  top: -0.5rem;
  right: -0.5rem;
}

.landing_page header .modal-dialog .modal-header .btn-close {
  background-color: var(--bs-white);
}

.landing_page header .modal-dialog .modal-content iframe {
  width: 100%;
}

/* ------------------------------------ *\
  ==HIGHLIGHT BLOCKS
\* ------------------------------------ */
.field--name-field-landing-keys .field__item:last-of-type .paragraph-section {
  background-color: var(--bs-gray-100);
}

.field--name-field-landing-highlights-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.block__highlight {
  position: relative;
  margin-bottom: 1rem;
}

.field--name-field-landing-highlights-blocks
  .field__item:first-of-type
  .paragraph-section {
  background-color: var(--bs-blue);
  color: var(--bs-white);
  padding: 1rem;
}

.field--name-field-landing-highlights-blocks .paragraph-texte ul li::marker {
  color: var(--bs-white);
}

.block__highlight
  .field--name-field-landing-highlights-blocks
  .field__item:first-of-type
  .paragraph-section:first-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}

.block__highlight
  .field--name-field-landing-highlights-blocks
  .field__item:first-of-type
  .paragraph-section:first-of-type
  + div {
  margin-top: 0;
  padding-top: 0.5rem;
}

/* ------------------------------------ *\
  ==ACTUS
\* ------------------------------------ */
.field.field--name-field-landing-actus {
  margin-top: 4rem;
}

/* ------------------------------------ *\
  ==L'INSTITUT EN IMAGES
\* ------------------------------------ */
.field--name-field-landing-images
  .paragraph.paragraph-section
  + .paragraph.paragraph-section {
  margin-top: -1rem;
}

/* ------------------------------------ *\
  ==IMAGE PRE FOOTER
\* ------------------------------------ */
.landing_page main {
  display: block;
  padding-bottom: 3.125rem;
}

/* ------------------------------------ *\
  ==MEDIA QUERIES
\* ------------------------------------ */

@media screen and (max-width: 767.98px) {
  .landing_page header {
    margin-bottom: 0;
    position: inherit;
  }

  .landing_page header:before {
    content: unset;
  }

  .landing_page .header-block__wrapper .header-block {
    margin-bottom: 0;
    padding: 1.2rem;
    max-width: 100vw;
  }

  .landing_page header .header-block .block-page-title-block {
    min-width: unset;
  }

  .landing_page .region-subheader {
    width: 100%;
    display: block;
  }

  .landing_page header .subheader-block__wrapper {
    display: block;
    background-color: #fff;
    padding: 1rem;
    margin: unset;
  }

  .landing_page header .subheader-block {
    width: 100%;
    position: inherit;
    transform: unset;
    margin: 0;
    max-width: calc(100vw - 2rem);
  }

  .subheader-block .paragraph-texte .field > ul li {
    width: 100%;
  }

  .header-block .field--name-field-landing-logo {
    margin: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .field--name-field-landing-highlights-blocks
    .field__item:first-of-type
    .paragraph-section {
    padding: 1rem 0;
  }
}

@media screen and (max-width: 767.98px) {
  .subheader-block .paragraph-texte .field > ul {
    flex-direction: column;
  }

  .landing_page h2,
  .landing_page .paragraph.paragraph-card .card__title {
    font-size: clamp(1rem, calc(1.5rem + 1.4vw), 3rem);
  }

  .landing_page h3 {
    font-size: 1.375rem;
  }

  .subheader-block .paragraph-texte,
  .subheader-block .paragraph-texte .field > ul,
  .subheader-block .paragraph-texte .field > ul li {
    font-size: 1.2rem;
  }

  .landing_page header .header-block .header-link {
    font-size: 1.5rem;
  }

  .landing_page header .header-block .header-link:after {
    right: -2.6rem;
    top: 0.4rem;
    font-size: 2rem;
  }

  .layout--1323 .layout__region--column .paragraph-section {
    margin: 0;
  }

  .paragraph.paragraph-key-figures {
    padding: 0;
    margin-bottom: 2.1rem;
  }

  .paragraph-key-figures i {
    margin-top: 0.5rem;
  }

  .paragraph-key-figures .field--name-field-key-body p.key-figures {
    font-size: 2.1rem;
  }

  .paragraph-key-figures .field--name-field-key-body p:last-of-type {
    font-size: 1.275rem;
  }

  .header-block .field--name-field-landing-logo img {
    width: 6rem;
  }
}

@media screen and (max-width: 520px) {
  /* background image header - spécifique pour le bg de Marmara */
  .landing_page header {
    background-size: auto 50%;
    background-position: 60% 10%;
  }
}

@media screen and (max-width: 1400px) {
  .landing_page h2,
  .landing_page
    .field.field--name-field-landing-keys.field__items
    > .field__item
    > .paragraph-section
    > .row
    .paragraph-texte
    h3 {
    margin-left: unset;
  }
}

@media screen and (max-width: 1600px) {
  .field.field--name-field-landing-actus {
    margin-top: 0;
  }

  .landing_page .block__highlight {
    margin-bottom: 0;
  }
}
