/* ==========================================================
   03-blocks.css
   ACF Flexible Content Block Styles
   
   COMPLETE BLOCK INDEX (52 Blocks):
   
   1.  background-image.php
   2.  banner.php
   3.  banner-2.php
   4.  banner-3.php
   5.  banner-4.php
   6.  banner-5.php
   7.  butterfly-box.php
   8.  center-image-box.php
   9.  contact-form-block.php
   10. empty-block.php
   11. faq.php
   12. floor-plan.php
   13. headline-image-one.php
   14. headline-two-image.php
   15. headlinetext.php
   16. image-box.php
   17. image-gallery-slider-bottom.php
   18. image-gallery-slider-top.php
   19. learn-more.php
   20. left-right-scrolling.php
   21. map-shortcode.php
   22. one-column-image-left.php
   23. one-column-image-right.php
   24. projects-grid.php
   25. proof-bar.php
   26. slider-image.php
   27. slider-text-box.php
   28. text-image-background.php
   29. text-image-background-phillips.php
   30. text-two-right-image-v2.php
   31. text-two-right-image-phillips.php
   32. text-two-right-image-v1.php
   33. text-video-box.php
   34. three-column-text.php
   35. three-images-spaced.php
   36. three-stack-box-slider-one.php
   37. three-stack-box-slider-two.php
   38. two-image-text-button.php
   39. two-image-text-box-button.php
   40. video-player.php
   41. slider-cards.php
   42. media-text-side.php
   43. story-offset.php
   44. two-block-cards.php
   45. filtered-gallery.php
   46. image-overlay-text.php
   47. image-split-text.php
   48. three-col-hero.php
   49. text-two-image-v1.php
   50. text-two-image-v2.php
   51. image-gallery.php
   52. location.php
   ========================================================== */
   
/* ==========================================================
   GLOBAL SPACING (applies to multiple blocks)
   Lines 57-132 (5vh desktop / 4vh mobile)
   ========================================================== */

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

/* Block spacing utilities */
.space {
  margin: 7vh 0;
}
@media (max-width: 767px) {
  .space {
    margin: 4vh 0;
  }
}
.space-p {
  padding: 6vh 0;
}
@media (max-width: 767px) {
  .space-p {
    padding: 4vh 0;
  }
}

/* Swiper pagination global */
.swiper-pagination-bullet {
  background-color: var(--color-primary);
  width: 21px;
  height: 21px;
}

/* ==========================================================
   1. BACKGROUND-IMAGE.PHP
   ========================================================== */
.pic-box {
  position: relative;
  margin: 0;
}

@media (max-width: 767px) {
  .pic-box {
    margin: 0vh 0;
  }
}

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

.pic-box .pic-figure {
  overflow: hidden;
}

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

@media (max-width: 767px) {
  .pic-box .pic-figure {
    height: auto !important;
  }
  
  .pic-box .pic-figure img {
    height: auto;
  }
}

.pic-box .embed-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.pic-box .embed-video iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  border: 0;
  pointer-events: none;
}

.pic-box .embed-video,
.pic-box .embed-video > div,
.pic-box .embed-video > div > div {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

/* ==========================================================
   SHARED BANNER BASE (.top_image)
   Foundation styles used by all banner blocks (sections 2-6)
   ========================================================== */
.top_image {
  position: relative;
}
.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: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top_image .row {
  width: 1500px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: 80px;
  z-index: 2;
}
@media (max-width: 1024px) {
  .top_image .row {
    bottom: 30px;
  }
}
.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;
  }
}

/* ==========================================================
   2. BANNER.PHP (banner-1)
   Text bottom-left positioning
   ========================================================== */
.top_image.banner-1 {
  position: relative;
  margin: 5vh 0;
}

@media (max-width: 767px) {
  .top_image.banner-1 {
    margin: 4vh 0;
  }
}

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

.top_image.banner-1 .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

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

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

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

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

.top_image.banner-1 .row {
  width: 1500px;
  max-width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  top: auto;
  bottom: 30px;
  z-index: 2;
}

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

.top_image.banner-1 .row > div {
  width: 680px;
  max-width: 100%;
  padding-left: 6%;
}

.top_image.banner-1 * {
  color: #fff;
}

.top_image.banner-1 p {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 300;
}

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

.top_image.banner-1 h1.handwritten {
  font-family: var(--font-handwritten);
  font-size: var(--font-size-handwritten);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.top_image.banner-1 h1.script {
  font-family: var(--font-script);
  font-size: var(--font-size-script);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  padding-bottom: 30px;
}

/* ==========================================================
   3. BANNER-2.PHP
   Text centered
   ========================================================== */
.top_image.banner-2 {
  position: relative;
  margin: 5vh 0;
}

@media (max-width: 767px) {
  .top_image.banner-2 {
    margin: 4vh 0;
  }
}

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

.top_image.banner-2 .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

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

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

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

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

.top_image.banner-2 .row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.top_image.banner-2 .row > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

.top_image.banner-2 * {
  color: #fff;
}

.top_image.banner-2 h1 {
  font-family: var(--font-heading);
  padding-bottom: 0;
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .top_image.banner-2 h1 {
    margin-bottom: 0;
  }
}


/* ==========================================================
   4. BANNER-3.PHP (banner-logo-center)
   Logo centered
   ========================================================== */
.top_image.banner-logo-center {
  position: relative;
}

.top_image.banner-logo-center .image_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;
}
.top_image.banner-logo-center .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.top_image.banner-logo-center .image_figure {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  z-index: 0;
}
.top_image.banner-logo-center .image_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top_image.banner-logo-center .embed-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.top_image.banner-logo-center .embed-video iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  border: 0;
  pointer-events: none;
}
/* Phillips Club pattern: flatten Vimeo's injected wrapper divs */
.top_image.banner-logo-center .embed-video,
.top_image.banner-logo-center .embed-video > div,
.top_image.banner-logo-center .embed-video > div > div {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
.top_image.banner-logo-center .row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
}
.top_image.banner-logo-center .row > div {
  display: flex;
  justify-content: center;
  width: 100%;
}
.top_image.banner-logo-center .image-center {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.top_image.banner-logo-center .image-center img,
.top_image.banner-logo-center .image-center svg {
  width: clamp(185px, 20vw, 300px);
  height: auto;
  max-width: 100%;
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(100, 100, 100, 0.9));
}
.top_image.banner-logo-center * {
  color: #fff;
}

