/* ==========================================================
   CITYGO PLACE HEADER
========================================================== */

.cg-place-header {
    position: relative;
    height: 420px;
    min-height: 420px;
    max-height: 420px;
    overflow: hidden;
    background: #07131f;
}

.cg-place-header__media {
    position: absolute;
    inset: 0;
}

.cg-place-header__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cg-place-header__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,19,31,.10) 0%, rgba(7,19,31,.78) 100%),
        linear-gradient(90deg, rgba(7,19,31,.52) 0%, rgba(7,19,31,.10) 100%);
}

.cg-place-header__favorite {
    position: absolute;
    top: 28px;
    right: 42px;
    z-index: 3;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;

    background: rgba(15,23,42,.38);
    backdrop-filter: blur(18px);

    color: #fff;
    font-size: 27px;
    cursor: pointer;
}

.cg-place-header__content {
    position: relative;
    z-index: 2;

    height: 420px;
    min-height: 420px;

    display: flex;
    align-items: flex-end;

    padding-bottom: 96px;
}

.cg-place-header h1 {
    max-width: 900px;
    margin: 0 0 16px;

    color: #fff;
    font-size: clamp(44px, 4.4vw, 68px);
    line-height: .96;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.cg-place-header__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    color: rgba(255,255,255,.88);
    font-size: 18px;
    font-weight: 800;
}

.cg-place-header__status {
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(39,196,106,.18);
    color: #86efac;
}

@media (min-width: 1600px) {
    .cg-place-header,
    .cg-place-header__content {
        height: 560px;
        min-height: 560px;
        max-height: 560px;
    }
}

@media (max-width: 991px) {
    .cg-place-header,
    .cg-place-header__content {
        height: 440px;
        min-height: 440px;
        max-height: 440px;
    }

    .cg-place-header__content {
        padding-bottom: 74px;
    }
}

@media (max-width: 576px) {
    .cg-place-header,
    .cg-place-header__content {
        height: 360px;
        min-height: 360px;
        max-height: 360px;
    }

    .cg-place-header__content {
        padding-bottom: 58px;
    }

    .cg-place-header__favorite {
        top: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .cg-place-header h1 {
        font-size: 38px;
    }

    .cg-place-header__meta {
        font-size: 15px;
        gap: 8px;
    }
}
/* Remove MyListing / Elementor top spacing on CityGO place detail */

body .c27-top-content-margin {
    height: 0 !important;
}

body .elementor-section,
body .elementor-container,
body .elementor-column,
body .elementor-widget-wrap,
body .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.cg-place-header {
    margin-top: 0 !important;
}