/* Titulo del slider reducido un 30% */
#intro .banner-content h2.name {
  font-size: clamp(2.975rem, 6.3vw, 5.95rem) !important;
  line-height: 0.95;
}

/* h1 y h2 con el mismo tamano del titulo del slider */
main h1.name,
main h2.name,
#about h1.name,
#about h2.name,
#contact h1.name,
#collaborators h3.name,
#contact h2.name {
  font-size: clamp(2.975rem, 6.3vw, 5.95rem) !important;
  line-height: 0.95;
}

.author {
    color: white;
}

.biography, .biography p {
    color: #F1F1F0;
}

/* Ajuste de tamano fijo para imagenes de listados (proyecciones/huellas) */
.post-image {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  overflow: hidden;
}

.post-image picture,
.post-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.post-image img {
  object-fit: cover;
  object-position: center;
}

/* Ajustes de maquetacion para listado de publicaciones */
.cf-screenings-grid {
  row-gap: 2.5rem;
}

.cf-screenings-grid > .col-lg-4 {
  margin-top: 0 !important;
  margin-bottom: 0;
}

.cf-screenings-grid .post-item,
.cf-screenings-grid .post-meta,
.cf-screenings-grid .post-content,
.cf-screenings-grid .post-item > a.text-decoration-underline {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.cf-screenings-grid .post-meta {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.cf-screenings-grid .post-category {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cf-screenings-grid .post-title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-top: 0.9rem !important;
  margin-bottom: 0.75rem !important;
}

.cf-screenings-grid .post-content p {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.cf-screenings-grid .post-content .author {
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.cf-screenings-grid .post-item > a.text-decoration-underline {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.86rem;
}

@media (max-width: 767.98px) {
  .cf-screenings-grid > .col-lg-4 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .cf-screenings-grid > .col-lg-4 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .cf-screenings-grid > .col-lg-4 {
    width: 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}


.my-5{
  margin-bottom: 0rem !important;
}

/* Paginacion personalizada para proyecciones sin tocar reglas globales */
.cf-pagination-nav {
  margin: 0.75rem 0 1.25rem;
}

.cf-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cf-older-posts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid #7a7a7a;
  border-radius: 999px;
  background-color: #111111;
  color: #f1f1f0;
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cf-older-posts-btn:hover,
.cf-older-posts-btn:focus-visible {
  border-color: #f1f1f0;
  background-color: #1d1d1d;
  color: #ffffff;
}

.cf-older-posts-btn-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.cf-top-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.cf-pagination-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.cf-pagination-item {
  margin: 0;
}

.cf-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.8rem;
  border: 1px solid #5b5b5b;
  border-radius: 999px;
  background-color: #111111;
  color: #f1f1f0;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cf-pagination-link:hover,
.cf-pagination-link:focus-visible {
  border-color: #f1f1f0;
  background-color: #1d1d1d;
  color: #ffffff;
}

.cf-pagination-item-active .cf-pagination-link {
  background-color: #f1f1f0;
  border-color: #f1f1f0;
  color: #0f0f0f;
  font-weight: 700;
}

.cf-pagination-item-disabled .cf-pagination-link {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .cf-pagination-wrap {
    align-items: stretch;
  }

  .cf-top-actions {
    justify-content: flex-start;
  }

  .cf-pagination-link {
    min-width: 2.05rem;
    height: 2.05rem;
    padding: 0 0.65rem;
    font-size: 0.82rem;
  }

  .cf-older-posts-btn {
    width: 100%;
    font-size: 0.78rem;
  }
}
