/*
Theme Name: Cinexcusas
Description: Tema personalizado para el taller de cine documental comunitario Cinexcusas
Version: 2.0
Author: Cinexcusas Team
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700&family=Special+Elite&display=swap');

/* Variables CSS */
:root {
    --a: #0b0b0b;
    --b: #f5f5f5;
    --c: #ff0a7a;
    --d: #00e0ff;
    --e: #141414;
    --f: #f3f0e7;
    --g: #00000055;
}

/* Evitar que los textos se rompan con guiones */
body, p, h1, h2, h3, h4, h5, h6, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}

/* Reglas específicas para elementos editables */
.hero-tagline,
.section-title,
.about-description,
.card-title,
.card-content,
.teacher-name,
.teacher-title,
.teacher-bio,
.registration-title,
.registration-subtitle,
.registration-description,
.feature1-text,
.feature2-text,
.feature3-text,
.feature4-text,
.video-title,
.video-description,
.audience-description,
.audience-section-title,
.audience-section-subtitle,
.audience-section-description,
.audience-card-title,
.audience-card-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    white-space: normal;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--a);
    color: var(--b);
    line-height: 1.6;
    overflow-x: hidden;
}

/* WordPress specific styles */
.wp-site-blocks {
    margin: 0;
    padding: 0;
}

.wp-block-group {
    margin: 0;
    padding: 0;
}

/* Container responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Hero Section - Rediseñado para WordPress */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 10, 122, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 224, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, var(--a) 0%, #1a1a1a 100%);
}

/* Video Section */
.video-section {
    background: var(--e);
    padding: 80px 0;
}

.video-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.video-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--c);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--b);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Video Section */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .video-description {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .video-container {
        border-radius: 8px;
    }
}

/* ========================================
   EDICIÓN INLINE EN CUSTOMIZER
   ======================================== */

/* Indicador visual para elementos editables */
.inline-editable-hover {
    position: relative;
    cursor: pointer !important;
    transition: all 0.2s ease;
}

/* Botón de edición inline */
.inline-edit-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--c);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 1000;
    animation: pulse 1.5s infinite;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.inline-edit-btn:hover {
    background: var(--d);
    transform: scale(1.1);
}

.inline-editable-hover::after {
    content: "Haz clic para editar";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1001;
    pointer-events: none;
}

.inline-editable-hover:hover::after {
    opacity: 1;
}

/* Contenedor del editor inline */
.inline-editor-container {
    position: relative;
    background: white;
    border: 2px solid var(--c);
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    min-width: 200px;
}

/* Input del editor inline */
.inline-editor-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
    padding: 5px;
    margin-bottom: 10px;
    resize: none;
}

.inline-editor-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Botones del editor inline */
.inline-editor-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.inline-editor-buttons button {
    background: var(--c);
    color: white;
    border: none;
    border-radius: 3px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.inline-editor-buttons button:hover {
    background: var(--d);
}

.inline-editor-buttons .inline-editor-cancel {
    background: #666;
}

.inline-editor-buttons .inline-editor-cancel:hover {
    background: #999;
}

/* Mensajes del editor inline */
.inline-editor-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--c);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 1003;
    animation: slideIn 0.3s ease;
}

.inline-editor-message-success {
    background: #4CAF50;
}

.inline-editor-message-error {
    background: #f44336;
}

/* Animaciones */
@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Modo customizer específico */
.customize-preview .inline-editable-hover {
    outline: 2px dashed var(--c);
    outline-offset: 2px;
}

