/* Generated from frontend templates. Keep selectors in sync with template classes. */

/* Base: websites2/webelements/templates/frontend/base_tourbook.html */


:root {
  --accent: #ffb703;
  --accent-strong: #f77f00;
  --ink: #0c0c0d;
  --muted-ink: #4f5664;
  --page-bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #eceef1;
  --surface-soft-2: #f8f9fb;
  --panel-shadow: 0 25px 45px rgba(15, 23, 42, 0.15);
  --panel-border: rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] {
  --accent: #ffcf66;
  --accent-strong: #ff9f43;
  --ink: #e5e7eb;
  --muted-ink: #b8c0ce;
  --page-bg: #0b1220;
  --surface: #141b29;
  --surface-soft: #1c2738;
  --surface-soft-2: #202c3f;
  --panel-shadow: 0 24px 45px rgba(0, 0, 0, 0.45);
  --panel-border: rgba(148, 163, 184, 0.25);
}

body {
  background: var(--page-bg);
  color: var(--ink);
}

.document-page {
  background-color: var(--page-bg);
  padding: 1.5rem 0 3rem;
}

.page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-panel {
  position: relative;
  min-height: 48vh;
  padding: 2.75rem 3rem;
  border-radius: 1.75rem;
  background-image: linear-gradient(135deg, rgba(6, 12, 36, 0.95), rgba(12, 19, 60, 0.85));
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 60, 0.5), rgba(6, 12, 36, 0.85));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.eyebrow-text {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3.3vw, 3.4rem);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.hero-content h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 20px;
  }
  .hero-content h2 {
    font-size: 14px;
    font-style: italic;
  }
}


.hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}

.gallery-section {
  margin-bottom: 2rem;
}

.gallery-panel {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--panel-shadow);
  border: 1px solid var(--panel-border);
}

.gallery-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.gallery-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.gallery-subtitle {
  font-size: 0.95rem;
  color: var(--muted-ink);
}

.gallery-main {
  margin: 0;
}

.gallery-main-media {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface-soft);
  aspect-ratio: var(--gallery-main-ratio, 3 / 2);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform, opacity;
}

.gallery-main img.slide-in-right {
  animation: gallery-slide-in-right 0.46s ease;
}

@keyframes gallery-slide-in-right {
  from {
    transform: translateX(10%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-main img.slide-in-right {
    animation: none;
  }
}

.gallery-main img.is-portrait {
  width: auto;
  height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.gallery-caption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted-ink);
  min-height: 1.25rem;
}

.gallery-thumbs-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.9rem;
}

.thumbnail-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface-soft-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 1 / 1;
  display: grid;
}

.thumb {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  display: block;
  cursor: pointer;
}

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

.thumb[aria-current="true"] .thumb-img {
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.85);
  transform: scale(1.02);
}

.thumb:focus-visible .thumb-img {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.panel {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--panel-shadow);
  border: 1px solid var(--panel-border);
  color: var(--ink);
}

.map-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.map-subtitle {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.gpx-map {
  width: 100%;
  height: clamp(260px, 42vh, 420px);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--surface-soft);
  position: relative;
}

.gpx-map .map-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

@media (max-width: 930px) {
  .gpx-map .map-error {
    font-size: 0.75rem;
  }
}
@media (max-width: 420px) {
  .gpx-map .map-error {
    font-size: 0.65rem;
  }

}
.map-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted-ink);
}

.map-locate,
.map-refocus {
  border: 1px solid var(--panel-border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.map-locate:hover,
.map-refocus:hover {
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.map-locate[aria-pressed="true"] {
  background: rgba(255, 183, 3, 0.2);
  border-color: rgba(247, 127, 0, 0.5);
  color: #7a4b00;
}

.map-status {
  font-size: 0.85rem;
  color: var(--muted-ink);
}

.map-download {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.map-download:hover,
.map-download:focus {
  text-decoration: underline;
}

.tourbook-footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--panel-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted-ink);
  font-size: 0.95rem;
}

.tourbook-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tourbook-footer-links a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.tourbook-footer-links a:hover,
.tourbook-footer-links a:focus {
  text-decoration: underline;
}

.tourbook-footer-sep {
  color: rgba(79, 86, 100, 0.6);
}

.tourbook-footer-copy {
  font-size: 0.9rem;
}

.panel h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.panel-body {
  color: var(--muted-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.direction-mode {
  margin-bottom: 1rem;
}

.direction-mode h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.infobox-panel {
  margin-top: 1.5rem;
}

.link-panel {
  background: linear-gradient(135deg, var(--surface), var(--surface-soft-2));
  border-radius: 1.75rem;
  padding: 2.25rem;
  box-shadow: var(--panel-shadow);
  border: 1px solid var(--panel-border);
  position: relative;
  overflow: hidden;
}

.link-panel::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.25), transparent 70%);
  pointer-events: none;
}

.link-panel-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.link-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: var(--muted-ink);
  margin-bottom: 0.4rem;
}

