/* Mehanizmi nastanka krčnih žil – samostojni slogi */
.mehanizmi-page .grid-row {
    max-width: 1200px;
    margin: 0 auto;
}

.mehanizmi-intro {
    margin: 0 0 28px;
}

    .mehanizmi-intro h2, .mehanizmi-info h2 {
        margin: 0 0 14px;
        color: #244e74;
        font-size: 27px;
        line-height: 1.3;
    }

    .mehanizmi-intro p, .mehanizmi-info p {
        font-size: 17px;
        line-height: 1.75;
        margin: 0;
    }

.mehanizmi-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    margin: 28px 0 34px;
}

.mehanizmi-card {
    overflow: hidden;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(24,58,89,.07);
}

    .mehanizmi-card img {
        display: block;
        width: 100%;
        height: 245px;
        object-fit: contain;
        background: #f7f9fb;
    }

.mehanizmi-card-body {
    padding: 22px;
}

.mehanizmi-card h3 {
    font-size: 21px;
    line-height: 1.35;
    color: #244e74;
    margin: 0 0 12px;
}

.mehanizmi-card p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.mehanizmi-link {
    font-weight: 600;
    color: #146a9a;
    text-decoration: none;
}

    .mehanizmi-link:hover {
        text-decoration: underline;
    }

.mehanizmi-info {
    padding: 25px 28px;
    margin-bottom: 34px;
    background: #f5f9fc;
    border: 1px solid #dce6ee;
    border-radius: 12px;
}

.mehanizmi-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

    .mehanizmi-actions a {
        display: inline-block;
        padding: 12px 19px;
        border-radius: 7px;
        background: #22628d;
        color: white;
        text-decoration: none;
        font-weight: 600;
    }

        .mehanizmi-actions a:hover {
            background: #174969;
            color: white;
        }

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

@media(max-width:640px) {
    .mehanizmi-grid {
        grid-template-columns: 1fr;
    }

    .mehanizmi-info {
        padding: 20px;
    }

    .mehanizmi-actions a {
        width: 100%;
        text-align: center;
    }
}

.mehanizmi-note {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 28px;
    color: #526578
}

.mehanizmi-card img {
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box
}

.mehanizmi-card-body {
    height: auto
}

.mehanizmi-illustrations {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    margin: 24px 0 34px
}

    .mehanizmi-illustrations figure {
        margin: 0;
        background: #f6faff;
        border: 1px solid #dce6ee;
        border-radius: 12px;
        overflow: hidden
    }

    .mehanizmi-illustrations img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        display: block
    }

    .mehanizmi-illustrations figcaption {
        padding: 14px 18px;
        font-size: 16px;
        line-height: 1.5
    }

.mehanizmi-steps {
    margin: 0;
    padding-left: 24px;
    font-size: 17px;
    line-height: 1.8
}

    .mehanizmi-steps li {
        padding: 5px 0
    }

@media(max-width:700px) {
    .mehanizmi-illustrations {
        grid-template-columns: 1fr
    }

        .mehanizmi-illustrations img {
            height: auto
        }
}

/* v6: štiri kartice 2 × 2 in nevtralni naslovi */
.mehanizmi-page .mehanizmi-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 28px !important;
    column-gap: 28px !important;
    row-gap: 30px !important;
    margin: 30px 0 40px !important;
}

.mehanizmi-page .mehanizmi-card {
    margin: 0 !important;
    min-width: 0;
    float: none !important;
    display: flex;
    flex-direction: column;
}

.mehanizmi-page .mehanizmi-card-body {
    flex: 1;
}

.mehanizmi-page .mehanizmi-intro h2, .mehanizmi-page .mehanizmi-info h2, .mehanizmi-page .mehanizmi-card h3 {
    color: #242b33 !important;
}

.mehanizmi-page .mehanizmi-number {
    background: #444 !important;
}

.mehanizmi-page .mehanizmi-treatment-grid {
    gap: 24px !important;
}

.mehanizmi-page .mehanizmi-cta {
    clear: both;
    width: 100%;
    margin-top: 38px;
}

@media(max-width:640px) {
    .mehanizmi-page .mehanizmi-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
}
