/* Program Calendar for Elementor – Frontend Styles */

/* Strip Elementor's default widget container padding */
.elementor-widget-program_calendar,
.elementor-widget-program_calendar .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

.pce-wrapper {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ── Legend ─────────────────────────────────────── */
.pce-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 20px;
  margin: 0;
  width: 100%;
  background-color: #1A1A2E;
}

.pce-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #8A8FA8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.pce-dot-blue   { background: #2B7FD4; }
.pce-dot-orange { background: #E8853A; }
.pce-dot-dark   { background: #C0C4D4; }

/* ── Grid ───────────────────────────────────────── */
.pce-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E4E7F0;
  margin: 0;
  padding: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(26,26,46,0.09);
}

/* ── Month Cards ────────────────────────────────── */
.pce-month-card {
  background: #ffffff;
  padding: 26px 26px 30px;
  min-height: 190px;
  transition: background 0.18s ease;
}

.pce-month-card:hover {
  background: #FAFBFF;
}

.pce-month-card.pce-holiday {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: #F2F5FF;
}

.pce-month-card.pce-holiday .pce-month-label {
  width: 100%;
  text-align: left;
}

/* ── Month Label ────────────────────────────────── */
.pce-month-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #8A8FA8;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pce-month-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E4E7F0;
}

/* ── Programs ───────────────────────────────────── */
.pce-program {
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.pce-program:last-child {
  margin-bottom: 0;
}

.pce-program:hover {
  border-left-color: currentColor;
}

.pce-program-name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 3px;
}

.pce-program-name.pce-blue   { color: #2B7FD4; }
.pce-program-name.pce-orange { color: #E8853A; }
.pce-program-name.pce-dark   { color: #1A1A2E; }

.pce-program-meta {
  font-size: 11px;
  color: #8A8FA8;
  font-style: italic;
  font-weight: 300;
}

.pce-program-link {
  text-decoration: none;
}

.pce-program-link:hover .pce-program-name {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pce-program-divider {
  height: 1px;
  background: #E4E7F0;
  margin: 12px 0;
}

/* ── Holiday ────────────────────────────────────── */
.pce-holiday-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.pce-holiday-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 3px;
  color: #2B7FD4;
  margin-bottom: 4px;
}

.pce-holiday-sub {
  font-size: 11px;
  color: #8A8FA8;
  font-weight: 300;
}

/* ── Footer ─────────────────────────────────────── */
.pce-footer {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 11.5px;
  color: #8A8FA8;
  letter-spacing: 1px;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .pce-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
  .pce-grid { grid-template-columns: 1fr !important; }
}
