/* =========================================================
   FOTOS RELACIONADAS (página /foto/slug)
   ========================================================= */
.related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem clamp(4rem, 8vh, 6rem);
}
.related__head {
    text-align: center;
    margin-bottom: 2.2rem;
}
.related__eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    padding-left: 0.4em;
    margin-bottom: 0.8rem;
}
.related__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(1.5rem, 3.5vw, 2.3rem);
    color: var(--fg);
    margin: 0;
}
.related__title em { font-style: italic; color: var(--accent); }

.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}
.related__item {
    display: block;
    text-decoration: none;
    color: var(--fg);
}
.related__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-soft);
    border: 1px solid rgba(243, 240, 234, 0.06);
}
.related__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.related__item:hover .related__media img { transform: scale(1.06); }
.related__cap {
    display: block;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--fg-soft);
    margin-top: 0.7rem;
    transition: color 0.3s var(--ease-out);
}
.related__item:hover .related__cap { color: var(--fg); }

@media (max-width: 760px) {
    .related__grid { grid-template-columns: repeat(2, 1fr); }
}

