/* Publication Page - Custom CSS */

/* Hero Section */
.pub-hero {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1617280137702-32e761be8b26?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8Z3Jhc3MlMjBmaWVsZHxlbnwwfHwwfHx8MA%3D%3D&w=1000&q=80') center/cover no-repeat;
  overflow: hidden;
}

.pub-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.pub-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 900px;
}

.pub-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.pub-highlight {
  color: #f3b638;
  font-weight: 800;
}

.pub-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Main Container */
.pub-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 1rem 0rem;
  max-width: 85%;
  margin: 0 auto;
}

/* Sidebar */
.pub-sidebar {
  position: sticky;
  top: 2rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: calc(100vh - 4rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

/* Fixed Search Section */
.pub-sidebar-search-fixed {
  margin-bottom: 0.2rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #f3b638;
}

.pub-sidebar-search-fixed .pub-sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
}

/* Divider */
.pub-sidebar-divider {
  height: 1px;
  background: #bdbdbd;
  margin: 0.5rem 0 0.75rem 0;
}

/* Categories Section */
.pub-sidebar-categories {
  flex: 1;
  overflow-y: auto;
}

.pub-sidebar-categories .pub-sidebar-title {
  font-size: 0.4rem;
  font-weight: 500;
  color: #2c3e50;
  margin: 0 0 0.4rem 0;
}

/* Filter Groups */
.pub-sidebar-filter-group {
  margin-bottom: 0.1rem;
}

.pub-sidebar-filter-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 0.2rem;
}

.pub-sidebar-filter-input {
  width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.pub-sidebar-filter-input:focus {
  outline: none;
  /* border-color: #f3b638; */
  box-shadow: none;
}

.pub-sidebar-filter-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  transition: all 0.3s ease;
}

.pub-sidebar-filter-select:focus {
  outline: none;
  border-color: #f3b638;
  box-shadow: 0 0 0 3px rgba(243, 182, 56, 0.1);
}

/* Filter Buttons */
.pub-sidebar-filter-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pub-sidebar-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pub-sidebar-btn-primary {
  background: linear-gradient(135deg, #f3b638, #e6a733);
  color: #fff;
}

.pub-sidebar-btn-primary:hover {
  /* background: linear-gradient(135deg, #e6a733, #d9982a); */
  /* transform: translateY(-1px); */
}

.pub-sidebar-btn-secondary {
  background: #f8f9fa;
  color: #555;
  border: 2px solid #e9ecef;
}

.pub-sidebar-btn-secondary:hover {
  background: #e9ecef;
  color: #2c3e50;
}

/* Sidebar Scrollbar Styling */
.pub-sidebar::-webkit-scrollbar {
  width: 8px;
}

.pub-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.pub-sidebar::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.pub-sidebar::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Firefox Scrollbar */
.pub-sidebar {
  scrollbar-color: #d0d0d0 transparent;
  scrollbar-width: thin;
}

.pub-sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.pub-sidebar-search-toggle .pub-sidebar-title {
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.pub-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Sidebar Search Section - Toggle Dropdown */
.pub-sidebar-search-toggle {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e5e5;
  list-style: none;
}

.pub-sidebar-search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.pub-sidebar-search-header .pub-sidebar-title {
  margin-bottom: 0;
  flex: 1;
}

.pub-search-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  color: #1e3a8a;
  flex-shrink: 0;
}

.pub-sidebar-search-toggle[open] .pub-search-toggle-icon {
  transform: rotate(180deg);
}

.pub-sidebar-search-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.pub-sidebar-search {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e5e5e5;
}

.pub-sidebar-search .pub-sidebar-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #1e3a8a;
  color: #1e3a8a;
}

/* Ensure filter inputs don't get nav-item styles */
.pub-sidebar-search input,
.pub-sidebar-search select,
.pub-sidebar-search button,
.pub-sidebar-search label,
.pub-sidebar-search-content input,
.pub-sidebar-search-content select,
.pub-sidebar-search-content button,
.pub-sidebar-search-content label {
  cursor: auto !important;
  pointer-events: auto;
}