.link-panel h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--ink);
}

.link-count {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
  color: var(--muted-ink);
}

.link-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--panel-border);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.link-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-ink);
}

.link-card-media {
  border-radius: 0.9rem;
  overflow: hidden;
  background: var(--surface-soft);
  aspect-ratio: 1 / 1;
}

.link-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.link-tag {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.18);
  color: #7a4b00;
  font-weight: 600;
}

.link-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.35;
}

.link-meta {
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .hero-panel {
    padding: 2rem;
    min-height: 38vh;
  }

  .panel {
    padding: 1.5rem;
  }

  .parallax-wrapper {
    height: clamp(180px, 30vh, 320px);
  }

  .link-panel {
    padding: 1.5rem;
  }
}


.parallax-wrapper {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vh, 320px);
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.parallax-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
  transform: translateY(var(--parallax-offset, 0px)) !important;
  will-change: transform;
}

.navbar-private .nav-item-row {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  justify-content: flex-start;
}

.navbar-private .nav-item-row .nav-link {
  padding-right: 0.125rem;
  flex: 0 1 auto;
}

.navbar-private .submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  background: var(--surface);
  color: var(--muted-ink);
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  flex: 0 0 auto;
}

.navbar-private .submenu-toggle:hover,
.navbar-private .submenu-toggle:focus {
  background: var(--surface-soft-2);
  color: var(--ink);
  text-decoration: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--panel-border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--surface-soft-2);
  outline: none;
}

html[data-theme="dark"] .navbar-private {
  border-radius: 1rem;
  border: 1px solid var(--panel-border);
  background: rgba(20, 27, 41, 0.88);
  padding: 0.25rem 0.55rem;
}

html[data-theme="dark"] .navbar-private .nav-link,
html[data-theme="dark"] .navbar-private .navbar-text {
  color: var(--ink) !important;
}

html[data-theme="dark"] .navbar-light .navbar-toggler {
  border-color: var(--panel-border);
}

html[data-theme="dark"] .navbar-light .navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .card,
html[data-theme="dark"] .filter-group,
html[data-theme="dark"] .filter-option,
html[data-theme="dark"] .filter-drawer-toggle,
html[data-theme="dark"] .filter-drawer-close {
  background: var(--surface) !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .filter-group,
html[data-theme="dark"] .filter-option,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .filter-drawer-toggle,
html[data-theme="dark"] .filter-drawer-close {
  border-color: var(--panel-border) !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .result-subtitle,
html[data-theme="dark"] .filter-note {
  color: var(--muted-ink) !important;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background: var(--surface-soft);
  color: var(--ink);
}

html[data-theme="dark"] .form-control::placeholder {
  color: var(--muted-ink);
}

html[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(1) brightness(1.25);
}

html[data-theme="dark"] .link-tag,
html[data-theme="dark"] .filter-chip {
  background: rgba(255, 183, 3, 0.3);
  color: #ffe8c2;
  border-color: rgba(255, 183, 3, 0.7);
}

html[data-theme="dark"] .filter-chip-button {
  border-color: rgba(255, 183, 3, 0.75);
}

html[data-theme="dark"] .filter-chip-remove {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 183, 3, 0.85);
  color: #ffe8c2;
}

html[data-theme="dark"] .filter-chip-button:hover .filter-chip-remove,
html[data-theme="dark"] .filter-chip-button:focus-visible .filter-chip-remove {
  background: #ffb703;
  color: #271600;
}

html[data-theme="dark"] .filter-group.is-active {
  border-color: rgba(255, 183, 3, 0.68);
  background: rgba(255, 183, 3, 0.18);
}

html[data-theme="dark"] .filter-group.is-active .filter-group-title {
  color: #ffe3ad;
}

html[data-theme="dark"] .filter-group-toggle {
  background: #1d293a;
  border-color: rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

html[data-theme="dark"] .leaflet-container {
  background: #0f172a;
}

html[data-theme="dark"] .gpx-map {
  background: #0f172a;
  border-color: rgba(148, 163, 184, 0.45);
}

html[data-theme="dark"] .gpx-map .map-error {
  color: #d8deea;
  background: rgba(15, 23, 42, 0.58);
}

html[data-theme="dark"] .map-status {
  color: #d8deea;
}

html[data-theme="dark"] .map-download {
  color: #ffd98f;
}

html[data-theme="dark"] .map-locate,
html[data-theme="dark"] .map-refocus {
  background: #1d293a;
  border-color: rgba(148, 163, 184, 0.55);
  color: #e9edf5;
}

html[data-theme="dark"] .map-locate:hover,
html[data-theme="dark"] .map-refocus:hover {
  background: #25344a;
}

html[data-theme="dark"] .map-locate[aria-pressed="true"] {
  background: #ffb703;
  border-color: #ffc95b;
  color: #251500;
}

html[data-theme="dark"] .leaflet-bar,
html[data-theme="dark"] .leaflet-control-layers {
  border-color: rgba(148, 163, 184, 0.45);
}

html[data-theme="dark"] .leaflet-bar a,
html[data-theme="dark"] .leaflet-bar a:hover,
html[data-theme="dark"] .leaflet-control-layers-toggle {
  background: #1d293a;
  color: #e5e7eb;
  border-bottom-color: rgba(148, 163, 184, 0.45);
}

html[data-theme="dark"] .leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.75);
  color: #c7d0de;
}