/* Banner 3 Slider */
.banner-logo-center .banner-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.banner-logo-center .banner-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.banner-logo-center .swiper-slide.shadow-before::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-offerings {
  position: relative;
  width: 100%;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(0.813rem, 1.4vw + 0.4rem, 1.375rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #4a4343;
  background: #b7e7f947;
  padding: clamp(10px, .8vw, 18px) 20px;
  z-index: 2;
}


/* ==========================================================
   5. BANNER-4.PHP (text_bottom)
   Text bottom-left (Gaspar style)
   ========================================================== */
.top_image.text_bottom {
  position: relative;
  margin: 5vh 0;
}

@media (max-width: 767px) {
  .top_image.text_bottom {
    margin: 4vh 0;
  }
}

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

.top_image.text_bottom .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

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

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

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

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

.top_image.text_bottom .row {
  position: absolute;
  left: 90px;
  bottom: 50px;
  z-index: 2;
  text-align: left;
  transform: none;
}

@media (max-width: 1024px) {
  .top_image.text_bottom .row {
    left: 30px;
    bottom: 40px;
  }
}

.top_image.text_bottom * {
  color: #fff;
}

.top_image.text_bottom h1 {
  font-family: var(--font-heading);
  padding-bottom: 0;
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .top_image.text_bottom h1 {
    margin-bottom: 0;
  }
}


/* ==========================================================
   6. BANNER-5.PHP (gallery-banner)
   Text centered (Gallery Sarasota style)
   ========================================================== */

.top_image.gallery-banner {
  position: relative;
  margin: 5vh 0;
}
@media (max-width: 767px) {
  .top_image.gallery-banner {
    margin: 4vh 0;
  }
}
.top_image.gallery-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 0;
}
.top_image.gallery-banner .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.top_image.gallery-banner .image_figure {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  z-index: 0;
}
.top_image.gallery-banner .image_figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top_image.gallery-banner .embed-video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.top_image.gallery-banner .embed-video iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top_image.gallery-banner .row {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top_image.gallery-banner .row > div {
  display: flex;
  justify-content: center;
  width: 100%;
}
.top_image.gallery-banner * {
  color: #fff;
}
.top_image.gallery-banner h1 {
  font-family: var(--font-heading);
  padding-bottom: 0;
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 400;
}
.top_image.gallery-banner h1 p {
  margin: 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .top_image.gallery-banner h1 {
    margin-bottom: 0;
  }
}

/* ==========================================================
   7. BUTTERFLY-BOX.PHP
   ========================================================== */

.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: 55%;
  padding: 4vh 8vh 4vh 8vh;
}

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

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

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .image_box {
    flex-basis: 100%;
    height: auto !important;
  }
}
.type_picture_butteryfly_box .image_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .type_picture_butteryfly_box .image_box img {
    height: auto;
  }
}
.type_picture_butteryfly_box--reverse .row.flex {
  flex-direction: row-reverse;
}

/* ==========================================================
   8. CENTER-IMAGE-BOX.PHP
   ========================================================== */

.center_image_box {
  position: relative;
}

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

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

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

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

.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;
}

/* ==========================================================
   9. CONTACT-FORM-BLOCK.PHP
   ========================================================== */

.contact_form_block .row {
  max-width: 70%;
}

.contact_form_block .gform_title {
  display: none;
}

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

@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.space {
  margin-bottom: 0;
}

.kiama-register-form {
  max-width: 70%;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 30px;
}
.kiama-register-form .form-field {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}
.kiama-register-form label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #000;
  margin-bottom: 0;
  white-space: nowrap;
}
.kiama-register-form input {
  flex: 1;
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #000;
  background: transparent;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.kiama-register-form input::placeholder {
  color: transparent;
}
.kiama-register-form input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}
.kiama-register-form .form-submit-row {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .contact_form_block .row {
    max-width: 92%;
  }
  .kiama-register-form {
    grid-template-columns: 1fr;
    max-width: 92%;
  }
  .kiama-register-form .form-field {
    flex-direction: column;
    gap: 2px;
  }
  .kiama-register-form label {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
  }
  .kiama-register-form input {
    padding: 4px 0;
    margin-top: 0;
  }
  .kiama-form-phone {
    display: block;
    margin-top: 5px;
  }
}
/* ==========================================================
   10. EMPTY-BLOCK.PHP
   No styles needed - outputs nothing
   ========================================================== */
    
/* ==========================================================================
   11. FAQ.PHP
   ========================================================================== */

.faq-block .row {
  max-width: 65%;
}

.faq-block.space {
  margin: 3vh 0;
}

.faq-block .faq-title {
  font-style: italic;
  display: inline-block;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .faq-block .faq-title {
    margin-bottom: 25px;
  }
}
.faq-block .number {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 17px;
  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-heading);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  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: 18px;
    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: 17px;
  }
}
.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: 85%;
  height: 1.5px;
}
.faq-block .question .plus::after {
  width: 1.5px;
  height: 85%;
}
.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: 830px;
  padding: 0 40px 20px;
}
@media (max-width: 1023px) {
  .faq-block .answer .text {
    padding: 0 15px 0;
  }
}
.faq-block .answer p {
  font-family: var(--font-heading);
  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);
}
    
/* ============================================================
   12. FLOOR-PLANS.PHP
   ============================================================ */
.team-box {
  margin: 80px 0;
}
.team-box .row1050 {
  width: 1050px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
}
.team-box h2,
.team-box h3 {
  text-align: center;
}
.floor-plans-block h3 {
  font-style: normal;
}
.team-box .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}
@media (max-width: 768px) {
  .team-box .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .team-box .team-grid {
    grid-template-columns: repeat(1, 400px);
    justify-content: center;
  }
}
@media (max-width: 450px) {
  .team-box .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.team-box .team-grid .teammate {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.team-box .team-grid .teammate .photo {
  position: relative;
}
.team-box .team-grid .teammate .photo:after {
  content: "";
  display: block;
  padding-bottom: 96.6%;
}
.team-box .team-grid .teammate .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.team-box .team-grid .teammate .name-wrap {
  padding: 45px;
}
@media (max-width: 1024px) {
  .team-box .team-grid .teammate .name-wrap {
    padding: 20px;
  }
}
.team-box .team-grid .teammate .name-wrap span {
  display: block;
}
.team-box .team-grid .teammate .name-wrap span.name {
  font-size: 20px;
  padding-bottom: 5px;
}
.team-box .team-grid .teammate .name-wrap span.postion {
  font-size: 15px;
}
.teammate-popup {
  max-width: 550px;
  padding: 60px 80px;
  position: relative;
}
@media (max-width: 768px) {
  .teammate-popup {
    padding: 40px;
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .teammate-popup {
    padding: 20px;
  }
}
.teammate-popup .info .name {
  border-bottom: 1px solid #333;
  margin-bottom: 15px;
}
.teammate-popup .info .name h3 {
  padding-bottom: 15px;
}
@media (max-width: 768px) {
  .floor-plans-block .team-grid .teammate .name-wrap span.name {
    font-size: 16px;
  }
}
.teammate-popup .carousel__button.is-close {
  position: absolute;
  top: -25px;
  right: -25px;
  left: auto;
  z-index: 20;
  transform: none;
}
@media (max-width: 768px) {
  .teammate-popup .carousel__button.is-close {
    right: 0;
    top: 0;
  }
}      
      
/* ==========================================================
   13. HEADLINE-IMAGE-ONE.PHP
   ========================================================== */
.headlineimage_one {
  position: relative;
  overflow: hidden;
  min-height: 900px;
}

.headlineimage_one .pic-figure {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 94%;
  z-index: 0;
}

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

.headlineimage_one .overlay-text::before {
  content: '';
  position: absolute;
  top: 13%;
  left: 0;
  width: 96%;
  bottom: 18%;
  background-image: url('/wp-content/uploads/2026/05/abstract-waves-vertical-2.svg');
  background-position: center;
  background-size: cover;
  opacity: 0.96;
  z-index: 0;
  pointer-events: none;
}

.headlineimage_one .overlay-text {
  width: 640px;
  max-width: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6vh 8vh;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  height: auto !important;
}

@media (max-width: 1000px) {
  .headlineimage_one {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .headlineimage_one .pic-figure {
    position: relative;
    width: 100%;
    height: 50vw;
    min-height: 300px;
  }
  .headlineimage_one .overlay-text {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: auto;
    padding: 5vh 3vh;
    flex-basis: 100%;
    display: block;
  }
  .headlineimage_one .overlay-text::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .headlineimage_one .pic-figure {
    height: 60vw;
  }
  .headlineimage_one .overlay-text {
    padding: 5vh 3vh 0vh 3vh;
  }
}

.headlineimage_one .overlay-text * {
  position: relative;
  z-index: 1;
}


/* ==========================================================
   14. HEADLINE-TWO-IMAGE.PHP
   ========================================================== */

.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%;
    display: flex;
    flex-direction: column;
  }
  .headline_images-block .headline-left .image-1 {
    order: -1;
  }
}

.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: 10px;
}

/* ==========================================================
   15. HEADLINETEXT.PHP
   ========================================================== */

.headlinetext .row {
  width: 1000px;
  max-width: 92%;
}

.headlinetext h6 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: clamp(0.9375rem, 0.364vw + 0.852rem, 1.1rem);
  font-weight: 300;
  letter-spacing: .8px;
  line-height: 1.2;
  padding-bottom: 8px;
}

