/* ========================================================================== */
/* Variables                                                                  */
/* ========================================================================== */
:root{
  /* Colors */
  --color-base: #f9f9f9;
  --color-base-2: #ffffff;
  --color-contrast: #111111;
  --color-contrast-2: #636363;

  /* Typography */
  --font-body: 'Lora', serif;
  --font-heading: 'Fraunces', serif;

  /* Layout scales */
  --space-10: 1rem;
  --space-20: clamp(1.5rem, 2vw, 2rem);
  --space-40: clamp(4rem, 5vw, 5rem);
  --space-30: clamp(3rem, 4vw, 4rem);
  --space-50: clamp(6.5rem, 8vw, 8rem);
  --container-max: 1100px;

  /* Navigation */
  --nav-offset: 5.375rem; /* 86px -> 5.375rem */
  --subpage-header-height: 100px;

  /* Activity reading stripe */
  --stripe-height: 14rem;
  --stripe-pad-y: clamp(2rem, 4vw, 2.8rem);
  --stripe-pad-x: clamp(1.25rem, 4vw, 3rem);
  --activity-cta-width: 12rem;

  /* Bootstrap link colors override */
  --bs-link-color: var(--color-contrast);
  --bs-link-hover-color: var(--color-contrast-2);

  /*
    Breakpoint variables are for documentation and for use INSIDE rules.
    Do not use them in @media queries due to inconsistent browser/tool support.
  */
  --breakpoint-main: 900px;
  --breakpoint-sliders: 1200px;
}

/* ========================================================================== */
/* Base & Typography                                                          */
/* ========================================================================== */
html,body{margin:0;padding:0}
body{
  background-color: var(--color-base);
  color: var(--color-contrast);
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.379), 1.14rem);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: var(--color-contrast); text-decoration: none; }
a:hover{ color: var(--color-contrast-2); text-decoration: none; }

h1,h2,h3,h4,h5,h6{
  color: var(--color-contrast);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em 0;
}
h1{font-size: clamp(2.418rem, 2.418rem + ((1vw - 0.2rem) * 2.974), 4.5rem); line-height: 1.15;}
h2{font-size: clamp(2.2rem, 2.2rem + ((1vw - 0.2rem) * 2.571), 4rem);}
h3{font-size: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.426), 2.5rem);}
h4{font-size: clamp(1.119rem, 1.119rem + ((1vw - 0.2rem) * 0.901), 1.75rem);}
h5{font-size: clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.66), 1.38rem);}

p{ margin: 0 0 1.4em 0; }
.lead {
  font-size: clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 0.474), 1.4rem);
  font-weight: 300;
  line-height: 1.6;
}


/* Sections spacing */
.section{ padding-top: clamp(4rem, 8vw, 8rem); padding-bottom: clamp(4rem, 8vw, 8rem); }

/* ========================================================================== */
/* Site Logo                                                                  */
/* ========================================================================== */
.site-logo--on-image {
  display: block;
  position: absolute;
  top: var(--nav-offset);
  left: clamp(1rem, 4vw, 3rem);
  transform: translateY(-50%);
  z-index: 10;
  margin: 0;
  pointer-events: auto;
  overflow: hidden;
}

.site-logo--on-image img {
    width: 400px;
    height: auto;
    max-width: 100%;
}

/* Cropping behavior for logo next to the navigation (HOMEPAGE ONLY) */
@media (min-width: 901px) and (max-width: 1550px) {
  .home .site-logo--with-nav {
    width: 158px;
  }
  .home .site-logo--with-nav img {
    max-width: none;
  }
}

@media (max-width: 900px) {
    .site-logo--on-image {
        top: 2rem;
        transform: translateY(0);
        width: 300px; /* Adjust mobile logo size */
    }
}


/* ========================================================================== */
/* Navigation (Homepage)                                                      */
/* ========================================================================== */

