/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/


#page-wrapper {
    padding-bottom: 0 !important;
}

/* HEADER */
.navbar-brand img {
    width: 250px;
}
    /* `sm` applies to x-small devices (portrait phones, less than 576px)*/
    @media (max-width: 575.98px) {
        .navbar-brand img {
            width: 200px;
        }
    }
.navbar-nav .menu-item {
    padding-left: .5em !important;
    padding-right: .5em !important;
}
.navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.navbar-nav .active .nav-link {
    color: #fff !important;
}
#full-width-page-wrapper .entry-header {
    display: none !important;
}
    
/* BUTTONS */
.btn .wp-block-button__link {
    padding: 0 !important;
    background-color: transparent !important;
    background: none !important;
    border-color:  transparent !important;
}
.btn-primary:hover a {
    color: #fff !important;
}

/* AGENTS */
.content-agent p {
    margin: 0;
}
.content-agent svg {
    width: 20px !important;
    margin-right: 5px;
    background-color: #fff;    
    border-radius: 50% !important;
    padding: 2px;
}
.content-agent a,
.content-agent .uagb-icon-list__label {
    color: #fff !important;
}
.content-agent  .uagb-icon-list__wrap {
    display: block !important;
}
/* FOOTER */
footer .breadcrumb-item a {
  text-decoration: none;
  color: #fff;
}
.footer-details  {
    text-align: center !important;
}
.footer-details a,
.footer-details *,
.footer-details path {
    color: #fff !important;
    margin: 0 auto;
}
.footer-details span svg {
    width: 12px !important;
    margin-right: 10px !important;
}
/* CONTACT */
.wpcf7 {
    max-width: none !important;
}

/* AGENT */
/* Fallback utility in case Bootstrap's object-fit utilities aren't present */
.of-cover { object-fit: cover; object-position: center; }


/* Parent containers must not clip the iframe’s modal overlay */
.iframe-wrap, 
.iframe-wrap * {
  overflow: visible !important; /* only if needed—start with .iframe-wrap first */
}

/*CBB*/

/* Enforce a fixed size container */
.image-container-200 {
  width: 100%;
  height: 250px;              /* Fixed height (adjust to taste) */
  overflow: hidden;           /* Crop overflow */
  position: relative;
}

/* Make the image cover the container */
.image-container-200 img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* Crop without distortion */
  object-position: center;    /* Keep subject centered */
  display: block;
}
