/* Shared Bojnice guide colours and wayfinding typography. */
body.guide-with-navigation {
  --paper: #f5f7fc;
  --ink: #162443;
  --muted: #4a5771;
  --line: #ccd7eb;
  --lime: #dce8ff;
  --guide-surface: #ffffff;
  --guide-blue-soft: #e5edfc;
  --guide-blush: #fbedea;
  --guide-mist: #eef3ff;
  --guide-cobalt: #1a43b8;
  --guide-cobalt-deep: #14348e;
  --guide-signal: #aa342b;
  --guide-heading-font: system-ui, sans-serif;
  --guide-external-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M6 3h7v7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.guide-with-navigation :is(h1, h2, h3),
.guide-with-navigation .site-header .brand {
  font-family: var(--guide-heading-font);
  font-weight: 720;
}

.guide-with-navigation :is(.site-header, .history-header) {
  background: var(--paper);
  border-block-start: 3px solid var(--guide-cobalt);
  border-block-end-color: var(--line);
  box-shadow: none;
}

.guide-with-navigation .site-header .brand .mark {
  background: var(--guide-cobalt);
  border-color: var(--guide-cobalt);
  border-radius: 3px;
  color: var(--guide-surface);
}

.guide-with-navigation .site-header .brand .mark::after {
  display: none;
}

.guide-with-navigation .site-header .brand:is(:hover, :focus-visible) .mark {
  background: var(--guide-cobalt-deep);
}

.guide-with-navigation .site-header #page-menu a:is(:hover, [aria-current]) {
  color: var(--guide-cobalt);
  text-underline-offset: 5px;
}

.guide-with-navigation .site-header #page-menu a[aria-current] {
  font-weight: 700;
}

.guide-with-navigation :is(.site-header .navcta, .header-toggle, .language-switch summary) {
  border-radius: 4px;
}

/* Vector arrows stay legible when the system font lacks the external-link glyph. */
.guide-with-navigation :is(.link-direction, .site-header .navcta > span[aria-hidden="true"], .guide-essential[href^="https://"] > i) {
  display: inline-block;
  min-width: .75rem;
  min-height: .75rem;
  flex: none;
  background: currentColor;
  font-size: 0;
  mask: var(--guide-external-arrow) center / .75rem no-repeat;
  vertical-align: middle;
}

.guide-with-navigation .link-direction,
.guide-with-navigation .site-header .navcta > span[aria-hidden="true"] {
  width: .75rem;
  height: .75rem;
}

.guide-with-navigation .site-header .navcta-primary,
.guide-with-navigation .btn,
.guide-with-navigation .live-events-button:not(.live-events-button-secondary) {
  background: var(--guide-cobalt);
  color: var(--guide-surface);
}

.guide-with-navigation .site-header .navcta-primary:hover {
  background: var(--guide-cobalt-deep);
}

.guide-with-navigation :is(.site-header .navcta-secondary, .site-header #page-menu a):hover {
  background: var(--guide-blue-soft);
}

body.guide-with-navigation .language-switch,
.guide-with-navigation .language-options a {
  color: var(--ink);
}

.guide-with-navigation .language-options {
  background: var(--guide-surface);
  border-color: var(--line);
}

.guide-with-navigation .language-switch summary:hover,
.guide-with-navigation .language-switch[open] summary,
.guide-with-navigation .language-options a:is(:hover, [aria-current]) {
  background: var(--guide-blue-soft);
  border-color: var(--line);
}

.guide-with-navigation :is(.guide-directory, .guide-footer, .guide-mobile-nav a, .guide-back-top) {
  color: var(--ink);
}

.guide-with-navigation :is(.guide-mobile-nav, .guide-back-top, .guide-footer .footer-socials a) {
  background: var(--guide-surface);
  border-color: var(--line);
}

.guide-with-navigation .guide-mobile-nav a[aria-current] {
  background: var(--guide-mist);
  color: var(--ink);
}

.guide-with-navigation .guide-footer :is(.footer-top > div > span, .footer-bottom > p) {
  color: var(--muted);
}

.guide-with-navigation .guide-footer :is(.footer-top > div > span, a:hover) {
  color: var(--guide-cobalt);
}

.guide-with-navigation :is(.btn, .live-events-button, .nearby-back-button) {
  border-radius: 4px;
}

.guide-with-navigation .btn:hover,
.guide-with-navigation .live-events-button:not(.live-events-button-secondary):hover {
  background: var(--guide-cobalt-deep);
  color: var(--guide-surface);
}

.guide-with-navigation :is(a, button, summary):focus-visible {
  outline-color: var(--guide-cobalt);
}

