/*
Theme Name: Kadence Child
 Description: Tema hijo de Kadence
Template: kadence
*/

/* Variables de colores (ajústalos según tus colores) */
:root {
  --color-text-dark: #b86840;   /* marron medio */
  --color-text-light: #ffdabf; /* marron claro */
  --color-text-white: #ffffff; /* blanco */
  --color-btn: #771725; /* marron oscuro*/
  --color-dark: #380c12; /* marron oscuro */
  --color-header: #0f172a; /* azul oscuro */
  --color-header-hover: #000000; /* negro */
  --color-secundario: #264653;  /* Ejemplo azul oscuro */
  --color-fondo: #f9f9f9;
  --color-texto: #475569;
  --color-title: #0F172A; /* marron oscuro */
  --color-title-light: #94A3B8; /* dorado */
  --color-gold-title: #B99905;  
  --border-radius-btn: 0.5rem; /* Radio de borde para botones */
  --padding-card: 2.5rem;
  --bs-primary-rgb: var(--color-header);
  --color-header-btn-hover: rgb(255, 255, 255, 0.1);
  --title-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  --color-add-btn: #28a745; /* verde */
  --color-edit-btn: #007bff; /* azul */
  --color-delete-btn: #dc3545; /* rojo */
}
.heritage-title {
  /*font-weight: normal;*/
  font-style: italic;
  color: #000000 !important;
  font-family: var(--title-family);
  margin-left: 10px !important;
  /*font-size: 2.4rem;*/
}
#welcome-title {
  font-weight: normal;
  color: var(--color-title) !important;
}
#languageDropdown {
  background-color: var(--color-header) !important;
  border-color: var(--color-header-hover) !important;
  color: var(--color-title-light) !important;
}
#languageDropdown:hover {
  color: var(--color-text-white) !important;
}
.custom-language-selector {
  align-content: center;
  margin-right: 0.5rem;
} 
.dropdown-menu {
  background-color: var(--color-header) !important;
  border-color: var(--color-header-hover) !important;
  color: var(--color-text-white) !important;
}
.dropdown-item {
  color: var(--color-text-white) !important;
}
.dropdown-item:hover {
  color: var(--color-text-white) !important;
  background-color: var(--color-texto) !important;
}


#userDropdown {
  background-color: transparent!important;
  border-color: var(--color-header-hover) !important;
  color: var(--color-title-light) !important;
}
#userDropdown:hover {
  color: var(--color-text-white) !important;
}

.custom-user-dropdown.language-style-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
}
.custom-user-dropdown .current-user-toggle {
    padding: 6px 12px;
    background-color: transparent;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #fff;
}

.custom-user-dropdown .user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #444;
    border-radius: 4px;
    min-width: 200px;
    z-index: 99;
    list-style: none;
    padding: 10px;
    margin-top: 5px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.custom-user-dropdown:hover .user-dropdown-menu {
    display: block;
}

.custom-user-dropdown .user-dropdown-menu li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #ddd;
}

.custom-user-dropdown .divider {
    height: 1px;
    background: #555;
    margin: 8px 0;
}

.custom-user-dropdown .logout-link {
    color: #ff6666;
    text-decoration: none;
    font-weight: 600;
}

.custom-user-dropdown .logout-link:hover {
    text-decoration: underline;
    color: #ff9999;
}



#store-dropdown {
  border-color: var(--color-header-hover) !important;
}
#store-dropdown.active {
  background-color: var(--color-header) !important;
}
#store-dropdown > option:hover {
  background-color: var(--color-header) !important;
  color: var(--color-text-white) !important;
}


.custom-login-logout {
  align-content: center;
}
.custom-login-logout > a {
    color: var(--color-title-light) !important;
    text-decoration: none !important;
}
.custom-login-logout > a:hover {
    color: var(--color-text-white) !important;
    text-decoration: none !important;
}
.login-logout-mobile {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1em;
    padding-bottom: 1em;
    color: var(--color-text-white) !important;
}
.login-logout-mobile > a {
    color: var(--color-text-white) !important;
}

