/* =========================
   SKOKANI KALENDÁŘ – WRAPPER
   ========================= */

.skokani-calendar {
  margin: 32px 0;
  font-family: inherit;
}

/* =========================
   ROK
   ========================= */

.skokani-calendar-year {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1.45rem;
  margin-bottom: 22px;
}

.skokani-calendar-year strong {
  font-weight: 800;
}

.skokani-calendar-year .year-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
  border-radius: 999px;
  color: #7b1e1e;
  background: #f3eded;
  transition: all 0.2s ease;
}

.skokani-calendar-year .year-nav:hover {
  color: #fff;
  background: #7b1e1e;
}

/* =========================
   MĚSÍCE
   ========================= */

.skokani-calendar-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0 0 36px;
}

.month-btn {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  background: #f1eeee;
  color: #7b1e1e;
  border: 1px solid rgba(123, 30, 30, 0.25);
  transition: all 0.18s ease;
}

.month-btn:not(.disabled):not(.active):hover {
  background: #7b1e1e;
  color: #fff;
  border-color: #7b1e1e;
}

.month-btn.active {
  background: #7b1e1e;
  color: #fff;
  border-color: #7b1e1e;
}

.month-btn.disabled {
  background: #f5f5f5;
  color: #aaa;
  border-color: #e2e2e2;
  cursor: default;
  pointer-events: none;
}

/* =========================
   VÝPIS AKCÍ
   ========================= */

.skokani-calendar-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.skokani-event-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(123, 30, 30, 0.14);
  box-shadow: 0 8px 20px rgba(0,0,0,0.035);
}

.skokani-event-item .date {
  font-weight: 800;
  color: #7b1e1e;
  white-space: nowrap;
  line-height: 1.25;
}

.skokani-event-item .date span {
  display: block;
  margin-top: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

.skokani-event-item .content {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.skokani-event-item .title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
}

.skokani-event-item .location {
  font-size: 0.92rem;
  color: #7b1e1e;
  font-weight: 600;
}

.skokani-event-item .perex {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333;
  opacity: 0.9;
}

.skokani-event-item .perex p {
  margin: 0 0 0.45em;
}

.skokani-event-item .perex p:last-child {
  margin-bottom: 0;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-top: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #7b1e1e;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.detail-btn:hover {
  background: #5f1616;
  color: #fff !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px) {
  .skokani-calendar-months {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .skokani-calendar-year {
    font-size: 1.25rem;
  }

  .skokani-calendar-months {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .month-btn {
    padding: 9px 8px;
    font-size: 0.85rem;
  }

  .skokani-event-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 18px;
  }

  .skokani-event-item .date {
    white-space: normal;
  }
}