/* Responsive para edición inline */
@media (max-width: 768px) {
    .inline-editor-container {
        min-width: 150px;
        padding: 8px;
    }
    
    .inline-edit-btn {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .inline-editable-hover::after {
        font-size: 10px;
        top: -30px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(0.3);
    transform: scale(1.05);
    transition: transform 0.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 11, 11, 0.8), rgba(20, 20, 20, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-logo {
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(255, 10, 122, 0.4));
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-width: 400px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.hero-cinta {
    margin: 20px 0 40px 0;
    display: flex;
    justify-content: center;
    transform: translateY(-20px) rotate(-3deg);
    transition: all 0.3s ease;
    position: relative;
}

.hero-cinta:hover {
    transform: translateY(-25px) rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 224, 255, 0.4));
}

.cinta-img {
    max-width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.hero-tagline {
    font-family: 'Special Elite', monospace;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: var(--f);
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-schedule {
    margin-bottom: 35px;
    text-align: center;
}

.hero-dates, .hero-hours, .hero-location {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 500;
    margin: 8px auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    padding: 10px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    max-width: 400px;
    width: 100%;
}

.hero-dates {
    color: var(--d);
    background: rgba(0, 224, 255, 0.15);
    border: 2px solid var(--d);
    margin-bottom: 12px;
}

.hero-hours {
    color: var(--c);
    background: rgba(255, 10, 122, 0.15);
    border: 2px solid var(--c);
}

.hero-location {
    color: var(--f);
    background: rgba(243, 240, 231, 0.15);
    border: 2px solid var(--f);
    margin-top: 12px;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(45deg, var(--c), var(--d));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 10, 122, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--d);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 10, 122, 0.6);
    color: white;
    border-color: var(--c);
}

/* Navigation - Lado izquierdo, limpio */
.navigation {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--e);
    border: 2px solid var(--c);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(255, 10, 122, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 200px;
}

.navigation:hover {
    box-shadow: 0 6px 25px rgba(255, 10, 122, 0.4);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: var(--c);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--d);
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background: var(--d);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--b);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    background: var(--a);
    display: block;
    text-align: center;
    border-left: 3px solid var(--d);
}

.nav-menu li a:hover {
    color: var(--c);
    border-color: var(--c);
    background: rgba(255, 10, 122, 0.1);
    transform: translateX(2px);
    border-left-color: var(--c);
}

/* Blog disabled state */
.blog-disabled {
    cursor: not-allowed;
    position: relative;
}

.blog-disabled:hover {
    color: #666 !important;
    border-color: #666 !important;
    background: rgba(102, 102, 102, 0.1) !important;
    transform: none !important;
    border-left-color: #666 !important;
}

/* Tooltip para blog deshabilitado */
.blog-disabled::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--a);
    color: var(--b);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid var(--c);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-disabled::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border: 5px solid transparent;
    border-top-color: var(--c);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.blog-disabled:hover::after,
.blog-disabled:hover::before {
    opacity: 1;
    visibility: visible;
}

.nav-menu li a.active {
    color: var(--d);
    border-color: var(--d);
    background: rgba(0, 224, 255, 0.1);
    border-left-color: var(--d);
}

/* Menú específico para blog */
.blog-menu {
    justify-content: space-between;
    max-width: 400px;
    margin: 0 auto;
}

.blog-menu li {
    flex: 1;
    margin: 0 5px;
}

.blog-menu li a {
    font-size: 0.8rem;
    padding: 8px 12px;
    text-align: center;
    background: rgba(255, 10, 122, 0.1);
    border: 2px solid var(--c);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blog-menu li a:hover {
    background: var(--c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 10, 122, 0.3);
}

.blog-menu li a.active {
    background: var(--d);
    color: white;
    border-color: var(--d);
    box-shadow: 0 4px 12px rgba(0, 224, 255, 0.3);
}

.blog-menu li:first-child a {
    background: rgba(0, 224, 255, 0.1);
    border-color: var(--d);
    color: var(--d);
}

.blog-menu li:first-child a:hover {
    background: var(--d);
    color: white;
}


/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-top: 20px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 3px;
    color: var(--b);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 0 var(--c);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--c), var(--d));
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--d);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--a) 0%, #0f0f0f 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 10, 122, 0.02) 35px,
            rgba(255, 10, 122, 0.02) 70px
        );
    pointer-events: none;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 60px;
    color: var(--b);
    opacity: 0.9;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--e);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 224, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c), var(--d));
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 0;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--d);
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--c);
    filter: drop-shadow(0 0 10px rgba(255, 10, 122, 0.3));
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--b);
    margin-bottom: 15px;
}

.card-content {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--b);
}

/* Audience Section */
.audience {
    background: linear-gradient(45deg, var(--a) 0%, #0a0a0a 100%);
    position: relative;
}

.audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 40px,
            rgba(0, 224, 255, 0.02) 40px,
            rgba(0, 224, 255, 0.02) 80px
        );
    pointer-events: none;
}

.audience-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.audience-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 60px;
    color: var(--b);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.audience-section {
    margin-bottom: 80px;
}

.audience-section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(20, 20, 20, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(0, 224, 255, 0.2);
    position: relative;
}