.site-main-header-wrap .site-header-row-container-inner {
    color: var(--color-text-white) !important;
    background-color: var(--color-header) !important;
}
.site-bottom-header-wrap .site-header-row-container-inner {
    color: var(--color-text-white) !important;
    background-color: var(--color-header) !important;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: var(--color-text-white) !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover {
    color: var(--color-text-white) !important;
    background-color: rgb(255 255 255 / 0.1) !important;
    border-radius: 10px !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:focus {
    color: var(--color-text-white) !important;
    background-color: rgb(255 255 255 / 0.1) !important;
    border-radius: 10px !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:active {
    color: var(--color-text-white) !important;
    background-color: rgb(255 255 255 / 0.1) !important;
    border-radius: 10px !important;
}
.mobile-navigation ul li > a, .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
    color: var(--color-text-white) !important;
}
.mobile-navigation ul li > a:hover, .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap:hover {
    color: var(--color-text-white) !important;
    font-weight: bold !important;
}
.mobile-navigation ul li > a:focus, .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap:focus {
    color: var(--color-text-white) !important;
}
.mobile-navigation ul li > a:active, .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap:active {
    color: var(--color-text-white) !important;
    font-weight: bold !important;
}


.header {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
/* Layout principal */
#store-top {
  width: 100%;
  /*border-bottom: 2px solid var(--color-text-dark);*/
  /*padding-bottom: 20px;*/
  /*margin-bottom: 25px;*/
  color: var(--color-texto);
  color: gradient(var(--color-text-dark), var(--color-text-light));
}
.store-title {
	color: var(--color-btn);
    font-size: 5rem;
    font-weight: bold;
}

.store-flex-container {
  display: flex;
  flex-direction: row;
  gap: 0; /* sin espacio, usaremos la línea */
  width: 100%;
}

.store-column {
  flex: 1;
  padding: 20px;
  min-width: 0; /* evita overflow */
}
/* Contenedor del logo */
.logo-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen de logo con altura fija */
.store-logo {
    max-height: 150px;
    width: auto;
}

/* Placeholder si no hay imagen */
.logo-placeholder {
    height: 150px;
    width: auto;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    color: #adb5bd;
    font-size: 0.875rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Línea vertical */
.vertical-divider {
  width: 12px;
  background-color: var(--color-header-hover); 
  margin: 0 10px;
  border-radius: 8px;
  display: none;
}

/* Responsivo: ocultar línea vertical y apilar columnas en móviles */
@media (max-width: 768px) {
  /*.store-flex-container {
    flex-direction: column;
  }*/

  .vertical-divider {
    display: none;
  }
}


.circle-loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--color-header);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Spinner *//*
#loading-spinner {
  position: fixed;
  top: 15px;
  right: 15px;
  display: none;
  z-index: 10000;
  background: var(--color-text-dark);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}*/

.section-title {
	font-weight: bold;
	color: var(--color-text-dark);
}

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


/*
table.poi-table td:hover,
table.narratives-table td:hover,*/
.narrative-item:hover td,
.poi-item:hover td {
  background-color: var(--color-header);
  color: var(--color-text-white) !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.narrative-link.active,
.poi-link.active {
  font-weight: bold;
  color: var(--color-header);
}
.narrative-link.active:hover,
.poi-link.active:hover {
  font-weight: bold;
  color: var(--color-text-white);  
  background-color: var(--color-header);          
}

/* Botones de acción */
.add-btn {
  color: var(--color-add-btn);
}
.add-btn:hover {
  color: darken(var(--color-add-btn), 10%);
  font-size: 1.5rem; /* Aumentar tamaño al pasar el mouse */
}
.edit-btn {
  color: var(--color-edit-btn);
}
.edit-btn:hover {
  color: darken(var(--color-edit-btn), 10%);
}
.delete-btn {
  color: var(--color-delete-btn);
}
.delete-btn:hover {
  color: darken(var(--color-delete-btn), 10%);
}

/*icons svg*/
button.create-narrative-btn,
button.edit-narrative-btn,
button.delete-narrative-btn,
button.create-poi-btn,
button.edit-poi-btn,
button.delete-poi-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  /*padding: 4px;*/
  font-size: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: stroke 0.3s ease;
  transition: color 0.2s ease;
}
button.create-narrative-btn svg {
  color: darkgreen;
}
button.create-narrative-btn:hover svg {
  color: green;
  font-size: 4rem;
}button.edit-narrative-btn {
  color: blue
}
button.edit-narrative-btn:hover {
  color: darkblue;
  font-size: 4rem;
}
button.delete-narrative-btn {
  color: darkred; /* rojo para eliminar */
}
button.delete-narrative-btn:hover {
  color: red; /* rojo para eliminar */
  font-size: 4rem;
}
button.edit-narrative-btn svg {
  stroke: var(--color-secundario);
}
button.delete-narrative-btn svg {
  stroke: #e63946;
}
button.create-narrative-btn:hover svg {
  stroke: var(--color-btn);
}
button.edit-narrative-btn:hover svg {
  stroke: var(--color-btn);
}
button.delete-narrative-btn:hover svg {
  stroke: #9b2226; /* rojo más oscuro al hover */
}

#gallery-preview .badge {
    background: rgba(0, 123, 255, 0.85);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4em 0.6em;
    border-radius: 50%;
    min-width: 26px;
    text-align: center;
  }

