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

/* Right align block */
.ml25-content-block-right-align {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align items to the right */
}

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

/* Page list */
.ml25-page-list-container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: 32px;
}

.ml25-page-list-item {
    width: calc(50% - 16px); /* Adjust width to fit two items per row with gap */
    min-height: 400px;
    background-color: white;
    margin-bottom: 32px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.ml25-page-list-item.fullWidth {
    width: 100%;
}

@media (max-width: 600px) {
    .ml25-page-list-item {
        width: 100%;
        /* height: auto; */
        margin-bottom: 16px;
    }
}

.ml25-page-list-item .page-list-header-container {
    flex: 0 0 auto; /* Don't grow or shrink */
    min-height: 120px; /* Set a minimum height - adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (max-width: 1000px) {
  .ml25-page-list-item .page-list-header-container {
    min-height: 140px; /* Adjust minimum height for smaller screens */
  }
}
@media (max-width: 600px) {
  .ml25-page-list-item .page-list-header-container {
    min-height: 1px; /* Adjust minimum height for smaller screens */
  }
}

.ml25-page-list-item .img-container {
    width: 100%;
    aspect-ratio: 5 / 3; /* Maintain square aspect ratio */
    overflow: hidden;
}

.ml25-page-list-item .img-container.fullWidth {
  aspect-ratio: 2 / 1;;
}

.ml25-page-list-item .btn-container {
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  width: 20%;
  min-width: 140px;
}



.ml25-page-list-item img {
    width: 100%;
    height: auto;
    display: block;
    /* height: 100px; */
    /* max-height: 300px;
    max-width: 100%; */
}

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

.ml25-image-block-container {
    display: grid;
    grid-template-columns: 50% 1fr;
    /* padding-top: 32px; */
    /* min-height: 400px; */
}

.ml25-image-block-text {
  grid-column: 1; /* First column */
  grid-row: 1;    /* First row */
  padding-right: 16px;
}
.ml25-image-block-text.mirrored {
  grid-column: 2;
  padding-left: 16px;
}

/* Mobile layout */
@media (max-width: 600px) {
  .ml25-image-block-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; */
  }

  .ml25-image-block-text.mirrored {
    grid-column: 1;
  }
}

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

.ml25-info-block-container {
    display: grid;
    grid-template-columns: 50% 1fr;
    /* padding-top: 32px; */
    min-height: 400px;
}

.ml25-info-block-top-text {
  grid-column: 1; /* First column */
  grid-row: 1;    /* First row */
  padding-right: 16px;
  /* margin-top: 16px; */
  /* font-family: 'Figtree', sans-serif;
  font-weight: 400;
  font-size: 22px; */
}
.ml25-info-block-top-text.mirrored {
  grid-column: 2;
  padding-left: 16px;
}
.ml25-info-block-top-text > div{
  display: flex;
  align-items: center;
  gap: 16px; /* Optional: adds space between divs */
}

.ml25-info-block-center-text {
  grid-column: 1; /* First column */
  grid-row: 2;    /* First row */
  padding-right: 16px;

  display: flex;
  align-items: center; 
}
.ml25-info-block-center-text.mirrored {
  grid-column: 2;
  padding-left: 16px;
}
  
.ml25-info-block-bottom-text {
  grid-column: 1; /* First column */
  grid-row: 3;    /* Second row */
  margin-top: auto;
  padding-right: 16px;
  /* font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 55px; */
}
.ml25-info-block-bottom-text.mirrored {
  grid-column: 2;
  padding-left: 16px;
}

.ml25-info-block-image {
  grid-column: 2; /* Second column */
  grid-row: 1 / span 3;    /* Span rows 1 and 2 */
}
.ml25-info-block-image.mirrored {
  grid-column: 1;
}


@media (min-width: 600px) {

  .ml25-info-block-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ml25-info-block-image img {
    width: 100%;
    height: auto;
  }
}

/* Mobile layout */
@media (max-width: 600px) {
  .ml25-info-block-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; */
  }

  .ml25-info-block-top-text.mirrored {
    grid-column: 1;
  }

  .ml25-info-block-center-text.mirrored {
    grid-column: 1;
  }

  .ml25-info-block-bottom-text.mirrored {
    grid-column: 1;
  }
  
  .ml25-info-block-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-info-block-image.mirrored {
    grid-column: 1;
  }

  .ml25-info-block-image img {
    width: 100%;
    height: auto;
  }

  .ml25-info-block-center-text {
    grid-column: 1 / 2;
      grid-row: 3 / 4; /* Bottom */
      font-size: 45px;
  }

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

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

/* Page list */
.ml25-column-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
}

.ml25-column-list-item {
    width: calc(50% - 32px); /* Adjust width to fit two items per row with gap */
    /* min-height: 400px; */
    margin-bottom: 32px;
    /* padding: 16px; */
    /* display: flex; */
    /* flex-direction: column; */
}

.ml25-column-list-item.fullWidth {
    width: 100%;
}

@media (max-width: 600px) {
    .ml25-column-list-item {
        width: 100%;
        /* height: auto; */
        margin-bottom: 16px;
    }
}

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