/* SECTION CARROSSEL */
.hero-carousel{
    height: 500px;
    background: transparent;
}

.carousel-slides {
    aspect-ratio: 1920 / 450;
    aspect-ratio: auto;

    width: 100%;
    height: 100%;
}

.carousel-slide{
    display: flex;

}

.carousel-slide-1{
    .carousel-slide-conteudo-escrito{

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        align-content: flex-start;

        gap: 8px;
        padding: 0 80px;

        width: 50%;
        height: 100%;

        background: #35A2DB;

    }

    .slanted-edge {   
        --p: 105px;
        height: 500px;
        aspect-ratio: 1;
        clip-path: polygon(0 0, calc(100% - var(--p)) 0, 100% 100%, 0 100%);
        background: #35A2DB;
    }

     .carousel-slide-conteudo-categoria{
        background-color: rgb(218 199 37);
        width: 100px;
        max-width: 100px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        display: inline-block;
        margin-right: 10px;
        
        
    }

    .carousel-slide-conteudo-data {
        display: inline-block;
        font-weight: bold;
        color: #FFF;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        border-left: 2px solid #fff;
        padding-left: 10px;
        margin-top: 15px;
    }

    .carousel-slide-conteudo-escrito h2{

        font-size: clamp(1rem, 1vw + 1rem, 2rem);
        color:var(--color-blue-hover);
        margin-top:30px;

    }

    .carousel-slide-conteudo-texto{
        font-size: clamp(1rem, 1rem, 2rem);
        color: white;
    }


    .carousel-slide-conteudo-escrito a{
        color: #00214a;
        background-color: var(--color-yellow);
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        margin-top: 30px;
        width: 200px;
    }

    .carousel-slide-conteudo-escrito a:hover{
        color: #fff;
        background-color: var(--color-blue);
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        
    }


    .carousel-slide-img-1{
        background:  center / contain no-repeat url("../assets/images/blog-champion-troca-pulseira.jpg");

        width: 50%;
        height: 100%;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
    }






}

.carousel-slide-2{
    .carousel-slide-img-2-mobile{
        display: none;
    }

    .carousel-slide-conteudo-escrito{

        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        align-content: flex-start;
        

        gap: 8px;
        padding: 0 80px;

        width: 60%;
        height: 100%;

        background: transparent;

    }


    .carousel-slide-conteudo-categoria{
        background-color: rgb(218 199 37);
        width: 100px;
        max-width: 100px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        display: inline-block;
        margin-right: 10px;
        
        
    }

    .carousel-slide-conteudo-data {
        display: inline-block;
        font-weight: bold;
        color: #FFF;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        border-left: 2px solid #fff;
        padding-left: 10px;
        margin-top: 15px;
    }

    .carousel-slide-conteudo-escrito h2{

        font-size: clamp(1rem, 1vw + 1rem, 2rem);
        color:#FFF;
        margin-top:30px;

    }

    .carousel-slide-conteudo-texto{
        font-size: clamp(1rem, 1rem, 2rem);
        color: white;
        
    }

    .carousel-slide-conteudo-escrito a{
        color: #00214a;
        background-color: var(--color-yellow);
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        margin-top: 30px;
        width: 200px;
    }

    .carousel-slide-conteudo-escrito a:hover{
        color: var(--color-blue-hover);
        background-color: var(--color-white);
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        
    }


    .carousel-slide-img-2{
        background:  center / contain no-repeat url("../assets/images/blog-magnumGroup-banner-2222.png");

        width: 100%;
        height: 100%;

        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;

    }
}


.carousel-slide-3{
 
    background: black;

    .carousel-slide-conteudo-escrito{

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
        align-content: flex-start;

        gap: 8px;
        padding:0 80px;

        width: 50%;
        height: 100%;

        background: #000;
        

    }

     .carousel-slide-conteudo-categoria{
        background-color: rgb(218 199 37);
        width: 100px;
        max-width: 100px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        display: inline-block;
        margin-right: 10px;
        
        
    }

    .carousel-slide-conteudo-data {
        display: inline-block;
        font-weight: bold;
        color: #FFF;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-weight: 700;
        border-left: 2px solid #fff;
        padding-left: 10px;
        margin-top: 15px;
    }

    .carousel-slide-conteudo-escrito h2{

        font-size: clamp(1rem, 1vw + 1rem, 2rem);
        color:#FFF;
        margin-top:30px;

    }

    .carousel-slide-conteudo-texto{
        font-size: clamp(1rem, 1rem, 2rem);
        color: white;
    }

    .carousel-slide-conteudo-escrito a{
        color: #00214a;
        background-color: var(--color-yellow);
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        margin-top: 30px;
        width: 200px;
    }

    .carousel-slide-conteudo-escrito a:hover{
        color: var(--color-blue-hover);
        background-color: #fff;
        border-radius: 10px;
        height: 40px;
        max-width: 200px;
        line-height: 40px;
        font-weight: 700;
        padding: 2px;
        text-align: center;
        
    }


    .carousel-slide-img-3{
        background:  center / contain no-repeat url("../assets/images/yankee-street-norules.jpg"), #000;

        width: 50%;
        height: 100%;

        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
    }

}



.carousel-arrow {
  color: #00214a;
}

.carousel-arrow:hover{
    color:var(--color-yellow);
    border: none;
    border-radius: 50px;
}