/* Responsividad */
/*@media (max-width: 960px) {
  #store-container {
    flex-direction: column;
    margin: 0 15px 30px 15px;
  }

  #store-left,
  #store-center,
  #store-right {
    max-height: none;
    margin-bottom: 10px;
  }
}*/


/* Estilo base para el modal */
.media-modal {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 20px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
}
/* Mostrar modal */
.media-modal.show {
	display: flex;
}
/* Contenido centrado */
.mediaModalContent,
.media-modal-content {
	position: relative;
	background-color: var(--color-header-hover);
	padding: 40px 20px 20px; /* espacio para el botón de cerrar */
	border-radius: 8px;
	max-width: 100%;
	max-height: 95%;
	width: 100%;
	height: 95%;
	overflow: auto;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
/* Botón cerrar */
.media-modal-close {
	position: absolute;
	top: 1px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
	color: var(--color-text-white) !important;
	cursor: pointer;
	z-index: 10000;
}
/* Mejora visual al pasar el cursor */
.media-modal-close:hover,
.media-modal-close:focus {
	color: var(--color-text-white) !important;
	text-decoration: none;
  font-size: 32px;
	font-weight: bold;
	z-index: 10000;
}
.media-icon {
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  margin: 0 4px 4px 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  color: var(--color-header);
  font-weight: 700;
}
.media-icon:hover {
  color: var(--color-text-white);
  background: var(--color-header-hover);
  border-radius: 6px;
}
.media-icon:active,
.media-icon.active {
  color: var(--color-text-white);
  background: var(--color-header-hover);
	font-weight: bold;
}
.media-icon:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.5); /* foco visible */
}
.media-icon-360 {
  background-color: transparent; position: absolute; font-size: 0.7rem; border-radius: 50%; text-shadow: 0px 1px 2px #000; align-self: start; color: #fff; margin-right: -10px; margin-top: -2px;
}

#media-viewer video,
#media-viewer video.vjs-tech {
  width: 100% !important;
  height: auto !important;
  max-height: 80vh;
  display: block;
}
.video-js {
	width: auto !important;
}

.video-js canvas {
  position: unset !important;
}
/* Ajustar el espaciado entre cards */
.card {
    /*border: 1px solid #e0e0e0; /* Borde suave */
    border: none !important;
    border-radius: 0.5rem; /* Bordes redondeados */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
}


