.tile {
    min-height: 600px;
    position: relative;
}
.tile.horizontal {
    min-height: initial;
    position: relative;
    min-height: 600px;
    height: 100%;
}
.goal .tile {
    min-height: 400px;
}

.tile.board p {
    line-height: 1;
    margin-bottom: 10px;
}

.tile .item-content-wrapper {
    position: relative;
    width: 100%;
    height: 90%;
    transition: transform 1.5s ease-in-out;
    transform-style: preserve-3d;
    background-color: transparent;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.tile.horizontal .item-content-wrapper {
    height: 100%;
}

.tile .face-a,
.tile .item-content-wrapper .face-b {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    overflow: hidden;
    /* background: 0 0 / 1920px 1080px no-repeat; */
}

.tile .item-content-wrapper .face-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    z-index: -1;
    backface-visibility: hidden;
}
.tile.horizontal .item-content-wrapper .face-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;
    flex-direction: column;
}
.tile.horizontal .item-content-wrapper .face-a .image-cover img {
    min-width: 410px;
    object-fit: cover;
}
.tile .item-content-wrapper .face-b {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transform: rotateY(180deg);
    text-align: left;
    /* background-image: url(../img/jpg/pink-tiles.jpg); */
}
.tile.horizontal .item-content-wrapper .face-b {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transform: rotateY(180deg);
    text-align: left;
}
.tile.horizontal .item-content-wrapper .face-b p {
    line-height: 1.2;
}

.Sustainability .tile .item-content-wrapper .face-b {
    height: 100%;
}
.Sustainability .tile .item-content-wrapper h4 {
    margin-top: 0;
}

.tile.board .item-content-wrapper,
.tile.board .item-content-wrapper .face-b {
    height: 100%;
}
.board .tile .item-content-wrapper .face-b p {
    font-size: 14px;
}
.board .tile .tile-profile img,
.executive .tile .tile-profile img {
    max-height: 410px;
    max-width: 410px;
}
.goal .tile .item-content-wrapper .face-b {
    height: 100%;
}
.goal .tile .item-content-wrapper .face-a {
    height: 100%;
}
.tile .intro-text {
    line-height: 35px;
}

/* On Active */
.tile.active .item-content-wrapper {
    transform: rotateY(-180deg);
}
.tile.active .item-content-wrapper .face-b {
    backface-visibility: hidden;
}

@media (max-width: 566px) {
    .board .tile,
    .executive .tile {
        max-width: 410px;
    }
    .Sustainability .tile {
        min-height: 250px;
    }
    .Sustainability .flip-front-content {
        height: 100%;
        min-height: 220px;
        position: relative;
    }
}

@media (min-width: 567px) {
    .tile .item-content-wrapper .face-a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; 
        z-index: 1;
        display: flex;
    }
    .board .tile .item-content-wrapper .face-a,
    .executive .tile .item-content-wrapper .face-a {
        max-height: 410px;
    }
    .board .tile .item-content-wrapper .face-b p {
        font-size: 14px;
    }
    .tile {
        min-height: 350px;
        position: relative;
    }
    .board .tile,
    .executive .tile {
        min-height: 350px;
        margin-bottom: 100px;
    }
    .board .tile .tile-profile img,
    .executive .tile .tile-profile img {
        min-height: 410px;
        min-width: 410px;
        max-height: initial;
        max-width: initial;
    }
    .tile .flip-front-content {
        height: 100%;
        width: 100%;
        min-height: 150px;
        position: relative;
    }
    .tile.board .item-content-wrapper .face-b {
        height: 90%;
    }
}

@media (min-width: 767px) {
    .tile.horizontal {
        max-height: 400px;
        min-height: initial;
    }
    .tile.horizontal .item-content-wrapper .face-a {
        flex-direction: row;
    }
    .tile.horizontal .item-content-wrapper .face-b p {
        line-height: initial;
    }
    .tile.horizontal .item-content-wrapper .face-a .image-cover img {
        min-width: 410px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1024px) {
    .tile {
        min-height: 600px;
        position: relative;
    }
    .home .tile {
        min-height: 600px;
    }
    .goal .tile {
        min-height: 450px;
    }
    .Sustainability .tile {
        min-height: 210px;
    }
    .investors .tile {
        min-height: 600px;
    }
    .governance .tile {
        min-height: 600px;
    }
    .goal .tile .flip-front-content {
        min-height: 450px;
    }
    .tile .item-content-wrapper .face-a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%; 
        z-index: -1;
        flex-direction: column;
    }
    .board .tile .flip-front-content,
    .executive .tile .flip-front-content {
        width: 100%;
    }
    .board .tile .item-content-wrapper .face-a,
    .executive .tile .item-content-wrapper .face-a {
        min-height: 600px;
        max-height: initial;
    }
    .board .tile .item-content-wrapper .face-b p {
        font-size: 19px;
        line-height: 1.1;
    }
    .tile.board .item-content-wrapper .face-b {
        height: 100%;
        min-height: 550px; 
    }
    .tile.board .item-content-wrapper {
        height: 90%;
    }
    .goal .tile .item-content-wrapper {
        height: 100%;
        min-height: 450px;
    }
    .goal .tile .item-content-wrapper .face-a {
        min-height: 450px;
    }
    .overflow-tile-content {
        overflow-y: scroll;
        min-height: 420px;
        max-height: 480px;
        height: 58vh;
        margin-right: 1rem;
        margin-top: 1rem;
    }
    .goal .overflow-tile-content {
        overflow-y: scroll;
        min-height: 340px;
        max-height: 450px;
        height: 40vh;
        margin-right: 1rem;
        margin-top: 1rem;
    }
      /* Webkit-based browsers (Chrome, Safari) */
    /* Thin track */
    .overflow-tile-content::-webkit-scrollbar {
        width: 7px;
      }
      
      /* Scrollbar track */
      .overflow-tile-content::-webkit-scrollbar-track {
        background-color: #F6F6F1;
        border-radius: 6px;
      }
      
      /* Scrollbar thumb */
      .overflow-tile-content::-webkit-scrollbar-thumb {
        background-color: #DADADA;
        border-radius: 6px;
      }
}

@media (min-width: 1200px) {
    .tile .flip-front-content {
        width: 100%;
    }
}