/* Custom menu and header */
.custom-menu {
  font-size:1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.custom-menu-link:hover {
  color: #b8d0f5;
}

.custom-header {
  display: flex;
  flex-wrap: wrap;
  font-size:1.2rem;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  font-family: "Inter", sans-serif;
  gap: 10px;
}

.custom-header .logo img {
  height: 80px;
}

.custom-header .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Incident History button */
.btn {
  background: #0052cc;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: #b8d0f5;
  border: #0052cc;
}

/* Subscribe button */
.subscribe-wrapper {
  background: #fff;
  border: 2px solid #0052cc;
  padding: 8px 16px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.subscribe-wrapper:hover {
  background: #b8d0f5;  /* subtle light blue hover */
  border-color: white;
}

/* Full page width */
.container {
    width: 90%;
    max-width: 1920px;
}

/* Font or text sizes */
.font-regular {
    font-size:1.2rem; /* 16px */
    line-height:1.5rem;
}
.font-large {
    font-weight:500;
    font-size:1.45rem; /* 20px */
    line-height:1.875rem;
}
.font-largest {
    font-weight:500;
    font-size:1.95rem; /* 28px */
    line-height:2.625rem;
}

/* Responsive Header */
@media screen and (max-width: 768px) {
  .custom-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .custom-header .logo img {
    height: 60px;
  }

  .custom-menu {
    justify-content: center;
    margin: 10px 0;
  }

  .buttons {
    justify-content: center;
    margin-bottom: 10px;
  }
}

/* Custom Calendar */
#custom-calendar {
  text-align: center;
  font-family: inherit;
  margin: 50px auto;
  padding: 0 10px;
  max-width: 1920px;
}

#custom-calendar .three-month-calendar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#custom-calendar .calendar-wrapper {
  width: 100%;
  max-width: 520px;
}

#custom-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#custom-calendar .calendar-header h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.5em;
}

#custom-calendar .calendar-header button {
  background: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 1em;
}

#custom-calendar .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 12px;
}

#custom-calendar .calendar-day-label {
  font-weight: bold;
  background: #f0f0f0;
  padding: 8px 0;
  font-size: 1.1em;
}

#custom-calendar .calendar-day {
  border: 1px solid #ccc;
  padding: 28px 0;
  border-radius: 4px;
  background: #fafafa;
  font-size: 1.1em;
  color: #000;
}

#custom-calendar .calendar-day.has-incident {
  color: #fff;
  cursor: pointer;
}

#custom-calendar .calendar-day.empty {
  background: transparent;
  border: none;
}

#custom-calendar .calendar-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 40px;
}

#custom-calendar .legend-item {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95em;
}

/* Mobile adjustments */
@media screen and (max-width: 650px) {
  #custom-calendar .calendar-wrapper {
    max-width: 100%;
  }

  #custom-calendar .calendar-grid {
    gap: 5px;
  }

  #custom-calendar .calendar-day {
    padding: 20px 0;
    font-size: 1em;
  }

  #custom-calendar .calendar-day-label {
    font-size: 0.9em;
    padding: 6px 0;
  }
}