/*
 * Fixes from the October 2026 redline review. These replace styling that lived in
 * stylesheets the Wayback Machine never stored (Elementor Pro's widget-theme-elements.css
 * and the per-template post-2264.css), so they load after everything else.
 */

/*
 * These faces are otherwise only declared in individual page stylesheets, so shared
 * sections (like the "Designed by us" call-to-action) fall back to Arial elsewhere.
 */
@font-face {
  font-family: "Gantari Light";
  font-style: normal;
  font-weight: 100 400;
  font-display: swap;
  src: url("/wp-content/uploads/2022/09/Gantari-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Bodoni Moda, Regular";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/wp-content/uploads/2022/09/BodoniModa-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Hearth Stone, Regular";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("/wp-content/uploads/2022/09/Hearth-Stone.ttf") format("truetype");
}

/* Project category grids (Commercial, Residential, Marine) */
.elementor-widget-archive-posts .elementor-posts-container.elementor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 48px;
}
.elementor-widget-archive-posts .elementor-post__thumbnail {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.elementor-widget-archive-posts .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.elementor-widget-archive-posts .elementor-post__thumbnail__link:hover img {
  transform: scale(1.03);
}
.elementor-widget-archive-posts .elementor-post__text {
  margin-top: 14px;
}
.elementor-widget-archive-posts .elementor-post__title,
.elementor-widget-archive-posts .elementor-post__title a {
  font-family: "Gantari Regular", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1818;
  margin: 0;
}
.elementor-widget-archive-posts .elementor-post__title a:hover {
  color: #c4091e;
}
@media (max-width: 1024px) {
  .elementor-widget-archive-posts .elementor-posts-container.elementor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
  }
}
@media (max-width: 767px) {
  .elementor-widget-archive-posts .elementor-posts-container.elementor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* "Back to ... Projects" on project pages: match the site's red text links */
.single-projects .elementor-widget-button .elementor-button {
  background: none;
  padding: 0;
  border-radius: 0;
  font-family: "Gantari SemiBold", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c4091e;
}
.single-projects .elementor-widget-button .elementor-button:hover {
  color: #2a2627;
}

/* Previous / next project links at the foot of every project page */
.elementor-widget-post-navigation {
  width: 100%;
}
.elementor-post-navigation {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid #e3dedb;
  padding: 40px 0 56px;
  margin-top: 24px;
}
.elementor-post-navigation__link {
  flex: 1 1 0;
  min-width: 0;
}
.elementor-post-navigation__next {
  text-align: right;
}
.elementor-post-navigation__link a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #2a2627;
  text-decoration: none;
}
.elementor-post-navigation__link__prev,
.elementor-post-navigation__link__next {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.elementor-post-navigation__link__prev::before,
.elementor-post-navigation__link__next::before {
  font-family: "Gantari Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6d6662;
}
.elementor-post-navigation__link__prev::before { content: "Previous project"; }
.elementor-post-navigation__link__next::before { content: "Next project"; }
.post-navigation__prev--title,
.post-navigation__next--title {
  font-family: "Boodni 72", "Bodoni Moda", Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
  color: #2a2627;
  transition: color 0.2s ease;
}
.elementor-post-navigation__link a:hover .post-navigation__prev--title,
.elementor-post-navigation__link a:hover .post-navigation__next--title {
  color: #c4091e;
}
.post-navigation__arrow-wrapper {
  font-size: 22px;
  color: #2a2627;
}
.elementor-post-navigation__separator-wrapper {
  display: none;
}
@media (max-width: 767px) {
  .elementor-post-navigation {
    padding: 28px 0 40px;
  }
  .post-navigation__prev--title,
  .post-navigation__next--title {
    font-size: 22px;
  }
  .post-navigation__arrow-wrapper {
    display: none;
  }
}

/* Pages rebuilt by rebuild_pages.py: rooms (bath, bedroom, ...), Press and Collection */
.gw-rebuilt {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 96px;
  color: #231b1d;
}
.gw-hero {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 64px;
}
.gw-hero--center {
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}
.gw-eyebrow {
  margin: 0;
  font-family: "Gantari Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6d6662;
}
.gw-title {
  margin: 0;
  font-family: "Boodni 72", "Bodoni Moda", Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  color: #2a2627;
}
.gw-intro {
  margin: 0;
  font-family: "Gantari Light", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
}
.gw-quote {
  margin: 12px 0 0;
  padding-left: 20px;
  border-left: 1px solid #c4091e;
  font-family: "Boodni 72", "Bodoni Moda", Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: #2a2627;
}
.gw-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.gw-gallery__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f2f0ef;
}
.gw-gallery__item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.gw-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gw-gallery__item:hover img {
  transform: scale(1.03);
}
.gw-after {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e3dedb;
}
.gw-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.gw-rooms a,
.gw-link,
.gw-social a {
  font-family: "Gantari Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1818;
  text-decoration: none;
}
.gw-rooms a:hover,
.gw-rooms a.is-current,
.gw-social a:hover {
  color: #c4091e;
}
.gw-link {
  font-family: "Gantari SemiBold", sans-serif;
  color: #c4091e;
}
.gw-link:hover {
  color: #2a2627;
}
.gw-press {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}
.gw-press__item {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f2f0ef;
  box-shadow: 0 1px 2px rgba(26, 24, 24, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gw-press__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a.gw-press__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 24, 24, 0.16);
}
.gw-notify {
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
}
.gw-notify__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.gw-notify__row {
  display: flex;
  gap: 0;
  border: 1px solid #2a2627;
}
.gw-notify input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 16px 18px;
  font-family: "Gantari Light", sans-serif;
  font-size: 16px;
  background: #fff;
  color: #231b1d;
}
.gw-notify button {
  border: 0;
  border-radius: 0;
  padding: 0 28px;
  background: #1a1818;
  color: #fff;
  font-family: "Gantari SemiBold", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}
.gw-notify button:hover {
  background: #c4091e;
}
.gw-notify__thanks {
  display: none;
  margin: 16px 0 0;
  font-family: "Gantari Light", sans-serif;
}
.gw-notify.is-sent .gw-notify__row {
  display: none;
}
.gw-notify.is-sent .gw-notify__thanks {
  display: block;
}
.gw-social {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .gw-press {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .gw-rebuilt {
    padding: 110px 20px 64px;
  }
  .gw-title {
    font-size: 44px;
  }
  .gw-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gw-gallery__item:first-child {
    aspect-ratio: 4 / 3;
  }
  .gw-press {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .gw-after {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer menu gained "Press"; tighten the spacing so seven items stay on one line */
.elementor-location-footer .elementor-element.elementor-element-25e188d {
  --e-nav-menu-horizontal-menu-item-margin: calc(24px / 2);
}
