/* Fitsport: straipsnių kortelės (titulinis, straipsnių sąrašai) – v1.0.0 */
.box.post-module.fs-art-module {
    display: block;
    width: 100%;
}

.fs-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(260px, calc((100% - 48px) / 3)), 1fr));
    gap: 24px;
    clear: both;
    margin: 0;
    padding: 0;
}

.fs-art-cards .fs-art {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    background: #fff;
    text-align: left;
}

.fs-art-cards .fs-art-ph {
    display: block;
    max-width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #eef0f3;
}

.fs-art-cards .fs-art-ph img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .3s;
}

.fs-art-cards .fs-art:hover .fs-art-ph img {
    transform: scale(1.03);
}

.fs-art-cards .fs-art-bd {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 18px 20px 20px;
}

.fs-art-cards .fs-art-title {
    display: -webkit-box;
    height: 52px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: none;
    color: #1f2328;
    font: 400 19px/26px 'Oswald', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fs-art-cards .fs-art-title::before {
    display: none;
}

.fs-art-cards .fs-art-title a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.fs-art-cards .fs-art-title a:hover {
    color: #1b78c2;
}

.fs-art-cards .fs-art-text {
    display: -webkit-box;
    margin: 8px 0 0;
    padding: 0;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fs-art-cards .fs-art-more {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    color: #1b78c2;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.fs-art-cards .fs-art-more:hover {
    color: #145f9c;
}

.fs-art-cards .fs-art-more svg {
    flex: none;
    width: 12px;
    height: 12px;
}

.fs-art-all {
    display: flex;
    justify-content: center;
    clear: both;
    margin: 28px 0 0;
}

.fs-art-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #1b78c2;
    border-radius: 6px;
    background: #fff;
    color: #1b78c2;
    font: 400 15px/1 'Oswald', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: .4px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.fs-art-all a:hover {
    background: #1b78c2;
    color: #fff;
}

.fs-art-all svg {
    flex: none;
    width: 9px;
    height: 14px;
}

.fs-art-list {
    margin-bottom: 24px;
}

/* Šoninėje kolonoje – vienas stulpelis */
.side-column .fs-art-grid {
    grid-template-columns: minmax(0, 1fr);
}

.fs-art-cards.owl-carousel .fs-art {
    margin: 0 8px;
}

@media (max-width: 760px) {
    .fs-art-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .fs-art-cards .fs-art {
        flex-direction: row;
    }

    .fs-art-cards .fs-art-ph {
        flex: none;
        align-self: stretch;
        width: 120px;
        aspect-ratio: auto;
    }

    .fs-art-cards .fs-art-bd {
        padding: 12px 14px;
    }

    .fs-art-cards .fs-art-title {
        height: auto;
        font-size: 17px;
        line-height: 23px;
        -webkit-line-clamp: 3;
    }

    .fs-art-cards .fs-art-text {
        display: none;
    }

    .fs-art-cards .fs-art-more {
        padding-top: 8px;
        font-size: 13px;
    }

    .fs-art-all {
        margin-top: 20px;
    }

    .fs-art-all a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fs-art-cards .fs-art-ph img,
    .fs-art-all a {
        transition: none;
    }
}