.audience-section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c), var(--d));
}

.audience-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    color: var(--c);
    margin-bottom: 10px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.audience-section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--d);
    margin-bottom: 15px;
    font-weight: 400;
}

.audience-section-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--b);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.audience-card {
    background: var(--e);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 224, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid var(--d);
}

.audience-card:hover {
    transform: translateY(-3px);
    border-color: var(--d);
    box-shadow: 0 8px 25px rgba(0, 224, 255, 0.1);
    border-left-color: var(--c);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: var(--c);
}

.audience-card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: var(--c);
    margin-bottom: 10px;
}

.audience-card-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--b);
    opacity: 0.8;
}

/* Teacher Section */
.teacher {
    background: linear-gradient(135deg, var(--e) 0%, #0d0d0d 100%);
    position: relative;
}

.teacher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 10, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 224, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.teacher-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--a);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 10, 122, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.teacher-image {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--c);
    box-shadow: 0 8px 25px rgba(255, 10, 122, 0.4);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.teacher-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.teacher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) brightness(0.8);
    transition: filter 0.3s ease;
}

.teacher-image:hover .teacher-img {
    filter: grayscale(0) brightness(1);
}

.teacher-info {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 100%;
    overflow: hidden;
}

.teacher-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--d);
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.teacher-title {
    font-family: 'Special Elite', monospace;
    font-size: 1.2rem;
    color: var(--f);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.teacher-bio {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--b);
    opacity: 0.9;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
}

/* Registration Section */
.registration {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--c) 0%, var(--d) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.1) 50px,
            rgba(255, 255, 255, 0.1) 100px
        );
    pointer-events: none;
}

.registration-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.registration-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 4px;
    color: var(--b);
    text-shadow: 3px 3px 0 var(--a);
    margin-bottom: 20px;
}

.registration-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--b);
    opacity: 0.9;
    margin-bottom: 30px;
}

.registration-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--b);
    opacity: 0.8;
    margin-bottom: 40px;
}

.registration-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--b);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-check {
    color: var(--d);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

.registration-btn {
    display: inline-block;
    background: var(--a);
    color: var(--c);
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid var(--c);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.registration-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 10, 122, 0.3), transparent);
    transition: left 0.5s ease;
}

.registration-btn:hover::before {
    left: 100%;
}

.registration-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    color: var(--b);
    border-color: var(--d);
}

/* Blog Styles */
.blog-container {
    padding: 120px 0 80px;
    background: var(--a);
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 224, 255, 0.2);
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c), var(--d));
}

.blog-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    color: var(--c);
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.blog-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--d);
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.post-card {
    background: var(--e);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 224, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--d);
    box-shadow: 0 15px 40px rgba(0, 224, 255, 0.15);
}

.post-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.default-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--c), var(--d));
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-icon {
    font-size: 3rem;
    color: var(--b);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.post-title a {
    color: var(--b);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--c);
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--d);
}

.post-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--b);
    opacity: 0.9;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    background: var(--a);
    color: var(--c);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid var(--c);
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--c);
    color: var(--a);
    transform: translateY(-2px);
}

.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: var(--e);
    color: var(--b);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(0, 224, 255, 0.2);
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--c);
    color: var(--a);
    border-color: var(--c);
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 224, 255, 0.2);
}

.no-posts h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--c);
    margin-bottom: 15px;
}

.no-posts p {
    font-family: 'Poppins', sans-serif;
    color: var(--b);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--e) 0%, #0a0a0a 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 224, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c), var(--d));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--c);
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 var(--c);
}

.footer-section p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--b);
    opacity: 0.8;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: var(--d);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.social-links a:hover {
    color: var(--c);
    border-color: var(--c);
    background: rgba(255, 10, 122, 0.1);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed rgba(243, 240, 231, 0.1);
}

.copyright {
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    color: var(--f);
    opacity: 0.7;
    margin-bottom: 10px;
}

.developer-credit {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: var(--d);
    opacity: 0.8;
}

