/* === IMAGE ZOOM ON HOVER === */
.wp-block-image img,
.wp-block-post-featured-image img {
  transition: transform 0.4s ease;
}

.wp-block-image:hover img,
.wp-block-post-featured-image:hover img {
  transform: scale(1.05);
}
/* Zoom on featured images */
.wp-block-post-featured-image img {
  transition: transform 0.4s ease;
}
.wp-block-post-featured-image:hover img {
  transform: scale(1.05);
}

/* Zoom on all images inside query loop cards */
.wp-block-post img {
  transition: transform 0.4s ease;
}
.wp-block-post:hover img {
  transform: scale(1.05);
}
.single-project .wp-block-post-terms a {
  display: inline-block;
  color: #000;
  border: 2px solid #f5c518;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  background-color: transparent !important;
  transition: all 0.3s ease-in-out;
}

.single-project .wp-block-post-terms a:hover {
  background-color: #f5c518 !important;
  color: #000 !important;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* === HIDE PUBLISH DATE === */
.wp-block-post-date {
  display: none !important;
}

/* === BUTTON HOVER ANIMATION === */
.wp-block-button__link {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.wp-block-button__link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* === PROJECT TAG STYLING (ON SINGLE PROJECT PAGE) === */
.single-project .wp-block-post-terms {
  padding: 0 !important;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.single-project .wp-block-post-terms a {
  display: inline-block;
  color: #000;
  border: 2px solid #f5c518;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  transition: all 0.3s ease;
}

.single-project .wp-block-post-terms a:hover {
  background: #f5c518;
  color: #000;
}

/* === FORCE TAG BACKGROUND TRANSPARENCY OVERRIDE === */
.single-project .wp-block-post-terms * {
  background-color: transparent !important;
}
/* === FORCE TAG SEPERATOR OVERRIDE === */
.single-project .wp-block-post-terms__separator {
  display: none !important;
}
/* === FORCE TAG SIZING OVERRIDE === */
.single-project .wp-block-post-terms a {
  display: inline-block;
  color: #000;
  border: 2px solid #f5c518; /* Brand yellow */
  padding: 10px 18px; /* Increased padding */
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem; /* Increased from 0.85rem */
  font-weight: 600;
  background: transparent;
  transition: all 0.2s ease-in-out;
}

.single-project .wp-block-post-terms a:hover {
  background: #f5c518;
  color: #000;
}
body.tax-project_tag {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif !important;
}

body.tax-project_tag h1,
body.tax-project_tag h2,
body.tax-project_tag h3,
body.tax-project_tag h4,
body.tax-project_tag h5,
body.tax-project_tag h6,
body.tax-project_tag .wp-block-post-title {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif !important;
}
.project-thumbnail img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.see-more-button summary {
  display: inline-block;
  margin: 0 auto;              /* centres it */
  text-align: center;          /* centres text inside */
  background-color: #A020F0;   /* Brand purple */
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: 'Gill Sans Pro', 'Gill Sans MT', GillSans, sans-serif;
  border: 2px solid #A020F0;
  transition: all 0.2s ease-in-out;
}

.see-more-button summary:hover {
  background-color: #fff;      /* Hollow effect */
  color: #A020F0;              /* Brand purple text */
  border: 2px solid #A020F0;   /* Brand purple outline */
}

/* Make sure the summary block itself is centred */
.see-more-button {
  text-align: center;
}
.see-more-button[open] summary{
  background:#fff;color:#A020F0;border:2px solid #A020F0;
}
.see-more-button{margin-top:12px}
.wp-block-group.is-layout-flow{row-gap:2.25rem}
@media (max-width:680px){
  .wp-block-image img{height:auto;max-width:100%}
}
/* Align both columns from the top */
.wayfinding-row.wp-block-columns { align-items: flex-start !important; }
.wayfinding-row > .wp-block-column { align-self: flex-start; }

/* --- Neutralize Jetpack Slideshow's inline sizing in this row --- */
.wayfinding-right .wp-block-jetpack-slideshow_container {
  /* Jetpack adds an aspect-ratio spacer – kill it */
  aspect-ratio: auto !important;
  padding-top: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* The wrapper + list often carry heights too */
.wayfinding-right .wp-block-jetpack-slideshow_slides,
.wayfinding-right .wp-block-jetpack-slideshow_swiper-wrapper,
.wayfinding-right .wp-block-jetpack-slideshow { 
  height: auto !important;
}

/* Individual slides get inline height (e.g., 239px) – override it */
.wayfinding-right .wp-block-jetpack-slideshow_slide[style] {
  height: auto !important;
}

/* Images: natural sizing, no crop */
.wayfinding-right img,
.wayfinding-row .wp-block-image img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
}

/* Remove stray margins/padding that can shift baseline */
.wayfinding-right .wp-block-jetpack-slideshow,
.wayfinding-right .wp-block-jetpack-slideshow_container,
.wayfinding-right .wp-block-jetpack-slideshow_slides,
.wayfinding-right .wp-block-jetpack-slideshow_slide,
.wayfinding-row figure {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Optional: visually balance heights (no crop) */
.wayfinding-row .wp-block-image img,
.wayfinding-right img { max-height: 560px; } /* tweak 520–600px to taste */

/* If captions not used, keep them from adding height */
.wayfinding-right .wp-block-jetpack-slideshow_caption { display: none; }
/* PH slideshow arrows: solid purple disc, white chevrons; hover = hollow w/ purple chevrons */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow__button,
.wp-block-jetpack-slideshow .swiper-button-prev,
.wp-block-jetpack-slideshow .swiper-button-next {
  background: #A020F0 !important;
  border: 2px solid #A020F0 !important;
  border-radius: 50% !important;
  width: 35px !important;
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.14) !important;
  transition: all .2s ease-in-out !important;
  opacity: 1 !important; visibility: visible !important;
}

/* Position left/right */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button.is-left,
.wp-block-jetpack-slideshow .swiper-button-prev { left: 10px !important; }
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button.is-right,
.wp-block-jetpack-slideshow .swiper-button-next { right: 10px !important; }

/* Hide Jetpack’s SVG so it can’t interfere */
.wp-block-jetpack-slideshow button svg { display: none !important; }

/* Draw our own chevrons */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button::after,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow__button::after,
.wp-block-jetpack-slideshow .swiper-button-prev::after,
.wp-block-jetpack-slideshow .swiper-button-next::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;              /* white arrow */
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

/* Prev chevron points left */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button.is-left::after,
.wp-block-jetpack-slideshow .swiper-button-prev::after {
  transform: rotate(225deg);
}

/* Hover = hollow disc + purple chevrons */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button:hover,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow__button:hover,
.wp-block-jetpack-slideshow .swiper-button-prev:hover,
.wp-block-jetpack-slideshow .swiper-button-next:hover {
  background: transparent !important;
  border-color: #A020F0 !important;
}

.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button:hover::after,
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow__button:hover::after,
.wp-block-jetpack-slideshow .swiper-button-prev:hover::after,
.wp-block-jetpack-slideshow .swiper-button-next:hover::after {
  border-color: #A020F0 !important;    /* purple arrow on hover */
}
.wp-block-jetpack-slideshow {
  margin-bottom: 0 !important;
}
.wp-block-jetpack-slideshow {
  margin-top: 0 !important;
}
/* Force Jetpack slideshow to auto-height instead of tallest image */
.wp-block-jetpack-slideshow .swiper-wrapper,
.wp-block-jetpack-slideshow .swiper-slide,
.wp-block-jetpack-slideshow figure {
  height: auto !important;
}

.wp-block-jetpack-slideshow img {
  height: auto !important;
  max-height: 500px; /* adjust this to taste */
  width: auto !important;
  object-fit: contain !important;
}
html {
  scroll-behavior: smooth;
}
/* Add label + icon before the dynamic read-time block */
.wp-block-post-time-to-read::before {
  content: "⏳ Read time ";
  margin-right: 0.0em;
}
:target {
  scroll-margin-top: 600px; /* adjust this number to match your header height */
}
/* Keep the header above everything */
header,
.wp-block-template-part-header,
.wp-block-template-part[name="header"] {
  position: relative;
  z-index: 999;
}

/* Make sure that testimonial block sits *under* the header */
.home-testimonial {
  position: relative;
  z-index: 1;
}