/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 26 2026 | 15:58:31 */
/* CSS Base para Blog O3pet - Añadir en Personalizar → CSS Adicional */

:root {
    --o3pet-primary: #667eea;
    --o3pet-secondary: #764ba2;
    --o3pet-accent: #4ecdc4;
    --o3pet-coral: #ff6b6b;
    --o3pet-blue: #45b7d1;
}

/* Fondo de la página blog */
.page-id-blog-mascotas-ozono { /* Reemplaza 87 con el ID de tu página blog */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    min-height: 100vh;
}

/* Contenedor principal - ESPACIOS REDUCIDOS */
.blog-hero-container {
    padding: 20px 0px 0px 0px !important; /* Reducido de 80px a 40px arriba */
    text-align: center;
    color: #2d3748;
}

/* Título principal con gradiente - ESPACIOS REDUCIDOS */
.blog-hero-title {
    font-size: 48px !important; /* Reducido de 56px a 48px */
    font-weight: bold !important;
    margin-bottom: 8px !important; /* Reducido de 16px a 8px */
    background: linear-gradient(45deg, var(--o3pet-coral), var(--o3pet-accent), var(--o3pet-blue)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.2 !important;
}

/* Subtítulo - ESPACIOS REDUCIDOS */
.blog-hero-subtitle {
    font-size: 18px !important; /* Reducido de 20px a 18px */
    color: rgba(45, 55, 72, 0.8) !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto !important; /* Reducido de 32px a 20px */
    line-height: 1.6 !important;
}

/* Barra de búsqueda - ESPACIOS REDUCIDOS */
.search-container {
    position: right;
    max-width: 500px;
    margin: 0 auto 24px auto !important; /* Reducido de 32px a 24px */
}

.search-input {
    width: 100% !important;
    padding: 14px 24px !important; /* Reducido de 16px a 14px */
    border: none !important;
    border-radius: 50px !important;
    background: rgba(45, 55, 72, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    color: #2d3748 !important;
    font-size: 16px !important; /* Reducido de 18px a 16px */
    border: 2px solid rgba(45, 55, 72, 0.2) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.search-input::placeholder {
    color: rgba(45, 55, 72, 0.6) !important;
}

.search-input:focus {
    border-color: var(--o3pet-accent) !important;
    background: rgba(45, 55, 72, 0.15) !important;
    outline: none !important;
}

/* Sección de categorías - ESPACIOS REDUCIDOS */
.categories-section {
    padding: 16px 20px !important; /* Reducido de 40px a 16px */
    text-align: center;
}

.categories-title {
    color: #2d3748 !important;
    font-size: 20px !important; /* Reducido de 24px a 20px */
    margin-bottom: 16px !important; /* Reducido de 24px a 16px */
    font-weight: 600 !important;
}

.categories-container {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important; /* Reducido de 16px a 12px */
}

/* Botones de categoría - TAMAÑO REDUCIDO */
.category-btn {
    background: rgba(45, 55, 72, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(45, 55, 72, 0.2) !important;
    border-radius: 25px !important;
    padding: 10px 20px !important; /* Reducido de 12px 24px */
    color: #2d3748 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    cursor: pointer !important;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(45deg, var(--o3pet-coral), var(--o3pet-accent)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Sección principal - ESPACIOS REDUCIDOS */
.blog-main-section {
    background: rgba(45, 55, 72, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 30px 30px 0 0 !important;
    padding: 40px 20px !important; /* Reducido de 60px a 40px */
    margin-top: 20px !important; /* Reducido de 32px a 20px */
    min-height: 500px !important;
    border: 1px solid rgba(45, 55, 72, 0.1) !important;
}

/* Grid de artículos */
.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important; /* Reducido de 32px a 24px */
    margin-bottom: 40px !important; /* Reducido de 48px a 40px */
}

/* Cards de blog */
.blog-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(45, 55, 72, 0.1) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.blog-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.blog-image {
    width: 100% !important;
    height: 180px !important; /* Reducido de 200px a 180px */
    background: linear-gradient(45deg, var(--o3pet-coral), var(--o3pet-accent), var(--o3pet-blue)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 20px !important;
    font-weight: bold !important;
}

.blog-content {
    padding: 20px !important; /* Reducido de 24px a 20px */
}

.blog-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important; /* Reducido de 16px a 12px */
    font-size: 13px !important; /* Reducido de 14px a 13px */
    color: rgba(45, 55, 72, 0.6) !important;
}

.blog-category {
    background: linear-gradient(45deg, var(--o3pet-coral), var(--o3pet-accent)) !important;
    padding: 4px 12px !important;
    border-radius: 15px !important;
    color: white !important;
    font-size: 11px !important; /* Reducido de 12px a 11px */
    font-weight: 500 !important;
}

.blog-title {
    color: #2d3748 !important;
    font-size: 18px !important; /* Reducido de 20px a 18px */
    font-weight: bold !important;
    margin-bottom: 10px !important; /* Reducido de 12px a 10px */
    line-height: 1.4 !important;
}

.blog-excerpt {
    color: rgba(45, 55, 72, 0.8) !important;
    font-size: 14px !important; /* Reducido de 15px a 14px */
    line-height: 1.5 !important;
    margin-bottom: 12px !important; /* Reducido de 16px a 12px */
}

.read-more {
    color: var(--o3pet-accent) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.read-more:hover {
    color: var(--o3pet-coral) !important;
    text-decoration: none !important;
}

/* Layout con sidebar */
.blog-layout {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 32px !important; /* Reducido de 48px a 32px */
    align-items: start !important;
}

/* Sidebar */
.blog-sidebar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 20px !important;
    padding: 24px !important; /* Reducido de 32px a 24px */
    border: 1px solid rgba(45, 55, 72, 0.1) !important;
    position: sticky !important;
    top: 20px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.sidebar-title {
    color: #2d3748 !important;
    font-size: 18px !important; /* Reducido de 20px a 18px */
    font-weight: bold !important;
    margin-bottom: 20px !important; /* Reducido de 24px a 20px */
    background: linear-gradient(45deg, var(--o3pet-coral), var(--o3pet-accent)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.recent-posts {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.recent-posts li {
    margin-bottom: 12px !important; /* Reducido de 16px a 12px */
    padding-bottom: 12px !important; /* Reducido de 16px a 12px */
    border-bottom: 1px solid rgba(45, 55, 72, 0.1) !important;
}

.recent-posts li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.recent-posts a {
    color: #2d3748 !important;
    text-decoration: none !important;
    font-size: 14px !important; /* Reducido de 15px a 14px */
    transition: color 0.3s ease !important;
    line-height: 1.4 !important;
}

.recent-posts a:hover {
    color: var(--o3pet-accent) !important;
}

.recent-date {
    color: rgba(45, 55, 72, 0.5) !important;
    font-size: 11px !important; /* Reducido de 12px a 11px */
    margin-top: 4px !important;
    display: block !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-hero-title {
        font-size: 40px !important;
    }
    
    .blog-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .blog-hero-container {
        padding: 30px 15px 15px 15px !important;
    }
    
    .blog-hero-title {
        font-size: 32px !important;
    }
    
    .blog-hero-subtitle {
        font-size: 16px !important;
        margin-bottom: 16px !important;
    }
    
    .search-container {
        margin-bottom: 20px !important;
    }
    
    .search-input {
        font-size: 15px !important;
        padding: 12px 20px !important;
    }
    
    .categories-section {
        padding: 12px 15px !important;
    }
    
    .categories-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .categories-container {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 12px !important;
        gap: 8px !important;
    }
    
    .category-btn {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .blog-main-section {
        padding: 30px 15px !important;
        margin-top: 16px !important;
    }
    
    .blog-image {
        height: 160px !important;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 28px !important;
    }
    
    .blog-hero-subtitle {
        font-size: 14px !important;
    }
    
    .search-input {
        font-size: 14px !important;
    }
}