.developer-credit strong {
    color: var(--c);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .teacher-card {
        grid-template-columns: 250px 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .teacher-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navigation {
        top: 5px;
        left: 5px;
        padding: 8px;
        max-width: 150px;
        border-radius: 6px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--e);
        border: 2px solid var(--c);
        border-radius: 6px;
        padding: 8px;
        margin-top: 5px;
        box-shadow: 0 4px 15px rgba(255, 10, 122, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        font-size: 0.7rem;
        padding: 4px 6px;
        margin: 2px 0;
        border-left: 2px solid var(--d);
    }
    
    .hero-logo:hover,
    .hero-cinta:hover {
        transform: scale(1.02);
    }
    
    .teacher-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .teacher-image {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .registration-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navigation {
        top: 3px;
        left: 3px;
        padding: 6px;
        max-width: 120px;
        border-radius: 4px;
    }
    
    .mobile-menu-toggle {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    
    .nav-menu {
        gap: 2px;
        padding: 6px;
        margin-top: 3px;
    }
    
    .nav-menu li a {
        font-size: 0.65rem;
        padding: 3px 4px;
        margin: 1px 0;
        border-left: 1px solid var(--d);
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .logo-img {
        max-width: 300px;
    }
    
    .cinta-img {
        max-width: 350px;
    }
    
    .hero-dates, .hero-hours, .hero-location {
        font-size: 0.8rem;
        padding: 8px 12px;
        max-width: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .audience-section-header {
        padding: 20px;
    }
    
    .audience-section-title {
        font-size: 2rem;
    }
    
    .teacher-card {
        padding: 20px;
    }
    
    .registration-content {
        padding: 20px;
    }
    
    .registration-title {
        font-size: 2.5rem;
    }
}

/* WordPress specific responsive fixes */
@media (max-width: 768px) {
    .wp-block-group {
        padding: 0;
    }
    
    .wp-block-columns {
        flex-direction: column;
    }
    
    .wp-block-column {
        margin-bottom: 20px;
    }
}

/* Print styles */
@media print {
    .navigation,
    .hero-cta,
    .registration-btn {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-dates, .hero-hours, .hero-location {
        font-size: 0.7rem;
        padding: 6px 10px;
        max-width: 250px;
    }
    
    .section {
        padding: 20px 0;
    }
    
    /* Teacher section responsive */
    .teacher-bio {
        font-size: 1rem;
        line-height: 1.6;
        word-break: normal;
        hyphens: none;
        -webkit-hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
    }
    
    .teacher-info {
        padding: 0 10px;
    }
}

/* ========================================
   TEACHER ACHIEVEMENTS SECTION
======================================== */

.teacher-achievements {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--c);
}

.achievements-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--c);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.achievements-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--b);
    opacity: 0.8;
    margin-bottom: 20px;
}

.achievements-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.achievements-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 20px;
    align-items: center;
    width: calc(100% * 2); /* Para duplicar el ancho y permitir el loop perfecto */
}

.achievement-item {
    flex-shrink: 0;
    min-width: 160px;
}

.achievement-logo {
    background: var(--b);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.achievement-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 10, 122, 0.2);
    border-color: var(--c);
}

.achievement-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--a);
    line-height: 1.2;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pausar animación al hacer hover */
.achievements-carousel:hover .achievements-track {
    animation-play-state: paused;
}

/* Responsive para achievements */
@media (max-width: 768px) {
    .achievements-title {
        font-size: 1.5rem;
    }
    
    .achievements-subtitle {
        font-size: 0.8rem;
    }
    
    .achievement-item {
        min-width: 120px;
    }
    
    .achievement-logo {
        padding: 10px;
    }
    
    .achievement-name {
        font-size: 0.7rem;
    }
    
    .achievements-track {
        gap: 15px;
    }
}

/* ========================================
   BLOG PAGE STYLES - TRADITIONAL LAYOUT
======================================== */

.blog-hero {
    background: linear-gradient(135deg, var(--a) 0%, var(--e) 100%);
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid var(--c);
}

.blog-header {
    max-width: 600px;
    margin: 0 auto;
}

.blog-logo {
    margin-bottom: 15px;
}

.blog-logo-img {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(255, 10, 122, 0.3));
}

.blog-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--c);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.blog-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--b);
    opacity: 0.8;
    margin-bottom: 0;
}

