body {
  background: #fff;
}
.hero-versek {
  width: 100%;
  height: 420px;
  background-image: url(../images/versek-bg.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero-versek .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(185, 139, 35, 0.7) 100%
  );
  z-index: 1;
}
.hero-versek .content {
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  padding-top: 50px;
}
.hero-versek h1 {
  font-family: "Monomakh", system-ui;
  font-size: 3.5em;
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-versek p {
  font-family: "Molengo", system-ui;
  font-size: 1.2em;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}
.versek-main {
  background: #fff;
  padding: 30px 0 60px 0;
  min-height: 600px;
}
.versek-search {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.versek-search input {
  font-family: "Molengo", system-ui;
  font-size: 1.1em;
  padding: 10px 16px;
  border: none;
  border-radius: 4px 0 0 4px;
  background: #f5f5f5;
  width: 260px;
  outline: none;
}
.versek-search button {
  background: #b98b23;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 10px 16px;
  cursor: pointer;
  color: #fff;
  font-size: 1.1em;
  transition: background 0.2s;
}
.versek-search button:hover {
  background: #d4a63f;
}
.versek-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.versek-card {
  background: #f5ecd7;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  padding: 28px 0 22px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Molengo", system-ui;
  font-size: 1.2em;
  position: relative;
}
.versek-card .title {
  font-family: "Monomakh", system-ui;
  font-size: 1.1em;
  margin-bottom: 6px;
  color: #222;
}
.versek-card .year {
  font-size: 0.95em;
  color: #b98b23;
  margin-bottom: 18px;
}
.versek-card button {
  background: #b98b23;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  font-size: 1em;
  font-family: "Molengo", system-ui;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: auto;
}
.versek-card button:hover {
  background: #d4a63f;
}
.versek-more {
  text-align: center;
  margin: 36px 0 0 0;
  font-family: "Molengo", system-ui;
  color: #222;
  font-size: 1em;
  cursor: pointer;
}
.versek-more a {
  color: #222;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .versek-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .versek-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .versek-grid {
    grid-template-columns: 1fr;
  }
  .hero-versek .content {
    padding: 40px 10px 30px 10px;
  }
}
.hero-versek .container {
  width: 1400px;
  max-width: 1400px;
  padding-top: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  position: relative;
  margin-top: -55px;
}
.hero-versek .left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-versek .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 70px 0 70px 0;
  position: relative;
}
.hero-versek .right .nav-opener {
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s;
  gap: 12px;
  z-index: 100;
  position: relative;
}
.hero-versek .right .nav-opener.active {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-versek .right .nav-opener img {
  width: 100%;
  transition: all 0.5s;
}
.hero-versek .right .nav-opener.active img {
  position: absolute;
}
.hero-versek .right .nav-opener.active img:nth-child(1) {
  transform: rotate(45deg);
}
.hero-versek .right .nav-opener.active img:nth-child(2) {
  opacity: 0;
}
.hero-versek .right .nav-opener.active img:nth-child(3) {
  transform: rotate(-45deg);
}
.hero-versek .right nav {
  position: absolute;
  height: 550px;
  width: 450px;
  background: #1a1a1a;
  display: none;
  flex-direction: column;
  padding: 150px 0 0 40px;
  border-radius: 5px;
  transition: all 0.2s;
  margin: 0;
  margin-top: -10px;
  margin-right: -20px;
  z-index: 99;
}
.hero-versek .right nav.show {
  display: flex;
}
.hero-versek .right nav a {
  text-decoration: none;
  color: white;
  font-family: "Monomakh", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5em;
  margin-bottom: 30px;
}

.hero-versek .right nav a.active {
  font-weight: 600;
}

.hero-versek .right nav img {
  margin-bottom: 30px;
  width: 70%;
}

body.kviz-page .hero-versek {
  background-image: url(../images/kviz-bg.png);
}

.overlay.show {
  z-index: 3;
}

@media screen and (max-width: 768px) {
  .hero-versek {
    height: 400px;
    min-height: auto;
    padding: 40px 0;
    padding-top: 0;
  }

  .hero-versek .container {
    width: 100%;
    padding: 20px;
    flex-direction: column;
    height: auto;
    position: relative;
  }

  .hero-versek .container .left {
    width: 100%;
    margin-bottom: 40px;
  }

  .hero-versek .container .left img {
    height: auto;
    width: 20%;
    transform: rotate(90deg);
  }

  .hero-versek .container .right {
    width: 100%;
    padding: 0;
    align-items: flex-end;
    margin-top: -200px;
  }

  .hero-versek .container .right .nav-opener {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero-versek .container .right .nav-opener.active {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hero-versek .container .right nav {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100vh;
    margin: 0;
    padding: 100px 40px;
    border-radius: 0;
    transition: right 0.3s ease-in-out;
  }

  .hero-versek .container .right nav.show {
    right: 0;
  }

  .hero-versek .container .right nav a {
    font-size: 2em;
  }

  .hero-versek .container .right img[src*="sign.svg"] {
    display: none;
  }

  .hero-versek .content {
    margin-top: 30px;
  }

  .hero-versek .content h1 {
    font-size: 3em;
    margin-top: 30px;
  }

  .hero-versek .content p {
    font-size: 1em;
  }
}
