/* ==========================================================
   CITYGO HOME PAGE
========================================================== */

.cg-home-recommended {
    padding-top: 56px;
    padding-bottom: 72px;
    background: var(--cg-page);
}

.cg-home-recommended .cg-container {
    width: min(1480px, calc(100% - 56px));
    margin-inline: auto;
}

.cg-section-head {
    margin-bottom: 26px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.cg-section-kicker {
    display: block;
    margin-bottom: 6px;

    color: var(--cg-primary);
    font-size: 15px;
    font-weight: 850;
}

.cg-section-head h2 {
    margin: 0;

    color: var(--cg-text);
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.055em;
}

.cg-section-link {
    color: var(--cg-primary);
    font-size: 16px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.cg-place-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1200px) {
    .cg-place-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cg-home-recommended .cg-container {
        width: calc(100% - 28px);
    }

    .cg-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .cg-place-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================
   ELEMENTOR RESET FOR CITYGO HOME
========================================================== */

.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget-html,
.elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.elementor-widget-html {
    margin-bottom: 0 !important;
}

.cg-hero3 {
    margin-top: 0 !important;
}
/* Remove MyListing fixed-header spacer on CityGO homepage */
body.page-id-357 .c27-top-content-margin {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Make CityGO homepage truly full width inside Elementor */
body.page-id-357 .elementor,
body.page-id-357 .elementor-section,
body.page-id-357 .elementor-container,
body.page-id-357 .elementor-column,
body.page-id-357 .elementor-widget-wrap,
body.page-id-357 .elementor-widget-html,
body.page-id-357 .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}

body.page-id-357 .elementor-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-id-357 .cg-hero3 {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
/* Hide MyListing default footer on CityGO home */
body.page-id-357 footer.footer {
    display: none !important;
}