@font-face {
  font-family: 'ClarendonGraphic';
  src: url('https://postgrado.finis.cl/wp-content/themes/sima-uft/assets/fonts/Clarendon-Graphic-Thin.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AcidGrotesk';
  src: url('https://postgrado.finis.cl/wp-content/themes/sima-uft/assets/fonts/FFF-AcidGrotesk-Light.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #00b7eb;
  --color-secondary: #000;
  --color-accent: #00b7eb;
  --color-light: #ffffff;
  --color-dark: #000000;
  --color-gray: #555555;
  --transition-base: all 0.3s ease;
  --clarendon: 'ClarendonGraphic', Georgia, serif;
  --acid: 'AcidGrotesk', Helvetica, Arial, sans-serif;
}
body {
  /*font-family: Roboto, sans-serif;*/
  font-family: var(--acid);
  font-weight: 100;
  color: var(--color-gray);
  padding-top: 120px;
  background-color: var(--color-light);
}
.clarendon{
  font-family: 'ClarendonGraphic', Georgia, serif;
  font-weight: 100;
  letter-spacing: .02em;
}
.acid {
  font-family: var(--acid);
  font-weight: 100;
  line-height: 1.5; /* Ajuste típico para tipografías sans-serif */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--clarendon);
  color: var(--color-secondary);
  position: relative;
  font-weight: 100;
  margin-bottom: 1rem;
}
h2 {
  font-size: calc(1.5rem + 1em) !important;
}
.single h2 {
  font-size: 2rem !important;
}
.text-white h1 {
    color: var(--color-light);
}
p {
  font-size: 1.2em;
  font-weight: 300;
}
.single h2::after {
  content: unset;
}
/*.single h1::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--color-primary);
  margin: 10px auto;
}*/
.breadcrumb li a {
  color: var(--color-gray);
  text-decoration: none;
}
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6 {
  color: var(--color-light) !important;
}

.bg-dark h1, .bg-black h1,
.bg-dark h2, .bg-black h2,
.bg-dark h3, .bg-black h3,
.bg-dark h4, .bg-black h4,
.bg-dark h5, .bg-black h5,
.bg-dark h6, .bg-black h6 {
  color: var(--color-light) !important;
}
.bg-primary {
  background-color: var(--color-primary) !important;
}
.text-primary {
  color: var(--color-primary) !important;
}
a {
  color: var(--color-primary);
}
.bg-primary .btn-outline-primary {
  --bs-btn-color: var(--bs-light);
  --bs-btn-border-color: var(--bs-light);
  --bs-btn-hover-color: var(--bs-var(--color-light));
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--bs-var(--color-light));
  --bs-btn-active-color: var(--bs-var(--color-light));
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: var(--bs-var(--color-light));
  --bs-btn-disabled-color: var(--bs-light);
  --bs-btn-disabled-border-color: var(--bs-light);
}
.bg-black,
.bg-dark.bg-fi,
.bg-light.bg-quote,
.bg-white.bg-fi {
  position: relative;
}
.bg-light.bg-quote::before {
  content: "";
  /*background-image: url(../img/quotes-primary.svg);*/
  background-position: 20px 20px;
  background-size: 12%;
  background-repeat: no-repeat;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-black > *,
.bg-dark.bg-fi > *,
.bg-light.bg-quote > *,
.bg-white.bg-fi > * {
  position: relative;
  z-index: 2;
}
.lead {
  color: var(--color-gray);
  font-weight: 300;
}
.bg-dark .lead,
.bg-dark p {
  color: var(--color-light);
}
.bg-black .lead {
  color: var(--color-light);
}
.ratio-i {
  width: 100%;
  background-color: #fff0;
  background-position: center;
  background-size: cover;
  display: inline-block;
}
.i-16_9 {
  aspect-ratio: 16/9 !important;
}
.i-16_5 {
  padding-bottom: 32%;
}
.i-4_3 {
  padding-bottom: 75%;
}
.i-1_1 {
  padding-bottom: 100%;
}
.i-9_16 {
  padding-bottom: 177.77%;
}
.i-3_4 {
  padding-bottom: 144%;
}
.i-20 {
  padding-bottom: 20%;
}
.btn-outline-primary {
  --bs-btn-color: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-active-bg: var(--color-primary);
  --bs-btn-active-border-color: var(--color-primary);
  --bs-btn-disabled-color: var(--color-primary);
  --bs-btn-disabled-border-color: var(--color-primary);
}
.active > .page-link,
.page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.parallax-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-light);
  z-index: 1040;
  transition: var(--transition-base);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
}
.topbar a.nav-link {
  --bs-nav-link-padding-y: 0rem;
  font-weight: 300;
  font-size: small;
}
.topbar .cta a {
  background: var(--color-primary);
}
.menu-ppal {
  position: fixed;
  width: 100%;
  top: 35px;
  background: var(--color-dark);
  color: var(--color-dark);
  z-index: 1030;
  transition: var(--transition-base);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.15);
}
.menu-ppal a {
  color: var(--color-light);
  text-decoration: none;
  font-weight: 400;
  padding: 0 1rem;
  transition: var(--transition-base);
  line-height: 4em;
}
.menu-ppal a:hover {
  color: var(--color-primary);
}
.navbar-brand img {
  transition: var(--transition-base);
  max-width: 180px;
}
.navbar-brand:hover img {
  opacity: 0.8;
}
.MegaMenu {
  display: none;
  position: absolute;
  top: 85%;
  left: 0;
  right: 0;
  background: var(--color-light);
  color: var(--color-dark);
  z-index: 1029;
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.1);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.navbar-nav > .nav-item {
  position: static;
}
.navbar-nav > .nav-item:hover .MegaMenu {
  display: block;
}
.MegaMenu h2 {
  font-size: calc(1.5rem) !important;
}
.MegaMenu h2::after {
  content: unset !important;
}
.MegaMenu .row li a {
  color: var(--color-primary);
  line-height: 2em;
  border-bottom: 1px solid;
  width: 100%;
  display: block;
}
@media (max-width: 991.98px) {
  .MegaMenu {
    display: none !important;
  }
}
#SidemainMenu {
  position: fixed;
  right: 0;
  top: 0;
  max-width: 80%;
  width: 100%;
  height: 100%;
  background: var(--color-dark);
  z-index: 9999;
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
}
#SidemainMenu.d-none {
  display: none !important;
}
#SidemainMenu li a {
  color: var(--color-light);
  display: block;
  text-decoration: none;
  width: 100%;
  border-bottom: 1px solid;
  margin-bottom: 1em;
}
button.btn.btn-sm.text-light.toggle-accordionSM {
  font-size: 1.5em;
  background: var(--color-primary);
  line-height: 1em;
  margin: -10px 0 0 0;
}
#hero {
  position: relative;
  overflow: hidden;
}
#hero a {
  text-decoration: none;
}
.hero-slide {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.carousel-item {
  transition: transform 0.6s ease-in-out;
}
#noticias {
  padding: 5rem 0;
  background-color: var(--color-light);
}
#noticias .section-title {
  margin-bottom: 3rem;
}
#noticias .card {
  transition: var(--transition-base);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  border: none;
  border-radius: 0;
  height: 100%;
  overflow: hidden;
}
#noticias .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.15);
}
#noticias .img-hover-zoom {
  overflow: hidden;
  display: block;
}
#noticias .img-hover-zoom img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
}
#noticias .card:hover .img-hover-zoom img {
  transform: scale(1.05);
}
#noticias .hover-title {
  transition: color 0.3s ease;
}
#noticias .hover-title:hover {
  color: var(--color-primary) !important;
}
#noticias .hover-badge {
  transition: all 0.3s ease;
}
#noticias .hover-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
#noticias .hover-btn {
  transition: all 0.3s ease;
}
#noticias .hover-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}
#noticias .card-body {
  padding: 1.5rem;
  padding-bottom: 0;
}
#noticias .card-title {
  font-weight: 400;
  margin-bottom: 1rem;
}
#noticias .card-text {
  color: var(--color-gray);
  margin-bottom: 1.5rem;
}
#noticias .badge {
  font-weight: 400;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
}
a.badge.hover-badge {
  display: inline;
  z-index: 2;
  position: relative;
}
.share-redes {
  display: block;
  margin: auto;
  text-align: center;
}
.share-redes li {
  list-style: none;
  display: contents;
}
ul.share-redes a {
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.3em;
}
.share-redes img {
  height: 20px;
}
.stretched-link::after {
  position: unset;
}
#rrss .card-rrss a:nth-child(2) {
  color: var(--color-primary);
}
#rrss .card-rrss p {
  color: var(--color-light) !important;
}
#agenda-finis {
  background-image: url(https://finis.cl/wp-content/uploads/2024/08/WhatsApp-Image-2024-08-14-at-4.35.43-PM.jpeg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 0;
  color: var(--color-light);
  position: relative;
}
#agenda-finis::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 0.7);
  z-index: 0;
}
#agenda-finis > .container {
  position: relative;
  z-index: 1;
}
#agenda-finis .agenda-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  position: relative;
}
#agenda-finis .agenda-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 15px;
}
#agenda-finis .agenda-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2rem;
}
#agenda-finis .card {
  transition: var(--transition-base);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(5px);
  overflow: hidden;
  height: 100%;
}
#agenda-finis .card:hover {
  transform: translateY(-5px);
  background: rgb(255 255 255 / 0.2);
  box-shadow: 0 10px 25px rgb(0 0 0 / 0.3);
}
#agenda-finis .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition-base);
}
#agenda-finis .card:hover .card-img-top {
  opacity: 0.8;
}
#agenda-finis .card-body {
  padding: 1.5rem;
}
#agenda-finis .card-title {
  font-weight: 400;
  margin: 0.5rem 0 1rem;
}
#agenda-finis .card-title a {
  color: var(--color-light) !important;
  text-decoration: none !important;
}
#agenda-finis p.small.text-muted.mb-2 {
  color: var(--color-light) !important;
}
#agenda-finis .card-text {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 0;
}
#agenda-finis .badge {
  font-weight: 400;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  background-color: var(--color-light) !important;
}
#agenda-finis .card-body > p:first-child {
  font-size: 0.9rem;
  color: gold;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
