/* =========================
   Annual Calendar (Premium Clean)
========================= */

/* ===== Page Head ===== */
.page-head{
  padding: 40px 0 22px;
  text-align: center;
}

.page-head-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px;
}

.page-head-title-row{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.page-head-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  font-size: 20px;
}

.page-head-title{
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 900;
  font-size: 34px;
  color: var(--accent-orange);
}

.page-head-subtitle{
  margin: 12px auto 0;
  max-width: 620px;
  font-weight: 600;
  color: #64748b;
}

.page-head-year{
  margin-top: 16px;
}

.year-pill{
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-orange);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}

/* ===== Calendar Wrap ===== */
.calendar-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 12px 60px;
}

/* ===== Month Block ===== */
.month-block{
  margin-bottom: 34px;
}

.month-head{
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  padding: 0 4px;
  color: #0f172a;
}

.month-empty{
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-weight: 700;
}

/* ===== Event Card ===== */
.event-card{
  padding: 20px 22px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  margin-bottom: 16px;
  transition: all .25s ease;
}

.event-card:hover{
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  transform: translateY(-3px);
}

/* ===== Head ===== */
.event-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.event-title{
  font-weight: 900;
  color: #0f172a;
  line-height: 1.45;
  font-size: 17px;
}

.event-type{
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,.08);
}

/* ===== Spanning Badge ===== */
.event-span{
  display: inline-block;
  margin-inline-start: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

/* ===== Meta ===== */
.event-meta{
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.meta-item{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-k{
  font-weight: 900;
  color: #334155;
}

.meta-v{
  color: #0f172a;
  font-weight: 700;
}

/* ===== Organizer ===== */
.organizer-row{
  align-items: center;
}

.organizer-value{
  display: flex;
  align-items: center;
  gap: 10px;
}

.organizer-logo{
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(15,23,42,.12);
}

/* ===== Link ===== */
.event-link{
  display: inline-block;
  margin-top: 14px;
  font-weight: 900;
  color: var(--accent-orange);
  text-decoration: none;
  font-size: 14px;
}

.event-link:hover{
  text-decoration: underline;
}

/* ===== Mobile ===== */
@media (max-width: 600px){
  .event-head{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ✅ Replace emoji with SVG icon */
.page-head-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
}

/* the svg as <img> */
.page-head-icon-img{
  width: 26px;
  height: 26px;
  display: block;

  /* ✅ make it orange even if svg is black */
  filter: invert(63%) sepia(88%) saturate(2200%) hue-rotate(2deg) brightness(102%) contrast(102%);
}
