/* single.css limpio para reiniciar estilos de artículos. Añadir estilos aquí poco a poco. */

/* Variables específicas para artículos */
:root {
    --article-max-width: min(100%, 1200px);
    --article-content-width: min(100%, 800px);
    --article-spacing: clamp(1rem, 5vw, 2rem);
    --article-font-size: clamp(1rem, 1.5vw, 1.125rem);
    --article-line-height: 1.7;
    --article-heading-color: #1a1a1a;
    --article-text-color: #333;
    --article-meta-color: #666;
    --article-border-color: #e5e5e5;
    --article-background: #fff;
    --article-card-shadow: 0 2px 4px rgba(0,0,0,0.05);

    /* Tamaños de fuente base */
    --font-size-base: 18px;
    --font-size-small: 14px;
    --font-size-large: 20px;
    --font-size-xlarge: 22px;
    --font-size-xxlarge: 26px;
    --font-size-h1: 32px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --line-height-base: 1.5;
}

/* Imagen destacada del post (estilo slider home, centrada y más pequeña) */
.product-banner {
    width: 100%;
    max-width: 900px;
    height: 350px;
    margin: 2rem 0rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .product-banner {
        max-width: 100vw;
        height: 220px;
        margin: 2rem auto;
    }
}

/* Estilos para el contenido principal del post */
.product-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem;
    margin: 0 auto 2rem auto;
    max-width: 800px;
    font-size: var(--font-size-base);
    color: #333;
}

/* Título principal del post: alto contraste */
.product-content h1 {
    font-size: var(--font-size-h1);
    font-weight: 900;
    color: #1a1a1a; /* Negro casi puro para máximo contraste */
    margin-bottom: 0.7rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.04);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    animation: fadeInDown 0.7s cubic-bezier(.77,0,.18,1) 1;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Meta información: fecha y autor, alto contraste */
.meta_date {
    color: #444;
    font-size: var(--font-size-base);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta_date .negrita {
    color: #007a99; /* Azul fuerte, buen contraste sobre blanco */
    font-weight: 700;
    margin-left: 0.3rem;
    position: relative;
    padding-left: 1.2em;
}

.meta_date .negrita::before {
    content: '\f007'; /* FontAwesome user icon */
    font-family: 'FontAwesome';
    font-size: 1em;
    color: #007a99;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.8;
}

/* Estilos para el cuerpo del post */
.post-content {
    width: 100%;
    font-size: var(--font-size-base);
    color: #333;
    line-height: 1.7;
    margin: 0 auto 2rem auto;
}

.post-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: #1a1a1a;
}

.post-content h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #1a1a1a;
}

.post-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.post-content ul, .post-content ol {
    margin: 1.2rem 0 1.2rem 2rem;
    padding-left: 1.2rem;
}

.post-content li {
    margin-bottom: 0.6rem;
}

.post-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: block;
    object-fit: cover;
}

.post-content blockquote {
    border-left: 4px solid #00bcd4;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
    color: #444;
}

.cd-main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.antevenio, #article-300x250-1, #article-300x250-2, #article-300x250-3 {
    width: 100%;
    height: 300px;    
    border-radius: 16px 16px 0 0;    
}
.wp-caption img {
    width: 94% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin: 2rem 0 2rem 0;
    object-fit: cover;
}

/* Sidebar de WordPress */
.primary-sidebar.widget-area {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    font-size: var(--font-size-base);
    color: #333;
}

.primary-sidebar .widget {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.primary-sidebar .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.primary-sidebar .widget-title, .primary-sidebar h2, .primary-sidebar h3 {
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: #007a99;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.primary-sidebar ul, .primary-sidebar ol {
    margin: 0 0 0 1.2rem;
    padding: 0;
    list-style: disc inside;
}

.primary-sidebar li {
    margin-bottom: 0.7rem;
}

.primary-sidebar a {
    color: #007a99;
    text-decoration: none;
    transition: color 0.2s;
}

.primary-sidebar a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .primary-sidebar.widget-area {
        padding: 1rem 0.5rem;
        font-size: var(--font-size-base);
    }
}