html[data-theme="dark"] .leaflet-control-attribution a {
  color: #ffd98f;
}

html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip {
  background: #1d293a;
  color: #e5e7eb;
}

.navbar-private .submenu-toggle__icon {
  transition: transform 0.2s ease;
}

.navbar-private .submenu-toggle[aria-expanded="true"] .submenu-toggle__icon {
  transform: rotate(180deg);
}


/* Partial: websites2/webelements/templates/frontend/partials/lead_capture_widget.html */
.lead-capture {
  margin: 2rem auto 2.5rem;
  max-width: 1200px;
  padding: 0 1.25rem;
}

.lead-capture:focus,
.lead-capture:focus-visible {
  outline: none;
}

.lead-capture__inner {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  box-shadow: var(--panel-shadow, 0 16px 35px rgba(15, 23, 42, 0.12));
  border-radius: 1.25rem;
  background: var(--surface, #fff);
  padding: 1.5rem;
}

.lead-capture__title {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.lead-capture__text {
  margin-bottom: 1rem;
  color: var(--muted-ink, #4f5664);
}

.lead-capture__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lead-capture__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.lead-capture__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}

.lead-capture__error {
  color: #b00020;
  font-size: 0.92rem;
}

.lead-capture__button {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: var(--accent-strong, #f77f00);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
}

.lead-capture__preview {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  background: var(--surface-soft, #f4f5f7);
  border-radius: 0.8rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.lead-comments {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
}

.lead-comments__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.lead-comments__title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink, #0c0c0d);
}

.lead-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(247, 127, 0, 0.14);
  color: var(--accent-strong, #f77f00);
}

.lead-comments__list {
  display: grid;
  gap: 0.8rem;
}

.lead-comment-card {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--surface, #fff), var(--surface-soft-2, #f8f9fb));
  padding: 0.9rem 1rem;
}

.lead-comment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.lead-comment-card__author {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 183, 3, 0.18);
  color: #7a4b00;
}

.lead-comment-card__time {
  font-size: 0.82rem;
  color: var(--muted-ink, #4f5664);
}

.lead-comment-card__text {
  margin: 0;
  color: var(--ink, #0c0c0d);
  line-height: 1.55;
  white-space: normal;
}

@media (min-width: 860px) {
  .lead-capture__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared page: news_detail.html */
.news-entry-page {
  display: grid;
  gap: 1.5rem;
}
.news-entry-hero,
.news-entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}
.news-entry-hero {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.news-entry-kicker {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.news-entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.news-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.news-entry-card {
  padding: clamp(1.25rem, 2vw, 2rem);
}
.news-entry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.news-entry-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}
.news-entry-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.news-entry-gallery figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.news-entry-richtext,
.news-entry-richtext p,
.news-entry-richtext li {
  color: var(--ink);
  line-height: 1.75;
}
.news-entry-richtext > *:first-child {
  margin-top: 0;
}
.news-entry-richtext > *:last-child {
  margin-bottom: 0;
}

/* Template: websites2/webelements/templates/frontend/document_tourbook.html */
@media (max-width: 576px) {
  .document-page--tourbook-detail .gallery-thumbs-grid.gallery-thumbs-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(44px, 56px));
    gap: 0.55rem;
    justify-content: center;
  }
}

/* Template: websites2/webelements/templates/frontend/search_tourbook.html */
.search-hero {
  min-height: 38vh;
}

.search-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.meta-chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.search-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .search-layout {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  }
}

.filter-panel {
  position: sticky;
  top: 1.5rem;
  max-height: calc(100vh - 3rem);
  overflow: auto;
  overscroll-behavior: contain;
}

.filter-panel h3 {
  margin: 0;
}

.filter-group {
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
}

.filter-group.is-active {
  border-color: rgba(247, 127, 0, 0.45);
  background: rgba(255, 183, 3, 0.12);
}

.filter-group.is-active .filter-group-title {
  color: #7a4b00;
}

.filter-group:last-of-type {
  margin-bottom: 0;
}

.filter-drawer-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-drawer-close {
  display: none;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-drawer-backdrop {
  display: none;
}

.wizard-box {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(247, 127, 0, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(247, 127, 0, 0.26);
}

.wizard-box-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wizard-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a4d00;
  margin-bottom: 0.35rem;
}

.wizard-intro,
.wizard-current-description,
.wizard-current-group {
  margin: 0;
  color: var(--muted);
}

.wizard-header-actions,
.wizard-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.wizard-step-list,
.wizard-option-list {
  display: grid;
  gap: 0.75rem;
}

.wizard-step-pill,
.wizard-option {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wizard-step-pill:hover,
.wizard-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.wizard-step-pill.is-current,
.wizard-option.is-selected {
  border-color: rgba(247, 127, 0, 0.38);
  box-shadow: 0 12px 28px rgba(247, 127, 0, 0.12);
}

.wizard-step-pill.is-completed {
  border-color: rgba(37, 99, 235, 0.24);
}

.wizard-step-index {
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 700;
}

.wizard-step-copy {
  display: grid;
  gap: 0.2rem;
}

.wizard-step-name,
.wizard-option-title {
  font-weight: 700;
}

.wizard-step-selection,
.wizard-option-description,
.wizard-current-meta,
.wizard-empty,
.wizard-results-teaser p {
  color: var(--muted);
}

.wizard-current-card {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.wizard-current-card h4,
.wizard-results-teaser h4 {
  margin: 0;
}

.wizard-results-teaser {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.filter-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  margin: 0;
}

.filter-group-title:focus-visible {
  outline: 2px solid rgba(247, 127, 0, 0.6);
  outline-offset: 3px;
  border-radius: 999px;
}

.filter-group-title::-webkit-details-marker {
  display: none;
}

.filter-group-title::marker {
  content: "";
}

.filter-group-toggle {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
}

.filter-group-toggle::before {
  content: "+";
}

details[open] .filter-group-toggle::before {
  content: "–";
}

details[open] .filter-group-title {
  margin-bottom: 0.75rem;
}

.filter-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.filter-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  margin-left: calc(var(--depth, 0) * 1.1rem);
  max-width: 100%;
}

.filter-option input {
  margin: 0;
  accent-color: var(--accent-strong);
}

.filter-option input:checked + .filter-label {
  font-weight: 600;
}

.filter-option.is-implicit {
  border-style: dashed;
  color: var(--muted-ink);
}

.filter-note {
  margin: 0 0 1rem;
  color: var(--muted-ink);
  font-size: 0.85rem;
}

.search-box {
  margin-bottom: 1rem;
}

.search-label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}

.search-input {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #fff;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
}

.search-input:focus-visible {
  outline: 2px solid rgba(247, 127, 0, 0.35);
  outline-offset: 2px;
}

.search-helper,
.search-status {
  margin: 0.45rem 0 0;
  color: var(--muted-ink);
  font-size: 0.85rem;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.results-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted-ink);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 183, 3, 0.2);
  color: #7a4b00;
  font-size: 0.85rem;
  font-weight: 600;
}

.filter-chip-button {
  border: 1px solid rgba(247, 127, 0, 0.3);
  cursor: pointer;
}

.filter-chip-button:focus-visible {
  outline: 2px solid rgba(247, 127, 0, 0.6);
  outline-offset: 2px;
}

.filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 127, 0, 0.35);
  font-size: 0.8rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.7);
  color: #7a4b00;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.filter-chip-button:hover .filter-chip-remove,
