/* Geographic pillar pages build on the established homepage and lake-pillar system. */
.caw-country-pillar {
  --caw-hero-backdrop-position: 58% center;
  --caw-hero-photo-position: center;
  background: #fffdf9;
}

.caw-country-pillar section[id] {
  scroll-margin-top: 7rem;
}

.caw-country-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 4.55vw, 4.4rem);
}

.caw-country-hero .caw-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.caw-country-hero .caw-flag,
.caw-lake-listing__location .caw-flag {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 0.9rem;
}

.caw-country-hero__visual {
  position: relative;
  min-height: 32rem;
}

.caw-country-hero__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 0.55rem solid #fff;
  background: #fff;
  box-shadow: 0 1rem 2.4rem rgb(2 28 57 / 0.2);
}

.caw-country-hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.caw-country-hero__photo span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.45rem 0.7rem 0.25rem;
  background: #fff;
  color: #123f49;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.caw-country-hero__photo--1 {
  z-index: 1;
  top: 4rem;
  left: 1rem;
  width: 66%;
  height: 21rem;
  transform: rotate(-2deg);
}

.caw-country-hero__photo--2 {
  z-index: 2;
  top: 0.5rem;
  right: 0;
  width: 43%;
  height: 14.5rem;
  transform: rotate(4deg);
}

.caw-country-hero__photo--3 {
  z-index: 3;
  right: 6%;
  bottom: 0.4rem;
  width: 42%;
  height: 13.5rem;
  transform: rotate(-3.5deg);
}

.caw-country-intro {
  padding-block: clamp(4.5rem, 6vw, 6rem);
  background: #fffdf9;
}

.caw-country-intro .caw-home-intro__copy h2 {
  max-width: 13ch;
}

.caw-country-intro .caw-home-intro__copy > p:not(.caw-eyebrow) {
  max-width: 39rem;
}

.caw-country-water-types {
  padding-block: clamp(3.75rem, 5vw, 5rem);
  background: #f5ebdd;
}

.caw-country-water-types .caw-pillar-heading {
  max-width: 49rem;
  margin-bottom: 2rem;
}

.caw-country-water-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.caw-country-water-card {
  position: relative;
  grid-column: auto;
  min-height: 13.5rem;
  overflow: hidden;
  border-radius: 1.35rem;
  color: #fff;
}

.caw-country-water-card--wide {
  grid-column: auto;
  grid-row: auto;
}

.caw-country-water-card--small {
  grid-column: auto;
}

.caw-country-water-card > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 350ms ease;
}

.caw-country-water-card .caw-waterbody-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(3 28 52 / 0.02) 20%, rgb(3 35 49 / 0.88) 100%);
}

