.project-list-a .project-item {
    padding-top: 3rem;
    margin-top: 3rem;
}

.project-list-a .project-item:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.project-item__title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.75vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}

.project-item:hover .project-item__title {
    color: #444;
}

.project-item__desc {
    font-size: 1.2rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.project-item__img {
    background: #e8e5e0;
    aspect-ratio: 4 / 3;
}

.project-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.project-item:hover .project-item__img img {
    /* transform: scale(1.025); */
}
.objects_card .category-card__image-hover{
    aspect-ratio: 1 / 1;
}

.project-list-b .project-item {
    padding-top: 3rem;
    margin-top: 3rem;
}

.project-list-b .project-item:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.project-list-b .project-item__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
}

.project-detail__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
}

.project-detail__hero {
    overflow: hidden;
}

.project-detail__hero img {
    width: 100%;
    object-fit: cover;
}

.project-detail__body p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.1em;
    color: var(--color-text);
}

.project-detail__body h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.project-inline-img {
    overflow: hidden;
}

.project-inline-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.next-project {
    /* border-top: 1px solid var(--color-border); */
    padding-top: 2rem;
}

.next-project__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.next-project .project-item__title {
    /* font-size: 1.35rem; */
}

.next-project .project-item__desc {
    /* font-size: 0.875rem; */
}

.camino-intro {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.camino-portrait {
    overflow: hidden;
    background: #e0ddd8;
}

.camino-portrait img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.camino-highlights__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

.camino-highlights li {
    font-size: 0.9375rem;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.camino-highlights li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.encontrarme-label {
    font-size: 2rem;
    letter-spacing: 0.12em;
    color: var(--color-muted);
    font-weight: bold;
}

.encontrarme-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    display: block;
    transition: color var(--transition);
}

.encontrarme-link:hover {
    color: #444;
}

.category-card {
    display: block;
}

.category-card:hover .category-card__img img {
    /* transform: scale(1.025); */
}

.category-card__img {
    overflow: hidden;
}

.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
    aspect-ratio: 4/3;
}

.img-credit-overlay {
    float: right;
}

.category-card__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
    transition: color var(--transition);
}

.category-card:hover .category-card__title {
    color: #444;
}

.category-card__desc {
    font-size: 1.5rem;
    color: var(--color-muted);
    line-height: 1.55;
}

.objeto-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

@media (max-width: 768px) {
    .objeto-detail {
        grid-template-columns: 1fr;
    }

    .objeto-detail__sticky {
        position: static !important;
    }
}

.objeto-detail__carousel-col {
    position: relative;
}

.objeto-carousel {
    position: sticky;
    top: 0;
}

.objeto-carousel .carousel-caption-custom {
    /* position: absolute; */
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    font-family: 'EB Garamond', serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    font-style: italic;
    pointer-events: none;
    min-height: 48px;
    display: flex;
    align-items: flex-end;
}

.objeto-carousel .carousel-control-prev,
.objeto-carousel .carousel-control-next {
    width: 44px;
    opacity: 0;
    transition: opacity .2s;
}

.objeto-carousel:hover .carousel-control-prev,
.objeto-carousel:hover .carousel-control-next {
    opacity: 1;
}

.objeto-carousel .carousel-indicators {
    margin-bottom: 0;
    gap: 4px;
    bottom: 50px;
}

.objeto-carousel .carousel-indicators [data-bs-target] {
    width: 20px;
    height: 2px;
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: background .2s, width .2s;
}

.objeto-carousel .carousel-indicators .active {
    background: #fff;
    width: 32px;
}

.objeto-detail__info {
    padding: 3rem 3.5rem 3rem 3rem;
}

@media (max-width: 992px) {
    .objeto-detail__info {
        padding: 2rem 1.5rem;
    }
}

.objeto-detail__sticky {
    position: sticky;
    top: 2rem;
}

.objeto-detail__eyebrow {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1rem;
}

.objeto-detail__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    color: #111;
    margin-bottom: 1.25rem;
}

.objeto-detail__short {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.objeto-detail__divider {
    width: 40px;
    height: 1px;
    background: #c8b89a;
    margin-bottom: 2rem;
}

.objeto-detail__body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.objeto-portada-fallback {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0a0a0a;
    position: relative;
}

.objeto-portada-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.objeto-portada-fallback .img-credit {
    position: absolute;
    bottom: 10px;
    left: 14px;
    font-family: 'EB Garamond', serif;
    font-size: 13px;
    font-style: italic;
    color: rgba(255, 255, 255, .75);
}

.next-objeto {
    border-top: 1px solid #e5e0d8;
    padding-top: 3.5rem;
    margin-top: 4rem;
}

.next-objeto__label {
    font-family: 'EB Garamond', serif;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.5rem;
}

.next-objeto__link {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.next-objeto__link:hover .next-objeto__img img {
    transform: scale(1.03);
}

.next-objeto__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: #111;
    margin-bottom: .6rem;
    line-height: 1.2;
}

.next-objeto__desc {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
}

.next-objeto__img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.next-objeto__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

@media (max-width: 768px) {
    .next-objeto__link {
        grid-template-columns: 1fr;
    }
}

.nav-escritos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.nav-escritos__item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    min-height: 300px;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.nav-escritos__item:hover {
    background: #fafafa;
}

.nav-escritos__item:hover .nav-escritos__img img {
    transform: scale(1.04);
}

.nav-escritos__item--next {
    text-align: right;
    align-items: flex-end;
}


.nav-escritos__label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.nav-escritos__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 3px;
    position: relative;
}

