/* CONFIGURAÇÕES GERAIS E CORES */
:root {
    --hey-delivery-box: #F1DBAE;
    --hey-creme: #F4EDDC;
    --hey-heykitchen: #F35200;
    --hey-golden-fries: #F4AB12;
    --hey-avocado: #002922;
    --hey-salmon: #F69F7D;
    --hey-white: #FFFFFF;
}

.blog-wrapper {
    background-color: var(--hey-delivery-box);
    padding: 60px 0;
    min-height: 100vh;
}

/*.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/
.container{
    width: min(1800px, 92%);
    margin: auto;
}

.page-title {
    font-size: 3.1rem;
    font-weight: 900;
    color: var(--hey-avocado);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'obviously-condensed', sans-serif;
}

/* LAYOUT DE COLUNAS (GRID) */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
    gap: 30px;
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 68% 30%; /* Desktop: Artigos à esquerda, Sidebar à direita */
        gap: 2%;
    }
}

/* CARTÕES DE ARTIGOS (POST CARDS) */
.post-card {
    background: var(--hey-white);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.post-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.post-content a:hover { color: var(--hey-avocado);}

/* Badge System */
.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: 'neue-haas-grotesk-text', sans-serif;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-yellow { background: var(--hey-golden-fries); color: var(--hey-avocado); }
.badge-dark { background: var(--hey-avocado); color: var(--hey-white); }
.post-date { font-size: 13px; color: #555; }

.post-title { font-family: 'obviously-condensed', sans-serif; color: var(--hey-avocado);}
.post-title a {
    color: var(--hey-avocado);
    text-decoration: none;
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 800;
}

.post-excerpt {
    margin: 15px 0 25px;
    color: var(--hey-avocado);
    line-height: 1.5;
    font-family: 'neue-haas-grotesk-text', sans-serif;
}

/* VARIAÇÃO: PRIMEIRO POST VS RESTANTES */

/* Primeiro Post (Vertical/Destaque) */
.post-card.is-featured .post-image img {
    max-height: 450px;
}

/* Posts Seguintes (Horizontais em Desktop) */
@media (min-width: 768px) {
    .post-card.is-horizontal {
        flex-direction: row;
        min-height: 300px;
    }
    
    .post-card.is-horizontal .post-image {
        flex: 0 0 38%; /* Largura da imagem à esquerda */
    }
    
    .post-card.is-horizontal .post-image img {
        height: 100%;
    }
    
    .post-card.is-horizontal .post-content {
        flex: 1;
        justify-content: center;
    }
}

/* Botão Ler Artigo */
.btn-read-more {
    background: var(--hey-heykitchen);
    color: var(--hey-white);
    text-align: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    width: fit-content;
    transition: background 0.3s ease;
}

@media (min-width: 768px) {
    .post-card.is-horizontal .btn-read-more {
        width: fit-content;
        padding: 12px 40px;
    }
}

/* SIDEBAR (COLUNA DA DIREITA) */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-box {
    border-radius: 30px;
    padding: 35px;
    color: var(--hey-avocado);
    text-align: center;
}

.sidebar-box h3 {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--hey-delivery-box);
    font-family: 'obviously-condensed', sans-serif;
    
}
.sidebar-box p{ font-family: 'neue-haas-grotesk-text', sans-serif; }

/* CTA Business */
.cta-business {
    background-color: var(--hey-golden-fries);
}


.btn-sidebar-main {
    display: block;
    background: var(--hey-heykitchen);
    color: var(--hey-delivery-box);
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'neue-haas-grotesk-text', sans-serif;
}
.btn-sidebar-main:hover { color: var(--hey-avocado); }

/* Newsletter Box */
.newsletter-box {
    background-color: var(--hey-salmon);
    text-align: center;
}

.btn-newsletter {
    background-color: var(--hey-avocado);
    color: var(--hey-delivery-box);
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    margin: 20px 0;
    cursor: pointer;
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-size: 0.8rem;
}

[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
  background-color: initial !important;
  color: inherit !important;
  text-decoration: inherit !important;
}
.btn-newsletter:hover { background-color: var(--hey-delivery-box) !important; color: var(--hey-heykitchen) !important;} 
.social-links path:hover{ fill:var(--hey-heykitchen);}

/* Categorias (Themes) */
.themes-box {
    background-color: var(--hey-heykitchen);
    color: var(--hey-delivery-box);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pill {
    background: var(--hey-delivery-box);
    color: var(--hey-heykitchen);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 11px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'neue-haas-grotesk-text', sans-serif;
}
.category-pills a:hover { color: var(--hey-avocado);}

/* PAGINAÇÃO */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: var(--hey-avocado);
}

.pagination .page-numbers.current {
    background: var(--hey-avocado);
    color: #fff;
}