.home .site-header {
  position: relative;
  height: 0;
  z-index: 1000;
}
.site-nav {
  position: fixed;
  top: 0.875rem;
  right: clamp(1rem, 4vw, 2rem);
  z-index: 1100;
}
.nav-list {
  display: none;
}

/* --- Mobile: Toggle & Close Buttons --- */
.menu-toggle {
  appearance: none;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: .5rem;
  border-radius: .5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.menu-toggle svg {
  fill: currentColor;
}
.menu-close {
  display: none;
}
.site-nav.is-open .menu-toggle {
  display: none;
}
.site-nav.is-open .menu-close {
  display: inline-flex;
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  z-index: 1202;
  cursor: pointer;
}

/* --- Mobile: Overlay --- */
.nav-backdrop {
  display: none;
}
.site-nav.is-open .nav-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  z-index: 1200;
}
.site-nav.is-open .nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.25rem;
  position: fixed;
  inset: 0;
  z-index: 1201;
  background: rgba(17, 17, 17, 0.98);
  color: #fff;
}
.site-nav.is-open .nav-list li a {
  color: #fff;
  padding: .8rem 1rem;
  display: block;
  font-family: var(--font-heading);
}

/* --- Mobile: Logo in Overlay --- */
.nav-logo--mobile {
  display: block;
  text-align: center;
  padding: 1rem 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}
.nav-logo--mobile img {
  width: 280px;
  height: auto;
  filter: invert(1) drop-shadow(0 0 5px rgba(0,0,0,0.7));
}

@media (min-width: 901px) {
  .home .menu-toggle,
  .home .menu-close,
  .home .nav-backdrop,
  .nav-logo--mobile {
    display: none;
  }

  /* --- Desktop: Pill Menu --- */
  .site-nav {
    left: 50%;
    right: auto;
    top: var(--nav-offset);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .nav-list {
    display: flex;
    flex-direction: row;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: .75rem;
    background-color: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    pointer-events: auto;
    position: static; /* Override fixed positioning */
  }
  .nav-list li a {
    display: block;
    color: #f9f9f9;
    padding: .75rem 1.5rem;
    border-radius: 2.75rem;
    transition: background-color .2s ease, color .2s ease;
    white-space: nowrap;
    font-family: var(--font-heading);
  }
  .nav-list li a:hover {
    background: #000;
    color: #f9f9f9;
  }
}

/* ========================================================================== */
/* Subpage Header & Navigation                                                */
/* ========================================================================== */
.back-link {
  display: inline-block;
  margin-top: var(--space-30);
  font-size: 1.2rem;
  color: var(--color-contrast-2);
  text-decoration: none;
    font-weight: bold;
}
.back-link:hover {
  color: var(--color-contrast);
}


/* ========================================================================== */
/* Hero                                                                       */
/* ========================================================================== */
.section-hero{
    padding:0;
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(15deg, rgba(0,0,0,0.75) 10%, rgba(0,0,0,0.3) 40%, transparent 60%);
}
.hero-reading-panel{
  position: relative;
  z-index: 2;
  padding: 0 var(--space-20) clamp(8rem, 15vh, 15rem);
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}
.hero-reading-panel h1, .hero-reading-panel h2, .hero-reading-panel h3, .hero-reading-panel h5{
  color: #f9f9f9;
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
}

.section-hero--activity {
  min-height: 80vh;
  display: flex;
  position: relative;
}
.section-hero--activity .hero-overlay {
  min-height: 100%;
}
.section-hero--activity .hero-reading-panel {
  min-height: 100%;
  justify-content: flex-end;
  padding: 2rem 2rem 6rem 2rem;
}

/* ========================================================================== */
/* Sliders (Global)                                                           */
/* ========================================================================== */
.js-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: var(--gallery-instance-height, 60vh);
}
.swiper-wrapper {
  display: flex;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  overflow: hidden;
}
.slide-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js-slider .swiper-wrapper,
.js-slider .swiper-slide {
    height: 100%;
}

