/**
 * Publication Schedule — accordion list.
 */

.pub-schedule-empty {
  font-size: 15px;
  color: var(--ink-700, #2e3a4b);
  margin: 0;
}

/* ---------- Index page ---------- */
.pub-schedule-index .container {
  max-width: 900px;
}

/* ---------- Accordion list ---------- */
.pub-schedule-list {
  margin-bottom: 32px;
}

.pub-schedule-item {
  border-bottom: 1px solid var(--line, #e3e9f0);
}

.pub-schedule-item:first-child {
  border-top: 1px solid var(--line, #e3e9f0);
}

/* Header button */
.pub-schedule-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--navy-900, #0f2a52);
  transition: color 0.2s ease;
}

.pub-schedule-item__header:hover {
  color: var(--red-600, #c8102e);
}

.pub-schedule-item__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}

.pub-schedule-item__chevron {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--ink-400, #8494a7);
  transition: transform 0.25s ease, color 0.2s ease;
}

.pub-schedule-item__header:hover .pub-schedule-item__chevron {
  color: var(--red-600, #c8102e);
}

.pub-schedule-item.is-open .pub-schedule-item__chevron {
  transform: rotate(180deg);
  color: var(--navy-700, #1b4a8a);
}

/* Body */
.pub-schedule-item__body {
  padding: 0 4px 20px;
}

.pub-schedule-item__content {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-800, #1a2535);
}

.pub-schedule-item__content ul,
.pub-schedule-item__content ol {
  padding-left: 20px;
  margin: 0;
}

.pub-schedule-item__content li {
  margin-bottom: 4px;
}

.pub-schedule-item__empty {
  font-size: 14px;
  color: var(--ink-500, #5c6a7d);
  margin: 0;
}

/* ---------- Pagination ---------- */
.pub-schedule-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 24px;
  list-style: none;
  margin: 0;
}

.pub-schedule-pagination li {
  margin: 0;
}

.pub-schedule-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line, #e3e9f0);
  background: var(--white, #fff);
  color: var(--navy-800, #133a6f);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-schedule-pagination a:hover {
  border-color: var(--navy-600, #2a5fa8);
  color: var(--navy-900, #0f2a52);
}

.pub-schedule-pagination li.active a {
  background: var(--red-600, #c8102e);
  border-color: var(--red-700, #a50d26);
  color: #fff;
  cursor: default;
}

.pub-schedule-pagination li.active a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 575px) {
  .pub-schedule-item__header {
    padding: 14px 4px;
  }

  .pub-schedule-item__name {
    font-size: 15px;
  }
}
