/* Estilo general para iframe responsivo */
.responsive-iframe {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* RelaciÃ³n 16:9 */
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Media query para mÃ³viles */
@media (max-width: 480px) {
  .responsive-iframe {
    max-width: 100%;
    padding-bottom: 56.25%;
  }
}

/*pruebas contenido adicional*/
.instagram-section {
  padding: 30px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.instagram-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
}

.instagram-title span {
  color: #888;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.insta-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s;
}

.insta-item:hover {
  transform: scale(1.02);
}

.insta-item img {
  width: 100%;
  height: auto;
  display: block;
}

.insta-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* Modal Styles */
.insta-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
}

.modal-body {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.modal-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 8px;
}

.modal-text {
  flex: 1;
  font-size: 16px;
  text-align: left;
  align-self: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #000;
}
/*termina prueba*/

/*redes*/
.social-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
  filter: grayscale(100%);
}

.social-icons a:hover img {
  transform: scale(1.2);
  filter: none;
}

.social-icons li {
  list-style: none;
}

/* Contenedor general */
.musicoterapia-section {
  padding: 30px 20px;
  background-color: #fff;
  text-align: center;
  font-family: Arial, sans-serif;
}

/* TÃ­tulo con fondo amarillo */
.musicoterapia-title {
  background-color: #e78801; /* Amarillo */
  color: #fff;
  padding: 15px;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 8px;
}

/* Contenedor de tarjetas */
.musicoterapia-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Para hacerlo responsivo */
}

