﻿.calendar-page-title {
  color: #fff;
  font-family: 'Bakbak One', 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: .09em;
  margin-bottom: 1.6rem;
}

.search-form .input-group .form-control,
.search-form .form-select {
  min-height: 42px;
}

.search-form .search-btn {
  background: linear-gradient(135deg, #004b9c, #1f69ba);
  color: #fff;
  border: 1px solid rgba(173, 223, 249, 0.4);
}

.search-form .search-btn:hover,
.search-form .search-btn:focus-visible {
  background: linear-gradient(135deg, #0058b7, #2a74c8);
  color: #fff;
}

.event-row {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(8, 20, 43, .94), rgba(6, 16, 34, .95));
  border: 1px solid rgba(173, 223, 249, 0.22);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.event-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,.38);
  border-color: rgba(173, 223, 249, 0.42);
}

.news-thumb-wrapper {
  width: 220px;
  min-width: 220px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  background: #0f1529;
}

.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(173, 223, 249, .5);
}

.news-info p {
  color: rgba(238, 244, 255, .74);
}

.event-row .badge {
  font-size: .72rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 75, 156, 0.22);
  color: #dff0ff;
  border: 1px solid rgba(173, 223, 249, 0.35);
}

.news-actions .btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .78rem;
  border: 1px solid rgba(173, 223, 249, 0.46);
  color: #dff0ff;
}

.news-actions .btn:hover,
.news-actions .btn:focus-visible {
  background: rgba(0, 75, 156, 0.3);
  color: #fff;
}

.calendar-side-card {
  background: rgba(5, 14, 30, .86);
  border-radius: 16px;
  border: 1px solid rgba(173, 223, 249, 0.24);
  padding: 16px;
  height: 100%;
}

#events-calendar {
  min-height: 420px;
}

.fc {
  --fc-border-color: rgba(173, 223, 249, 0.2);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(8, 18, 36, 0.7);
  --fc-list-event-hover-bg-color: rgba(0, 75, 156, 0.2);
  color: #eef4ff;
}

.fc .fc-toolbar-title {
  color: #eef4ff;
  font-weight: 700;
  font-size: 1rem;
}

.fc .fc-button {
  background: #001e46 !important;
  border-color: rgba(173, 223, 249, .24) !important;
  color: #eaf4ff !important;
  border-radius: 8px;
}

.fc .fc-button:hover,
.fc .fc-button:focus-visible {
  background: #004b9c !important;
}

.fc .fc-daygrid-day.fc-day-today {
  background: rgba(0, 75, 156, 0.25);
}

.fc .fc-daygrid-event {
  background: linear-gradient(135deg, #004b9c, #1f69ba);
  border: 0;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .event-row {
    flex-direction: column;
  }

  .news-thumb-wrapper {
    width: 100%;
    min-width: 100%;
    height: 180px;
  }
}
