/* ═══════════════════════════════════════════════════════════════
   media.css  —  VOTD Calendar styles
   Used by: versarch.php
═══════════════════════════════════════════════════════════════ */

/* ── Month navigation ── */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px;
  font-size: 0.9em;
}
.cal-nav a {
  text-decoration: none;
  opacity: 0.65;
  padding: 3px 6px;
  border-radius: 3px;
  transition: opacity 0.15s;
}
.cal-nav a:hover { opacity: 1; }
.cal-nav strong  { font-size: 1em; }

/* ── Calendar table ── */
.cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.88em;
}
.cal-table th {
  text-align: center;
  padding: 5px 2px;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.5;
}
.cal-table td {
  text-align: center;
  vertical-align: middle;
  padding: 0;
  height: 36px;
}

/* ── Day cells ── */
.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border-radius: 4px;
  font-size: 0.9em;
}
.cal-day.empty    { opacity: 0; pointer-events: none; }
.cal-day.no-image { opacity: 0.3; cursor: default; }
.cal-day.has-image {
  cursor: pointer;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s, opacity 0.15s;
}
.cal-day.has-image:hover { background: rgba(128, 128, 128, 0.12); }
.cal-day.selected {
  background: rgba(128, 128, 128, 0.18);
  border-color: currentColor;
  font-weight: 700;
}

/* ── VOTD image preview ── */
.votd-preview {
  margin-top: 14px;
  text-align: center;
}
.votd-preview img {
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.votd-date {
  font-size: 0.78em;
  opacity: 0.5;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