/* --- Slider Navigation (Unified) --- */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.2);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    transition: background-color .2s ease;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.4);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.25rem;
  font-weight: bold;
}
.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.6;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.swiper-pagination-bullet-active {
    opacity: 1;
}


.slider--gallery .swiper-pagination {
    bottom: 1rem;
}



/* ========================================================================== */
/* Activities                                                                 */
/* ========================================================================== */
.bg-tint{
  background-color:#f9f2ed;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Reading stripe (slides) */
.slide-content{
  position:absolute; left:0; right:0; bottom:0; z-index:4;
  height: var(--stripe-height); overflow: hidden; pointer-events: auto;
}
.activity-panel{ color:#fff; }
.activity-panel--highlight::before,
.slide-content.activity-panel::before{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:0; width:100vw; height:100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.2) 100%);
  z-index:0; pointer-events:none;
}
.activity-panel__inner{
  position:relative; z-index:1; display:flex; align-items:flex-end; gap:clamp(1.5rem, 4vw, 3rem);
  height: 100%; padding: var(--stripe-pad-y) var(--stripe-pad-x);
}
.activity-panel__content{
  flex: 1 1 auto;
  min-width: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.activity-panel__content h3, .activity-panel__content h4{ color:#fff; margin:0; }
.activity-panel__content p{ padding-top:1rem; color:rgba(255,255,255,0.9); user-select: none; }

.activity-panel__cta{
  width: 100%; display:flex; justify-content:flex-end; user-select: none;
}
@media (min-width: 901px){
  .activity-panel__cta{ width: auto; flex: 0 0 var(--activity-cta-width); justify-content: flex-end; }
}
.activity-panel__cta .btn{
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; background: transparent;
  border:1px solid rgba(255,255,255,0.6); color:#fff;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.activity-panel__cta .btn:hover{
  background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.8);
}

/* Prevent text selection during drag */
.js-slider *{ user-select: none; -webkit-user-drag: none; }

/* Activities sections spacing & backgrounds */
.activities-section{
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.section-with-bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.activities-land {
  background-image: url('excursions-bg-land.webp');
}
.activities-boat {
  background-image: url('excursions-bg-boat.webp');
}
.slow-life {
}

@media (max-width: 900px) {
  .activity-panel__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
  }
  .activity-panel__content p {
    padding-top: 0.5rem;
    margin-bottom: 0;
  }
  .activity-panel__cta {
    justify-content: flex-end;
  }
}

/* ========================================================================== */
/* Highlight Section                                                          */
/* ========================================================================== */
.highlight-section {
    position: relative;
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}

.highlight-section__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--stripe-height);
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.2) 100%);
    color: #fff;
}

.highlight-section__container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.highlight-section__content {
    flex: 1 1 auto;
    min-width: 0;
}

.highlight-section__content h3 {
    color: #fff;
    margin: 0;
}

.highlight-section__content p {
    padding-top: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.highlight-section__cta {
    flex: 0 0 var(--activity-cta-width);
}

@media (max-width: 900px) {
    .highlight-section {
        align-items: stretch;
    }
    .highlight-section__container {
        flex-direction: column;
        align-items: stretch;
        padding-top: var(--stripe-pad-y);
        padding-bottom: var(--stripe-pad-y);
    }
    .highlight-section__content,
    .highlight-section__cta {
        flex-basis: 100%;
    }
    .highlight-section__cta {
        text-align: right;
    }
}


/* ========================================================================== */
/* Accommodation & Cards                                                      */
/* ========================================================================== */
.section-accommodation{ background: var(--color-base-2); padding-bottom: 15rem; }
.section-title{ margin-bottom: .75rem; }
.section-perex{ margin-bottom: 2.5rem; }

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
  gap: 2.5rem;
  justify-content: center;
}

