/*
Theme Name: Soul Grimoire Theme
Theme URI: https://soulgrimoire.cz
Author: Tým Soul Grimoire
Author URI: https://soulgrimoire.cz
Description: Moderní 3D WordPress šablona s podporou WPBakery Page Builder a vlastním vizuálním stylem.
Version: 1.0
Text Domain: soulgrimoire
*/

body {
  font-family: 'Raleway', sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  background: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* === Menu (desktop + mobil) === */
@media (min-width: 769px) {
  nav.main-menu {
  background: #262626 !important;
    display: flex !important;
    background: #262626 !important;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    margin-left: auto;
    padding: 0;
  }
  nav.main-menu ul {
  background: #262626 !important;
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav.main-menu ul li a {
  background: #262626 !important;
    text-decoration: none;
    font-weight: 600;
    color: #fff !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.08);
    transition: color 0.18s;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    display: block;
  }
  nav.main-menu ul li a:hover {
  background: #262626 !important;
    color: #e6c16b !important;
    background: rgba(230, 193, 107, 0.07);
  }
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle {
  width: 48px;
  height: 48px;
  background: #262626;
  border: none;
  border-radius: 50%;
  box-shadow: 0 3px 18px rgba(0,0,0,0.18);
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 1001;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  background: #888 !important;
  content: "";
  display: block;
  background: #e6c16b;
  height: 3.5px;
  border-radius: 2px;
  width: 28px;
  margin: 0 auto;
  transition: all 0.24s;
  position: relative;
}
.menu-toggle span {
  background: #888 !important;
  position: relative;
  top: 22px;
}
.menu-toggle span:before {
  background: #888 !important;
  position: absolute;
  top: -10px;
}
.menu-toggle span:after {
  background: #888 !important;
  position: absolute;
  top: 10px;
}
.menu-toggle.active {
  background: #171717;
  box-shadow: 0 4px 28px #26262644;
}
.menu-toggle.active span {
  background: transparent;
}
.menu-toggle.active span:before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active span:after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav.main-menu {
  background: #262626 !important;
    display: none !important;
    flex-direction: column;
    gap: 1.3rem;
    position: absolute;
    top: 70px;
    right: 1.2rem;
    background: #262626;
    border-radius: 18px;
    box-shadow: 0 10px 38px rgba(0,0,0,0.33);
    padding: 2rem 1.4rem;
    z-index: 1000;
    min-width: 65vw;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition: all 0.22s cubic-bezier(0.6,0,0.4,1);
  }
  nav.main-menu.active {
  background: #262626 !important;
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  nav.main-menu ul {
  background: #262626 !important;
    flex-direction: column;
    gap: 1.3rem;
  }
  nav.main-menu ul li a {
  background: #262626 !important;
    color: #fff !important;
    font-size: 1.13em;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    text-align: left;
    transition: background 0.14s, color 0.17s;
    background: none;
  }
  nav.main-menu ul li a:hover {
  background: #262626 !important;
    background: #171717;
    color: #e6c16b !important;
  }
}

/* === Boxy Soul Grimoire === */
.soulgrimoire-textbox,
.soulgrimoire_textbox,
.soulgrimoire_text_clickbox,
.soulgrimoire_headingbox {
  border-radius: 20px;
  padding: 1.25rem 1rem; /* = 20px 16px */
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  background: #9b9b9b;
}
.soulgrimoire_headingbox {
  background: #262626;
}
.soulgrimoire-textbox p,
.soulgrimoire_textbox p,
.soulgrimoire_text_clickbox p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #222;
}
.soulgrimoire_headingbox h1,
.soulgrimoire_headingbox h2,
.soulgrimoire_headingbox h3,
.soulgrimoire_headingbox h4,
.soulgrimoire_headingbox h5,
.soulgrimoire_headingbox h6 {
  color: #ededed !important;
  color: #ededed;
  margin: 0;
  text-align: center;
}
.soulgrimoire_text_clickbox:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0,0,0,0.44);
}

/* === Tlačítka === */
.soulgrimoire-btn {
  background: #262626;
  color: #e6c16b;
  border: 2px solid #e6c16b;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.32);
  padding: 16px 32px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.18s;
  text-shadow: 0 2px 4px rgba(0,0,0,0.13);
  letter-spacing: 1px;
  display: inline-block;
  margin: 10px 0;
  cursor: pointer;
}
.soulgrimoire-btn:hover {
  background: #a67ee5;
  color: #262626;
  box-shadow: 0 0 24px #e6c16b66, 0 6px 22px rgba(0,0,0,0.44);
  border-color: #a67ee5;
  text-shadow: 0 2px 10px #e6c16b88;
}

/* === Footer === */
.site-footer {
  text-align: center;
  color: #777;
  padding: 2rem 0;
}

