/* Visit Prince Edward Island live refinement layer. */

.site-wordmark {
  flex-direction: row;
  align-items: center;
  gap: 0.72rem;
}

.site-wordmark__symbol {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.site-wordmark__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.site-wordmark__tagline {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.vpei-maple-leaf {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.site-wordmark--footer {
  display: inline-flex;
  color: #fff;
}

.site-wordmark--footer:hover {
  color: #fff;
}

.site-wordmark--footer .site-wordmark__symbol {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
}

.site-wordmark--footer .site-wordmark__name {
  color: #fff;
  font-size: clamp(1.42rem, 3vw, 1.9rem);
}

.site-wordmark--footer .site-wordmark__name span {
  color: var(--butter);
}

.site-wordmark--footer .site-wordmark__tagline {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__brand-lockup {
  margin-bottom: 1.15rem;
}

.footer-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li,
.footer-list li::marker {
  list-style: none;
  content: none;
}

.site-footer__credits-link {
  margin-top: 1rem;
}

.site-footer__credits-link a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

/* Brevo-powered newsletter. */
.vpei-brevo-shell {
  width: min(100%, 760px);
  margin: 1.6rem auto 0;
}

.vpei-brevo-shell form,
.vpei-brevo-shell .sib_signup_box_inside_1 {
  margin: 0;
}

.vpei-brevo-shell p {
  margin: 0;
}

.vpei-brevo-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: end;
}

.vpei-brevo-form__field {
  min-width: 0;
}

.vpei-brevo-form label,
.vpei-brevo-form__label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vpei-brevo-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.95rem;
  color: var(--foreground);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0.48rem;
}

.vpei-brevo-form input[type="submit"] {
  min-height: 50px;
  padding: 0.75rem 1.4rem;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0.48rem;
  font-weight: 700;
  cursor: pointer;
}

.vpei-brevo-form input[type="submit"]:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.vpei-brevo-form .newsletter-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.52rem;
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.vpei-brevo-form .newsletter-consent input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin-top: 0.18rem;
}

.vpei-brevo-shell .sib-alert-message,
.vpei-brevo-shell .sib_msg_disp {
  margin-top: 0.8rem;
  color: #fff;
}

/* Contact page. */
.contact-layout--refined {
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-form-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
}

.contact-note-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  color: #fff;
  background: var(--primary-dark);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 58px -30px rgba(21, 55, 78, 0.72);
}

.contact-note-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-note-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(21, 55, 78, 0.1), rgba(21, 55, 78, 0.92));
}

.contact-note-card > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.4rem, 4vw, 2.25rem);
}

.contact-note-card h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-note-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

/* Article sidebar. */
.guide-sidebar--island {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

.island-sidebar-card,
.island-sidebar-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}

.island-sidebar-card--welcome {
  position: relative;
  isolation: isolate;
}

.island-sidebar-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.island-sidebar-card__mark {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(21, 55, 78, 0.22);
  backdrop-filter: blur(8px);
}

.island-sidebar-card__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.island-sidebar-card__body,
.island-sidebar-section__heading {
  padding: 1.15rem 1.15rem 0;
}

.island-sidebar-card__body {
  padding-bottom: 1.2rem;
}

.island-sidebar-card__body h2,
.island-sidebar-section__heading h2 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.island-sidebar-card__body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.island-sidebar-section {
  padding-bottom: 1rem;
}

.island-sidebar-section .travelspark-widget,
.island-sidebar-section .tsva-widget,
.island-sidebar-section [class*="travelspark"],
.island-sidebar-section [class*="tsva-"] {
  max-width: 100%;
}

.island-sidebar-section img {
  max-width: 100%;
}

.sidebar-empty-note {
  margin: 0 1.15rem 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hotel-planning-card {
  display: block;
  overflow: hidden;
  margin: 0 1rem;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.78rem;
  text-decoration: none;
}

.hotel-planning-card:hover {
  color: var(--foreground);
  border-color: var(--accent);
}

.hotel-planning-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hotel-planning-card > span {
  display: block;
  padding: 0.9rem;
}

.hotel-planning-card strong,
.hotel-planning-card small {
  display: block;
}

.hotel-planning-card strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.hotel-planning-card small {
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Tours showcase. */
.tours-showcase-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #163c55;
}

.tours-showcase-hero__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(243, 222, 162, 0.2), transparent 34%),
    radial-gradient(circle at 88% 68%, rgba(142, 156, 104, 0.32), transparent 34%),
    linear-gradient(135deg, #15374e 0%, #1e4967 56%, #1a4058 100%);
}