.single-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    align-items: flex-start;
}

.single-main {
    flex: 1 1 0;
    min-width: 0;
    max-width: 800px;
}

.single-sidebar {
    flex: 0 0 435px;
    min-width: 435px;
    max-width: 435px;
}

@media (max-width: 1024px) {
    .single-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .single-main, .single-sidebar {
        max-width: 100%;
        width: 100%;
    }
    .single-sidebar {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin-left: 0;
    }
}

/* Estilos para el template de video */
.video-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-banner {
    margin: 0 0 2rem 0;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.video-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.video-badge {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.video-badge i {
    font-size: 1.1rem;
}

.video-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #1a1a1a;
    margin: 0 0 1.2rem 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.04);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    animation: fadeInDown 0.7s cubic-bezier(.77,0,.18,1) 1;
}

@media (max-width: 768px) {
    .video-title {
        font-size: 1.5rem;
    }
}

.meta_date {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.meta_date span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.meta_date i {
    color: #00bcd4;
}

.share-buttons {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-buttons h3 {
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.share-buttons a:hover {
    transform: translateY(-2px);
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #1da1f2;
}

.share-whatsapp {
    background: #25d366;
}

/* Responsive */
@media (max-width: 768px) {
    .video-content {
        padding: 1rem;
    }
    
    .video-banner {
        margin: -1rem -1rem 1rem -1rem;
    }
    
    .meta_date {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-buttons a {
        margin-bottom: 0.5rem;
    }
}

.video-vertical {
    aspect-ratio: 9/16 !important;
    max-width: 420px;
    margin: 0 auto;
    height: auto;
    min-height: 400px;
}

.video-wrapper iframe,
.video-wrapper video,
.video-vertical iframe,
.video-vertical video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    background: #000;
    display: block;
}

@media (max-width: 600px) {
    .video-vertical {
        max-width: 100vw;
        min-height: 300px;
    }
    .video-wrapper {
        aspect-ratio: 16/9;
    }
}

/* --- FOOTER DEL POST --- */
.entry-footer {
    margin-top: 2.5rem;
    padding: 2rem 0 0 0;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    background: none;
}

.entry-footer .post-views {
    font-size: 1rem;
    color: #00bcd4;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1rem;
}
.entry-footer .post-views::before {
    content: '\f06e'; /* FontAwesome eye */
    font-family: 'FontAwesome';
    margin-right: 0.5em;
    color: #00bcd4;
    font-size: 1.1em;
}

.entry-footer .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1rem;
}
.entry-footer .post-tags a,
.entry-footer .post-tags span {
    background: #f1f8fa;
    color: #0097a7;
    border-radius: 16px;
    padding: 0.3em 1em;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
    transition: background 0.2s, color 0.2s;
}
.entry-footer .post-tags a:hover {
    background: #00bcd4;
    color: #fff;
}

/* --- NAVEGACIÓN DE ENTRADAS --- */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 3rem 0;
    padding: 0;
    gap: 1.5rem;
    background: none;
    border: none;
}

.post-navigation .nav-links {
    display: flex;
    width: 100%;
    gap: 1.5rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    min-width: 0;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.post-navigation a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    color: #00bcd4;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #00bcd4;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
}

.post-navigation .nav-next a {
    text-align: right;
}

.post-navigation .nav-next a::after {
    content: '\f054';
    font-family: 'FontAwesome';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #00bcd4;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous a::after {
    content: '\f053';
    font-family: 'FontAwesome';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #00bcd4;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.post-navigation a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
    }
    
    .post-navigation a {
        padding: 1.2rem;
    }
    
    .post-navigation .nav-title {
        font-size: 1rem;
    }
    
    .post-navigation .nav-next a::after,
    .post-navigation .nav-previous a::after {
        display: none;
    }
}

/* --- ENTRADAS RELACIONADAS --- */
.related-posts {
    margin: 3rem 0;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007a99;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #fdae16);
    border-radius: 3px;
}

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

.related-post-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,188,212,0.15);
}

.related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

/* Ajuste de thumbnails en relacionados si vienen en distintos tamaños */
.related-post-thumb img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.8rem 0;
}

