/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 html{
    font-size: 18px;
 }
 @import url('https://fonts.googleapis.com/css2?family=Mooli&family=Outfit:wght@100..900&family=Special+Gothic+Condensed+One&display=swap');
 @import url('paso-principal-background.css');
 :root {
    --header-font:'Mooli', sans-serif;
    --body-font:'Open Sans', sans-serif;
    --space:1.5rem;
    --space-2:calc(var(--space) * 2);
    --space-3:calc(var(--space) * 3);
    --space-4:calc(var(--space) * 4);
    --space-5:calc(var(--space) * 5);
    --space-6:calc(var(--space) * 6);
    --space-7:calc(var(--space) * 7);
    --space-8:calc(var(--space) * 8);
    --accent-color:#005a87;
    --accent-color-opacity:0, 90, 135;
    --dark-2:#121212;
    --font-size-h1: 3.5rem;    /* 48px */
    --font-size-h2: 2.75rem; /* 36px */
    --font-size-h3: 1.75rem; /* 28px */
    --font-size-h4: 1.25rem;  /* 24px */
    --font-size-body: 1rem;  /* 16px (p, li, etc.) */
    --font-size-small: 0.875rem;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}
.ast-separate-container #primary, .ast-separate-container #secondary{
    padding-top: 0!important;
}
.post-type-archive-arte .ast-container #primary{
    margin-top: 0!important;
}
.page-numbers{
    list-style:none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a){
    text-decoration: none!important;
}
.content .dark_mode a{
    color: white!important;
}
/* Dark mode toggle button */
.dark_mode-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 10px;
    width: 36px;
    height: 36px;
}

.dark_mode-toggle:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.dark_mode-toggle .material-symbols-outlined {
    font-size: 20px;
    color: white;
}
.arte-pasos-principal, .paso-columna-unica, .paso-columna{
    background-color: var(--dark-2);
    color: white;
}
.dark_mode .arte-pasos-principal, .dark_mode .paso-columna-unica, .dark_mode .paso-columna{
    background-color: white;
    color: var(--dark-2);
}
/* Arte Archive Header */
.arte-archive-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.arte-archive-title {
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-2);
}

