.hakuba-event-content {
  --ink: #1E1E1E;
  --mono-font: "Monserrat", sans-serif;
  --secondary-font: "AdobeGaramond", serif;
  --secondary-color: var(--season-color);
  --text-color-p-rgb: 30, 30, 30;
  --muted: #7A7A7A;
  --fog: #E3E3E3;
  --cream: #fff;
  --red: var(--season-color);
  --page-gutter: 15px;
  --paper-texture: none;
  --wp--style--root--padding-left: 15px;
}
.hakuba-event-content .mosaic-gallery-block .gallery-header {
  margin-bottom: 16px;
}
.hakuba-event-content .mosaic-gallery-block .gallery-header .gallery-title {
  margin: 0;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hakuba-event-content .mosaic-gallery-block .gallery-group {
  display: grid;
  grid-template-columns: minmax(0, 860fr) minmax(0, 230fr) minmax(0, 230fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  aspect-ratio: 1344/520;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group + .gallery-group {
  margin-top: 12px;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .stack-items-grid {
  display: contents;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .group-item {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 8px;
  background-color: var(--fog);
  cursor: pointer;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .group-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .group-item::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .group-item:hover img {
  transform: scale(1.03);
}
.hakuba-event-content .mosaic-gallery-block .gallery-group .item-0 {
  grid-row: 1/3;
}
.hakuba-event-content .mosaic-gallery-block .open-gallery-btn {
  position: absolute;
  right: min(16px, 7%);
  bottom: min(16px, 7%);
  z-index: 1;
  width: min(132px, 100% - 2 * min(16px, 7%));
  height: 36px;
  padding: 0;
  white-space: nowrap;
  border: 0;
  border-radius: 6px;
  background-color: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(14px);
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 500;
  line-height: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.hakuba-event-content .mosaic-gallery-block .open-gallery-btn:hover {
  background-color: #fff;
}
.hakuba-event-content .mosaic-gallery-block .gallery-footer {
  margin-top: 16px;
}
.hakuba-event-content .mosaic-gallery-block .gallery-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.hakuba-event-content .mosaic-gallery-block .gallery-dots {
  display: none;
}
@media (max-width: 768px) {
  .hakuba-event-content .mosaic-gallery-block {
    position: relative;
  }
  .hakuba-event-content .mosaic-gallery-block .block-container {
    padding: 0;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-master-grid {
    display: flex;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--wp--style--root--padding-left));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-master-grid::-webkit-scrollbar {
    display: none;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-group {
    display: flex;
    flex: none;
    gap: 0;
    aspect-ratio: auto;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-group + .gallery-group {
    margin-top: 0;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-group .group-item {
    flex: 0 0 100vw;
    height: 480px;
    aspect-ratio: auto;
    border-radius: 0;
    scroll-snap-align: start;
  }
  .hakuba-event-content .mosaic-gallery-block .open-gallery-btn {
    display: none;
  }
  .hakuba-event-content .mosaic-gallery-block::before, .hakuba-event-content .mosaic-gallery-block::after {
    content: "";
    position: absolute;
    left: calc(-1 * var(--wp--style--root--padding-left));
    right: calc(-1 * var(--wp--style--root--padding-left));
    z-index: 1;
    pointer-events: none;
  }
  .hakuba-event-content .mosaic-gallery-block::before {
    top: 0;
    height: 140px;
    background: linear-gradient(rgba(17, 20, 18, 0.5), rgba(17, 20, 18, 0));
  }
  .hakuba-event-content .mosaic-gallery-block::after {
    top: 280px;
    height: 200px;
    background: linear-gradient(rgba(17, 20, 18, 0), rgba(17, 20, 18, 0.6));
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-dots {
    position: absolute;
    top: 440px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: hsla(0, 0%, 100%, 0.55);
    transition: width 0.25s ease, background-color 0.25s ease;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-dots i.is-active {
    width: 22px;
    background-color: #fff;
  }
  .hakuba-event-content .mosaic-gallery-block .gallery-header, .hakuba-event-content .mosaic-gallery-block .gallery-footer {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child {
    margin-top: 0 !important;
    margin-bottom: -24px !important;
  }
  .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child .gallery-dots {
    top: 424px;
  }
  .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child + *:not(.gallery-modal), .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child + .gallery-modal + *:not(script), .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child + .gallery-modal + script + * {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    margin-inline: calc(-1 * var(--wp--style--root--padding-left)) !important;
    padding-inline: 0;
    padding-top: 28px;
    border-radius: 20px 20px 0 0;
    background: var(--cream) var(--paper-texture, none) 0 0/1024px repeat;
  }
}
@media (min-width: 768px) {
  .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child {
    margin-top: calc(var(--header-height, 76px) + 36px) !important;
    margin-bottom: 16px !important;
  }
  .hakuba-event-content .entry-content > .mosaic-gallery-block:first-child ~ .stay-main {
    margin-top: 0 !important;
  }
}
.hakuba-event-content .text-image-split-block .block-title {
  font-size: 36px;
  font-family: var(--secondary-font);
  color: var(--text-color);
  margin-bottom: 16px;
  text-align: start;
  font-weight: normal;
}
.hakuba-event-content .text-image-split-block .image-box {
  aspect-ratio: 0.8;
}
.hakuba-event-content .text-image-split-block .image-box img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}
.hakuba-event-content .text-image-split-block .image-box .img-footer {
  margin: 0;
  font-size: 10px;
  color: rgba(var(--text-color-p-rgb), 0.7);
  font-weight: 400;
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block .image-box {
    aspect-ratio: 1.5;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-classic .top-row {
  margin-bottom: 48px;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-classic .top-row {
    margin-bottom: 0;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row .text-2 {
  width: 60%;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row .text-2 {
    width: 100%;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row .image-side {
  width: 40%;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row .image-side {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-classic .bottom-row {
    flex-direction: column;
    gap: 15px;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-classic.reverse-order .bottom-row {
  flex-direction: row-reverse;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-classic.reverse-order .bottom-row {
    flex-direction: column;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper {
  display: flex;
  gap: 48px;
  align-items: center;
}
.hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper .col-image, .hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper .col-text {
  width: 50%;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper .col-image, .hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper .col-text {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-split .split-wrapper {
    gap: 15px;
    flex-direction: column-reverse;
  }
}
.hakuba-event-content .text-image-split-block.is-layout-split.reverse-order .split-wrapper {
  flex-direction: row-reverse;
}
@media (max-width: 1024px) {
  .hakuba-event-content .text-image-split-block.is-layout-split.reverse-order .split-wrapper {
    flex-direction: column-reverse;
  }
}
.hakuba-event-content .youtube-block .yt-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.hakuba-event-content .youtube-block .yt-video-wrapper img, .hakuba-event-content .youtube-block .yt-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border: none;
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 100%, transparent 100%);
  z-index: 1;
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: hsla(0, 0%, 100%, 0.1);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-play-btn svg {
  margin-left: 1px;
  width: 45px;
  height: 45px;
}
.hakuba-event-content .youtube-block .yt-video-wrapper:hover .yt-play-btn {
  background: hsla(0, 0%, 100%, 0.3);
  transform: translate(-50%, -50%) scale(1.1);
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  color: #fff;
  padding-right: 24px;
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-badge {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.1px;
  margin-bottom: 15px;
  border-radius: 6px;
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-main-title {
  font-family: var(--secondary-font);
  font-size: 24px;
  margin: 0 0 4px 0;
}
.hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-sub-title {
  font-size: 12px;
  color: #fff;
  opacity: 0.7;
  margin: 0;
}
.hakuba-event-content .youtube-block .yt-footer {
  font-size: 10px;
  color: rgba(var(--text-color-p-rgb), 0.7);
  margin: 0;
  margin-top: 16px;
}
@media (max-width: 1024px) {
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-play-btn {
    width: 60px;
    height: 60px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content {
    bottom: 20px;
    left: 20px;
    padding-right: 20px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-main-title {
    font-size: 18px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-sub-title {
    font-size: 11px;
  }
}
@media (max-width: 479px) {
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-play-btn {
    width: 60px;
    height: 60px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content {
    bottom: 10px;
    left: 10px;
    padding-right: 10px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-main-title {
    font-size: 15px;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-sub-title {
    display: none;
  }
  .hakuba-event-content .youtube-block .yt-video-wrapper .yt-info-content .yt-badge {
    padding: 2px 5px;
    font-size: 10px;
  }
  .hakuba-event-content .youtube-block .yt-footer {
    margin-top: 10px;
  }
}
.hakuba-event-content .single-resort .youtube-block {
  margin-bottom: 64px;
}
.hakuba-event-content .single-resort .youtube-block .yt-video-wrapper {
  aspect-ratio: 1344/560;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .hakuba-event-content .single-resort .youtube-block .yt-video-wrapper {
    aspect-ratio: 16/9;
  }
}
.hakuba-event-content .button-block {
  margin: 24px 0;
}
.hakuba-event-content .button-block .block-container {
  display: flex;
}
.hakuba-event-content .button-block.align-center .block-container {
  justify-content: center;
}
.hakuba-event-content .button-block.align-right .block-container {
  justify-content: flex-end;
}
.hakuba-event-content .ev-book-row {
  margin: 24px 0;
}
.hakuba-event-content .custom-button,
.hakuba-event-content .ev-book {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--season-color);
  background-color: var(--season-color);
  font-family: "Monserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.15s, color 0.15s;
}
.hakuba-event-content .custom-button:hover,
.hakuba-event-content .ev-book:hover {
  background-color: transparent;
  color: var(--season-color);
}
.hakuba-event-content .custom-button svg,
.hakuba-event-content .ev-book svg {
  width: 14px;
  height: 14px;
}

.gallery-modal {
  --mono-font: "Monserrat", sans-serif;
  --page-gutter: 15px;
  --red: var(--season-color);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px var(--page-gutter, 48px) 28px;
  background-color: rgba(17, 20, 18, 0.96);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, visibility 250ms;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.admin-bar .gallery-modal {
  top: var(--admin-offset, 32px);
}

.gallery-modal .gm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gallery-modal .gm-count {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: hsla(0, 0%, 100%, 0.6);
}

.gallery-modal .gm-count b {
  font-weight: 500;
  color: #fff;
}

.gallery-modal .gm-btn {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid hsla(0, 0%, 100%, 0.55);
  border-radius: 50%;
  background-color: hsla(0, 0%, 100%, 0.12);
  backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gallery-modal .gm-btn:hover {
  border-color: var(--red);
  background-color: var(--red);
}

.gallery-modal .gm-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.4;
}

.gallery-modal .gm-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
}

.gallery-modal .gm-slide {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0 64px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.gallery-modal .gm-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal .gm-slide img {
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-modal .gm-slide figcaption {
  font-size: 14px;
  color: hsla(0, 0%, 100%, 0.7);
}

.gallery-modal .gm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal .gm-nav.is-prev {
  left: 0;
}

.gallery-modal .gm-nav.is-next {
  right: 0;
}

.gallery-modal .gm-thumbs {
  display: flex;
  justify-content: safe center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-modal .gm-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-modal .gm-thumb {
  flex: 0 0 72px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  background: none;
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.gallery-modal .gm-thumb:hover {
  opacity: 0.8;
}

.gallery-modal .gm-thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.gallery-modal .gm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-modal {
    padding: 16px 0 20px;
    background-color: #111412;
  }
  .gallery-modal .gm-top {
    padding: 0 16px;
  }
  .gallery-modal .gm-slide {
    padding: 0;
  }
  .gallery-modal .gm-slide img {
    border-radius: 0;
  }
  .gallery-modal .gm-nav {
    display: none;
  }
  .gallery-modal .gm-thumbs {
    justify-content: flex-start;
    padding: 0 16px;
  }
  .gallery-modal .gm-thumb {
    flex-basis: 56px;
    height: 40px;
  }
}
.editor-styles-wrapper .gallery-modal, .acf-block-preview .gallery-modal {
  display: none !important;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  top: 0;
  z-index: 100000;
}

.hhg-events {
  --hev-line: #E3E3E3;
  --hev-muted: #7A7A7A;
}
.hhg-events .hev-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.hhg-events .hev-title {
  margin: 0;
  font-size: 64px;
  line-height: 64px;
}
.hhg-events .hev-text {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--hev-muted);
}
.hhg-events .hev-month,
.hhg-events .hev-cal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hhg-events .hev-month {
  flex-shrink: 0;
  justify-content: space-between;
  min-width: 240px;
  padding: 10px 14px;
  border: 1px solid var(--hev-line);
}
.hhg-events .hev-month-label {
  font-family: "AdobeGaramond", serif;
  font-size: 22px;
  line-height: 26px;
}
.hhg-events .hev-month-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-color);
  text-decoration: none;
}
.hhg-events .hev-month-arrow:hover {
  color: var(--season-color);
}
.hhg-events .hev-month-arrow.is-off {
  opacity: 0.25;
}
.hhg-events .hev-chips {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hhg-events .hev-chips::-webkit-scrollbar {
  display: none;
}
.hhg-events .hev-chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--hev-line);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.hhg-events .hev-chip:hover {
  border-color: var(--season-color);
}
.hhg-events .hev-chip.is-active {
  border-color: var(--season-color);
  background-color: var(--season-color);
  color: #fff;
}
.hhg-events .hev-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.hhg-events .hev-featured {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  margin-bottom: 48px;
  overflow: hidden;
  background-color: #1E1E1E;
  color: #fff;
}
.hhg-events .hev-featured::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
}
.hhg-events .hev-featured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hhg-events .hev-featured-date {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  min-width: 84px;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--text-color);
  text-align: center;
}
.hhg-events .hev-featured-body {
  position: relative;
  z-index: 1;
  padding: 32px;
}
.hhg-events .hev-featured-meta,
.hhg-events .hev-card-meta {
  display: block;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.hhg-events .hev-featured-meta {
  color: rgba(255, 255, 255, 0.85);
}
.hhg-events .hev-featured-title {
  margin: 10px 0 0;
  font-size: 44px;
  line-height: 48px;
  color: #fff;
}
.hhg-events .hev-featured-title a {
  color: inherit;
  text-decoration: none;
}
.hhg-events .hev-featured-venue {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.hhg-events .hev-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hhg-events .hev-featured-actions .btn-primary:hover {
  border-color: color-mix(in srgb, var(--season-color) 82%, #000) !important;
  background-color: color-mix(in srgb, var(--season-color) 82%, #000) !important;
  color: #fff !important;
}
.hhg-events .hev-btn-light {
  border-color: #fff !important;
  color: #fff !important;
}
.hhg-events .hev-btn-light:hover {
  background-color: #fff !important;
  color: var(--text-color) !important;
}
.hhg-events .hev-date-days {
  display: block;
  font-family: "AdobeGaramond", serif;
  font-size: 30px;
  line-height: 32px;
  white-space: nowrap;
}
.hhg-events .hev-date-month {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.hhg-events .hev-empty {
  padding: 40px 0;
  color: var(--hev-muted);
}
.hhg-events .hev-day {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-height) + var(--top-bar-height) + 24px);
}
.hhg-events .hev-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hev-line);
}
.hhg-events .hev-day-title {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
}
.hhg-events .hev-day-count {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--hev-muted);
}
.hhg-events .hev-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}
.hhg-events .hev-card:hover .hev-card-title {
  color: var(--season-color);
}
.hhg-events .hev-card:hover .hev-card-photo img {
  transform: scale(1.04);
}
.hhg-events .hev-card-photo {
  position: relative;
  display: block;
  aspect-ratio: 220/184;
  overflow: hidden;
  background-color: var(--background-color);
}
.hhg-events .hev-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hhg-events .hev-card-photo:hover img {
  transform: scale(1.04);
}
.hhg-events .hev-card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 56px;
  padding: 6px 8px;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--text-color);
  text-align: center;
}
.hhg-events .hev-card-date .hev-date-days {
  font-size: 22px;
  line-height: 24px;
}
.hhg-events .hev-card-date .hev-date-month {
  font-size: 9px;
}
.hhg-events .hev-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.hhg-events .hev-card-meta {
  color: var(--hev-muted);
}
.hhg-events .hev-card-title {
  position: static;
  margin-top: 6px;
  font-family: "AdobeGaramond", serif;
  font-size: 28px;
  line-height: 32px;
  color: var(--text-color);
  text-decoration: none;
}
.hhg-events .hev-card-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hhg-events .hev-card-title:hover {
  color: var(--season-color);
}
.hhg-events .hev-card-venue {
  margin-top: 6px;
  font-size: 13px;
  color: var(--hev-muted);
}
.hhg-events .hev-card-text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-color);
}
.hhg-events .hev-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.hhg-events .hev-card-tag {
  padding: 3px 10px;
  border: 1px solid var(--hev-line);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hev-muted);
}
.hhg-events .hev-card-book {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  margin-top: auto;
  background-color: #fff !important;
  color: var(--season-color) !important;
}
.hhg-events .hev-card-book:hover {
  background-color: var(--season-color) !important;
  color: #fff !important;
}
.hhg-events .hev-side {
  position: sticky;
  top: calc(var(--header-height) + var(--top-bar-height) + 24px);
}
.hhg-events .hev-cal {
  padding: 28px;
  border: 1px solid var(--hev-line);
}
.hhg-events .hev-strip {
  display: none;
}
.hhg-events .hev-box {
  margin-top: 24px;
  padding: 28px;
  background-color: var(--bg-gray, #f9f9f9);
  border: 1px solid var(--hev-line);
}
.hhg-events .hev-box-title {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
}
.hhg-events .hev-box-text {
  margin: 10px 0 20px;
  font-size: 14px;
  line-height: 21px;
  color: var(--hev-muted);
}
.hhg-events .hev-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hhg-events .hev-cal-head .hev-month-label {
  display: none;
}
.hhg-events .hev-cal-month {
  font-family: "AdobeGaramond", serif;
  font-size: 26px;
  line-height: 30px;
}
.hhg-events .hev-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 6px;
  text-align: center;
}
.hhg-events .hev-cal-name {
  padding-bottom: 8px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hev-muted);
}
.hhg-events .hev-cal-day {
  display: flex;
  user-select: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--hev-muted);
  text-decoration: none;
}
.hhg-events .hev-cal-day.has-events {
  color: var(--text-color);
}
.hhg-events .hev-cal-day.is-today > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -4px;
  background-color: var(--season-color);
  color: #fff;
}
.hhg-events a.hev-cal-day:hover {
  color: var(--season-color);
}
.hhg-events .hev-cal-dots {
  display: flex;
  gap: 3px;
  height: 4px;
}
.hhg-events .hev-cal-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--season-color);
}
@media (max-width: 1024px) {
  .hhg-events .hev-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .hhg-events .hev-side {
    position: static;
    order: -1;
    max-width: 420px;
  }
}
@media (max-width: 768px) {
  .hhg-events .hev-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .hhg-events .hev-title {
    font-size: 44px;
    line-height: 46px;
  }
  .hhg-events .hev-chips {
    margin-top: 24px;
  }
  .hhg-events .hev-body {
    row-gap: 0;
    margin-top: 24px;
  }
  .hhg-events .hev-main .hev-day:last-child {
    margin-bottom: 8px;
  }
  .hhg-events .hev-side {
    order: 1;
    max-width: none;
  }
  .hhg-events .hev-strip {
    display: flex;
    gap: 8px;
    margin: 16px -15px 0;
    padding: 0 15px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hhg-events .hev-strip::-webkit-scrollbar {
    display: none;
  }
  .hhg-events .hev-strip-day {
    display: flex;
    user-select: none;
    cursor: default;
    flex: 0 0 50px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0 8px;
    border: 1px solid var(--hev-line);
    color: var(--hev-muted);
    text-decoration: none;
  }
  .hhg-events .hev-strip-day[href] {
    cursor: pointer;
  }
  .hhg-events .hev-strip-day i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--season-color);
  }
  .hhg-events .hev-strip-day.has-events {
    color: var(--text-color);
  }
  .hhg-events .hev-strip-day.is-today {
    border-color: var(--season-color);
    background-color: var(--season-color);
    color: #fff;
  }
  .hhg-events .hev-strip-day.is-today i {
    background-color: #fff;
  }
  .hhg-events .hev-strip-name {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .hhg-events .hev-strip-number {
    font-family: "AdobeGaramond", serif;
    font-size: 20px;
    line-height: 22px;
  }
  .hhg-events .hev-cal {
    display: none;
  }
  .hhg-events .hev-box {
    margin-top: 0;
  }
  .hhg-events .hev-featured {
    min-height: 380px;
    margin-bottom: 32px;
  }
  .hhg-events .hev-featured-body {
    padding: 20px;
  }
  .hhg-events .hev-featured-title {
    font-size: 32px;
    line-height: 36px;
  }
  .hhg-events .hev-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .hhg-events .hev-card-title {
    font-size: 24px;
    line-height: 28px;
  }
}

.event-header .event-details {
  margin: -4px 0 16px;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.5px;
  color: #7A7A7A;
}

.hakuba-event-photo {
  margin: 32px 0 0;
}
.hakuba-event-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
}
