/* =========================================================
   KINETIC MARKET — GD SINGLE BODY STYLES
   COMPLETE REPLACEMENT for the previous GD SINGLE CSS snippet.
   Only single gd_place, gd_website and gd_event pages.
   Keep the new Black Single Listing Hero PHP snippet enabled.
   Header typography, gallery, breadcrumbs and hero actions are
   owned by that snippet, not this body stylesheet.
   Existing business-only and event-only sections stay specific.
   ========================================================= */

/* =========================================================
   KINETIC MARKET — GD SINGLE
   BUSINESS HIGHLIGHTS
   ========================================================= */

/* Main section */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
}

/* Hide GeoDirectory's duplicate field label */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-label:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
}

/* Remove Bootstrap grid behavior and excess spacing */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-features:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    margin: 0 !important;
}

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-item:where(:not(.km-single-hero, .km-single-hero *)) {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Allow tags to use the available width */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-wrapper:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-value:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    width: 100%;
}

/* Convert the list into a wrapping tag layout */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-value ul:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 10px;

    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual highlights */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-value li:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;

    padding: 9px 13px !important;
    margin: 0 !important;

    background: #f4f0e7;
    border: 1px solid #e4ded2;
    border-radius: 6px;

    color: #252525;
    font-family: Montserrat, sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4;

    list-style: none !important;
    white-space: normal;
}

/* Prevent theme-generated bullets */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-value li:where(:not(.km-single-hero, .km-single-hero *))::before,
body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-post-features
.geodir-feature-value li:where(:not(.km-single-hero, .km-single-hero *))::marker {
    content: none !important;
}

/* Mobile */

@media (max-width: 600px) {

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-geodirectory-geodir-widget-post-features
    .geodir-feature-value ul:where(:not(.km-single-hero, .km-single-hero *)) {
        gap: 8px;
    }

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-geodirectory-geodir-widget-post-features
    .geodir-feature-value li:where(:not(.km-single-hero, .km-single-hero *)) {
        padding: 8px 11px !important;
        font-size: 12px !important;
    }
}

/* =========================================================
   KINETIC MARKET — GD SINGLE
   ABOUT / HIGHLIGHTS / TAGS
   ========================================================= */

/* ---------------------------------------------------------
   About + right column spacing
   --------------------------------------------------------- */

@media (min-width: 782px) {

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(
        .wp-block-geodirectory-geodir-widget-post-features
    ):where(:not(.km-single-hero, .km-single-hero *)) {
        column-gap: 56px !important;
    }

    /* Preserve column proportions */
    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(
        .wp-block-geodirectory-geodir-widget-post-features
    ) > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        min-width: 0;
    }
}


/* =========================================================
   KINETIC MARKET — GD SINGLE
   TAGS — MATCH HIGHLIGHTS
   ========================================================= */

/* Tags container */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-single-taxonomies
.geodir_post_taxomomies:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}

/* Remove GeoDirectory's floated tag layout */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-single-taxonomies
.geodir-tags:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    float: none !important;
    margin: 0 !important;
}

/* Match Highlights tags */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-single-taxonomies
.geodir-tags a.badge:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center;

    padding: 9px 13px !important;
    margin: 0 !important;

    background: #f4f0e7 !important;
    background-color: #f4f0e7 !important;
    border: 1px solid #e4ded2 !important;
    border-radius: 6px !important;

    color: #252525 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Hover */

body:is(.single-gd_place, .single-gd_website)
.wp-block-geodirectory-geodir-widget-single-taxonomies
.geodir-tags a.badge:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #eae3d5 !important;
    background-color: #eae3d5 !important;
    border-color: #d7cbb9 !important;
    color: #171717 !important;
}

/* Mobile */

@media (max-width: 600px) {

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-taxonomies
    .geodir_post_taxomomies:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-taxonomies
    .geodir-tags:where(:not(.km-single-hero, .km-single-hero *)) {
        gap: 8px;
    }

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-taxonomies
    .geodir-tags a.badge:where(:not(.km-single-hero, .km-single-hero *)) {
        padding: 8px 11px !important;
        font-size: 12px !important;
    }
}



/* =========================================================
   KINETIC MARKET — GD SINGLE
   VISIT THIS BUSINESS + BUSINESS HOURS
   REPLACE PREVIOUS VISIT / HOURS CSS
   ========================================================= */

/* ---------------------------------------------------------
   THREE-COLUMN LAYOUT
   --------------------------------------------------------- */

@media (min-width: 782px) {

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container):where(:not(.km-single-hero, .km-single-hero *)) {
        display: grid !important;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            minmax(0, 1fr);
        gap: 32px !important;
        align-items: start !important;
    }

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
    > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100% !important;
        min-width: 0;
        flex-basis: auto !important;
        margin: 0 !important;
    }
}

/* ---------------------------------------------------------
   CONTACT COLUMN
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child
> *:not(:first-child):where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 18px !important;
}

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child a:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #242424 !important;
    text-decoration: none !important;
}

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child a:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #b52b32 !important;
    text-decoration: underline !important;
}

/* ---------------------------------------------------------
   BUSINESS HOURS — ALWAYS VISIBLE
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    position: relative !important;
    width: 100%;
    font-family: Montserrat, sans-serif;
}

/* Status */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> a:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.6;
    text-decoration: none !important;
    cursor: default !important;
}

/* Remove dropdown arrow */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> a:where(:not(.km-single-hero, .km-single-hero *))::after {
    display: none !important;
}

/* Weekly schedule — NO CARD */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> .gd-bh-open-hours:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: Montserrat, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

/* Days */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-list:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;

    width: 100%;
    margin: 0 !important;
    padding: 7px 0 !important;

    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,.08);
    color: #252525;
    white-space: normal !important;
}

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-list:last-child:where(:not(.km-single-hero, .km-single-hero *)) {
    border-bottom: 0;
}

/* Day names */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-d:where(:not(.km-single-hero, .km-single-hero *)) {
    flex: 0 0 42px;
    margin: 0 !important;
    color: #252525 !important;
    font-weight: 600;
}

/* Times */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-slots:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    float: none !important;
    flex: 1;
    min-width: 0;
    text-align: right;
}

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-slot + .gd-bh-slot:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 3px;
}

/* Closed days */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-closed .gd-bh-slot-r:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #777;
}

/* Current day — subtle emphasis without a box */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-today:where(:not(.km-single-hero, .km-single-hero *)) {
    background: transparent !important;
}

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-today .gd-bh-days-d:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #b52b32 !important;
    font-weight: 700 !important;
}

/* Remove Bootstrap hover */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-list:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: transparent !important;
}

/* ---------------------------------------------------------
   MAP
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
.leaflet-container:where(:not(.km-single-hero, .km-single-hero *)) {
    border-radius: 8px !important;
    overflow: hidden;
}

/* Avoid unexpected top spacing */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:last-child > *:first-child:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 0 !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 781px) {

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container):where(:not(.km-single-hero, .km-single-hero *)) {
        display: flex !important;
        flex-direction: column;
        gap: 32px !important;
    }

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
    > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100% !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
    > .gd-bh-open-hours:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 14px;
    }

    body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
    .gd-bh-days-list:where(:not(.km-single-hero, .km-single-hero *)) {
        padding: 8px 0 !important;
    }
}

/* =========================================================
   KINETIC MARKET — GD SINGLE
   GREEN CONTACT SECTION — REFINEMENTS
   ========================================================= */

/* Target the Visit section by its existing contents */
body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container):where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   CONTACT DETAILS
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.7;
}

/* Address and contact field text */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child
.geodir_post_meta:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child
.geodir_post_meta span:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
    font-size: 16px !important;
}

/* Contact links */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child a:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child a:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #e7d8a8 !important;
    text-decoration: underline !important;
}

/* Icons */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
> .wp-block-column:first-child i:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   BUSINESS HOURS
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> a:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> a span:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
> .gd-bh-open-hours:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 16px !important;
}

/* All day names and time values */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-list:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-d:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-slot-r:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
    font-size: 15px !important;
}

/* Subtle dividers on green */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-list:where(:not(.km-single-hero, .km-single-hero *)) {
    border-bottom-color: rgba(255,255,255,.2) !important;
    padding: 9px 0 !important;
}

