/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
:root {
    --border-list-dark-grey-section: #DBE0E5;
}
.quote-client-project {
    padding: 58px 51px 52px;
    background-color: #fff;
    border-radius: 10px;
}
.quote-client-project  blockquote {
    padding: 0;
    margin: 0;
    border: none;
}
.quote-client-project  blockquote .quote-text p {
    font-size: 23px;
    line-height: 26px;
    color: #30373F;
    margin-bottom: 21px;
    font-family: "APK Protocol", sans-serif;
}
.quote-client-project  blockquote .quote-client-title {
    font-size: 16px;
    line-height: 20px;
    color: #30373F;
    margin-bottom: 0;
    font-family: "APK Protocol", sans-serif;
}
.quote-client-project  blockquote .quote-client-name {
    font-size: 16px;
    line-height: 20px;
    color: #0076FF;
    margin-bottom: 0;
}
.project-description {
    margin-bottom: 62px;
    width: 100%;
}
.project-description .row-project{
    padding: 12px 0 9px;
    border-top: 1px solid #DBE0E5;
    display: flex;
    align-items: center;
}
.project-description .brxe-text-basic:last-child .row-project {
    border-bottom: 1px solid #DBE0E5;
}
.project-description .row-project .title-row,
.project-description .row-project .text-row {
    font-family: "APK Protocol", sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #30373F;
}
.project-description .row-project.row-sector,
.project-description .row-project.row-sections {
    padding-top: 6px;
    padding-bottom: 6px;
}

.project-description .row-project.row-sector .text-row,
.project-description .row-project.row-sections .text-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.project-description .row-project.row-sections .text-row a {
    font-size: 12px;
    line-height: 20px;
    background-color: #fff;
    color:#0076FF;
    border: 1px solid #fff;
    padding: 3px 11px 4px 9px;
    border-radius: 5px;
    font-family: "APK Protocol", sans-serif;
}
.project-description .row-project .title-row {
    color: #0076FF;
    min-width: 194px;
    margin-right: 30px;
    font-weight: 600;
}
.project-description .row-sector .text-row a{
    background-color: var(--sector_color);
    padding: 4px 11px 5px 11px;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 20px;
    font-family: "APK Protocol", sans-serif;
}
.project-content h5,
.project-content h4,
.project-content p{
    font-size: 16px;
    line-height: 20px;
    color: #30373F;
    font-family: "APK Protocol", sans-serif;
}
.project-content p {
    margin-bottom: 30px;
}
.project-content h5,
.project-content h4 {
    color: #0076FF;
    margin-bottom: 9px;
    font-weight: 600;
}
.sector-link-wrap {
    background-color: var(--sector_color);
    color: #fff;
    padding: 6px 12px 7px 9px;
    border-radius: 5px;
    width: fit-content;
    position: absolute;
    top: 19px;
    left: 19px;
}
.section-link-wrap a,
.sector-link-wrap a {
    font-size: 12px;
    line-height: 20px;
    width: 100%;
    height: 100%;
    display: block;
    color: inherit;
    background-color: inherit;
    font-family: "APK Protocol", sans-serif;

}
.section-link-wrap a{
    background-color: #fff;
    color: #0076FF;
    width: max-content;
    padding: 6px 15px 7px;
    border-radius: 5px;
}
.section-link-wrap {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 12px;
    line-height: 20px;
    font-family: "APK Protocol", sans-serif;
}
.post-loop-date{
    position: absolute;
    top: 25px;
    left: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 12px;
    line-height: 20px;
    font-family: "APK Protocol", sans-serif;
    color:#30373F;
    background: #fff;
    padding: 6px 19px 7px 15px;
    border-radius: 15px;
}
.sector-link-wrap.news-category {
    left: 168px;
    top: 25px;
    padding: 6px 15px 7px;
    background: var(--news_background_color);
    color: var(--news_color);
    border-radius: 15px;
}

/* body #wpconsent-root  .wpconsent-banner {
    padding: 40px 24px !important;
} */
/* body #wpconsent-root {
    --wpconsent-background: linear-gradient(to right,  rgba(255,255,255,1) 60%,rgba(255,255,255,1) 60%,rgba(206,229,255,1) 100%) !important;
} */

.list-blue-marker ul li::marker {
    color:#3478F6;
    font-size: 14px;
}
.list-blue-marker ul {
 padding-left:16px !important;
 list-style: disc !important;
}