.card-img-top {
    border-radius: 0.375rem 0.375rem 0 0; /* Redondear solo la parte superior de la imagen */
}

.card-body {
    padding: 15px; /* Relleno interno */
}

.card-text {
    color: #6c757d; /* Color gris para el texto */
}
.card-hover {
    background-color: #ffffff; /* Fondo inicial blanco */
    border: none;              /* Sin borde */
    transition: 
        box-shadow 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
    cursor: pointer;
}
.card-hover:hover {
    transform: translateY(-6px);  
    transition-duration: 700ms;
    animation-duration: 700ms;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-shadow-hover:hover {
    transform: box-shadow(0, 0.5rem, 1rem, rgba(0, 0, 0, 0.15));  
    transition-duration: 700ms;
    animation-duration: 700ms;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.card-link {
    text-decoration: none;
    color: unset !important;
}

.media-card {
  box-shadow: unset !important;
 /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
}

/* Cambiar el color de fondo del botón */
.btn {
  border-radius: var(--border-radius-btn) !important; /* Aplicar el radio de borde */
}
.bg-slate {
  background-color: rgb(248, 250, 252) !important; /* Color de fondo gris claro */
  border-width: 1px !important; /* Ancho del borde */
  border-style: solid !important; /* Estilo del borde */
  border-color: rgb(226, 232, 240) !important; /* Color del borde gris claro */
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.01) !important; /* Sombra al pasar el mouse */
  padding-top: 0.5rem !important; /* Espacio superior */
  padding-bottom: 0.5rem !important; /* Espacio inferior */
  padding-left: 1rem !important; /* Espacio izquierdo */
  padding-right: 1rem !important; /* Espacio derecho */
}/*
.bg-slate:hover {
    background-color: rgb(241, 245, 249, 1) !important; 
    animation-duration: 300ms; 
    transition-duration: 300ms; 
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1) !important; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}*/
.narrative-card .btn-outline-primary .bi {
    transition: transform 0.3s ease !important; /* Animación para el desplazamiento del ícono */
}
.narrative-card:hover .btn-outline-primary .bi {
    transform: translateX(10px) !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--color-header) !important;
    color: var(--color-header) !important;
    /*box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; */
    box-shadow: none !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
}
.btn-primary {
    background-color: var(--color-header) !important;
    border-color: var(--color-header) !important;
    color: var(--color-text-white) !important; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
}
.btn-primary .bi,
.btn-outline-primary .bi {
    transition: transform 0.3s ease !important; /* Animación para el desplazamiento del ícono */
    margin-left: 10px !important; /* Asegura un espacio entre el texto y el ícono */
}
.btn-primary:hover,
.btn-outline-primary:hover {
    background-color: var(--color-header-hover) !important;
    border-color: var(--color-header-hover) !important;
    color: var(--color-text-white) !important; 
}
/* Animación del icono al hacer hover sobre el botón */
.btn-primary:hover .bi,
.btn-outline-primary:hover .bi {
    transform: translateX(10px) !important;
}
.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el ratón */
}

html, 
body {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
html, 
body, p {
  color: var(--color-texto); /* Color del texto */
  font-weight: 300;
}
small {
  font-size: 0.875rem; /* Tamaño de fuente más pequeño */
  color: var(--color-title-light) !important; /* Color del texto */
}
/* Cambiar el color del texto del encabezado */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-title) !important;
    font-family: var(--title-family) !important;
    font-weight: 500 !important;
}

.card-no-shadow {
  box-shadow: none !important; /* Sin sombra */
  border: none !important; /* Sin borde */
  background-color: transparent !important; /* Fondo transparente */
}