.headlinetext p {
  font-size: clamp(1rem, 0.1875vw + 0.9025rem, 1.125rem);  /* 16px → 18px */
}

.headlinetext blockquote p {
  font-size: var(--font-size-blockquote);
}
Ple
.btn-center {
  text-align: center;
}

/* Video label overlay */
.headlinetext .video-wrap {
  position: relative;
}

.headlinetext .video-label {
  position: absolute;
  left: 0;
  top: 5px;
  display: inline-block;
  font-family: var(--font-accent);
  font-size: clamp(0.9rem, 1.8vw, 1.4rem);
  font-weight: 400;
  color: #FFFFFF;
  padding: 12px 20px;
  margin: 0;
  max-width: 40%;
  text-align: left;
  z-index: 2;
  pointer-events: none;
}

.headlinetext .video-label::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -50vw;
  background: #b7e7f947;
  z-index: -1;
}

/* ==========================================================
   16. IMAGE-BOX.PHP
   ========================================================== */

.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-image: url(/wp-content/uploads/2026/01/light-background3.svg);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}

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

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

/* Shared slider navigation wrapper */
.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: 65px;
  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: 40px;
  }
}

/* ==========================================================
   17. IMAGE-GALLERY-SLIDER-BOTTOM.PHP
   ========================================================== */

.image_gallery_slider_top {
  position: relative;
}

.image_gallery_slider_top .st-wrap {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 308px;
  height: clamp(80px, 12vw, 200px);
  z-index: 1;
}

.image_gallery_slider_top .st-wrap .swiper-button-prev,
.image_gallery_slider_top .st-wrap .swiper-button-next {
  width: clamp(80px, 8vw, 118px);
  height: auto;
}

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

.image_gallery_slider_top .st-wrap .swiper-button-prev svg path,
.image_gallery_slider_top .st-wrap .swiper-button-next svg path {
  fill: var(--color-primary);
}

.image_gallery_slider_top .swiper {
  padding-bottom: clamp(80px, 12vw, 200px);
}

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

/* Bottom variant — arrows below image */
.image_gallery_slider_top.bottom .st-wrap {
  top: auto;
  bottom: 0;
}

.image_gallery_slider_top.bottom .swiper {
  padding-top: 0;
  padding-bottom: clamp(80px, 12vw, 200px);
}

/* ==========================================================
   18. IMAGE-GALLERY-SLIDER-TOP.PHP
   ========================================================== */

.image_gallery_slider_top {
  position: relative;
}

.image_gallery_slider_top .st-wrap {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  width: 308px;
  height: clamp(80px, 12vw, 200px);
  z-index: 1;
  top: 0;
}

.image_gallery_slider_top .st-wrap .swiper-button-prev,
.image_gallery_slider_top .st-wrap .swiper-button-next {
  width: clamp(80px, 8vw, 118px);
  height: auto;
}

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

.image_gallery_slider_top .st-wrap .swiper-button-prev svg path,
.image_gallery_slider_top .st-wrap .swiper-button-next svg path {
  fill: var(--color-primary);
}

.image_gallery_slider_top .swiper {
  padding-top: clamp(80px, 12vw, 200px);
}

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


/* ==========================================================
   19. LEARN-MORE.PHP
   ========================================================== */

.button-block {
  background: #FFFFFF;
  text-align: center;
}

.button-block.space {
  margin: 0;
  padding: 3vh 0;
}
/* ==========================================================
   20. LEFT-RIGHT-SCROLLING.PHP
   ========================================================== */

.slider-left-right_3_scrolling {
  padding: 60px 0;
  background: var(--color-bg);
}

.slider-left-right_3_scrolling .row {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-left-right_3_scrolling .swiper {
  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 .swiper-pagination {
  bottom: 0;
}

.slider-left-right_3_scrolling .swiper-button-prev,
.slider-left-right_3_scrolling .swiper-button-next {
  color: var(--color-primary);
}

@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;
  }
}

/* ==========================================================
   21. MAP-SHORTCODE.PHP
   ========================================================== */

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

.map_shortcode iframe {
  width: 100%;
  min-height: 500px;
}
/* MapSVG plugin overrides */
.mapsvg-header {
  display: none !important;
}

.mapsvg-details-container .mapsvg-controller-view-content {
  padding: 0;
}

.mapsvg-details-container .mapsvg-controller-view-content .flex {
  align-items: stretch;
}

.mapsvg-details-container .mapsvg-controller-view-content .map_loc_image {
  flex-basis: 50%;
}

@media (max-width: 1024px) {
  .mapsvg-details-container .mapsvg-controller-view-content .map_loc_image {
    flex-basis: 100%;
  }
}

.mapsvg-details-container .mapsvg-controller-view-content .map_loc_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mapsvg-details-container .mapsvg-controller-view-content .map_loc_text {
  flex-basis: 50%;
  background: var(--color-accent);
  padding: 50px 100px 50px;
}

@media (max-width: 1024px) {
  .mapsvg-details-container .mapsvg-controller-view-content .map_loc_text {
    flex-basis: 100%;
  }
}

.mapsvg-details-container .mapsvg-controller-view-content .map_loc_text * {
  color: #fff;
}

.mapsvg-details-container .mapsvg-controller-view-toolbar {
  position: relative;
  top: 50px;
  z-index: 2;
}

.mapsvg-details-container .mapsvg-controller-view-toolbar .mapsvg-popover-close {
  width: 100px;
  height: 100px;
  right: 20px;
  cursor: pointer;
}

.mapsvg-details-container .mapsvg-controller-view-toolbar .mapsvg-popover-close::before,
.mapsvg-details-container .mapsvg-controller-view-toolbar .mapsvg-popover-close::after {
  background: #fff;
  height: 10px;
}

/* ==========================================================
   22. ONE-COLUMN-IMAGE-LEFT.PHP
   ========================================================== */

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

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

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

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

.one_column_image_left .text_box blockquote p {
  color: #D4952A;
}

.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;
}

