*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #cc1d1d url("../images/085-pozadi.jpg") no-repeat center center fixed;
  background-size: cover;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #222;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: #fff;
}

.skip-link:focus {
  left: 0;
}

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Header */
.site-header {
  background: rgba(247, 247, 247, 0.95);
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo {
  height: 56px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: Lato, Arial, sans-serif;
}

.site-nav a {
  color: #757575;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #cc1d1d;
}

.nav-toggle {
  display: none;
  font-family: inherit;
  padding: 8px 14px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
}

/* Gallery strip */
.gallery-bar {
  background: rgba(247, 247, 247, 0.92);
  padding: 10px 0;
  margin-bottom: 8px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.gallery-item img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: cover;
  padding: 2px;
  background: #f7f7f7;
  border: 1px solid #eee;
}

.gallery-item:hover img {
  border-color: #cc1d1d;
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 32px;
}

.sidebar .module {
  background: rgba(247, 247, 247, 0.94);
  border: 1px solid #eee;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.sidebar h2 {
  font-family: Philosopher, Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

.massage-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.massage-menu a {
  display: block;
  padding: 4px 0;
  color: #444;
  text-decoration: none;
}

.massage-menu a:hover,
.massage-menu a[aria-current="page"] {
  color: #cc1d1d;
}

.massage-menu .badge {
  vertical-align: middle;
  margin-right: 4px;
}

.content {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #eee;
  padding: 20px 24px;
  min-height: 320px;
}

.content h1 {
  font-family: Philosopher, Georgia, serif;
  font-size: 1.6rem;
  margin-top: 0;
  color: #333;
}

.article-body {
  text-align: justify;
}

.article-body .signature {
  text-align: right;
  margin-top: 0.5em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.article-body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  background: #f4fab1;
  font-size: 14px;
}

.article-body th,
.article-body td {
  border: 1px solid #630808;
  padding: 6px 8px;
  vertical-align: top;
}

.article-body tr:first-child td,
.article-body th {
  background: #f5f071;
}

.article-body td[colspan="3"],
.article-body tr td[style*="f07e13"] {
  background: #f07e13 !important;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

.map-link {
  text-align: right;
  font-size: 0.85rem;
}

.map-link a {
  color: #888;
  text-decoration: none;
}

.map-link a:hover {
  text-decoration: underline;
}

.contact-list dt {
  font-weight: bold;
  margin-top: 12px;
}

.contact-list dd {
  margin: 4px 0 0;
}

/* Footer */
.site-footer {
  background: rgba(40, 40, 40, 0.85);
  color: #ccc;
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

/* Lightbox */
.lightbox {
  border: none;
  padding: 0;
  max-width: 95vw;
  max-height: 95vh;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  margin: auto;
}

.lightbox-close {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding-bottom: 8px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .content {
    order: 1;
  }
}