.card {
  padding: 1rem !important;
}
.card-body {
  padding: 10px !important;
}
/*
.point-card {
    box-shadow: unset;
    transition: box-shadow 0.3s ease;
}
.point-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}*/
/* Eliminar el subrayado del enlace */
.point-card-link {
    text-decoration: none !important; /* Elimina el subrayado del enlace */
}
/* Cuando se pasa el ratón sobre la tarjeta */
.point-card:hover {
    /*transform: box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, 0.15);*/ 
    box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Sombra para el hover de la tarjeta */
    transition-duration: 700ms;
    animation-duration: 700ms;
}
/* Cuando el ratón pasa sobre la tarjeta, la flecha se mueve y aparece */
.point-card:hover i {
    opacity: 1; 
    transform: translateX(10px);  
    transition-duration: 700ms;
    animation-duration: 700ms;
}
/* Estilo base de la flecha (inicialmente oculta) */
.explore-arrow i {
    position: absolute;
    opacity: 0;  /* La flecha empieza oculta */
    transform: translateX(-10px); /* Empieza desde la izquierda */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transición suave */
    font-size: 1.5rem;  /* Ajusta el tamaño de la flecha */
}
.back-left i {
    position: absolute;
    font-size: 1.5rem; /* Tamaño de la flecha */
    transform: translateX(10px); /* Empieza desde la izquierda */
    transition: transform 0.3s ease; /* Transición suave al hacer hover */
    color: var(--color-header-hover);
}
.back-left:hover i {
    transform: translateX(-10px); /* Mueve la flecha hacia la izquierda al hacer hover */
    color: var(--color-header-hover);
}


.page-title {
  text-align: center !important;
}

.divider-gradient {
    width: 10rem;
    height: 0.15rem;
    background: linear-gradient(to right, transparent , #cbd5e1 , transparent);
    border-radius: 2px;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
}

.divider-gradient:hover {
    width: 20rem;
    background: linear-gradient(to right, transparent, #6c757d, transparent);
}

.carousel-control-next, .carousel-control-prev {
  width: 10% !important;
}

.carousel-control-prev:active,
.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:active,
.carousel-control-next:hover,
.carousel-control-next:focus {
  background: var(--color-texto) !important;
}

/* Estilos para el contenedor principal */
/* Contenedor que centra el formulario y lo hace fluido */
    .login-form-container {
        /*background-color: var(--color-text-white) !important; 
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);*/  
        border-radius: 0.375rem;
        width: 100%; /* Ancho máximo */
        width: 50vw;
    }

    /* Asegurar que los campos del formulario sean fluidos */
    .login-form-container input[type="text"],
    .login-form-container input[type="password"],
    .login-form-container input[type="submit"] {
        width: 100%; /* Hacer los campos 100% fluidos */
        padding: 10px; /* Espaciado interno */
        margin-bottom: 10px; /* Espaciado entre los campos */
        border-radius: 5px; /* Bordes redondeados */
        border: 1px solid #ccc; /* Borde de los campos */
    }

    .login-form-container input[type="submit"] {
        background-color: var(--color-header);
        color: #fff; 
        border: none; 
        cursor: pointer;
    }

    .login-form-container input[type="submit"]:hover {
        background-color: var(--color-header-hover); 
    }

    /* Asegura que el formulario sea fluido en pantallas más pequeñas */
    @media (max-width: 767px) {
        .login-form-container {
            padding: 20px; 
            width: 80vw;
        }
    }
/*#custom_wp_login_form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); 
    margin-top: 4rem !important;
}
#custom_wp_login_form .card-title {
    font-size: 1.8rem;
    color: #0073aa;
    text-align: center;
    margin-bottom: 25px;
}
#custom_wp_login_form {
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 15px;
}
#custom_wp_login_form .button-primary {
    background-color: var(--color-header) !important;
    border-color: #0073aa;
    font-size: 1rem;
    width: 100%; 
    padding: 12px;
    border-radius: 5px;
    position: grid;
}
#custom_wp_login_form .button-primary:hover {
    background-color: var(--color-header-hover) !important; 
    border-color: #005b8a;
}
#custom_wp_login_form .forgetmenot {
    font-size: 14px;
    text-align: right;
}
#custom_wp_login_form .forgetmenot a {
    color: #0073aa;
    text-decoration: none;
}
#custom_wp_login_form .forgetmenot a:hover {
    text-decoration: underline;
}
#custom_wp_login_form .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    margin-top: 15px;
}
#custom_wp_login_form .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}*/

.media-card-top {
  height: 150px; 
  background: linear-gradient(to bottom, var(--color-header), var(--color-texto), var(--color-texto)); 
  background-size: cover; 
  background-position: center;
  
}
.i-media-top,
.i-evo-media-top {
  color: var(--color-text-white) !important;
  opacity: 0.8;
  z-index: 10; 
}
.i-evo-media-top {
  margin-bottom: 0.5rem; 
}
.badge-360 {
  background-color: transparent; 
  position: absolute; 
  top: 10px; 
  right: 10px; 
  font-size: 1rem; 
  border-radius: 50%;
  opacity: 0.8;
}
/* Estilos para el modal de visualización de medios */
#mediaViewerOverlay {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    overflow-y: auto;
    padding: 2rem;
    width:100%; 
    height:100%; 
    border-radius: 8px
}
#mediaViewerContent {
    /*max-width: 900px;
    width: 100%;
    max-height: 80vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
    
    width:100%; height:100%; 
    text-align:center; 
    display:flex; 
    align-items:center; */
    justify-content:center;
}
#mediaViewerClose {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-white) !important;
  cursor: pointer;
  z-index: 3;
}
#mediaViewerTitle {
    margin: 0 0 0.3rem 0;
    font-weight: bold;
    color: var(--color-text-white) !important;
    font-size: 1.5rem;
    text-align: center;
}
#mediaViewerDescription {
    margin: 0 0 1rem 0;
    color: #666;
    /*style="font-size: 0.9rem;"*/
}
.prev-button, .next-button {
    position: relative;
    z-index: 1;  /* Asegura que los botones estén por encima del contenido */
}
/* Cuando el contenedor entra en pantalla completa */
#carouselFullscreenWrapper:fullscreen {
    width: 100vw;
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Asegura que las imágenes no se distorsionen */
#carouselFullscreenWrapper .carousel-inner,
#carouselFullscreenWrapper .carousel-item {
    width: 100%;
    height: 100%;
}