.one_column_image_left .kiama-offerings {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.one_column_image_left .kiama-offerings li {
  padding-left: 1.5em;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.one_column_image_left .kiama-offerings li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.one_column_image_left .kiama-offerings li strong {
  font-weight: var(--font-weight-semibold);
}
.one_column_image_left .text_box blockquote + p {
  margin-bottom: 0;
  padding-bottom: 10px;
}

.one_column_image_left .kiama-offerings + p {
  margin-top: 0;
  padding-top: 0;
}

/* ==========================================================
   23. ONE-COLUMN-IMAGE-RIGHT.PHP
   ========================================================== */

.one_column_image_right .row {
  width: 2220px;
  max-width: 100%;
  flex-direction: row-reverse;
}

.one_column_image_right .text_box {
  flex-basis: 50%;
  padding: 8vh 10vh;
}

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

.one_column_image_right .text_box p {
  color: #000;
}

.one_column_image_right .text_box blockquote p {
  color: #D4952A;
}

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

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

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

.one_column_image_right .kiama-offerings {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.one_column_image_right .kiama-offerings li {
  padding-left: 1.5em;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.one_column_image_right .kiama-offerings li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.one_column_image_right .kiama-offerings li strong {
  font-weight: var(--font-weight-semibold);
}
.one_column_image_right .text_box blockquote + p {
  margin-bottom: 0;
  padding-bottom: 10px;
}

.one_column_image_right .kiama-offerings + p {
  margin-top: 0;
  padding-top: 0;
}

/* ==========================================================
   24. PROJECTS-GRID.PHP
   ========================================================== */

.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;
}

/* ==========================================================
   25. PROOF-BAR.PHP
   ========================================================== */

.proof_bar {
  background: #b7e7f947;
  padding: clamp(16px, 2vw, 24px) clamp(20px, 4vw, 60px);
}

.proof_bar .row {
  max-width: 1200px;
}

.proof_bar .proof_bar_slider {
  overflow: hidden;
}

.proof_bar .proof_bar_slider-item {
  height: clamp(65px, 8vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 5px;
}

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

/* ==========================================================
   26. SLIDER-IMAGE.PHP
   ========================================================== */

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

.slider-page > h2 {
  text-align: center;
  font-size: clamp(18px, 1.5vw, 24px);
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 2.5px;
  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;
  }
}

/* ==========================================================
   27. SLIDER-TEXT-BOX.PHP
   ========================================================== */

.sildertex_box .row {
  width: 1134px;
  max-width: 92%;
}

.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;
}

.sildertex_box .slide-content {
  max-width: 70%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .sildertex_box .slide-content {
    max-width: 100%;
    padding: 0 20px;
  }
}

/* ==========================================================
   28. TEXT-IMAGE-BACKGROUND.PHP
   ========================================================== */

.text_image_background {
  padding-top: 30px;
  padding-bottom: 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 - attached to image */
.text_image_background .text_image_background_items:before {
  display: none; /* Disabled - using .image::before instead */
}

.text_image_background .image::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50px;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2026/01/light-background3.svg);
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

/* Reversed layout - offset to right instead */
.text_image_background .text_image_background_items.reverse .image::before {
  left: auto;
  right: 50px;
}

@media (max-width: 1024px) {
  .text_image_background .image::before {
    top: 30px;
    left: 30px;
  }
  .text_image_background .text_image_background_items.reverse .image::before {
    right: 30px;
  }
}

@media (max-width: 768px) {
  .text_image_background .image::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: 80px 110px;
}

@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 {
  position: relative;
  flex-basis: 50%;
  min-height: 700px;
}

.text_image_background .image_figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.text_image_background .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ==========================================================
   29. TEXT-IMAGE-BACKGROUND-PHILLIPS.PHP
   ========================================================== */
   
.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: 0px;
  bottom: 110px;
  left: 65px;
  width: 74%;
  background-image: url(https://kiamaexuma.com/wp-content/uploads/2026/05/abstract-leaves-yellow-5-wide.svg);
}
@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: 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: 75%;
  }
}
@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 .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.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;
  }
}

.text_image_background_phillips .text-image-no-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

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

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

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

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

.text_image_background_phillips .text-wrapper {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  padding: 40px 80px 50px 40px;
}

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

.text_image_background_phillips .image {
  position: relative;
  flex-basis: 50%;
  overflow: hidden;
}

.text_image_background_phillips .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ==========================================================
   30. TEXT-TWO-RIGHT-IMAGE-V2.PHP
   ========================================================== */

.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;
  }
}

/* ==========================================================
   31. TEXT-TWO-RIGHT-IMAGE-PHILLIPS.PHP
   ========================================================== */

.text-two-image-phillips {
  padding: 0 5%;
  overflow: hidden;
}

.text-two-image-phillips .row1050 {
  width: 1050px;
  max-width: 100%;
  margin: 0 auto;
}

.text-two-image-phillips .row1050.flex {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.text-two-image-phillips .text {
  flex-basis: 40%;
  flex-shrink: 0;
  padding: 70px 40px 300px 0;
}

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

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

.text-two-image-phillips .image-two {
  margin-top: 0;
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: 0;
  left: -300px;
}

.text-two-image-phillips .image img,
.text-two-image-phillips .image-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .text-two-image-phillips .row1050.flex {
    flex-wrap: wrap;
  }
  .text-two-image-phillips .text {
    flex-basis: 100%;
    padding: 20px 0;
  }
  .text-two-image-phillips .images {
    flex-basis: 100%;
    padding-bottom: 20px;
  }
  .text-two-image-phillips .image-two {
    position: static;
    width: 100%;
    height: 300px;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .text-two-image-phillips .text {
    padding: 10px 0;
  }
  .text-two-image-phillips .image {
    height: 300px;
  }
  .text-two-image-phillips .images {
    padding-bottom: 20px;
  }
}

/* ==========================================================
   32. TEXT-TWO-RIGHT-IMAGE-V1.PHP
   ========================================================== */

.text-two-image-1:not(.text-two-image-2) .row1050 {
  width: 1050px;
  max-width: 90%;
  margin: 0 auto;
}

.text-two-image-1:not(.text-two-image-2) .text {
  flex: 1;
}

.text-two-image-1:not(.text-two-image-2) .images {
  flex-basis: 52%;
  margin-left: 12%;
}

.text-two-image-1:not(.text-two-image-2) .image {
  width: 260px;
  height: 370px;
}

.text-two-image-1:not(.text-two-image-2) .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-two-image-1:not(.text-two-image-2) .image-two {
  margin-top: 200px;
}

/* --- Responsive --- */

@media (max-width: 1366px) {
  .text-two-image-1:not(.text-two-image-2) .images {
    flex-basis: 54%;
    margin-left: 40px;
  }
  .text-two-image-1:not(.text-two-image-2) .image-two {
    margin-top: 100px;
  }
}

@media (max-width: 1100px) {
  .text-two-image-1:not(.text-two-image-2) > .flex {
    display: block;
  }
  .text-two-image-1:not(.text-two-image-2) .images {
    margin-left: 0;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .text-two-image-1:not(.text-two-image-2) .image {
    width: 35%;
    aspect-ratio: 260 / 370;
    margin: 0 2.5%;
  }
  .text-two-image-1:not(.text-two-image-2) .image-two {
    margin-top: 80px;
  }
}

@media (max-width: 725px) {
  .text-two-image-1:not(.text-two-image-2) .image {
      width: 40%;
      margin: 0px 10px;
      height: 40%;
  }
  .text-two-image-1:not(.text-two-image-2) .image-two {
    margin-top: 40px;
  }
}

/* ==========================================================
   33. TEXT-VIDEO-BOX.PHP
   ========================================================== */

.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 {
  content: "";
  position: absolute;
  top: 50px;
  left: 0;
  width: 45%;
  height: 85%;
  background-image: url(/wp-content/uploads/2026/01/light-background3.svg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

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

@media (max-width: 768px) {
  .text-image-box-one:before {
    display: none;
  }
}
.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;
}

/* ==========================================================
   34. THREE-COLUMN-TEXT.PHP
   ========================================================== */

.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;
  }
}

/* Column divider lines */
.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:last-child:before {
  display: none;
}

/* Typography overrides for column context */
.three-column-block .three-column-item h6 {
  padding-bottom: 10px;
}

.three-column-block .three-column-item h2 {
  font-size: clamp(28px, 2.5vw, 40px);
  padding-bottom: 15px;
}

.three-column-block .three-column-item h2:before {
  margin-top: 15px;
  margin-bottom: 15px;
}

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

/* ==========================================================
   35. THREE-IMAGES-SPACED.PHP
   ========================================================== */

.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;
}