/* === Globální odkazy === */
a, a:visited, a:active, a:focus {
  color: #888 !important;
  text-decoration: underline;
  outline: none;
  box-shadow: none;
}
a:hover {
  color: #111 !important;
}

/* 🌐 Globální fixy pro iOS / Safari rozdíly */
*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

input, button, select, textarea {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.fullscreen, .fullheight, .vh-100 {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

[class*="soulgrimoire"] {
  max-width: 100%;
  overflow-wrap: break-word;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
}
/* === Soul Force Overrides (Safari + iOS Chrome fix) === */
nav.main-menu {
  background: #262626 !important;
  color: #fff !important;
}
.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  background: #888 !important;
}
.soulgrimoire-textbox h1,
.soulgrimoire-textbox h2,
.soulgrimoire-textbox h3,
.soulgrimoire-textbox h4,
.soulgrimoire-textbox h5,
.soulgrimoire-textbox h6,
.soulgrimoire_textbox h1,
.soulgrimoire_textbox h2,
.soulgrimoire_textbox h3,
.soulgrimoire_textbox h4,
.soulgrimoire_textbox h5,
.soulgrimoire_textbox h6,
.soulgrimoire_text_clickbox h1,
.soulgrimoire_text_clickbox h2,
.soulgrimoire_text_clickbox h3,
.soulgrimoire_text_clickbox h4,
.soulgrimoire_text_clickbox h5,
.soulgrimoire_text_clickbox h6 {
  color: #111 !important;
}

/* === Soul iOS + PC Fixes 2025 === */

/* Menu + hlavička */
header,
.header-inner,
nav.main-menu,
.top-nav {
  background: #262626 !important;
  color: #ffffff !important;
}

/* Footer */
.site-footer {
  background: #000000 !important;
  color: #f8f8f8 !important;
}
.site-footer p,
.site-footer a {
  color: #f8f8f8 !important;
}

/* Logo velikost */
.site-logo img {
  max-width: 200px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Textové boxy – sjednocení barvy pozadí */
.soulgrimoire-textbox,
.soulgrimoire_textbox,
.soulgrimoire_text_clickbox,
.soulgrimoire-textbox.soulgrimoire_text_clickbox {
  background: #9b9b9b !important;
}

/* Nadpisy uvnitř boxů – černé */
.soulgrimoire-textbox h1,
.soulgrimoire-textbox h2,
.soulgrimoire-textbox h3,
.soulgrimoire-textbox h4,
.soulgrimoire-textbox h5,
.soulgrimoire-textbox h6,
.soulgrimoire_textbox h1,
.soulgrimoire_textbox h2,
.soulgrimoire_textbox h3,
.soulgrimoire_textbox h4,
.soulgrimoire_textbox h5,
.soulgrimoire_textbox h6,
.soulgrimoire_text_clickbox h1,
.soulgrimoire_text_clickbox h2,
.soulgrimoire_text_clickbox h3,
.soulgrimoire_text_clickbox h4,
.soulgrimoire_text_clickbox h5,
.soulgrimoire_text_clickbox h6 {
  color: #111 !important;
}

/* === Soul Grimoire Final Tweaks v2 === */

/* 1. Zesvětlení textových boxů */
.soulgrimoire-textbox,
.soulgrimoire_textbox,
.soulgrimoire_text_clickbox,
.soulgrimoire_headingbox {
  background: #c7c7c7 !important;
}

/* 2. Logo zarovnané doleva všude */
.site-logo {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
}
.site-logo img {
  max-width: 180px;
  height: auto;
  margin: 0 !important;
}

/* 3. Větší padding pro menu na iPhone */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* === Soul Grimoire v2.1: Korekce === */

/* 1. Vrácení černého pozadí pro nadpisové boxy */
.soulgrimoire_headingbox {
  background: #262626 !important;
}
.soulgrimoire_headingbox h1,
.soulgrimoire_headingbox h2,
.soulgrimoire_headingbox h3,
.soulgrimoire_headingbox h4,
.soulgrimoire_headingbox h5,
.soulgrimoire_headingbox h6 {
  color: #ededed !important;
}

/* 2. Oprava hover efektu v menu – zrušit zlatou barvu */
nav.main-menu ul li a:hover {
  color: #ededed !important;
  background: #232323 !important;
}

/* === Soul Grimoire v2.2: Mobilní menu přizpůsobení === */

@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    top: 70px;
  }
}