.pub-sidebar-search input:hover,
.pub-sidebar-search select:hover,
.pub-sidebar-search label:hover,
.pub-sidebar-search-content input:hover,
.pub-sidebar-search-content select:hover,
.pub-sidebar-search-content label:hover {
  border-bottom-color: transparent;
  padding-left: 0;
}

/* Sidebar Categories Section */
.pub-sidebar-categories {
  margin-top: 1rem;
}

.pub-sidebar-categories .pub-sidebar-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #1e3a8a;
  color: #1e3a8a;
  line-height: 1.4;
}

/* Only apply nav-item styles in categories section */
.pub-sidebar-categories .pub-nav-item {
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pub-sidebar-categories .pub-nav-item:hover {
  color: #1e3a8a;
}

/* Sidebar Divider */
.pub-sidebar-divider {
  display: none;
}

.pub-nav-item {
  color: #4a4a4a;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color 0.2s ease;
  border-bottom: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.pub-nav-item:hover {
  color: #1e3a8a;
}

/* .pub-submenu {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e5e5;
} */

.pub-submenu:hover,
.pub-submenu[open] {
  border-top: none;
}

.pub-submenu-title {
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  user-select: none;
  transition: color 0.2s ease;
  gap: 0.3rem;
}

.pub-submenu-title:hover {
  color: #1e3a8a;
}

.pub-submenu-title span {
  flex: 1;
}

.pub-submenu-title h4.pub-category-heading {
  flex: 1;
  margin: 0;
}

.pub-submenu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #1e3a8a;
}

.pub-submenu[open] .pub-submenu-icon {
  transform: rotate(180deg);
}

.pub-submenu-items {
  margin-left: 1rem;
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-submenu-items .pub-nav-item {
  font-size: 0.9rem;
  color: #666;
}

.pub-category-heading {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.pub-subcategory-heading {
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

/* Mobile Toggle */
.pub-mobile-toggle {
  display: none;
}

.pub-toggle-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 600;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.pub-toggle-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.pub-mobile-toggle[open] .pub-toggle-icon {
  transform: rotate(180deg);
}

.pub-nav-mobile {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Sidebar Filters */
.pub-sidebar-filters {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e5e5;
}

.pub-sidebar-filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.pub-sidebar-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.pub-sidebar-filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.pub-sidebar-filter-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  line-height: 1.4;
}

.pub-sidebar-filter-input:focus {
  outline: none;
  border-color: #d1d5db;
  box-shadow: none;
  cursor: text !important;
}

.pub-sidebar-year-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  line-height: 1.4;
  font-family: inherit;
  cursor: pointer;
}

.pub-sidebar-year-select:focus {
  outline: none;
  border-color: #d1d5db;
  box-shadow: none;
}

.pub-sidebar-filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
  background: #fff;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.pub-sidebar-filter-select:focus {
  outline: none;
  border-color: #d1d5db;
  box-shadow: none;
}

.pub-sidebar-filter-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pub-sidebar-btn {
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer !important;
  transition: all 0.2s ease;
  pointer-events: auto !important;
  user-select: none;
  -webkit-user-select: none;
}

.pub-sidebar-btn-primary {
  background: #1e3a8a;
  color: #fff;
}

.pub-sidebar-btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pub-sidebar-btn-secondary {
  background: #e5e7eb;
  color: #4a4a4a;
}

.pub-sidebar-btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-1px);
}

.pub-sidebar-filter-btn {
  width: 100%;
  padding: 0.625rem 1rem;
  margin-top: 1rem;
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-sidebar-filter-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pub-sidebar-filter-btn:active {
  transform: translateY(0);
}

/* Main Content */
.pub-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Filters */
.pub-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  align-items: flex-end;
}

.pub-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a4a4a;
}

