.iretura-photography-archive {
    --ipa-dark: #111216;
    --ipa-muted: #707279;
    --ipa-line: #e8e8e8;
    --ipa-soft: #f6f6f6;
    --ipa-white: #fff;
    overflow: hidden;
}

.iretura-photography-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.iretura-photography-hero {
    padding: 110px 0 95px;
    background: #111216;
    color: #fff;
}

.iretura-photography-kicker,
.iretura-archive-section-head > div > span,
.iretura-photography-cta > div > div > span {
    display: block;
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.iretura-photography-kicker {
    opacity: .58;
}

.iretura-photography-hero h1 {
    max-width: 970px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -.045em;
}

.iretura-photography-hero p {
    max-width: 650px;
    margin: 32px 0 0;
    color: rgba(255,255,255,.66);
    font-size: 18px;
    line-height: 1.7;
}

.iretura-featured-galleries,
.iretura-all-galleries {
    padding: 85px 0;
}

.iretura-featured-galleries {
    background: #fff;
}

.iretura-all-galleries {
    background: var(--ipa-soft);
}

.iretura-archive-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}

.iretura-archive-section-head > div > span {
    margin-bottom: 9px;
    color: var(--ipa-muted);
}

.iretura-archive-section-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.iretura-archive-section-head > p {
    max-width: 390px;
    margin: 0;
    color: var(--ipa-muted);
    line-height: 1.65;
}

.iretura-carousel-controls {
    display: flex;
    gap: 8px;
}

.iretura-carousel-controls button {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dadada;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 19px;
    cursor: pointer;
}

.iretura-carousel-controls button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.iretura-gallery-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(310px, 31%);
    gap: 23px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.iretura-gallery-carousel::-webkit-scrollbar {
    display: none;
}

.iretura-gallery-carousel .iretura-gallery-card {
    scroll-snap-align: start;
}

.iretura-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.iretura-gallery-card {
    min-width: 0;
}

.iretura-gallery-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.iretura-gallery-card-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #17181b;
}

.iretura-gallery-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .5s ease,
        filter .5s ease;
}

.iretura-gallery-card:hover img {
    transform: scale(1.035);
}

.iretura-gallery-card-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, #383a3f 0, transparent 38%),
        linear-gradient(145deg, #17181b, #292b31);
}

.iretura-gallery-card-placeholder span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .28em;
}

.iretura-gallery-card-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 20%,
            rgba(0,0,0,.84) 100%
        );
}

.iretura-gallery-card-badges {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
}

.iretura-gallery-badge {
    display: inline-flex;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 999px;
    background: rgba(18,18,18,.33);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.iretura-gallery-card-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px;
    color: #fff;
}

.iretura-gallery-card-client {
    margin-bottom: 7px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.iretura-gallery-card-content h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.iretura-gallery-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    margin-top: 14px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
}

.iretura-gallery-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 2px 0;
    color: #16171a;
    font-size: 13px;
    font-weight: 700;
}

.iretura-gallery-card-action span:last-child {
    font-size: 18px;
    transition: transform .25s ease;
}

.iretura-gallery-card:hover
.iretura-gallery-card-action span:last-child {
    transform: translateX(5px);
}

.iretura-gallery-pagination {
    margin-top: 55px;
}

.iretura-gallery-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.iretura-gallery-pagination a,
.iretura-gallery-pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.iretura-gallery-pagination .current {
    background: #111;
    border-color: #111;
    color: #fff;
}

.iretura-archive-empty {
    padding: 50px;
    background: #fff;
    border: 1px solid var(--ipa-line);
    text-align: center;
}

.iretura-archive-empty h3 {
    margin: 0 0 8px;
}

.iretura-archive-empty p {
    margin: 0;
    color: var(--ipa-muted);
}

.iretura-photography-cta {
    padding: 75px 0;
    background: #111216;
    color: #fff;
}

.iretura-photography-cta
.iretura-photography-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.iretura-photography-cta h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(29px, 4vw, 47px);
    line-height: 1.08;
}

.iretura-photography-cta
> div > div > span {
    color: rgba(255,255,255,.5);
}

.iretura-photography-cta a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    padding: 17px 23px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 980px) {

    .iretura-gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .iretura-gallery-carousel {
        grid-auto-columns: minmax(300px, 47%);
    }

    .iretura-photography-cta
    .iretura-photography-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 650px) {

    .iretura-photography-shell {
        width: min(100% - 28px, 1320px);
    }

    .iretura-photography-hero {
        padding: 72px 0 65px;
    }

    .iretura-photography-hero h1 {
        font-size: 47px;
    }

    .iretura-photography-hero p {
        font-size: 16px;
    }

    .iretura-featured-galleries,
    .iretura-all-galleries {
        padding: 60px 0;
    }

    .iretura-archive-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .iretura-carousel-controls {
        align-self: flex-end;
    }

    .iretura-gallery-carousel {
        grid-auto-columns: 86%;
        gap: 15px;
    }

    .iretura-gallery-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .iretura-gallery-card-media {
        aspect-ratio: 4 / 5;
    }

    .iretura-photography-cta {
        padding: 58px 0;
    }
}