/* === Soul Grimoire v2.3: iPhone Safari Mobile Menu Fix === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    padding: 14px 18px !important;
    line-height: 1.6 !important;
    display: block !important;
  }

  nav.main-menu ul li {
    margin-bottom: 10px !important;
    display: block !important;
  }

  nav.main-menu ul li ul li {
    padding-left: 1.5rem !important;
  }

  nav.main-menu {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    top: 70px;
    overflow-y: auto !important;
    max-height: 80vh !important;
  }
}

/* === Soul Grimoire v2.4: Zúžení mobilního menu === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 85vw !important;
    max-width: 400px !important;
    left: auto !important;
    right: 1.2rem !important;
    border-radius: 16px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  }
}

/* === Soul Grimoire v2.5: Kompaktní mobilní menu na 60 % obrazovky bez scrollu === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 60vw !important;
    max-width: 360px !important;
    left: auto !important;
    right: 1.2rem !important;
    border-radius: 16px !important;
    max-height: none !important;
    overflow-y: visible !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  }

  nav.main-menu ul {
    overflow: visible !important;
    max-height: none !important;
  }

  nav.main-menu ul li {
    overflow: visible !important;
  }
}

/* === Soul Grimoire v2.6: Menší font v mobilním menu === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  nav.main-menu ul li ul li a {
    font-size: 14px !important;
    padding-left: 1.5rem !important;
  }
}

/* === Soul Grimoire v2.7: Responsivní menu výška/šířka + přizpůsobený font === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 70vw !important;
    max-width: 420px !important;
    left: auto !important;
    right: 1.2rem !important;
    border-radius: 16px !important;
    max-height: none !important;
    overflow-y: visible !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  }

  nav.main-menu ul {
    overflow: visible !important;
    max-height: none !important;
  }

  nav.main-menu ul li {
    overflow: visible !important;
    margin-bottom: 10px !important;
  }

  nav.main-menu ul li a {
    font-size: 15px !important;
    line-height: 1.4 !important;
    padding: 14px 18px !important;
    display: block !important;
  }

  nav.main-menu ul li ul li a {
    font-size: 14px !important;
    padding-left: 1.5rem !important;
  }
}

/* Zmenšení fontu pro extra malá zařízení */
@media screen and (max-width: 360px) {
  nav.main-menu ul li a {
    font-size: 13.5px !important;
  }

  nav.main-menu ul li ul li a {
    font-size: 13px !important;
  }
}

/* === Soul Grimoire v2.8: Vylepšené vertikální mobilní menu s automatickým rozložením === */
@media screen and (max-width: 768px) {
  .menu-toggle {
    position: fixed !important;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
  }

  nav.main-menu {
    position: fixed !important;
    top: 70px;
    right: 0;
    width: 70vw !important;
    max-width: 400px;
    height: auto;
    background: #262626;
    border-radius: 0 0 16px 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 85vh;
    transition: transform 0.2s ease-out;
  }

  nav.main-menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav.main-menu ul li a {
    font-size: 15px;
    line-height: 1.6;
    padding: 12px;
    display: block;
  }

  nav.main-menu ul li ul li a {
    font-size: 14px;
    padding-left: 1.5rem;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
  }

  .menu-overlay.show {
    display: block;
  }
}

/* === Soul Grimoire v2.9: Finální doladění — mezery + kolečko iOS === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li {
    margin-bottom: 4px !important;
  }

  .menu-toggle.active {
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* === Soul Grimoire v2.10: Odstranění tmavého kolečka za hamburgerem na iPhone === */
@media screen and (max-width: 768px) {
  .menu-toggle,
  .menu-toggle:focus,
  .menu-toggle:active,
  .menu-toggle.active {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
  }

  .menu-toggle span,
  .menu-toggle span:before,
  .menu-toggle span:after {
    background: #888 !important;
  }
}

/* === Soul Grimoire v2.11: Menu omezeno na 1/3 šířky telefonu === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 33vw !important;
    max-width: 260px !important;
  }
}

/* === Soul Grimoire v2.12: Automatické zmenšení textu v mobilním menu === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    font-size: calc(12px + 0.8vw) !important;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
  }
}

/* === Soul Grimoire v2.13: Zmenšené mezery a padding mezi položkami mobilního menu === */
@media screen and (max-width: 768px) {
  nav.main-menu ul {
    gap: 0.6rem !important;
  }

  nav.main-menu ul li a {
    font-size: calc(12px + 0.6vw) !important;
    padding: 0.5rem 0.8rem !important;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
  }

  nav.main-menu {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* === Soul Grimoire v2.14: iPhone menu fix – menší výška, font, padding === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    max-height: 65vh !important;
    overflow-y: auto;
  }

  nav.main-menu ul li a {
    font-size: 14px !important;
    padding: 0.4rem 0.6rem !important;
    line-height: 1.2;
  }
}

/* === Soul Grimoire v2.15: iPhone menu text wrapping fix === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
    display: block;
  }
}

/* === Soul Grimoire v2.16: iPhone menu text autoscaling fix === */
@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100%;
    display: block;
    font-size: 3.7vw !important; /* Responsive font size for small screens */
    line-height: 1.3;
  }
}