.caw-country-water-card__body {
  position: absolute;
  z-index: 2;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.caw-country-water-card__body small {
  color: #f2c56d;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.caw-country-water-card__body strong {
  color: #fff;
  font-family: var(--caw-font-heading);
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.caw-country-water-card__body > span {
  max-width: 31rem;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.86rem;
}

.caw-country-water-card__body em {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  color: #fff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.caw-country-water-card__body .caw-icon {
  width: 1rem;
  height: 1rem;
}

.caw-country-water-card:hover > img {
  transform: scale(1.035);
}

.caw-country-water-divider {
  position: relative;
  height: 4rem;
  overflow: hidden;
  background: #edf7f7;
}

.caw-country-water-divider::before {
  position: absolute;
  inset: 0;
  background: #f5ebdd;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 88% 58%, 72% 42%, 57% 64%, 42% 45%, 28% 61%, 12% 43%, 0 58%);
  content: "";
}

.caw-country-waters {
  background: #edf7f7;
}

.caw-country-waters .caw-waterbody-card--feature {
  min-height: 25rem;
}

.caw-country-results {
  background: #f8fbfb;
}

.caw-lake-listing__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.caw-country-regions {
  padding-block: clamp(5rem, 8vw, 8rem);
  background: #fffdf9;
}

.caw-country-regions .caw-pillar-heading {
  max-width: 64rem;
}

.caw-country-regions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.caw-country-regions__header h2 {
  max-width: 18ch;
  margin: 0;
}

.caw-country-regions__controls {
  display: flex;
  gap: 0.65rem;
}

.caw-country-regions__controls button {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgb(30 109 132 / 0.22);
  border-radius: 50%;
  background: #1e6d84;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.caw-country-regions__controls button:disabled {
  background: #fff;
  color: rgb(30 109 132 / 0.35);
  cursor: default;
}

.caw-country-region-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.2rem max(1.5rem, calc((100vw - var(--caw-content-max)) / 2)) 0.4rem 0;
  margin-right: calc(50% - 50vw);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.caw-country-region-slider::-webkit-scrollbar {
  display: none;
}

.caw-country-region {
  position: relative;
  flex: 0 0 min(24.5rem, 30vw);
  min-height: 19rem;
  overflow: hidden;
  border-radius: 1.25rem;
  color: #fff;
  scroll-snap-align: start;
}

.caw-country-region img,
.caw-country-region > .caw-waterbody-card__shade {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.caw-country-region img {
  object-fit: cover;
  transition: transform 350ms ease;
}

.caw-country-region > .caw-waterbody-card__shade {
  background: linear-gradient(180deg, rgb(3 28 52 / 0.03) 20%, rgb(3 35 49 / 0.88) 100%);
}

.caw-country-region > span:last-child {
  position: absolute;
  z-index: 2;
  right: 1.3rem;
  bottom: 1.25rem;
  left: 1.3rem;
  display: grid;
  gap: 0.25rem;
}

.caw-country-region small {
  color: #f2c56d;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.caw-country-region strong {
  color: #fff;
  font-family: var(--caw-font-heading);
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.caw-country-region em {
  color: rgb(255 255 255 / 0.8);
  font-size: 0.78rem;
  font-style: normal;
}

.caw-country-region:hover img {
  transform: scale(1.04);
}

.caw-country-regions__footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.caw-country-regions__footer .caw-destination-slider__dots {
  grid-column: 2;
}

.caw-country-regions__footer .caw-text-link {
  grid-column: 3;
  justify-self: end;
}

.caw-country-wishes {
  margin: 0;
}

.caw-country-profile::before {
  background-image: var(--caw-profile-image);
}

.caw-country-story {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  background: #fffdf9;
}

.caw-country-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(20rem, 35fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
}

.caw-country-story__copy h2 {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.35rem, 3.6vw, 3.65rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.caw-country-story__copy > p:not(.caw-eyebrow) {
  max-width: 47rem;
  color: #4f6767;
  font-size: 1rem;
  line-height: 1.75;
}

.caw-country-story__copy .caw-text-link {
  margin-top: 0.65rem;
}

.caw-country-story__gallery {
  position: relative;
  min-height: 29rem;
  isolation: isolate;
}

.caw-country-story__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 1.35rem;
  background: #dceff1;
  box-shadow: 0 1rem 2.5rem rgb(11 63 73 / 0.11);
}

.caw-country-story__photo--1 {
  top: 0;
  right: 8%;
  width: 86%;
  height: 72%;
  transform: rotate(-2deg);
}

.caw-country-story__photo--2 {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 65%;
  height: 52%;
  transform: rotate(2.5deg);
}

.caw-country-story__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.caw-country-story-divider {
  position: relative;
  height: 3.5rem;
  overflow: hidden;
  background: #dceff1;
}

.caw-country-story-divider::before {
  position: absolute;
  inset: 0;
  background: #fffdf9;
  clip-path: polygon(0 0, 100% 0, 100% 32%, 88% 55%, 73% 39%, 58% 62%, 43% 42%, 27% 59%, 11% 40%, 0 56%);
  content: "";
}

.caw-country-depth {
  padding-top: clamp(4rem, 6vw, 6rem);
  background: #dceff1;
}

.caw-country-depth .caw-lake-depth__intro h2 {
  max-width: 15ch;
}

.caw-country-inspiration {
  border-top: 1px solid rgb(30 109 132 / 0.1);
}

.caw-country-faq + .caw-wave--footer {
  --caw-wave-from: #edf7f7;
}

@media (max-width: 74.99rem) {
  .caw-country-page .caw-site-header.is-scrolled,
  .caw-country-preview .caw-site-header.is-scrolled,
  .caw-country-page .caw-site-header.is-scrolled .caw-header,
  .caw-country-preview .caw-site-header.is-scrolled .caw-header {
    background: #fff;
    box-shadow: 0 0.55rem 1.7rem rgb(8 38 44 / 0.13);
    backdrop-filter: none;
  }

  .caw-country-page .caw-site-header.is-scrolled .caw-header__inner,
  .caw-country-preview .caw-site-header.is-scrolled .caw-header__inner {
    border-color: transparent;
    background: #fff;
    box-shadow: none;
  }

  .caw-country-hero__visual {
    min-height: 26rem;
  }

  .caw-country-hero__photo--1 {
    height: 18rem;
  }

  .caw-country-hero__photo--2 {
    height: 12.5rem;
  }

  .caw-country-hero__photo--3 {
    height: 11rem;
  }
}

@media (max-width: 61.99rem) {
  .caw-country-hero .caw-lake-hero__inner {
    grid-template-columns: 1fr;
  }

  .caw-country-hero h1 {
    max-width: 14ch;
  }

  .caw-country-hero__visual {
    min-height: 24rem;
  }

  .caw-country-water-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .caw-country-region {
    flex-basis: min(23rem, 46vw);
  }

  .caw-country-story__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .caw-country-story__gallery {
    width: min(100%, 35rem);
    min-height: 25rem;
    justify-self: center;
  }
}

@media (max-width: 47.99rem) {
  .caw-country-hero,
  .caw-country-hero .caw-lake-hero__inner {
    min-height: 57rem;
  }

  .caw-country-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
  }

  .caw-country-hero__visual {
    min-height: 20rem;
  }

  .caw-country-hero__photo {
    border-width: 0.38rem;
  }

  .caw-country-hero__photo--1 {
    top: 1rem;
    left: 0;
    width: 76%;
    height: 15rem;
  }

  .caw-country-hero__photo--2 {
    top: 0;
    right: 0;
    width: 43%;
    height: 10rem;
  }

  .caw-country-hero__photo--3 {
    right: 4%;
    width: 46%;
    height: 9rem;
  }

  .caw-country-water-grid {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 0.1rem 1rem 0.45rem 0;
    margin-right: calc(50% - 50vw);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .caw-country-water-card,
  .caw-country-water-card--wide,
  .caw-country-water-card--small {
    flex: 0 0 78vw;
    min-height: 14.5rem;
    scroll-snap-align: start;
  }

  .caw-country-water-grid::-webkit-scrollbar {
    display: none;
  }

  .caw-country-regions__header {
    align-items: flex-start;
  }

  .caw-country-regions__controls {
    display: none;
  }

  .caw-country-region {
    flex-basis: 78vw;
    min-height: 17rem;
  }

  .caw-country-regions__footer {
    grid-template-columns: 1fr;
  }

  .caw-country-regions__footer .caw-destination-slider__dots,
  .caw-country-regions__footer .caw-text-link {
    grid-column: 1;
    justify-self: center;
  }

  .caw-country-story__copy h2 {
    font-size: clamp(2.15rem, 9vw, 2.75rem);
  }

  .caw-country-story__gallery {
    min-height: 20rem;
  }

  .caw-country-story__photo--1 {
    right: 6%;
    width: 88%;
  }

  .caw-country-story__photo--2 {
    width: 66%;
  }
}
