/*
 Theme Name:   G5 Beyot Child Theme
 Theme URI:    http://themes.g5plus.net/beyot/
 Description:  G5 Beyot Child Theme
 Author:       G5Theme
 Author URI:   http://g5plus.net
 Template:     g5-beyot
 Version:      1.4.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: 				two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
 Text Domain: 		g5-beyot
*/
/************************************************************************************
Put your custom CSS below this block :)
*************************************************************************************/
/*# sourceMappingURL=style.css.map */

/* ==========================================================================
   START: Custom ACF Investment Fields & Single Agency Layout Adjustment (V11 - Inline Styles)
   ========================================================================== */

/* --- Hide Default Info Block on Single Agency Page --- */
body.taxonomy.taxonomy-agency .ere__single-agency-summary .ere__agent-meta,
body.taxonomy.taxonomy-agency .ere__single-agency-summary .ere__agent-info > ul,
body.taxonomy.taxonomy-agency .ere__single-agency-summary .ere__agent-social {
    display: none !important;
}


/* --- Basic Styling for ACF Container (SINGLE PAGE) --- */
/* Styles for labels and progress bar are now INLINE in PHP */
body.taxonomy-agency div.custom-acf-output {
    margin-top: 30px;
    padding: 10px 0 30px 0;
    border-top: none;
    background-color: transparent;
    margin-bottom: 30px;
    clear: both;
}

/* Style the "Investment Details" Heading */
body.taxonomy-agency div.custom-acf-output h3 {
    font-size: var(--g5-h4-font-size);
    font-weight: var(--g5-h4-font-weight);
    color: var(--g5-color-heading);
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Heading Underline */
body.taxonomy-agency div.custom-acf-output h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--g5-color-accent);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* General Paragraph styling within the block */
body.taxonomy-agency div.custom-acf-output p {
    margin-bottom: 1.2em;
    line-height: 1.8;
    font-size: var(--g5-body-font-size);
    color: var(--g5-color-text-main);
    padding-left: 5px;
}
body.taxonomy-agency div.custom-acf-output p:last-of-type { margin-bottom: 0; }


/* --- Styles Specific to Agency List View (Keep These Separate) --- */
.agency-investment-details-list-item.custom-acf-output {
    margin-top: 15px; padding-top: 10px; border-top: 1px dashed var(--g5-color-border);
    clear: both; font-size: 0.9em; background: none; padding-left: 0; padding-right: 0;
    padding-bottom: 10px; border-bottom: none;
}
.agency-investment-details-list-item.custom-acf-output h3 { display: none; }
.agency-investment-details-list-item.custom-acf-output p { margin-bottom: 0.6em; line-height: 1.5; color: var(--g5-color-text-main); padding-left: 0; }
.agency-investment-details-list-item.custom-acf-output p strong {
    min-width: 100px; font-weight: 600; font-size: 1em; font-style: normal;
    color: var(--g5-color-heading); padding-right: 8px; display: inline-block; /* Added display */
}
.agency-investment-details-list-item .investment-progress-list { margin-top: 8px; padding-left: 0; }
.agency-investment-details-list-item .investment-progress-list p strong { display: none; }
.agency-investment-details-list-item .investment-progress-list .progress-bar-wrapper {
    height: 12px; border-radius: 3px; background-color: #eee; border: 1px solid #ccc;
    display: block; width: 100%; position: relative; overflow: hidden;
}
.agency-investment-details-list-item .investment-progress-list .progress-bar-inner {
     background-color: #fb6a19; line-height: 12px; height: 100%; float: left;
     /* width set by inline style */ transition: width 0.8s ease-in-out;
}
.agency-investment-details-list-item .investment-progress-list .progress-bar-text-external {
     position: absolute; right: 8px; top: 0px; line-height: 12px; font-size: 10px;
     font-weight: 500; color: #222; z-index: 2;
}

/* ==========================================================================
   END: Custom ACF Investment Fields & Single Agency Layout Adjustment (V11)
   ========================================================================== */