/*
Theme Name: ERA
Text Domain: ere
Template: Divi
Description:  Custom Wordpress.
Author:       ERA
Version: 1.0.0
*/

:root {
  --main-blue: #212b55;
  --light-blue: #80a8fa;
  --orange: #ff4000;
  --accent: #dcc592;
  --dark-grey: #545454;
  --light-grey: #f2f1ef;
  --gold: #b59454;
  --transition: all 0.35s;
}

.handwritten-font {
  font-family: "Carattere", cursive;
  font-weight: 400;
  font-style: normal;
}

*::selection {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: var(--main-blue) !important;
}

body {
  background: var(--main-blue);
  background-color: var(--main-blue);
}

strong,
.et_pb_text_inner,
.et_pb_text_inner h3 {
  /* font-weight: 900 !important; */
}

.et_pb_image_wrap img {
  pointer-events: none;
}

.ivymode,
.ivymode_h1 h1,
.ivymode_h2 h2,
.ivymode_h3 h3,
.ivymode_h4 h4,
.ivymode_h5 h5 {
  /* font-family: "totalblack-variable", sans-serif !important; */
  /* font-family: "ivymode-variable", sans-serif !important; */
  font-family: "Noto Sans", sans-serif !important;
}

.et_pb_blurb_content .et_pb_blurb_container {
  /* padding-left: 0 !important; */
  display: block !important;
}
.et_pb_blurb_content .et_pb_module_header {
  padding-bottom: 0 !important;
}

.blue_corners_top {
  position: relative;
}
.blue_corners_top::before {
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
  background-image: url(/wp-content/uploads/2025/04/corner-left-blue.svg);
  background-size: contain;
  background-position: top left;
  left: 0;
  top: 0;
}

.blue_corners_top::after {
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
  background-image: url(/wp-content/uploads/2025/04/corner-right-blue.svg);
  background-size: contain;
  background-position: top right;
  right: 0;
  top: 0;
}

footer .title_footer {
  border: 1px solid var(--main-blue);
  display: inline-block;
  padding: 5px 10px;
  color: var(--main-blue);
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
}
.section_footer_blue .title_footer {
  border: 1px solid white;
  color: white;
}

.zoom_in_hover .et_pb_image_wrap {
  overflow: hidden !important;
}

.zoom_in_hover .et_pb_image_wrap img {
  transition: var(--transition);
}
.zoom_in_hover:hover .et_pb_image_wrap img {
  transform: scale(1.2);
}

.pointers-event-none img {
  pointer-events: none !important;
}

.long_module_text {
  /* height: 100%; */
  max-height: 600px;
  overflow: hidden;
  transition: all 0.6s;
  position: relative;
}
.long_module_text.long_module_text_opened {
  max-height: 8000px;
}
.long_module_text_shorter.long_module_text_opened {
  max-height: 8000px;
}

.long_module_text_shorter {
  max-height: 450px;
}
.long_module_text_shorter_shorter {
  max-height: 150px;
}
.long_module_text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(33, 43, 85, 1) 100%);
  pointer-events: none;
  opacity: 1;
  transition: var(--transition);
}
.long_module_text_gold::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #dcc592 100%);
}
.long_module_text_lightblue::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #a8c5f0 100%);
}
.long_module_text_grey::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #f2f1ef 100%);
}
.long_module_text.long_module_text_opened::after {
  opacity: 0;
}

.partners_list_module li {
  padding: 15px 0;
  border-bottom: 1px solid var(--main-blue);
}
.partners_list_module ul {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.partners_list_module li:last-child {
  border-bottom: none;
}
.scroll_item {
  width: 90%;
  max-width: 1600px;
  margin: auto;
}
.scroll_item_container {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.scroll_bloc_question {
  text-transform: uppercase;
  color: white;
  font-weight: bold;
  background: var(--orange);
  font-size: 16px;
  padding: 10px 15px;
  border-radius: 100px;
  height: 50px;
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 68%;
  justify-content: center;
}
.scroll_item_container h3 {
  line-height: 1.5em;
  font-weight: bold;
  font-size: 26px;
}
.scroll_item_divider {
  height: 2px;
  background: var(--main-blue);
  width: 100%;
  margin: 40px 0 60px 0;
}
.scroll_item_text_content {
  text-align: justify;
  color: var(--main-blue);
  font-size: 16px;
}
.scroll_item_text_content p {
  margin-bottom: 10px;
}

.scroll_item_text_content em {
  font-weight: bold;
  font-family: "Noto Serif Display";
  color: var(--main-blue);
}
.scroll_item_text_content_title {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.4em;
}
.scroll_item_grid_3_2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
}
.scroll_item_grid_col {
  border-radius: 40px;
}
.scroll_item_grid_col_with_image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  padding: 40px 20px;
}