.carousel-dot {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: var(--color-blue-hover);
    border-color: var(--color-yellow);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.carousel-dot.is-active {
    background: var(--color-yellow);
    border-color: var(--color-blue);
}

/* SECTION ARTIGOS */

.artigos-section{
    margin: 100px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    max-width: 1350px;
    flex-wrap: wrap;


    article{
        display: flex;
        flex-direction: column;
        gap:30px;
        
        width: 420px;
        min-width: 420px;
        border: 1px solid var(--color-blue-hover);
        border-radius: 20px;
        
        padding: 20px;
        margin-bottom: 60px;
        box-shadow: 10px 10px 5px #00000026;


        span{
            background: var(--color-blue-hover);
            color: var(--color-white);
            font-size: 13px;
            padding: 11px 22px 10px;
            font-weight: 900;
            width: 33%;
            margin-top: -40px;
        }
    

        img{
            width: 100%;
            height: 240px;
            border-radius: 10px;
            object-fit: cover;
        }

        i{
            color: var(--color-yellow);
        }
        

        h3{
            margin-bottom: 10px;
            height: 50px;
        }

        p{
            height: 100px;
        }

        a {
            background: var(--color-yellow);
            color: var(--color-blue);
            font-size: 13px;
            text-align: center;
            padding: 11px 22px 10px;
            font-weight: 900;
            display: inline-block;
            border-radius: 10px;
        }

        a:hover {
            background: var(--color-blue-hover);
            color: #fff;
            font-size: 13px;
            padding: 11px 22px 10px;
            font-weight: 900;
            display: inline-block;
            border-radius: 10px;
        }
    }

    .espaco{

        width:420px;

    }

}

article:has(a:hover) {
  border-color: var(--color-yellow); /* Cor da borda que você desejar */
  background-color: var(--color-yellow-hover);
  
}

article:has(a:hover) span {
  background-color: var(--color-yellow); /* Cor de fundo que você desejar */
  color: var(--color-blue-hover); 
}


/* ARTIGOS */

.titulo-leia-tambem {
    width: 100%;
    margin-bottom: 30px;
    margin: 100px auto;
    display: flex;
    flex-direction: row;
    
    max-width: 1350px;
    justify-content: center;
    

}

.section-artigo{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 90%;
    max-width: 1350px;
    margin: 60px auto;
    gap:30px;

    h1{ text-transform: uppercase;}

    .header-artigo{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        border-top: 2px solid var(--color-yellow);
        padding-top: 15px;

        i{
            color: var(--color-yellow)

        }

    }

    .img-artigo{width: 100%;}

    .img-artigo-forever-aliancas{max-width:450px};

    a, a:visited, a:hover, a:active {
        color: var(--color-yellow);
        text-decoration: underline !important;
        font-weight: bold;
    }


}

.video-comercial-magnum-relogios,
.video-magnum-25-anos{

    width: 100%;
    height: 40vh;
    max-width: 1350px;
    max-height: 720px;
    

}

.video-comercial-magnum-relogios{
    height: 50vh;
}

/* ---------------------------------------------
--------- CARROSSEL ARTIGO MAGNUM 25 ANOS ------
--------------------------------------------- */


.hero-carousel-magnum-25-anos .carousel-slides {
    aspect-ratio: 920 / 450;
    aspect-ratio: auto;

    width: 100%;
    height: 100%;
    
}

.carousel-slide-magnum-25-anos-img-1{
    background:  center / contain no-repeat url("../assets/images/blog-post-carrossel-magnum-25-anos-02.jpg");

    height: 500px;
    width: 100%;

    
        
}




/* RESPONSIVOS */

@media (max-width: 900px) {
    .carousel-slide-2 {
        .carousel-slide-img-2 {
            background-position: -1200px;
        }
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 100vh;
    }

    .carousel-slide {
        flex-direction: column-reverse;
    }

    .carousel-slide-1{
        .slanted-edge {
            --p: 0;
            height: 50%;
            width: 100%;
            padding: 0 20px;
            
        }

        .carousel-slide-img-1 {
            background: center / cover no-repeat url(../assets/images/blog-champion-troca-pulseira-1.png);
            width: 100%;
            height: 50%;
        }
    }

    .carousel-slide-conteudo-escrito a {
        margin-top: 30px;
    }

    .carousel-slide-2{
        .carousel-slide-img-2-mobile{
            display: block;
            background: top / cover no-repeat url(../assets/images/blog-fascinio.jpg);
            width: 100%;
            height: 50%;
        }

        .carousel-slide-img-2 {
            background: #000000;
            background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(59, 59, 59, 1) 100%);
            width: 100%;
            height: 50%;
        }

            .carousel-slide-conteudo-escrito {
                width: 90%;
                padding: 0;
                margin: 0 auto;
            }
        
    }

     .carousel-slide-3{

        .carousel-slide-img-3 {
            width: 100%;
            height: 50%;
        }

        .carousel-slide-conteudo-escrito {
            margin: 0 auto;
            width: 90%;
            height: 50%;
            padding: 0;
        }

         
    }

    .carousel-slide-1 .carousel-slide-conteudo-escrito a,
    .carousel-slide-2 .carousel-slide-conteudo-escrito a,
    .carousel-slide-3 .carousel-slide-conteudo-escrito a  {
            width: 100%;
            max-width: 100%;
        }

      
    
}

@media (max-width: 450px) {
    .artigos-section{
        article {
            width: 90%;
            min-width: auto;

            span{
                width: 60%;
                padding: 11px 5px 10px;
            }

            h3{
                height: auto;
            }

            p{
                height: auto;
            }
            
        }  


    }
}