/*
Theme Name: Mury Blog
Author: Joao Felipe Lima
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0038ce;
    --orange: #ff831d;
    --newblue: #5cd7f2;
    --darkblue: #1a3083;
    --fresno: #d0ea56;
    --payment: #36c16b;
    --purple: #8726fd;
    --pinknoise: #f52c8d;
    --text: #1E1E1E;
    --text-light: #666666;
    --border: #EAEAEA;
    --background: #F7F7F7;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

body{
   	font-family: 'Poppins', sans-serif !important;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a{
    text-decoration: none;
    color: inherit;
}

img{
    display: block;
    max-width: 100%;
}

.container{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER
========================= */

.header{
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo img{
    height: 28px;
    width: auto;
}

.btn-site{
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.btn-site:hover{
    opacity: .9;
}

/* =========================
   HERO
========================= */

.hero{
    padding: 40px 0 20px;
}

.hero-banner {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.mobile-banner {
    display: none;
}

/* Mobile */
@media (max-width: 768px) {

    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }

}

/* =========================
   CATEGORIAS
========================= */

.categories{
    margin-bottom: 40px;
}

.categories .container{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.category-dropdown{
    flex: 1;
    min-width: 220px;
}

.category-dropdown button{
    width: 100%;
    height: 58px;
    border: 1px solid #D9E2F3;
    background: var(--white);
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: .3s;
}

.category-dropdown button i{
    font-size: 18px;
    transition: .3s;
}

.category-dropdown:nth-child(1) button i{
    color: var(--primary);
}

.category-dropdown:nth-child(2) button i{
    color: var(--orange);
}

.category-dropdown:nth-child(3) button i{
    color: var(--pinknoise);
}

.category-dropdown:nth-child(1) button:hover{
    border-color: var(--primary);
    background: rgba(0, 56, 206, .06);
}

.category-dropdown:nth-child(2) button:hover{
    border-color: var(--orange);
    background: rgba(255, 131, 29, .08);
}

.category-dropdown:nth-child(3) button:hover{
    border-color: var(--pinknoise);
    background: rgba(245, 44, 141, .08);
}

.category-dropdown button{
    transition: .3s;
}

.category-dropdown:nth-child(1) button:hover{
    color: var(--primary);
}

.category-dropdown:nth-child(2) button:hover{
    color: var(--orange);
}

.category-dropdown:nth-child(3) button:hover{
    color: var(--pinknoise);
}

/* =========================
   DESTAQUE
========================= */

.featured-post{
    margin-bottom: 32px;
}

.featured-card{
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);

    display: grid;
    grid-template-columns: 1.1fr 1fr;
}

.featured-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content{
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-category{
    display: inline-block;
    color: var(--payment);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.featured-content h2{
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.featured-content p{
    color: var(--text-light);
    margin-bottom: 24px;
}

.read-more{
    color: var(--primary);
    font-weight: 600;
}

/* =========================
   GRID
========================= */

.posts-grid{
    margin-bottom: 50px;
}

.posts-grid .container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.post-card{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
    transition: .3s ease;
}

.post-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.post-card img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.post-body{
    padding: 28px;
}
.post-body h3{
    margin-bottom: 16px;
    line-height: 1.4;
}

.post-body h3 a{
    color: #222;
    font-size: 1.4rem;
    font-weight: 600;
}

.post-body h3 a:hover{
    color: #0d6efd;
}

.post-body p{
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 24px;
}

.post-body > a{
    color: #0d6efd;
    font-weight: 600;
    transition: .3s;
}

.post-body > a:hover{
    color: #084298;
}

.post-category{
    display: inline-block;
    margin-bottom: 16px;
    color: #0d6efd;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   PAGINA
========================= */

.pagination{
    margin-bottom: 70px;
}

.pagination .container{
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pagination a{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .active{
    background: var(--primary);
    color: #fff;
}

/* =========================
   FOOTER
========================= */

.footer{
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: 60px 0;
}

.footer .container{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand img{
    height: 30px;
    margin-bottom: 16px;
}

.footer-brand p{
    color: var(--white);
}

.footer-column h4{
    margin-bottom: 16px;
    color:var(--newblue);
}

.footer-column{
    display: flex;
    flex-direction: column;
}

.footer-column a{
    margin-bottom: 10px;
    color: var(--white);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px){

    .featured-card{
        grid-template-columns: 1fr;
    }

    .posts-grid .container{
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .container{
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px){

    .header .container{
        gap: 16px;
    }

    .logo img{
    height: auto;
    max-height: 42px;
    width: auto;
    
}

    .btn-site{
        padding: 10px 18px;
        font-size: 14px;
    }

    .hero{
        padding-top: 20px;
    }

    .categories .container{
        flex-direction: column;
    }

    .featured-content{
        padding: 24px;
    }

    .featured-content h2{
        font-size: 26px;
    }

    .posts-grid .container{
        grid-template-columns: 1fr;
    }

    .post-body h3{
        font-size: 20px;
    }

    .desktop-banner{
    display: none;
    }

    .mobile-banner{
        display: block;
    }

    .footer{
    text-align: center;
    }

    .footer-brand{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column{
        align-items: center;
    }

    .footer-bottom{
        text-align: center;
    }

}

@media (max-width: 480px){

    .container{
        padding: 0 16px;
    }

    .header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    .logo img{
    height: auto;
    max-height: 38px;
    width: auto;
}

    .btn-site{
    font-size: 14px;
    padding: 12px 18px;
    white-space: nowrap;
}

    .featured-content h2{
        font-size: 22px;
    }

    .pagination a{
        width: 40px;
        height: 40px;
    }

}

/* =========================
   ARTICLE
========================= */

.article-container{
    max-width: 950px !important;
    margin: 0 auto !important;

}

.article-header{
    padding: 50px 0 30px;
}

.breadcrumb{
    margin-bottom: 20px;
    font-size: 14px;
    color: #777;
}

.breadcrumb a{
    color: #777;
}

.article-title{
    font-size: 42px;
    line-height: 1.2;
    margin: 15px 0 20px;
    color: var(--primary);
}

.article-meta{
    display: flex;
    gap: 12px;
    color: #777;
    font-size: 14px;
}

.article-cover{
    margin-bottom: 40px;
}

.article-cover{
    margin-bottom: 40px;
}

.article-cover img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.article-content{
    margin-bottom: 80px;
}

.article-content p{
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.9;
    color: #444;
}

.article-content h2{
    margin: 50px 0 20px;
    font-size: 32px;
}

.article-content ul{
    margin: 20px 0 20px 25px;
}

.article-content li{
    margin-bottom: 10px;
}

.article-content blockquote{
    margin: 40px 0;
    padding: 25px;
    border-left: 4px solid var(--primary);
    background: #f2f6ff;
    border-radius: 10px;
    font-weight: 500;
}

.related-posts{
    margin-bottom: 80px;
}

.section-title{
    font-size: 32px;
    margin-bottom: 30px;
}

.related-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

@media(max-width:768px){

    .article-title{
        font-size: 34px;
    }

    .article-content p{
        font-size: 16px;
    }

    .article-content h2{
        font-size: 26px;
    }

    .related-grid{
        grid-template-columns: 1fr;
    }

    .article-meta{
        flex-wrap: wrap;
    }

}

.footer-bottom{
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p{
    font-size: 13px;
    color:var(--white);
    margin-bottom: 6px;
}

.post-card .wp-post-image{

    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;

}

.article-cover .wp-post-image{

    width: 100%;
    border-radius: 20px;
    display: block;

}