img {
    width: 100%;
    height: auto;
}

iframe {
    background-size: cover;
    background-position: center center;
}

.office-location .location-wrap .location-box .image img {
    width: auto;
}

.verified-icon1 {
    width: 30px !important;
}

.video-section iframe {
    background-size: cover;
    background-position: center center;
}

.home-slider .slide:not(.slick-slide) .slide__content--headings * {
    opacity: 1;
}

.home-slider .slide:not(.slick-slide) .row {
    height: 100%;
    align-items: center;
}

.owl-carousel:not(.owl-loaded) {
    display: block !important;
}

.owl-carousel>a {
    width: 16.33% !important;
    display: inline-flex;
    margin: 0px auto;
}

.owl-carousel>a>img {
    margin: 0px auto;
}

.owl-carousel>a:nth-child(n+7) {
    display: none;
}

.tab_container>div#real_state_news {
    display: block;
}

.inner-banner img {
    min-height: 600px;
}

.properties-wrap.grid-view .property-cart .property-details-wrap .details img {
    width: 24px;
}

.properties-wrap.grid-view .property-cart .property-details-wrap .covered img {
    width: auto;
}

@media (min-width:768px) and (max-width:1024px) {
    .inner-banner img {
        min-height: 289px;
    }
}

@media (max-width:767px) {
    .owl-carousel>a {
        width: 49% !important;
    }

    .owl-carousel>a:nth-child(n+3) {
        display: none;
    }

    .inner-banner img {
        height: 146px;
        min-height: 146px;
    }

    html:not(.w3_js) .text-image .image img {
        min-height: 235px !important;
    }
}

@media (max-width:575px) {
    .home-slider .slide:not(.slick-slide)>.row>.col-md-6>.slide__img {
        top: 102px;
        position: relative;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn .5s ease-in 1 forwards;
}

.is-paused {
    animation-play-state: paused;
}

@media screen and (min-width: 769px) {
    .footer-pages-banner {
        background-image: url('../images/home.webp');
    }
}

@media screen and (max-width: 768px) {
    .footer-pages-banner {
        background: linear-gradient(#112c4a, #4e555f);
    }
}

.cities-cta a {
    text-align: center;
    margin: 10px 0;
    padding: 25px 0;
    background-size: cover;
    display: block;
    color: #fff;
}

@media only screen and (max-width: 396px) {
    .cities-cta a {
        font-size: 11px;
    }
}

.cfu-container {
    max-width: 550px;
    background: #fff;
    margin: 40px auto;
    padding: 30px 30px 40px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    border-radius: 6px;
}

.cfu-header {
    text-align: center;
    background-color: #315d80;
    color: #fff;
    padding: 20px 0;
    margin: -30px -30px 30px;
    font-size: 26px;
    border-radius: 6px 6px 0 0;
}

.cfu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cfu-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    position: relative;
}

.cfu-label {
    margin-bottom: .2rem;
    text-align: left;
    font-family: 'Helvetica Rounded Bold';
    color: #315d80;
    font-size: .8rem;
    text-transform: capitalize;
    font-size: .8rem;
    font-weight: bold;
}

.cfu-input,
.cfu-select {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.cfu-input:focus,
.cfu-select:focus {
    border-color: #315d80;
}

.cfu-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.cfu-button {
    width: 100%;
    background-color: #315d80;
    color: white;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cfu-button:hover {
    background-color: #23445f;
}

@media (max-width: 600px) {
    .cfu-row {
        flex-direction: column;
    }
}

/* ---- Layout fixes to match design ---- */
.tabs_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.tabs.month-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 240px;
}

.tabs.month-tabs .rypm-heading {
    margin-bottom: 10px;
}

.tabs.month-tabs a {
    text-decoration: none;
}

.tabs.month-tabs li {
    display: block;
    background: #f5f7fa;
    border: 1px solid #e0e6ef;
    color: #315D80;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
}

.tabs.month-tabs li.active {
    background: #315D80;
    color: #ffffff;
}

.tab_container {
    flex: 1;
    min-width: 260px;
}

.tab_container .price-table .table {
    background: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .06);
    border-radius: 8px;
    overflow: hidden;
}

.tab_container .price-table .table th,
.tab_container .price-table .table td {
    vertical-align: middle;
}

/* Keep only the active tab content visible by default */
.rypm-tab .tab_content {
    display: none;
}

.rypm-tab .tab_content.active,
.rypm-tab .tab_content[style*="display: block"] {
    display: block;
}

/* Brand logo row tightening and alignment */
#media-slider.owl-carousel>a {
    align-items: center;
    justify-content: center;
}

#media-slider.owl-carousel>a>img {
    max-height: 34px;
    width: auto;
}

