*, *::before, *::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-family: "Charis SIL", serif;
  font-weight: 400;
  line-height: 1.4;
  color: black;
}

:root {
  --yellow-transparent: hsla(49, 78%, 52%, 0.8);
  --yellow: hsla(49, 78%, 52%, 1);
}

header {
  height: max(320px, 35vh);
  background-image: url("../img/mapa.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

h1 {
  font-size: 2.6rem;
  word-spacing: 9999px;
  line-height: 2.3;
}
h1 span {
  background-color: var(--yellow-transparent);
  padding-left: 0.5em;
  padding-right: 0.5em;
}

main {
  margin-top: 2.5rem;
}

.container {
  margin: 0 1em;
}

section {
  margin-bottom: 3rem;
}

p {
  font-size: 1.2rem;
  margin-bottom: 0.6em;
}

.heading1 {
  font-size: 1.8rem;
  background-color: var(--yellow-transparent);
  display: inline-block;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  padding-left: 0.4em;
  padding-right: 0.4em;
  margin-left: -0.4em;
  margin-bottom: 0.8em;
}

.heading2 {
  font-size: 1.6rem;
  background-color: var(--yellow-transparent);
  display: inline-block;
  padding-top: 0.2em;
  padding-bottom: 0.3em;
  padding-left: 0.4em;
  padding-right: 0.4em;
  margin-bottom: 0.2em;
  margin-left: -0.4em;
}

.heading3 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.male {
  font-size: 0.95rem;
}

.tema {
  margin-bottom: 1.5rem;
}

.button {
  font-size: 1.8rem;
  text-align: center;
  background-color: var(--yellow-transparent);
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  padding-left: 1.2em;
  padding-right: 1.2em;
  margin-bottom: 0.8em;
  margin-top: 0.8em;
  transition: background-color 400ms ease-in;
}
.button:hover, .button:focus {
  background-color: black;
  color: var(--yellow);
}

footer {
  background-color: var(--yellow-transparent);
  min-height: 80px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  max-height: 45px;
  margin-right: 30px;
  margin-bottom: 10px;
  margin-top: 10px;
}

@media screen and (min-width: 800px) {
  .container {
    width: max(700px, 55%);
    margin-left: auto;
    margin-right: auto;
  }
  h1 {
    font-size: 3rem;
  }
}
.panelContainer {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.2em;
  margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--yellow);
}

@media screen and (min-width: 800px) {
  .panelContainer {
    flex-direction: row;
    gap: 6em;
  }
}
.cas {
  min-width: 10em;
}

.predsedajici {
  margin-bottom: 1em;
}

.panel h3 {
  margin-bottom: 0.8em;
}

.prispevek {
  margin-bottom: 1.3em;
}
.prispevek .heading3 {
  margin-bottom: 0.3em;
}

.readMore {
  text-decoration: underline;
  cursor: pointer;
}
.readMore::before {
  content: "...";
  display: inline-block;
  text-decoration: none;
  margin-right: 0.5em;
  cursor: initial;
}

.shorten {
  display: none;
}