/* Venula: nova stran kompresijsko zdravljenje — brez modrega zgornjega pasu */
.ven-komp {
    background: #fff;
    color: #293d4a;
    font-family: inherit
}

    .ven-komp * {
        box-sizing: border-box
    }

.ven-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 22px 64px
}

.ven-crumb {
    font-size: 13px;
    color: #75828b;
    margin-bottom: 26px
}

    .ven-crumb a {
        color: #53738a;
        text-decoration: none
    }

    .ven-crumb span {
        padding: 0 10px;
        color: #9aabb3
    }

.ven-intro h1 {
    font-size: clamp(29px,3.5vw,44px);
    line-height: 1.16;
    font-weight: 700;
    color: #173b54;
    margin: 0 0 18px
}

.ven-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #4d626e;
    max-width: 930px;
    margin: 0 0 25px
}

.ven-intro > img {
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #f7f8f8
}

.ven-index {
    padding-top: 42px
}

    .ven-index h2, .ven-details > h2 {
        font-size: 29px;
        color: #173b54;
        margin: 0 0 23px
    }

.ven-cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px
}

.ven-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e7ea;
    border-radius: 17px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 5px 20px rgba(27,58,73,.07);
    transition: transform .2s,box-shadow .2s
}

    .ven-card:hover, .ven-card:focus {
        transform: translateY(-4px);
        box-shadow: 0 11px 26px rgba(27,58,73,.13)
    }

    .ven-card > img {
        width: 100%;
        height: 195px;
        object-fit: contain;
        background: #f4f6f7;
        padding: 10px
    }

.ven-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
    gap: 10px
}

.ven-card strong {
    font-size: 19px;
    color: #173b54;
    line-height: 1.25
}

.ven-card small {
    font-size: 14px;
    color: #5c6e78;
    line-height: 1.5
}

.ven-more {
    margin-top: auto;
    padding-top: 9px;
    font-weight: 700;
    font-size: 14px;
    color: #2876a3
}

.ven-details {
    margin-top: 65px
}

.ven-topic {
    scroll-margin-top: 35px;
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(210px,.8fr);
    gap: 30px;
    align-items: start;
    border-top: 1px solid #e6ecee;
    padding: 30px 0
}

    .ven-topic h3 {
        font-size: 25px;
        color: #173b54;
        line-height: 1.25;
        margin: 0 0 15px
    }

    .ven-topic p {
        font-size: 16px;
        line-height: 1.8;
        color: #455a67;
        margin: 0 0 14px
    }

    .ven-topic a {
        color: #1673a4;
        text-decoration: underline
    }

    .ven-topic > img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        border-radius: 12px;
        background: #f7f9fa
    }

.ven-pills {
    list-style: none;
    margin: 14px 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px
}

    .ven-pills li {
        position: relative;
        padding: 12px 13px 12px 37px;
        border: 1px solid #e2e9ed;
        border-radius: 10px;
        background: #f6f9fa;
        color: #324d5e;
        font-size: 15px;
        line-height: 1.45
    }

        .ven-pills li:before {
            content: '✓';
            position: absolute;
            left: 14px;
            color: #2181a6;
            font-weight: 800
        }

.ven-levels {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px;
    margin: 17px 0
}

    .ven-levels > div {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
        background: #f6f9fa;
        border: 1px solid #e2e9ed;
        border-radius: 10px;
        padding: 14px
    }

    .ven-levels b {
        color: #173b54
    }

    .ven-levels strong {
        color: #286e92;
        white-space: nowrap
    }

.ven-note {
    font-size: 14px !important;
    color: #667b86 !important
}

.ven-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 15px 0
}

    .ven-pair figure {
        margin: 0;
        background: #f7f9fa;
        border-radius: 12px;
        padding: 12px;
        text-align: center
    }

    .ven-pair img {
        max-width: 100%;
        height: 150px;
        object-fit: contain
    }

    .ven-pair figcaption {
        font-size: 13px;
        color: #526a79;
        margin-top: 5px
    }

.ven-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border: 1px solid #dfe9ed;
    background: #f5f9fa;
    border-radius: 17px;
    padding: 25px 30px;
    margin-top: 35px
}

    .ven-cta h2 {
        font-size: 23px;
        color: #173b54;
        margin: 0 0 8px
    }

    .ven-cta p {
        margin: 0;
        color: #546b79;
        line-height: 1.5
    }

    .ven-cta a {
        display: inline-block;
        background: #1a719e;
        color: white !important;
        border-radius: 10px;
        padding: 13px 20px;
        text-decoration: none !important;
        font-weight: 700;
        white-space: nowrap
    }

@media(max-width:850px) {
    .ven-cards {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .ven-topic {
        grid-template-columns: 1fr
    }

        .ven-topic > img {
            max-width: 420px
        }
}

@media(max-width:560px) {
    .ven-wrap {
        padding: 18px 13px 38px
    }

    .ven-cards {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .ven-card > img {
        height: 210px
    }

    .ven-pills, .ven-levels {
        grid-template-columns: 1fr
    }

    .ven-cta {
        flex-direction: column;
        align-items: flex-start
    }

        .ven-cta a {
            white-space: normal
        }

    .ven-intro p {
        font-size: 16px
    }

    .ven-index h2, .ven-details > h2 {
        font-size: 25px
    }
}

/* Fotografije v karticah brez umetnih sivih robov */
.ven-card > img {
    object-fit: cover;
    padding: 0;
    background: #fff
}

/* Dodatni navigacijski gradniki */
.ven-komp .ven-navigation-widgets {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    margin: 28px 0
}

@media(max-width:700px) {
    .ven-komp .ven-navigation-widgets {
        grid-template-columns: 1fr
    }
}

/* v5: uvodna fotografija zapolni celotno širino, brez sivih stranskih robov */
.ven-komp .ven-intro > img {
    width: 100%;
    height: clamp(280px,37vw,480px);
    max-height: none;
    object-fit: cover;
    object-position: center center;
    background: transparent;
}

@media(max-width:600px) {
    .ven-komp .ven-intro > img {
        height: 270px;
        object-position: 50% 50%;
    }
}

/* Verzija 7: obojestranska poravnava besedila in celotna uvodna fotografija */
.ven-komp .ven-intro p, .ven-komp .ven-topic p, .ven-komp .ven-topic li, .ven-komp .ven-card small, .ven-komp .ven-cta p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.ven-komp .ven-intro > img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    background: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media(max-width:600px) {
    .ven-komp .ven-intro > img {
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center center;
    }
}