.filter-chip-button:focus-visible .filter-chip-remove {
  opacity: 1;
  transform: scale(1);
}

.link-description {
  color: var(--muted-ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.match-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.match-reason {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(247, 127, 0, 0.12);
  color: #7a4b00;
  font-size: 0.78rem;
  line-height: 1.3;
}

.empty-state {
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.15);
  text-align: center;
}

.empty-state h4 {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.pagination-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pagination-status {
  color: var(--muted-ink);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .filter-drawer-toggle {
    display: inline-flex;
  }

  .filter-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: min(85vh, 720px);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
    z-index: 1040;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .filter-drawer-close {
    display: inline-flex;
  }

  .filter-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .filter-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1030;
  }

  .filter-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.filters-open {
    overflow: hidden;
  }

  .filter-chip-remove {
    opacity: 1;
    transform: scale(1);
  }
}

/* Shared utilities extracted from static template attributes. */
.share-icon {
  font-size: 1.5em;
}

.panel--muted-flat {
  box-shadow: none;
  background: var(--surface-soft);
}

.cv-hero-image {
  border-radius: 10px;
}

.tourbook-navbar-collapse {
  position: relative;
  left: 20px;
}

.tourbook-attribute-icon-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.tourbook-fact-icon {
  font-size: 1.5em;
}
