/* The full-bleed sections below use 100vw to escape Charme's constrained
 * homepage container. Desktop viewport units include the vertical scrollbar
 * gutter, so clip that gutter-sized excess only on this module's pages. */
body#index,
body#module-edcstorepages-location1,
body#module-edcstorepages-location2 {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body#index,
  body#module-edcstorepages-location1,
  body#module-edcstorepages-location2 {
    overflow-x: clip;
  }
}

.edcsp-shell {
  width: min(1320px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.edcsp-placeholder {
  background: linear-gradient(135deg, #d8d4ce 0%, #aaa39b 100%);
}

.edcsp-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.edcsp-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid #111;
  background: #111;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease;
}

.edcsp-button:hover,
.edcsp-button:focus {
  background: transparent;
  color: #111 !important;
}

.edcsp-button--light {
  border-color: #fff;
  background: #fff;
  color: #111 !important;
}

.edcsp-button--light:hover,
.edcsp-button--light:focus {
  background: transparent;
  color: #fff !important;
}

.edcsp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #111 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.edcsp-text-link span {
  transition: transform .2s ease;
}

.edcsp-text-link:hover span {
  transform: translateX(4px);
}

.edcsp-prose > :last-child,
.edcsp-lead > :last-child {
  margin-bottom: 0;
}

.edcsp-home-hero {
  position: relative;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  min-height: clamp(520px, 72vh, 800px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.edcsp-home-hero__shade,
.edcsp-location-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .18) 62%, rgba(0, 0, 0, .06) 100%);
}

.edcsp-home-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edcsp-home-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: clamp(64px, 9vw, 120px);
}

.edcsp-home-hero h1,
.edcsp-location-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: inherit;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: none;
}

.edcsp-home-hero .edcsp-lead {
  max-width: 580px;
  margin-bottom: 34px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.edcsp-home-intro {
  max-width: 880px;
  padding-top: clamp(72px, 10vw, 138px);
  padding-bottom: clamp(72px, 10vw, 138px);
  text-align: center;
}

.edcsp-home-intro h2,
.edcsp-home-locations > h2,
.edcsp-story h2,
.edcsp-details h2,
.edcsp-visit-cta h2 {
  margin: 0;
  color: #111;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: none;
}

.edcsp-home-intro .edcsp-prose {
  margin-top: 28px;
  color: #555;
  font-size: 18px;
  line-height: 1.8;
}

.edcsp-home-locations {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.edcsp-home-locations > h2 {
  margin-bottom: 42px;
  text-align: center;
}

.edcsp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
}

.edcsp-card {
  background: #f4f2ef;
}

.edcsp-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.edcsp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}

.edcsp-card:hover .edcsp-card__media img {
  transform: scale(1.025);
}

.edcsp-card__body {
  padding: clamp(26px, 4vw, 48px);
}

.edcsp-card h3 {
  margin: 0 0 14px;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 400;
  text-transform: none;
}

.edcsp-card h3 a {
  color: #111;
  text-decoration: none;
}

.edcsp-card p {
  min-height: 48px;
  margin: 0 0 26px;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}

.edcsp-location-page {
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #fff;
  color: #222;
}

.edcsp-location-hero {
  position: relative;
  min-height: clamp(480px, 68vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.edcsp-location-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edcsp-location-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: clamp(58px, 8vw, 104px);
}

.edcsp-location-intro {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
}

.edcsp-location-intro .edcsp-lead {
  color: #333;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  line-height: 1.5;
}

.edcsp-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 9vw, 140px);
  padding: clamp(70px, 9vw, 124px) clamp(28px, 6vw, 90px);
  background: #f4f2ef;
}

.edcsp-story__copy {
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.85;
}

.edcsp-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: clamp(76px, 10vw, 140px) 0;
}

.edcsp-detail {
  padding: 0 clamp(26px, 4vw, 60px);
  border-right: 1px solid #d8d5d0;
}

.edcsp-detail:first-child {
  padding-left: 0;
}

.edcsp-detail:last-child {
  padding-right: 0;
  border-right: 0;
}

.edcsp-detail h2 {
  margin-bottom: 28px;
  font-size: clamp(23px, 2.4vw, 32px);
}

.edcsp-detail .edcsp-prose,
.edcsp-detail p,
.edcsp-detail li {
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}

.edcsp-detail ul {
  padding-left: 18px;
}

.edcsp-detail a:not(.edcsp-text-link) {
  color: #222;
  text-decoration: underline;
}

.edcsp-gallery {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(260px, 34vw));
  gap: 16px;
  padding-bottom: clamp(78px, 10vw, 140px);
}

.edcsp-gallery__item {
  margin: 0;
  overflow: hidden;
  background: #eee;
}

.edcsp-gallery__item:first-child {
  grid-row: 1 / 3;
}

.edcsp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edcsp-gallery__item:only-child {
  grid-column: 1 / 3;
}

.edcsp-gallery--1 {
  display: block;
}

.edcsp-gallery--1 .edcsp-gallery__item {
  aspect-ratio: 16 / 9;
}

.edcsp-gallery--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(300px, 38vw);
}

.edcsp-gallery--2 .edcsp-gallery__item:first-child {
  grid-row: auto;
}

.edcsp-visit-cta {
  margin-bottom: clamp(78px, 10vw, 140px);
  padding: clamp(64px, 9vw, 110px) 24px;
  background: #efede8;
  text-align: center;
}

.edcsp-visit-cta h2 {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .edcsp-shell {
    width: calc(100% - 32px);
  }

  .edcsp-home-hero,
  .edcsp-location-hero {
    min-height: 580px;
  }

  .edcsp-home-hero__shade,
  .edcsp-location-hero__shade {
    background: linear-gradient(0deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .08) 72%);
  }

  .edcsp-card-grid,
  .edcsp-story,
  .edcsp-details,
  .edcsp-gallery {
    grid-template-columns: 1fr;
  }

  .edcsp-story {
    gap: 32px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .edcsp-details {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .edcsp-detail,
  .edcsp-detail:first-child,
  .edcsp-detail:last-child {
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid #d8d5d0;
  }

  .edcsp-detail:last-child {
    border-bottom: 0;
  }

  .edcsp-gallery {
    grid-template-rows: none;
  }

  .edcsp-gallery__item,
  .edcsp-gallery__item:first-child,
  .edcsp-gallery__item:only-child {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edcsp-card__media img,
  .edcsp-text-link span,
  .edcsp-button {
    transition: none;
  }
}

/* The legacy sale banner is unhooked while this module manages the homepage;
 * allow the retained Charme newsletter to use the complete row. Because this
 * stylesheet is module-owned, disabling the module removes this rule too. */
body#index .columns-anthemeblocks-1 > .row > .col-lg-3:first-child {
  display: none;
}

body#index .columns-anthemeblocks-1 > .row > .col-lg-9 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}