.nav-escritos__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .nav-escritos {
        grid-template-columns: 1fr;
    }

    .nav-escritos__item--next {
        text-align: left;
        align-items: flex-start;
    }
}

    /* ══════════════════════════════════════════
   SWIPER - Cards de portadas (home)
══════════════════════════════════════════ */

.category-card__img {
  position: relative;
  overflow: hidden;
}

/* Flechas: pequeñas, blancas, ocultas por defecto */
.category-card__img .swiper-button-prev,
.category-card__img .swiper-button-next {
  width: 32px;
  height: 32px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.category-card__img .swiper-button-prev::after,
.category-card__img .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

/* Mostrar flechas solo en hover sobre la imagen */
.category-card__img:hover .swiper-button-prev,
.category-card__img:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}

/* Pagination: líneas en vez de puntos, siempre visible */
.category-card__img .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  bottom: 10px;
}

.category-card__img .swiper-pagination-bullet {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 !important;
  transition: background-color 0.25s ease;
}

.category-card__img .swiper-pagination-bullet-active {
  background-color: #ffffff;
}   

/* ══════════════════════════════════════════
   SWIPER - Cards con portadas (home / escritos)
══════════════════════════════════════════ */

.category-card__img,
.project-item__img {
  position: relative;
  overflow: hidden;
}

/* El swiper y sus hijos deben llenar el contenedor manteniendo el aspect-ratio original */
.category-card__img .swiper,
.project-item__img .swiper {
  width: 100%;
  height: 100%;
}

.category-card__img .swiper-slide,
.project-item__img .swiper-slide {
  width: 100%;
  height: 100%;
}

.category-card__img .swiper-slide img,
.project-item__img .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

/* Mantiene el mismo aspect-ratio que tenías antes en la imagen suelta */
.category-card__img img,
.category-card__img .swiper {
  aspect-ratio: 4 / 3;
}

.project-item__img img,
.project-item__img .swiper {
  aspect-ratio: 4 / 3;
}

.category-card:hover .category-card__img .swiper-slide-active img,
.project-item:hover .project-item__img .swiper-slide-active img {
  transform: scale(1.025);
}

/* Flechas: pequeñas, blancas, ocultas por defecto */
.category-card__img .swiper-button-prev,
.category-card__img .swiper-button-next,
.project-item__img .swiper-button-prev,
.project-item__img .swiper-button-next {
  width: 32px;
  height: 32px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.category-card__img .swiper-button-prev::after,
.category-card__img .swiper-button-next::after,
.project-item__img .swiper-button-prev::after,
.project-item__img .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

/* Mostrar flechas solo en hover sobre la imagen */
.category-card__img:hover .swiper-button-prev,
.category-card__img:hover .swiper-button-next,
.project-item__img:hover .swiper-button-prev,
.project-item__img:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}

/* Pagination: líneas en vez de puntos */
.category-card__img .swiper-pagination,
.project-item__img .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  bottom: 10px;
}

.category-card__img .swiper-pagination-bullet,
.project-item__img .swiper-pagination-bullet {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 !important;
  transition: background-color 0.25s ease;
}

.category-card__img .swiper-pagination-bullet-active,
.project-item__img .swiper-pagination-bullet-active {
  background-color: #ffffff;
}
/* ══════════════════════════════════════════
   SWIPER - Hero de detalle (project-detail__hero)
══════════════════════════════════════════ */

.project-detail__hero {
  position: relative;
  overflow: hidden;
}

.project-detail__hero .swiper {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.project-detail__hero .swiper-slide {
  width: 100%;
  height: 100%;
}

.project-detail__hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail__hero .swiper-button-prev,
.project-detail__hero .swiper-button-next {
  width: 32px;
  height: 32px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.project-detail__hero:hover .swiper-button-prev,
.project-detail__hero:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}

.project-detail__hero .swiper-button-prev::after,
.project-detail__hero .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.project-detail__hero .swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  bottom: 10px;
}

.project-detail__hero .swiper-pagination-bullet {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 !important;
  transition: background-color 0.25s ease;
}

.project-detail__hero .swiper-pagination-bullet-active {
  background-color: #ffffff;
}
/* ══════════════════════════════════════════
   SWIPER - objeto-carousel (detalle de objeto)
══════════════════════════════════════════ */

.objeto-carousel.swiper {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.objeto-carousel .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.objeto-carousel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.objeto-carousel .swiper-slide .img-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  pointer-events: none;
}

.objeto-carousel .swiper-button-prev,
.objeto-carousel .swiper-button-next {
  width: 32px;
  height: 32px;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(2px);
}

.objeto-carousel:hover .swiper-button-prev,
.objeto-carousel:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}

.objeto-carousel .swiper-button-prev::after,
.objeto-carousel .swiper-button-next::after {
  font-size: 14px;
  font-weight: 700;
}

.objeto-carousel .swiper-pagination {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  bottom: 50px;
}

.objeto-carousel .swiper-pagination-bullet {
  width: 20px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  margin: 0 !important;
  transition: background 0.2s, width 0.2s;
}

.objeto-carousel .swiper-pagination-bullet-active {
  background: #fff;
}

.objeto-carousel .swiper-wrapper{
    width: 1px !important;
}