/*
Theme Name: Santa Fé
Author: Santa Fé Clube de Campo
Version: 1.0
*/

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Container responsivo */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
}

/* Artigos */
article {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
}

.entry-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: #F77201;
}

.entry-content {
    margin-top: 15px;
    color: #333333;
}

/* Responsividade para imagens */
img {
    max-width: 100%;
    height: auto;
}

/* Utilitários de responsividade */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
    
    .site-main {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Fix para evitar overflow horizontal */
.overflow-x-hidden {
    overflow-x: hidden;
}

/* Animações suaves */
.transition-all {
    transition: all 0.3s ease;
}

/* Links */
a {
    color: #F77201;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E06501;
}

/* Botões base */
button, 
.btn {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

button:focus,
.btn:focus {
    outline: 2px solid #F77201;
    outline-offset: 2px;
}

/* Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Grid responsivo */
@media (max-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Espaçamento responsivo */
@media (max-width: 640px) {
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* WordPress específico */
.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Clearfix */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
