/* Editorial typography and photographs for Spot and its collections. */
.spot-overview,
.spot-collection-page,
.hidden-kyoto-overview {
  --spot-heading: #30473a;
  --spot-secondary: #5c695d;
  background: #f8f6f0;
}

.spot-overview .spot-hero-film .stays-listing-film-copy h1 {
  letter-spacing: .12em !important;
  text-indent: .12em;
}

.spot-overview .pickup-heading {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.spot-overview .pickup-intro {
  margin-inline: auto;
  font-size: var(--intro-copy-size);
  text-wrap: pretty;
}

.spot-preview-section--carousel .spot-section-heading h2,
.spot-overview .pickup-heading h2,
.spot-collection-page .visit-page-intro h1 {
  letter-spacing: -.025em !important;
  color: var(--spot-heading);
}

.spot-preview-section--carousel .spot-section-heading h2,
.spot-overview .pickup-heading h2 {
  font-size: clamp(27px, 3vw, 40px);
}

.spot-preview-section--carousel .spot-section-heading h2 a {
  color: inherit;
}

.spot-collection-page .visit-page-intro h1 {
  font-size: clamp(34px, 4.5vw, 57px);
  line-height: 1.12;
}

.spot-preview-section--carousel .spot-section-heading p,
.spot-collection-page .visit-page-intro > p:last-child {
  color: var(--spot-secondary);
}

.spot-preview-section--carousel {
  padding-block: clamp(30px, 4vw, 52px);
}

.spot-editorial-card {
  min-width: 0;
}

.spot-editorial-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  color: var(--spot-heading);
  border: 1px solid #e4e1d8;
  text-decoration: none;
}

.spot-editorial-link:focus-visible {
  outline: 2px solid var(--spot-heading);
  outline-offset: -2px;
}

.spot-editorial-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eeeee7;
}

.spot-editorial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.spot-editorial-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  background: #eeeee7;
  font: 400 clamp(16px, 1.8vw, 26px) / 1.3 var(--display);
  text-align: center;
  color: var(--spot-secondary);
}

.spot-editorial-copy {
  padding: clamp(12px, 1.7vw, 21px);
}

.spot-editorial-copy .spot-editorial-meta {
  margin: 0 0 7px;
  color: var(--spot-secondary);
  font: 600 10px / 1.5 var(--sans);
  letter-spacing: .085em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.spot-editorial-copy :is(h2, h3) {
  margin: 0;
  letter-spacing: -.01em !important;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.spot-editorial-copy .spot-editorial-summary {
  margin: 10px 0 0;
  color: var(--spot-secondary);
  font: 400 13px / 1.65 var(--sans);
}

.spot-editorial-link:is(:hover, :focus-visible) :is(h2, h3) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .spot-editorial-link:hover .spot-editorial-image img {
    transform: scale(1.025);
  }
}

@media (min-width: 520px) and (max-width: 767px) {
  .spot-collection-page .visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

.spot-preview-section--carousel {
  --spot-preview-gap: clamp(16px, 2vw, 28px);
}

.spot-preview-section--carousel .spot-section-heading {
  margin-bottom: clamp(22px, 4vw, 48px);
}

.spot-preview-section--carousel .spot-section-heading p {
  margin-top: clamp(11px, 1.5vw, 19px);
  max-width: 63ch;
}

.spot-preview-section--carousel .spot-section-actions {
  flex: none;
  flex-wrap: nowrap;
  gap: clamp(14px, 2.5vw, 32px);
}

.spot-view-all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--spot-heading);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: .26em;
}

.spot-view-all:hover {
  color: var(--spot-secondary);
}

.spot-carousel-controls {
  display: flex;
  gap: 8px;
}

.spot-carousel-controls .spot-carousel-arrow {
  position: static;
  width: 46px;
  height: 46px;
  background: var(--spot-heading);
  border-color: transparent;
  color: #fff;
  box-shadow: none;
}

.spot-carousel-controls .spot-carousel-arrow:hover {
  background: #435a4b;
}

.spot-carousel-controls .spot-carousel-arrow[aria-disabled="true"] {
  background: #ebe8df;
  color: #6a7268;
}

.spot-preview-section--carousel .spot-carousel-rail {
  grid-auto-columns: calc((100% - 3 * var(--spot-preview-gap)) / 3.75);
  gap: var(--spot-preview-gap);
}

.spot-preview-section--carousel .spot-preview-image {
  aspect-ratio: 4 / 3;
}

.spot-preview-section--carousel .spot-editorial-link {
  background: transparent;
  border: 0;
}

