.content-page-stays .page-hero-stays::after {
  background:
    linear-gradient(90deg, rgba(15, 21, 28, 0.84), rgba(15, 21, 28, 0.56) 56%, rgba(15, 21, 28, 0.18)),
    linear-gradient(0deg, rgba(15, 21, 28, 0.4), transparent 48%);
}

.content-page-stays .page-hero .section-tag {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.content-page-stays .content-page-body .section-tag {
  background: rgba(15, 77, 75, 0.1);
  color: var(--smf-header);
}

[data-bs-theme="dark"] .content-page-stays .content-page-body .section-tag {
  border: 1px solid rgba(106, 183, 158, 0.2);
  background: rgba(106, 183, 158, 0.14);
  color: #dff4ea;
}

.stay-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.stay-summary-card {
  height: 100%;
}

.stay-summary-card .row,
.stay-detail-card .row {
  row-gap: 1.5rem;
}

.stay-summary-media {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.stay-summary-copy,
.stay-detail-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stay-summary-copy {
  gap: 0.85rem;
}

.stay-summary-copy p:last-of-type,
.stay-detail-copy p:last-of-type {
  margin-bottom: 0;
}

.stay-contact {
  margin: 0;
  color: var(--smf-muted);
  font-weight: 700;
}

.stay-contact a {
  color: inherit;
  text-decoration: none;
}

.stay-contact a:hover {
  color: var(--smf-primary);
}

.stay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stay-summary-copy .stay-actions {
  margin-top: 0.35rem;
  transform: translateY(0.25rem);
}

.stay-detail-copy .stay-actions {
  margin-top: 0.65rem;
}

.stay-card .card-body {
  gap: 0.7rem;
}

.stay-card .content-card-meta {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 77, 75, 0.08);
  color: var(--smf-header);
  font-size: 0.84rem;
  font-weight: 800;
}

.stay-card .content-card-text {
  min-height: 4.8rem;
}

.stay-list {
  display: grid;
  gap: 1.5rem;
}

.stay-detail-media {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.places-page .places-grid {
  display: grid;
  gap: 1.5rem;
}

.places-page .section-tag {
  background: rgba(15, 77, 75, 0.1);
  color: var(--smf-header);
}

[data-bs-theme="dark"] .places-page .section-tag {
  border: 1px solid rgba(106, 183, 158, 0.2);
  background: rgba(106, 183, 158, 0.14);
  color: #dff4ea;
}

.places-page .place-feature .row {
  row-gap: 1.5rem;
}

.places-page .place-media {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: var(--smf-radius);
  box-shadow: var(--smf-shadow-soft);
}

.places-page .place-media-video {
  aspect-ratio: 16 / 9;
  background: #000;
}

.places-page .place-media img,
.places-page .place-media video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.places-page .place-media-video video {
  object-fit: contain;
}

.places-page .video-note {
  margin-top: 1rem;
  color: var(--smf-muted);
  text-align: center;
}

.places-page .place-slider-section {
  overflow: hidden;
}

.places-page .places-carousel {
  border-radius: var(--smf-radius);
}

.places-page .places-carousel .carousel-indicators {
  display: flex;
  gap: 0.5rem;
  width: fit-content;
  margin-right: auto;
  margin-bottom: 1rem;
  margin-left: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.42);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.places-page .places-carousel .carousel-indicators button {
  margin: 0;
}

.places-page .places-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(12, 14, 18, 0.12);
}

.places-page .places-carousel .carousel-indicators .active {
  background-color: #ffffff;
  transform: scale(1.08);
}

.places-page .places-slide {
  overflow: hidden;
  border: 1px solid var(--smf-border);
  border-radius: var(--smf-radius);
  background: var(--smf-surface);
}

.places-page .places-slide-media {
  height: 100%;
  aspect-ratio: 16 / 10;
  min-height: 340px;
}

.places-page .places-slide-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.places-page .places-slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.places-page .places-slide-body h3,
.gastronomy-page .section-heading h2 {
  margin: 0;
}

.places-page .places-slide-body p {
  margin: 0;
  color: var(--smf-muted);
}

.places-page .places-slide-meta {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.places-page .places-slide-meta li {
  color: var(--smf-muted);
}

.places-page .places-slide-meta strong {
  color: var(--smf-text);
}

.places-page .places-carousel .carousel-control-prev,
.places-page .places-carousel .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 46px;
  height: 46px;
  margin: 0 1rem;
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.58);
  transform: translateY(-50%);
  opacity: 1;
}

