﻿.custom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .custom-card img {
        max-width: 100%;
        height: auto;
    }

.custom-card-body {
    padding: 15px;
    background-color: #fff;
    flex-grow: 1;
}

.polska-card-text {
    position: relative;
    font-size: 0.9rem;
    color: #333;
}

.polska-text-full {
    display: none;
}

.card img {
    height: 354px;
    object-fit: cover;
}

    .card img.small-height-img {
        height: 170px;
    }

.read-more {
    display: inline-block;
    font-size: 0.7rem;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.2s;
}

    .read-more:hover {
        color: #333;
    }

.btn-custom {
    background-color: #fff;
    color: #000;
    border: none;
}

.btn-white-square {
    background-color: white;
    color: black;
    border: none;
    border-radius: 0;
    font-weight: 500;
    text-align: left;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s;
}


.custom-card-body p.text-uppercase {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.season-label {
    font-size: 0.75rem;
    color: #8b8787;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.card:hover .card-body {
    background-color: var(--card-hover-bg, transparent);
}

.slider .responsive-image:hover img {
    transform: none !important;
    filter: none !important;
}

.channels-article-block .responsive-image:hover img {
    transform: none !important;
    transition: none !important;
}

.channels-article-block:hover, .channels-article-block:focus {
    box-shadow: none !important;
    outline: none !important;
    z-index: auto !important;
}

    .channels-article-block:hover .lifter, .channels-article-block:focus .lifter {
        background: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
        z-index: auto !important;
    }

.article-block_meta:hover, .article-block_meta:focus {
    box-shadow: none !important;
    outline: none !important;
    z-index: auto !important;
}

    .article-block_meta:hover .text-holder, .article-block_meta:focus .text-holder {
        background: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        transform: none !important;
        filter: none !important;
        z-index: auto !important;
    }

.padding-bottom {
    padding-bottom: 0rem;
}

.twoxtwo {
    background-size: cover;
    object-fit: contain !important;
    max-width: 100%;
    width: 100%;
    height: auto !important;
    max-height: none;
    margin-bottom: 16px;
}

@media (max-width:767px){
    .card img.small-height-img {
    height: auto;
}
    }