#agenda-finis article h3 a {
  color: var(--color-light) !important;
}
#rrss {
  background-color: var(--color-dark);
  padding: 5rem 0;
}
#rrss .img-fluid {
  transition: var(--transition-base);
  border: 2px solid #fff0;
}
#rrss a:hover .img-fluid {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 5px 15px rgb(0 0 0 / 0.3);
}
#rrss .fa-instagram {
  color: #e1306c;
}
#rrss .fa-facebook {
  color: #3b5998;
}
#rrss .fa-linkedin {
  color: #0077b5;
}
#rrss .fa-twitter {
  color: #1da1f2;
}
.btn {
  transition: var(--transition-base);
  font-weight: 400;
  letter-spacing: 0.5px;
  border-radius: 0;
}
.btn-outline-light:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-dark {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-dark:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-col {
  margin-bottom: 1.5rem;
}
.footer-title {
  font-size: large;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--color-light);
}
.footer-contact,
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li,
.footer-menu li {
  margin-bottom: 0.75rem;
}
.footer a {
  color: var(--color-light);
  text-decoration: none;
  transition: var(--transition-base);
}
.footer a:hover {
  opacity: 0.8;
}
.footer-social {
  margin-top: 1.5rem;
}
.footer-social a {
  display: inline-block;
  margin: 2px;
}
.footer-social svg {
  fill: var(--color-light);
  width: 24px;
  height: 24px;
}
.footer-logo-col {
  text-align: center;
}
.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
}
.footer-copyright {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}
.footer-social li {
  list-style: none;
  display: inline;
}
img.redsocial {
  height: 20px;
}
@media (max-width: 992px) {
  .hero-slide {
    height: 40vh;
    min-height: unset;
    background-position: center center;
  }
  nav#main-navbar {
    top: 0 !important;
  }
  #agenda-finis .masonry-row {
    column-count: 2;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bg-dark.bg-fi::before,
  .bg-white.bg-fi::before {
    content: "";
    background-image: url(../img/fi-blanco.svg);
    background-position: bottom right;
    background-size: 30%;
    background-repeat: no-repeat;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .bg-white.bg-fi::before {
    background-image: url(../img/fi-primary.svg);
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }
  .menu-ppal {
    top: 50px;
  }
  #hero .carousel-item {
    min-height: 350px;
  }
  #agenda-finis .masonry-row {
    column-count: 1;
  }
  #agenda-finis {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-logo-col {
    grid-column: span 2;
  }
}
@media (max-width: 576px) {
  body {
    padding-top: 100px;
  }
  .topbar {
    height: 50px;
  }
  #hero p.text-light.mb-4 {
    display: none;
  }
  h2::after {
    margin: 10px auto;
  }
  #noticias .card {
    margin-bottom: 1.5rem;
  }
  #noticias .col-sm-6.col-lg-4.col-xl-3 {
    position: unset !important;
    left: unset !important;
    top: unset !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-logo-col {
    grid-column: span 1;
  }
  .hero-slide {
    height: 30vh;
  }
}
.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  transition: var(--transition-base);
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgb(0 0 0 / 0.15);
}
#galleryModal .modal-content {
  background-color: rgb(0 0 0 / 0.85);
}
#galleryModal .modal-body {
  padding: 0;
}
#galleryModal .carousel-inner {
  border-radius: 4px;
  overflow: hidden;
}
#galleryModal .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
#galleryModal .carousel-caption {
  background: rgb(0 0 0 / 0.7);
  padding: 1rem;
  left: 0;
  right: 0;
  bottom: 0;
}
#galleryModal .carousel-caption h5 {
  font-size: 1.25rem;
  margin-bottom: 0;
}
#galleryModal .carousel-control-next,
#galleryModal .carousel-control-prev {
  width: 8%;
  opacity: 0.9;
}
#galleryModal .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
  filter: brightness(0) invert(1);
}
#galleryModal .carousel-control-next,
#galleryModal .carousel-control-prev {
  transition: opacity 0.3s ease;
}
#galleryModal .carousel-control-next.hidden,
#galleryModal .carousel-control-prev.hidden {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 992px) {
  #gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