.places-page .places-carousel .carousel-control-prev:hover,
.places-page .places-carousel .carousel-control-next:hover {
  background: rgba(12, 14, 18, 0.76);
}

.gastronomy-page .gastronomy-toolbar {
  margin-bottom: 2rem;
}

.gastronomy-page .gastronomy-toolbar .content-panel {
  display: grid;
  gap: 0.85rem;
}

.gastronomy-page .gastronomy-toolbar p {
  margin: 0;
  color: var(--smf-muted);
}

.gastronomy-page .gastronomy-list {
  display: grid;
  gap: 1.5rem;
}

.gastronomy-page .gastronomy-card .row {
  row-gap: 1.5rem;
}

.gastronomy-page .gastronomy-card img,
.gastronomy-page .gastronomy-hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gastronomy-page .gastronomy-card p:last-of-type,
.gastronomy-page .gastronomy-hero p:last-of-type {
  margin-bottom: 0;
}

.gastronomy-page .section-heading {
  margin: 3rem 0 1rem;
  text-align: center;
}

.history-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.history-media-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.history-media-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: calc(var(--smf-radius-lg) - 1px);
}

.history-summary {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}

.history-summary p:last-child,
.history-conclusion p:last-child {
  margin-bottom: 0;
}

.history-timeline-block {
  margin-bottom: 3rem;
}

.history-timeline-intro {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--smf-muted);
}

.history-timeline.timeline {
  opacity: 1 !important;
}

.history-timeline .timeline__content {
  border: 1px solid var(--smf-border);
  border-radius: var(--smf-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), transparent 65%),
    var(--smf-surface);
  box-shadow: var(--smf-shadow-soft);
}

[data-bs-theme="dark"] .history-timeline .timeline__content {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--smf-surface);
}

.history-timeline .timeline__content h3 {
  margin-bottom: 0.5rem;
  color: var(--smf-text);
  font-size: 1.15rem;
  font-weight: 800;
}

.history-timeline .timeline__content p {
  margin-bottom: 0.85rem;
  color: var(--smf-muted);
  font-size: 0.96rem;
}

.history-timeline .timeline__content p:last-child {
  margin-bottom: 0;
}

.history-timeline .timeline__content img {
  width: 100%;
  height: 170px;
  margin-bottom: 0.9rem;
  border-radius: var(--smf-radius);
  object-fit: cover;
}

.history-timeline .timeline__item:after {
  border-color: var(--smf-primary);
  background-color: var(--smf-surface);
}

.history-timeline.timeline:not(.timeline--horizontal):before,
.history-timeline.timeline--horizontal .timeline-divider {
  background-color: rgba(15, 77, 75, 0.22);
}

.history-date {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 77, 75, 0.1);
  color: var(--smf-header);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-conclusion {
  display: grid;
  gap: 1rem;
}

.history-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.history-links .btn {
  padding: 0.72rem 0.95rem;
}

@media (max-width: 1199.98px) {
  .stay-highlight {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .history-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .stay-summary-media,
  .stay-detail-media,
  .places-page .places-slide-media img {
    min-height: 220px;
  }

  .places-page .place-media {
    aspect-ratio: 4 / 3;
  }

  .places-page .place-media-video {
    aspect-ratio: 16 / 9;
  }

  .places-page .places-slide-media {
    min-height: 220px;
  }

  .stay-actions .btn {
    width: 100%;
  }

  .places-page .places-slide-body {
    padding: 1.25rem;
  }

  .places-page .places-carousel .carousel-control-prev,
  .places-page .places-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 0.75rem;
  }
}