@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 80vw !important;
    max-width: 80vw !important;
  }
}

@media screen and (max-width: 768px) {
  nav.main-menu {
    width: 80vw !important;
    max-width: 80vw !important;
    height: 80vh !important;
    max-height: 80vh !important;
    overflow-y: auto;
  }
}

@media screen and (max-width: 768px) {
  nav.main-menu ul li a {
    font-size: clamp(12px, 4vw, 16px);
    line-height: 1.3;
    overflow-wrap: break-word;
    white-space: normal;
  }

  nav.main-menu {
    width: 80vw !important;
    max-width: 80vw !important;
    height: 80vh !important;
    max-height: 80vh !important;
    overflow-y: auto;
    padding: 1.6rem 1.2rem !important;
  }
}



/* === FIXES: Remove tap highlight color globally === */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

/* === FIXES: Ensure sticky header on PC === */
@media (min-width: 769px) {
  header, .header-inner {
    position: sticky !important;
    top: 0;
    z-index: 1000;
  }
}

/* === FIXES: Enable menu item clicking === */
.menu-overlay {
  display: none;
}
.menu-overlay.show {
  display: block;
}
nav.main-menu.active {
  pointer-events: auto;
  z-index: 1001;
}

/* === FIXES: iOS tap bug – allow pointer events */
nav.main-menu ul li a {
  pointer-events: auto !important;
}

/* === FIXES: Disable pointer blocking overlay on iOS */
.menu-overlay {
  pointer-events: none !important;
}

/* === Ensure logo is not intercepting clicks === */
.site-logo img {
  pointer-events: none !important;
}



/* === GLOBAL HEADER FIX – Soul Grimoire v2.21 === */
html, body {
  height: 100%;
}
body {
  padding-top: 70px !important;
}
header, .header-inner {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #262626 !important;
}
.site, .site-header {
  position: relative;
  z-index: 1000;
}
.menu-toggle {
  position: fixed !important;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}
.menu-overlay {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.2);
  display: none;
  z-index: 999;
}
.menu-overlay.show {
  display: block;
}

/* === MOBILE MENU FIXED POSITION === */
@media screen and (max-width: 768px) {
  nav.main-menu {
    position: fixed !important;
    top: 70px !important;
    right: 1rem;
    height: 80vh !important;
    width: 80vw !important;
    max-width: 80vw !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    padding: 1.6rem 1.2rem !important;
    z-index: 999;
  }
  nav.main-menu ul li a {
    font-size: clamp(12px, 4vw, 15px);
    line-height: 1.3;
    overflow-wrap: break-word;
    white-space: normal;
  }
}



/* === FINAL FIXES – Header full width + Burger inside fixed bar === */
@media (min-width: 1024px) {
  header, .header-inner {
    max-width: 100vw !important;
  }
}

.menu-toggle {
  top: 14px !important;  /* aligns better with fixed header height */
  right: 20px !important;
  z-index: 1001;
}



/* === LOGO & HEADER SPACING === */
header .site-logo, .header-inner .site-logo {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
}

/* === BETTER BURGER POSITIONING === */
.menu-toggle {
  top: 18px !important;
  right: 20px !important;
  z-index: 1001;
}

/* === MENU OVERLAY CLICK FIX – ensure it appears over all and can be used to close menu */
.menu-overlay {
  display: none;
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.2);
  z-index: 998;
}
.menu-overlay.show {
  display: block;
}



/* === FINAL PADDING TWEAKS === */
header .site-logo, .header-inner .site-logo {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* === BURGER POSITION FINE-TUNE === */
.menu-toggle {
  top: 22px !important;
}

/* === ENSURE OVERLAY CLOSE FUNCTIONALITY IS READY === */
.menu-overlay {
  display: none;
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 998;
  pointer-events: auto;
}
.menu-overlay.show {
  display: block;
}



/* === EXTRA PADDING BOTTOM FOR DESKTOP MENU === */
@media (min-width: 1024px) {
  nav.main-menu {
    padding-bottom: 1.2rem !important;
  }
}

/* === ENSURE OVERLAY INTERACTIVITY IS READY === */
.menu-overlay {
  display: none;
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 998;
  pointer-events: auto;
  cursor: pointer;
}
.menu-overlay.show {
  display: block;
}


/* === Fix: obsah se neschovává pod menu === */
body {
  scroll-padding-top: 100px;
}
main, .site-content, .content-area {
  padding-top: 100px;
}


@media (min-width: 768px) {
  body {
    scroll-padding-top: 100px;
  }

  main, .site-content, .content-area {
    padding-top: 100px;
  }
}


@media (min-width: 768px) {
  .header-inner {
    height: 100px;
  }

  main.container {
    padding-top: 120px !important;
  }

  body {
    scroll-padding-top: 120px;
  }
}