.pub-filter-input,
.pub-filter-select {
  padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pub-filter-input:focus,
.pub-filter-select:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.pub-filter-buttons {
  display: flex;
  gap: 0.75rem;
}

.pub-btn {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pub-btn-primary {
  background: #1e3a8a;
  color: #fff;
}

.pub-btn-primary:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.pub-btn-secondary {
  background: #e5e7eb;
  color: #4a4a4a;
}

.pub-btn-secondary:hover {
  background: #d1d5db;
  transform: translateY(-1px);
}

/* Results Message */
.pub-results-message {
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  background: #e0f2fe;
  border-left: 4px solid #0284c7;
  border-radius: 6px;
  color: #0c4a6e;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Publications Grid */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.pub-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.pub-card-image {
  position: relative;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pub-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

.pub-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer !important;
  text-decoration: none;
  pointer-events: auto !important;
  z-index: 5;
}

.pub-card:hover .pub-card-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}

.pub-card-icon {
  width: 48px;
  height: 48px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.pub-card:hover .pub-card-icon {
  transform: scale(1);
}

.pub-card-content {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  cursor: default !important;
}

.pub-card-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pub-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-card-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.4;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-card-link {
  color: #1e3a8a;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.pub-card-link:hover {
  color: #1e40af;
  transform: translateX(4px);
}

/* List Section */
.pub-list-section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pub-list-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pub-list li {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 2rem;
  position: relative;
}

.pub-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1e3a8a;
  font-weight: 700;
}

.pub-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #9ca3af;
  font-size: 1.1rem;
}

/* Desktop Navigation */
.pub-nav-desktop {
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding-right: 0.5rem;
}

/* Ensure nav items don't overflow */
.pub-sidebar-search,
.pub-sidebar-categories {
  flex-shrink: 0;
}

.pub-sidebar-categories {
  overflow-y: auto;
  /* max-height: calc(100vh - 20rem); */
  padding-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pub-hero-title {
    font-size: 1.75rem;
  }

  .pub-hero-subtitle {
    font-size: 0.95rem;
  }

  .pub-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .pub-sidebar {
    position: static;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 1rem;
  }

  .pub-nav-desktop {
    display: none;
  }

  .pub-mobile-toggle {
    display: block;
  }

  .pub-filters {
    grid-template-columns: 1fr;
  }

  .pub-filter-buttons {
    width: 100%;
  }

  .pub-btn {
    flex: 1;
  }

  .pub-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .pub-card-image {
    height: 140px;
  }

  .pub-list li {
    font-size: 0.875rem;
  }

  /* Mobile sidebar adjustments */
  .pub-sidebar-search-toggle {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .pub-sidebar-search-header {
    padding: 0;
  }

  .pub-sidebar-search-header .pub-sidebar-title {
    font-size: 1rem;
  }

  .pub-sidebar-search-content {
    gap: 0.75rem;
    padding-top: 0.75rem;
  }

  .pub-sidebar-filter-group {
    margin-bottom: 0.5rem;
  }

  .pub-sidebar-categories {
    max-height: none;
  }

  .pub-sidebar-categories .pub-sidebar-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .pub-nav-mobile {
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .pub-nav-item {
    padding: 0.375rem 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pub-hero {
    height: 40vh;
  }

  .pub-hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .pub-hero-content {
    padding: 1rem;
  }

  .pub-container {
    padding: 1rem 0.5rem;
    gap: 1rem;
  }

  .pub-sidebar {
    padding: 0.75rem;
  }

  .pub-filters {
    padding: 0.75rem;
  }

  .pub-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pub-card-image {
    height: 160px;
  }

  .pub-list li {
    padding-left: 1.5rem;
  }

  /* Extra compact mobile adjustments */
  .pub-sidebar-search-toggle {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .pub-sidebar-filter-group {
    margin-bottom: 0.375rem;
  }

  .pub-sidebar-filter-input,
  .pub-sidebar-filter-select {
    font-size: 16px;
    padding: 0.375rem 0.5rem;
  }

  .pub-sidebar-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  .pub-nav-item {
    padding: 0.25rem 0;
    font-size: 0.85rem;
  }

  .pub-sidebar-categories {
    max-height: none;
  }

  .pub-submenu-title,
  .pub-submenu-items {
    padding: 0.25rem 0;
  }
}

/* Minified Production Ready */
@media print {
  .pub-filters, .pub-sidebar {
    display: none;
  }

  .pub-container {
    grid-template-columns: 1fr;
  }
}