/* Closed days */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-closed .gd-bh-slot-r:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #c4d8cf !important;
}

/* Current day: gold accent */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.gd-bh-days-today .gd-bh-days-d:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #f0ce76 !important;
}

/* Preserve open/closed status colors */

body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.geodir-i-biz-hours.text-danger:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
.geodir-i-biz-hours.text-danger *:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ff8585 !important;
}

/* ---------------------------------------------------------
   DIRECTIONS FORM
   --------------------------------------------------------- */

/* Prevent unwanted form margins */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
form:where(:not(.km-single-hero, .km-single-hero *)) {
    margin: 0 !important;
}

/* Inputs */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
input[type="text"]:where(:not(.km-single-hero, .km-single-hero *)) {
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Buttons */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):where(:not(.km-single-hero, .km-single-hero *)) {
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Last button retains rounded outer corners */

body:is(.single-gd_place, .single-gd_website) .entry-content
.wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
form button:last-child:where(:not(.km-single-hero, .km-single-hero *)) {
    border-radius: 0 6px 6px 0 !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 781px) {

    body:is(.single-gd_place, .single-gd_website) .entry-content
    .wp-block-columns:has(.gd-bh-show-field):has(.leaflet-container)
    > .wp-block-column:first-child:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 15px !important;
    }

    body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
    .gd-bh-days-list:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
    .gd-bh-days-d:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website) .gd-bh-show-field
    .gd-bh-slot-r:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 14px !important;
    }
}



/* =========================================================
   KINETIC MARKET — GD SINGLE
   SPECIAL OFFERS — DARK INSET BOXES
   ========================================================= */

/* Remove outer panel styling */

body:is(.single-gd_place, .single-gd_website)
.geodir-post-meta-container:has(.geodir-field-special_offers):where(:not(.km-single-hero, .km-single-hero *)) {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-family: Montserrat, sans-serif;
}

/* Section heading */

body:is(.single-gd_place, .single-gd_website)
.geodir-post-meta-container:has(.geodir-field-special_offers)
.widget-title:where(:not(.km-single-hero, .km-single-hero *)) {
    color: #ffffff !important;
    font-family: Montserrat, sans-serif;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    margin: 0 0 20px !important;
}

/* Offers layout */

body:is(.single-gd_place, .single-gd_website)
.geodir-field-special_offers
.km-offers-list:where(:not(.km-single-hero, .km-single-hero *)) {
    display: grid !important;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 260px), 1fr)
    );
    gap: 14px;

    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Individual inset boxes */

body:is(.single-gd_place, .single-gd_website)
.geodir-field-special_offers
.km-offer-item:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    align-items: center;

    width: 100%;
    min-height: 64px;
    box-sizing: border-box;

    padding: 18px 20px !important;
    margin: 0 !important;

    background: #171717 !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
    border-left: 1px solid #333333 !important;

    box-shadow:
        inset 0 3px 7px rgba(0, 0, 0, .65),
        inset 0 1px 2px rgba(0, 0, 0, .4) !important;

    color: #ffffff !important;
    font-family: Montserrat, sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    list-style: none !important;
    white-space: normal;
}

/* Remove list markers and decorative accents */

body:is(.single-gd_place, .single-gd_website)
.geodir-field-special_offers
.km-offer-item:where(:not(.km-single-hero, .km-single-hero *))::before,
body:is(.single-gd_place, .single-gd_website)
.geodir-field-special_offers
.km-offer-item:where(:not(.km-single-hero, .km-single-hero *))::marker {
    content: none !important;
}

/* Mobile */

@media (max-width: 600px) {

    body:is(.single-gd_place, .single-gd_website)
    .geodir-post-meta-container:has(.geodir-field-special_offers)
    .widget-title:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 22px !important;
    }

    body:is(.single-gd_place, .single-gd_website)
    .geodir-field-special_offers
    .km-offers-list:where(:not(.km-single-hero, .km-single-hero *)) {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body:is(.single-gd_place, .single-gd_website)
    .geodir-field-special_offers
    .km-offer-item:where(:not(.km-single-hero, .km-single-hero *)) {
        min-height: 56px;
        padding: 15px 17px !important;
        font-size: 15px !important;
    }
}






/* =========================================================
   KINETIC MARKET — GD SINGLE
   RESTORE COMPACT HOURS IN RELATED LISTING CARDS
   ========================================================= */

/* Do not force the full schedule open inside listing cards */

body:is(.single-gd_place, .single-gd_website)
.geodir-post .gd-bh-show-field
> .gd-bh-open-hours:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    position: absolute !important;
    width: auto !important;
    min-width: 250px !important;
    margin: 0 !important;
    padding: 8px !important;
}

/* Keep the status line compact */

body:is(.single-gd_place, .single-gd_website)
.geodir-post .gd-bh-show-field
> a:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-block !important;
    margin: 0 !important;
    cursor: pointer !important;
}

/* Restore dropdown arrow on listing cards */

body:is(.single-gd_place, .single-gd_website)
.geodir-post .gd-bh-show-field
> a:where(:not(.km-single-hero, .km-single-hero *))::after {
    display: inline-block !important;
}

/* Allow GeoDirectory to open the dropdown when clicked */

body:is(.single-gd_place, .single-gd_website)
.geodir-post .gd-bh-show-field
> .gd-bh-open-hours.show:where(:not(.km-single-hero, .km-single-hero *)) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100;
}

/* Prevent listing cards from expanding to match Events column */

body:is(.single-gd_place, .single-gd_website)
.geodir-post:not(.gd_event)
> .card.h-100:where(:not(.km-single-hero, .km-single-hero *)) {
    height: auto !important;
    min-height: 0 !important;
}

/* =========================================================
   KINETIC MARKET — GD SINGLE
   OTHER LOCATIONS + EVENTS
   ========================================================= */

/* ---------------------------------------------------------
   SECTION LAYOUT
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place):where(:not(.km-single-hero, .km-single-hero *)) {
    gap: 32px !important;
    align-items: start !important;
}

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
> .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
    min-width: 0;
    align-self: start !important;
}

/* ---------------------------------------------------------
   HEADINGS
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.widget-title:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.wp-block-heading:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    font-size: 26px !important;
    font-weight: 500 !important;
    line-height: 1.3;
    color: #171717;
    margin-bottom: 18px !important;
}

/* ---------------------------------------------------------
   LISTING AND EVENT CARDS
   --------------------------------------------------------- */

/* Desktop retains the original outer GeoDirectory card frame. */
@media (min-width: 782px) {
    body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
    .geodir-post > .card:where(:not(.km-single-hero, .km-single-hero *)) {
        border: 1px solid #deded8 !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        overflow: hidden;
        transition:
            border-color .2s ease,
            box-shadow .2s ease;
    }
}

/* Mobile: the custom KM card supplies the only visible frame.
   Match the full original selector so this wins over GD card styling. */
@media (max-width: 781px) {
    body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
    .geodir-post > .card:where(:not(.km-single-hero, .km-single-hero *)) {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Gutenberg-generated empty paragraphs add space inside GD wrappers. */
    body:is(.single-gd_place, .single-gd_website)
    .km-related .geodir-post > .card > p:empty:where(:not(.km-single-hero, .km-single-hero *)) {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.geodir-post > .card:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    border-color: #c8d3ce !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.045) !important;
}

/* Keep business cards compact */

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.geodir-post.gd_place > .card:where(:not(.km-single-hero, .km-single-hero *)) {
    height: auto !important;
    min-height: 0 !important;
}

/* ---------------------------------------------------------
   EVENT CARD SPACING
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.geodir-post.gd_event:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-bottom: 16px !important;
}

/* ---------------------------------------------------------
   VIEW ALL LINK
   --------------------------------------------------------- */

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
a.geodir-view-all:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.geodir-view-all a:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 9px 22px !important;

    border: 1px solid #075641 !important;
    border-radius: 7px !important;

    background: transparent !important;
    color: #075641 !important;

    font-family: Montserrat, sans-serif;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    transition: background .2s ease, color .2s ease;
}

body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
a.geodir-view-all:hover:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
.wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
.geodir-view-all a:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #075641 !important;
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 781px) {

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place):where(:not(.km-single-hero, .km-single-hero *)) {
        display: flex !important;
        flex-direction: column !important;
        gap: 36px !important;
    }

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
    > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100% !important;
        margin: 0 !important;
    }

    body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
    .widget-title:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website)
    .wp-block-columns:has(.geodir-post.gd_event):has(.geodir-post.gd_place)
    .wp-block-heading:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 23px !important;
    }
}