/* Section spacing harmonization */
.component-conetnt {
    padding-top: 30px;
    padding-bottom: 30px;
}

.rypm-heading h2 {
    font-weight: 700;
}

/* Tenants employed logos grid fallback before carousel init */
#tenants-employed.owl-carousel:not(.owl-loaded)>div {
    display: inline-block;
    width: 15%;
    margin: 10px 1.5%;
    text-align: center;
}

#tenants-employed .image img {
    width: auto;
    max-height: 42px;
}

/* Cards avatar images */
.ourteam .image img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .tabs.month-tabs {
        width: 100%;
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    .tabs.month-tabs li {
        white-space: nowrap;
        margin-bottom: 0;
    }
}

/* Our Team block: left content + right people slider */
.our-team .row {
    align-items: center;
}

.our-team .conent {
    max-width: 420px;
}

.our-team .conent h2 {
    font-weight: 700;
    color: #315D80;
}

.our-team .conent .mw-320 {
    max-width: 420px;
}

.our-team .home-demo {
    padding-left: 10px;
}

.our-team .owl-carousel .item {
    padding: 10px 5px;
}

.our-team .content-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    padding: 16px 12px;
}

.our-team .content-wrap .image {
    width: 120px;
    height: 120px;
    margin: 8px auto 12px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.our-team .content-wrap .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-team .content-wrap h5 {
    margin: 6px 0 2px;
    font-weight: 700;
    font-size: 1rem;
}

.our-team .content-wrap h6 {
    margin: 0;
    font-size: .85rem;
    color: #6b7a90;
}

.our-team .owl-dots {
    margin-top: 6px;
}

@media (max-width: 991px) {
    .our-team .conent {
        max-width: 100%;
        margin-bottom: 16px;
        text-align: left;
    }
    h1.mb-hidden {
        display: none;
    }

    .banner-form {
        overflow: scroll;
    }
}

/* === Unique Modal Background === */
.cus-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999999;
}
.cus-modal-overlay.cus-open { display: flex; }
.cus-body-lock { overflow: hidden; }

.cus-modal-box {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  width: 92%;
  max-width: 440px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  animation: cus-fadeIn 0.25s ease-out;
}
@keyframes cus-fadeIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cus-modal-title {
  margin: 0 0 12px 0;
  text-align: center;
  color: #315d80;
  font-size: 22px;
  font-weight: 700;
}

.cus-modal-form {
  display: grid;
  gap: 12px;
}

.cus-field {
  display: grid;
  gap: 6px;
}

.cus-label {
  font-size: 14px;
  color: #24485f;
}

.cus-input, .cus-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfd6de;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease;
}
.cus-input:focus, .cus-textarea:focus {
  border-color: #315d80;
}

.cus-error {
  display: none;
  font-size: 13px;
  color: #d93025;
  line-height: 1.3;
}
.cus-invalid .cus-input,
.cus-invalid .cus-textarea {
  border-color: #d93025;
  background: #fff7f7;
}
.cus-invalid .cus-error {
  display: block;
}

.cus-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.cus-submit {
  background: #315d80;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
}
.cus-submit[disabled] { opacity: .7; cursor: not-allowed; }
.cus-submit:hover:not([disabled]) { background: #24485f; }

.cus-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #6b7280;
  cursor: pointer;
}

/* Optional helper for trigger appearance (not required) */
.cus-trigger-btn {
  margin: 20px;
  padding: 10px 14px;
  background: #315d80; color: #fff; border: 0; border-radius: 6px; cursor: pointer;
}

/* ===== Cookie Popup (ccp- namespace) ===== */
.ccp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  color: #333;
  border-top: 2px solid #315d80;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999999;
  padding: 15px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  animation: ccp-fadeIn 0.4s ease;
}

@keyframes ccp-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.ccp-cookie-text {
  font-size: 15px;
  line-height: 1.4;
  color: #24485f;
  flex: 1 1 250px;
  margin-right: 10px;
}

.ccp-cookie-btn {
  background-color: #315d80;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.ccp-cookie-btn:hover {
  background-color: #24485f;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .ccp-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
  }
  .ccp-cookie-text {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
  .ccp-cookie-btn {
    width: 100%;
    text-align: center;
  }
}

.text-image .image.articles img{
    max-height: 400px;
        border-radius: 1rem;
    object-fit: cover;
}

.counter-wrap.articles {
    text-align: left;
}

.artl-details {
    display: flex
;
    justify-content: space-between;
    width: 100%;
    padding-top: 30px;
}

.artl-details p {
    color: #315d80;
    font-size: .75rem;
    font-weight: 600;
    margin: 0;
    min-width: 140px;
    padding-right: 28px;
    position: relative;
    text-overflow: clip;
    white-space: nowrap;
}