/* ── Base ────────────────────────────────────────────────── */
.coll-page {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff7f2;
}

/* ── Header ──────────────────────────────────────────────── */
.coll-header {
    text-align: center;
    padding: 62px 120px 48px;
}

.coll-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5.1vw, 74px);
    font-weight: 400;
    color: #805d5b;
    line-height: 1.04;
    margin: 0;
}

/* ── List ────────────────────────────────────────────────── */
.coll-list {
    padding: 0 120px 80px;
}

/* ── Item ────────────────────────────────────────────────── */
.coll-item {
    display: grid;
    grid-template-columns: 7fr 8fr;
    min-height: 520px;
    border-top: 1px solid #e0d0ce;
}

/* чётные — меняем местами */
.coll-item--reversed .coll-text  { order: 2; }
.coll-item--reversed .coll-photo { order: 1; }

/* ── Text column ─────────────────────────────────────────── */
.coll-text {
    padding: 40px 60px 40px 0;
    display: flex;
    flex-direction: column;
}

.coll-item--reversed .coll-text {
    padding: 40px 0 40px 60px;
}

.coll-country {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #a2a2a2;
    display: block;
    margin-bottom: 24px;
}

.coll-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coll-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 500;
    color: #805d5b;
    line-height: 1.04;
    margin: 0 0 20px;
}

.coll-name a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}
.coll-name a:hover { opacity: .8; }

.coll-director {
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #805d5b;
    letter-spacing: -0.02em;
    line-height: 22px;
    flex: 1;
    margin: 0 0 32px;
}

.coll-btn {
    display: inline-block;
    background: #805d5b;
    color: #fff7f2;
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.04em;
    padding: 8px 32px;
    text-decoration: none;
    align-self: flex-start;
    transition: background .2s;
}
.coll-btn:hover { background: #78615c; }

/* ── Photo column ────────────────────────────────────────── */
.coll-photo {
    overflow: hidden;
}

.coll-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coll-img-placeholder {
    background: #d9d9d9;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ── Pagination ──────────────────────────────────────────── */
.coll-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 0 120px 64px;
}

.coll-pagination .page-numbers {
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    color: #805d5b;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #805d5b;
    transition: background .2s, color .2s;
}

.coll-pagination .page-numbers.current,
.coll-pagination .page-numbers:hover {
    background: #805d5b;
    color: #fff7f2;
}

/* ── Responsive ──────────────────────────────────────────── */

/* 1200px */
@media (max-width: 1200px) {
    .coll-header  { padding: 48px 48px 40px; }
    .coll-list    { padding: 0 48px 64px; }
    .coll-pagination { padding: 0 48px 48px; }
    .coll-video   { padding: 0 48px 64px; }

    .coll-text                      { padding: 36px 48px 36px 0; }
    .coll-item--reversed .coll-text { padding: 36px 0 36px 48px; }
    .coll-name { font-size: 26px; }
}

/* ── Видео ───────────────────────────────────────────────── */
.coll-video {
    padding: 0 120px 80px;
}

.coll-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.coll-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 1024px — планшет */
@media (max-width: 1024px) {
    .coll-header  { padding: 36px 32px 32px; }
    .coll-list    { padding: 0 32px 48px; }
    .coll-pagination { padding: 0 32px 40px; }
    .coll-video   { padding: 0 32px 48px; }

    .coll-item { grid-template-columns: 1fr 1fr; min-height: 400px; }

    .coll-text                      { padding: 28px 32px 28px 0; }
    .coll-item--reversed .coll-text { padding: 28px 0 28px 32px; }
    .coll-name    { font-size: 22px; }
    .coll-country { font-size: 17px; margin-bottom: 16px; }
}

/* 768px — мобильный */
@media (max-width: 768px) {
    .coll-header  { padding: 28px 16px 24px; }
    .coll-list    { padding: 0 16px 40px; }
    .coll-pagination { padding: 0 16px 32px; }
    .coll-video   { padding: 0 16px 40px; }

    /* На мобиле — всегда: фото сверху, текст снизу */
    .coll-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .coll-photo               { order: 1 !important; }
    .coll-text                { order: 2 !important; }

    .coll-text,
    .coll-item--reversed .coll-text { padding: 24px 0 32px; }

    .coll-photo { max-height: 300px; }
    .coll-img   { max-height: 300px; }
    .coll-img-placeholder { min-height: 240px; }

    .coll-name { font-size: 20px; }
    .coll-director { margin-bottom: 24px; }
}

/* 480px */
@media (max-width: 480px) {
    .coll-name  { font-size: 18px; }
    .coll-photo { max-height: 220px; }
    .coll-img   { max-height: 220px; }
    .coll-img-placeholder { min-height: 180px; }
}