/* ==========================================
   KINETIC MARKET — REVIEW SECTION ORDER
   ========================================== */

body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews
.km-reviews-reordered #respond:where(:not(.km-single-hero, .km-single-hero *)) {
    margin: 0 0 40px;
    padding: 0 0 36px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews
.km-reviews-reordered #comment_sorting_form:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 0 !important;
}

/* =========================================================
   KINETIC MARKET — GD SINGLE REVIEWS
   ========================================================= */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews:where(:not(.km-single-hero, .km-single-hero *)) {
    --km-review-green: #075641;
    --km-review-gold: #e69a00;
    --km-review-border: #d8e3df;
    --km-review-text: #171717;

    font-family: Montserrat, sans-serif;
    color: var(--km-review-text);
}

/* ---------------------------------------------------------
   SECTION HEADINGS
   --------------------------------------------------------- */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
h2:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
h3:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    color: #171717;
    font-weight: 600;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond .comment-reply-title:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 25px !important;
    margin-bottom: 16px !important;
}

/* ---------------------------------------------------------
   REVIEW FORM
   --------------------------------------------------------- */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond:where(:not(.km-single-hero, .km-single-hero *)) {
    padding: 34px 0 40px !important;
    margin-bottom: 32px !important;
    border-top: 1px solid var(--km-review-border);
    border-bottom: 1px solid var(--km-review-border);
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond form:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 15px;
}

/* Rating field groups */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond .form-control:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond textarea:where(:not(.km-single-hero, .km-single-hero *)) {
    border: 1px solid var(--km-review-border) !important;
    border-radius: 8px !important;
    background: transparent !important;
    font-family: Montserrat, sans-serif;
    font-size: 15px !important;
    box-shadow: none !important;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond textarea:where(:not(.km-single-hero, .km-single-hero *)) {
    min-height: 150px;
    padding: 16px !important;
    resize: vertical;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond textarea:focus:where(:not(.km-single-hero, .km-single-hero *)) {
    border-color: var(--km-review-green) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(7,86,65,.10) !important;
}

/* Upload area */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond .geodir-add-files:where(:not(.km-single-hero, .km-single-hero *)) {
    border-radius: 10px;
}

/* Submit button */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond input[type="submit"]:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond button[type="submit"]:where(:not(.km-single-hero, .km-single-hero *)) {
    background: var(--km-review-green) !important;
    border: 1px solid var(--km-review-green) !important;
    border-radius: 7px !important;
    color: #fff !important;

    font-family: Montserrat, sans-serif;
    font-size: 15px !important;
    font-weight: 600 !important;

    min-height: 46px;
    padding: 10px 24px !important;
    transition: background .2s ease;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond input[type="submit"]:hover:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond button[type="submit"]:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #043f30 !important;
}

/* ---------------------------------------------------------
   EXISTING REVIEWS
   --------------------------------------------------------- */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
ul.commentlist:where(:not(.km-single-hero, .km-single-hero *)) {
    padding: 0 !important;
    margin: 16px 0 0 !important;
    list-style: none !important;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
ul.commentlist > li:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-bottom: 18px !important;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
ul.commentlist > li > .comment-body:where(:not(.km-single-hero, .km-single-hero *)) {
    border: 1px solid var(--km-review-border) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* Review author */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-author:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 15px !important;
    font-weight: 600;
}

/* Review content */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-content:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 15px !important;
    line-height: 1.7;
}

/* Review metadata */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-meta:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 12px;
    color: #6a7773;
}

/* Review actions */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-reply-link:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-edit-link:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    font-size: 13px !important;
    font-weight: 600;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    #respond:where(:not(.km-single-hero, .km-single-hero *)) {
        padding-top: 24px !important;
    }

    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    #respond .comment-reply-title:where(:not(.km-single-hero, .km-single-hero *)) {
        font-size: 22px !important;
    }

    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    #respond textarea:where(:not(.km-single-hero, .km-single-hero *)) {
        min-height: 130px;
    }
}


/* =========================================================
   KINETIC MARKET — REVIEW FORM TOGGLE + AVATARS
   ========================================================= */

/* Hide reviewer and reply avatars */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.comment-author img.avatar:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist img.avatar:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
}

/* Remove indentation reserved for avatars */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-body:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-meta:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-content:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-left: 0;
}

/* Hide form by default */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond.km-review-form-collapsed:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
}

/* Toggle button */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.km-review-toggle:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 11px 24px;
    margin: 24px 0;

    background: #075641;
    color: #ffffff;

    border: 1px solid #075641;
    border-radius: 7px;

    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition: background .2s ease;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.km-review-toggle:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #043f30;
    color: #ffffff;
}

/* Expanded form */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
#respond:not(.km-review-form-collapsed):where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 12px !important;
}

/* Mobile */

@media (max-width: 767px) {
    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    .km-review-toggle:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100%;
    }
}

/* =========================================================
   KINETIC MARKET — REVIEW HEADER ALIGNMENT
   ========================================================= */

/* Give review headers consistent breathing room */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    min-height: 56px;
    padding: 14px 20px !important;
    margin: 0 !important;
}

/* Remove avatar-related spacing from reviewer names */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author .fn:where(:not(.km-single-hero, .km-single-hero *)),
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author .says:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Align reviewer names with the card content */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author .fn:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4;
}

/* Remove positioning left behind by avatar layout */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author .avatar:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
}

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-author > a:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Keep the overall rating vertically centered */

:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .comment-meta:where(:not(.km-single-hero, .km-single-hero *)) {
    align-self: center;
}

/* Mobile */

@media (max-width: 767px) {
    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    .commentlist .comment-author:where(:not(.km-single-hero, .km-single-hero *)) {
        min-height: 50px;
        padding: 12px 15px !important;
    }
}


/* =========================================================
   KINETIC MARKET — REVIEW HEADER FIX
   Based on actual GeoDirectory markup
   ========================================================= */

/* Review header layout */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header.toast-header:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;

    padding: 16px 20px !important;
    min-height: 64px;
}

/* Remove the avatar AND its reserved 44px space */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header > a.media-object:where(:not(.km-single-hero, .km-single-hero *)) {
    display: none !important;
}

/* Reset Bootstrap spacing on the reviewer name */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header .media-heading:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    flex: 1 1 auto;
    min-width: 0;

    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    gap: 8px;
    line-height: 1.4;
}

/* Reviewer name */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header .media-heading > a:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif;
    font-size: 16px !important;
    font-weight: 600 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Listing Owner badge */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header .media-heading > span:where(:not(.km-single-hero, .km-single-hero *)) {
    margin: 0 !important;
}

/* Keep overall stars on the right */
:is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
.wp-block-geodirectory-geodir-widget-single-reviews
.commentlist .card-header > .geodir-review-ratings:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-left: auto !important;
    flex: 0 0 auto;
}

/* Mobile */
@media (max-width: 767px) {
    :is(body.single-gd_place, body.single-gd_event, body.single-gd_website)
    .wp-block-geodirectory-geodir-widget-single-reviews
    .commentlist .card-header.toast-header:where(:not(.km-single-hero, .km-single-hero *)) {
        padding: 14px 16px !important;
        min-height: 56px;
    }
}

/* =====================================================
   KINETIC MARKET — PHOTOS & VIDEO
   ===================================================== */

/* Desktop: balanced columns */
@media (min-width: 782px) {

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero, .km-single-hero *)) {
        display: flex !important;
        gap: 32px !important;
        align-items: flex-start !important;
    }

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0;
    }

    /* Main photo gallery */
    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-image-container:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }

    /* Keep the photo frame proportional */
    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-images:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 10px;
    }

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-images .carousel-item:where(:not(.km-single-hero, .km-single-hero *)),
body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-images .carousel-item .ratio:where(:not(.km-single-hero, .km-single-hero *)) {
        height: 100%;
    }

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-images img:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Video */
    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    iframe:where(:not(.km-single-hero, .km-single-hero *)) {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border-radius: 10px;
    }
}

