/* --- Global Styles --- */
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* --- Header --- */
#header {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  padding: 1.5rem 1rem;
  border-bottom: 2px solid #ccc;
}

#header img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#header h1 {
  font-size: 2rem;
  color: #222;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.5px;
}

/* --- Calendar Section --- */
.calendar-container {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
  aspect-ratio: 4 / 3; /* Modern alternative to padding-bottom trick */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  background-color: #fff;
}

.calendar-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
#footer {
  background: #f1f1f1;
  padding: 1.5rem;
  border-top: 2px solid #ccc;
}

#footer h4 {
  margin: 0.3rem 0;
  color: #444;
  font-weight: 500;
  font-size: 0.95rem;
}

#footer h4:last-child {
  font-style: italic;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  #header h1 {
    font-size: 1.5rem;
  }

  .calendar-container {
    width: 95%;
    aspect-ratio: 1 / 1; /* make it taller on small screens */
  }

  #footer h4 {
    font-size: 0.85rem;
  }
}