.blog-content {
    background: #f8f9fa;
    padding: 40px 0;
    min-height: 70vh;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-main {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-post {
    border-bottom: 1px solid #eee;
    padding: 30px;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-header {
    margin-bottom: 20px;
}

.post-thumbnail {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.post-thumbnail a {
    display: block;
}

.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover .post-image {
    transform: scale(1.02);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.post-date {
    font-weight: 500;
}

.post-category a {
    background: var(--c);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.post-category a:hover {
    background: var(--d);
}

.post-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--a);
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--c);
}

.post-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.post-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.read-more-btn {
    display: inline-block;
    background: transparent;
    color: var(--c);
    padding: 8px 0;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.read-more-btn:hover {
    color: var(--d);
    border-bottom-color: var(--d);
}

.no-posts {
    text-align: center;
    padding: 60px 30px;
}

.no-posts h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--c);
    margin-bottom: 15px;
}

.no-posts p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
}

.blog-pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    background: white;
    color: var(--a);
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--c);
    color: white;
    border-color: var(--c);
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--a);
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--c);
    padding-bottom: 8px;
}

.sidebar-widget p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.sidebar-btn {
    display: inline-block;
    background: var(--c);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sidebar-btn:hover {
    background: var(--d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 224, 255, 0.3);
}

.category-list,
.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li,
.recent-posts li {
    margin-bottom: 8px;
}

.category-list a,
.recent-posts a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.category-list a:hover,
.recent-posts a:hover {
    color: var(--c);
}

.category-list a span {
    color: #999;
    font-size: 0.8rem;
}

.back-to-home {
    background: linear-gradient(135deg, var(--c) 0%, var(--d) 100%);
    padding: 40px 0;
    text-align: center;
}

.back-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.back-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 20px;
}

.back-btn {
    display: inline-block;
    background: white;
    color: var(--c);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: var(--a);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive para blog */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 0.9rem;
    }
    
    .blog-post {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .widget-title {
        font-size: 1.3rem;
    }
    
    .back-content h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   SINGLE POST STYLES
======================================== */

/* Asegurar que el scroll funcione en páginas individuales */
body.single {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

/* Contenedor principal */
.container {
    position: relative;
    z-index: 1;
}

/* Asegurar scroll en páginas individuales */
body.single {
    position: relative;
}

body.single .single-content {
    padding-bottom: 100px;
}

body.single .single-post {
    margin-bottom: 50px;
}

.single-hero {
    background: linear-gradient(135deg, var(--a) 0%, var(--e) 100%);
    padding: 40px 0;
    text-align: center;
}

.single-header {
    max-width: 800px;
    margin: 0 auto;
}

.single-logo {
    margin-bottom: 20px;
}

.single-logo-img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(255, 10, 122, 0.3));
}

.breadcrumb {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--b);
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--c);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--d);
}

.single-content {
    background: var(--e);
    padding: 60px 0;
    min-height: auto;
    overflow: visible;
}

.single-post {
    max-width: 800px;
    margin: 0 auto;
    background: var(--b);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.post-header {
    padding: 40px 40px 20px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--a);
    opacity: 0.7;
}

.post-date {
    font-weight: 500;
}

.post-category {
    background: var(--c);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--a);
    line-height: 1.2;
    margin-bottom: 30px;
}

.post-featured-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    padding: 0 40px 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--a);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    font-family: 'Bebas Neue', cursive;
    color: var(--c);
    margin: 30px 0 15px;
}

.post-body h2 {
    font-size: 2rem;
    letter-spacing: 1px;
}

.post-body h3 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.post-body h4 {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 4px solid var(--c);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--a);
    opacity: 0.8;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-footer {
    padding: 30px 40px;
    border-top: 2px solid #f0f0f0;
}

.post-tags h4 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.2rem;
    color: var(--a);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.tag {
    display: inline-block;
    background: var(--d);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px 8px 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px auto 0;
    max-width: 800px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

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

.post-navigation a {
    display: inline-block;
    background: var(--b);
    color: var(--a);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.post-navigation a:hover {
    background: var(--c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 10, 122, 0.3);
}

.back-to-blog {
    text-align: center;
    margin-top: 40px;
}

.back-blog-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--c) 0%, var(--d) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 10, 122, 0.3);
}

.back-blog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 10, 122, 0.4);
}

/* Responsive para single post */
@media (max-width: 768px) {
    .single-post {
        margin: 0 15px;
    }
    
    .post-header,
    .post-body,
    .post-footer {
        padding: 20px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .post-body h3 {
        font-size: 1.3rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-previous,
    .nav-next {
        text-align: center;
    }
}