@media (max-width: 768px) {
  #galleryModal .carousel-item img {
    max-height: 60vh;
  }
  #galleryModal .carousel-caption {
    padding: 0.5rem;
  }
  #galleryModal .carousel-caption h5 {
    font-size: 1rem;
  }
}
.vamos-arriba {
  display: none;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="var(--color-light)" d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
  z-index: 999;
}
.vamos-arriba:hover {
  opacity: 1;
  transform: translateY(-3px);
}
section#agenda-finis .card-body,
section#agenda-finis .card-body h4 a {
  color: var(--color-light) !important;
}
.card.tribe_events a.ratio-i {
  text-decoration: none;
}
.card.tribe_events .dia-semana {
  padding: 1em;
  text-align: center;
  display: flex;
}
.card.tribe_events .dia-semana time {
  background: var(--color-dark);
  padding: 1em;
  color: var(--color-light);
  text-decoration: none;
  line-height: 1.3em;
}
.card.tribe_events .dia-semana time span {
  font-size: 2em;
  font-weight: 300;
}
.tribe-events-single-section-title {
  text-transform: unset !important;
  font-size: unset !important;
  font-weight: unset !important;
}
#tribe-events-pg-template {
  max-width: unset;
  padding: unset;
}
.tribe-events-event-meta:before,
.tribe-events-event-meta
  ~ div:not(.tribe-events-event-meta):not(.event-tickets) {
  border-top: unset;
}
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.single-tribe_events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active,
.single-tribe_events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:focus,
.single-tribe_events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:focus-within,
.single-tribe_events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button.tribe-events-c-subscribe-dropdown__button--active,
.tribe-events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:focus,
.tribe-events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:focus-within,
.tribe-events
  .tribe-events-c-subscribe-dropdown
  .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: var(--color-dark);
  color: var(--color-light);
}
a.tribe-events-calendar-list__event-title-link.tribe-common-anchor-thin {
  font-weight: 300;
}
.tribe-common-g-row.tribe-events-calendar-list__event-row {
  border-bottom: 1px solid var(--color-gray);
}
ul.tribe-events-sub-nav {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}
li.tribe-events-nav-next,
li.tribe-events-nav-previous {
  width: 50%;
}
li.tribe-events-nav-previous a {
  text-decoration: none;
  color: var(--color-gray);
  text-align: left;
  display: block;
}
li.tribe-events-nav-next a {
  text-decoration: none;
  color: var(--color-gray);
  text-align: right;
  display: block;
}
.slide-responsivo {
  padding: 56.25% 0 0 0;
  position: relative;
}
.slide-responsivo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-responsivo,
.wp-block-embed__wrapper {
  padding: 56.25% 0 0 0;
  position: relative;
}
.video-responsivo iframe,
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.category-agenda-de-actividades
  #cuerpo-noticia
  > div
  > div
  > div
  > article
  > div.ratio-i.i-16_9.img-hover-zoom,
