/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Segoe UI, Arial, sans-serif;
    background:#f4f6f9;
    color:#222;
    line-height:1.7;
}

/* HEADER */

.topo{
    background:#111827;
    color:#fff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    position:sticky;
    top:0;
    z-index:1000;

    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.logo a{
    color:#fff;
    text-decoration:none;
    font-size:26px;
    font-weight:bold;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#22c55e;
}

/* HERO */

.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.hero{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.hero h1{
    font-size:42px;
    margin-bottom:10px;
}

.hero p{
    color:#666;
    font-size:18px;
}

/* LISTAGEM */

.cards{
    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(350px,1fr));

    gap:25px;

    padding:20px;
}

.card h2 a{
    color:#111827;
    text-decoration:none;
}

.card h2 a:hover{
    color:#16a34a;
}

.card{
    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:
        0 3px 15px rgba(0,0,0,.08);

    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:20px;
}

.categoria{
    display:inline-block;

    padding:5px 12px;

    background:#dcfce7;
    color:#166534;

    border-radius:20px;

    text-decoration:none;

    font-size:12px;
    font-weight:600;

    margin-bottom:12px;

    transition:.2s;
}

a.categoria:hover{
    background:#bbf7d0;
}

.categoria-descricao{
    color:#666;
    margin-top:8px;
    margin-bottom:30px;
}

.card h2{
    margin-bottom:15px;
}

.card p{
    color:#666;
}

.btn{
    display:inline-block;

    margin-top:20px;

    background:#16a34a;

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;
}

.btn:hover{
    background:#15803d;
}

/* POST */

.post{
    max-width:900px;

    margin:40px auto;

    background:#fff;

    padding:40px;

    border-radius:16px;

    box-shadow:
        0 3px 15px rgba(0,0,0,.08);
}

.post h1{
    font-size:40px;
    margin-bottom:15px;
}

.post h2{
    margin-top:35px;
    margin-bottom:10px;
}

.post p{
    margin-bottom:15px;
}

.post-img{
    width:100%;
    border-radius:12px;
    margin:25px 0;
}

.meta{
    color:#777;
    margin-bottom:20px;
}

.breadcrumb{
    color:#777;
    margin-bottom:20px;
}

/* FOOTER */

footer{
    background:#111827;

    color:#fff;

    text-align:center;

    padding:30px;

    margin-top:50px;
}

/* RESPONSIVO */

@media(max-width:768px){

    .topo{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:30px;
    }

    .post{
        padding:25px;
    }

}
.autor-box{
    margin-top:40px;
    padding-top:20px;
    color:#666;
    font-size:14px;
}

.autor-box p{
    margin-bottom:5px;
}
.autor-box{
    margin-top:40px;
    padding:20px;
    background:#f8f9fa;
    border-radius:10px;
    border:1px solid #e5e5e5;
    font-size:14px;
    line-height:1.8;
}

.autor-box p{
    margin:6px 0;
}

.autor-box a{
    color:#0d6efd;
    text-decoration:none;
    font-weight:600;
}

.autor-box a:hover{
    text-decoration:underline;
}
.logo img {
    height: 30px;   /* ajuste conforme desejar */
    width: auto;
    display: block;
}
.cta-button{
  color:#25D366;
  font-weight:600;
  text-decoration:none;
  padding-bottom:1px;
  transition:.2s;
}

.cta-button:hover{
  color:#1faa52;
}
.ads-container{
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
}
.ads-divider{
    max-width: 900px;
    margin: 3rem auto;
    border: 0;
    border-top: 1px solid #b8b5b5;
}
.card-content p a{
    color: inherit;
    text-decoration: none;
}

.card-content p a:hover{
    text-decoration: underline;
}