.card{
  display:flex; flex-direction:column; background:#fff; border-radius:.375rem; overflow:hidden;
  border: 0; box-shadow:0 8px 24px rgba(0,0,0,0.06); cursor:pointer;
  transition: box-shadow .25s ease, transform .25s ease;
}

.card h1 {
    font-size: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.426), 2.5rem); /* Was h3 */
    margin-bottom: 0.25em; /* Closer to facts strip */
}

.card h2 {
    font-size: clamp(1.119rem, 1.119rem + ((1vw - 0.2rem) * 0.901), 1.75rem); /* Was h4 */
}

.card h3 {
    font-size: clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.66), 1.38rem); /* Was h5 */
}

.card:hover{ box-shadow:0 12px 32px rgba(0,0,0,0.10); transform: translateY(-0.125rem); }

.card-media {
    position: relative;
    width: 100%;
    height: 25rem;
    overflow: hidden;
}

.card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body{ display:flex; flex-direction:column; gap:.25rem; height:12rem; padding: 1.4rem 1.4rem; text-align:left; }
.card-text-content{ flex:1 1 auto; overflow:hidden; }
.cta{ margin-top:auto; text-align:right; }
.cta-link{ font-size:.85rem; opacity:.55; background:none; border:0; padding:0; margin:0; color:inherit; text-decoration:none; }
.card:hover .cta-link{ opacity:.85; }
.cta-link:hover{ color: var(--color-contrast-2); }

/* Specific styles for accommodation cards */
.room-name{ margin: .4rem 0 .15rem; line-height:1.25; }
.secondary-info{ font-size:.85rem; line-height:1.3; opacity:.65; margin-bottom:.5rem; }
.price{ font-size:.9rem; opacity:.85; }

/* Generic card styles */
.card-title { margin: .4rem 0 .15rem; line-height:1.25; }
.card-text { font-size:.85rem; line-height:1.3; opacity:.65; margin-bottom:.5rem; }
.card-price { font-size:.9rem; opacity:.85; }


/* ========================================================================== */
/* Map & Contact                                                              */
/* ========================================================================== */
.bg-map{ background-size:cover; background-repeat:no-repeat; background-attachment:scroll; }
.section-compact{ padding-top: var(--space-50); padding-bottom: var(--space-50); }
.contact-btn{
  display:inline-flex; align-items:center; gap:.6rem; padding:.6rem .9rem; line-height:1.2; font-size:.95rem;
  background-color: var(--color-contrast); color: var(--color-base);
  border-radius: .33rem; border: 0;
}
.contact-btn:hover{ background-color: var(--color-contrast-2); color: var(--color-base); }
.contact-btn .btn-icon{ display:inline-flex; align-items:center; }
.contact-btn svg{ width:1.1em; height:1.1em; fill: currentColor; }

