/* Unified direction cards on the four root medical section pages. */
.wmt-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 20px;
    margin: 30px 0 40px;
}

.wmt-sections-card {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 100px;
    padding: 17px 25px;
    overflow: hidden;
    border: 2px solid #66cccc;
    border-radius: 15px;
    background: #fff;
    color: #000;
}

.wmt-sections-card:hover {
    border-color: #8ce0e0;
    background: #eafcfc;
    box-shadow: 4px 4px 4px rgba(102, 204, 204, .15);
    color: #000;
    text-decoration: none;
}

.wmt-sections-card:focus-visible {
    outline: 3px solid #117b80;
    outline-offset: 3px;
}

.wmt-sections-card__icon {
    flex: 0 0 35%;
    box-sizing: border-box;
    width: 35%;
    height: 65px;
    margin-right: 10px;
}

.wmt-sections-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wmt-sections-card__title {
    min-width: 0;
    font-family: 'PF DinDisplay Pro', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .wmt-sections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .wmt-sections-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .wmt-sections-card {
        min-height: 80px;
        padding: 10px 20px;
    }

    .wmt-sections-card__icon {
        flex-basis: 30%;
        width: 30%;
        height: 55px;
    }

    .wmt-sections-card__title {
        font-size: 16px;
        line-height: 22px;
    }
}
