p { font-size: 12pt; line-height: 1.30; }
h4 { text-align: center; }
.naslov { text-align: center; }
.podnaslov { font-weight: normal; font-family: mono; color: rgb(085, 0, 0); }
.potpodnaslov { font-style: italic; color: #3f3a2f; }
header h1 { text-align: center; }
.home-wrap {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 3rem;
  max-width: 1024px;
  margin: auto;
}
.home-item {
  width: 320px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.home-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.home-item a {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  transition: background 0.2s ease, transform 0.2s ease;
}
.home-item a:hover { background: rgba(0, 0, 0, 0.15); }
.home-paschalion {
  background-image: url("/static/img/paschalion.jpg");
}
.home-dictionary {
  background-image: url("/static/img/dictionary.webp");
}
.notif {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid #d6c9a8;
  border-radius: 8px;
  background: #fbf8f0;
  color: #3f3a2f;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.notif > div:first-child { margin-bottom: 1rem; }
.slavonic {
  padding-top: 0.75rem;
  border-top: 1px solid #d6c9a8;
  font-family: "Ponomar", Ponomar Unicode, serif;
  font-size: 1.2rem;
  text-align: center;
  color: #272014;
}
@media screen and (max-width: 962px) {
  .home-wrap { margin: 15px; }
}