.guide-with-navigation :is(.guide-collection-intro, .nearby-page-intro, .guide-hub .sectionhead) .eyebrow {
  color: var(--guide-signal);
}

.guide-with-navigation :is(.guide-collection-intro, .nearby-page-intro, .guide-hub .sectionhead) .eyebrow::before {
  background: currentColor;
}

.guide-with-navigation :is(.guide-home-link, .nearby-back-button) {
  background: var(--guide-surface);
  border-color: var(--line);
  border-radius: 4px;
  color: var(--ink);
}

.guide-with-navigation :is(.guide-home-link, .nearby-back-button):hover {
  background: var(--guide-blue-soft);
}

.guide-with-navigation :is(.attraction-card, .dining-card, .parking-card, .spa-card, .recurring-card, .nearby-card, .live-event-card, .tn-card) {
  background: var(--guide-surface);
  border-color: var(--line);
}

.guide-with-navigation :is(.planner, .attraction-hours, .guide-parking-grid article, .region-map-panel, .recreational-cycle) {
  background: var(--guide-mist);
  border-color: var(--line);
}

.guide-with-navigation :is(.dining-card figcaption, .live-event-image, .live-event-noimage, .tn-teaser, .spa-owner) {
  background: var(--guide-blue-soft);
  border-color: var(--line);
}

.guide-with-navigation :is(.live-event-date, .tn-period, .history-kicker) {
  color: var(--guide-cobalt);
}

body.guide-with-navigation.tn-page,
.guide-with-navigation :is(.tn-teaser, .tn-related) {
  --tn-paper: var(--paper);
  --tn-ink: var(--ink);
  --tn-muted: var(--muted);
  --tn-line: var(--line);
  --tn-accent: var(--guide-cobalt);
}

/* Put the visit information before the full-width photograph. */
.guide-hub .hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 4vw, 54px) 0 clamp(22px, 3vw, 38px);
}

body.guide-hub :is(.hero, #prakticky, #atrakcie, #podujatia, #pekne-miesta, #videa)::before {
  content: none;
}

.guide-hero-title .eyebrow {
  color: var(--guide-signal);
  font-size: 11px;
  letter-spacing: .13em;
  line-height: 1.4;
}

.guide-hero-title .eyebrow::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: currentColor;
}

