/* ==========================================================
   03-blocks.css
   ACF Flexible Content Block Styles
   
   TABLE OF CONTENTS:
   1. Banner (Hero) Block
   2. Headline Text Block
   3. Learn More (Button) Block
   4. Butterfly Box Block
   5. One Column Image (Left/Right) Blocks
   6. Background Image Block
   7. Center Image Box Block
   8. Slider Text Box Blocks
   9. Image Gallery Slider Blocks
   10. Three Stack Box Slider Blocks
   11. Video Player Block
   12. Map Shortcode Block
   13. Contact Form Block
   14. Empty Block
   15. Proof Bar - Logo Grid
   16. Projects Grid
   17. Left-Right Scrolling Slider
   18. Banner Blocks (2, 3, 4) - Shared Styles
   19. Text/Video/Box One
   20. Two Image/Text/Button
   21. Shared Button Style (Gaspar)
   22. Headline/Image One
   23. Three Column Text
   24. Three Images Spaced
   25. Headline/Two Image
   26. Text & Two Right Image
   27. Slider Image
   28. Image/Box
   29. Two Image/Text/Box/Button
   30. Text & Image Background
   31. Text & Two Right Image - Phillips
   32. Text & Image Background - Phillips
   33. FAQ Block
   34. Headline Text Background Block

   
   GLOBAL SPACING: Lines 85-155 (6vh desktop / 4vh mobile — excludes .top_image)
   ========================================================== */

/* ==========================================================
   SHARED BLOCK STYLES
   ========================================================== */

/* Overlay - used by multiple blocks */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* Block spacing */
.space {
  margin: 6vh 0;
}

@media (max-width: 1024px) {
  .space {
    margin: 4vh 0 !important;
  }
}

.space-p {
  padding: 6vh 0;
}

@media (max-width: 1024px) {
  .space-p {
    padding: 4vh 0 !important;
  }
}

/* ==========================================================
   GLOBAL BLOCK SPACING
   Apply consistent vertical spacing to all ACF blocks
   Location: 03-blocks.css (after .space rules)
   ========================================================== */
.learn_more,
.type_picture_butteryfly_box,
.background_image,
.center_image_box,
.sildertex_box,
.image_gallery_slider_top,
.image_gallery_slider_bottom,
.three_stack_box_slider_one,
.three_stack_box_slider_two,
.map_shortcode,
.contact_form_block,
.proof_bar,
.faq-block,
.team-box,
.headlineimage_one,
.three-column-block,
.three-images-block,
.headline_images-block,
.image-box,
.text-two-image-1,
.text-two-image-phillips,
.text_image_background,
.text_image_background_phillips,
.two-image-text-bottom-section,
.textvideobox_one,
.slider-left-right_3_scrolling,
.slider_image {
  margin: 6vh 0;
}

@media (max-width: 767px) {
  .learn_more,
  .type_picture_butteryfly_box,
  .background_image,
  .center_image_box,
  .sildertex_box,
  .image_gallery_slider_top,
  .image_gallery_slider_bottom,
  .three_stack_box_slider_one,
  .three_stack_box_slider_two,
  .map_shortcode,
  .contact_form_block,
  .proof_bar,
  .faq-block,
  .team-box,
  .headlineimage_one,
  .three-column-block,
  .three-images-block,
  .headline_images-block,
  .image-box,
  .text-two-image-1,
  .text-two-image-phillips,
  .text_image_background,
  .text_image_background_phillips,
  .two-image-text-bottom-section,
  .textvideobox_one,
  .slider-left-right_3_scrolling,
  .slider_image {
    margin: 4vh 0;
  }
}

/* ==========================================================
   1. BANNER BLOCK
   ========================================================== */

.top_image {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.top_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;
}

.top_image .image_figure {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  z-index: 0;
}

.top_image .image_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_image .embed-video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.top_image .embed-video iframe {
    width: 100%;
    height: 56.25vw;
    min-height: 100%;
    position: absolute;
    min-width: 177.78vh;
    border: 0;
    top: 50%;
    left: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .top_image {
    height: 55vh !important;
  }
}

.top_image .row {
  width: 1500px;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  bottom: 40px;
  padding-left: 20px;
  z-index: 2;
}

@media (max-width: 1024px) {
  .top_image .row {
    bottom: 15px;
  }
}

.top_image .row > div {
  width: 580px;
  max-width: 100%;
}

.top_image * {
  color: #fff;
}

.top_image p {
  font-size: 27px;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .top_image p {
    font-size: 22px;
  }
}

.top_image h1 {
  font-size: clamp(42px, 6.5vw, 80px);
  padding-bottom: 0;
  line-height: 1;
}

@media (max-width: 1024px) {
  .top_image h1 {
    font-size: 64px;
  }
}

@media (max-width: 667px) {
  .top_image h1 {
    font-size: 54px;
  }
}


/* ==========================================================
   2. HEADLINE TEXT BLOCK
   ========================================================== */

.headlinetext .row {
  width: 1000px;
}

.btn-center {
  text-align: center;
}

/* ==========================================================
   3. LEARN MORE (BUTTON) BLOCK
   ========================================================== */

.button-block .more-button {
  text-align: center;
}


/* ==========================================================
   4. BUTTERFLY BOX BLOCK
   ========================================================== */

.type_picture_butteryfly_box {
  position: relative;
  min-height: 500px;
}

.type_picture_butteryfly_box .animatin_image_left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  z-index: 1;
}

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .animatin_image_left {
    display: none;
  }
}

.type_picture_butteryfly_box .animatin_image_left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.type_picture_butteryfly_box .animatin_image_right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .animatin_image_right {
    display: none !important;
  }
}

.type_picture_butteryfly_box .animatin_image_right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.type_picture_butteryfly_box .text_box {
  flex-basis: 50%;
  padding: 80px 90px;
}

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .text_box {
    flex-basis: 100%;
    padding: 50px 30px;
  }
}

.type_picture_butteryfly_box .image_box {
  flex-basis: 37%;
}

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .image_box {
    flex-basis: 100%;
  }
}

.type_picture_butteryfly_box .image_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================
   5. ONE COLUMN IMAGE (LEFT/RIGHT) BLOCKS
   ========================================================== */

.one_column_image_left .row {
  width: 2220px;
  max-width: 100%;
}

.one_column_image_left .text_box {
  flex-basis: 50%;
  padding: 6vh 8vh;
}