/* ==========================================================
   36. THREE-STACK-BOX-SLIDER-ONE.PHP
   ========================================================== */

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

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

/* Text blocks */
.three_stack_box_slider_one .b-text {
  padding: 100px 100px;
}

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

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

.three_stack_box_slider_one .b-text blockquote::before {
  background: #4a4343 !important;
}

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

/* Section First - text left, image right */
.three_stack_box_slider_one .section_first {
  margin-bottom: 150px;
}

@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: 60%;
}

@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%;
  }
}

/* Section Center - image left, text right */
.three_stack_box_slider_one .section_center {
  margin-bottom: 150px;
}

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

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

@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%;
  }
}

/* Section Last - Slider */
.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;
  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%;
  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;
}
/* ==========================================================
   37. THREE-STACK-BOX-SLIDER-TWO.PHP
   ========================================================== */

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

.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;
}

/* Text blocks */
.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;
}

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

/* Section First - text only, centered */
.three_stack_box_slider_two .section_first {
  margin-bottom: 250px;
  justify-content: center;
}

@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%;
  text-align: center;
}

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

/* Section Center - image only */
.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%;
  }
}

/* Section Last - title + slider */
.three_stack_box_slider_two .section_last * {
  color: #fff !important;
}

.three_stack_box_slider_two .section_last .title {
  text-align: center;
  margin-bottom: 250px;
  max-width: 62%;
  margin-left: auto;
  margin-right: auto;
}

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

.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%;
  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;
}

/* ==========================================================
   38. TWO-IMAGE-TEXT-BUTTON.PHP
   ========================================================== */

.two-image-text-button {
  padding: 4vh 0;
}

.two-image-text-button .image-left {
  max-width: 1024px;
  width: 60%;
}

.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: -200px;
}

@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: 20px;
  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: 0;
    max-width: 100%;
    margin-left: 0;
    padding-left: 3%;
    padding-right: 3%;
  }
}

.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: 1104px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1366px) {
  .two-image-text-button .text-image .image-right img {
    height: auto;
  }
}

/* ==========================================================
   39. TWO-IMAGE-TEXT-BOX-BUTTON.PHP
   ========================================================== */
.two-image-text-bottom-section {
  padding: 10vh 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: 130px;
}

@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: -130px;
  position: relative;
  bottom: -150px;
}

@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;
  position: relative;
}

.two-image-text-bottom-section .two-image-wrapper .right-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/uploads/2026/01/light-background3.svg);
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

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

@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: var(--color-primary);
  font-weight: 300;
}

.two-image-text-bottom-section .two-image-wrapper .right-block .text .button {
  margin-top: 50px;
}

@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;
}

/* ==========================================================
   40. VIDEO-PLAYER.PHP
   ========================================================== */

.video-block {
  position: relative;
}

@media (max-width: 1700px) {
  .video-block {
    height: 600px !important;
  }
}

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

.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%);
}

/* ==========================================================
   41. SLIDER-CARDS.PHP
   Two-up card grid with image sliders + eyebrow + H3 + desc + dual CTAs
   ========================================================== */

.slider-cards-block {
  padding: 4vh 3vh 4vh 3vh;
}

.slider-cards-block__grid {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .slider-cards-block__grid {
    flex-direction: column;
    gap: 50px;
    padding: 0 16px;
  }
}

.slider-cards-block__card {
  flex: 1;
  min-width: 0;
}

/* Slider container */
.slider-cards-block__slider {
  position: relative;
  overflow: hidden;
}

.slider-cards-block__slider .swiper-slide {
  aspect-ratio: 4 / 3;
}

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

.slider-cards-block__single-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slider-cards-block__single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Arrows — positioned below image, right-aligned */
.slider-cards-block__arrows {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 12px;
}

.slider-cards-block__arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-text, #1a1a1a);
  border-radius: 0;
  background: transparent;
  color: var(--color-text, #1a1a1a);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-cards-block__arrow:hover {
  background: var(--color-primary, #564937);
  color: #fff;
  border-color: var(--color-primary, #564937);
}

/* Content area */
.slider-cards-block__content {
  padding-top: 20px;
}

.slider-cards-block__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  opacity: 0.7;
  margin: 0 0 12px;
}

.slider-cards-block__heading {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3, 300);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--color-text, #1a1a1a);
}

.slider-cards-block__desc {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.6;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 24px;
}

/* Dual CTAs */
.slider-cards-block__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.slider-cards-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--color-text, #1a1a1a);
  background: transparent;
  color: var(--color-text, #1a1a1a);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-weight-book, 400);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.slider-cards-block__btn:hover {
  background: var(--color-primary, #564937);
  color: #fff;
  border-color: var(--color-primary, #564937);
  text-decoration: none;
}

.slider-cards-block__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-weight-book, 400);
  letter-spacing: 0.04em;
  color: var(--color-text, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.slider-cards-block__link:hover {
  color: var(--color-primary, #564937);
}

/* ==========================================================
   42. MEDIA-TEXT-SIDE.PHP
   60/40 image + text, vertically centered, reversible
   ========================================================== */
.media-text-side {
  padding: 4vh 3vh 4vh 3vh;
}
.media-text-side__inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  gap: 60px;
}
.media-text-side--reverse .media-text-side__inner {
  flex-direction: row-reverse;
}
@media (max-width: 1020px) {
  .media-text-side__inner,
  .media-text-side--reverse .media-text-side__inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 16px;
  }
}
/* Image side */
.media-text-side__media {
  flex: 0 0 58%;
  max-width: 58%;
  overflow: hidden;
}
.media-text-side__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 1020px) {
  .media-text-side__media {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}
/* Text side */
.media-text-side__text {
  flex: 1;
  min-width: 0;
  padding: 0 clamp(20px, 4vw, 60px);
}
  .media-text-side__text {
    order: -1;
    padding: 0;
  }
}
.media-text-side__text h3 {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3, 300);
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--color-text, #1a1a1a);
}
.media-text-side__body {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.7;
  color: var(--color-text, #1a1a1a);
}
.media-text-side__body p {
  margin: 0 0 1em;
}
.media-text-side__body p:last-child {
  margin-bottom: 0;
}
.media-text-side__cta {
  margin-top: 0px;
}
.media-text-side__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-weight-book, 400);
  letter-spacing: 0.06em;
  color: var(--color-text, #1a1a1a);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.media-text-side__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary, #564937);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.media-text-side__link:hover {
  color: var(--color-primary, #564937);
  text-decoration: none;
}

.media-text-side__link:hover::after {
  transform: scaleX(1);
}

/* ==========================================================
   43. STORY-OFFSET.PHP
   Asymmetric two-column: small image + caption left,
   larger image right
   ========================================================== */

.story-offset {
  padding: 4vh 3vh 4vh 3vh;
}

.story-offset__inner {
   display: flex;
   align-items: flex-start;
   max-width: 1400px;
   margin: 0 auto;
   padding: 0 50px;
   gap: 50px;
}

@media (max-width: 1020px) {
  .story-offset__inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
  }
}

/* Left column — smaller image + caption */
.story-offset__left {
  flex: 0 0 42%;
  max-width: 42%;
  padding-top: 80px;
}