.tours-showcase-hero__wash::after {
  position: absolute;
  right: -8vw;
  bottom: -15vw;
  width: 42vw;
  height: 42vw;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 4vw rgba(255, 255, 255, 0.025), 0 0 0 8vw rgba(255, 255, 255, 0.018);
}

.tours-showcase-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.tours-showcase-hero__copy {
  max-width: 660px;
}

.tours-showcase-hero .eyebrow {
  color: var(--butter);
}

.tours-showcase-hero h1 {
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.tours-showcase-hero__copy > p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.tours-showcase-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1.7rem 0 0;
  list-style: none;
}

.tours-showcase-hero__signals li {
  padding: 0.36rem 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 650;
}

.tours-photo-collage {
  position: relative;
  min-height: 610px;
}

.tours-photo-collage figure {
  position: absolute;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 1.2rem;
  box-shadow: 0 34px 90px -38px rgba(0, 0, 0, 0.62);
}

.tours-photo-collage figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tours-photo-collage__main {
  inset: 5% 16% 13% 0;
  transform: rotate(-2.5deg);
}

.tours-photo-collage__top {
  top: 0;
  right: 0;
  width: 43%;
  height: 37%;
  transform: rotate(4deg);
}

.tours-photo-collage__bottom {
  right: 1%;
  bottom: 0;
  width: 45%;
  height: 38%;
  transform: rotate(2deg);
}

.tours-photo-collage__mark {
  position: absolute;
  z-index: 4;
  bottom: 5%;
  left: -5%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem 0.6rem 0.65rem;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  font-family: var(--font-serif);
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.tours-photo-collage__mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.tours-live-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    linear-gradient(rgba(251, 248, 243, 0.94), rgba(251, 248, 243, 0.98)),
    url("../images/red-road.jpg") center / cover fixed;
}

.tours-live-section__intro {
  max-width: 880px;
  margin-bottom: 2.2rem;
  text-align: center;
}

.tours-live-section__intro h2 {
  margin-bottom: 0.8rem;
}

.tours-live-section__intro > p:last-child {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
}

.page-tours--showcase .travelspark-page-content {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(227, 217, 205, 0.9);
  border-radius: 1.2rem;
  box-shadow: 0 30px 80px -55px rgba(21, 55, 78, 0.72);
  backdrop-filter: blur(14px);
}

@media (max-width: 1119px) {
  .site-wordmark__symbol {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .tours-showcase-hero__inner {
    grid-template-columns: 1fr;
  }

  .tours-showcase-hero__copy {
    max-width: 780px;
  }

  .tours-photo-collage {
    min-height: 560px;
  }
}

@media (max-width: 779px) {
  .tours-photo-collage {
    min-height: 480px;
  }

  .tours-photo-collage__mark {
    left: 2%;
  }
}

@media (max-width: 619px) {
  .site-header__inner {
    min-height: 76px;
  }

  .site-wordmark {
    gap: 0.48rem;
  }

  .site-wordmark__symbol {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .site-wordmark__name {
    font-size: 1rem;
  }

  .site-wordmark__tagline {
    margin-top: 0.28rem;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .vpei-maple-leaf {
    width: 0.88rem;
    height: 0.88rem;
    flex-basis: 0.88rem;
  }

  .site-wordmark--footer .site-wordmark__symbol {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .site-wordmark--footer .site-wordmark__name {
    font-size: 1.35rem;
  }

  .vpei-brevo-form {
    grid-template-columns: 1fr;
  }

  .vpei-brevo-form .newsletter-consent {
    grid-column: auto;
  }

  .contact-note-card {
    min-height: 420px;
  }

  .tours-showcase-hero__inner {
    gap: 2.7rem;
    padding-block: 3.4rem 4.6rem;
  }

  .tours-showcase-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }

  .tours-showcase-hero .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .tours-photo-collage {
    min-height: 390px;
  }

  .tours-photo-collage figure {
    border-width: 4px;
    border-radius: 0.85rem;
  }

  .tours-photo-collage__main {
    inset: 4% 10% 12% 0;
  }

  .tours-photo-collage__top {
    width: 42%;
    height: 34%;
  }

  .tours-photo-collage__bottom {
    width: 47%;
    height: 35%;
  }

  .tours-photo-collage__mark {
    bottom: 2%;
    padding: 0.45rem 0.75rem 0.45rem 0.5rem;
    font-size: 0.82rem;
  }

  .tours-photo-collage__mark img {
    width: 44px;
    height: 44px;
  }

  .tours-live-section {
    background-attachment: scroll;
  }

  .page-tours--showcase .travelspark-page-content {
    width: calc(100% - 1rem);
    padding: 0.5rem;
  }
}

