/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
.ml25-frontpage-header-container-bg {
  background-color: var(--brand-white);
  /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle cx='1' cy='1' r='1' fill='gray' /></svg>");
  background-repeat: repeat; */
}

@media (min-width: 600px) {
  .ml25-frontpage-header-container-bg {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle cx='1' cy='1' r='1' fill='gray' /></svg>");
    background-repeat: repeat;
  }
}

.ml25-frontpage-header-container {
    display: grid;
    grid-template-columns: 50% 1fr;
    padding-top: 32px;
    min-height: 400px;;
}

.ml25-frontpage-header-top-text {
  grid-column: 1; /* First column */
  grid-row: 1;    /* First row */
  /* margin-top: 16px; */
  font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 22px;
}
.ml25-frontpage-header-top-text > .content {
  width: 60%;
}
  
.ml25-frontpage-header-bottom-text {
  grid-column: 1; /* First column */
  grid-row: 2;    /* Second row */
  margin-top: auto;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 55px;
}

.ml25-frontpage-header-image {
  grid-column: 2; /* Second column */
  grid-row: 1 / span 2;    /* Span rows 1 and 2 */
   
}


@media (min-width: 600px) {

  .ml25-frontpage-header-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ml25-frontpage-header-image img {
    width: 55%;
    height: auto;
  }
}

/* Mobile layout */
@media (max-width: 600px) {
  .ml25-frontpage-header-container {
    grid-template-columns: 1fr; /* Single column */
    /* Reset rows or let them flow automatically */
    grid-template-rows:  auto auto auto; /* Define rows for ordering */
    /* padding-right: 16px; */
  }

  /* Explicitly set grid positions for mobile order */
  .ml25-frontpage-header-header {
      grid-column: 1 / 2;
      grid-row: 1 / 2; /* Top */
  }

  .ml25-frontpage-header-image { /* Move Div 3 to the middle */
      grid-column: 1 / 2;
      grid-row: 2 / 3; /* Center */
      /* margin-top: 32px;
      margin-bottom: 32px; */
      margin: 32px 0;
  }

  .ml25-frontpage-header-image img {
    width: 100%;
    height: auto;
  }

  .ml25-frontpage-header-bottom-text { /* Move Div 2 to the bottom */
      grid-column: 1 / 2;
      grid-row: 3 / 4; /* Bottom */
      font-size: 45px;
  }
}

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
.ml25-frontpage-main-image-container {
  position: relative;
  max-height: 700px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}

.ml25-frontpage-main-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.ml25-frontpage-main-image-container > .overlay-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  top: 10px;
  right: 10px;
  width: calc(100% - 20px);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}

.ml25-frontpage-main-image-container .top-right-text {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  pointer-events: auto;
  width: 40%;
}

@media (max-width: 1000px) {
  .ml25-frontpage-main-image-container {
    max-height: 1000px;
  }
  .ml25-frontpage-main-image-container > .overlay-container {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    background-color: black;
    margin-top: 0;
  }
  
  .ml25-frontpage-main-image-container .top-right-text {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    padding: 20px;
  }
}


/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* Fancy text */
.ml25-frontpage-fancy-container-bg {
  background-color: var(--brand-black);
  color: var(--brand-white);
}

.ml25-frontpage-fancy-container-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  /* padding-bottom: 32px; */
}

.ml25-frontpage-fancy-container-1 > div {
  width: calc(50% - 16px); /* Adjust width to fit two items per row with gap */
}
@media (max-width: 800px) {
  .ml25-frontpage-fancy-container-1 > div {
    width: 100%; /* Full width on smaller screens */
  }
}

.ml25-frontpage-fancy-container-2 {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 32px;
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
  margin: 64px 0;
  /* justify-content: flex-end; */
}

.ml25-frontpage-fancy-container-2 .frontend-fancy-dot {
  margin-bottom: 16px;
  /* background-color: var(--brand-signal-green); */
}
.ml25-frontpage-fancy-container-2 .frontend-fancy-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  background-color: var(--brand-white);
}

.ml25-frontpage-fancy-container-2 .frontend-fancy-dot.green::before {
  background-color: var(--brand-signal-green);
}

.ml25-frontpage-fancy-container-2.left {
  justify-content: flex-start;
}
.ml25-frontpage-fancy-container-2.center {
  justify-content: center;
}
.ml25-frontpage-fancy-container-2.right {
  justify-content: flex-end;
}

.ml25-frontpage-fancy-container-2 > div {
  width: 33%;
}
@media (max-width: 800px) {
  .ml25-frontpage-fancy-container-2 > div {
    width: 100%; /* Full width on smaller screens */
  }
}

.ml25-reveal {
    opacity: 0;
    /* transform: translateY(75px); */
    transform: translateY(150px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ml25-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