@media (max-width: 1200px) {
  .story-offset__left {
    padding-top: 0px;
  }
}

@media (max-width: 1024px) {
  .story-offset__left {
    padding-top: 30px;
  }
}

@media (max-width: 1020px) {
  .story-offset__left {
    flex: none;
    max-width: 100%;
    width: 100%;
    padding-top: 0;
  }
}

.story-offset__small-img {
  margin: 0 0 34px;
  overflow: hidden;
}

.story-offset__small-img img {
  width: 96%;
  height: auto;
  display: block;
  object-fit: cover;
}

.story-offset__caption {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.7;
  color: var(--color-text, #1a1a1a);
  text-align: left;
  max-width: 90%;
  margin: 0 6vh;
}

@media (max-width: 767px) {
  .story-offset__caption {
    margin: 0;
    max-width: 100%;
    text-align: left;
  }
}

.story-offset__caption p {
  margin: 0 0 0.8em;
}

.story-offset__caption p:last-child {
  margin-bottom: 0;
}

.story-offset__link {
  display: block;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: var(--font-weight-book, 400);
  letter-spacing: 0.04em;
  color: var(--color-text, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-offset__link:hover {
  color: var(--color-primary, #564937);
}

/* Right column — larger image */
.story-offset__right {
  flex: 1;
  min-width: 0;
}

.story-offset__large-img {
  margin: 0;
  overflow: hidden;
}

.story-offset__large-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 1021px) {
  .story-offset__large-img img {
    min-height: 700px;
    object-fit: cover;
  }
}

/* Reverse variant — text+small image on right, large image on left */
.story-offset--reverse .story-offset__inner {
  flex-direction: row-reverse;
}

@media (max-width: 1020px) {
  .story-offset--reverse .story-offset__inner {
    flex-direction: column;
  }
}

/* ==========================================================
   44. TWO-BLOCK-CARDS.PHP
   Two-up static cards with square image + eyebrow + H3 + desc
   ========================================================== */

.two-block-cards {
  padding: 4vh 3vh 4vh 3vh;
}

.two-block-cards__grid {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .two-block-cards__grid {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
  }
}

.two-block-cards__card {
  flex: 1;
  min-width: 0;
}

.two-block-cards__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.two-block-cards__card-link:hover {
  text-decoration: none;
}

.two-block-cards__card-link:hover .two-block-cards__image img {
  transform: scale(1.03);
}

.two-block-cards__image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.two-block-cards__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease-in-out;
}

@media (max-width: 768px) {
  .two-block-cards__image {
    aspect-ratio: 4 / 3;
  }
}

.two-block-cards__content {
  padding-top: 20px;
}

.two-block-cards__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  opacity: 0.7;
  margin: 0 0 12px;
}

.two-block-cards__heading {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3, 300);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--color-text, #1a1a1a);
}

.two-block-cards__desc {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.6;
  color: var(--color-text, #1a1a1a);
  margin: 0;
}

/* ==========================================================
   45. FILTERED-GALLERY.PHP
   Tabbed category filter with masonry-style image grid
   ========================================================== */

.filtered-gallery {
  padding: 4vh 3vh 4vh 3vh;
}

.filtered-gallery__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tab bar */
.filtered-gallery__tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .filtered-gallery__tabs {
    gap: 0;
    justify-content: stretch;
  }
}

.filtered-gallery__tab {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  opacity: 0.5;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .filtered-gallery__tab {
    flex: 1;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    padding: 10px 4px;
  }
}

.filtered-gallery__tab:hover {
  opacity: 0.8;
}

.filtered-gallery__tab.is-active {
  opacity: 1;
  border-bottom-color: var(--color-primary, #564937);
}

/* Image grid — masonry-like using CSS columns */
.filtered-gallery__grid {
  column-count: 3;
  column-gap: 16px;
}

@media (max-width: 1024px) {
  .filtered-gallery__grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .filtered-gallery__grid {
    column-count: 1;
  }
}

.filtered-gallery__item {
  display: none;
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
}

.filtered-gallery__item.is-visible {
  display: block;
}

.filtered-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease-in-out;
}

.filtered-gallery__item:hover img {
  transform: scale(1.03);
}


/* ==========================================================
   46. IMAGE-OVERLAY-TEXT.PHP
   Full-bleed mid-page image with text overlay
   ========================================================== */

.image-overlay-text {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .image-overlay-text {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .image-overlay-text {
    min-height: 400px;
  }
}

/* Background image */
.image-overlay-text__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.image-overlay-text__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay for readability */
.image-overlay-text__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 70%,
    transparent 100%
  );
}

/* Text content */
.image-overlay-text__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

@media (max-width: 768px) {
  .image-overlay-text__content {
    padding: 50px 20px;
  }
}

.image-overlay-text__text-wrap {
  max-width: 450px;
}

/* Position variants */
.image-overlay-text__content--left .image-overlay-text__text-wrap {
  margin-right: auto;
}

.image-overlay-text__content--center {
  text-align: center;
}

.image-overlay-text__content--center .image-overlay-text__text-wrap {
  margin: 0 auto;
}

.image-overlay-text__content--center + .image-overlay-text__overlay {
  background: rgba(0, 0, 0, 0.4);
}

.image-overlay-text__content--right .image-overlay-text__text-wrap {
  margin-left: auto;
}

/* Typography — all white on image */
.image-overlay-text__content h2 {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2, 300);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 24px;
}

.image-overlay-text__body {
  color: rgba(255, 255, 255);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.7;
}

.image-overlay-text__body p {
  color: rgba(255, 255, 255);
  margin: 0 0 1em;
  font-size: var(--font-size-h6);
}

.image-overlay-text__body p:last-child {
  margin-bottom: 0;
}

.image-overlay-text__link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid #fff;
  transition: opacity 0.2s ease;
}

.image-overlay-text__link:hover {
  opacity: 0.8;
  text-decoration: none;
}


/* ==========================================================
   47. IMAGE-SPLIT-TEXT.PHP
   Full-width image top, two-column text row beneath
   ========================================================== */

.image-split-text {
  padding: 0;
}

/* Top image — full width */
.image-split-text__image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.image-split-text__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 70vh;
}

/* Text row beneath */
.image-split-text__row {
  display: flex;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 70px;
  gap: 80px;
}

@media (max-width: 1024px) {
  .image-split-text__row {
    gap: 40px;
    padding: 40px 20px 50px;
  }
}

@media (max-width: 768px) {
  .image-split-text__row {
    flex-direction: column;
    gap: 30px;
    padding: 30px 16px 40px;
  }
}

/* Left column — eyebrow + heading */
.image-split-text__left {
  flex: 0 0 42%;
  max-width: 42%;
}

@media (max-width: 768px) {
  .image-split-text__left {
    flex: none;
    max-width: 100%;
  }
}

.image-split-text__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  opacity: 0.7;
  margin: 0 0 16px;
}

.image-split-text__heading {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-blockquote);
  font-weight: 300;
  font-style: italic;
  line-height: .95;
  color: #4a4343;
  margin: 0 0 10px;
}

