/*
 Theme Name:   ImobStation Child
 Theme URI:    https://imobstation.com.br
 Description:  Tema filho personalizado para o site ImobStation
 Author:       Everton da Silveira
 Author URI:   https://imobstation.com.br
 Template:     astra
 Version:      1.0.6
*/

/* --- INÍCIO DOS ESTILOS GLOBAIS IMOBSTATION --- */

/* 1. Importação da Fonte e Estilos Base */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #111827 !important;
    color: #d1d5db;
    background-image: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 40%);
    background-attachment: fixed;
}

/* 2. Estilos para Cabeçalhos e Parágrafos */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}
p {
    line-height: 1.7;
    color: #d1d5db;
}

/* 3. Estilo para Links */
a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #93c5fd;
}

/* 4. Estilo para Botões */
.button, button, input[type="submit"], input[type="button"], .wp-block-button__link, .ast-custom-button {
    font-family: 'Inter', sans-serif;
    color: #ffffff !important;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    text-decoration: none;
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, .wp-block-button__link:hover:not(:disabled), .ast-custom-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* --- ESTILOS DA PÁGINA DO BLOG --- */
/* (Código anterior mantido para consistência) */
.ast-archive-container .ast-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2em; }
#primary, .site-content .ast-container { background-color: transparent !important; }
body.blog .ast-archive-container article.ast-article-post, body.archive .ast-archive-container article.ast-article-post { background-color: #1f2937 !important; border: 1px solid #374151 !important; border-radius: 12px !important; padding: 2em !important; margin: 0 !important; display: flex !important; flex-direction: column !important; height: 100% !important; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ast-archive-container .ast-article-post:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15); }
.ast-article-post .entry-title a { color: #ffffff !important; }
.ast-article-post .entry-meta, .ast-article-post .entry-meta a { color: #9ca3af !important; }
.ast-article-post .cat-links a { color: #a78bfa !important; background-color: rgba(167, 139, 250, 0.1); padding: 4px 8px; border-radius: 6px; margin-bottom: 15px; display: inline-block; }
.ast-article-post .entry-content p { color: #d1d5db !important; }
.ast-article-post .read-more a { background: #374151; color: #ffffff !important; }
.ast-archive-title { color: #ffffff; border-bottom: 1px solid #374151; }

/* --- NOVO E REFORÇADO: ESTILOS DO RODAPÉ (FOOTER) --- */
/*
  Usamos múltiplos seletores de alta especificidade (incluindo o ID #colophon)
  e !important em todas as propriedades para forçar a sobreposição.
*/

/* Container Geral do Rodapé e a Barra de Copyright */
#colophon,
.site-footer,
.ast-builder-footer,
.ast-footer-bar {
    background-color: #1f2937 !important;
    border-top: 1px solid #374151 !important;
    padding: 2em 0 !important;
}

/* Força a remoção de fundos internos que o tema possa ter */
#colophon .ast-builder-grid-row {
    background-color: transparent !important;
}

/* Texto e Parágrafos dentro do Rodapé */
#colophon p,
#colophon .ast-builder-layout-element,
.ast-footer-copyright {
    color: #9ca3af !important;
    font-size: 0.9em !important;
    margin-bottom: 0 !important; /* Remove margens extras */
}

/* Links dentro do Rodapé */
#colophon a,
.ast-footer-bar a {
    color: #60a5fa !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

#colophon a:hover,
.ast-footer-bar a:hover {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

/* --- FIM DOS ESTILOS --- */