/**
 * GeoDirectory single listing detail page
 * Scope: body.single-gd_place (Elementor + bootstrap detail templates)
 * Enqueued from inc/cns-gd-details.php
 */
body.single-gd_place {
    --cns-gd-detail-green: #7cae15;
    --cns-gd-detail-green-dark: #68980f;
    --cns-gd-detail-gold: #ffc107;
    --cns-gd-detail-red: #d93025;
    --cns-gd-detail-muted: #6b7280;
    --cns-gd-detail-border: rgba(124, 174, 21, 0.15);
    --cns-gd-detail-soft: rgba(124, 174, 21, 0.12);
}

body.single-gd_place .geodir-entry-header,
body.single-gd_place .entry-header,
body.single-gd_place .geodir-single-header,
body.single-gd_place .geodir-post-header,
body.single-gd_place.geodir-page-single .elementor-section:has(.elementor-widget-wp-widget-gd_post_title):not(:has(.elementor-widget-wp-widget-gd_post_images)) {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 20px 28px !important;
    border-radius: 0 !important;
}

body.single-gd_place .entry-title,
body.single-gd_place h1.entry-title,
body.single-gd_place .geodir-post-title,
body.single-gd_place .geodir-entry-title,
body.single-gd_place .geodir-entry-title a {
    margin: 0 0 12px !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

body.single-gd_place .geodir-entry-header,
body.single-gd_place .entry-header,
body.single-gd_place .geodir-entry-header,
body.single-gd_place .entry-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

body.single-gd_place .geodir-entry-header > *,
body.single-gd_place .entry-header > *,
body.single-gd_place .geodir-entry-header > *,
body.single-gd_place .entry-header > * {
    flex: 0 1 auto;
}

body.single-gd_place .geodir_post_meta .gd-rating-foreground,
body.single-gd_place .geodir_post_meta .gd-rating-foreground i,
body.single-gd_place .gd-main-overall-rating .gd-rating-foreground,
body.single-gd_place .gd-main-overall-rating .gd-rating-foreground i,
body.single-gd_place .geodir_post_meta .gd-rating-foreground,
body.single-gd_place .geodir_post_meta .gd-rating-foreground i,
body.single-gd_place .gd-main-overall-rating .gd-rating-foreground,
body.single-gd_place .gd-main-overall-rating .gd-rating-foreground i {
    color: var(--cns-gd-detail-gold) !important;
}

body.single-gd_place .geodir_post_meta .gd-rating-background,
body.single-gd_place .gd-main-overall-rating .gd-rating-background,
body.single-gd_place .geodir_post_meta .gd-rating-background,
body.single-gd_place .gd-main-overall-rating .gd-rating-background {
    color: #d9d9d9 !important;
}

body.single-gd_place .geodir_post_meta[class*="geodir-field-post_category"],
body.single-gd_place .geodir_post_meta[class*="geodir-field-post_categories"],
body.single-gd_place .geodir_post_meta[class*="geodir-field-category"],
body.single-gd_place .geodir-taxonomies a,
body.single-gd_place .geodir-taxonomy a,
body.single-gd_place .gd-badge,
body.single-gd_place .geodir_post_meta[class*="geodir-field-post_category"],
body.single-gd_place .geodir_post_meta[class*="geodir-field-post_categories"],
body.single-gd_place .geodir_post_meta[class*="geodir-field-category"],
body.single-gd_place .geodir-taxonomies a,
body.single-gd_place .geodir-taxonomy a,
body.single-gd_place .gd-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 6px 12px !important;
    margin: 0 8px 8px 0 !important;
    border: 0 !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

body.single-gd_place .geodir-tabs,
body.single-gd_place .geodir-tabs {
    margin-top: 0 !important;
}

body.single-gd_place .geodir-tab-head .nav-tabs,
body.single-gd_place .geodir-tab-head .nav-pills {
    border-bottom: 2px solid #eee !important;
}

body.single-gd_place .geodir-tab-head .nav-link {
    color: #666 !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0.85rem 0.95rem !important;
    font-weight: 600 !important;
}

body.single-gd_place .geodir-tab-head .nav-link:hover,
body.single-gd_place .geodir-tab-head .nav-link:focus,
body.single-gd_place .geodir-tab-head .nav-link:hover,
body.single-gd_place .geodir-tab-head .nav-link:focus {
    color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place .geodir-tab-head .nav-link.active,
body.single-gd_place .geodir-tab-head .nav-link.active {
    color: var(--cns-gd-detail-green) !important;
    border-bottom-color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place .geodir-tabs-content,
body.single-gd_place .geodir-tabs-content,
body.single-gd_place #gd-single-tabs-content,
body.single-gd_place #gd-single-tabs-content {
    padding-top: 24px !important;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_meta > .elementor-widget-container,
body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address > .elementor-widget-container,
body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_author_actions > .elementor-widget-container,
body.single-gd_place.geodir-page-single .elementor-widget-shortcode:has(.cns-gd-social-icons) > .elementor-widget-container,
body.single-gd_place.geodir-page-single .cns-gd-listing-meta-panel,
body.single-gd_place.geodir-page-single .cns-gd-listing-contact-panel {
    background: #fff !important;
    border: 1px solid var(--cns-gd-detail-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
}

body.single-gd_place aside .geodir_post_meta,
body.single-gd_place aside .geodir_post_meta {
    margin-bottom: 0px !important;
}

body.single-gd_place aside .geodir-field-phone,
body.single-gd_place aside .geodir-field-email,
body.single-gd_place aside .geodir-field-website,
body.single-gd_place .geodir-field-phone,
body.single-gd_place .geodir-field-email,
body.single-gd_place .geodir-field-website {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

body.single-gd_place .geodir-field-phone .geodir_post_meta_icon,
body.single-gd_place .geodir-field-email .geodir_post_meta_icon,
body.single-gd_place .geodir-field-website .geodir_post_meta_icon,
body.single-gd_place .geodir-field-phone .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-email .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-website .geodir_post_meta_icon i {
    flex: 0 0 16px;
    width: 16px;
    font-size: 16px !important;
    line-height: 1;
    color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place aside .geodir-field-phone .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-email .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-website .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-phone .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-email .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-website .geodir_post_meta_title {
    display: none !important;
}

body.single-gd_place aside .geodir-field-phone,
body.single-gd_place aside .geodir-field-email {
    color: #34443a !important;
    font-size: 14px !important;
}

body.single-gd_place .geodir-field-website {
    flex-wrap: nowrap !important;
    border-bottom: 1px solid #f5f5f5 !important;
    padding: 8px 0 !important;
}

body.single-gd_place .geodir-field-website a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    background: var(--cns-gd-detail-green) !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.single-gd_place .geodir-field-website a:hover {
    background: var(--cns-gd-detail-green-dark) !important;
    color: #fff !important;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .geodir-field-address {
	display: block !important;
	width: 100%;
	max-width: 100%;
	text-align: left !important;
	overflow-wrap: normal;
	word-break: normal;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .geodir-field-address br {
	display: none !important;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .geodir-field-address .geodir_post_meta_icon {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px !important;
	color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .geodir-field-address [itemprop] {
	display: inline !important;
	margin-right: 0.25rem;
	color: #25362f !important;
	font-size: 0.8125rem;
	line-height: 1.45;
	white-space: normal;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .cns-gd-address-lines {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_post_address .cns-gd-address-line {
	display: block;
	max-width: 100%;
	color: #25362f !important;
	font-size: 0.8125rem;
	line-height: 1.4;
	white-space: normal;
}

body.single-gd_place aside [class*="geodir-field-service"],
body.single-gd_place aside .geodir-field-services,
body.single-gd_place aside [class*="geodir-field-service"],
body.single-gd_place aside .geodir-field-services {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0;
    margin: 0 8px 8px 0 !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 1px solid var(--cns-gd-detail-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

body.single-gd_place aside [class*="geodir-field-service"] .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-services .geodir_post_meta_title,
body.single-gd_place aside [class*="geodir-field-service"] .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-services .geodir_post_meta_title {
    display: none !important;
}

body.single-gd_place aside .geodir-field-facebook,
body.single-gd_place aside .geodir-field-instagram,
body.single-gd_place aside .geodir-field-tiktok,
body.single-gd_place aside .geodir-field-twitter,
body.single-gd_place aside .geodir-field-x,
body.single-gd_place aside .geodir-field-youtube,
body.single-gd_place aside .geodir-field-linkedin,
body.single-gd_place aside .geodir-field-facebook,
body.single-gd_place aside .geodir-field-instagram,
body.single-gd_place aside .geodir-field-tiktok,
body.single-gd_place aside .geodir-field-twitter,
body.single-gd_place aside .geodir-field-x,
body.single-gd_place aside .geodir-field-youtube,
body.single-gd_place aside .geodir-field-linkedin {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin: 0 8px 8px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    vertical-align: middle;
}

body.single-gd_place aside .geodir-field-facebook .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-instagram .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-tiktok .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-twitter .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-x .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-youtube .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-linkedin .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-facebook .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-instagram .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-tiktok .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-twitter .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-x .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-youtube .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-linkedin .geodir_post_meta_title {
    display: none !important;
}

body.single-gd_place aside .geodir-field-facebook a,
body.single-gd_place aside .geodir-field-facebook a {
    background: #1877f2 !important;
}

body.single-gd_place aside .geodir-field-instagram a,
body.single-gd_place aside .geodir-field-instagram a {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%) !important;
}

body.single-gd_place aside .geodir-field-tiktok a,
body.single-gd_place aside .geodir-field-x a,
body.single-gd_place aside .geodir-field-tiktok a,
body.single-gd_place aside .geodir-field-x a {
    background: #111111 !important;
}

body.single-gd_place aside .geodir-field-youtube a,
body.single-gd_place aside .geodir-field-youtube a {
    background: #ff0000 !important;
}

body.single-gd_place aside .geodir-field-linkedin a,
body.single-gd_place aside .geodir-field-linkedin a {
    background: #0a66c2 !important;
}

body.single-gd_place aside .geodir-field-facebook a,
body.single-gd_place aside .geodir-field-instagram a,
body.single-gd_place aside .geodir-field-tiktok a,
body.single-gd_place aside .geodir-field-twitter a,
body.single-gd_place aside .geodir-field-x a,
body.single-gd_place aside .geodir-field-youtube a,
body.single-gd_place aside .geodir-field-linkedin a,
body.single-gd_place aside .geodir-field-facebook a,
body.single-gd_place aside .geodir-field-instagram a,
body.single-gd_place aside .geodir-field-tiktok a,
body.single-gd_place aside .geodir-field-twitter a,
body.single-gd_place aside .geodir-field-x a,
body.single-gd_place aside .geodir-field-youtube a,
body.single-gd_place aside .geodir-field-linkedin a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    color: #fff !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

body.single-gd_place aside .geodir-field-facebook a:hover,
body.single-gd_place aside .geodir-field-instagram a:hover,
body.single-gd_place aside .geodir-field-tiktok a:hover,
body.single-gd_place aside .geodir-field-twitter a:hover,
body.single-gd_place aside .geodir-field-x a:hover,
body.single-gd_place aside .geodir-field-youtube a:hover,
body.single-gd_place aside .geodir-field-linkedin a:hover,
body.single-gd_place aside .geodir-field-facebook a:hover,
body.single-gd_place aside .geodir-field-instagram a:hover,
body.single-gd_place aside .geodir-field-tiktok a:hover,
body.single-gd_place aside .geodir-field-twitter a:hover,
body.single-gd_place aside .geodir-field-x a:hover,
body.single-gd_place aside .geodir-field-youtube a:hover,
body.single-gd_place aside .geodir-field-linkedin a:hover {
    transform: scale(1.1);
}

body.single-gd_place aside:has(.geodir-field-facebook),
body.single-gd_place aside:has(.geodir-field-instagram),
body.single-gd_place .cns-gd-social-icons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px !important;
}

body.single-gd_place .geodir-post-claim-button,
body.single-gd_place .geodir-post-claim-button {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #fff !important;
    border: 2px solid var(--cns-gd-detail-green) !important;
    border-radius: 8px !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
}

body.single-gd_place .geodir-post-claim-button:hover,
body.single-gd_place .geodir-post-claim-button:focus,
body.single-gd_place .geodir-post-claim-button:hover,
body.single-gd_place .geodir-post-claim-button:focus {
    background: var(--cns-gd-detail-green) !important;
    color: #fff !important;
}

body.single-gd_place .gd-author-actions,
body.single-gd_place .gd-author-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    float: none !important;
    margin: 0 !important;
    max-width: 100%;
}

body.single-gd_place .gd-author-actions .gd_user_action,
body.single-gd_place .gd-author-actions .gd_user_action {
    background: #fff !important;
    border-width: 1px !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

body.single-gd_place .gd-author-actions .edit_link,
body.single-gd_place .gd-author-actions .edit_link_link,
body.single-gd_place .gd-author-actions .edit_link,
body.single-gd_place .gd-author-actions .edit_link_link {
    color: var(--cns-gd-detail-green) !important;
    border-color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place .gd-author-actions .delete_link,
body.single-gd_place .gd-author-actions .delete_link_link,
body.single-gd_place .gd-author-actions .delete_link,
body.single-gd_place .gd-author-actions .delete_link_link {
    color: var(--cns-gd-detail-red) !important;
    border-color: var(--cns-gd-detail-red) !important;
}

body.single-gd_place .geodir-addtofav::before,
body.single-gd_place .geodir-addtofav::after {
    display: none !important;
    content: none !important;
}   

body.single-gd_place .geodir-comments-area,
body.single-gd_place .geodir-comments-area {
    margin-top: 0 !important;
}

body.single-gd_place .geodir-comments-area .comments-title,
body.single-gd_place .geodir-comments-area h2,
body.single-gd_place .geodir-comments-area h3 {
    color: var(--cns-gd-detail-green) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

body.single-gd_place .geodir-comments-area .gd-rating-input .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .gd-rating-input .gd-rating-foreground i,
body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground i,
body.single-gd_place .geodir-comments-area .gd-rating-input .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .gd-rating-input .gd-rating-foreground i,
body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground i {
    color: var(--cns-gd-detail-gold) !important;
}

body.single-gd_place .geodir-comments-area .commentlist > li > .card,
body.single-gd_place .geodir-comments-area .commentlist > li > .card {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
}

body.single-gd_place .geodir-comments-area .commentlist .fn,
body.single-gd_place .geodir-comments-area .commentlist .comment-author,
body.single-gd_place .geodir-comments-area .commentlist b {
    color: #2d2d2d !important;
    font-weight: 600 !important;
}

body.single-gd_place .geodir-comments-area .commentlist .comment-content,
body.single-gd_place .geodir-comments-area .commentlist .comment-content p {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}

body.single-gd_place .geodir-comments-area .commentlist > li .card-header,
body.single-gd_place .geodir-comments-area .commentlist > li .card-header {
    align-items: center !important;
}

body.single-gd_place .geodir-comments-area .comment_avatar,
body.single-gd_place .geodir-comments-area .comment_avatar {
    border: 2px solid rgba(124, 174, 21, 0.18);
}

body.single-gd_place .geodir-comments-area .comment-content,
body.single-gd_place .geodir-comments-area .comment-content {
    background: #fff !important;
}

body.single-gd_place .geodir-comments-area .geodir-review-time,
body.single-gd_place .geodir-comments-area time,
body.single-gd_place .geodir-comments-area .geodir-review-time,
body.single-gd_place .geodir-comments-area time {
    color: #9aa3b2 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input,
body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input {
    cursor: pointer;
}

body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input .gd-rating-foreground i,
body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .comment-form-rating .gd-rating-input .gd-rating-foreground i {
    color: var(--cns-gd-detail-gold) !important;
}

body.single-gd_place .comment-form-comment textarea,
body.single-gd_place .comment-form-comment textarea {
    border-radius: 12px !important;
}

/* Sidebar listing widgets: assets/css/cns-gd-sidebar-widget.css */

/* --------------------------------------------------------------------------
 * Listing image slider / gallery (full-width hero)
 * -------------------------------------------------------------------------- */

body.single-gd_place .elementor-widget-wp-widget-gd_post_images,
body.single-gd_place .geodir-post-slider,
body.single-gd_place .geodir_flex-container.geodir-image-container {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.geodir-images.aui-gallery.geodir-images-n-4.geodir-images-slider.carousel-inner {
   border-radius: 20px !important;
}
    
body.single-gd_place .geodir-post-slider img,
body.single-gd_place .geodir_flexslider img,
body.single-gd_place .elementor-widget-wp-widget-gd_post_images img {
    width: 100% !important;
    /* height: 420px !important; */
    /* max-height: 420px !important; */
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
}

/* Slider controls — green arrows & dots */
body.single-gd_place .geodir_flexslider .flex-direction-nav a,
body.single-gd_place .geodir-post-slider .carousel-control-prev,
body.single-gd_place .geodir-post-slider .carousel-control-next {
    color: var(--cns-gd-detail-green) !important;
    opacity: 0.95 !important;
}

body.single-gd_place .geodir_flexslider .flex-control-paging li a,
body.single-gd_place .geodir-post-slider .carousel-indicators [data-bs-target],
body.single-gd_place .geodir-post-slider .carousel-indicators li {
    background-color: rgba(124, 174, 21, 0.35) !important;
}

body.single-gd_place .geodir_flexslider .flex-control-paging li a.flex-active,
body.single-gd_place .geodir-post-slider .carousel-indicators .active {
    background-color: var(--cns-gd-detail-green) !important;
}

/* Category pills (Elementor taxonomies widget) */
body.single-gd_place .geodir_post_taxomomies .badge,
body.single-gd_place .geodir-category .badge {
    border: 0 !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Business hours */
body.single-gd_place .geodir-field-business_hours .gd-bh-open-hours,
body.single-gd_place .geodir-field-business_hours .gd-bh-days-list {
    display: block !important;
    width: 100% !important;
}

body.single-gd_place .geodir-field-business_hours .gd-bh-days-list {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
}

body.single-gd_place .geodir-field-business_hours .gd-bh-days-d {
    font-weight: 600 !important;
    color: #34443a !important;
}

body.single-gd_place .geodir-field-business_hours .gd-bh-days-closed,
body.single-gd_place .geodir-field-business_hours .gd-bh-days-list.gd-bh-days-closed {
    color: var(--cns-gd-detail-muted) !important;
}

body.single-gd_place .geodir-field-business_hours .gd-bh-days-list.gd-bh-open-today,
body.single-gd_place .geodir-field-business_hours .gd-bh-open-today {
    background: rgba(124, 174, 21, 0.1) !important;
    border-radius: 6px;
    color: var(--cns-gd-detail-green) !important;
}

body.single-gd_place .geodir-field-business_hours .gd-bh-days-list.gd-bh-open-today .gd-bh-days-d,
body.single-gd_place .geodir-field-business_hours .gd-bh-open-today .gd-bh-days-d {
    color: var(--cns-gd-detail-green) !important;
}

/* Legacy service pill tags (sidebar tags only) */
body.single-gd_place aside [class*="geodir-field-service"]:not(.geodir-field-primary_services):not(.geodir-field-secondary_services):not(.geodir-field-community_focus):not(.geodir-field-experience_level) {
    display: inline-block !important;
    margin: 4px !important;
    padding: 6px 14px !important;
    background: rgba(124, 174, 21, 0.12) !important;
    border-radius: 20px !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 13px !important;
}

/* CNS social icon shortcode row */
body.single-gd_place .cns-gd-social-icons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
    margin: 8px 0 4px !important;
}

body.single-gd_place .cns-gd-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.18s ease !important;
}

body.single-gd_place .cns-gd-social-icon:hover {
    transform: scale(1.1);
    color: #fff !important;
}

body.single-gd_place .cns-gd-social-icon--facebook { background: #1877f2 !important; }
body.single-gd_place .cns-gd-social-icon--instagram { background: #e1306c !important; }
body.single-gd_place .cns-gd-social-icon--tiktok,
body.single-gd_place .cns-gd-social-icon--twitter { background: #000 !important; }
body.single-gd_place .cns-gd-social-icon--youtube { background: #ff0000 !important; }
body.single-gd_place .cns-gd-social-icon--linkedin { background: #0a66c2 !important; }

body.single-gd_place .cns-gd-social-icon i {
    color: #fff !important;
    font-size: 16px !important;
}

/* Hide duplicate per-field social widgets when the shortcode row is present */
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-facebook,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-instagram,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-tiktok,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-twitter,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-x,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-youtube,
body.single-gd_place aside:has(.cns-gd-social-icons) .geodir-field-linkedin,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-facebook,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-instagram,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-tiktok,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-twitter,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-x,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-youtube,
body.single-gd_place #post_content:has(.cns-gd-social-icons) .geodir-field-linkedin {
    display: none !important;
}

/* --------------------------------------------------------------------------
 * Consistency fixes (colors, header actions, contact, services, reviews)
 * -------------------------------------------------------------------------- */

/* Override BuddyBoss/bsui default blue links */
body.single-gd_place.geodir-page-single .bsui a:not(.btn):not(.button):not(.nav-link):not(.badge):not(.cns-gd-social-icon):not(.gd-read-more),
body.single-gd_place.geodir-page-single article.gd_place a:not(.btn):not(.button):not(.nav-link):not(.badge):not(.cns-gd-social-icon):not(.gd-read-more) {
    color: #34443a !important;
    text-decoration: none !important;
}

body.single-gd_place.geodir-page-single .bsui a:not(.btn):not(.button):not(.nav-link):not(.badge):not(.cns-gd-social-icon):not(.gd-read-more):hover,
body.single-gd_place.geodir-page-single article.gd_place a:not(.btn):not(.button):not(.nav-link):not(.badge):not(.cns-gd-social-icon):not(.gd-read-more):hover {
    color: var(--cns-gd-detail-green) !important;
}

/* Header action row: favorite + edit/delete */
body.single-gd_place.geodir-page-single .elementor-section:has(.geodir-post-title) .elementor-column:last-child .elementor-widget-wrap,
body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_author_actions > .elementor-widget-container,
body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_fav > .elementor-widget-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    overflow: visible !important;
}

body.single-gd_place.geodir-page-single .elementor-widget-wp-widget-gd_author_actions > .elementor-widget-container {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.single-gd_place .geodir-fav-text {
    color: #34443a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Category label + pill */
body.single-gd_place .geodir-category,
body.single-gd_place .geodir_post_taxomomies {
    color: #34443a !important;
    font-size: 14px !important;
}

body.single-gd_place .geodir-category a.badge,
body.single-gd_place .geodir-category .badge,
body.single-gd_place .geodir_post_taxomomies a.badge {
    text-decoration: none !important;
}

/* Rating text */
body.single-gd_place .gd-main-overall-rating a,
body.single-gd_place .geodir-post-rating a,
body.single-gd_place .gd-rating-info-wrap a {
    color: #666 !important;
    font-weight: 500 !important;
}

/* Description — neutral text, hide duplicate Elementor post content when tabs exist */
body.single-gd_place:has(#gd-single-tabs) .elementor-widget-wp-widget-gd_post_content {
    display: none !important;
}

body.single-gd_place .geodir-field-post_content,
body.single-gd_place .geodir-field-post_content p,
body.single-gd_place .geodir-post-content-container,
body.single-gd_place .geodir-post-content-container p {
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

/* Contact: address, phone, email unified rows */
body.single-gd_place .geodir-field-address,
body.single-gd_place aside .geodir-field-address {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f5f5f5 !important;
    color: #34443a !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body.single-gd_place .geodir-field-address .geodir_post_meta_icon,
body.single-gd_place .geodir-field-address .geodir_post_meta_icon i {
    flex: 0 0 16px;
    color: var(--cns-gd-detail-green) !important;
    font-size: 16px !important;
}

body.single-gd_place .geodir-field-address .geodir_post_meta_title {
    display: block !important;
    margin: 0 0 4px !important;
    color: #34443a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.single-gd_place aside .geodir-field-phone .geodir_post_meta_title,
body.single-gd_place aside .geodir-field-email .geodir_post_meta_title {
    display: none !important;
}

body.single-gd_place aside .geodir-field-phone a,
body.single-gd_place aside .geodir-field-email a,
body.single-gd_place .geodir-field-phone a,
body.single-gd_place .geodir-field-email a {
    color: #34443a !important;
    font-weight: 500 !important;
}

body.single-gd_place aside .geodir-field-phone a:hover,
body.single-gd_place aside .geodir-field-email a:hover {
    color: var(--cns-gd-detail-green) !important;
}

/* Services — centered cards on white */
body.single-gd_place #post_content,
body.single-gd_place .geodir-tabs-content {
    color: #34443a;
}

body.single-gd_place #post_content .geodir-post-meta-container:has(.geodir-field-primary_services),
body.single-gd_place #post_content .geodir-post-meta-container:has(.geodir-field-secondary_services),
body.single-gd_place #post_content .geodir-post-meta-container:has(.geodir-field-community_focus),
body.single-gd_place #post_content .geodir-post-meta-container:has(.geodir-field-experience_level),
body.single-gd_place #post_content .geodir-post-meta-container:has(.geodir-field-signup_form),
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta:has(.geodir-field-primary_services),
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta:has(.geodir-field-secondary_services),
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta:has(.geodir-field-community_focus),
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta:has(.geodir-field-experience_level),
body.single-gd_place .elementor-widget-wp-widget-gd_post_meta:has(.geodir-field-signup_form) {
    display: inline-block !important;
    width: auto !important;
    max-width: 100%;
    margin: 6px !important;
    vertical-align: top;
}

body.single-gd_place .geodir-field-primary_services,
body.single-gd_place .geodir-field-secondary_services,
body.single-gd_place .geodir-field-community_focus,
body.single-gd_place .geodir-field-experience_level,
body.single-gd_place .geodir-field-signup_form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 140px;
    max-width: 200px;
    min-height: 88px;
    padding: 14px 16px !important;
    background: #fff !important;
    border: 1px solid var(--cns-gd-detail-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.single-gd_place .geodir-field-primary_services .geodir_post_meta_icon,
body.single-gd_place .geodir-field-secondary_services .geodir_post_meta_icon,
body.single-gd_place .geodir-field-community_focus .geodir_post_meta_icon,
body.single-gd_place .geodir-field-experience_level .geodir_post_meta_icon,
body.single-gd_place .geodir-field-signup_form .geodir_post_meta_icon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 0 8px !important;
}

body.single-gd_place .geodir-field-primary_services .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-secondary_services .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-community_focus .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-experience_level .geodir_post_meta_icon i,
body.single-gd_place .geodir-field-signup_form .geodir_post_meta_icon i {
    color: var(--cns-gd-detail-green) !important;
    font-size: 20px !important;
}

body.single-gd_place .geodir-field-primary_services .geodir_post_meta_title,
body.single-gd_place .geodir-field-secondary_services .geodir_post_meta_title,
body.single-gd_place .geodir-field-community_focus .geodir_post_meta_title,
body.single-gd_place .geodir-field-experience_level .geodir_post_meta_title,
body.single-gd_place .geodir-field-signup_form .geodir_post_meta_title {
    display: block !important;
    margin: 0 0 4px !important;
    color: #34443a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Social icons — ensure brand glyphs render */
body.single-gd_place .cns-gd-social-icon i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", FontAwesome !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

/* Reviews tab — form + list + view all */
body.single-gd_place #reviews .geodir-comments-area,
body.single-gd_place .geodir-comments-area {
    padding: 0 !important;
}

body.single-gd_place .geodir-comments-area .comment-respond,
body.single-gd_place .geodir-comments-area #respond {
    margin-bottom: 20px !important;
    padding: 18px !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
}

body.single-gd_place .geodir-comments-area .commentlist,
body.single-gd_place .geodir-comments-area .comment-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-gd_place .geodir-comments-area .commentlist > li,
body.single-gd_place .geodir-comments-area .comment-list > li {
    margin: 0 0 12px !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-gd_place .geodir-comments-area .commentlist > li > .card,
body.single-gd_place .geodir-comments-area .comment-list > li > .card,
body.single-gd_place .geodir-comments-area .commentlist > li.comment {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    padding: 16px !important;
}

body.single-gd_place .geodir-comments-area .comment-meta a,
body.single-gd_place .geodir-comments-area .comment-author a {
    color: #2d2d2d !important;
}

body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground,
body.single-gd_place .geodir-comments-area .gd-rating-output .gd-rating-foreground i {
    color: var(--cns-gd-detail-gold) !important;
}

body.single-gd_place .geodir-comments-area .geodir-view-all-reviews,
body.single-gd_place .geodir-comments-area a.geodir-view-all-reviews,
body.single-gd_place #reviews a.btn,
body.single-gd_place #reviews .geodir-show-more a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 12px !important;
    padding: 10px 18px !important;
    background: #fff !important;
    border: 2px solid var(--cns-gd-detail-green) !important;
    border-radius: 8px !important;
    color: var(--cns-gd-detail-green) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body.single-gd_place .geodir-comments-area .geodir-view-all-reviews:hover,
body.single-gd_place #reviews a.btn:hover {
    background: var(--cns-gd-detail-green) !important;
    color: #fff !important;
}

/* Tabs — greedy nav overflow fix */
body.single-gd_place .geodir-tabs {
    overflow: visible !important;
}

body.single-gd_place .geodir-tab-head.greedy > ul.nav-tabs {
    flex-wrap: wrap !important;
    overflow: visible !important;
}

/* Extended overrides: assets/css/cns-gd-details-overrides.css */

@media (max-width: 767px) {
    body.single-gd_place .geodir-entry-header,
    body.single-gd_place.geodir-page-single .elementor-section:has(.elementor-widget-wp-widget-gd_post_title) {
        padding: 16px !important;
    }
}

.elementor-button-text {
  color: white !important;
}
