.archives-page {
  background: #fff;
}

.archives-page .archives-year-list.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
}

.archives-page .archives-year-list .archives-year-item {
  border: 1px solid #e9edf5;
}

.archives-page .archives-year-list .collapse:not(.show) {
  display: none;
}

.archives-hero {
  padding: 1.75rem 0 2.25rem;
  min-height: 200px;
}

.archives-hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.archives-hero h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.archives-hero .inner-breadcrumb {
  margin-bottom: 0;
}

.archives-content-section {
  padding: 1.75rem 0 2.5rem;
}

.archives-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.archives-search-wrap {
  flex: 1 1 240px;
  display: flex;
  border: 1px solid #d8deec;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.archives-search-wrap input {
  flex: 1;
  border: 0;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
}

.archives-search-wrap button {
  border: 0;
  background: #123470;
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
}

.archives-filter-select {
  border: 1px solid #d8deec;
  border-radius: 8px;
  padding: 0.625rem 2rem 0.625rem 0.75rem;
  font-size: 0.8125rem;
  color: #2a3e62;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235d6e8f' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  appearance: none;
  min-width: 120px;
}

.archives-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d8deec;
  background: #fff;
  color: #5d6e8f;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.archives-clear-btn:hover {
  border-color: #123470;
  color: #123470;
}

.archives-year-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.archives-year-item {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(11, 35, 85, 0.04);
}

.archives-year-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.archives-year-toggle:hover {
  background: #fafbfd;
}

.archives-year-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef4ff;
  color: #123470;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.archives-year-info {
  flex: 1;
  min-width: 0;
}

.archives-year-info strong {
  display: block;
  font-size: 1rem;
  color: #123470;
  font-weight: 700;
  line-height: 1.2;
}

.archives-year-info span {
  font-size: 0.8125rem;
  color: #5d6e8f;
}

.archives-year-chevron {
  color: #8a9ab5;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.archives-year-toggle[aria-expanded="true"] .archives-year-chevron {
  transform: rotate(180deg);
}

.archives-year-body {
  border-top: 1px solid #edf1f8;
  padding: 0.75rem 1.125rem 1rem;
  background: #fafbfd;
}

.archives-year-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archives-year-body li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #edf1f8;
  font-size: 0.8125rem;
}

.archives-year-body li:last-child {
  border-bottom: 0;
}

.archives-year-body a {
  color: #123470;
  text-decoration: none;
  font-weight: 500;
}

.archives-year-body a:hover {
  color: #0a4bb7;
}

.archives-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.archives-pagination a,
.archives-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid #d8deec;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8125rem;
  color: #2a3e62;
  background: #fff;
}

.archives-pagination a:hover {
  border-color: #123470;
  color: #123470;
}

.archives-pagination .active {
  background: #123470;
  border-color: #123470;
  color: #fff;
  font-weight: 600;
}

.archives-pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

.archives-side-card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(11, 35, 85, 0.04);
  margin-bottom: 1.125rem;
  overflow: hidden;
}

.archives-quick-access {
  background: linear-gradient(145deg, #0b2a5c 0%, #123470 100%);
  border: 0;
  padding: 1.125rem;
}

.archives-quick-access h6 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.archives-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
}

.archives-quick-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}

.archives-quick-grid a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.archives-quick-grid i {
  font-size: 1.1rem;
  opacity: 0.95;
}

.archives-side-head {
  font-size: 1.05rem;
  font-weight: 700;
  color: #113069;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid #edf1f8;
}

.archives-glance-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.archives-donut-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 1rem;
}

.archives-donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #c5a059 0deg 245deg,
    #123470 245deg 324deg,
    #7eb8e8 324deg 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.archives-donut::after {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
}

.archives-donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.archives-donut-label strong {
  font-size: 1.15rem;
  color: #123470;
  line-height: 1.1;
}

.archives-donut-label span {
  font-size: 0.65rem;
  color: #5d6e8f;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.archives-legend {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archives-legend li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #2a3e62;
  padding: 0.35rem 0;
}

.archives-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.archives-legend .label {
  display: flex;
  align-items: center;
  flex: 1;
}

.archives-legend .pct {
  font-weight: 600;
  color: #123470;
}

.archives-journal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archives-journal-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.125rem;
  border-bottom: 1px solid #f0f3f8;
  font-size: 0.8125rem;
}

.archives-journal-list li:last-child {
  border-bottom: 0;
}

.archives-journal-list a {
  color: #123470;
  text-decoration: none;
  font-weight: 600;
}

.archives-journal-list a:hover {
  color: #0a4bb7;
}

.archives-journal-list span {
  color: #5d6e8f;
  font-size: 0.75rem;
}

.archives-view-all {
  display: block;
  padding: 0.75rem 1.125rem;
  border-top: 1px solid #edf1f8;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #123470;
  text-decoration: none;
}

.archives-view-all:hover {
  color: #0a4bb7;
}

.archives-decade-card {
  background: #fff8f2;
  border-color: #fde8d4;
}

.archives-decade-body {
  padding: 1rem 1.125rem 1.125rem;
}

.archives-decade-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.archives-decade-pills a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #f0c9a0;
  background: #fff;
  color: #2a3e62;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.archives-decade-pills a:hover,
.archives-decade-pills a.active {
  background: #c5a059;
  border-color: #c5a059;
  color: #fff;
}

.archives-subscribe-card {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.archives-subscribe-body {
  padding: 1.125rem;
  text-align: center;
}

.archives-subscribe-body .envelope-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: #eef4ff;
  color: #123470;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.archives-subscribe-body h6 {
  color: #113069;
  margin-bottom: 0.35rem;
}

.archives-subscribe-body p {
  font-size: 0.8125rem;
  color: #60708d;
  margin-bottom: 0.875rem;
}

.archives-subscribe-form {
  display: flex;
  gap: 0.5rem;
}

.archives-subscribe-form input {
  flex: 1;
  border: 1px solid #d8deec;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.archives-subscribe-form button {
  border: 0;
  background: #123470;
  color: #fff;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .archives-hero h1 {
    font-size: 1.65rem;
  }

  .archives-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
