.tiles {
    background: #FFF;
    width: 100%;
    position: relative;
}

.tiles-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tiles-card {
    background: #FFF;
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}

.tiles-card img,
.tiles-card .icon {
    width: auto;
    height: 32px;
    margin: 0 auto;
}


.tiles-card h2 {
    margin: 0;
    color: #14377d;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.03em;
}

.tiles-card p {
    margin: 0;
    color: #4d4d4d;
    font-size: 16px;
    line-height: 1.8125;
}

.tiles-card a {
    width: 100%;
    height: 48px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14377d;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #14377d;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.tiles-card a:hover {
    background: #14377d;
    color: #FFF;    
}

.tiles-reports {
    width: 100%;
    background: #ffebcd;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    scroll-margin-top: 120px;
}

.tiles-reports h2 {
    margin: 0 0 20px;
    color: #14377d;
    font-size: 30px;
}

.tiles-sample-reports {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}   

@media screen and (min-width: 768px) {
    .tiles-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .tiles-card {
        margin-top: 40px;
        padding: 36px;
    }

    .tiles-card img,
    .tiles-card .icon {
        margin: 0 auto 12px;
    }

    .tiles-card h2 {
        font-size: 35px;
    }

    .tiles-reports {
        margin: 36px 0;
        padding: 40px;
        scroll-margin-top: 120px;
    }

    .tiles-reports h2 {
        margin: 0 0 32px;
        font-size: 46px;
    }

    .tiles-sample-reports {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }   

}

@media screen and (min-width: 1200px) {
    .tiles-cards {
        gap: 0 36px;
         grid-template-columns: repeat(3, 1fr);
    }

    .tiles-sample-reports {
        grid-template-columns: repeat(5, 1fr);
        gap: 0 20px;
    } 

    .tiles-card {
        margin-top: -80px;
        padding: 36px;
    }
}

.tiles-report {
    background: #ffbd59;
    display: flex;
    align-items: center;
    gap: 0 16px;
    padding: 16px 10px 12px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.tiles-report img {
    display: inline-flex;
    width: 32px;
    height: auto;
    flex: 0 0 32px;
}

.tiles-report .icon {
    display: inline-flex;
    width: 32px;
    height: auto;
    flex: 0 0 32px;
}

.tiles-report span {
    color: #14377d;
    font-size: 16px;
}

.reports-modal {
    background: rgba(20,55,125,0.95);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.reports-modal--open {
    opacity: 1;
    visibility: visible;
}

.report {
    display: none;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 30px 60px 0 rgba(0,0,0,0.2);
}

.report img {
    max-height: 90vh;
    width: auto;
}

.report--active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    display: block;
    width: 80px;
    height: 80px;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.modal-close::before,
.modal-close::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #FFF;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(45deg);
    margin-left: -15px;
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-prev,
.modal-next {
    width: 80px;
    height: 80px;
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translate3d(0,-50% ,0);
    cursor: pointer;
}

.modal-prev:before,
.modal-next:before {
    content: '';
    width: 20px;
    height: 20px;
    border-style: solid;
    border-width: 0.25em 0.25em 0 0;
    border-color: #FFF;
    display: inline-block;
    position: relative;
    left: 32px;
    top: 28px;
    vertical-align: top;
    transform: rotate(-135deg);
}

.modal-next {
    left: auto;
    right: 20px;
}

.modal-next:before {
    left: 24px;
	transform: rotate(45deg);
}