/*
Theme Name: Astra Hot Child - Grupos Telegram +18
Description: 3 colunas PC · 2 colunas tablet · 1 coluna celular · Categorias clicáveis
Template: astra
Version: 2.1.1
*/

@import url("../astra/style.css");

/* RESET & FUNDO */
body { background:#0f0f0f; color:#fff; font-family:'Roboto',sans-serif; }
.home .ast-container { max-width:100% !important; padding:0 !important; }

/* GRID PRINCIPAL – MAIS CARDS POR LINHA */
.hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* ← antes era ~380px, agora ~260px */
    gap: 20px;                    /* era 28px → menos espaço */
    padding: 30px 15px;
    max-width: 1500px;
    margin: 0 auto;
}

/* CARD – 40% MENOR */
.hot-card {
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.hot-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 18px 40px rgba(0,0,0,0.9); 
}

/* IMAGEM MENOR */
.hot-card img {
    width: 100%;
    height: 170px;                /* era 280px → agora 170px (-40%) */
    object-fit: cover;
    loading: lazy;
    decoding: async;
}

/* CONTEÚDO DO CARD */
.hot-card-content { 
    padding: 16px;                /* era 20px */
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

/* TÍTULO MENOR */
.hot-card h2 { 
    font-size: 1.35rem;           /* era 2rem → agora 1.35rem */
    font-weight: 900; 
    margin: 0 0 8px; 
    line-height: 1.2; 
}
.hot-card h2 a { 
    color: #fff; 
    text-decoration: none; 
}
.hot-card h2 a:hover { 
    color: #FFD700; 
}

/* CATEGORIA */
.hot-card .categoria {
    padding: 6px 12px;
    font-size: 0.82rem;
    margin-bottom: 10px;
}
.hot-card .categoria:hover { background: #0066cc; }

/* DESCRIÇÃO */
.hot-card p { 
    font-size: 0.95rem; 
    line-height: 1.4; 
    margin: 0 0 14px; 
    opacity: 0.9; 
    flex-grow: 1; 
}

/* BOTÃO ENTRAR */
.hot-card .btn-entrar {
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,102,204,0.4);
}
.hot-card .btn-entrar:hover { 
    background: #0055aa; 
    transform: translateY(-2px); 
}

/* RESPONSIVO – AINDA MELHOR */
@media (max-width: 1023px) {
    .hot-grid { 
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
        gap: 18px; 
        padding: 25px 12px; 
    }
    .hot-card img { height: 150px; }
    .hot-card h2 { font-size: 1.25rem; }
}

@media (max-width: 640px) {
    .hot-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 16px; 
        padding: 20px 10px; 
    }
    .hot-card img { height: 180px; }
    .hot-card h2 { font-size: 1.4rem; }
}