.guide-hub .hero .guide-hero-title h1 {
  margin: 8px 0 0;
  color: var(--guide-cobalt);
  font-size: clamp(55px, 6.6vw, 94px);
  font-weight: 820;
  line-height: .92;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.guide-hero-tagline {
  margin: 8px 0 0;
  font-family: var(--guide-heading-font);
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.guide-hero-copy {
  min-width: 0;
  padding-bottom: 2px;
}

.guide-hub .hero .intro {
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.45;
}

.guide-hub .guide-hero-actions {
  align-items: center;
  column-gap: clamp(12px, 2vw, 24px);
  row-gap: 3px;
  margin-top: 15px;
}

.guide-hub .guide-hero-actions .btn,
.guide-program-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.guide-hub .guide-hero-actions .btn {
  flex: none;
  padding: 10px 13px;
  border-color: transparent;
}

.guide-program-link {
  color: var(--guide-cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-program-link:hover {
  color: var(--guide-cobalt-deep);
}

.guide-hub .guide-essentials {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

.guide-hub .guide-essentials-heading {
  align-items: baseline;
  gap: 4px 18px;
  margin-bottom: 9px;
}

.guide-essentials-heading h2 {
  font-size: 20px;
  letter-spacing: -.035em;
}

.guide-essentials-heading p,
.guide-hub :is(.guide-service span, .guide-highlight p, .guide-archive-compact p) {
  color: var(--muted);
}

.guide-hub .guide-essentials-grid {
  gap: 1px;
  border: 1px solid var(--guide-cobalt);
  background: #5476cf;
}

.guide-hub .guide-essential {
  display: flex;
  align-items: center;
  gap: clamp(7px, 1vw, 14px);
  min-height: 72px;
  padding: 10px clamp(9px, 1.25vw, 16px);
  background: var(--guide-cobalt);
  color: var(--guide-surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.guide-hub .guide-essential:hover {
  background: var(--guide-cobalt-deep);
}

.guide-hub .guide-essential:focus-visible {
  outline: 2px solid var(--guide-surface);
  outline-offset: -4px;
}

.guide-essential > span {
  flex: 1;
}

.guide-essential > svg {
  flex: none;
  width: 32px;
  height: 32px;
  padding: 5px;
  border: 1px solid #89a3e6;
  border-radius: 3px;
  background: transparent;
  color: inherit;
}

.guide-essential strong {
  font-weight: 700;
}

.guide-essential small {
  margin-top: 3px;
  color: #e7efff;
  text-wrap: pretty;
}

.guide-essential > i {
  flex: none;
  align-self: center;
  width: 16px;
  height: 16px;
  border: 0;
  color: inherit;
  font-size: 15px;
}

.guide-cover {
  margin: 0 0 13px;
}

.guide-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 23%;
}

.guide-cover figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.guide-cover a {
  display: inline-block;
  color: var(--guide-cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-hub .guide-services-grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.guide-hub .guide-service {
  background: var(--guide-surface);
  color: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.guide-hub .guide-service:hover {
  background: var(--guide-mist);
}

.guide-hub .guide-service > svg {
  padding: 7px;
  background: var(--guide-mist);
  color: var(--guide-cobalt);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.guide-hub .guide-service > i {
  border-color: transparent;
  color: var(--guide-cobalt);
}

.guide-hub .guide-service:focus-visible {
  outline-color: var(--guide-cobalt);
  outline-offset: -3px;
}

.guide-service strong {
  font-family: var(--guide-heading-font);
  font-weight: 700;
}

.guide-hub .guide-highlight {
  background: var(--guide-surface);
  border-color: var(--line);
  border-radius: 3px;
}

.guide-highlight figcaption {
  background: var(--guide-blue-soft);
  color: var(--muted);
}

.guide-hub .guide-events {
  margin-block: 6px 28px;
  padding-inline: clamp(14px, 3vw, 38px);
  background: var(--guide-blue-soft);
  border-block-start: 2px solid var(--guide-cobalt);
}

.guide-hub .guide-events .live-event-card {
  border-radius: 3px;
}

.guide-hub .live-event-noimage {
  color: var(--guide-cobalt);
}

.guide-hub .guide-outdoors {
  background: var(--guide-mist);
  border-color: var(--line);
  border-radius: 3px;
  color: var(--ink);
}

.guide-outdoors .eyebrow {
  color: var(--guide-signal);
}

.guide-outdoors .eyebrow::before {
  background: currentColor;
}

.guide-outdoors :is(p, .textlink) {
  color: var(--muted);
}

.guide-hub .guide-outdoors .btn {
  background: var(--guide-cobalt);
  color: var(--guide-surface);
}

.guide-outdoors-count {
  color: var(--guide-surface);
}

.guide-hub :is(.guide-archive-compact, .guide-facebook) {
  background: var(--guide-blue-soft);
  border-color: var(--line);
  border-radius: 3px;
}

.guide-archive-compact .eyebrow {
  color: var(--guide-signal);
}

.guide-hub .guide-season-note {
  background: var(--guide-blush);
}

.guide-facebook-heading {
  background: var(--guide-surface);
}

@media (min-width: 801px) {
  .guide-hub .guide-highlights-grid {
    grid-template-columns: minmax(0, 1.34fr) repeat(2, minmax(0, 1fr));
  }

  .guide-hub .guide-highlight:first-child .guide-highlight-body {
    background: var(--guide-blue-soft);
  }
}

@media (max-width: 800px) {
  .guide-hub .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .guide-with-navigation .site-header .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .guide-with-navigation .site-header .brand .mark,
  .guide-with-navigation .site-header .header-toggle {
    flex-shrink: 0;
  }

  .guide-with-navigation .site-header .brand small {
    white-space: normal;
  }

  .guide-hub .hero .guide-hero-title h1 {
    font-size: clamp(40px, 12vw, 70px);
  }

  .guide-hub .guide-essentials-heading p {
    margin: 3px 0 0;
  }

  .guide-cover img {
    aspect-ratio: 1.85;
  }
}

@media (max-width: 540px) {
  .guide-hub .hero {
    padding: 21px 0 17px;
  }

  .guide-hub .guide-hero-actions {
    margin-top: 10px;
  }

  .guide-hub .guide-hero-actions .btn,
  .guide-program-link {
    font-size: 13px;
  }

  .guide-hub .guide-essential {
    min-height: 69px;
    gap: 6px;
  }

  .guide-essential > svg {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
  }

  .guide-essential strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .guide-essential small {
    font-size: 11px;
    line-height: 1.25;
  }

  .guide-essential > i {
    width: 12px;
    height: 12px;
  }

  .guide-essential:not([href^="https://"]) > i {
    display: none;
  }

  .guide-cover img {
    aspect-ratio: 1.45;
  }
}

@media (max-width: 380px) {
  .guide-hub .guide-hero-actions {
    column-gap: 10px;
  }

  .guide-hub .guide-hero-actions .btn {
    padding-inline: 10px;
    gap: 6px;
  }

  .guide-program-link span {
    display: none;
  }
}