/* Tarjeta individual */
.musicoterapia-cards .card {
  width: 22%;
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.musicoterapia-cards .card:hover {
  transform: translateY(-5px);
}

/* Imagen dentro de la tarjeta */
.musicoterapia-cards .card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsivo */
@media (max-width: 768px) {
  .musicoterapia-cards .card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .musicoterapia-cards .card {
    width: 100%;
  }
}

/* estilos de encabezado */
a {
  color: #0088c2 !important;
}

.pkp_structure_main {
  width: 860px !important;
}

.pkp_head_wrapper {
  padding: 0 !important;
  width: 100% !important;
}

.pkp_site_name .is_img img {
  background-color: white;
  display: block !important;
  max-height: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  width: 100% !important;
}

.pkp_site_name .is_img {
  display: inline;
}

.pkp_site_name .is_img img {
  max-height: 100%;
}

.pkp_structure_head {
  background-color: white;
}

.pkp_site_nav_menu a {
  background: #0088c2 !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  font-weight: 100;
}

.pkp_navigation_primary_wrapper {
  background-color: #0088c2 !important;
  text-align: left;
  margin-left: 40px !important;
  font-size: 1.3em !important;
  font-weight: bold !important;
}

.pkp_site_name_wrapper {
  width: 100%;
  padding: 0;
}

.pkp_site_nav_menu {
  background-color: #0088c2 !important;
}

.pkp_nav_list ul {
  background: #0088c2 !important;
}

.pkp_nav_list ul a {
  color: #fff !important;
}

.pkp_navigation_primary .dropdown-menu a:focus,
.pkp_navigation_primary .dropdown-menu a:hover {
  border-color: #e78801 !important;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus {
  background: #ffffff;
  border-color: #e78801 !important;
  color: #fff !important;
}

.pkp_block .title {
  text-align: center;
  margin-bottom: 10px !important;
  padding: 5% !important;
  font-size: 22px !important;
  line-height: 20px !important;
  color: #fff;
  background-color: #0088c2 !important;
  font-weight: bold;
  margin: -11px -10px 2px -11px;
  border-radius: 10px;
  width: 100%;
}

.indexing-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

/* cuerpo */
.page {
  word-break: break-word;
}

.page_login .buttons button:hover {
  color: #fff;
}

.page_login .buttons button:active {
  color: #fff;
}

.block_make_submission a {
  text-align: center;
  background: #0088c2 !important;
  margin-bottom: 10px !important;
  padding: 5% !important;
  font-size: 20px !important;
  line-height: 20px !important;
  color: #fff !important;
  background-color: #0088c2 !important;
  font-weight: bold;
  margin: -11px -10px 2px -11px;
  border-radius: 10px;
  width: 100%;
}

.obj_issue_toc .galleys > h2,
.obj_issue_toc .section > h2,
.obj_issue_toc .galleys > h3,
.obj_issue_toc .section > h3 {
  font-size: 22px;
  color: #0088c2 !important;
  font-weight: 100;
}

.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before {
  border-top: none;
}

ul.article-views.list-group {
  display: flex;
  list-style: none;
}

li.item-views.simpleStatistics_views::before {
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  transform: translate(0, 0);
  content: "\f012";
}

li.item-views.simpleStatistics_down::before {
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  transform: translate(0, 0);
  content: "\f012";
}

li.item-views.list-group-item-estadisticas {
  padding: 10px;
}

.cmp_notification {
  background: #fff;
  border-left: 0.357rem solid #0088c2 !important;
}

.cmp_monographs_list > .title {
  font-size: 1.643rem;
  left: 0;
  margin: 0;
  padding: 0;
  color: #000000;
}

.cmp_monographs_list .row {
  border-bottom: 2px solid gray;
}

.obj_monograph_summary a {
  color: #000000;
}

.cmp_monographs_list .obj_monograph_summary.obj_monograph_summary {
  border-left: 0px !important;
}

.cmp_monographs_list .obj_monograph_summary:first-child {
  border-right: 0px !important;
}

.pkp_structure_main:before,
.pkp_structure_main:after {
  width: 0px;
}

.cmp_monographs_list {
  border-top: 0px !important;
}

.pkp_navigation_primary > li > a:focus {
  background: #0088c2 !important;
  color: #ffffff;
  outline: 0;
}

.pkp_navigation_primary > li > a:active {
  background: #0088c2 !important;
  color: #ffffff;
  outline: 0;
}

.pkp_navigation_primary {
  max-width: 100%;
}

.img-to-icon {
  width: 20px;
  height: auto;
  margin-right: 4px;
}

/* pie de pÃ¡gina */

.pkp_brand_footer {
  display: none;
}

.footer-col ul li a {
  color: #fff !important;
}

.footer-social a {
  color: #fff !important;
}

.footer-logos img {
  height: initial !important;
}

.pkp_footer_content {
  padding: 2.143rem !important;
  text-align: left;
}

.footer-logo {
  padding-left: 30px !important;
}

.footer-platform {
  padding-left: 30px !important;
}

/* Fondo aplicado al contenedor externo que sÃ­ ocupa todo el ancho */
.pkp_structure_footer {
  background-image: url("https://revistas.unir.net/public/site/images/admin/unir---footer---imagen-de-fondo.png") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 100% !important;
}

/* Este wrapper interno tiene un max-width que limita el contenido. Lo respetamos. */
.pkp_structure_footer_wrapper {
  color: #fff;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.custom-footer-content {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1000px !important;
  gap: 20px !important;
}

.footer-logo img,
.footer-platform img {
  max-height: 70px !important;
  height: auto !important;
  width: auto !important;
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  flex: 1 !important;
  gap: 15px !important;
  padding: 10px 0 !important;
}

.footer-links a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color 0.3s ease !important;
}

.footer-links a:hover {
  color: #ffd700 !important;
}

/* Responsive */
@media (max-width: 768px) {
  .custom-footer-content {
    flex-direction: column !important;
    text-align: center !important;
  }

  .footer-logo,
  .footer-platform {
    margin: 10px 0 !important;
  }

  .pkp_structure_main {
    width: 100% !important;
  }
}

/* articulo */
.simpleStatistics_views::before {
  content: "\f012" !important;
}

.simpleStatistics_downloads::before {
  content: "\f012" !important;
}

.obj_monograph_summary .cover img {
  box-shadow: 4px 4px 4px 2px rgba(0, 0, 0, 0.4);
}

.obj_monograph_full .cover img {
  box-shadow: 4px 4px 4px 2px rgba(0, 0, 0, 0.4);
}

