.publication-card {
  border: 1px solid #D9D9D9;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.publication-card .documents .documents-title {
  display: none;
}

.publication-card .documents .divider {
  display: none;
}

.publication-contact-box:has(.rich-text-editor-iwe3 > *:not(:empty), .document-item) {
  border: 1px solid #D9D9D9;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: #FFFFFF;
  max-width: 50rem;
  margin: 0 auto;
}

/* Documents component overrides for publication page */
.publication-contact-box .documents .documents-title {
  display: none;
}

.publication-contact-box .documents .divider {
  display: none;
}

.publication-contact-box .documents .document-item {
  flex: 0 0 100%;
  max-width: 100%;
}

.publication-contact-box .documents .document-content {
  display: flex;
  align-items: center;
  text-align: left;
}

.publication-contact-box .documents .document-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 0.75rem 0 0;
  flex-shrink: 0;
}

.publication-contact-box .documents .document-link {
  display: inline;
}

/* Publication header */
.publication-header {
  margin-bottom: 1.5rem;
}

.publication-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1E1E1E;
  margin: 0 0 0.5rem 0;
}

.publication-divider {
  height: 3px;
  background-color: #3366CC;
}

/* Year filter dropdown */
.publication-filter {
  margin-bottom: 1rem;
}

.publication-filter-label {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.year-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.9375rem;
  background-color: #0A66C2;
  color: #FFFFFF;
  border: none;
  border-radius: 0.25rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
}

.year-dropdown-toggle::after {
  border-top-color: #FFFFFF;
}

.year-dropdown-toggle:hover,
.year-dropdown-toggle:focus,
.year-dropdown-toggle:active,
.year-dropdown-toggle.show {
  background-color: #084d94;
  color: #FFFFFF;
}

.year-dropdown-menu {
  min-width: 6.25rem;
  max-height: 18.75rem;
  overflow-y: auto;
  padding: 0.5rem 0;
  border: none;
  box-shadow: 0 0 2.5rem 0 rgba(0, 0, 0, 0.25);
  border-radius: 0.25rem;
}

.year-dropdown-menu .dropdown-item {
  padding: 0.625rem 0.9375rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
}

.year-dropdown-menu .dropdown-item:hover,
.year-dropdown-menu .dropdown-item:focus {
  background-color: #f0f0f0;
}

.year-dropdown-menu .dropdown-item.active {
  font-weight: 500;
  background-color: #e6f0fa;
  color: #000000;
}