@media (max-width: 1024px) {
  .one_column_image_left .text_box {
    flex-basis: 100%;
    padding: 5vh 3vh;
  }
}

.one_column_image_left .text_box p {
  color: #070606;
}

.one_column_image_left .image_box {
  flex-basis: 50%;
}

@media (max-width: 1024px) {
  .one_column_image_left .image_box {
    flex-basis: 100%;
  }
}

.one_column_image_left .image_box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Right variant - reverses the row */
.one_column_image_left.right .row {
  flex-direction: row-reverse;
}

.one_column_image_left .text_box h4 {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-h4);
  line-height: 1.1;
  margin: 0;
  padding-top: 13px;
  padding-bottom: 10px;

}

/* ==========================================================
   6. BACKGROUND IMAGE BLOCK
   ========================================================== */

.pic-box .row {
  width: 2220px;
  max-width: 100%;
}

.pic-box .pic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ==========================================================
   7. CENTER IMAGE BOX BLOCK
   ========================================================== */

.center_image_box {
  position: relative;
}

.center_image_box .image_box {
  width: 500px;
  max-width: 100%;
  height: 500px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 1024px) {
  .center_image_box .image_box {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .center_image_box .image_box {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 567px) {
  .center_image_box .image_box {
    width: 300px;
    height: 300px;
  }
}

.center_image_box .image_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.center_image_box .animatin_image_left {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  z-index: 1;
}

@media (max-width: 1024px) {
  .center_image_box .animatin_image_left {
    display: none;
  }
}

.center_image_box .animatin_image_left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.center_image_box .animatin_image_right {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .center_image_box .animatin_image_right {
    display: none !important;
  }
}

.center_image_box .animatin_image_right img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.st-wrap {
  position: relative;
  width: 308px;
  height: 200px;
  z-index: 1;
}

@media (max-width: 1024px) {
  .st-wrap {
    height: 80px;
  }
}

.st-wrap .swiper-button-next,
.st-wrap .swiper-button-prev {
  width: 118px;
  height: auto;
}

.st-wrap .swiper-button-next:after,
.st-wrap .swiper-button-prev:after {
  display: none;
}

@media (max-width: 1024px) {
  .st-wrap .swiper-button-next,
  .st-wrap .swiper-button-prev {
    width: 80px;
  }
}


/* ==========================================================
   8. SLIDER TEXT BOX BLOCKS
   ========================================================== */

.sildertex_box .row {
  width: 1134px;
}

.sildertex_box .row > svg {
  position: absolute;
  left: 0;
  bottom: -70px;
}

@media (max-width: 767px) {
  .sildertex_box .row > svg {
    bottom: 0;
    width: 50px;
  }
}

.sildertex_box .swiper {
  padding-bottom: 70px;
}

.sildertex_box p {
  color: #000000;
}

/* Slider with image variant */
@media (max-width: 767px) {
  .sildertex_box.sildertex_box_image .swiper .swiper-pagination {
    bottom: 235px;
  }
}

.sildertex_box.sildertex_box_image .swiper-slide .text {
  flex: 1;
  padding-right: 70px;
}

@media (max-width: 1024px) {
  .sildertex_box.sildertex_box_image .swiper-slide .text {
    padding-right: 0;
    margin-bottom: 80px;
  }
}

.sildertex_box.sildertex_box_image .swiper-slide .image {
  width: 260px;
  padding-left: 70px;
  border-left: 1px solid #5d5f5f;
}

@media (max-width: 767px) {
  .sildertex_box.sildertex_box_image .swiper-slide .image {
    height: 150px;
  }
  
  .sildertex_box.sildertex_box_image .swiper-slide .image > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .sildertex_box.sildertex_box_image .swiper-slide .image {
    border: none;
    padding-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
}

@media (max-width: 1024px) {
  .sildertex_box.sildertex_box_image .swiper-slide .image img {
    padding: 0 30px;
  }
}

/* Swiper pagination bullets */
.swiper-pagination-bullet {
  background-color: #be8c67;
  width: 21px;
  height: 21px;
}


/* ==========================================================
   9. IMAGE GALLERY SLIDER BLOCKS
   ========================================================== */

.image_gallery_slider_top {
  position: relative;
}

.image_gallery_slider_top .swiper {
  padding-top: 200px;
}

@media (max-width: 1024px) {
  .image_gallery_slider_top .swiper {
    padding-top: 80px;
  }
}

.image_gallery_slider_top .st-wrap {
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  top: 0;
}

.image_gallery_slider_top .swiper-slide {
  height: 600px;
}

@media (max-width: 1024px) {
  .image_gallery_slider_top .swiper-slide {
    height: 500px;
  }
}

.image_gallery_slider_top .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image_gallery_slider_top.bottom .swiper {
  padding-top: 0;
  padding-bottom: 200px;
}

@media (max-width: 1024px) {
  .image_gallery_slider_top.bottom .swiper {
    padding-bottom: 80px;
  }
}

.image_gallery_slider_top.bottom .st-wrap {
  top: auto;
  bottom: 0;
}

.image_gallery_slider_top .swiper-button-prev,
.image_gallery_slider_top .swiper-button-next {
  position: relative;
  width: auto;
  height: auto;
  margin: 0;
  cursor: pointer;
}

.image_gallery_slider_top .swiper-button-prev::after,
.image_gallery_slider_top .swiper-button-next::after {
  display: none;
}


/* ==========================================================
   10. THREE STACK BOX SLIDER BLOCKS
   ========================================================== */

.three_stack_box_slider_one {
  position: relative;
  min-height: 500px;
  padding: 20vh 0 0;
  background-position: top center;
  background-size: cover;
}

.three_stack_box_slider_one .row {
  width: 1920px;
  max-width: 100%;
  z-index: 2;
}

.three_stack_box_slider_one .section_first,
.three_stack_box_slider_one .section_center {
  position: relative;
  z-index: 2;
}

.three_stack_box_slider_one .b-text {
  padding: 100px 150px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .b-text {
    padding: 50px 30px;
  }
}

.three_stack_box_slider_one .b-text * {
  color: #fff !important;
}

.three_stack_box_slider_one .b-image {
  flex: 1;
}

.three_stack_box_slider_one .b-image img {
  display: block;
  width: 100%;
  height: auto;
}

.three_stack_box_slider_one .section_first {
  margin-bottom: 250px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_first {
    margin-bottom: 50px;
  }
}

.three_stack_box_slider_one .section_first .b-text {
  flex-basis: 62%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_first .b-text {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_one .section_first .b-image {
  flex-basis: 38%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_first .b-image {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_one .section_center {
  margin-bottom: 250px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_center {
    margin-bottom: 50px;
  }
}

.three_stack_box_slider_one .section_center .b-text {
  flex-basis: 53%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_center .b-text {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_one .section_center .b-image {
  flex-basis: 46%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_center .b-image {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_one .section_last {
  position: relative;
  z-index: 2;
  justify-content: flex-end;
}

.three_stack_box_slider_one .section_last .swiper {
  flex-basis: 100%;
  padding-bottom: 200px;
  margin: 0;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_last .swiper {
    flex-basis: 100%;
    padding-bottom: 80px;
  }
}

.three_stack_box_slider_one .section_last .swiper .st-wrap {
  width: 100%;
  height: 200px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_last .swiper .st-wrap {
    height: 80px;
  }
}

.three_stack_box_slider_one .section_last .swiper .st-wrap > div {
  width: 300px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_last .swiper .st-wrap > div {
    height: 80px;
  }
}

.three_stack_box_slider_one .section_last .swiper-slide {
  height: 600px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_one .section_last .swiper-slide {
    height: 500px;
  }
}

.three_stack_box_slider_one .section_last .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two variant */
.three_stack_box_slider_two {
  position: relative;
  min-height: 500px;
  padding: 20vh 0 0;
  background-position: top center;
  background-size: cover;
}

.three_stack_box_slider_two .row {
  width: 1920px;
  max-width: 100%;
  z-index: 2;
}

.three_stack_box_slider_two .section_first,
.three_stack_box_slider_two .section_center,
.three_stack_box_slider_two .section_last {
  position: relative;
  z-index: 2;
}

.three_stack_box_slider_two .b-text {
  padding: 100px 150px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .b-text {
    padding: 50px 30px;
  }
}

.three_stack_box_slider_two .b-text * {
  color: #fff !important;
}

.three_stack_box_slider_two .b-image img {
  display: block;
}

.three_stack_box_slider_two .section_first {
  margin-bottom: 250px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_first {
    margin-bottom: 50px;
  }
}

.three_stack_box_slider_two .section_first .b-text {
  flex-basis: 62%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_first .b-text {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_two .section_center {
  margin-bottom: 250px;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_center {
    margin-bottom: 50px;
  }
}

.three_stack_box_slider_two .section_center .b-image {
  flex-basis: 54%;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_center .b-image {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_two .section_last * {
  color: #fff !important;
}

.three_stack_box_slider_two .title {
  text-align: center;
  margin-bottom: 20px;
}

.three_stack_box_slider_two .section_last .title {
  margin-bottom: 250px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_last .title {
    margin-bottom: 20px;
  }
}

.three_stack_box_slider_two .section_last .swiper {
  flex-basis: 50%;
  margin: 0;
  padding-bottom: 200px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_last .swiper {
    flex-basis: 100%;
  }
}

.three_stack_box_slider_two .section_last .swiper .st-wrap {
  width: 100%;
  height: 200px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_last .swiper .st-wrap {
    height: 80px;
  }
}

.three_stack_box_slider_two .section_last .swiper .st-wrap > div {
  width: 300px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_last .swiper .st-wrap > div {
    height: 80px;
  }
}

.three_stack_box_slider_two .section_last .swiper-slide {
  height: 500px;
  width: 500px;
}

@media (max-width: 1024px) {
  .three_stack_box_slider_two .section_last .swiper-slide {
    height: 400px;
    width: 400px;
  }
}

.three_stack_box_slider_two .section_last .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================
   11. VIDEO PLAYER BLOCK
   ========================================================== */

.video-block {
  position: relative;
}

/* Fallback heights — inline ACF height (when present) overrides these */
@media (max-width: 1700px) {
  .video-block {
    height: 600px;
  }
}

@media (max-width: 1024px) {
  .video-block {
    height: 400px;
  }
}

.video-block .embed-video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

.video-block .embed-video iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 60vh;
  min-width: 100vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* ==========================================================
   12. MAP SHORTCODE BLOCK
   ========================================================== */

.map_shortcode .row {
  width: 100%;
  max-width: 100%;
}

.map_shortcode iframe {
  width: 100%;
  min-height: 500px;
}


/* ==========================================================
   13. CONTACT FORM BLOCK
   ========================================================== */

.contact_form_block .row {
  max-width: 800px;
}

@media (max-width: 1024px) {
  .contact_form_block h3 {
    font-size: 55px;
  }
}

@media (max-width: 768px) {
  .contact_form_block h3 {
    font-size: 45px;
  }
}

@media (max-width: 576px) {
  .contact_form_block h3 {
    font-size: 35px;
  }
}

.contact_form_block .gform_title {
  display: none;
}

.gform_footer {
  margin-top: 50px !important;
  justify-content: center !important;
}


/* ==========================================================
   14. EMPTY BLOCK
   No styles needed - outputs nothing
   ========================================================== */

/* ==============================
   15. PROOF BAR - LOGO GRID
   ============================== */

.proof_bar {
  background: #fafafa;
  padding: 18px 0 0;
}

.proof_bar .proof_bar_text {
  width: 200px;
  margin-right: 50px;
  padding: 20px 30px;
}

@media (max-width: 1024px) {
  .proof_bar .proof_bar_text {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
  .proof_bar .proof_bar_text > div {
    width: 100%;
  }
}

.proof_bar .proof_bar_text p {
  font-family: "Sabon", serif;
  font-weight: 400;
  font-size: 26px;
  color: #2d2d2d;
  line-height: 0.9;
}

.proof_bar .proof_bar_text * {
  padding-bottom: 0;
}

.proof_bar .proof_bar_slider {
  justify-content: center;
  flex-flow: wrap;
  transition: all 0.5s ease;
  display: flex;
  margin: 0 -1%;
  width: 102%;
}

.proof_bar .proof_bar_slider > * {
  width: 14.6666666667%;
  margin: 0 1% 1.1666666667em;
}

.team_items-grid .project-post img {
  transition: transform 0.5s ease-in-out;
}

.proof_bar .proof_bar_slider .proof_bar_slider-item {
  height: 100px;
  padding: 5px 0;
}

@media (max-width: 767px) {
  .proof_bar .proof_bar_slider .proof_bar_slider-item {
    height: 70px;
    padding: 5px 5px;
  }
}

.proof_bar .proof_bar_slider .proof_bar_slider-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ======================================
   16. PROJECTS GRID
   ====================================== */

.team_items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

@media (max-width: 768px) {
  .team_items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team_items-grid {
    grid-template-columns: repeat(1, 400px);
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .team_items-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.team_items-grid .project-post {
  height: 336px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: block;
  text-decoration: none;
}

.team_items-grid .project-post .info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.team_items-grid .project-post .info > div {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: all 0.5s ease;
}

.team_items-grid .project-post .info > div h3 {
  color: #fff;
  margin: 0;
  padding-bottom: 5px;
}

.team_items-grid .project-post .info > div span {
  color: #fff;
}

.team_items-grid .project-post:hover .info {
  opacity: 1;
  visibility: visible;
}

.team_items-grid .project-post:hover .info > div {
  top: 50%;
}

@media (max-width: 1024px) {
  .box-projects .team_items-grid .project-post .info {
    opacity: 1;
    visibility: visible;
  }
}

.box-projects .team_items-grid .project-post .info > div {
  top: 50% !important;
}

/* Projects Fancybox Popup Content */
.projects-content {
  background: #f2f2f2;
  flex-direction: row;
  align-items: center;
  padding: 63px;
}

@media (max-width: 1024px) {
  .projects-content {
    padding: 36px;
    flex-direction: column;
  }
}

.projects-content .projects-content-text {
  flex: 1;
}

@media (max-width: 1024px) {
  .projects-content .projects-content-text {
    margin-bottom: 20px;
  }
}

.projects-content .projects-content-text h2,
.projects-content .projects-content-text h3,
.projects-content .projects-content-text h4,
.projects-content .projects-content-text h5,
.projects-content .projects-content-text h6 {
  color: #000;
  font-size: 64px;
  font-weight: 700;
  line-height: 74px;
  padding-bottom: 30px;
}

@media (max-width: 768px) {
  .projects-content .projects-content-text h2,
  .projects-content .projects-content-text h3,
  .projects-content .projects-content-text h4,
  .projects-content .projects-content-text h5,
  .projects-content .projects-content-text h6 {
    font-size: 24px;
    line-height: 37px;
    padding-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .projects-content .projects-content-text h2,
  .projects-content .projects-content-text h3,
  .projects-content .projects-content-text h4,
  .projects-content .projects-content-text h5,
  .projects-content .projects-content-text h6 {
    font-size: 22px;
    line-height: 35px;
  }
}

.projects-content .projects-content-text p strong {
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 2.88px;
}

.projects-content .projects-content-photo {
  flex-basis: 45%;
  text-align: right;
  margin-left: 100px;
}

@media (max-width: 1024px) {
  .projects-content .projects-content-photo {
    flex-basis: 100%;
    margin-left: 0;
  }
}

.projects-content .projects-content-photo img {
  max-width: 100%;
  height: auto;
}


/* =======================================
   17. LEFT-RIGHT SCROLLING SLIDER
   ======================================= */

.slider-left-right_3_scrolling {
  padding: 60px 0;
  background: #f5f5f5;
}

.slider-left-right_3_scrolling .row {
  position: relative;
}

.slider-left-right_3_scrolling .swiper-container {
  padding-bottom: 50px;
}

.slider-left-right_3_scrolling .swiper-slide {
  display: flex;
  align-items: center;
  min-height: 400px;
}

@media (max-width: 768px) {
  .slider-left-right_3_scrolling .swiper-slide {
    flex-direction: column;
    min-height: auto;
  }
}

.slider-left-right_3_scrolling .slide_left {
  flex-basis: 50%;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .slider-left-right_3_scrolling .slide_left {
    flex-basis: 100%;
    padding-right: 0;
    padding-bottom: 30px;
  }
}

.slider-left-right_3_scrolling .slide_left h2,
.slider-left-right_3_scrolling .slide_left h3 {
  margin-bottom: 20px;
}

.slider-left-right_3_scrolling .slide_right {
  flex-basis: 50%;
  padding-left: 40px;
  border-left: 1px solid #ddd;
}

@media (max-width: 768px) {
  .slider-left-right_3_scrolling .slide_right {
    flex-basis: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #ddd;
    padding-top: 30px;
  }
}

.slider-left-right_3_scrolling .button_blue {
  display: inline-block;
  padding: 12px 30px;
  background: #102342;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.slider-left-right_3_scrolling .button_blue:hover {
  background: #1a3a6e;
}

.slider-left-right_3_scrolling .swiper-pagination {
  bottom: 0;
}

.slider-left-right_3_scrolling .swiper-button-prev,
.slider-left-right_3_scrolling .swiper-button-next {
  color: #102342;
}

@media (max-width: 768px) {
  .slider-left-right_3_scrolling .swiper-button-prev,
  .slider-left-right_3_scrolling .swiper-button-next {
    display: none;
  }
}


.space-p {
  padding: 8vh 0;
}

@media (max-width: 1024px) {
  .space-p {
    padding: 5vh 0 !important;
  }
}


/* =======================================
   19. TEXT/VIDEO/BOX ONE
   ======================================= */

.text-image-box-one {
  overflow: hidden;
  position: relative;
  padding-top: 8vh;
}

@media (max-width: 1440px) {
  .text-image-box-one {
    padding-top: 6vh;
  }
}

@media (max-width: 1024px) {
  .text-image-box-one {
    padding-top: 4vh;
  }
}

@media (max-width: 768px) {
  .text-image-box-one {
    padding-top: 3vh;
  }
}

.text-image-box-one .row {
  width: 94%;
  max-width: 1600px;
  margin: 0 auto;
}

.text-image-box-one .items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .text-image-box-one .items {
    display: block;
  }
}

.text-image-box-one .image,
.text-image-box-one .embed-video {
  max-width: 75%;
  line-height: 0;
  margin-left: auto;
  flex-basis: 60%;
}

@media (max-width: 1024px) {
  .text-image-box-one .image,
  .text-image-box-one .embed-video {
    max-width: 100%;
    margin: 0 auto;
  }
}

.text-image-box-one .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-image-box-one .embed-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

.text-image-box-one:before {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 30%;
  content: "";
  background: rgba(199, 224, 244, 0.29);
}

@media (max-width: 1024px) {
  .text-image-box-one:before {
    height: 35%;
    width: 75%;
  }
}

@media (max-width: 768px) {
  .text-image-box-one:before {
    height: 55%;
    width: 90%;
  }
}

@media (max-width: 567px) {
  .text-image-box-one:before {
    height: 60%;
    width: 100%;
  }
}

.text-image-box-one .text {
  margin-bottom: 60px;
  max-width: 1410px;
  margin-left: 60px;
  flex-basis: 35%;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .text-image-box-one .text {
    margin-bottom: 20px;
    margin-left: 30px;
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .text-image-box-one .text {
    margin-bottom: 10px;
  }
}

.text-image-box-one .text h3 {
  color: #000;
  font-weight: 300;
  line-height: normal;
}


/* =======================================
   20. TWO IMAGE/TEXT/BUTTON
   ======================================= */
 
 .two-image-text-button {
  padding: 4vh 0;
}

.two-image-text-button .image-left {
  max-width: 800px;
  width: 100%;
}

.two-image-text-button .image-left img {
  width: 100%;
  height: auto;
}

.two-image-text-button .text-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0px;
}

@media (max-width: 1024px) {
  .two-image-text-button .text-image {
    display: block;
    margin-top: 20px;
  }
}

.two-image-text-button .text-image .text {
  max-width: 623px;
  width: 100%;
  flex: 1;
  margin-left: 10%;
  padding-top: 50px;
  padding-right: 40px;
  padding-bottom: 20px;
}

@media (max-width: 1440px) {
  .two-image-text-button .text-image .text {
    margin-left: 5%;
    padding-top: 23%;
  }
}

@media (max-width: 1024px) {
  .two-image-text-button .text-image .text {
    padding-top: 10px;
    max-width: 100%;
    margin-left: 0;
    padding-left: 6%;
    padding-right: 6%;
  }
}

.two-image-text-button .text-image .text h3 {
  font-weight: 300;
}


.two-image-text-button .text-image .image-right {
  flex-basis: 748px;
}

@media (max-width: 1366px) {
  .two-image-text-button .text-image .image-right {
    flex-basis: 550px;
  }
}

@media (max-width: 1024px) {
  .two-image-text-button .text-image .image-right {
    flex-basis: 100%;
  }
}

.two-image-text-button .text-image .image-right img {
  height: auto;
  max-height: 1104px;
  width: 100%;
  object-fit: cover;
}

/* ------------------------------
   Banner (Gallery variant)
   Note: Uses shared .top_image styles from Gaspar
   Add .gallery-banner for any site-specific overrides
------------------------------ */

.gallery-banner {
  /* Add any Gallery-specific banner overrides here */
}


/* ==============================
   22. HEADLINE/IMAGE ONE
   ============================== */

.headlineimage_one {
  position: relative;
  overflow: hidden;
}

.headlineimage_one .overlay-text {
  width: 740px;
  max-width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 20px 100px 180px;
  position: relative;
  z-index: 1;
  right: 20px;
}

@media (max-width: 1024px) {
  .headlineimage_one .overlay-text {
    height: auto !important;
    min-height: 400px;
    padding: 0px 20px 10px 10px;
  }
}

.headlineimage_one .overlay-text * {
  color: #fff;
}

.headlineimage_one .pic-figure {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 900px;
  z-index: 0;
}

@media (max-width: 1024px) {
  .headlineimage_one .pic-figure {
    position: relative;
    width: 100%;
    height: 400px;
  }
}

.headlineimage_one .pic-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==============================
   23. THREE COLUMN TEXT
   ============================== */

.three-column-block {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .three-column-block {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
  }
}

.three-column-block .three-column-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.three-column-block .three-column-items .three-column-item {
  width: 33.3%;
  padding: 0 30px;
  position: relative;
}

@media (max-width: 1024px) {
  .three-column-block .three-column-items .three-column-item {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .three-column-block .three-column-items .three-column-item {
    width: 100%;
    margin-bottom: 30px;
  }
}

.three-column-block .three-column-items .three-column-item:before {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: #707070;
}

@media (max-width: 768px) {
  .three-column-block .three-column-items .three-column-item:before {
    right: 0;
    left: 0;
    top: auto;
    bottom: -10px;
    width: 100%;
    height: 1px;
  }
}

.three-column-block .three-column-items .three-column-item p {
  line-height: 1.5;
}

.three-column-block .three-column-items .three-column-item:last-child:before {
  display: none;
}


/* ==============================
   24. THREE IMAGES SPACED
   ============================== */

.three-images-block {
  padding: 40px 0;
}

.three-images-block .image-1 {
  text-align: right;
}

.three-images-block .image-1 > div {
  width: 60%;
  height: 804px;
  display: inline-block;
}

@media (max-width: 1024px) {
  .three-images-block .image-1 > div {
    width: 100%;
    height: 400px;
  }
}

.three-images-block .image-2 {
  text-align: left;
  margin-top: -200px;
}

@media (max-width: 1024px) {
  .three-images-block .image-2 {
    margin-top: 20px;
  }
}

.three-images-block .image-2 > div {
  width: 35%;
  height: 870px;
  display: inline-block;
}

@media (max-width: 1024px) {
  .three-images-block .image-2 > div {
    width: 100%;
    height: 400px;
  }
}

.three-images-block .image-3 {
  text-align: right;
  margin-top: -200px;
  margin-right: 100px;
}

@media (max-width: 1024px) {
  .three-images-block .image-3 {
    margin-top: 20px;
    margin-right: 0;
  }
}

.three-images-block .image-3 > div {
  width: 30%;
  height: 804px;
  display: inline-block;
}

@media (max-width: 1024px) {
  .three-images-block .image-3 > div {
    width: 100%;
    height: 400px;
  }
}

.three-images-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==============================
   25. HEADLINE/TWO IMAGE
   ============================== */

.headline_images-block {
  padding: 60px 0;
}

.headline_images-block .flex {
  display: flex;
  flex-wrap: wrap;
}

.headline_images-block .headline-left {
  flex-basis: 50%;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-left {
    flex-basis: 100%;
  }
}

.headline_images-block .headline-left .text {
  width: 100%;
  max-width: 100%;
  margin-bottom: 150px;
  padding-left: 100px;
  padding-right: 50px;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-left .text {
    width: 100%;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.headline_images-block .headline-left p,
.headline_images-block .headline-right p {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.headline_images-block .headline-left .image-1 {
  position: relative;
  padding: 0 0 100px 100px;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-left .image-1 {
    padding: 20px;
  }
}

.headline_images-block .headline-left .image-1 img {
  width: 100%;
  height: auto;
}

.headline_images-block .headline-right {
  flex-basis: 50%;
  margin-top: 50px;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-right {
    flex-basis: 100%;
    margin-top: 0;
  }
}

.headline_images-block .headline-right .image-2 {
  position: relative;
  padding: 100px 100px 0 0;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-right .image-2 {
    padding: 20px;
  }
}

.headline_images-block .headline-right .image-2 img {
  width: 100%;
  height: auto;
}

.headline_images-block .headline-right .text {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-right .text {
    min-height: 1px;
    padding: 20px;
  }
}

.headline_images-block .headline-right .text > div {
  width: 400px;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .headline_images-block .headline-right .text > div {
    width: 100%;
  }
}

.headline_images-block .headline-button {
  text-align: center;
  margin-top: 40px;
}

/* ==============================
   26. TEXT & TWO RIGHT IMAGE
   ============================== */

.text-two-image-1.text-two-image-2 {
  padding: 60px 0;
}

.text-two-image-1.text-two-image-2 .row1050 {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-two-image-1.text-two-image-2 .row1050.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.text-two-image-1.text-two-image-2 .text {
  flex-basis: 40%;
  padding: 100px 40px 100px 0px;
}

@media (max-width: 1024px) {
  .text-two-image-1.text-two-image-2 .text {
    flex-basis: 100%;
    padding: 20px 0;
  }
}

@media (max-width: 767px) {
  .text-two-image-1.text-two-image-2 .text {
    padding: 10px 0;
  }
}

.text-two-image-1.text-two-image-2 .text h1,
.text-two-image-1.text-two-image-2 .text h2,
.text-two-image-1.text-two-image-2 .text h3,
.text-two-image-1.text-two-image-2 .text h4,
.text-two-image-1.text-two-image-2 .text h5,
.text-two-image-1.text-two-image-2 .text h6 {
  font-weight: 400;
}

.text-two-image-1.text-two-image-2 .images {
  flex-basis: 60%;
  position: relative;
  padding-bottom: 300px;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .text-two-image-1.text-two-image-2 .images {
    flex-basis: 100%;
    padding-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .text-two-image-1.text-two-image-2 .images {
    padding-bottom: 20px;
  }
}

.text-two-image-1.text-two-image-2 .image {
  width: 100%;
  height: 635px;
}

@media (max-width: 767px) {
  .text-two-image-1.text-two-image-2 .image {
    height: 300px;
  }
}
.text-two-image-1.text-two-image-2 .image img {
  transition: transform 0.5s ease-in-out;
}
.text-two-image-1.text-two-image-2 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-two-image-1.text-two-image-2 .image-two {
  width: 300px;
  height: 300px;
  position: relative;
  margin-top: 20px;
  margin-left: 0;
}

@media (min-width: 1200px) {
  .text-two-image-1.text-two-image-2 .image-two {
    position: absolute;
    bottom: 0;
    left: -300px;
    margin-top: 0;
  }
}

@media (max-width: 1024px) {
  .text-two-image-1.text-two-image-2 .image-two {
    position: static;
    width: 100%;
    height: 300px;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .text-two-image-1.text-two-image-2 .image-two {
    bottom: 0;
    left: 0px;
    position: static;
    margin-top: 20px;
  }
}


/* ==============================
   27. SLIDER IMAGE
   ============================== */

.slider-page {
  padding: 60px 0;
  overflow: hidden;
}

.slider-page > h2 {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 3.1px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.slider-page > h2:before {
  display: none;
}

.slider-page .swiper-wrapper {
  display: flex;
}

.slider-page .swiper-slide {
  height: 836px;
  width: 1100px;
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .slider-page .swiper-slide {
    width: 800px;
    height: 500px;
  }
}

@media (max-width: 1023px) {
  .slider-page .swiper-slide {
    width: 720px;
    height: 400px;
  }
}

@media (max-width: 767px) {
  .slider-page .swiper-slide {
    width: 100%;
    height: 300px;
  }
}

.slider-page .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-page .swiper-button-next,
.slider-page .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.slider-page .swiper-button-next:after,
.slider-page .swiper-button-prev:after {
  font-size: 20px;
  color: #fff;
}

@media (max-width: 767px) {
  .slider-page .swiper-button-next,
  .slider-page .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .slider-page .swiper-button-next:after,
  .slider-page .swiper-button-prev:after {
    font-size: 16px;
  }
}
/* ==============================
   28. IMAGE/BOX
   ============================== */

.image-box {
  padding-bottom: 10.7vh;
  position: relative;
}

@media (max-width: 1024px) {
  .image-box {
    padding-bottom: 9vh;
  }
}

.image-box:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 90%;
  background: rgba(160, 124, 49, 0.15);
  z-index: -1;
}

.image-box .image {
  max-width: 82%;
}

.image-box .image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
}


/* ==============================
   29. TWO IMAGE/TEXT/BOX/BUTTON
   ============================== */
.two-image-text-bottom-section {
  padding: 8vh 0 0;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section {
    padding: 6vh 0 0;
  }
}

.two-image-text-bottom-section .two-image-wrapper {
  display: flex;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section .two-image-wrapper {
    flex-wrap: wrap;
  }
}

.two-image-text-bottom-section .two-image-wrapper .left-block,
.two-image-text-bottom-section .two-image-wrapper .right-block {
  flex-basis: 50%;
  max-width: 50%;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section .two-image-wrapper .left-block,
  .two-image-text-bottom-section .two-image-wrapper .right-block {
    margin-bottom: 20px;
    flex-basis: 100%;
    max-width: 100%;
  }
}

.two-image-text-bottom-section .two-image-wrapper .left-block figure {
  margin-right: -100px;
  position: relative;
  bottom: 50px;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section .two-image-wrapper .left-block figure {
    bottom: 0px;
    margin-right: 0px;
  }
}

.two-image-text-bottom-section .two-image-wrapper .left-block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-image-text-bottom-section .two-image-wrapper .right-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 124, 49, 0.15);
  background-blend-mode: multiply;
  mix-blend-mode: multiply;
}

.two-image-text-bottom-section .two-image-wrapper .right-block .text {
  max-width: 600px;
  color: #fff;
  padding: 20px 10px 20px 140px;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section .two-image-wrapper .right-block .text {
    padding: 40px 20px;
  }
}

.two-image-text-bottom-section .two-image-wrapper .right-block .text p,
.two-image-text-bottom-section .two-image-wrapper .right-block .text h1,
.two-image-text-bottom-section .two-image-wrapper .right-block .text h2,
.two-image-text-bottom-section .two-image-wrapper .right-block .text h3,
.two-image-text-bottom-section .two-image-wrapper .right-block .text h4,
.two-image-text-bottom-section .two-image-wrapper .right-block .text h5 {
  color: #000;
  font-weight: 300;
}

.two-image-text-bottom-section .two-image-wrapper .right-block .text .button {
  font-family: "SourceSans3";
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.4px;
  padding: 12px 70px 12px 30px;
  position: relative;
  display: inline-block;
  margin: 15px 0;
  text-decoration: none;
  background: #be8c67;
  -webkit-transition: all 0.3s ease;
  -khtml-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-transform: uppercase !important;
  text-align: center;
}

.two-image-text-bottom-section .two-image-wrapper .right-block .text .button:hover {
  color: #FFF;
}

@media (max-width: 768px) {
  .two-image-text-bottom-section .two-image-wrapper .right-block .text .button {
    margin-top: 20px;
  }
}

.two-image-text-bottom-section .image-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 150px;
}

@media (max-width: 1024px) {
  .two-image-text-bottom-section .image-wrapper {
    align-items: center;
    justify-content: center;
    padding: 0px;
  }
}

.two-image-text-bottom-section .image-wrapper .image img {
  width: 100%;
  height: auto;
}

/* ==============================
   30. TEXT & IMAGE BACKGROUND   
   ============================== */

.text_image_background {
  padding: 60px 0;
}

.text_image_background > h2 {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 3.1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.text_image_background > h2:before {
  display: none;
}

.text_image_background .text_image_background_items {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 50px;
}

@media (max-width: 767px) {
  .text_image_background .text_image_background_items {
    margin-bottom: 15px;
    padding-bottom: 20px;
  }
}

/* Decorative background pattern - right side */
.text_image_background .text_image_background_items:before {
  content: "";
  position: absolute;
  top: 65px;
  bottom: -35px;
  right: 6vw;
  width: 38%;
  background: rgba(121, 133, 112, 0.15);
  /* Note: Original uses background-image. Update URL or use solid color */
}

@media (max-width: 1600px) {
  .text_image_background .text_image_background_items:before {
    width: 40%;
    right: 2vw;
  }
}

@media (max-width: 1400px) {
  .text_image_background .text_image_background_items:before {
    width: 42%;
    right: 0px;
  }
}

@media (max-width: 1200px) {
  .text_image_background .text_image_background_items:before {
    width: 45%;
    right: 0px;
  }
}

@media (max-width: 768px) {
  .text_image_background .text_image_background_items:before {
    display: none;
  }
}

/* Decorative background pattern - left side (reversed) */
.text_image_background .text_image_background_items.reverse:before {
  content: "";
  position: absolute;
  top: 65px;
  bottom: 0;
  left: 0;
  right: auto;
  width: 82%;
  background: rgba(121, 133, 112, 0.2);
}

@media (max-width: 1600px) {
  .text_image_background .text_image_background_items.reverse:before {
    width: 88%;
  }
}

@media (max-width: 1400px) {
  .text_image_background .text_image_background_items.reverse:before {
    width: 92%;
  }
}

@media (max-width: 1200px) {
  .text_image_background .text_image_background_items.reverse:before {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .text_image_background .text_image_background_items.reverse:before {
    display: none;
  }
}

/* Flex layout */
.text_image_background .text-image-no-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.text_image_background .text-image-no-wrap.reverse {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .text_image_background .text-image-no-wrap,
  .text_image_background .text-image-no-wrap.reverse {
    flex-direction: column !important;
  }

  .text_image_background .text-image-no-wrap > .text-wrapper {
    order: -1;
  }

  .text_image_background .text-image-no-wrap > .image {
    order: 0;
  }
}

/* Text wrapper */
.text_image_background .text-wrapper {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  padding: 40px;
}

@media (max-width: 768px) {
  .text_image_background .text-wrapper {
    flex-basis: 100%;
    padding: 20px;
  }
}

.text_image_background .text {
  max-width: 100%;
}

.text_image_background .text h2 {
  color: #000;
}

.text_image_background .text h2:before {
  background: #000;
}

/* Image */
.text_image_background .image {
  flex-basis: 50%;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .text_image_background .image {
    flex-basis: 100%;
    max-width: 100%;
    order: -1;
    margin-bottom: 20px;
    min-height: 300px;
  }
}

/* Button */
.text_image_background .btn {
  display: inline-block;
  border: 0.5px solid #000;
  color: #000;
  padding: 15px 40px;
  margin-top: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.text_image_background .btn:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
/* =======================================
   31. TEXT & TWO RIGHT IMAGE - Phillips
   ======================================= */
.text-two-image-phillips .text {
  padding: 70px 0 300px;
}
@media (max-width: 767px) {
  .text-two-image-phillips .text {
    padding: 10px 0 10px;
  }
}
.text-two-image-phillips .images {
  position: relative;
  padding-bottom: 300px;
}
@media (max-width: 767px) {
  .text-two-image-phillips .images {
    padding-bottom: 20px;
  }
}
.text-two-image-phillips .image {
  width: 100%;
  height: 635px;
}
@media (max-width: 767px) {
  .text-two-image-phillips .image {
    height: 300px;
  }
}
.text-two-image-phillips .image-two {
  margin-top: 0;
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: 0;
  left: -300px;
}
@media (max-width: 767px) {
  .text-two-image-phillips .image-two {
    bottom: 0;
    left: 0px;
    position: static;
    margin-top: 20px;
  }
}
.text-two-image-phillips .image img {
  transition: transform 0.5s ease-in-out;
}

.text-two-image-phillips .image-two img {
  transition: transform 0.5s ease-in-out;
}

/* =========================================
   32. TEXT & IMAGE BACKGROUND - Phillips
   ========================================= */
.text_image_background_phillips > h2 {
  text-align: center;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 3.1px;
  margin-bottom: 20px;
}
.text_image_background_phillips > h2:before {
  display: none;
}
.text_image_background_phillips .text_image_background_items {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 50px;
}
@media (max-width: 767px) {
  .text_image_background_phillips .text_image_background_items {
    margin-bottom: 15px;
    padding-bottom: 20px;
  }
}
.text_image_background_phillips .text_image_background_items:before {
  content: "";
  position: absolute;
  top: 65px;
  bottom: -18px;
  right: 200px;
  width: 74%;
  background: #a1a1a121;
}
@media (max-width: 1800px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 80%;
  }
}
@media (max-width: 1600px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 80%;
  }
}
@media (max-width: 1400px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 75%;
  }
}
@media (max-width: 1500px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 80%;
  }
}
@media (max-width: 1400px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 80%;
  }
}
@media (max-width: 1300px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 81%;
  }
}
@media (max-width: 1230px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 82%;
  }
}
@media (max-width: 1200px) {
  .text_image_background_phillips .text_image_background_items:before {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .text_image_background_phillips .text_image_background_items:before {
    display: none;
  }
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .image {
  -webkit-flex-basis: 50%;
  -moz-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  min-height: 700px;
}
@media (max-width: 768px) {
  .text_image_background_phillips .text_image_background_items .text-image-no-wrap .image {
    -webkit-flex-basis: 100%;
    -moz-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -moz-order: -1;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: 20px;
  }
}
.text_image_background_phillips .btn {
  transition: all 0.3s ease;
}

.text_image_background_phillips .btn:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

.text_image_background_phillips .text_image_background_items .image img {
  transition: transform 0.5s ease-in-out;
}

@media (max-width: 767px) {
  .text_image_background_phillips .text_image_background_items .text-image-no-wrap .image {
    min-height: 300px;
  }
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .text {
  max-width: 100%;
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .text h2 {
  color: #000;
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .text h2:before {
  background: #000;
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .text .btn {
  border: 0.5px solid #000;
  color: #000;
}
.text_image_background_phillips .text_image_background_items .text-image-no-wrap .text .btn:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}
.text_image_background_phillips .text_image_background_items.reverse:before {
  content: "";
  position: absolute;
  top: 65px;
  bottom: 0;
  left: 0;
  right: auto;
  width: 82%;
  background: rgba(121, 133, 112, 0.2);
}
@media (max-width: 1800px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 85%;
  }
}
@media (max-width: 1600px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 88%;
  }
}
@media (max-width: 1400px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 88%;
  }
}
@media (max-width: 1500px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 90%;
  }
}
@media (max-width: 1400px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 92%;
  }
}
@media (max-width: 1300px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 93%;
  }
}
@media (max-width: 1230px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 97%;
  }
}
@media (max-width: 1200px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .text_image_background_phillips .text_image_background_items.reverse:before {
    display: none;
  }
}

/* ==========================================================================
   33. FAQ Block (faq-block)
   ========================================================================== */
.faq-block .row {
  max-width: 70%;
}

.faq-block .faq-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-blockquote);
  line-height: 1.1;
  color: var(--color-text);
  display: inline-block;
  margin-bottom: 10px;
}
@media (max-width: 1024px) {
  .faq-block .faq-title {
    font-size: 33px;
    margin-bottom: 25px;
  }
}
.faq-block .faq-subtitle {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: var(--font-size-h6);
  line-height: var(--line-height-base);
  color: var(--color-secondary);
  margin: 0 0 0.6em;
  padding-top: 5px;
}
.faq-block .faq-intro {
  margin-bottom: 2em;
}
.faq-block .faq-intro p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-text);
}
.faq-block .number {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  padding: 44px 10px;
  color: #000;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  width: 7%;
  border-right: 1px solid #000;
}
@media (max-width: 1023px) {
  .faq-block .number {
    padding: 20px 5px;
    font-size: 17px;
  }
}
@media (max-width: 767px) {
  .faq-block .number {
    padding: 15px 3px;
    width: 40px;
  }
}
.faq-block .question {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 21px;
  line-height: 2.1;
  color: #000;
  padding: 35px 10px 15px 40px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
  cursor: pointer;
}
@media (max-width: 1023px) {
  .faq-block .question {
    padding: 15px;
    line-height: 1.4;
  }
}
@media (max-width: 767px) {
  .faq-block .question {
    font-size: 19px;
    cursor: none;
  }
}
.faq-block .question .title {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-transition: all 0.5s ease;
  -khtml-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .faq-block .question .title {
    font-size: 19px;
  }
}
.faq-block .question .plus {
  -webkit-flex-basis: 20px;
  -moz-flex-basis: 20px;
  -ms-flex-preferred-size: 20px;
  flex-basis: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  -webkit-transition: all 0.5s ease;
  -khtml-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.faq-block .question .plus::before,
.faq-block .question .plus::after {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  content: "";
  background: #2d2d2d;
  -webkit-transition: all 0.5s ease;
  -khtml-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.faq-block .question .plus::before {
  width: 100%;
  height: 1px;
}
.faq-block .question .plus::after {
  width: 1px;
  height: 100%;
}
.faq-block .question:hover .title {
  color: #000;
}
.faq-block .question:hover .plus::before,
.faq-block .question:hover .plus::after {
  background: #000;
}
.faq-block .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}
.faq-block .item.active .answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}
.faq-block .answer .text {
  max-width: 630px;
  padding: 0 40px 30px;
}
@media (max-width: 1023px) {
  .faq-block .answer .text {
    padding: 0 15px 0;
  }
}
.faq-block .answer p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: #000;
}
.faq-block .item {
  position: relative;
  border-bottom: 1px solid #2d2d2d;
  padding-left: 7%;
}
@media (max-width: 768px) {
  .faq-block .row {
    max-width: 92%;
  }
  .faq-block .item {
    padding-left: 40px;
  }
}
.faq-block .item.active .plus {
  -webkit-transform: rotateZ(45deg);
  -khtml-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

/* HubSpot Form Responsive Fix */
#formlink,
#formlink iframe,
#formlink form,
.hs-form,
.hbspt-form {
  width: 100% !important;
  max-width: 100% !important;
}

/* ==========================================================
   34. HEADLINE TEXT BACKGROUND BLOCK
   ========================================================== */

.headlinetext-bg {
  background-color: rgba(190, 140, 103, 0.10);
  padding: 8vh 0;
}

.headlinetext-bg .row {
  width: 1000px;
}
