.card-blog {
    margin-bottom: 30px;

    .card-wrap {
        .img-wrap {
            position: relative;
            margin-bottom: 18px;

            .tag {
                position: absolute;
                top: 0;
                left: 0;
                font: italic 600 24px/1.333334 $font-family-secondary;
                letter-spacing: -0.5px;
                background: linear-gradient(180deg, #f9ed33 0%, #f1b434 100%);
                padding: 4px 8px;
                color: $text;
                text-transform: uppercase;
            }
        }

        .text-wrap {
            font-size: 16px;
            line-height: 1.5;
            h3 {
                font-size: 32px;
                line-height: 1.3125;
                margin-bottom: 4px;
                text-transform: uppercase;
            }

            p {
                margin-bottom: 20px;
            }
        }
    }
}

.card-tv {
    margin-bottom: 32px;

    .card-wrap {
        .img-wrap {
            position: relative;
            margin-bottom: 18px;

            > img {
                aspect-ratio: 16 / 9;
                background-color: $border-color;
                object-fit: cover;
                width: 100%;
            }

            .tag {
                position: absolute;
                top: 0;
                left: 0;
                font: italic 600 24px/1.333334 $font-family-secondary;
                letter-spacing: -0.5px;
                background: linear-gradient(180deg, #f9ed33 0%, #f1b434 100%);
                padding: 4px 8px;
                color: $text;
                text-transform: uppercase;
            }

            .btn-play {
                filter: drop-shadow(0 0 20px #000000);
                height: 52px;
                left: 50%;
                position: absolute;
                top: 50%;
                transform: translate(-50%, -50%);
                width: 52px;
                z-index: 1;
                transition: transform 0.3s ease;

                &:hover,
                &:focus {
                    opacity: 1 !important;
                    transform: translate(-50%, -50%) scale(1.2);
                }
            }
        }

        .text-wrap {
            font-size: 16px;
            line-height: 1.5;
            h3 {
                font-size: 32px;
                line-height: 1.3125;
                margin-bottom: 4px;
                text-transform: uppercase;
            }

            .by {
                display: block;
                margin-bottom: 20px;
            }

            p {
                margin-bottom: 20px;
            }

            ul {
                @extend %listreset;

                margin-bottom: 16px;

                li {
                    margin-bottom: 0;
                }
            }
        }
    }
}

.card-program {
    margin-bottom: 32px;

    .card-wrap {
        .img-wrap {
            position: relative;
            margin-bottom: 18px;

            img {
                aspect-ratio: 12 / 9;
                object-fit: cover;
                width: 100%;
            }
        }

        .text-wrap {
            font-size: 16px;
            line-height: 1.5;
            h3 {
                font-size: 32px;
                line-height: 1.3125;
                margin-bottom: 4px;
                text-transform: uppercase;
                letter-spacing: -0.5px;
            }

            p {
                margin-bottom: 20px;
            }
        }
    }
}

.section.related-shop.bg-yellow-gradient {
    .title.text-center {
        margin-bottom: 2.2rem;
        opacity: 0.9;
        word-spacing: 0.4rem;
    }
}

.card-wrap {
    .text-wrap {
        padding: 2px;
    }

    h3,
    h4,
    h5,
    p {
        transition: color 0.2s ease;
    }

    h3 {
        line-height: 1;
        margin: 0.5rem 0;
    }

    h4 {
        margin-bottom: 0;
        opacity: 0.85;
    }
}

a.card-wrap {
    display: block;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: background-color 0.2s ease;

    &:hover,
    &:active,
    &:focus {
        background-color: $black;

        h3,
        h4,
        h5,
        p {
            color: $yellow !important;
        }
    }
}

.blog-listing {
    padding: 42px 0;
}

.filter-block {
    ul {
        @extend %listreset;
        margin-bottom: 40px;

        li {
            display: inline-flex;
            margin-right: 15px;

            &:last-child {
                margin-right: 0;
            }

            a {
                display: block;
                padding: 1px;
                text-transform: uppercase;
                color: $mid-grey;
                background: linear-gradient(180deg, #f9ed33 0%, #f1b434 100%);
                font: italic 600 24px/1.333334 $font-family-secondary;
                letter-spacing: -0.5px;
                position: relative;
                transition: 0.3s ease;

                span {
                    display: block;
                    background: $white;
                    padding: 10px 13px;
                    transition: 0.3s ease;
                }

                &:hover,
                &.active {
                    color: $text;

                    span {
                        text-decoration: none;
                        border: none;
                        background: transparent;
                    }
                }
            }
        }
    }
}

.listing-with-sidebar {
    padding: 42px 0;
    @include breakpoint(lg) {
        padding: 60px 0;
    }

    .col-sidebar {
        margin-bottom: 40px;

        @include breakpoint(md) {
            margin-bottom: 0;
        }

        .search-wrap {
            margin-bottom: 22px;
        }

        input[type='search'] {
            background: url('assets/images/icon-search.svg') no-repeat;
            background-size: 24px 24px;
            background-position: center left 16px;
            box-shadow: 0px 4px 20px rgba(35, 31, 32, 0.1);
            height: 56px;
            padding-left: 48px;
            border: none;
            outline: none;
            border-radius: 0;
            font-weight: 500;
            font-size: 16px;
            line-height: 1.35625;

            @include placeholder() {
                color: rgba($text, 0.8);
            }
        }

        .filter-lists {
            padding: 16px;
            border: 1px solid $primary;
            position: relative;
            background: $white;

            &:before {
                content: '';
                position: absolute;
                top: 10px;
                left: 20px;
                right: -10px;
                bottom: -9px;
                border: 1px solid $primary;
                z-index: -1;
            }

            .filter-list {
                margin-bottom: 25px;
                & + .filter-list {
                    // border-top: 1px solid #e3f2fd;
                    padding-top: 25px;
                }

                &:last-child {
                    margin-bottom: 0;
                }

                h4 {
                    letter-spacing: -0.5px;
                    text-transform: uppercase;
                    margin-bottom: 16px;
                }

                ul {
                    @extend %listreset;

                    li {
                        margin-bottom: 16px;

                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                }
            }

            input[type='checkbox'] + label:after {
                background-size: 16px;
                height: 16px;
                left: 5px;
                top: 9px;
                width: 16px;
            }
        }
    }
}

.tv-listing {
    padding: 42px 0;

    .filter-block {
        margin-bottom: 5rem;
    }
}

.search-listing {
    padding: 42px 0;

    @include breakpoint(lg) {
        padding: 70px 0;
    }

    @include breakpoint(xl) {
        padding: 96px 0;
    }

    .pagination {
        padding-top: 35px;
        margin: 0;
    }
}

.search-lists {
    .search-list {
        border-bottom: 1px solid $primary;
        color: $black;
        padding-bottom: 21px;
        margin-bottom: 21px;

        &-wrap {
            max-width: 950px;
            .h3 {
                text-transform: uppercase;
                font-size: 32px;
                line-height: 1.3125;
                margin-bottom: 6px;
                color: $black;
                letter-spacing: -0.5px;

                a {
                    color: $black;

                    &:hover {
                        color: $primary;
                    }
                }
            }

            .tag {
                display: block;
                color: $black;
                margin-bottom: 21px;
            }

            p {
                &:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
}

.no-filter-results {
    align-items: center;
    background-color: $yellow;
    background-image: linear-gradient(180deg, #f9ed33 0%, #f1b434 100%);
    color: $black;
    display: flex;
    font-size: 125%;
    justify-content: center;
    margin-left: 1rem;
    padding: 2rem;
    text-align: center;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
    width: 100%;

    .row:has(&) {
        height: 100%;
    }
}