#carouselFullscreenWrapper .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/** estilos narrative form*/
.new-image-preview,
.current-image,
.new-thumbnail-preview,
.current-thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   /*max-width: 200px;*/
}
.image-preview,
.thumbnail-preview {
    height: 100px;  
    width: auto;    
    object-fit: cover; 
    border-radius: 5px; 
    display: block;
    width: 100%;
}

.text-center {
    margin-top: 8px;  /* Espacio entre la imagen y el texto */
    font-size: 0.9em; /* Tamaño de texto más pequeño */
    color: #555;      /* Color de texto más suave */
}

.text-with-semicircle {
  position: relative; /* Necesario para el posicionamiento absoluto del semicírculo */
  display: inline-block; /* Para que el texto y el semicírculo se comporten como un bloque */
}

.text-with-semicircle::after {
  content: ""; /* Necesario para el pseudo-elemento */
  position: absolute; /* Posiciona el semicírculo en relación al contenedor */
  left: 0; /* Alinea el semicírculo a la izquierda del contenedor */
  bottom: -10px; /* Ajusta la distancia vertical del semicírculo */
  width: 100%; /* Ancho completo del contenedor */
  height: 10px; /* Altura del semicírculo */
  background-color: black; /* Color de fondo del semicírculo */
  border-radius: 0 0 50% 50%; /* Crea un semicírculo */
  z-index: -1; /* Asegura que el semicírculo esté detrás del texto */
}

.text-with-semicircle {
  text-decoration: underline; /* Subraya el texto */
  text-decoration-color: transparent; /* Hace que la línea del subrayado sea transparente */
}