.cdt-page-tiles {
    display: flex;
    flex-wrap: wrap;
    margin: 2em 0;
}

.cdt-page-tile {
    width: calc((100% - 40px) / 3);
    background-color: var(--white-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.cdt-page-tile:not(:nth-child(3n)) {
    margin-right: 20px;
}

.cdt-page-tile-header {
    display: flex;
    align-items: center;
    height: 69px;
    background-color: var(--blue-primary-color);
    transition: all 0.2s ease-out;
    padding: 0 20px;
}

.cdt-page-tile:hover .cdt-page-tile-header {
    background-color: var(--red-primary-color);
}

.cdt-page-tile-header h3 {
    margin: 0;
    font-family: "Teko", sans-serif;
    font-size: 1.25em;
    font-weight: normal;
    color: var(--white-color);
    transition: all 0.2s ease-out;
    letter-spacing: 0.4px;
}

.cdt-page-tile a {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.cdt-page-tile-content {
    padding: 24px 18px;
    font-size: 0.875em;
}

.cdt-page-tile-content p:first-child{
    margin-top: 0;
}

.cdt-page-tile-content p:last-child{
    margin-bottom: 0;
}

@media only screen and (max-width: 1120px) {
    .cdt-page-tile {
        width: calc((100% - 20px) / 2);
    }
    .cdt-page-tile:not(:nth-child(3n)) {
        margin-right: 0;
    }
    .cdt-page-tile:not(:nth-child(2n)) {
        margin-right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .cdt-page-tile {
        width: 100%;
    }

    .cdt-page-tile:not(:nth-child(2n)) {
        margin-right: 0;
    }

    .cdt-page-tile-header {
        height: auto;
        padding: 10px 20px;
    }
}