@media (max-width: 767px) {
    .quote-client-project {
        padding: 30px 20px 25px;
    }
    .quote-client-project  blockquote .quote-text p {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 15px;
    }
    .project-description .row-project .title-row {
        min-width: 140px;
        margin-right: 15px;
        font-size: 14px;
    }
    .project-description .row-project .text-row {
        font-size: 14px;
    }
    .project-description .row-project.row-sections .text-row a,
    .project-description .row-project.row-sector .text-row a {
        font-size: 11px;
        padding: 3px 9px 4px 9px;
    }
    .project-content h5,
    .project-content h4,
    .project-content p{
        font-size: 14px;
        line-height: 18px;
    }
    .sector-link-wrap {
        top: 15px;
        left: 15px;
        padding: 4px 10px 5px 8px;
        font-size: 11px;
        line-height: 18px;
    }
    .section-link-wrap {
        bottom: 15px;
        left: 15px;
        font-size: 11px;
        line-height: 18px;
    }
    .section-link-wrap a {
        padding: 5px 12px 6px;
    }
}
@media(max-width:768px) {
    .section-link-wrap a, 
    .sector-link-wrap a {
        font-size: 8px;
        line-height: 14px;
    }
    .sector-link-wrap.news-category {
        left:140px;
        top: 20px;
    }
    .post-loop-date {
        top: 20px;
    }
     .sector-link-wrap.news-category a,
     .post-loop-date {
        font-size: 10px;
        line-height: 1;

     }
}

/* Center stats counters on large screens */
.counter-container:not(.animate) {
    margin: 0 auto;
}

/* Slow down timezone marquee in footer & contact popups */
.marquee-track {
    animation-duration: 50s !important;
}

/* Slow down timezone marquee in footer & contact popups */
/* Contact button pointer cursor */                                                                                                                            
#brxe-yqndlc li.top-menu-contact-item {
    cursor: pointer !important;
}

/* Project Spotlight */
/* Project Spotlight — image fills entire panel */
.spotlight-image-block {
    padding: 0 !important;
    overflow: hidden !important;
}

.spotlight-image-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: unset !important;
}

.spotlight-image-wrap .spotlight-image {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* Right panel centered vertically */
.spotlight-text-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}


/* =============================================
   Leadership Popup — slide content fix
   ============================================= */

/* Slide: row — image left, content right, both centered */
.brxe-popup-2893 .brxe-xsgwyh {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    overflow: hidden !important;
}

/* Image wrapper */
.brxe-popup-2893 .brxe-swcpkx {
    flex-shrink: 0;
    width: 35%;
    max-width: 415px;
    min-width: 150px;
    padding-bottom: 0 !important;
    padding-top: 73px;
}

/* Image: full photo, natural proportions, no cropping */
.brxe-popup-2893 .brxe-szjmbi {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Content wrapper: right column, scrollable if needed */
.brxe-popup-2893 .brxe-qnsjae {
    flex: 1;
    min-width: 0;
    max-height: 100%;
    overflow-y: auto;
}

/* Bio text full width */
.brxe-popup-2893 .brxe-gpsbzl {
    max-width: 100% !important;
}

/* Bio + LinkedIn spacing */
.brxe-popup-2893 .brxe-fldqaq {
    gap: 24px;
}

/* LinkedIn: no shrink */
.brxe-popup-2893 .brxe-atpwkh {
    flex-shrink: 0;
}

/* LinkedIn button: hide URL, show SVG */
.brxe-popup-2893 .brxe-gwpnph .brxe-hrdvhm {
    font-size: 0;
    line-height: 0;
}
.brxe-popup-2893 .brxe-gwpnph .brxe-hrdvhm svg {
    width: 54px;
    height: 54px;
}

/* Tablets: slightly narrower image */
@media (max-width: 1024px) {
    .brxe-popup-2893 .brxe-swcpkx {
        width: 30%;
    }
    .brxe-popup-2893 .brxe-fldqaq {
        flex-direction: column !important;
        gap: 16px;
    }
}

/* iPad Mini portrait & smaller (≤768px): column, square image on top */
@media (max-width: 768px) {
    .brxe-popup-2893 .brxe-xsgwyh {
        flex-direction: column !important;
        height: auto !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
    .brxe-popup-2893 .brxe-swcpkx {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1;
        max-height: 300px;
        flex-shrink: 0;
        overflow: hidden;
        padding-top: 0 !important;
    }
    .brxe-popup-2893 .brxe-szjmbi {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }
    .brxe-popup-2893 .brxe-qnsjae {
        flex-shrink: 0;
        overflow-y: visible;
    }
}

  /* Events page — video matches hero banner aspect (2000x820 = 2.44:1) */                                                                                       
  #brxe-qprnwh {
      aspect-ratio: 2000 / 820 !important;                                                                                                                       
      overflow: hidden !important;                                                                                                                             
  }
  #brxe-ppkpzo,
  #brxe-ppkpzo video {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center center !important;
  }