.category-agenda-de-actividades #inner-post-gallery,
.category-agenda-de-actividades #related-news {
  display: none;
}
.card-masonry {
  display: block;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  border-radius: 0;
}
.card-masonry:hover {
  transform: scale(1.015);
}
.card-masonry .overlay.full-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  transition: background 0.3s ease;
  text-align: center;
}
.card-masonry:hover .overlay.full-overlay {
  background: rgb(0 0 0 / 0.7);
}
.card-masonry h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}
.video-background-section {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 360px;
}
.video-background-section .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.video-background-section .video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-background-section .video-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  z-index: 1;
}
.video-background-section .container {
  display: block !important;
  text-align: left !important;
  z-index: 3;
  position: relative;
}
.video-background-section .row {
  justify-content: flex-start !important;
}
img.img-fluid.w-25 {
  max-width: 120px;
}
.video-background-section h2.display-1 {
    font-size: 3em !important;
    line-height: 1.2;
    color: var(--color-light);
}
#carouselUFT .col-lg-6.text-start {
  background: var(--color-primary);
  padding: 1em 2em;
}

@media (max-width: 991px) {
  .video-background-section {
    min-height: unset;
  }
  .video-background-section h2.display-1 {
    font-size: 1.5rem !important;
  }

  #carouselUFT .carousel-caption {
    position: relative;
    padding: unset;
    left: unset;
    right: unset;
  }
}
#actualidad-finis .card-footer.bg-transparent.border-0 {
  display: none;
}
.card-masonry {
  display: block;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  border-radius: 0;
}
.card-masonry:hover {
  transform: scale(1.015);
}
.card-masonry .overlay.full-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  text-align: center;
}
.card-masonry:hover .overlay.full-overlay {
  background: rgba(0, 0, 0, 0.7);
}
.card-masonry h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}
.video-background-section {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 360px;
}
.video-background-section .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.video-background-section .video-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-background-section .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.video-background-section .container {
  display: block !important;
  text-align: left !important;
  z-index: 3;
  position: relative;
}
.video-background-section .row {
  justify-content: flex-start !important;
}
img.img-fluid.w-25 {
  max-width: 120px;
}
/*
.video-background-section h2.display-1 {
  font-size: 3rem ;
  line-height: 1.2;
}*/
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-focus-shadow-rgb: var(--color-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--color-primary);
  --bs-btn-active-border-color: var(--color-primary);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--color-primary);
  --bs-btn-disabled-border-color: var(--color-primary);
}
#carouselUFT .col-lg-6.text-start {
  background: var(--color-primary);
  padding: 1em 2em;
}