/* =====================================================
   IRETURA PHOTOGRAPHY CAMERA HERO — V1.3
   ===================================================== */

.iretura-photography-hero {
    position: relative;
    isolation: isolate;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 90px 0;
    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(235,235,235,.98) 0%,
            rgba(235,235,235,.94) 35%,
            rgba(235,235,235,.64) 58%,
            rgba(235,235,235,.30) 100%
        ),
        url('https://iretura.com/wp-content/uploads/2026/09/top-view-camera-with-copy-space.jpg');

    background-repeat:
        no-repeat,
        no-repeat;

    background-position:
        center,
        center right;

    background-size:
        cover,
        cover;

    color: #151515;
}

.iretura-photography-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.10),
            rgba(255,255,255,.03)
        );
    pointer-events: none;
}

.iretura-photography-hero
.iretura-photography-shell {
    position: relative;
    z-index: 2;
}

.iretura-photography-copy {
    width: min(650px, 58%);
}

.iretura-photography-hero
.iretura-photography-kicker {
    display: block;
    margin: 0 0 20px;
    color: #f47a20;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.iretura-photography-hero h1 {
    max-width: 700px;
    margin: 0;
    color: #111216;
    font-size: clamp(58px, 7vw, 94px);
    line-height: .93;
    font-weight: 750;
    letter-spacing: -.055em;
}

.iretura-photography-hero p {
    max-width: 600px;
    margin: 31px 0 0;
    color: #3e4147;
    font-size: 19px;
    line-height: 1.72;
}

.iretura-photography-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 31px;
}

.iretura-photography-features span {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 8px 14px;
    border: 1px solid rgba(17,18,22,.17);
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #26282d;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .035em;
}

.iretura-photography-browse {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    margin-top: 31px;
    padding: 16px 22px;
    background: #111216;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform .25s ease,
        background .25s ease;
}

.iretura-photography-browse:hover {
    background: #f47a20;
    color: #fff !important;
    transform: translateY(-2px);
}

.iretura-photography-browse
span {
    font-size: 18px;
    line-height: 1;
}

/*
 * Featured galleries flow directly beneath the hero.
 */

.iretura-featured-galleries {
    position: relative;
    z-index: 3;
}

/*
 * Tablet
 */

@media (max-width: 980px) {

    .iretura-photography-hero {
        min-height: 600px;

        background-image:
            linear-gradient(
                90deg,
                rgba(239,239,239,.98) 0%,
                rgba(239,239,239,.90) 48%,
                rgba(239,239,239,.48) 100%
            ),
            url('https://iretura.com/wp-content/uploads/2026/09/top-view-camera-with-copy-space.jpg');

        background-position:
            center,
            58% center;
    }

    .iretura-photography-copy {
        width: min(620px, 70%);
    }

    .iretura-photography-hero h1 {
        font-size: clamp(55px, 9vw, 78px);
    }
}

/*
 * Mobile
 */

@media (max-width: 650px) {

    .iretura-photography-hero {
        min-height: 690px;
        align-items: flex-start;
        padding: 72px 0 270px;

        background-image:
            linear-gradient(
                180deg,
                rgba(240,240,240,.99) 0%,
                rgba(240,240,240,.97) 45%,
                rgba(240,240,240,.72) 65%,
                rgba(240,240,240,.30) 100%
            ),
            url('https://iretura.com/wp-content/uploads/2026/09/top-view-camera-with-copy-space.jpg');

        background-position:
            center,
            68% bottom;

        background-size:
            cover,
            auto 58%;
    }

    .iretura-photography-copy {
        width: 100%;
    }

    .iretura-photography-hero
    .iretura-photography-kicker {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .iretura-photography-hero h1 {
        font-size: clamp(48px, 15vw, 66px);
        line-height: .96;
    }

    .iretura-photography-hero p {
        margin-top: 23px;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.65;
    }

    .iretura-photography-features {
        margin-top: 23px;
        gap: 7px;
    }

    .iretura-photography-features span {
        padding: 7px 10px;
        font-size: 9px;
    }

    .iretura-photography-browse {
        margin-top: 25px;
    }
}