/* Mobile: preserve gallery and add breathing room */
@media (max-width: 781px) {

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero, .km-single-hero *)) {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    > .wp-block-column:where(:not(.km-single-hero, .km-single-hero *)) {
        width: 100% !important;
        flex-basis: auto !important;
        margin: 0 !important;
    }

    body:is(.single-gd_place, .single-gd_website, .single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe)
    .geodir-image-container:where(:not(.km-single-hero, .km-single-hero *)) {
        overflow: visible !important;
    }
}

/* =========================================================
   KINETIC MARKET — SINGLE EVENT REFINEMENTS
   Actual GeoDirectory Events block classes
   ========================================================= */

body.single-gd_event .entry-content:where(:not(.km-single-hero, .km-single-hero *)) {
    --km-event-green: #075641;
    --km-event-border: #dedbd3;
}

/* Main event detail columns: dates, description, registration, map */
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2):where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 34px !important;
    margin-bottom: 42px !important;
}
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
> .wp-block-columns:where(:not(.km-single-hero, .km-single-hero *)) { column-gap: 42px !important; align-items: start !important; }
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
.wp-block-geodirectory-geodir-widget-post-meta:where(:not(.km-single-hero, .km-single-hero *)) { margin-bottom: 16px !important; }
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
.wp-block-geodirectory-geodir-widget-post-content:where(:not(.km-single-hero, .km-single-hero *)) {
    margin: 24px 0 !important;
    line-height: 1.7;
}
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
.wp-block-geodirectory-geodir-widget-post-content p:where(:not(.km-single-hero, .km-single-hero *)) { line-height: 1.7; margin-bottom: 18px; }
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
.wp-block-geodirectory-geodir-widget-map:where(:not(.km-single-hero, .km-single-hero *)) { margin-top: 18px !important; }
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
.leaflet-container:where(:not(.km-single-hero, .km-single-hero *)) { border-radius: 8px !important; }

/* Going / Interested: GeoDirectory Events RSVP widget.
   The response rows use Bootstrap flex and margin utilities, so
   spacing must target their actual nested elements. */
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.ayi-html-wrap:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    margin: 0 !important;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-buttons:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 12px 0 4px !important;
}
body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp:where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 1px solid #075641 !important;
    border-radius: 6px !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .2s ease, color .2s ease;
}
body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp-yes:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #075641 !important;
    color: #fff !important;
}
body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp-maybe:where(:not(.km-single-hero, .km-single-hero *)) {
    background: transparent !important;
    color: #075641 !important;
}
body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp-yes:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #043f30 !important;
}
body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp-maybe:hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #f4f0e7 !important;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-wid:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-wid > .d-flex:where(:not(.km-single-hero, .km-single-hero *)) {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 !important;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-wid h5:where(:not(.km-single-hero, .km-single-hero *)) {
    font-family: Montserrat, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-wid small:where(:not(.km-single-hero, .km-single-hero *)) {
    font-size: 12px !important;
    white-space: nowrap;
}
body.single-gd_event .wp-block-geodirevents-geodir-event-widget-ayi
.geodir-ayi-noone:where(:not(.km-single-hero, .km-single-hero *)) {
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Directions: map widget controls */
body.single-gd_event .wp-block-geodirectory-geodir-widget-map
:is(.geodir-post-directions, .geodir-map-directions, .gd-directions, .geodir-directions)
:is(button, input[type="submit"], a.btn, a.gd-badge):where(:not(.km-single-hero, .km-single-hero *)),
body.single-gd_event .wp-block-geodirectory-geodir-widget-map
button.btn-primary:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #075641 !important;
    border-color: #075641 !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* Report Event: actual GD report block wrapper */
body.single-gd_event .wp-block-geodirectory-geodir-widget-report-post:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 30px !important;
    margin-bottom: 18px !important;
}
body.single-gd_event .wp-block-geodirectory-geodir-widget-report-post
:is(a, button, input[type="button"], input[type="submit"]):where(:not(.km-single-hero, .km-single-hero *)) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    background: transparent !important;
    border: 1px solid #d6d1c8 !important;
    border-radius: 6px !important;
    color: #171717 !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
body.single-gd_event .wp-block-geodirectory-geodir-widget-report-post
:is(a, button, input[type="button"], input[type="submit"]):hover:where(:not(.km-single-hero, .km-single-hero *)) {
    background: #f4f0e7 !important;
}

/* Hosted By and Reviews section rhythm */
body.single-gd_event .entry-content > .wp-block-group:nth-of-type(3):where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 38px !important;
    margin-bottom: 38px !important;
}
body.single-gd_event .wp-block-geodirectory-geodir-widget-single-reviews:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-top: 30px !important;
}
body.single-gd_event .wp-block-geodirectory-geodir-widget-single-reviews .km-empty-reviews:where(:not(.km-single-hero, .km-single-hero *)) {
    margin-bottom: 24px !important;
}

@media (max-width: 781px) {
    body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2):where(:not(.km-single-hero, .km-single-hero *)) {
        margin-top: 24px !important;
        margin-bottom: 32px !important;
    }
    body.single-gd_event .entry-content > .wp-block-group:nth-of-type(2)
    > .wp-block-columns:where(:not(.km-single-hero, .km-single-hero *)) { row-gap: 28px !important; }
    body.single-gd_event .geodir-ayi-buttons a.geodir-ayi-btn-rsvp:where(:not(.km-single-hero, .km-single-hero *)) {
        min-height: 40px !important;
        font-size: 13px !important;
    }
}

/* KM — NATIVE REVIEW SUMMARY, CARDS AND CONTROLS */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container {--km-review-green:#035841;--km-review-gold:#F5A104;--km-review-border:#ddd9cf;color:#171717;font-family:Montserrat,sans-serif;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .widget-title {margin:0 0 22px!important;color:#171717!important;font-size:24px!important;font-weight:800!important;line-height:1.2;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row {margin-bottom:22px!important;--bs-gutter-x:24px;--bs-gutter-y:20px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row > .col-sm-4 > .card {height:100%;border:1px solid #ddd9cf!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row > .col-sm-4 .card-body {padding:20px!important;color:#171717!important;font-size:14px;line-height:1.5;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row .display-5 {color:#035841!important;font-size:46px!important;font-weight:800!important;line-height:1.15!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row .gd-rating-outer-wrap {display:flex;justify-content:center!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row .col-sm-8 > .row {row-gap:16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row .col-sm-8 .text-dark {margin-bottom:6px;color:#171717!important;font-size:13px;font-weight:700;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .progress {height:5px!important;border-radius:3px;background:#e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .progress-bar {background:#035841!important;border-radius:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .gd-rating-output .gd-rating-foreground {color:#F5A104!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .gd-rating-output .gd-rating-background {color:#d6d1c7!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .km-review-toggle {min-height:44px;padding:11px 20px!important;margin:0 0 18px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1.3;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .km-review-toggle:hover {background:#024532!important;border-color:#024532!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #comment_sorting_form {max-width:270px;margin:0 0 20px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #comment_sorting_form > div {margin-bottom:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container select.comment_sorting {width:100%;min-height:44px;padding:10px 38px 10px 12px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background-color:#fff!important;color:#171717!important;font:inherit;font-size:13px!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container ul.commentlist {margin:0!important;padding:0!important;list-style:none;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container li.geodir-comment {margin:0 0 16px!important;padding:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container li.geodir-comment > .card {margin:0!important;border:1px solid #ddd9cf!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;overflow:hidden;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container li.geodir-comment > .card > .card-header {display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 18px!important;border-bottom:1px solid #e8e3d9!important;background:#fff!important;color:#171717!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .media-object {display:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .media-heading {justify-content:flex-start!important;padding-left:0!important;margin:0 auto 0 0!important;color:#171717!important;font-size:14px!important;font-weight:750!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .media-heading a {min-width:0!important;color:#171717!important;text-decoration:none;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .badge {padding:5px 7px!important;border-radius:3px!important;background:#e5f1ea!important;color:#035841!important;font-size:10px!important;font-weight:750!important;line-height:1.3;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content.card-body {padding:18px!important;margin:0!important;color:#171717!important;font-size:15px!important;line-height:1.7!important;overflow-wrap:anywhere;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .description {color:#171717!important;font-size:15px!important;line-height:1.7!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .border-bottom {border-color:#e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .card-footer {padding:12px 18px!important;border-top:1px solid #e8e3d9!important;background:#fff!important;color:#706d66!important;font-size:12px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .timeago {color:#706d66!important;font-size:12px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist :is(.comments_review_likeunlike,.comment-reply-link,.comment-edit-link) {border-color:#171717!important;border-radius:4px!important;background:#fff!important;color:#171717!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;text-decoration:none;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist :is(.comments_review_likeunlike,.comment-reply-link,.comment-edit-link):hover {background:#171717!important;color:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .children {margin:14px 0 0 22px!important;padding:0 0 0 14px!important;border-left:2px solid #ddd9cf;list-style:none;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond:not([hidden]):not(.km-review-form-collapsed) {margin:0 0 22px!important;padding:20px!important;border:1px solid #ddd9cf!important;border-radius:6px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .comment-reply-title {margin:0 0 16px!important;color:#171717!important;font-size:20px!important;font-weight:800!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .must-log-in {margin:0!important;color:#706d66!important;font-size:14px!important;line-height:1.6;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .must-log-in a {color:#035841!important;font-weight:750;text-decoration:underline;text-underline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),textarea,select) {border:1px solid #b9b4a9!important;border-radius:5px!important;background:#fff!important;color:#171717!important;font-size:15px!important;padding:11px 12px!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond :is(button[type="submit"],input[type="submit"]) {padding:12px 20px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-size:14px!important;font-weight:750!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container :is(button,a,select,input,textarea):focus-visible {outline:2px solid #035841;outline-offset:3px;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist-wrap > .row > :is(.col-sm-4,.col-sm-8) {width:100%;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #comment_sorting_form {max-width:none;width:100%;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .children {margin-left:10px!important;padding-left:10px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .commentlist .card-header {padding:14px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content.card-body {padding:14px!important;}
}