.entry-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.entry-title a:hover {
    color: #00bcd4;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.box-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.box-author {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.box-author::before {
    content: '\f007';
    font-family: 'FontAwesome';
    color: #00bcd4;
    font-size: 0.9rem;
}

.entry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00bcd4;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: auto;
    transition: all 0.2s;
}

.read-more::after {
    content: '\f054';
    font-family: 'FontAwesome';
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.read-more:hover {
    color: #007a99;
}

.read-more:hover::after {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-post-card img {
        height: 180px;
    }
    
    .article-content {
        padding: 1.2rem;
    }
    
    .entry-title {
        font-size: 1.1rem;
    }
    
    .entry-content p {
        font-size: 0.9rem;
    }
}

/* --- COMENTARIOS --- */
.comments-area {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comments-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.comments-title span {
    color: #666;
    font-weight: 500;
}

/* Lista de comentarios */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-body {
    position: relative;
    padding-left: 80px;
}

/* Avatar */
.comment-author .avatar {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
    font-style: normal;
}

.comment-author .says {
    color: #666;
    font-style: italic;
    margin-left: 0.5rem;
}

/* Metadatos */
.comment-metadata {
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #666;
}

.comment-metadata a {
    color: #666;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #333;
}

.edit-link {
    margin-left: 1rem;
}

.edit-link a {
    color: #666;
    text-decoration: none;
}

.edit-link a:hover {
    color: #333;
}

/* Contenido del comentario */
.comment-content {
    margin: 1rem 0;
    line-height: 1.6;
    color: #444;
}

.comment-content p {
    margin: 0 0 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Botón responder */
.reply {
    margin-top: 1rem;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: #e9ecef;
    color: #333;
}

/* Formulario de comentarios */
.comment-respond {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.comment-reply-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.comment-reply-title small {
    font-size: 0.9rem;
    margin-left: 1rem;
}

.comment-reply-title small a {
    color: #666;
    text-decoration: none;
}

.comment-reply-title small a:hover {
    color: #333;
}

/* Formulario */
.comment-form {
    margin-top: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    border-color: #666;
    outline: none;
}

.form-submit {
    margin-top: 1.5rem;
}

.submit {
    padding: 0.8rem 1.5rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit:hover {
    background: #444;
}

/* Campos requeridos */
.required-field-message {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.required {
    color: #dc3545;
}

/* Logged in as */
.logged-in-as {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.logged-in-as a {
    color: #666;
    text-decoration: none;
}

.logged-in-as a:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .comments-area {
        padding: 1.5rem;
    }

    .comment-body {
        padding-left: 60px;
    }

    .comment-author .avatar {
        width: 50px;
        height: 50px;
    }

    .comments-title {
        font-size: 1.5rem;
    }

    .comment-reply-title {
        font-size: 1.3rem;
    }
}

/* --- ESTILOS PARA IMÁGENES CON CAPTION --- */
.wp-caption {
    max-width: 100% !important;
    margin: 2rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}

.wp-caption img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 12px 12px 0 0;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-caption-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    padding: 1rem 1.2rem;
    margin: 0 !important;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    font-style: italic;
}

.wp-caption.aligncenter {
    margin: 2rem auto;
}

.wp-caption.alignleft {
    margin: 2rem 2rem 2rem 0;
    float: left;
    max-width: 50%;
}

.wp-caption.alignright {
    margin: 2rem 0 2rem 2rem;
    float: right;
    max-width: 50%;
}

@media (max-width: 768px) {
    .wp-caption.alignleft,
    .wp-caption.alignright {
        float: none;
        max-width: 100%;
        margin: 2rem 0;
    }
    
    .wp-caption-text {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
}

/* Errores de validación para el formulario de video */
.vf-error {
    color: #dc3545;
    background: #fff0f3;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    font-size: 0.98em;
    margin-top: 0.4em;
    padding: 0.5em 1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(220,53,69,0.06);
    animation: fadeInError 0.3s;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.vf-error-input {
    border-color: #dc3545 !important;
    background: #fff0f3 !important;
    color: #b02a37 !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(220,53,69,0.08);
}
