/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */

 .bc-category-featured{
    .bc-category-featured__title{
        h2{
            font-size: 36px;
            margin: 10px 0;
        }
    }
    .bc-category-featured__term{
        span{
            font-size: 16px;
            text-transform: uppercase;
        }
    }
    .bc-category-featured__date{
        span{
            font-size: 16px;
            text-transform: uppercase;
        }
    }
    .bc-category-featured__excerpt{
       font-size: 16px;
       line-height: 1.6;
    }
    .bc-category-featured__author{
        span{
            font-size: 14px;
            font-style: italic;
            text-decoration: underline;
        }
    }
    .bc-category-featured__image{
        margin-bottom: 10px;
    }
    .bc-category-featured__date{
        font-size: 14px;
        font-family: "Archivo Narrow", sans-serif;
    }
 }

 @media(max-width: 768px){
    .bc-category-featured{
        .bc-category-featured__title{
            h2{
                font-size: 26px;
            }
        }
    }
 }


 .bc-category-featured.bc-category--default{
    figure{
        display: block;
        aspect-ratio: 16/9;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
 }

 .bc-category-featured.bc-category--default{
    figure{
        display: block;
        aspect-ratio: 16/9;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
 }

 .bc-category-featured.bc-category--video{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    figure{
        display: block;
        aspect-ratio: 16/9;
        position: relative;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: relative;
        }
        svg{
            position: absolute;
            left: 15px;
            bottom: 15px;
            z-index: 1;
        }
    }
 }

 @media(max-width: 768px){
    .bc-category-featured.bc-category--video{
        grid-template-columns: 1fr;
        gap: 0;
        figure{
            svg{
                width: 40px;
                height: 40px;
                left: 10px;
                bottom: 10px;
            }
        }
    }
 }

 .bc-category-featured.bc-category--podcast{
    display: flex;
    align-items: center;
    gap: 30px;
    figure{
        display: block;
        aspect-ratio: 1;
        height: 350px !important;
        width: 350px !important;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .bc-category-featured__button{
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        margin-top: 20px;
        span{
            font-size: 14px;
            text-transform: uppercase;

        }
    }
 }

 @media(max-width: 768px){
    .bc-category-featured.bc-category--podcast{
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        figure{
            aspect-ratio: 1;
            height: 100% !important;
            width: auto !important;
        }
    }
 }

 .bc-category-featured.bc-category--magazine{
    display: flex;
    align-items: stretch;
    gap: 30px;
    figure{
        display: block;
        aspect-ratio: 3/4;
        height: auto !important;
        width: 350px !important;
        min-width: 350px !important;
        a{
            display: block;
            width: 100%;
            height: 100%;
        }
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .bc-category-featured__button{
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        margin-top: 20px;
        border: 1px solid var(--wp--preset--color--secondary);
        width: fit-content;
        padding: 10px;
        span{
            font-size: 14px;
            text-transform: uppercase;

        }
    }
    .bc-category-featured__info{
        display: flex;
        flex-direction: column;
        justify-content: center;
        .bc-category-featured__copy{
            margin-top: auto;
            margin-bottom: auto;
        }
    }
    .bc-subscribe-list{
        width: 500px;
        .bc-subscribe-block{
            padding: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            border: 1px solid rgba(0, 0, 0, 0.25);
            margin-bottom: 15px;
            span{
                font-size: 16px;
                font-weight: 400;
            }
            a{
                font-size: 14px;
                padding: 10px;
                color: #fff;
                background-color: var(--wp--preset--color--primary);
            }
        }
    }
 }

 @media(max-width: 768px){
    .bc-category-featured.bc-category--magazine{
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        figure{
            height: auto!important;
            width: 100% !important;
        }
        .bc-category-featured__info{
            width: 100%;
        }
        .bc-subscribe-list{
            width: 100%;
            margin-top: 40px;
            strong {
                display: block;
                clear: both;
            }
            .bc-subscribe-block{
                width: auto;
            }
        }
    }
 }