/* COMPACT RATING PAIRS AND CONSISTENT REVIEW ACTIONS */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rating-box-in-right {float:none!important;width:100%!important;max-width:440px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-category {display:grid;gap:8px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-cat-in .gd-rating-output-wrap {display:grid!important;grid-template-columns:minmax(0,160px) max-content;justify-content:start!important;align-items:center!important;column-gap:16px;width:100%!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-cat-in .gd-rating-label {grid-column:1;grid-row:1;width:auto!important;text-align:left!important;color:#171717!important;font-size:13px!important;font-weight:700!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-cat-in .gd-rating {grid-column:2;grid-row:1;float:none!important;flex:none!important;width:auto!important;margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-links {display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .card-footer :is(a.comment-edit-link,a.comment-reply-link,.comments_review_likeunlike,.comment-links > a,.comment-links > button) {box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px!important;margin:0!important;padding:8px 12px!important;border:1px solid #171717!important;border-radius:4px!important;background:#fff!important;color:#171717!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;text-decoration:none!important;box-shadow:none!important;vertical-align:middle;cursor:pointer;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .card-footer :is(a.comment-edit-link,a.comment-reply-link,.comments_review_likeunlike,.comment-links > a,.comment-links > button):hover {background:#171717!important;color:#fff!important;border-color:#171717!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comments_review_likeunlike .gdrr-btn-like {display:inline!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:inherit!important;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-cat-in .gd-rating-output-wrap {grid-template-columns:minmax(0,140px) max-content;column-gap:10px;}
}

/* REVIEW DETAILS BESIDE CATEGORY RATINGS */
@media(min-width:768px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content.card-body:has(> div .gd_ratings_module_box) {display:grid!important;grid-template-columns:300px minmax(0,1fr);column-gap:24px;row-gap:14px;align-items:start;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content.card-body > .border-bottom:has(.gd_ratings_module_box) {grid-column:1;grid-row:1;margin:0!important;padding:0 20px 0 0!important;border-bottom:0!important;border-right:1px solid #e8e3d9!important;min-width:0;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content.card-body:has(> div .gd_ratings_module_box) > :not(.border-bottom) {grid-column:2;min-width:0;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .gd-rate-cat-in .gd-rating-output-wrap {grid-template-columns:minmax(0,150px) max-content;column-gap:10px;}
}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container .comment-content .description > p:last-child {margin-bottom:0!important;}

/* NATIVE REVIEW FORM — COMPACT RATINGS AND UPLOAD AREA */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond #reply-title {padding:0!important;margin:0 0 14px!important;border:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond #reply-title::before {content:none!important;display:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-comment-review-title {color:#171717!important;font-size:22px!important;font-weight:800!important;line-height:1.3!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond #commentform {margin:0!important;padding:0!important;border:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .logged-in-as {margin:0 0 20px!important;color:#706d66!important;font-size:13px!important;line-height:1.6;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .logged-in-as a {color:#035841!important;text-decoration:underline;text-underline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-group {box-sizing:border-box;max-width:100%;margin:0 0 16px!important;padding:14px 16px!important;border:1px solid #ddd9cf!important;border-radius:5px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-extra-ratings {display:grid;row-gap:12px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-wrap {display:grid!important;grid-template-columns:160px minmax(0,1fr);align-items:center!important;justify-content:start!important;gap:12px;width:100%!important;margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-wrap .gd-rating-label {grid-column:1;grid-row:1;min-width:0;text-align:left!important;color:#171717!important;font-size:13px!important;font-weight:700!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-wrap .gd-rating-input {grid-column:2;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;width:auto!important;margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input .gd-rating-foreground {color:#F5A104!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input .gd-rating-background {color:#b9b4a9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input .gd-rating-text {padding:5px 7px!important;border:1px solid #ddd9cf!important;border-radius:4px!important;background:#fff!important;color:#706d66!important;font-size:11px!important;font-weight:500!important;line-height:1.3;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-add-files {box-sizing:border-box;width:100%;margin:0 0 18px!important;border:1px dashed #b9b4a9!important;border-radius:5px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-files-dropbox {padding:20px 16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-dropbox-title {color:#171717!important;font-size:18px!important;font-weight:750!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-add-files :is(.geodir-dropbox-file-types,.geodir-dropbox-file-limit,#upload-msg,p.text-muted) {color:#706d66!important;font-size:12px!important;line-height:1.6;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-add-files #upload-msg {display:block;margin-top:10px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-add-files input[type="button"] {width:auto!important;min-height:40px;padding:9px 16px!important;border:1px solid #171717!important;border-radius:5px!important;background:#fff!important;color:#171717!important;font-family:inherit;font-size:13px!important;font-weight:750!important;line-height:1.4!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .geodir-add-files input[type="button"]:hover {background:#171717!important;color:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .comment-form-comment {margin:0 0 18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond textarea#comment {box-sizing:border-box;display:block;width:100%;min-height:150px!important;margin:0!important;padding:12px 14px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background:#fff!important;color:#171717!important;font:inherit;font-size:15px!important;line-height:1.6;resize:vertical;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond textarea#comment::placeholder {color:#77736b!important;opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .form-submit {margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .form-submit input[type="submit"] {width:100%!important;min-height:44px;padding:12px 20px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .form-submit input[type="submit"]:hover {background:#024532!important;border-color:#024532!important;}
@media(min-width:1000px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-extra-ratings {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;}
}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-wrap {grid-template-columns:1fr;gap:6px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-wrap .gd-rating-input {grid-column:1;grid-row:2;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-geodirectory-geodir-widget-single-reviews .geodir-single-reviews-container #respond .gd-rating-input-group {padding:12px!important;}
}

/* CONTACT, HOURS AND DIRECTIONS COLUMN PROPORTIONS
   Match native widget content rather than optional presentation classes. */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) {align-items:flex-start!important;column-gap:28px!important;row-gap:28px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column {min-width:0!important;max-width:none!important;margin-inline:0!important;}
@media(min-width:1100px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) {display:flex!important;flex-wrap:nowrap!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column {flex:27 1 0px!important;width:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) {flex:46 1 0px!important;width:0!important;}
}
@media(min-width:782px) and (max-width:1099px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) {display:flex!important;flex-wrap:wrap!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column {flex:1 1 calc(50% - 14px)!important;width:calc(50% - 14px)!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) {flex:1 1 100%!important;width:100%!important;}
}
@media(max-width:781px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) {display:flex!important;flex-direction:column!important;gap:26px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column {flex:0 0 auto!important;width:100%!important;}
}

/* Horizontal breathing room inside the map/directions column. */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) {
 box-sizing:border-box;padding-left:16px!important;padding-right:16px!important;
}

/* Get Directions: contact/location panel only. */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) .geodir-map-directions-wrap button.btn-primary {background:#fff!important;color:#035841!important;border:1px solid #fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) .geodir-map-directions-wrap button.btn-primary:hover {background:#fff!important;color:#024532!important;border-color:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) .geodir-map-directions-wrap button.btn-primary:focus-visible {outline:2px solid #fff;outline-offset:3px;}

/* UNIFIED SINGLE-LISTING SECTION HEADINGS
   Preserve inherited section colors, including light text on green panels. */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) :is(.wp-block-heading.wp-block-heading.wp-block-heading,.widget-title.widget-title.widget-title):where(:not(.km-single-hero,.km-single-hero *,footer *,#header *)) {
 margin:0 0 20px!important;padding:0!important;
 font-family:Montserrat,sans-serif!important;font-size:26px!important;font-weight:800!important;
 line-height:1.2!important;letter-spacing:-.02em!important;text-transform:none!important;
}
@media(max-width:689px) {
 body:is(.single-gd_place,.single-gd_website,.single-gd_event) :is(.wp-block-heading.wp-block-heading.wp-block-heading,.widget-title.widget-title.widget-title):where(:not(.km-single-hero,.km-single-hero *,footer *,#header *)) {
  font-size:23px!important;margin-bottom:16px!important;
 }
}

/* CLAIM LISTING MODAL — NATIVE FORM AND VALIDATION RETAINED */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;color:#171717!important;font-family:Montserrat,sans-serif;overflow:hidden;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-body {padding:22px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-body > .modal-header {align-items:flex-start!important;gap:16px;margin:0 0 20px!important;padding:0 0 18px!important;border-bottom:1px solid #e8e3d9!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-title {flex:1;min-width:0;margin:0!important;color:#171717!important;font-family:inherit!important;font-size:20px!important;font-weight:800!important;line-height:1.35!important;overflow-wrap:anywhere;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .btn-close {flex-shrink:0;margin:2px 0 0!important;padding:6px!important;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .btn-close:hover {opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form {margin:0!important;padding:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-claim-form-fields > .mb-3 {margin-bottom:17px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-claim-form-fields .text-muted {margin:0!important;color:#706d66!important;font-size:13px!important;line-height:1.65!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .form-label {display:block;margin:0 0 7px!important;color:#171717!important;font-size:13px!important;font-weight:750!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .text-danger {margin-left:3px;color:#b51f09!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form :is(input.form-control,textarea.form-control,select.form-select) {box-sizing:border-box;width:100%;min-height:44px!important;padding:10px 12px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background-color:#fff!important;color:#171717!important;font-family:inherit!important;font-size:14px!important;line-height:1.5!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form select.form-select {padding-right:36px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form textarea.form-control {min-height:112px!important;resize:vertical;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form :is(input,textarea)::placeholder {color:#77736b;opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .select2-container {width:100%!important;min-width:0;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .select2-selection--single {display:flex;align-items:center;min-height:44px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .select2-selection__rendered {padding-left:12px!important;padding-right:34px!important;color:#171717!important;font-size:14px!important;line-height:1.5!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-post-claim-form .select2-selection__arrow {top:50%!important;right:8px!important;transform:translateY(-50%);}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-claim-form-footer {margin-top:4px;padding-top:16px;border-top:1px solid #e8e3d9;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .geodir-claim-form-footer > .d-grid {padding-top:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) button.geodir-post-claim-button {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%!important;min-height:44px;margin:0!important;padding:12px 18px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) button.geodir-post-claim-button:hover:not(:disabled) {background:#024532!important;border-color:#024532!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) button.geodir-post-claim-button:disabled {background:#e8e5de!important;border-color:#e8e5de!important;color:#77736b!important;opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) :is(button,input,textarea,select,.select2-selection):focus-visible {outline:2px solid #035841!important;outline-offset:2px;box-shadow:none!important;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-body {padding:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-post-claim-form) .modal-title {font-size:18px!important;}
}

/* NINJA FORMS CONTACT MODAL SHELL (iframe contents are a separate document). */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;color:#171717!important;overflow:hidden;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .modal-header {min-height:48px;padding:12px 18px!important;border-bottom:1px solid #e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .modal-title {margin:0!important;font-family:Montserrat,sans-serif;font-size:20px!important;font-weight:800!important;color:#171717!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .btn-close {margin:0 0 0 auto!important;padding:6px!important;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .modal-body {padding:16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) iframe#gd-ninja-iframe {display:block;width:100%!important;min-height:420px;max-height:75vh;border:0!important;background:#fff;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(iframe#gd-ninja-iframe) .btn-close:focus-visible {outline:2px solid #035841;outline-offset:3px;box-shadow:none!important;}

/* SAVE TO LIST MODAL */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup {color:#171717!important;font-family:Montserrat,sans-serif;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup > .modal-header {align-items:center!important;gap:16px;margin:0 0 18px!important;padding:0 0 16px!important;border-bottom:1px solid #e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .modal-title {flex:1;margin:0!important;color:#171717!important;font-family:inherit!important;font-size:20px!important;font-weight:800!important;line-height:1.3;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .btn-close {flex-shrink:0;margin:0!important;padding:6px!important;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup form {margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container {margin-bottom:0!important;overflow-x:auto;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list {width:100%;margin:0!important;border:1px solid #ddd9cf!important;border-collapse:collapse;background:#fff!important;color:#171717!important;font-size:13px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list th {padding:11px 12px!important;border-bottom:1px solid #ddd9cf!important;background:#fff!important;color:#171717!important;font-size:12px!important;font-weight:750!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list td {padding:12px!important;border-bottom:1px solid #e8e3d9!important;background:#fff!important;color:#171717!important;vertical-align:middle!important;line-height:1.5;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list th:first-child {width:58px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list td:first-child {color:#035841!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list td:nth-child(2) a {color:#035841!important;font-weight:700!important;text-decoration:none;overflow-wrap:anywhere;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list td:nth-child(2) a:hover {text-decoration:underline;text-underline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list :is(th,td):last-child {width:98px;white-space:nowrap;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup a.gd-list-save-action-link {display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px;margin:0!important;padding:8px 12px!important;border:1px solid #171717!important;border-radius:4px!important;background:#fff!important;color:#171717!important;font-family:inherit!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;box-shadow:none!important;text-decoration:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup a.gd-list-save-action-link:hover {background:#171717!important;color:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup form > .text-center {padding-top:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup form > .text-center > a.btn-primary {display:flex!important;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin:0!important;padding:12px 16px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;box-shadow:none!important;text-decoration:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup form > .text-center > a.btn-primary:hover {background:#024532!important;border-color:#024532!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup :is(a,button):focus-visible {outline:2px solid #035841;outline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.gd-add-to-list-popup) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-to-list-popup .gd-list-select-container-list :is(th,td) {padding:10px 8px!important;}
}

/* REPORT POST MODAL — NATIVE FORM AND VALIDATION RETAINED */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;color:#171717!important;font-family:Montserrat,sans-serif;overflow:hidden;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-body {padding:22px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-content > .modal-header {align-items:flex-start!important;gap:16px;margin:0 0 20px!important;padding:0 0 18px!important;border-bottom:1px solid #e8e3d9!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-title {flex:1;min-width:0;margin:0!important;color:#171717!important;font-family:inherit!important;font-size:20px!important;font-weight:800!important;line-height:1.35!important;overflow-wrap:anywhere;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .btn-close {flex-shrink:0;margin:2px 0 0!important;padding:6px!important;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .btn-close:hover {opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form {margin:0!important;padding:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form-fields > .mb-3 {margin-bottom:17px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form-fields .text-muted {margin:0!important;color:#706d66!important;font-size:13px!important;line-height:1.65!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .form-label {display:block;margin:0 0 7px!important;color:#171717!important;font-size:13px!important;font-weight:750!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .text-danger {margin-left:3px;color:#b51f09!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form :is(input.form-control,textarea.form-control,select.form-select) {box-sizing:border-box;width:100%;min-height:44px!important;padding:10px 12px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background-color:#fff!important;color:#171717!important;font-family:inherit!important;font-size:14px!important;line-height:1.5!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form select.form-select {padding-right:36px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form textarea.form-control {min-height:112px!important;resize:vertical;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form :is(input,textarea)::placeholder {color:#77736b;opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .select2-container {width:100%!important;min-width:0;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .select2-selection--single {display:flex;align-items:center;min-height:44px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .select2-selection__rendered {padding-left:12px!important;padding-right:34px!important;color:#171717!important;font-size:14px!important;line-height:1.5!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form .select2-selection__arrow {top:50%!important;right:8px!important;transform:translateY(-50%);}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodirectory-form-footer {margin-top:4px;padding-top:16px;border-top:1px solid #e8e3d9;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodirectory-form-footer > .form-group {padding-top:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) button.geodir-report-post-button {box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%!important;min-height:44px;margin:0!important;padding:12px 18px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) button.geodir-report-post-button:hover:not(:disabled) {background:#024532!important;border-color:#024532!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) button.geodir-report-post-button:disabled {background:#e8e5de!important;border-color:#e8e5de!important;color:#77736b!important;opacity:1;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) :is(button,input,textarea,select,.select2-selection):focus-visible {outline:2px solid #035841!important;outline-offset:2px;box-shadow:none!important;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-body {padding:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-title {font-size:18px!important;}
}

body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-content > .modal-header {padding:18px 22px!important;margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .geodir-report-post-form input:is(:disabled,[readonly]) {background:#f3f2ef!important;color:#706d66!important;opacity:1;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-report-post-form) .modal-content > .modal-header {padding:18px!important;}
}

/* COMPARE BUSINESSES MODAL — KEEP NATIVE TABLE AND CAROUSELS */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;color:#171717!important;font-family:Montserrat,sans-serif;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-body {padding:22px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-body > .modal-header {display:flex!important;align-items:center!important;flex-wrap:wrap;gap:12px;margin:0 0 18px!important;padding:0 0 18px!important;border-bottom:1px solid #e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-title {margin:0!important;color:#171717!important;font-size:20px!important;font-weight:800!important;line-height:1.3!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-header > a.btn {display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:0!important;padding:8px 12px!important;border:1px solid #171717!important;border-radius:4px!important;background:#fff!important;color:#171717!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;text-decoration:none!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-header > a.btn:hover {background:#171717!important;color:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-header > .btn-close {margin:0 0 0 auto!important;flex-shrink:0;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-wrapper {overflow-x:auto!important;overscroll-behavior-x:contain;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-table {width:100%;min-width:620px;margin:0!important;border-collapse:collapse!important;border-color:#ddd9cf!important;color:#171717!important;font-size:14px!important;--bs-table-bg:#fff;--bs-table-color:#171717;--bs-table-hover-bg:#faf9f6;--bs-table-hover-color:#171717;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-table :is(th,td) {padding:14px!important;border:1px solid #ddd9cf!important;vertical-align:top!important;line-height:1.5;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-table thead th {padding:8px 14px!important;background:#fff!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-table th[scope="row"] {width:110px;color:#171717!important;font-size:12px!important;font-weight:750!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-table-remove-listing {display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;margin:0!important;padding:4px!important;color:#b51f09!important;font-size:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-title a {color:#035841!important;text-decoration:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-title h5 {margin:0!important;color:#035841!important;font-size:17px!important;font-weight:800!important;line-height:1.35!important;overflow-wrap:anywhere;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-title a:hover h5 {text-decoration:underline;text-underline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-images .geodir-image-container {border-radius:5px!important;overflow:hidden;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-images .ratio {--bs-aspect-ratio:56.25%;aspect-ratio:16 / 9;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-field-images .ratio > img {width:100%!important;height:100%!important;object-fit:cover!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .gd-rating-foreground {color:#F5A104!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .gd-rating-background {color:#d6d1c7!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .gd-rating-info-wrap {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .gd-list-rating-link {color:#035841!important;font-size:13px!important;font-weight:650!important;text-decoration:none;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .gd-list-rating-link:hover {text-decoration:underline;text-underline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) :is(a,button):focus-visible {outline:2px solid #035841;outline-offset:3px;}
@media(max-width:575px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-body {padding:16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-title {font-size:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .modal-header > a.btn {order:3;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.geodir-compare-page-table) .geodir-compare-page-table :is(th,td) {padding:10px!important;}
}

/* NEW LIST MODAL */
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup {color:#171717!important;font-family:Montserrat,sans-serif;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup > .modal-header {align-items:center!important;gap:16px;margin:0 0 18px!important;padding:0 0 16px!important;border-bottom:1px solid #e8e3d9!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .modal-title {flex:1;margin:0!important;color:#171717!important;font-family:inherit!important;font-size:20px!important;font-weight:800!important;line-height:1.3;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .btn-close {flex-shrink:0;margin:0!important;padding:6px!important;opacity:.7;filter:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form {margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form > .mb-3 {margin-bottom:18px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form p {margin:0!important;color:#706d66!important;font-size:13px!important;line-height:1.65!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .form-label {margin-bottom:7px!important;color:#171717!important;font-size:13px!important;font-weight:750!important;line-height:1.4;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .text-danger {color:#b51f09!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup input.form-control {box-sizing:border-box;width:100%;min-height:44px!important;padding:10px 12px!important;border:1px solid #b9b4a9!important;border-radius:5px!important;background:#fff!important;color:#171717!important;font-family:inherit;font-size:14px!important;line-height:1.5!important;box-shadow:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup [data-argument="is_public"] {display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .form-check {display:flex;align-items:center;gap:8px;margin:0!important;padding:0!important;min-height:24px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .form-check-input {float:none!important;flex:0 0 18px;width:18px!important;height:18px!important;margin:0!important;border:1px solid #b9b4a9!important;border-radius:50%!important;background-color:#fff!important;accent-color:#035841;box-shadow:none!important;cursor:pointer;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .form-check-input:checked {border-color:#035841!important;background-color:#035841!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup .form-check-label {margin:0!important;cursor:pointer;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form > .text-center {padding-top:16px!important;border-top:1px solid #e8e3d9;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form > .text-center > a.btn-primary {display:flex!important;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin:0!important;padding:12px 16px!important;border:1px solid #035841!important;border-radius:5px!important;background:#035841!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;line-height:1.3!important;box-shadow:none!important;text-decoration:none!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup form > .text-center > a.btn-primary:hover {background:#024532!important;border-color:#024532!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .gd-add-new-list-popup :is(a,button,input):focus-visible {outline:2px solid #035841;outline-offset:3px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .modal:has(.gd-add-new-list-popup) .modal-content {border:1px solid #ddd9cf!important;border-radius:8px!important;background:#fff!important;}

/* MOBILE CONTACT PANEL AND DIRECTIONS */
@media(max-width:781px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) > .wp-block-column:has(.geodir-post-map-wrap) {padding-inline:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) .geodir-map-directions-wrap .gd-input-group {display:flex!important;flex-direction:column!important;gap:10px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) .geodir-map-directions-wrap .gd-input-group > .mb-3 {width:100%!important;margin:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) .geodir-map-directions-wrap .input-group {width:100%!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) .geodir-map-directions-wrap input.form-control {min-width:0!important;font-size:16px!important;min-height:44px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column .geodir-post-address-container):has(> .wp-block-column .geodir-post-map-wrap) .geodir-map-directions-wrap .gd-input-group > button {width:100%!important;min-height:44px!important;margin:0!important;}
}

/* MOBILE SPECIAL OFFERS — LESS OUTER INSET */
@media(max-width:689px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-group:has(.geodir-field-special_offers):not(:has(.wp-block-group .geodir-field-special_offers)) {padding:20px 16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-blockstrap-blockstrap-widget-container:has(> .geodir-post-meta-container .geodir-field-special_offers) {padding:20px 16px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-post-meta-container:has(.geodir-field-special_offers) {width:100%!important;max-width:none!important;margin-inline:0!important;padding:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-field-special_offers {margin:0!important;padding:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-field-special_offers .km-offers-list {width:100%!important;gap:10px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-field-special_offers .km-offer-item {min-height:46px!important;padding:12px 14px!important;}
}

/* MOBILE PHOTOS AND VIDEO — WIDER MEDIA AREA */
@media(max-width:781px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) {box-sizing:border-box;width:calc(100vw - 24px)!important;max-width:none!important;margin-left:calc((100% - 100vw)/2 + 12px)!important;margin-right:0!important;padding-inline:0!important;gap:28px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) > .wp-block-column {width:100%!important;max-width:100%!important;min-width:0!important;padding-inline:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) :is(.geodir-post-slider,.geodir-image-container,.geodir-image-wrapper) {width:100%!important;max-width:none!important;margin-inline:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) .geodir-images {width:100%!important;aspect-ratio:4 / 3!important;overflow:hidden;border-radius:8px;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) .geodir-images :is(.carousel-item,.carousel-item > a,.carousel-item .ratio) {height:100%!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) .geodir-images .ratio::before {padding-top:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) .geodir-images img {width:100%!important;height:100%!important;object-fit:cover!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) iframe {display:block;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:16 / 9;border:0;}
}

/* TABLET AND LANDSCAPE: AVOID NARROW DESKTOP SIDEBARS */
@media(min-width:782px) and (max-width:1099px) {
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column :is(.geodir-post-content-container,.geodir_post_content,.wp-block-geodirectory-geodir-widget-post-content)):has(> .wp-block-column :is(.gd-app-setup-wrapper,.geodir-field-post_tags,.geodir-field-special_offers)) {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:28px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(> .wp-block-column :is(.geodir-post-content-container,.geodir_post_content,.wp-block-geodirectory-geodir-widget-post-content)):has(> .wp-block-column :is(.gd-app-setup-wrapper,.geodir-field-post_tags,.geodir-field-special_offers)) > .wp-block-column {flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) {display:flex!important;flex-direction:column!important;gap:28px!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) > .wp-block-column {flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .wp-block-columns:has(.geodir-post-slider):has(iframe):where(:not(.km-single-hero,.km-single-hero *)) iframe {width:100%!important;height:auto!important;aspect-ratio:16/9;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-single-reviews-container .comment-content.card-body:has(> div .gd_ratings_module_box) {display:block!important;}
body:is(.single-gd_place,.single-gd_website,.single-gd_event) .geodir-single-reviews-container .comment-content.card-body > .border-bottom:has(.gd_ratings_module_box) {padding:0 0 14px!important;margin:0 0 14px!important;border-right:0!important;border-bottom:1px solid #e8e3d9!important;}
}

/* =========================================================
   KINETIC MARKET — EVENT SINGLE: OTHER EVENTS BY HOST
   Full-width horizontal cards and left-aligned orphan panel
   ========================================================= */

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked:has(.geodir-post.gd_event) {
    width: 100%;
    min-width: 0;
    text-align: left;
}

/* The linked-posts widget uses a two-column GD grid by default.
   Override it so each event uses the full available panel width. */
body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked:has(.geodir-post.gd_event)
.geodir-widget-posts {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.geodir-widget-posts > .geodir-post.gd_event {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.geodir-post.gd_event > .card {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    border: 1px solid #deded8 !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: none !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.geodir-post.gd_event .km-event-card {
    display: grid !important;
    grid-template-columns: 170px minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px !important;
    box-sizing: border-box;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__media,
body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__body {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__media figure,
body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__media a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 155px;
    object-fit: cover !important;
    border-radius: 7px;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    gap: 12px;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__body .geodir-entry-title {
    overflow-wrap: anywhere;
    margin: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__details {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0 !important;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.km-event-card__registration {
    margin: 0 !important;
    padding-top: 10px;
    border-top: 1px solid #e8e3d9;
}

body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
.geodir-post.gd_event > .card > p:empty {
    display: none !important;
}

/* LEFT ALIGNMENT — business and event single pages.
   When the paired linked-business column has no listing,
   remove that empty column and move the events panel to the left. */
body:is(.single-gd_place, .single-gd_event)
.wp-block-columns:has(> .wp-block-column .wp-block-geodirectory-geodir-cp-widget-post-linked .geodir-post.gd_event):not(:has(.geodir-post.gd_place)) {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

body:is(.single-gd_place, .single-gd_event)
.wp-block-columns:has(> .wp-block-column .wp-block-geodirectory-geodir-cp-widget-post-linked .geodir-post.gd_event):not(:has(.geodir-post.gd_place))
> .wp-block-column:has(.geodir-post.gd_event) {
    order: -1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hide a paired empty linked-business column, not other content. */
body:is(.single-gd_place, .single-gd_event)
.wp-block-columns:has(> .wp-block-column .wp-block-geodirectory-geodir-cp-widget-post-linked .geodir-post.gd_event):not(:has(.geodir-post.gd_place))
> .wp-block-column:has(.wp-block-geodirectory-geodir-cp-widget-post-linked):not(:has(.geodir-post)) {
    display: none !important;
}

@media (max-width: 600px) {
    body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
    .geodir-post.gd_event .km-event-card {
        grid-template-columns: 110px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
    }
    body.single-gd_event .wp-block-geodirectory-geodir-cp-widget-post-linked
    .km-event-card__media img {
        min-height: 125px;
    }
}

/* =========================================================
   KM — COLLAPSE EMPTY LINKED-BUSINESS WIDGET COLUMN
   Both gd_place and gd_event single pages.
   Detect the actual widget's lack of cards, not :empty,
   since GeoDirectory renders empty wrapper elements.
   ========================================================= */
body:is(.single-gd_place, .single-gd_event) .entry-content
.wp-block-columns:has(.wp-block-geodirectory-geodir-cp-widget-post-linked .geodir-post.gd_event)
> .wp-block-column:has(.wp-block-geodirectory-geodir-cp-widget-post-linked):not(:has(.geodir-post)) {
    display: none !important;
    flex: 0 0 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body:is(.single-gd_place, .single-gd_event) .entry-content
.wp-block-columns:has(.wp-block-geodirectory-geodir-cp-widget-post-linked .geodir-post.gd_event)
:not(.km-single-hero) > .wp-block-column:has(.geodir-post.gd_event) {
    min-width: 0 !important;
}

/* When there is no linked business anywhere in the columns,
   allow the event-bearing column to fill the row. */
body:is(.single-gd_place, .single-gd_event) .entry-content
.wp-block-columns:has(> .wp-block-column .geodir-post.gd_event):not(:has(.geodir-post.gd_place)) {
    justify-content: flex-start !important;
    gap: 0 !important;
}
body:is(.single-gd_place, .single-gd_event) .entry-content
.wp-block-columns:has(> .wp-block-column .geodir-post.gd_event):not(:has(.geodir-post.gd_place))
> .wp-block-column:has(.geodir-post.gd_event) {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

/* =========================================================
   KM — EMPTY RELATED LISTINGS COLUMN (ACTUAL WIDGET MARKUP)
   Applies to business and event single pages.
   ========================================================= */
body:is(.single-gd_place, .single-gd_event) .km-related > .wp-block-columns > .wp-block-column:has(> .wp-block-geodirectory-geodir-widget-listings:empty) {
    display: none !important;
}

body:is(.single-gd_place, .single-gd_event) .km-related > .wp-block-columns:has(> .wp-block-column > .wp-block-geodirectory-geodir-widget-listings:empty) {
    justify-content: flex-start !important;
}

body:is(.single-gd_place, .single-gd_event) .km-related > .wp-block-columns:has(> .wp-block-column > .wp-block-geodirectory-geodir-widget-listings:empty) > .wp-block-column:not(:has(> .wp-block-geodirectory-geodir-widget-listings:empty)) {
    flex: 1 1 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
}
