/*
  Additions beyond the original static clone's style.css — built for project
  detail components seen on the live thegrid-arch.com project pages
  (full-width images, image sliders, drawing/floor-plan carousels) that
  weren't present in the static reference site. Uses the same design tokens
  (fonts, colors, spacing) as style.css so these blocks feel native.
*/

/* ---------- Full-width single image ---------- */
.full-width-image-block {
  width: 100%;
  overflow: hidden;
}

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

.full-width-image-block .caption {
  margin-top: 1rem;
  padding: 0 2rem;
  font-family: var(--regular-font-family);
  font-size: var(--text-font-size);
  color: var(--highlight-color);
}

/* ---------- Shared slider/carousel nav (image slider + drawings carousel) ---------- */
.thegrid-slider-wrapper {
  position: relative;
}

.thegrid-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white-color);
  border-radius: 50%;
/*   box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15); */
  transition: var(--common-transition);
}

.thegrid-slider-nav:hover {
  background: var(--primary-color);
}

.thegrid-slider-nav:hover img {
  filter: invert(1);
}

.thegrid-slider-nav img {
  width: 1.125rem;
  height: 1.125rem;
}

.thegrid-slider-nav.prev {
  left: 1.5rem;
}

.thegrid-slider-nav.next {
  right: 1.5rem;
}

.thegrid-slider-counter {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--regular-font-family);
  font-size: var(--text-font-size);
  color: var(--highlight-color);
}

/* ---------- Full-width image slider (one slide visible) ---------- */
.image-slider-block .swiper-slide {
  aspect-ratio: 16 / 9;
}

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

@media only screen and (max-width: 767px) {
  .image-slider-block .swiper-slide {
    aspect-ratio: 4 / 3;
  }

  .thegrid-slider-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .thegrid-slider-nav.prev {
    left: 0.75rem;
  }

  .thegrid-slider-nav.next {
    right: 0.75rem;
  }
}

/* ---------- Drawings / floor plans carousel (several visible) ---------- */
.drawings-carousel-block {
  padding: 0 2rem 5rem 2rem;
}

.drawings-carousel-block .swiper-slide {
  aspect-ratio: 4 / 3;
  background: var(--background-smoke);
}

.drawings-carousel-block .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.drawings-carousel-block .thegrid-slider-nav.prev {
  left: 2.5%;
}

.drawings-carousel-block .thegrid-slider-nav.next {
  right: 2.5%;
}

/* 19-10-2026 */
#conversation-player {
    aspect-ratio: 16 / 9;
}

.featured-projects-wrapper .three-grid-temp-item .featured_image {
  position: relative !important;
}

.featured-projects-wrapper .three-grid-temp-item .featured_image::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.featured-projects-wrapper .three-grid-temp-item.deactive .featured_image::after {
  opacity: 1 !important;
}

.text-image-block.image-left {
    grid-template-columns: 50% 50%;
	align-items: center;
}

.thegrid-slider-wrapper .thegrid-slider-nav {
    background: transparent;
}
.thegrid-slider-nav img {
    width: auto;
    height: auto;
}

.page-id-41 .founder-simage video {
    width: 100%;
}

.contact-form-wrap .wpforms-field input[type="text"], .contact-form-wrap .wpforms-field input[type="email"]{
    position: relative;
    border-radius: 0;
    font-size: 1rem;
    border: 0px solid #d9d9d9;
    width: 100%;
    height: unset !important;
    resize: none;
    color: #111111;
    padding: 1.2rem 1rem;
    font-family: 'NeueHaasUnicaPro-Medium';
    background-color: #F5F5F5;
	transition: none !important;
}
.contact-form-wrap .wpforms-field textarea {
     position: relative;
    border-radius: 0;
    font-size: 1rem;
    border: 0px solid #d9d9d9;
    width: 100%;
    resize: none;
    color: #111111;
    padding: 1.375rem 1rem;
    font-family: 'NeueHaasUnicaPro-Medium';
    background-color: #F5F5F5;
    height:120px !important;
	transition: none !important;
}
.contact-form-wrap .wpforms-container .wpforms-field {
    padding-bottom: 24px;
    padding-top: 0;
}
.contact-form-wrap .wpforms-container .wpforms-submit-container {
    margin-top: 0 !important;
}
.contact-form-wrap button[type=submit].wpforms-submit {
    border: 1px solid #111111 !important;
    background-color: #111111 !important;
    display: flex;
    align-items: center;
    cursor: pointer !important;
    gap: 1rem;
    padding: 0.7rem 1.75rem 0.9rem 1.75rem !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    height: auto !important;
    line-height: 1;
}
.contact-form-wrap button[type=submit].wpforms-submit:hover {
    background: transparent !important;
    color: #111;
}

.contact-form-wrap .wpforms-field input[type="text"]:focus,
.contact-form-wrap .wpforms-field input[type="email"]:focus,
.contact-form-wrap .wpforms-field textarea:focus
 {
   border: none !important;
    box-shadow: none !important;
}

.contact-form-wrap button[type=submit].wpforms-submit:focus:after {
    border: none !important;
    box-shadow: none !important;
}

.contact-form-wrap label.wpforms-field-label {
    font-size: 16px !important;
    font-family: 'NeueHaasUnicaPro-Medium';
    color: #000;
    margin-bottom: 1rem !important;
    margin-top: 0.5rem !important;
    border-left: 3px solid #000 !important;
    padding-left: 0.5rem !important;
    display: inline-block;
    font-weight: 400 !important;
}


#pageLoader .loader-box::after {
      animation: pageLoaderBorderDraw 2s linear forwards;
    }

    #pageLoader .loader-box.fill-red::before {
      transition-delay: 0.3s;
    }

    @keyframes pageLoaderBorderDraw {
      0% {
        background-size: 0% 1px, 1px 0%, 0% 1px, 1px 0%;
      }
      25% {
        background-size: 100% 1px, 1px 0%, 0% 1px, 1px 0%;
      }
      50% {
        background-size: 100% 1px, 1px 100%, 0% 1px, 1px 0%;
      }
      75% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 0%;
      }
      100% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
      }
    }
.page-id-48 .noteworthy-exhibitions-grid .flex-design-approach-40 {
    width: auto;
}
@media (max-width: 1100px) {
	.founder-simage video {
		width: 100%;
	}
}
@media only screen and (max-width: 767px) {
  .drawings-carousel-block {
    padding: 0 1rem;
  }

  .drawings-carousel-block .thegrid-slider-nav.prev {
    left: -0.5rem;
  }

  .drawings-carousel-block .thegrid-slider-nav.next {
    right: -0.5rem;
  }
}



.page-id-64 .tandc-page {
	 margin-top:0;
}

.page-id-64 .tandc-page strong{
	font-weight:unset
}

.page-id-64 .menu-btn>div {
	background-color: #000 !important;
}

.page-id-1093 .menu-btn>div,
.page-id-41 .menu-btn>div
{
	background-color: #000 !important;
}

.page-id-48 .menu-btn>div {
	background-color: #000 !important;
}

@media only screen and (max-width: 767px) {
	.page-id-56 .contact.white-bg{
		padding-top:100px;
	}
	
	.page-id-51 .mobile-header-padding{
		padding-top:100px;
	}
	.page-id-64 .tandc-page {
    margin-top: 5rem;
	}
	#studio-section-1 .image-next-div img {
		height: 100%;
	}
}