﻿/* ========================================================= PIHM GALLERY HERO Fully isolated from Kingster / GDLR Core CSS ========================================================= */

.pihm-gallery-page {
    width: 100%;
    overflow: hidden;
}
/* ========================================================= HERO ========================================================= */

.pihm-gallery-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #192f59 0%, #233f70 55%, #17294b 100%);
}
    /* ========================================================= DECORATIVE CIRCLES ========================================================= */

    .pihm-gallery-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(239, 127, 27, 0.10);
        top: -180px;
        right: -100px;
    }

    .pihm-gallery-hero::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        bottom: -170px;
        left: -80px;
    }
/* ========================================================= HERO INNER ========================================================= */

.pihm-gallery-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}
/* ========================================================= EYEBROW ========================================================= */

.pihm-gallery-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    color: #ef7f1b;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
/* ========================================================= MAIN HEADING ========================================================= */

.pihm-gallery-hero h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: "Playfair Display", serif !important;
    font-size: clamp(38px, 5vw, 68px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: normal;
    text-transform: none !important;
}
    /* ========================================================= ORANGE PART OF HEADING ========================================================= */

    .pihm-gallery-hero h1 span {
        color: #ef7f1b !important;
        font-family: "Playfair Display", serif !important;
    }
/* ========================================================= DESCRIPTION ========================================================= */

.pihm-gallery-hero-description {
    max-width: 760px;
    margin: 0 auto 35px !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-family: Poppins, sans-serif;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-weight: 400;
    font-style: normal;
}
/* ========================================================= HIGHLIGHTS ========================================================= */

.pihm-gallery-hero-highlights {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
/* ========================================================= HIGHLIGHT PILL ========================================================= */

.pihm-gallery-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
}
    /* ========================================================= HIGHLIGHT ICON ========================================================= */

    .pihm-gallery-highlight i {
        color: #ef7f1b;
    }
/* ========================================================= TABLET ========================================================= */

@media (max-width: 991px) {
    .pihm-gallery-hero {
        min-height: 430px;
    }

    .pihm-gallery-hero-inner {
        padding: 70px 25px;
    }

    .pihm-gallery-hero h1 {
        font-size: 46px !important;
    }

    .pihm-gallery-hero-description {
        max-width: 680px;
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
}
/* ========================================================= MOBILE ========================================================= */

@media (max-width: 767px) {
    .pihm-gallery-hero {
        min-height: auto;
    }

    .pihm-gallery-hero-inner {
        padding: 65px 18px 60px;
    }

    .pihm-gallery-eyebrow {
        margin-bottom: 15px;
        padding: 7px 14px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .pihm-gallery-hero h1 {
        margin-bottom: 16px !important;
        font-size: 36px !important;
        line-height: 1.18 !important;
        letter-spacing: normal;
    }

    .pihm-gallery-hero-description {
        margin-bottom: 28px !important;
        padding: 0 5px;
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    .pihm-gallery-hero-highlights {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 32px;
    }

    .pihm-gallery-highlight {
        width: 100%;
        max-width: 290px;
        justify-content: center;
        min-height: 45px;
        padding: 9px 14px;
        font-size: 13px;
    }
}
/* ========================================================= SMALL MOBILE ========================================================= */

@media (max-width: 480px) {
    .pihm-gallery-hero-inner {
        padding: 55px 15px 50px;
    }

    .pihm-gallery-hero h1 {
        font-size: 31px !important;
    }

    .pihm-gallery-hero-description {
        font-size: 13.5px !important;
    }

    .pihm-gallery-highlight {
        max-width: 270px;
        font-size: 12.5px;
    }
}



/* ========================================================= PIHM GALLERY Fully isolated from Kingster / GDLR CSS ========================================================= */ .pihm-gallery {
    width: 100%;
}
    /* ========================================================= GALLERY GRID ========================================================= */

    .pihm-gallery .gdlr-core-gallery-item-holder {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
        /* ========================================================= REMOVE KINGSTER COLUMN WIDTH BEHAVIOUR ========================================================= */

        .pihm-gallery .gdlr-core-gallery-item-holder .gdlr-core-gallery-column {
            width: 100% !important;
            float: none !important;
            clear: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }
    /* ========================================================= IMAGE CONTAINER ========================================================= */

    .pihm-gallery .gdlr-core-gallery-list {
        width: 100%;
        overflow: hidden;
        position: relative;
    }
        /* ========================================================= LIGHTBOX LINK ========================================================= */

        .pihm-gallery .gdlr-core-gallery-list > a {
            display: block;
            width: 100%;
            height: 100%;
        }
        /* ========================================================= IMAGE ========================================================= */

        .pihm-gallery .gdlr-core-gallery-list img {
            display: block !important;
            width: 100% !important;
            height: 100% !important;
            aspect-ratio: 4 / 3;
            object-fit: cover !important;
            object-position: center center;
            transition: transform 0.4s ease;
        }
        /* ========================================================= IMAGE HOVER ========================================================= */

        .pihm-gallery .gdlr-core-gallery-list:hover img {
            transform: scale(1.05);
        }
/* ========================================================= TABLET ========================================================= */

@media (max-width: 991px) {
    .pihm-gallery .gdlr-core-gallery-item-holder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}
/* ========================================================= MOBILE ========================================================= */

@media (max-width: 767px) {
    .pihm-gallery .gdlr-core-gallery-item-holder {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pihm-gallery .gdlr-core-gallery-list img {
        aspect-ratio: 4 / 3;
    }
}
/* ========================================================= SMALL MOBILE ========================================================= */

@media (max-width: 480px) {
    .pihm-gallery .gdlr-core-gallery-item-holder {
        gap: 14px;
    }

    .pihm-gallery .gdlr-core-gallery-list img {
        aspect-ratio: 4 / 3;
    }
}