* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.inner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header, footer {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 20px 0;
}

header .inner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

.hero {
    /* background-image: url('assets/casa_mago.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    max-width: 1200px;
    margin: 20px auto;
    padding: 80px 60px;
    border-radius: 30px;
    width: calc(100% - 40px);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 600px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 370px));
    gap: 24px;
    justify-content: center;
    padding-bottom: 2rem;
}

.card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 15px;
    width: 100%;
}

.card-image {
    background-color: #051c1c;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
    object-position: center;
    display: block;
}

.tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    color: #000;
    padding: 2px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.card-content { padding: 15px; }

/* Lista Lateral (Mago Oráculo) */
.list-item {
    display: flex;
    gap: 20px;
    margin: 30px auto;
    max-width: 920px;
    width: 100%;
}

.list-thumb {
    background: #000;
    width: 370px;
    height: 210px;
    border-radius: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o retângulo sem achatar */
    object-position: center;
    display: block;
}

/* Post páginas */
.inner-content-article {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.inner-content-article-text {
    margin-top: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

footer {
    flex-shrink: 0;
}

@media (max-width: 950px) {
    .list-item {
        flex-direction: column;
        max-width: 373px;
    }
    
    .list-thumb {
        width: 100%;
    }

    .hero h1 { font-size: 1.8rem; }
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 30px;
}