/*
Theme Name: Caval Studio Blog Theme
Description: Tema personalizado para el blog de Caval Studio que mantiene la coherencia visual con el sitio principal
Version: 1.0
Author: Caval Studio
*/

/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables CSS - Consistentes con el sitio principal */
:root {
    --accent-color: #000000;
    --gray-custom: #1F1F1F;
    --gray-light: #EDEDED;
    --white: #ffffff;
    --black: #000000;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--gray-custom);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Consistente con el sitio principal */
.site-header {
    background-color: var(--black);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .header-container {
        padding: 0 2rem;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 2.5rem;
    width: auto;
}

.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Menú móvil */
.mobile-menu-button {
    display: block;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-items a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contenido principal */
.site-content {
    flex: 1;
    padding-top: 4rem;
}

.site-main {
    min-height: 500px;
}

/* Contenedores */
.max-w-7xl {
    max-width: 80rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
    }

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .md\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Colores de fondo */
.bg-white {
    background-color: var(--white);
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-black {
    background-color: var(--black);
}

/* Colores de texto */
.text-white {
    color: var(--white);
}

.text-black {
    color: var(--black);
}

.text-gray-700 {
    color: #374151;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-300 {
    color: #d1d5db;
}

.text-accent {
    color: var(--accent-color);
}

/* Espaciado */
.pt-24 {
    padding-top: 6rem;
    }

.pt-32 {
    padding-top: 8rem;
}

.pb-10 {
    padding-bottom: 2.5rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

/* Tipografía */
.font-subtitle {
    font-family: 'Poppins', sans-serif;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

@media (min-width: 768px) {
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

/* Layout */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gap-8 {
    gap: 2rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-1 {
    gap: 0.25rem;
}

/* Componentes consistentes con la web principal */
.card-minimal {
    background-color: var(--white);
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.card-minimal:hover {
    border-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para categorías dentro de card-minimal */
.card-minimal .category-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
        align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-minimal .category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.card-minimal .category-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Estilos para artículos dentro de card-minimal */
.card-minimal.post {
    text-align: left;
    padding: 0;
}

.card-minimal .article-content {
    padding: 1.5rem;
    text-align: left;
}

.card-minimal .article-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-minimal .article-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-minimal:hover .article-img {
    transform: scale(1.05);
}

.border {
    border-width: 1px;
}

.border-2 {
    border-width: 2px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-black {
    border-color: var(--black);
}

.overflow-hidden {
    overflow: hidden;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Transiciones */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Hover effects */
.hover\:text-gray-600:hover {
    color: #4b5563;
}

.hover\:text-gray-700:hover {
    color: #374151;
}

.hover\:text-black:hover {
    color: var(--black);
}

.hover\:bg-black:hover {
    background-color: var(--black);
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-200:hover {
    background-color: #e5e7eb;
}

.hover\:text-white:hover {
    color: var(--white);
}

.hover\:border-black:hover {
    border-color: var(--black);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:scale-110:hover {
    transform: scale(1.1);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Utilidades adicionales */
.w-full {
    width: 100%;
}

.w-4 {
    width: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.w-8 {
    width: 2rem;
}

.w-12 {
    width: 3rem;
}

.h-4 {
    height: 1rem;
}

.h-5 {
    height: 1.25rem;
}

.h-8 {
    height: 2rem;
}

.h-12 {
    height: 3rem;
}

.h-48 {
    height: 12rem;
}

.h-56 {
    height: 14rem;
}

.h-auto {
    height: auto;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.object-cover {
    object-fit: cover;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Hero Section del Blog */
.hero-section {
    background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
    position: relative;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-content {
    max-width: 48rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.hero-title-accent {
    color: var(--black);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.2em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
        font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.hero-cta:hover {
    background-color: var(--black);
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Secciones */
.categories-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 36rem;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--white);
    border: 1px solid #f3f4f6;
    padding: 2rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.category-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.category-link:hover {
    color: var(--black);
    opacity: 0.8;
    transform: translateX(2px);
}

/* Grid de artículos */
.articles-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
}

.article-card {
    background-color: var(--white);
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
}

.article-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    background-color: var(--black);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.category-badge:hover {
    background-color: #374151;
    color: var(--white);
}

.article-title {
    margin-bottom: 1rem;
}

.article-title a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.article-title a:hover {
    color: #374151;
}

.article-excerpt {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.meta-item {
    display: flex;
    align-items: center;
}

.article-footer {
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.read-more-btn:hover {
    color: var(--black);
    opacity: 0.8;
    transform: translateX(2px);
}

/* Newsletter section */
.newsletter-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.newsletter-accent {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.2em;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 24rem;
    margin: 0 auto 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--black);
}

.newsletter-btn {
    background-color: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-btn:hover {
    background-color: var(--black);
    opacity: 0.9;
    transform: translateY(-1px);
}

.newsletter-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* CTA section */
.cta-section {
    background-color: var(--white);
    padding: 5rem 0;
}

.cta-card {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 36rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-accent {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.2em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--black);
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* No posts state */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-icon {
    color: #d1d5db;
    margin-bottom: 2rem;
}

.no-posts-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.no-posts-text {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--black);
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #d1d5db;
}

.breadcrumbs .current {
    color: var(--black);
    font-weight: 500;
}

/* Artículos individuales */
.prose {
    max-width: 65ch;
}

.prose-lg {
    font-size: 1.125rem;
    line-height: 1.8;
}

.prose-black {
    color: var(--black);
}

.max-w-none {
    max-width: none;
}

.single-post-content h1 {
    font-size: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.single-post-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

.single-post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
}

.single-post-content h4 {
    font-size: 1.25rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--black);
}

.single-post-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-custom);
    line-height: 1.8;
    font-size: 1.125rem;
}

.single-post-content ul, 
.single-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    color: var(--gray-custom);
}

.single-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.single-post-content blockquote {
    border-left: 4px solid var(--black);
    padding-left: 2rem;
    padding-right: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-style: italic;
    margin: 2rem 0;
    background-color: #f9f9f9;
    color: var(--gray-custom);
    font-size: 1.25rem;
    line-height: 1.6;
}

.single-post-content img {
    margin: 2rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.single-post-content a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 500;
}

.single-post-content a:hover {
    color: #374151;
}

.single-post-content strong {
    font-weight: 700;
    color: var(--black);
}

.single-post-content em {
    font-style: italic;
    color: #374151;
}

.single-post-content code {
    background-color: #f3f4f6;
    color: var(--black);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.single-post-content pre {
    background-color: var(--black);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.single-post-content pre code {
    background-color: transparent;
    color: var(--white);
    padding: 0;
}

/* Compartir en redes sociales */
.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.social-share-title {
    font-weight: 600;
    margin-right: 1rem;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #f3f4f6;
    color: #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-share a:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Navegación entre posts */
.post-navigation {
    margin: 2rem 0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nav-previous a,
.nav-next a {
    color: inherit;
    text-decoration: none;
    }

.nav-previous,
.nav-next {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: #f3f4f6;
}

.nav-next {
    text-align: right;
}

/* Footer */
.site-footer {
    background-color: var(--black);
    color: #9ca3af;
    padding: 2rem 0;
}

.footer-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        padding: 0 2rem;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-separator {
    margin: 0 0.75rem;
    color: #6b7280;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.pagination .current {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Formularios */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

button,
input[type="button"],
input[type="submit"] {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background-color: var(--black);
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
}

    .newsletter-title,
    .cta-title {
        font-size: 2rem;
}

    .newsletter-form {
        flex-direction: column;
        max-width: 20rem;
}

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid,
    .articles-grid {
        grid-template-columns: 1fr;
}

    .hero-stats {
        gap: 1rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
}

    .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
}
}

/* WordPress específico */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Comentarios */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    }
    
.comment-body {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
} 