/* ============================================================
   css/matteo-rodos.css
   Strona: Matteo — Sesja zdjęciowa na Rodos
   Reużywa klas om-* z o-mnie.css, dodaje tylko specyficzne style
   ============================================================ */

/* ── Numer sekcji ─────────────────────────────────────────── */

.mat-section-num {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9E8B6E;
    padding-bottom: 24px;
}

.mat-section-num--light {
    color: rgba(245,240,232,.35);
}

/* ── Tagi pod hero ────────────────────────────────────────── */

.mat-tags {
    box-sizing: border-box;
}

.mat-tags__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mat-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    padding: 8px 16px;
    border-radius: 0;
    transition: opacity .2s ease;
}

/* ── Cytat MAT 06 ─────────────────────────────────────────── */

.mat-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(20px, 3vw, 32px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: inherit;
}

/* ── Złota fraza ──────────────────────────────────────────── */

.mat-hero .go,
.mat-01 .go,
.mat-02 .go,
.mat-03 .go,
.mat-04 .go,
.mat-06 .go,
.mat-07 .go,
.gha-hero .go,
.gha-01 .go,
.gha-02 .go,
.gha-03 .go,
.gha-06 .go,
.gha-07 .go {
    font-style: italic !important;
}

/* ── Responsywność ────────────────────────────────────────── */

@media (max-width: 768px) {
    .mat-tags {
        padding-left: 24px;
        padding-right: 24px;
    }
    .mat-section-num {
        padding-left: 24px;
        padding-right: 24px;
    }
}
/* ── Editorial grid (MAT 01b, MAT 02b) ───────────────────── */

.mat-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Rząd pełna szerokość — stała wysokość z CSS */
.mat-grid__row--full {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}

/* Rząd trio i duo — automatyczna wysokość wg proporcji 3:4 */
.mat-grid__row--trio {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.mat-grid__row--duo {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Rząd feature — lewa pionowa + prawa 2x poziome */
.mat-grid__row--feature {
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Komórka z proporcją 3:4 */
.mat-grid__cell {
    overflow: hidden;
    position: relative;
}

.mat-grid__cell--auto {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%; /* 3:4 */
}

.mat-grid__cell--auto .mat-grid__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #d4cfc8;
}

.mat-grid__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #d4cfc8;
}

.mat-grid__placeholder {
    width: 100%;
    height: 100%;
    background: #d4cfc8;
}

/* MAT 02 stacking fix */
.mat-02 {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .mat-grid__row--trio {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }
    .mat-grid__row--duo {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }
    .mat-grid__cell {
        height: 300px;
    }
}