/* ========================================================================== */
/* Footer & Utilities                                                         */
/* ========================================================================== */
.site-footer{ background:#111; color:#f9f9f9; }
.site-footer a{ color:#f9f9f9; }
.social-list{ list-style:none; display:flex; gap:1rem; margin:0; padding:0; }
.social-list a{ display:inline-flex; }

#scrollTop{
  position: fixed; right: 1rem; bottom: 1rem;
  width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center;
  background: rgba(151, 151, 151, 0.7); /* Změněno na tmavší pozadí */
  color: #fff;
  border: none;
  border-radius: .375rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, background-color .25s ease;
  z-index: 999;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#scrollTop:hover { /* Přidán hover efekt */
  background: rgba(0, 0, 0, 0.8);
}
#scrollTop.is-visible{ opacity:1; pointer-events:auto; }

/* ========================================================================== */
/* Component-specific Breakpoints & Tweaks                                    */
/* ========================================================================== */

@media (max-width: 1399px) and (min-width: 901px) {
  .cards {
    grid-template-columns: minmax(0, 40rem);
  }
}

@media (max-width: 1200px) {
  .container.fullwidth-mobile {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .fullwidth-mobile .slider--gallery {
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .section-accommodation{ padding-bottom: 6rem; }
}

@media (max-width: 600px) {
  .card-body {
    height: 12rem;
  }
}

/* ========================================================================== */
/* Page-Specific Styles                                                       */
/* ========================================================================== */

/* --- Accommodation Detail --- */
.single-accommodation .context-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.single-accommodation .context-bar.is-visible {
    transform: translateY(0);
}

.single-accommodation .context-bar__title {
    font-size: 1rem;
}

.single-accommodation .context-bar__price {
    color: var(--color-contrast-2);
    margin-left: 1rem;
}

.single-accommodation h1 {
    font-size: clamp(1.502rem, 1.502rem + ((1vw - 0.2rem) * 1.426), 2.5rem); /* Was h3 */
    margin-bottom: 0.25em; /* Closer to facts strip */
}

.single-accommodation h2 {
    font-size: clamp(1.119rem, 1.119rem + ((1vw - 0.2rem) * 0.901), 1.75rem); /* Was h4 */
}

.single-accommodation h3 {
    font-size: clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.66), 1.38rem); /* Was h5 */
}

.single-accommodation .hero-section {
    min-height: 50vh;
    background-size: cover;
    background-position: center 67%;
    margin-bottom: 0;
}

/* Section spacing within the container */
.single-accommodation .heading-section {
    margin-top: var(--space-30);
    margin-bottom: var(--space-10);
}
.single-accommodation .facts-strip-section {
    margin-bottom: var(--space-30);
}
.single-accommodation .variants-section {
    margin-bottom: var(--space-20);
}
.single-accommodation .season-info-section {
    margin-bottom: var(--space-10);
}
.single-accommodation .scuba-info-section {
    margin-bottom: var(--space-30);
}
.single-accommodation .amenities-section {
    margin-bottom: var(--space-30);
}
.single-accommodation .description-section {
    margin-bottom: var(--space-40);
}
.single-accommodation .gallery-section {
    margin-bottom: var(--space-40);
}


.single-accommodation .facts-strip-section p {
    color: var(--color-contrast-2);
    margin-bottom: 0;
}

.single-accommodation .description-section {
    position: relative;
    padding-left: 1.25rem;
    border-left: 0.125rem solid rgba(0,0,0,0.08);
    padding-bottom: 0;
}
.single-accommodation .description-section p {
    font-style: italic;
    color: var(--color-contrast-2);
}

.single-accommodation .amenities-section ul {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 3rem;
}

.single-accommodation .amenities-section li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}

.single-accommodation .amenities-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-contrast-2);
    font-weight: 600;
}

.single-accommodation .variant {
    border-left: 0.25rem solid rgba(0,0,0,0.08);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.single-accommodation .variant .price {
    color: var(--color-contrast-2);
}
.single-accommodation .variant .price.active-season {
    font-weight: 600;
    color: #111111;
}

.single-accommodation .season-info-section p,
.single-accommodation .scuba-info-section p {
    font-size: 0.9rem;
    color: var(--color-contrast-2);
    margin-bottom: 0;
}

.single-accommodation .scuba-info-section a {
    font-style: italic;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #4E6E58;
    color: var(--color-base);
    border-color: #4E6E58;
    transition: all 0.2s ease-in-out;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: var(--color-contrast);
}

.btn-whatsapp svg {
    fill: currentColor;
    transition: fill 0.2s ease-in-out;
}

@media (max-width: 768px) {
    .single-accommodation .amenities-section ul {
        columns: 1;
    }
}

@media (max-width: 767px) {
    .single-accommodation .variant {
        border-left: none;
        padding-left: 0;
    }
    .single-accommodation .variant + .variant {
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 2.5rem;
    }
}

/* ========================================================================== */
/* Postcard Gallery Section                                                   */
/* ========================================================================== */

.postcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem 0;
}