.spot-preview-section--carousel .spot-editorial-copy {
  padding: 14px 0 4px;
}

@media (max-width: 1023px) {
  .spot-preview-section--carousel .spot-carousel-rail {
    grid-auto-columns: calc((100% - 2 * var(--spot-preview-gap)) / 2.72);
  }
}

@media (max-width: 767px) {
  .spot-preview-section--carousel .spot-section-actions {
    justify-content: flex-end;
    margin-top: 13px;
  }
}

@media (max-width: 599px) {
  .spot-preview-section--carousel .spot-carousel-rail {
    grid-auto-columns: calc((100% - var(--spot-preview-gap)) / 1.28);
  }
}

.hidden-kyoto-overview .spot-carousel-rail {
  grid-auto-columns: calc((100% - 2 * var(--spot-preview-gap)) / 3);
}

.hidden-kyoto-overview .hidden-experience-cover {
  aspect-ratio: 1 / 1;
}

.hidden-experience-card {
  background: #fff;
}

.hidden-experience-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--spot-heading);
}

.hidden-experience-card > a:focus-visible {
  outline: 2px solid var(--spot-heading);
  outline-offset: -2px;
}

.hidden-experience-cover-text {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  background: #ebe8df;
  color: var(--spot-secondary);
  font: 400 clamp(22px, 2.5vw, 34px) / 1.2 var(--display);
  text-align: center;
}

.hidden-experience-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px, 2.3vw, 30px) clamp(14px, 2vw, 24px);
  text-align: center;
}

.hidden-experience-tag {
  margin: 0 0 8px;
  color: var(--spot-secondary);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hidden-experience-copy h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.18;
}

.hidden-experience-description {
  max-width: 34ch;
  margin: 9px 0 17px;
  color: var(--spot-secondary);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.45;
}

.hidden-experience-action {
  display: inline-grid;
  place-items: center;
  min-width: 138px;
  min-height: 44px;
  margin-top: auto;
  padding: 7px 20px;
  background: var(--spot-heading);
  color: #fff;
  font-size: 15px;
}

.hidden-experience-card > a:is(:hover, :focus-visible) .hidden-experience-action {
  background: #435a4b;
}

@media (max-width: 767px) {
  .hidden-kyoto-overview .spot-carousel-rail {
    grid-auto-columns: calc((100% - var(--spot-preview-gap)) / 2);
  }
}

@media (max-width: 599px) {
  .hidden-kyoto-overview .spot-carousel-rail {
    grid-auto-columns: 100%;
  }
}

/* Festival detail timeline. */
.festival-page .breadcrumb {
  padding: 20px 0 14px;
}

.festival-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  grid-template-areas: "timeline story";
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  padding-bottom: clamp(36px, 6vw, 76px);
}

.festival-timeline {
  grid-area: timeline;
  padding-left: 5px;
  --festival-link-size: clamp(15px, 1.4vw, 19px);
}

.festival-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid #bdb39d;
}

.festival-timeline a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0 5px clamp(16px, 2vw, 28px);
  color: #526358;
  font-size: var(--festival-link-size);
  line-height: 1.26;
  overflow-wrap: anywhere;
}

.festival-timeline a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translate(-50%, -50%);
  inline-size: 7px;
  block-size: 7px;
  border: 1px solid #807759;
  border-radius: 50%;
  background: #fff;
}

.festival-timeline a[aria-current="page"] {
  color: #253e33;
  font-size: calc(2 * var(--festival-link-size));
}

.festival-timeline a[aria-current="page"]::before {
  background: #806b46;
  inline-size: 11px;
  block-size: 11px;
}

.festival-timeline a:hover {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.festival-story {
  grid-area: story;
  min-width: 0;
}

.festival-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #edeae0;
}

.festival-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.festival-story-copy {
  padding-top: clamp(19px, 3vw, 36px);
}

.festival-story-copy h1 {
  font-size: clamp(31px, 5vw, 59px);
  line-height: 1.15;
  margin: 9px 0 14px;
  color: #253e33;
}

.festival-intro {
  margin: 0;
  max-width: 64ch;
  color: #526358;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
}

.festival-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.festival-actions .festival-primary-action {
  background: #2c463a;
  border-color: #2c463a;
  color: #fff;
}

.festival-actions .festival-primary-action:hover {
  background: #3c574a;
}

.festival-actions .festival-primary-action > span {
  color: inherit;
}

@media (max-width: 767px) {
  .festival-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "story" "timeline";
  }
}