.scroll_item_grid_col_1 {
  padding: 50px 0;
}
.scroll_col_title {
  font-size: 32px;
  line-height: 1.2em;
  font-weight: 800;
}
.scroll_col_subtitle {
  padding: 2px 5px;
  font-weight: light;
  font-size: 18px;
  display: inline-block;
  background: white;
  border-radius: 10px;
  text-align: left;
}
.scroll_conclusion {
  text-align: left;
  font-size: 28px;
  font-weight: 600;
  max-width: 80%;
  font-style: italic;
  margin: auto;
  max-width: 1200px;
  margin-top: 80px;
  line-height: 1.4em;
  position: relative;
}
.scroll_conclusion::after {
  position: absolute;
  content: "";
  height: 50px;
  width: 50px;
  background: url(/wp-content/uploads/2025/04/era-quote-blue-dark.svg);
  background-position: center center;
  background-repeat: no-repeat;
  left: -40px;
  top: -40px;
  opacity: 0.5;
}
.scroll_item_btn {
  margin-top: 15px;
  border: 2px solid var(--main-blue);
  color: var(--main-blue);
  border-radius: 50px;
  min-width: 150px;
  text-align: center;
  display: inline-block;
  padding: 10px;
  transition: var(--transition);
  position: relative;
}
.scroll_item_btn::after {
  content: "+";
  position: absolute;
  font-weight: 700;
  font-size: 24px;
  left: 125px;
  top: 7.5px;
  opacity: 0;
  transition: var(--transition);
}
.scroll_item_btn:hover {
  padding: 10px 20px 10px 10px;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(0, 0, 0, 0);
}
.scroll_item_btn:hover::after {
  opacity: 1;
}

.scroll_item .scroll_item_sub_title_content {
  /* color: var(--main-blue); */
  color: var(--gold);
  /* text-transform: uppercase; */
  font-weight: 500;
  margin-bottom: 10px;
  text-align: left;
  line-height: 1.2em;
  font-size: 24px;
}
.scroll_item .activity_title {
  font-size: 50px;
  margin-bottom: 50px;
  text-align: left;
  font-weight: bold;
}

.apexcharts-toolbar,
.apexcharts-data-labels rect {
  display: none !important;
}
.col_chart_module .apexcharts-datalabel {
  transform: translateY(-24px);
}

.quote_scholarships {
  position: relative;
}
.quote_scholarships::after {
  position: absolute;
  content: "";
  background-position: center;
  background-size: contain;
  height: 80px;
  width: 80px;
  opacity: 0.2;
  top: -15px;
  left: -85px;
  background-repeat: no-repeat !important;
}
.quote_scholarships_blue::after {
  background: url(/wp-content/uploads/2025/04/era-quote-blue.svg);
}
.quote_scholarships_blue_dark::after {
  background: url(/wp-content/uploads/2025/04/era-quote-blue-dark.svg);
}

@media screen and (min-width: 1600px) {
  .long_module_text.long_module_text_opened {
    max-height: 5000px;
  }
  .long_module_text_shorter.long_module_text_opened {
    max-height: 3000px;
  }
}

@media screen and (max-width: 1550px) {
  .scroll_item_grid_3_2 {
    gap: 50px;
  }
  .scroll_item_grid_col_with_image {
    padding: 40px 20px;
  }
}
@media screen and (min-width: 1441px) {
  #scroll_item_grid_col_with_image_scholarships {
    background-position: 0 -4vh;
  }
}
@media screen and (max-width: 980px) {
  .scroll_item_grid_3_2 {
    grid-template-columns: 1fr;
  }
  .scroll_item_grid_col_with_image {
    min-height: 70vh;
  }
  .scroll_item_container:first-child {
    grid-template-columns: 1fr;
  }
  .scroll_bloc_question {
    min-width: unset !important;
    margin-bottom: 15px;
  }
  .scroll_item_container h3 {
    font-size: 22px;
  }
  #page-container {
    overflow-x: hidden !important;
  }
}

@media (max-width: 479px) {
  .et_pb_section .et_pb_row .et_pb_column {
    margin-bottom: 10px !important;
  }
}