.postcard figure {
  margin: 0;
  background-color: #fff;
  padding: 1rem 1rem 2rem 1rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.07), 0 3px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.postcard:hover figure {
  transform: translateY(-10px) rotate(var(--hover-rotate, 0deg));
  box-shadow: 0 15px 30px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.08);
}

.postcard:nth-child(6n + 1) figure { transform: rotate(-2.5deg); --hover-rotate: -3deg; }
.postcard:nth-child(6n + 2) figure { transform: rotate(1.5deg); margin-top: 1.5rem; --hover-rotate: 2deg; }
.postcard:nth-child(6n + 3) figure { transform: rotate(-1deg); margin-top: 0.5rem; --hover-rotate: -1.5deg; }
.postcard:nth-child(6n + 4) figure { transform: rotate(2.2deg); --hover-rotate: 3deg; }
.postcard:nth-child(6n + 5) figure { transform: rotate(-1.8deg); margin-top: 1rem; --hover-rotate: -2.5deg; }
.postcard:nth-child(6n + 6) figure { transform: rotate(0.5deg); margin-top: 0.2rem; --hover-rotate: 1deg; }

.postcard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.postcard figcaption {
  font-family: 'Cardo', serif;
  font-style: italic;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-contrast-2);
}
.postcard figcaption h4 {
  font-family: 'Fraunces', serif;
  font-style: normal;
  font-size: 1.2rem;
  color: var(--color-contrast);
  margin-bottom: 0.5rem;
}
.postcard figcaption p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .postcard-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .postcard:nth-child(n) figure {
    margin-top: 0;
  }
}

/* ========================================================================== */
/* WordPress Specific Adjustments                                             */
/* ========================================================================== */

/*
 * This compensates for the WordPress admin bar, which pushes the site down
 * by 32px for logged-in users. We adjust our fixed/absolute elements accordingly.
 */
body.admin-bar .site-nav {
  top: calc(0.875rem + 32px);
}

body.admin-bar .site-logo--on-image {
    top: calc(2rem + 32px);
}

@media (min-width: 901px) {
  body.admin-bar .site-nav {
    top: calc(var(--nav-offset) + 32px);
  }
  body.admin-bar .site-logo--on-image {
    top: calc(var(--nav-offset) + 32px);
  }
}

/* ========================================================================== */
/* Component: Difficulty Meter                                                */
/* ========================================================================== */

.difficulty-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.difficulty-meter span {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #e0e0e0; /* Barva pro neaktivní tečky */
  transition: background-color 0.3s ease;
}

.difficulty-meter small {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-contrast-2);
}

/* --- Logika vybarvování --- */

/* Úroveň 1: Vybarví první tečku */
.difficulty-meter.difficulty-1 span:nth-child(1) {
  background-color: #4E6E58; /* Barva pro aktivní tečky */
}

/* Úroveň 2: Vybarví první dvě tečky */
.difficulty-meter.difficulty-2 span:nth-child(-n+2) {
  background-color: #B8860B; /* Můžete použít jinou barvu pro střední obtížnost */
}

/* Úroveň 3: Vybarví všechny tři tečky */
.difficulty-meter.difficulty-3 span:nth-child(-n+3) {
  background-color: #A52A2A; /* Můžete použít jinou barvu pro vysokou obtížnost */
}

.activity-glance ul li > strong + span,
.activity-glance ul li > strong + .difficulty-meter {
    margin-left: 1rem;
}

.activity-glance ul li {
    padding-bottom: 1.3rem;
}

/* --- Activity Detail Page Specific Override --- */
.section-hero--activity {
    min-height: 60vh;
}

.cards--related-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .cards--related-items {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* ========================================================================== */
/* WordPress Admin Bar Fixes                                                  */
/* ========================================================================== */

/* --- Context Bar on Subpages --- */
body.admin-bar .context-bar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .context-bar {
        top: 46px;
    }
}