.arte-archive-description {
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.dark_mode .arte-archive-title {
    color: white;
}

.dark_mode .arte-archive-description {
    color: #ccc;
}

/* Video de categoría en el header */
.arte-archive-category-video {
    margin-top: 2rem;
    text-align: center;
}

.arte-archive-category-video iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .arte-archive-category-video iframe {
        width: 100%;
        height: 200px;
    }
}
.owl-dots span{display:none!important;}
/* Arte Pasos Grid Layout */
.arte-pasos-wrapper {
    margin-bottom: var(--space-6)!important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
    padding: 20px;
    min-height: 600px;
}
.arte-header-dragging .arte-header-dragger{
    cursor: grabbing;
}
.arte-header-dragger {
    cursor: grab;
}
/* Paso Principal - Ocupa 2 filas x 1 columna */
.arte-pasos-principal {
    grid-column: 1;
    grid-row: 1 / 4;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.arte-pasos-principal .pasos-imagen,
.arte-pasos-principal .pasos-imagen_completa {
    max-width: 100%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.arte-pasos-principal .pasos-titulo {
    font-size: var(--font-size-h3);
    font-weight: 700;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.arte-pasos-principal .pasos-descripcion {
    font-size: var(--font-size-body);
  
}

/* Pasos Container */
.pasos {
    grid-column: 2 / 4;
    grid-row: 1 / 4;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

/* Paso individual */
.paso {
    min-height: 400px!important;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
}

.paso:hover {
    
}

.paso .pasos-titulo {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Paso 1 - Ocupa la mitad superior */
.paso.paso-1 {
    grid-row: 1;
}

/* Paso 2 - Ocupa la mitad inferior */
.paso.paso-2 {
    grid-row: 2;
}


.paso-columna-unica {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.paso-columna-unica .pasos-imagen,
.paso-columna-unica .pasos-imagen_completa {
    max-width: 100%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 15px 0;
}

.paso-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
}
.paso-columna-unica:hover, .paso-columna:hover ,.arte-pasos-principal:hover{
    transform: scale(1.05);
}
.paso-columna {
    transition: all 0.3s ease; 
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}


.paso-columna .pasos-titulo {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.paso-columna .pasos-imagen,
.paso-columna .pasos-imagen_completa {
    max-width: 100%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 10px 0;
}

/* Imagen completa - ocupa todo el wrapper */
.pasos-imagen_completa {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: inherit;
    margin: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1;
}

/* Cuando hay imagen completa, el texto va por encima */
.paso-columna:has(.pasos-imagen_completa) .pasos-titulo,
.arte-pasos-principal:has(.pasos-imagen_completa) .pasos-titulo,
.paso-columna:has(.pasos-imagen_completa) .pasos-descripcion,
.arte-pasos-principal:has(.pasos-imagen_completa) .pasos-descripcion {
    position: relative;
    z-index: 2;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 5px;
    backdrop-filter: blur(5px);
}

/* Estilos base para texto sobre imagen completa */
.paso-columna:has(.pasos-imagen_completa) .pasos-titulo,
.arte-pasos-principal:has(.pasos-imagen_completa) .pasos-titulo,
.paso-columna:has(.pasos-imagen_completa) .pasos-descripcion,
.arte-pasos-principal:has(.pasos-imagen_completa) .pasos-descripcion {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.arte-descripcion-completa{
    padding-bottom: var(--space-6);
    text-align: center;
}
.dark_mode .arte-descripcion-completa-text{
    color:white;
}
.arte-descripcion-completa-text{
    font-size: var(--font-size-body);
}
/* Responsive Design */
@media (max-width: 768px) {
    .arte-header{
        display:none!important;
    }
    .ast-separate-container #content .ast-container{
        padding-inline:30px!important
    }
    .arte-hero-title {
        font-size: var(--font-size-h1);
    }
    
    
    
    .arte-descripcion-completa {
    }
    
    .arte-descripcion-completa-content {
    }
    
    .arte-descripcion-completa-text {
        font-size: var(--font-size-body);
    }
    
    .arte-pasos-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        padding: 15px;
    }
    
    .arte-pasos-principal {
        grid-column: 1;
        grid-row: 1;
        padding: 20px;
    }
    
    .pasos {
        grid-column: 1;
        grid-row: 2 / 4;
    }
    
    .paso-columnas {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .arte-pasos-principal .pasos-titulo {
        font-size: var(--font-size-h3);
    }
    
    .paso .pasos-titulo {
        font-size: var(--font-size-h3);
    }
}

@media (max-width: 480px) {
    .ast-separate-container #content .ast-container{
        padding-inline:20px!important
    }
    .arte-hero-title {
        font-size: var(--font-size-h1);
    }
    
    .arte-hero-description {
        padding: 30px 0;
    }
    
    .arte-hero-description-content {
        padding: 0 15px;
        font-size: var(--font-size-body);
    }
    
   
    
    .arte-pasos-wrapper {
        padding: 10px;
        gap: 10px;
    }
    
    .arte-pasos-principal,
    .paso {
    }
    
    .arte-pasos-principal .pasos-titulo {
        font-size: var(--font-size-h3);
    }
    
    .paso .pasos-titulo {
        font-size: var(--font-size-h3);
    }
}

/* ===== HERO SECTION ===== */
.arte-hero-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.arte-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.arte-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top:var(--space-6);
}

.dark_mode .arte-hero-title{
    color:white;
}
.arte-hero-title {
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* Hero con Video de YouTube */
.arte-hero-video {
    background: #000;
}

.arte-hero-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.arte-hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Permite que los clicks pasen al contenido debajo */
}

/* Responsive para el video hero */
@media (max-width: 768px) {
    .arte-hero-video-iframe {
        width: 100vw;
        height: 100vh;
    }
}

/* Estilos para fallback de video */
.arte-hero-video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10;
    max-width: 300px;
}

.arte-hero-video-error p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.arte-hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* Modo imagen cuando el video falla */
.arte-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Botón de reproducción manual */
.arte-hero-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para video sin controles (siempre aplicados) */
.arte-hero-video-container.controls-hidden {
    cursor: pointer;
    position: relative;
}



.arte-hero-video-container.controls-hidden.show-controls::after {
    content: "play_arrow";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 400;
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Material Symbols Outlined';
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arte-hero-video-container.controls-hidden.playing.show-controls::after {
    content: "pause";
}

.arte-hero-video-container.controls-hidden.mute-control.show-controls::after {
    content: "volume_off";
}

.arte-hero-video-container.controls-hidden.mute-control.playing.show-controls::after {
    content: "volume_up";
}

.arte-hero-play-btn {
    background: rgba(255, 0, 0, 0.9);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.arte-hero-play-btn:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.arte-hero-play-btn .material-symbols-outlined {
    font-size: 24px;
}

/* Responsive para el botón de reproducción */
@media (max-width: 768px) {
    .arte-hero-play-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .arte-hero-play-btn .material-symbols-outlined {
        font-size: 20px;
    }
}

.arte-hero-description {
    background: #fff;
    padding: 60px 0;
    margin-top: 0;
}

 .dark_mode .arte-hero-description {
    color:white;
 }
 .dark_mode{
    background-color: var(--dark-2);
 }
 .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{
    background-color: transparent!important;
 }
 .arte-hero-description-content {
     max-width: 1600px;
     margin: 0 auto;
     padding: 0 40px;
     text-align: center;
     font-size: var(--font-size-body);
     line-height: 1.8;
     color: var(--dark-2);
 }
 


/* ===== GALERÍA GRID ===== */
/* Los estilos de la galería están ahora en galeria-grid.css */

/* Cabecera personalizada con menú de categorías */
.arte-header {
    z-index: 100;
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #00000091;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    user-select: none;
    touch-action: none;
}
.arte-related-posts-wrapper{
    color: var(--dark-2)!important;
}
.dark_mode .arte-related-posts-wrapper{
    color: white!important;
}
.arte-header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}
.single-arte .site-content{
    padding-top:0!important;
}
.arte-header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
a:hover, a:focus{
    color:inherit!important;
}

.arte-header-menu-item {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: var(--font-size-body);
    padding: var(--space);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.arte-header-menu-item:hover {
    background: rgba(var(--accent-color-opacity), 0.5);
    color: white;
}

.arte-header-menu-item--active {
    background: rgba(var(--accent-color-opacity), 0.5);
    font-weight: 700;
}

.arte-header-menu-item--active:hover {
    background: rgba(var(--accent-color-opacity), 0.5);
    color: #fff;
}

/* Responsive para la cabecera */
@media (min-width: 922px) {
    html .ast-container, html .ast-container-fluid{
        padding-inline: 60px!important;
    }
}

@media (max-width: 1024px) {
    .arte-header-container {
    }
    
    .arte-header-menu {
        justify-content: center;
        gap: 8px;
    }
    
    .arte-header-menu-item {
        font-size:var(--font-size-body);
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .arte-header-container {
    }
    
    .arte-header-menu {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 12px 0;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .arte-header-menu::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .arte-header-menu-item {
        font-size:var(--font-size-body);
        padding: 8px 14px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .arte-header-container {
    }
    
    .arte-header-menu {
        padding: 10px 0;
        gap: 5px;
    }
    
    .arte-header-menu-item {
        font-size:var(--font-size-body);
        padding: 6px 12px;
    }
}

/* Estilos para la página de archivo del CPT arte */
.arte-archive-wrapper {
    margin: 0 auto;
}

.arte-archive-container {
    width: 100%;
}

.arte-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.arte-archive-item {
    overflow: hidden;
    transition: all 0.3s ease;
}
.arte-pasos-principal, .paso-columna-unica, .paso-columna{
    min-height: 400px!important;
}

.arte-archive-item-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.arte-archive-item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
    color: var(--accent-color);
}
.arte-archive-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.arte-archive-item:hover .arte-archive-thumbnail {
    transform: scale(1.05);
}

.arte-archive-item-text {
    padding-top: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.single-arte .featured-image{
    display: none;
}
.arte-archive-item-title {
    margin: 0 0 0 0;
    font-size: var(--font-size-h3);
    font-weight: 600;
    line-height: 1.3;
}

.arte-archive-item-title a {
    color: var(--dark-2);
    text-decoration: none;
    transition: color 0.3s ease;
 }

.arte-archive-item-title a:hover {
    color: #0073aa;
}

.arte-archive-item-excerpt {
    color: #666;
    font-size: var(--font-size-body);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.arte-archive-item-meta {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
}

.arte-archive-item-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.arte-archive-category {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.arte-pagination {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.arte-pagination li {
    margin: 0;
}

.arte-pagination a,
.arte-pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    color: var(--dark-2);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.arte-pagination a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.arte-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}
.archive-arte .site-content,.archive.category .site-content{
    padding-top: 0!important;
}
.arte-archive-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 40px 0;
}
.nav-float-right #site-navigation{
    margin:auto!important;
}
#menu-menu-1{
    gap:15px!important;
}
.material-symbols-outlined{
    font-family: 'Material Symbols Outlined'!important;
}
.arte-header-dragger{
    cursor: grab!important;
    text-align: right;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: var(--accent-color);
}

.arte-header-dragger:hover{
    cursor: grab!important;
}

/* Estilos durante el arrastre */
.arte-header.arte-header-dragging {
    transition: none;
    opacity: 0.8;
}

.arte-header.arte-header-dragging .arte-header-dragger {
    cursor: grabbing!important;
}
.ast-separate-container .ast-article-single:not(.ast-related-post), .ast-separate-container .error-404, .ast-separate-container .no-results, .single.ast-separate-container .site-main .ast-author-meta, .ast-separate-container .related-posts-title-wrapper, .ast-separate-container .comments-count-wrapper, .ast-box-layout.ast-plain-container .site-content, .ast-padded-layout.ast-plain-container .site-content, .ast-separate-container .ast-archive-description, .ast-separate-container .comments-area{
    background-color: transparent!important;
}
.arte-header-dragger span{
    font-size: 20px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    display: block;
}
.grid-container{
    max-width: 100%!important;
    padding-inline: 40px!important;
}
.entry-content{
    margin-top: 0!important;
}
.arte-archive-empty h2 {
    color: var(--dark-2);
    margin-bottom: 15px;
    font-size: var(--font-size-h2);
}
.arte-header-dragger{
    height: 30px;
    background: var(--accent-color);
}
.arte-archive-empty p {
    color: #666;
    font-size: var(--font-size-body);
    margin: 0;
}

/* Loading state */
.arte-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    min-height: 200px;
}

.arte-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.arte-loading p {
    color: #666;
    font-size: var(--font-size-body);
    margin: 0;
}
#menu-menu-1 li a{
    font-size: var(--font-size-body);
    font-weight: 400;
    padding: 8px 25px;
    text-transform: uppercase;
}
#menu-menu-1{
    gap:var(--space-2);
    
}

/* Responsive para la página de archivo */
@media (max-width: 1200px) {
    .arte-archive-wrapper {
        padding: 30px;
    }
    
    .arte-archive-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .arte-archive-wrapper {
        padding: 25px;
    }
    
    .arte-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .arte-archive-wrapper {
        padding: 20px;
    }
    
    .arte-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .arte-archive-item-text {
        padding-top: 20px;
    }
    
    .arte-archive-item-title {
        font-size:  1.2rem!important;
    }
    
    .arte-archive-item-excerpt {
        font-size:  var(--font-size-body);
    }
}

@media (max-width: 480px) {
    .arte-archive-wrapper {
        padding: 15px;
    }
    
    .arte-archive-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .arte-archive-item-text {
        padding-top: 15px;
    }
    
    .arte-archive-item-title {
        font-size:  1rem!important;
    }
    
    .arte-archive-item-excerpt {
        font-size:  var(--font-size-body);
    }
    
    .arte-pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .arte-pagination a,
    .arte-pagination span {
        padding: 8px 12px;
        min-width: 35px;
        font-size:  var(--font-size-body);
    }
}

/* ==========================================================================
   Owl Carousel Shortcode Styles
   ========================================================================== */

/* Estilos para shortcode de Owl Carousel */
.owl-carousel.owl-theme {
    margin-bottom: 20px;
}

/* Estilos para los items del carousel del shortcode */
.owl-carousel .item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.owl-carousel .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Imagen del item */
.owl-carousel .owl-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.owl-carousel .item:hover .owl-img img {
    transform: scale(1.05);
}

/* Título del item */
.owl-carousel .owl-title {
    padding: 15px;
    margin: 0;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* Navegación personalizada */
.owl-carousel .owl-nav {
    margin-top: 20px;
    text-align: center;
}

.owl-carousel .owl-nav button {
    background: #333 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel .owl-nav button:hover {
    background: #555 !important;
    transform: scale(1.1);
}

/* Dots de navegación - Solo para carousels generales, no para arte-carousel */
.owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dots {
    text-align: center;
    margin-top: 0!important;
}

.owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dot.active span,
.owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dot:hover span {
    background: #333;
    transform: scale(1.2);
}

/* Modo oscuro */
body.dark_mode .owl-carousel .item {
    background: #2a2a2a;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

body.dark_mode .owl-carousel .item:hover {
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

body.dark_mode .owl-carousel .owl-title {
    color: #fff;
}

body.dark_mode .owl-carousel .owl-nav button {
    background: #666 !important;
}

body.dark_mode .owl-carousel .owl-nav button:hover {
    background: #888 !important;
}

body.dark_mode .owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dots .owl-dot.active span,
body.dark_mode .owl-carousel:not(.arte-carousel):not(.arte-related-posts-carousel) .owl-dots .owl-dot:hover span {
    background: #fff;
}

/* Responsive para móviles */
@media (max-width: 767px) {
    .blockquote{
        padding:0!important;
        margin: 0!important;
        font-size:1rem!important;
        border:0!important;
    }
    .m-full-w{
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    .owl-carousel .owl-img {
        height: 200px;
    }
    
    .owl-carousel .owl-title {
        font-size: 14px;
        padding: 10px;
    }
    
    .owl-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ==========================================================================
   Fallback cuando Owl Carousel no está disponible
   ========================================================================== */

/* Estilos para el fallback cuando no hay Owl Carousel */
.owl-fallback {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
}

.owl-fallback .item {
    flex: 0 1 calc(33.333% - 15px);
    max-width: 300px;
    margin: 0 !important;
}

/* Mensaje de error */
.owl-error-notice {
    background: #ffebee !important;
    color: #c62828 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    border: 1px solid #ef5350;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.owl-error-notice strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.owl-error-notice small {
    opacity: 0.8;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}

/* Botón de reintento */
.owl-retry-button {
    background: #1976d2 !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin-top: 5px;
}

.owl-retry-button:hover {
    background: #1565c0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

.owl-retry-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(25, 118, 210, 0.3);
}

/* Responsive fallback */
@media (max-width: 768px) {
    .owl-fallback .item {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .owl-fallback .item {
        flex: 0 1 100%;
    }
    
    .owl-fallback {
        gap: 10px !important;
    }
}

/* Modo oscuro para fallback */
body.dark_mode .owl-error-notice {
    background: #3f1a1a !important;
    color: #f48fb1 !important;
    border-color: #e91e63;
}

body.dark_mode .owl-retry-button {
    background: #42a5f5 !important;
    color: #000 !important;
}

body.dark_mode .owl-retry-button:hover {
    background: #64b5f6 !important;
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.4);
}

/* Estilos para la Galería de Imágenes en Grid */

.arte-galeria-wrapper {
    margin: 60px 0;
    padding: 0 20px;
}

.arte-galeria-header {
    text-align: center;
    margin-bottom: 40px;
}

.dark_mode .arte-galeria-header {
    color: white;
}

/* Grid de 4 columnas en desktop */
.arte-galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

/* Estilos para cada item de la galería */
.arte-galeria-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.arte-galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contenedor de la imagen */
.arte-galeria-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.arte-galeria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.arte-galeria-image img {
    box-shadow: none!important;
    webkit-box-shadow: none!important;
    moz-box-shadow: none!important;
    o-box-shadow: none!important;
    ms-box-shadow: none!important;}
.arte-galeria-item:hover .arte-galeria-image img {
 
    transform: scale(1.05);
}

/* Contenido (título y descripción) */
.arte-galeria-content {
    padding: 20px;
    background: #ffffff;
}
.dark_mode .arte-galeria-titulo {
    color: white;
}
.arte-galeria-titulo h4 {
    margin-bottom: 10px;
    line-height: 1.3;
}

.arte-galeria-descripcion p {
    margin: 0;
}

/* Responsive Design */

/* Tablet - 3 columnas */
@media (max-width: 1024px) {
    .arte-galeria-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .arte-galeria-image {
        height: 220px;
    }
    
    .arte-galeria-content {
        padding: 16px;
    }
}

/* Tablet pequeña - 2 columnas */
@media (max-width: 768px) {
    .arte-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .arte-galeria-image {
        height: 200px;
    }
    
    .arte-galeria-content {
        padding: 14px;
    }
    
    .arte-galeria-descripcion p {
        font-size: 0.9rem;
    }
}

/* Mobile - 1 columna */
@media (max-width: 480px) {
    .arte-galeria-wrapper {
        padding: 0 15px;
    }
    
    .arte-galeria-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .arte-galeria-image {
        height: 250px;
    }
    
    .arte-galeria-content {
        padding: 16px;
    }
  
}



.dark_mode .arte-galeria-titulo h4 {
    color: #ffffff;
}

.dark_mode .arte-galeria-descripcion p {
    color: #cccccc;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arte-galeria-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation para items */
.arte-galeria-item:nth-child(1) { animation-delay: 0.1s; }
.arte-galeria-item:nth-child(2) { animation-delay: 0.2s; }
.arte-galeria-item:nth-child(3) { animation-delay: 0.3s; }
.arte-galeria-item:nth-child(4) { animation-delay: 0.4s; }
.arte-galeria-item:nth-child(5) { animation-delay: 0.5s; }
.arte-galeria-item:nth-child(6) { animation-delay: 0.6s; }
.arte-galeria-item:nth-child(7) { animation-delay: 0.7s; }
.arte-galeria-item:nth-child(8) { animation-delay: 0.8s; }

/* Efectos adicionales */
.arte-galeria-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.arte-galeria-item:hover::before {
    opacity: 1;
}

/* Loading state */
.arte-galeria-grid.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Empty state */
.arte-galeria-grid:empty::after {
    content: 'No hay imágenes en la galería';
    display: block;
    text-align: center;
    padding: 40px;
    color: #666666;
    font-style: italic;
    grid-column: 1 / -1;
}

/* Accesibilidad */
.arte-galeria-item:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.arte-galeria-image img {
    alt: attr(alt);
}

/* Performance optimizations */
.arte-galeria-image img {
    will-change: transform;
}

.arte-galeria-item {
    will-change: transform;
    cursor: pointer;
}

/* ===== LIGHTBOX OVERLAY ===== */
.arte-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arte-lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.arte-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Botón de cerrar */
.arte-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arte-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Botones de navegación */
.arte-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arte-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.arte-lightbox-prev {
    left: 30px;
}

.arte-lightbox-next {
    right: 30px;
}

/* Contenido del lightbox */
.arte-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arte-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.arte-lightbox-info {
    margin-top: 20px;
    text-align: center;
    color: white;
    max-width: 600px;
}

.arte-lightbox-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: white;
}

.arte-lightbox-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #cccccc;
}

/* Responsive para el lightbox */
@media (max-width: 768px) {
    .arte-lightbox-container {
        padding: 10px;
    }
    
    .arte-lightbox-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .arte-lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .arte-lightbox-prev {
        left: 15px;
    }
    
    .arte-lightbox-next {
        right: 15px;
    }
    
    .arte-lightbox-title {
        font-size: 1.2rem;
    }
    
    .arte-lightbox-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .arte-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .arte-lightbox-prev {
        left: 10px;
    }
    
    .arte-lightbox-next {
        right: 10px;
    }
}

/* Modo oscuro para el lightbox */
.dark_mode .arte-lightbox-overlay {
    background: rgba(0, 0, 0, 0.95);
}

/* Animaciones del lightbox */
@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.arte-lightbox-content {
    animation: lightboxFadeIn 0.3s ease-out;
}

/* Ocultar botones de navegación si solo hay una imagen */
.arte-lightbox-overlay.single-image .arte-lightbox-nav {
    display: none;
}

/* Prevenir scroll cuando el lightbox está abierto */
body.lightbox-open {
    overflow: hidden;
}

/* Cursor pointer para items de galería */
.arte-galeria-item {
    cursor: pointer;
}

.arte-galeria-item:hover {
    cursor: pointer;
}
.owl-theme .owl-nav{
    margin-top: 10px!important;
}
/* Arte Carousel (Shortcode) */
.arte-carousel-wrapper {
    padding: 0px 0;
}

.arte-carousel {
    margin: 0 auto;
}
.display-none{
    display: none!important;
}
/* Los elementos del carousel usan las mismas clases que el grid de archivo */
/* .arte-archive-item, .arte-archive-item-content, etc. ya están definidas arriba */

/* Dots de navegación visibles bajo cada carousel del shortcode */
.arte-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.arte-carousel .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.arte-carousel .owl-dot.active,
.arte-carousel .owl-dot:hover {
    background: var(--accent-color) !important;
    transform: scale(1.2);
}

.dark_mode .arte-carousel .owl-dot {
    background: #444 !important;
}

.dark_mode .arte-carousel .owl-dot.active,
.dark_mode .arte-carousel .owl-dot:hover {
    background: #fff !important;
}

/* Related Posts Carousel */
.arte-related-posts-wrapper {
    margin: 60px 0;
    padding: 40px 0;
    background: var(--background-color);
}

.arte-related-posts-header {
    text-align: center;
    margin-bottom: 40px;
}

.arte-related-posts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    position: relative;
}

.dark_mode {
    color: white!important;
}
.arte-related-posts-carousel {
    margin: 0 auto;
}

.arte-related-item {
    padding: 0 15px;
}

.arte-related-item-content {
    background: var(--card-background);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.arte-related-item-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.arte-related-item-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.arte-related-item-content:hover .arte-related-thumbnail {
    transform: scale(1.05);
}

.arte-related-item-text {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.arte-related-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.arte-related-item-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.arte-related-item-title a:hover {
    color: var(--accent-color);
}

.arte-related-item-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.arte-related-item-meta {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
}

.arte-related-item-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.arte-related-category {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Owl Carousel Custom Styles */
.arte-related-posts-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.arte-related-posts-carousel .owl-prev,
.arte-related-posts-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.arte-related-posts-carousel .owl-prev {
    left: -25px;
}

.arte-related-posts-carousel .owl-next {
    right: -25px;
}

.arte-related-posts-carousel .owl-prev:hover,
.arte-related-posts-carousel .owl-next:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-50%) scale(1.1);
}

.arte-related-posts-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.arte-related-posts-carousel .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arte-related-posts-carousel .owl-dot.active {
    background: var(--accent-color) !important;
    transform: scale(1.2);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .arte-related-posts-wrapper {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .arte-related-posts-title {
        font-size: 2rem;
    }
    
    .arte-related-posts-carousel {
        padding: 0 10px;
    }
    
    .arte-related-item {
        padding: 0 10px;
    }
    
    .arte-related-posts-carousel .owl-prev,
    .arte-related-posts-carousel .owl-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .arte-related-posts-carousel .owl-prev {
        left: -20px;
    }
    
    .arte-related-posts-carousel .owl-next {
        right: -20px;
    }
}