@media (max-width: 991px) {
  .video-background-section {
    min-height: unset;
  }
  .video-background-section h2.display-1 {
    font-size: 1.5rem ;
  }
  #carouselUFT .carousel-caption {
    position: relative;
    padding: unset;
    left: unset;
    right: unset;
  }
}
.navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/*estilos de funcion galería modal*/
/* Grid cuadriculado con altura automática */
        .sima-gallery-grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin: 2rem 0;
        }
        
        @media (max-width: 768px) {
            .sima-gallery-grid-container {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
                gap: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .sima-gallery-grid-container {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 10px;
            }
        }
        
        /* Contenedor de imagen con relación de aspecto */
        .sima-grid-item {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            background: #f5f5f5;
            transition: all 0.3s ease;
            height: auto;
        }
        
        .sima-grid-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        
        .sima-image-container {
            position: relative;
            width: 100%;
            height: 0;
            overflow: hidden;
        }
        
        .sima-grid-thumbnail {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .sima-grid-item:hover .sima-grid-thumbnail {
            transform: scale(1.05);
        }
        
        /* Overlay hover */
        .sima-grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .sima-grid-item:hover .sima-grid-overlay {
            opacity: 1;
        }
        
        .sima-grid-zoom-icon {
            color: var(--color-light);
            font-size: 24px;
            background: rgba(0,0,0,0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .sima-grid-item:hover .sima-grid-zoom-icon {
            transform: scale(1);
        }
        
        /* Modal styles */
        .sima-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 99999;
            background-color: rgba(0, 0, 0, 0.95);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .sima-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
        }
        
        .sima-modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            width: auto;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .sima-slider-image {
            max-width: 100%;
            max-height: 85vh;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
            border-radius: 4px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.3);
        }
        
        /* Contador */
        .sima-slider-counter {
            position: fixed;
            top: 25px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--color-light);
            background: rgba(0, 0, 0, 0.7);
            padding: 12px 25px;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 500;
            z-index: 100000;
            var(--color-light)-space: nowrap;
            backdrop-filter: blur(5px);
        }
        
        /* Botones de navegación */
        .sima-slider-btn {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            border: none;
            color: var(--color-light);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100000;
            transition: all 0.3s ease;
            opacity: 0.8;
            backdrop-filter: blur(5px);
        }
        
        .sima-slider-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }
        
        .sima-slider-prev {
            left: 30px;
        }
        
        .sima-slider-next {
            right: 30px;
        }
        
        /* Botón cerrar */
        .sima-slider-close {
            position: fixed;
            top: 25px;
            right: 30px;
            background: rgba(0, 0, 0, 0.7);
            border: none;
            color: var(--color-light);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100000;
            transition: all 0.3s ease;
            opacity: 0.8;
            backdrop-filter: blur(5px);
        }
        
        .sima-slider-close:hover {
            background: rgba(0, 0, 0, 0.9);
            opacity: 1;
            transform: scale(1.1);
        }
        
        /* Ajustes para móviles */
        @media (max-width: 768px) {
            .sima-slider-btn {
                width: 50px;
                height: 50px;
                font-size: 1.3rem;
            }
            
            .sima-slider-prev {
                left: 20px;
            }
            
            .sima-slider-next {
                right: 20px;
            }
            
            .sima-slider-close {
                top: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 1.6rem;
            }
            
            .sima-slider-counter {
                top: 20px;
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .sima-gallery-grid-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .sima-slider-btn {
                width: 45px;
                height: 45px;
                font-size: 1.2rem;
                top: auto;
                bottom: 20px;
                transform: none;
            }
            
            .sima-slider-prev {
                left: 20px;
                right: auto;
            }
            
            .sima-slider-next {
                right: 20px;
                left: auto;
            }
            
            .sima-slider-close {
                top: 15px;
                right: 15px;
                width: 40px;
                height: 40px;
                font-size: 1.4rem;
            }
            
            .sima-slider-counter {
                top: 15px;
                padding: 8px 15px;
                font-size: 0.8rem;
            }
        }
        
        /* Para imágenes muy verticales u horizontales */
        .sima-grid-item.portrait .sima-image-container {
            padding-bottom: 150% !important;
        }
        
        .sima-grid-item.landscape .sima-image-container {
            padding-bottom: 66.66% !important;
        }
/*fin estilos galeria modal*/