.image-split-text__accent {
  font-family: var(--font-script, 'Sabon Italic', serif);
  font-style: italic;
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-body, 350);
  color: var(--color-text, #1a1a1a);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Right column — body + CTA */
.image-split-text__right {
  flex: 1;
  min-width: 0;
}

.image-split-text__body {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.7;
  color: var(--color-text, #1a1a1a);
}

.image-split-text__body p {
  margin: 0 0 1em;
}

.image-split-text__body p:last-child {
  margin-bottom: 0;
}

.image-split-text__link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  text-decoration: none;
  transition: color 0.2s ease;
}

.image-split-text__link span {
  margin-left: 4px;
  font-size: 1.1em;
}

.image-split-text__link:hover {
  color: var(--color-primary, #564937);
  text-decoration: none;
}


/* ==========================================================
   48. THREE-COL-HERO.PHP
   Three-column: stat+heading left, portrait image center,
   body text+CTA right
   ========================================================== */

.three-col-hero {
  padding: 4vh 3vh 4vh 3vh;
}

.three-col-hero__inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 50px;
}

@media (max-width: 1024px) {
  .three-col-hero__inner {
    gap: 30px;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .three-col-hero__inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
    text-align: center;
  }
}

/* Left column — stat + heading */
.three-col-hero__left {
  flex: 1;
  text-align: center;
}

.three-col-hero__heading {
  font-family: var(--font-accent, 'Sabon', serif);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2, 300);
  line-height: 1.15;
  color: var(--color-text, #1a1a1a);
  margin: 0 0 12px;
}

.three-col-hero__stat {
  display: block;
  font-family: var(--font-accent, 'Sabon', serif);
  font-weight: var(--font-weight-light, 300);
  font-size: 1.1em;
  color: var(--color-accent, #00B4D8);
  margin-bottom: 4px;
}

.three-col-hero__subtitle {
  font-family: var(--font-script, 'Sabon Italic', serif);
  font-style: italic;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  color: var(--color-text, #1a1a1a);
  opacity: 0.7;
  margin: 0 0 20px;
}

.three-col-hero__divider {
  width: 50px;
  height: 2px;
  background: var(--color-text, #1a1a1a);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .three-col-hero__divider {
    margin: 0 auto;
  }
}

/* Center column — portrait image */
.three-col-hero__center {
  flex: 0 0 30%;
  max-width: 30%;
}

@media (max-width: 768px) {
  .three-col-hero__center {
    flex: none;
    max-width: 70%;
    margin: 0 auto;
  }
}

.three-col-hero__image {
  margin: 0;
  overflow: hidden;
}

.three-col-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Right column — body text + CTA */
.three-col-hero__right {
  flex: 1;
  text-align: center;
}

.three-col-hero__body {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body, 350);
  line-height: 1.7;
  color: var(--color-text, #1a1a1a);
}

.three-col-hero__body p {
  margin: 0 0 1em;
}

.three-col-hero__body p:last-child {
  margin-bottom: 0;
}

.three-col-hero__link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--font-weight-nav, 600);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text, #1a1a1a);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-text, #1a1a1a);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.three-col-hero__link:hover {
  color: var(--color-primary, #564937);
  border-bottom-color: var(--color-primary, #564937);
  text-decoration: none;
}

/* ==========================================================
   49. TEXT-TWO-IMAGE-V1.PHP
   Text left + two stacked images right (with flip toggle)
   ========================================================== */

.text-two-image-v1 {
  padding: 8vh 0;
}

.text-two-image-v1 .text {
  padding: clamp(20px, 8vw, 100px) 0 clamp(40px, 20vw, 300px);
}

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

.text-two-image-v1 .text h2 {
  font-family: var(--font-accent);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: 1.15;
  color: var(--color-text);
}

.text-two-image-v1 .text p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: 1.7;
  color: var(--color-text);
}

.text-two-image-v1 .images {
  position: relative;
  padding-bottom: clamp(40px, 20vw, 300px);
}

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

.text-two-image-v1 .image {
  width: 100%;
  height: clamp(300px, 40vw, 635px);
}

.text-two-image-v1 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-two-image-v1 .image-two {
  margin-top: 0;
  width: clamp(180px, 20vw, 300px);
  height: clamp(180px, 20vw, 300px);
  position: absolute;
  bottom: 0;
  left: calc(-1 * clamp(180px, 20vw, 300px));
}

.text-two-image-v1 .image-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .text-two-image-v1 .image-two {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 20px;
  }
}

/* -- copy-on-right flip (v1) -- */
.text-two-image-v1.copy-on-right .row1050.flex {
  flex-direction: row-reverse;
}

.text-two-image-v1.copy-on-right .image-two {
  left: auto;
  right: calc(-1 * clamp(180px, 20vw, 300px));
}

@media (max-width: 767px) {
  .text-two-image-v1.copy-on-right .row1050.flex {
    flex-direction: column;
  }
  .text-two-image-v1.copy-on-right .image-two {
    right: 0;
    left: 0;
  }
}


/* ==========================================================
   50. TEXT-TWO-IMAGE-V2.PHP
   Text left + two stacked images right (with flip toggle)
   Same layout as v1 with different AOS behavior
   ========================================================== */

.text-two-image-v2 {
  padding: 8vh 0;
}

.text-two-image-v2 .text {
  padding: clamp(20px, 8vw, 100px) 0 clamp(40px, 20vw, 300px);
}

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

.text-two-image-v2 .text h2 {
  font-family: var(--font-accent);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: 1.15;
  color: var(--color-text);
}

.text-two-image-v2 .text p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: 1.7;
  color: var(--color-text);
}

.text-two-image-v2 .images {
  position: relative;
  padding-bottom: clamp(40px, 20vw, 300px);
}

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

.text-two-image-v2 .image {
  width: 100%;
  height: clamp(300px, 40vw, 635px);
}

.text-two-image-v2 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-two-image-v2 .image-two {
  margin-top: 0;
  width: clamp(180px, 20vw, 300px);
  height: clamp(180px, 20vw, 300px);
  position: absolute;
  bottom: 0;
  left: calc(-1 * clamp(180px, 20vw, 300px));
}

.text-two-image-v2 .image-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .text-two-image-v2 .image-two {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 20px;
  }
}

/* -- copy-on-right flip (v2) -- */
.text-two-image-v2.copy-on-right .row1050.flex {
  flex-direction: row-reverse;
}

.text-two-image-v2.copy-on-right .image-two {
  left: auto;
  right: calc(-1 * clamp(180px, 20vw, 300px));
}

@media (max-width: 767px) {
  .text-two-image-v2.copy-on-right .row1050.flex {
    flex-direction: column;
  }
  .text-two-image-v2.copy-on-right .image-two {
    right: 0;
    left: 0;
  }
}


/* ==========================================================
   51. IMAGE-GALLERY.PHP
   Responsive CSS Grid gallery with hover scale
   ========================================================== */

.images-gallery {
  padding: 8vh 0;
}

.images-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

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

@media (max-width: 576px) {
  .images-gallery__grid {
    grid-template-columns: 1fr;
  }
}

.images-gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
}

.images-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.images-gallery__item:hover img {
  transform: scale(1.03);
}


/* ==========================================================
   52. LOCATION.PHP
   ACF Google Map embed
   ========================================================== */

.location-box {
  padding: 8vh 0 3vh 0;
}

.acf-map {
  width: 100%;
  height: 400px;
}

@media (max-width: 1024px) {
  .acf-map {
    height: 400px !important;
  }
}

.acf-map img {
  max-width: inherit !important;
}


/* ==========================================================
   GLOBAL MOBILE TEXT PADDING
   ========================================================== */