.cmp_button,
.cmp_download_link,
.cmp_form .buttons button,
.page_lost_password .buttons button,
.page_search .cmp_search button,
.obj_monograph_full .files .link a,
.obj_monograph_full .files .pub_format_remote a,
.obj_monograph_full .files .pub_format_single a {
  background: #ffffff;
  color: #000000;
}

.cmp_button:hover,
.cmp_button:focus,
.cmp_download_link:hover,
.cmp_download_link:focus,
.page_login .buttons button:hover,
.page_login .buttons button:focus,
.page_lost_password .buttons button:hover,
.page_lost_password .buttons button:focus,
.page_search .cmp_search button:hover,
.page_search .cmp_search button:focus,
.obj_monograph_full .files .link a:hover,
.obj_monograph_full .files .pub_format_remote a:hover,
.obj_monograph_full .files .pub_format_single a:hover,
.obj_monograph_full .files .link a:focus,
.obj_monograph_full .files .pub_format_remote a:focus,
.obj_monograph_full .files .pub_format_single a:focus {
  background: #000000;
  border-color: #000000;
}

.pkp_navigation_search_wrapper a:focus {
  background: #000000;
  color: #ffffff;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
  border-radius: 10px;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

.obj_galley_link {
  border-radius: 10px;
  color: #fff !important;
  background: #0088c2 !important;
  border: 1px solid #0088c2 !important;
}

.pkp_site_nav_menu a {
  background: #0088c2 !important;
  color: #fff !important;
}

/*.pkp_structure_content h2 {
    color: gray;
    border-bottom: 4px solid #0088C2; }*/

.obj_issue_toc .galleys > h2,
.obj_issue_toc .section > h2,
.obj_issue_toc .galleys > h3,
.obj_issue_toc .section > h3 {
  color: gray !important;
}

.obj_article_details .main_entry {
  text-align: justify;
}

.item.references {
  display: block;
  height: 400px;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* responsive design */

@media (max-width: 768px) {
  .featured-row {
    flex-direction: column;
  }

  .featured-main,
  .featured-list {
    width: 100%;
  }

  .featured-list {
    order: 2;
    padding-top: 1rem;
  }

  .featured-item {
    font-size: 1rem;
  }
  .pkp_structure_main .page h1 {
    margin-top: 30px;
  }

  .obj_monograph_full .title,
  .obj_monograph_full .main_entry,
  .obj_monograph_full .details {
    margin-bottom: 1.857rem;
  }

  .cmp_breadcrumbs .current {
    padding-top: 20px;
  }
}

@media (max-width: 600px) {
  .featured-row {
    flex-direction: column;
  }

  .featured-main,
  .featured-list {
    width: 100%;
  }

  .featured-list {
    order: 2;
    padding-top: 1rem;
  }

  .featured-item {
    font-size: 1rem;
  }

  .pkp_structure_main .page h1 {
    margin-top: 30px;
  }

  .obj_monograph_full .title,
  .obj_monograph_full .main_entry,
  .obj_monograph_full .details {
    margin-bottom: 1.857rem;
  }

  .cmp_breadcrumbs .current {
    padding-top: 20px;
  }
}

/* menÃº hamburguesa */
@media (max-width: 600px) {
  .pkp_site_nav_toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    margin: 10px;
    background: black;
  }

  .pkp_site_nav_toggle[aria-expanded="true"]::after {
    background: black;
    content: "X";
    margin-left: 10px;
  }
}

/* === Ajustes específicos para el bloque del footer OAI === */
.footer-oai {
  margin-top: 50px !important; /* separa el bloque del logo UNIR */
  text-align: center !important;
}

.footer-oai .oai-logo {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 8px !important; /* espacio entre el logo y el texto */
}

.footer-oai .oai-logo img {
  width: 80px !important;
  height: auto !important;
}

.footer-oai .oai-text {
  max-width: 30ch !important;
  margin: 0 auto !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  font-size: 0.95rem !important;
  color: #fff !important;
}