@media (max-width: 767px) {
  .text_box,
  .b-text {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* ==========================================================
   NEWS INDEX + BLOG SINGLE POST
   Ported from IPG master — Ki'ama Exuma
   Append to end of 03-blocks.css
   ========================================================== */


/* ==========================================================
   SINGLE POST HERO IMAGE
   ========================================================== */
.single-hero-image {
  width: 100%;
  margin: 0;
  max-height: 800px;
  overflow: hidden;
}

.single-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Two-Column Grid Container ────────────────────────────── */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  width: var(--container-max, 1200px);
  max-width: 92%;
  margin: 0 auto;
  padding: 48px 0 80px;
}

@media (max-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 32px 0 60px;
  }
}

/* ── Post Metadata Bar ────────────────────────────────────── */
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #888;
  letter-spacing: 0.3px;
}

.post-meta-category {
  display: inline-block;
  background: var(--color-primary, #494035);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.post-meta-category:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

.post-meta-read::before {
  content: "\00b7";
  margin-right: 16px;
}

/* ── Article Column ───────────────────────────────────────── */
.single-post-article h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2, 400);
  line-height: 1.2;
  margin: 0 0 0px;
  color: var(--color-text, #494035);
  padding-bottom: 5px;
}

.single-post-article h5 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: var(--font-size-h5);
    font-weight: 300;
    line-height: 1.2;
    padding-bottom: 0px;
    padding-top: 15px;
    font-style: normal;
}

.single-post-article .text {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.8;
  color: var(--color-text, #494035);
}

.single-post-article .text p {
  margin-bottom: 1em !important;
  padding-bottom: 0px;
}

.single-post-article .text h2,
.single-post-article .text h3,
.single-post-article .text h4 {
  font-family: var(--font-heading);
  margin: 1em 0 0.2em !important;
  padding: 0 !important;
}

.single-post-article .text img {
  max-width: 100%;
  height: auto;
}

/* ── AEO Intro Override ───────────────────────────────────── */
.aeo-intro {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.75;
  color: #444;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e5e5;
}

/* ── AEO FAQ Section ──────────────────────────────────────── */
.aeo-faq-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.aeo-faq-section h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  margin-bottom: 15px;
}

.aeo-faq-item {
  margin-bottom: 0px;
}

.aeo-faq-item h3 {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.1rem);
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--color-text, #494035);
}

.aeo-faq-answer {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.75;
  color: #555;
}

/* ── AEO CTA Button ──────────────────────────────────────── */
.aeo-cta {
  margin-top: 40px;
}

.aeo-cta .btn {
  display: inline-block;
  background: var(--color-primary, #494035);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.aeo-cta .btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* ── Sidebar (sticky on desktop) ──────────────────────────── */
.single-post-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

@media (max-width: 1024px) {
  .single-post-sidebar {
    position: static;
  }
}

.sidebar-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary, #494035);
}

/* ── Sidebar Post Cards ───────────────────────────────────── */
.sidebar-post-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: var(--color-text, #494035);
  transition: opacity 0.2s;
}

.sidebar-post-card:hover {
  opacity: 0.8;
  text-decoration: none;
  color: var(--color-text, #494035);
}

.sidebar-post-thumb {
  margin: 0;
  width: 90px;
  height: 64px;
  overflow: hidden;
}

.sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-post-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-post-cat {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary, #494035);
}

.sidebar-post-title {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.3vw + 0.78rem, 0.95rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text, #494035);
}

.sidebar-post-card time {
  font-size: 0.72rem;
  color: #aaa;
}


/* ==========================================================
   NEWS INDEX — Banner + Post Grid
   ========================================================== */

/* ── Banner ───────────────────────────────────────────────── */
.top-banner__section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.banner-text-center {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.banner-text-center * {
  color: #fff;
}

.banner-left-text {
  position: absolute;
  bottom: clamp(30px, 5vw, 80px);
  left: clamp(30px, 6vw, 90px);
  z-index: 2;
}

.banner-left-text h2 {
  color: #fff;
  font-family: var(--font-script);
  font-size: clamp(34px, 6.5vw, 74px);
  font-weight: normal;
}

.banner-left-text h1.handwritten {
  color: #fff;
  font-family: var(--font-handwritten);
  font-size: var(--font-size-handwritten);
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.banner-left-text h1.script {
  color: #fff;
  font-family: var(--font-script);
  font-size: var(--font-size-script);
  font-weight: 400;
  line-height: 1.2;
  padding-bottom: 0;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* ── Posts Grid Container ─────────────────────────────────── */
.posts_grid_wrap {
  margin: 60px 0 80px;
}

.row1375 {
  width: 1375px;
  max-width: 92%;
  margin: 0 auto;
}

.row1375 > h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2, 400);
  margin-bottom: 24px;
}

/* ── Category Filter Buttons ──────────────────────────────── */
.categories-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
  padding: 0;
}

.categories-list li {
  margin: 0;
}

.categories-list li a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text, #494035);
  transition: all 0.2s ease;
}

.categories-list li a:hover {
  border-color: var(--color-primary, #494035);
  color: var(--color-primary, #494035);
  text-decoration: none;
}

.categories-list li.current-cat a {
  background: var(--color-primary, #494035);
  border-color: var(--color-primary, #494035);
  color: #fff;
}

/* ── Post Card Grid ───────────────────────────────────────── */
.posts_grid_items {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

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

@media (max-width: 860px) {
  .posts_grid_items {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .posts_grid_items {
    grid-template-columns: 1fr;
  }
}

/* ── Individual Post Card ─────────────────────────────────── */
.posts_grid_item {
  display: flex;
  flex-direction: column;
}

.posts_grid_item .thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 3/2;
  margin-bottom: 16px;
}

.posts_grid_item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.posts_grid_item .thumb:hover img {
  transform: scale(1.03);
}

.posts_grid_item .info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.posts_grid_item .info .post-cat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #888;
  text-transform: capitalize;
}

.posts_grid_item .info .post-date-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #aaa;
}

.posts_grid_item .info h3 {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text, #494035);
  margin: 4px 0;
}

.posts_grid_item .info p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #666;
  margin: 0;
}

.posts_grid_item .info .read_more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text, #494035);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-primary, #494035);
  transition: color 0.2s;
}

.posts_grid_item .info .read_more:hover {
  color: var(--color-primary, #494035);
  text-decoration: none;
}

.posts_grid_item .info .read_more .html-arrow-right {
  margin-left: 4px;
}

/* ── Pagination ───────────────────────────────────────────── */
.pagenavi__wrapper {
  text-align: center;
  margin-top: 48px;
}

.pagenavi__wrapper .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-decoration: none;
  color: #666;
  border: 1px solid #ddd;
  transition: all 0.2s;
}

.pagenavi__wrapper .page-numbers.current,
.pagenavi__wrapper .page-numbers:hover {
  background: var(--color-primary, #494035);
  border-color: var(--color-primary, #494035);
  color: #fff;
}


/* ==========================================================
   NAV OFFSET — News Index + Blog Single
   Matches Ki'ama nav: 128px / 85px / 30px body padding
   Uses same -95px / -85px / -75px pattern as .top_image
   ========================================================== */

/* News index banner */
body.blog .top-banner__section {
  margin-top: -95px;
}

@media (max-width: 1000px) {
  body.blog .top-banner__section {
    margin-top: -85px;
  }
}

@media (max-width: 767px) {
  body.blog .top-banner__section {
    margin-top: -75px;
  }
}

/* Blog single post hero image */
body.single-post .single-hero-image {
  margin-top: -95px;
}

@media (max-width: 1000px) {
  body.single-post .single-hero-image {
    margin-top: -85px;
  }
}

@media (max-width: 767px) {
  body.single-post .single-hero-image {
    margin-top: -75px;
  }
}

