:root {
  --primary: #800000;
  --primary-hover: #650000;
  --primary-light: rgba(128, 0, 0, 0.08);
  --primary-light-solid: #f5ebeb;
  --focus-ring: 0 0 0 3px rgba(128, 0, 0, 0.18);
}

#footer .footer-inner {
  align-items: center !important;
}

#footer .footer-links {
  align-items: center;
}

#footer .footer-links--external {
  margin-left: auto;
}

#footer .footer-links--external a {
  color: var(--primary);
}

#footer .footer-links--external a:hover {
  color: var(--primary-hover);
}

@media (max-width: 1016px) {
  #footer .footer-inner {
    align-items: flex-start !important;
    flex-direction: column;
  }

  #footer .footer-links {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-3) var(--space-5);
  }

  #footer .footer-links--external {
    margin-left: 0;
  }
}

.result-format-badge--database .label {
  background: var(--primary-light) !important;
  border-color: var(--primary) !important;
  box-shadow: none;
  color: var(--primary) !important;
}

.header-inner--knav-flex {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
      width: 100%;
}

.header-inner--knav-flex .header-row {
  display: flex;
      align-items: center;
      gap: var(--space-2);
      min-width: 0;
      width: 100%;
}

.header-inner--knav-flex .header-row--top .page-title-link,
.header-inner--knav-flex .header-row--search .search-area {
  flex: 1 1 auto;
      min-width: 0;
}

.header-inner--knav-flex .header-actions--institution,
.header-inner--knav-flex .header-actions--user {
  display: flex;
      flex: 0 0 auto;
      flex-wrap: nowrap;
      gap: var(--space-2);
      justify-content: flex-end;
      min-width: 0;
}

.knihoveda-header-logo {
  flex: 0 1 auto;
  min-width: 0;
}

.knihoveda-header-logo .logo-icon {
  display: block;
  max-width: min(22rem, 32vw);
}

.knihoveda-portal-btn__logo {
  display: block;
  height: 20px;
  width: 20px;
}

.knihoveda-utility-action svg {
  display: block;
}

#header.knav-katalog-header--mobile-autohide {
  transition: transform 0.22s ease, opacity 0.22s ease;
      will-change: transform;
}

#header.knav-katalog-header--mobile-autohide.knav-katalog-header--is-hidden {
  transform: translateY(calc(-100% - var(--space-2))) !important;
      opacity: 0 !important;
      pointer-events: none !important;
}

.adv-search-btn svg,
.adv-search-btn img {
  display: block;
      width: 17.6px;
      height: 17.6px;
      min-width: 17.6px;
      max-width: 17.6px;
      min-height: 17.6px;
      max-height: 17.6px;
      flex-shrink: 0;
}

.adv-search-btn img {
  filter: brightness(0) invert(1);
}

.eds-checkbox-wrapper {
  position: relative;
}

.eds-login-tooltip {
  position: absolute;
      top: calc(100% + 0.5rem);
      left: 0;
      min-width: 12rem;
      padding: 0.5rem 0.75rem;
      border-radius: var(--radius-sm);
      background: #111827;
      color: #fff;
      font-size: var(--text-xs);
      line-height: 1.4;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-4px);
      transition: var(--transition);
      z-index: 20;
}

.eds-checkbox-wrapper:hover .eds-login-tooltip {
  opacity: 1;
      visibility: visible;
      transform: translateY(0);
}

.institution-dropdown {
  min-width: 0;
}

.header-membership-panel {
  display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: var(--space-2);
      order: 3;
}

.header-actions>.knav-popover--account,
.header-actions>.knav-popover--login-choice,
.header-actions>.account-action {
  order: 2;
}

.custom-dropdown.institution-dropdown .dropdown-menu {
  width: min(24rem, calc(100vw - 16px));
      min-width: 14rem;
      max-width: calc(100vw - 16px);
      height: 39vh;
      left: auto;
      right: 0;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-gutter: stable;
}

.custom-dropdown.institution-dropdown .dropdown-item {
  align-items: flex-start;
      box-sizing: border-box;
      height: auto;
      line-height: 1.25;
      min-height: var(--select-height);
      padding-bottom: 10px;
      padding-right: 28px;
      padding-top: 10px;
      width: 100%;
}

.custom-dropdown.institution-dropdown .dropdown-menu.is-viewport-positioned .dropdown-item {
  display: block !important;
      height: auto !important;
      line-height: 1.25 !important;
      min-height: 0 !important;
      overflow: hidden !important;
      padding: 0 !important;
      text-overflow: clip !important;
      white-space: normal !important;
      width: 100% !important;
}

.custom-dropdown.institution-dropdown .dropdown-item>span:first-child {
  display: block;
      line-height: 1.25;
      margin: 0.4rem 28px 0.4rem 16px;
      min-width: 0;
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
}

.header-membership-links {
  display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: var(--space-3);
      flex-wrap: wrap;
}

.header-membership-link {
  font-weight: 600;
      white-space: nowrap;
}

.header-membership-bankid {
  display: inline-flex;
      align-items: center;
      flex-shrink: 0;
}

.header-membership-bankid img {
  width: 75px;
      height: auto;
}

#header #institutionDropdown .dropdown-menu > a.dropdown-item {
  align-items: center !important;
      display: flex !important;
      height: auto !important;
      line-height: 1.25 !important;
      max-height: none !important;
      min-height: 2.5rem !important;
      padding: 0 !important;
      white-space: normal !important;
}

#header #institutionDropdown .dropdown-menu > a.dropdown-item > span:first-child {
  line-height: 1.25 !important;
      margin: 0.4rem 28px 0.4rem 16px !important;
      white-space: normal !important;
}

@media (min-width: 768px) and (max-width: 1016px) {
  .template-dir-eds.template-name-search .results-body {
    gap: 30px;
  }

  .template-dir-eds.template-name-search .sidebar-wrapper,
    .template-dir-eds.template-name-search .sidebar,
    .template-dir-eds.template-name-search .side-facets-container {
    flex-basis: 18rem;
            width: 18rem;
  }

  .template-dir-eds.template-name-search .facet-sidebar {
    transition: max-height 0.22s linear;
            width: 18rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .sidebar-wrapper {
    top: 1rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .facet-sidebar {
    max-height: calc(100dvh - 2rem);
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  .template-dir-eds.template-name-search .results-meta-card {
    gap: 0;
  }

  .template-dir-eds.template-name-search .results-body {
    gap: var(--space-5);
  }

  .template-dir-eds.template-name-search .sidebar-wrapper,
    .template-dir-eds.template-name-search .sidebar,
    .template-dir-eds.template-name-search .side-facets-container {
    flex-basis: 16rem;
            width: 16rem;
  }

  .template-dir-eds.template-name-search .facet-sidebar {
    transition: max-height 0.22s linear;
            width: 16rem;
  }

  .template-dir-eds.template-name-search .sidebar-wrapper {
    transition: top 0.22s linear;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .sidebar-wrapper {
    top: 1rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .facet-sidebar {
    max-height: calc(100vh - 2rem);
  }
}

@media (min-width: 768px) {
  .template-dir-eds.template-name-search .sidebar-wrapper {
    align-self: flex-start;
            max-height: calc(100vh - var(--header-height, 7.875rem) - 2rem);
            overflow: visible;
            position: sticky;
            top: calc(var(--header-height, 7.875rem) + 0.5rem);
  }

  .template-dir-eds.template-name-search .sidebar-wrapper .facet-sidebar {
    height: fit-content;
            max-height: calc(100vh - var(--header-height, 7.875rem) - 2rem);
            overflow-x: hidden;
            overflow-y: auto;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .sidebar-wrapper {
    top: 1rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-eds.template-name-search .sidebar-wrapper .facet-sidebar {
    max-height: calc(100vh - 2rem);
  }
}

.template-dir-eds.template-name-search .results-count-text--mobile {
  display: none;
}

@media (max-width: 767px) {
  .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: flex !important;
            flex-wrap: wrap !important;
            row-gap: 4px !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left {
    align-items: center !important;
            display: flex !important;
            flex: 1 1 0 !important;
            gap: var(--results-mobile-gap) !important;
            min-width: 0 !important;
            order: 1 !important;
  }

  .template-dir-eds.template-name-search .meta-right {
    align-items: center !important;
            display: flex !important;
            flex: 0 0 auto !important;
            gap: var(--results-mobile-gap) !important;
            min-width: 0 !important;
            order: 2 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: var(--results-mobile-gap) !important;
            margin: 0 !important;
            min-width: 0 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count {
    flex: 0 0 auto !important;
  }

  .template-dir-eds.template-name-search .meta-controls {
    flex: 1 1 auto !important;
            justify-content: flex-end !important;
            margin-left: auto !important;
  }

  .template-dir-eds.template-name-search .meta-actions {
    flex: 0 0 auto !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-eds.template-name-search .facet-toggle {
    display: none !important;
  }

  .template-dir-eds.template-name-search .control-group {
    align-items: center !important;
            display: inline-flex !important;
            flex: 0 0 var(--results-mobile-control-size) !important;
            margin: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    flex: 0 0 18px !important;
            height: 18px !important;
            margin: 0 !important;
            width: 18px !important;
  }

  .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    flex: 0 0 var(--results-mobile-control-size) !important;
            height: var(--results-mobile-control-size) !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-eds.template-name-search .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            justify-content: center !important;
            margin: 0 !important;
            padding: 0 !important;
  }

  .template-dir-eds.template-name-search .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .results-options-trigger .trigger-content,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    gap: 0 !important;
            justify-content: center !important;
  }

  .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon,
    .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-arrow,
    .template-dir-eds.template-name-search .meta-controls .chevron,
    .template-dir-eds.template-name-search .meta-actions .chevron {
    display: none !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .results-options-icon,
    .template-dir-eds.template-name-search .facet-filter-icon,
    .template-dir-eds.template-name-search .meta-actions>.action-btn svg,
    .template-dir-eds.template-name-search .results-count .arrow-btn svg {
    display: block !important;
            height: 16px !important;
            width: 16px !important;
  }

  .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    align-items: center !important;
            color: var(--text-muted) !important;
            display: inline-flex !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            height: auto !important;
            justify-content: center !important;
            line-height: 1 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            flex: 0 0 100% !important;
            margin: 0 !important;
            min-width: 0 !important;
            order: 3 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  .template-dir-eds.template-name-search .meta-row {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            gap: 0.425rem !important;
            justify-content: space-between !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            min-width: 0 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .meta-left {
    flex: 1 1 auto !important;
            gap: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .meta-right {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
            justify-content: flex-end !important;
            margin-left: 0 !important;
  }

  .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions,
    .template-dir-eds.template-name-search .facet-toggle {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count {
    flex: 0 0 auto !important;
            gap: 6px !important;
            margin-right: 0 !important;
  }

  .template-dir-eds.template-name-search .meta-controls {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
            margin-left: auto !important;
  }

  .template-dir-eds.template-name-search .meta-actions {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .facet-toggle {
    gap: 0.6375rem !important;
            margin-left: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: inline !important;
            flex: 0 0 auto !important;
            margin-left: var(--space-2) !important;
            margin-right: 0 !important;
            order: 4 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    display: none !important;
  }

  .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .meta-actions .chevron {
    display: inline !important;
  }

  .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .meta-controls .chevron {
    display: none !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon {
    display: block !important;
  }

  .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    align-items: center !important;
            color: var(--text-muted) !important;
            display: inline-flex !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            justify-content: center !important;
            line-height: 1 !important;
  }

  .template-dir-eds.template-name-search .meta-controls .custom-dropdown.min-dropdown,
    .template-dir-eds.template-name-search .meta-controls .custom-dropdown,
    .template-dir-eds.template-name-search .meta-actions .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu {
    flex: 0 0 auto !important;
            max-width: none !important;
            min-width: max-content !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .meta-controls .dropdown-trigger,
    .template-dir-eds.template-name-search .meta-actions .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger {
    height: var(--button-height) !important;
            justify-content: space-between !important;
            max-width: none !important;
            min-width: var(--button-height) !important;
            padding: 0 var(--space-3) !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-options-trigger {
    justify-content: center !important;
  }

  .template-dir-eds.template-name-search .meta-controls .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .meta-actions .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .results-options-trigger .trigger-content {
    gap: var(--space-2) !important;
            justify-content: flex-start !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .sort-group .custom-dropdown.min-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown.min-dropdown {
    flex: 0 0 var(--button-height) !important;
            max-width: var(--button-height) !important;
            min-width: var(--button-height) !important;
            width: var(--button-height) !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-trigger,
    .template-dir-eds.template-name-search .limit-group .dropdown-trigger {
    justify-content: center !important;
            max-width: var(--button-height) !important;
            min-width: var(--button-height) !important;
            padding: 0 !important;
            width: var(--button-height) !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .limit-group .dropdown-trigger .trigger-content {
    gap: 0 !important;
            justify-content: center !important;
            width: 100% !important;
  }
}

.template-dir-search.template-name-results .results-count > .results-count-text,
.template-dir-eds.template-name-search .results-count > .results-count-text {
  display: none !important;
}

.template-dir-search.template-name-results .meta-left,
.template-dir-eds.template-name-search .meta-left {
  order: 1;
}

.template-dir-search.template-name-results .meta-right,
.template-dir-eds.template-name-search .meta-right {
  order: 2;
}

.template-dir-search.template-name-results .results-count-text--mobile,
.template-dir-eds.template-name-search .results-count-text--mobile {
  display: block !important;
      flex: 0 0 100% !important;
      margin: 0 !important;
      min-width: 0 !important;
      order: 3 !important;
      text-align: left !important;
      white-space: normal !important;
      width: 100% !important;
}

@media (max-width: 1016px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-checkbox-size: 18px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: grid !important;
            grid-template-columns:
                var(--results-mobile-checkbox-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                minmax(0, 1fr)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size) !important;
            grid-template-rows: var(--results-mobile-control-size) auto !important;
            justify-items: center !important;
            row-gap: 8px !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .meta-left,
    .template-dir-search.template-name-results .meta-right,
    .template-dir-search.template-name-results .results-count,
    .template-dir-search.template-name-results .meta-controls,
    .template-dir-search.template-name-results .meta-actions,
    .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-search.template-name-results .results-count #selectAllCheckbox,
    .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    grid-column: 1 !important;
            grid-row: 1 !important;
            height: var(--results-mobile-checkbox-size) !important;
            justify-self: start !important;
            margin: 0 !important;
            max-height: var(--results-mobile-checkbox-size) !important;
            max-width: var(--results-mobile-checkbox-size) !important;
            min-height: var(--results-mobile-checkbox-size) !important;
            min-width: var(--results-mobile-checkbox-size) !important;
            width: var(--results-mobile-checkbox-size) !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-prev,
    .template-dir-eds.template-name-search .results-count>.results-count-prev {
    grid-column: 2 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-next,
    .template-dir-eds.template-name-search .results-count>.results-count-next {
    grid-column: 3 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-eds.template-name-search .sort-group {
    grid-column: 5 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .limit-group,
    .template-dir-eds.template-name-search .limit-group {
    grid-column: 6 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-options-menu,
    .template-dir-eds.template-name-search .results-options-menu {
    grid-column: 7 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn {
    grid-column: 8 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    grid-column: 9 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-search.template-name-results .limit-group,
    .template-dir-search.template-name-results .sort-group .custom-dropdown,
    .template-dir-search.template-name-results .limit-group .custom-dropdown,
    .template-dir-search.template-name-results .results-options-menu,
    .template-dir-search.template-name-results .results-count>.arrow-btn,
    .template-dir-search.template-name-results .results-count>span.arrow-btn,
    .template-dir-search.template-name-results .results-count>a.arrow-btn,
    .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .sort-group,
    .template-dir-eds.template-name-search .limit-group,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            flex: none !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .dropdown-trigger,
    .template-dir-search.template-name-results .results-options-trigger,
    .template-dir-eds.template-name-search .meta-row .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger {
    align-items: center !important;
            display: inline-flex !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .trigger-content,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .meta-row .trigger-content,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            gap: 0 !important;
            justify-content: center !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-text,
    .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-search.template-name-results .results-count-text--mobile,
    .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            grid-column: 1 / -1 !important;
            grid-row: 2 !important;
            justify-self: start !important;
            margin: 0 !important;
            min-width: 0 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .control-group>label,
    .template-dir-search.template-name-results .sort-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon,
    .template-dir-search.template-name-results .results-options-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-arrow,
    .template-dir-search.template-name-results .meta-row .chevron,
    .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon,
    .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-arrow,
    .template-dir-eds.template-name-search .meta-row .chevron {
    display: none !important;
  }

  .template-dir-search.template-name-results .sort-group .dropdown-mobile-icon,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-search.template-name-results .results-options-icon,
    .template-dir-search.template-name-results .facet-filter-icon,
    .template-dir-search.template-name-results .meta-actions>.action-btn svg,
    .template-dir-search.template-name-results .results-count .arrow-btn svg,
    .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .results-options-icon,
    .template-dir-eds.template-name-search .facet-filter-icon,
    .template-dir-eds.template-name-search .meta-actions>.action-btn svg,
    .template-dir-eds.template-name-search .results-count .arrow-btn svg {
    align-items: center !important;
            display: inline-flex !important;
            height: 16px !important;
            justify-content: center !important;
            width: 16px !important;
  }

  .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    color: var(--text-muted) !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            line-height: 1 !important;
  }
}

@media (max-width: 767px) {
  .template-dir-eds.template-name-search .results-header-container {
    padding-left: 0 !important;
            padding-right: 0 !important;
  }

  .template-dir-eds.template-name-search .results-meta-card,
    .template-dir-eds.template-name-search .meta-row {
    margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
  }
}

.template-dir-search.template-name-results .results-count > .results-count-text,
.template-dir-eds.template-name-search .results-count > .results-count-text {
  display: none !important;
}

.template-dir-search.template-name-results .meta-left,
.template-dir-eds.template-name-search .meta-left {
  order: 1;
}

.template-dir-search.template-name-results .meta-right,
.template-dir-eds.template-name-search .meta-right {
  order: 2;
}

.template-dir-search.template-name-results .results-count-text--mobile,
.template-dir-eds.template-name-search .results-count-text--mobile {
  display: block !important;
      flex: 0 0 100% !important;
      margin: 0 !important;
      min-width: 0 !important;
      order: 3 !important;
      text-align: left !important;
      white-space: normal !important;
      width: 100% !important;
}

.template-dir-search.template-name-results .results-count > .results-count-text,
.template-dir-eds.template-name-search .results-count > .results-count-text {
  display: none !important;
}

.template-dir-search.template-name-results .meta-left,
.template-dir-eds.template-name-search .meta-left {
  order: 1;
}

.template-dir-search.template-name-results .meta-right,
.template-dir-eds.template-name-search .meta-right {
  order: 2;
}

.template-dir-search.template-name-results .results-count-text--mobile,
.template-dir-eds.template-name-search .results-count-text--mobile {
  display: block !important;
      flex: 0 0 100% !important;
      margin: 0 !important;
      min-width: 0 !important;
      order: 3 !important;
      text-align: left !important;
      white-space: normal !important;
      width: 100% !important;
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-checkbox-size: 18px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: grid !important;
            grid-template-columns:
                var(--results-mobile-checkbox-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                minmax(0, 1fr)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size)
                var(--results-mobile-control-size) !important;
            grid-template-rows: var(--results-mobile-control-size) auto !important;
            justify-items: center !important;
            row-gap: 8px !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .meta-left,
    .template-dir-search.template-name-results .meta-right,
    .template-dir-search.template-name-results .results-count,
    .template-dir-search.template-name-results .meta-controls,
    .template-dir-search.template-name-results .meta-actions,
    .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-search.template-name-results .results-count #selectAllCheckbox,
    .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    grid-column: 1 !important;
            grid-row: 1 !important;
            height: var(--results-mobile-checkbox-size) !important;
            justify-self: start !important;
            margin: 0 !important;
            max-height: var(--results-mobile-checkbox-size) !important;
            max-width: var(--results-mobile-checkbox-size) !important;
            min-height: var(--results-mobile-checkbox-size) !important;
            min-width: var(--results-mobile-checkbox-size) !important;
            width: var(--results-mobile-checkbox-size) !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-prev,
    .template-dir-eds.template-name-search .results-count>.results-count-prev {
    grid-column: 2 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-next,
    .template-dir-eds.template-name-search .results-count>.results-count-next {
    grid-column: 3 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-eds.template-name-search .sort-group {
    grid-column: 5 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .limit-group,
    .template-dir-eds.template-name-search .limit-group {
    grid-column: 6 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-options-menu,
    .template-dir-eds.template-name-search .results-options-menu {
    grid-column: 7 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn {
    grid-column: 8 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    grid-column: 9 !important;
            grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-search.template-name-results .limit-group,
    .template-dir-search.template-name-results .sort-group .custom-dropdown,
    .template-dir-search.template-name-results .limit-group .custom-dropdown,
    .template-dir-search.template-name-results .results-options-menu,
    .template-dir-search.template-name-results .results-count>.arrow-btn,
    .template-dir-search.template-name-results .results-count>span.arrow-btn,
    .template-dir-search.template-name-results .results-count>a.arrow-btn,
    .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .sort-group,
    .template-dir-eds.template-name-search .limit-group,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            flex: none !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .dropdown-trigger,
    .template-dir-search.template-name-results .results-options-trigger,
    .template-dir-eds.template-name-search .meta-row .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger {
    align-items: center !important;
            display: inline-flex !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .trigger-content,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .meta-row .trigger-content,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            gap: 0 !important;
            justify-content: center !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-text,
    .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-search.template-name-results .results-count-text--mobile,
    .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            grid-column: 1 / -1 !important;
            grid-row: 2 !important;
            justify-self: start !important;
            margin: 0 !important;
            min-width: 0 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .control-group>label,
    .template-dir-search.template-name-results .sort-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon,
    .template-dir-search.template-name-results .results-options-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-arrow,
    .template-dir-search.template-name-results .meta-row .chevron,
    .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon,
    .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-arrow,
    .template-dir-eds.template-name-search .meta-row .chevron {
    display: none !important;
  }

  .template-dir-search.template-name-results .sort-group .dropdown-mobile-icon,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-search.template-name-results .results-options-icon,
    .template-dir-search.template-name-results .facet-filter-icon,
    .template-dir-search.template-name-results .meta-actions>.action-btn svg,
    .template-dir-search.template-name-results .results-count .arrow-btn svg,
    .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .results-options-icon,
    .template-dir-eds.template-name-search .facet-filter-icon,
    .template-dir-eds.template-name-search .meta-actions>.action-btn svg,
    .template-dir-eds.template-name-search .results-count .arrow-btn svg {
    align-items: center !important;
            display: inline-flex !important;
            height: 16px !important;
            justify-content: center !important;
            width: 16px !important;
  }

  .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    color: var(--text-muted) !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            line-height: 1 !important;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: flex-start !important;
            row-gap: 4px !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .meta-left,
    .template-dir-search.template-name-results .meta-right,
    .template-dir-search.template-name-results .results-count,
    .template-dir-search.template-name-results .meta-controls,
    .template-dir-search.template-name-results .meta-actions,
    .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-search.template-name-results .results-count #selectAllCheckbox,
    .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    flex: 0 0 18px !important;
            height: 18px !important;
            margin: 0 !important;
            order: 1 !important;
            width: 18px !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-prev,
    .template-dir-eds.template-name-search .results-count>.results-count-prev {
    order: 2 !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-next,
    .template-dir-eds.template-name-search .results-count>.results-count-next {
    order: 3 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-eds.template-name-search .sort-group {
    margin-left: auto !important;
            order: 4 !important;
  }

  .template-dir-search.template-name-results .limit-group,
    .template-dir-eds.template-name-search .limit-group {
    order: 5 !important;
  }

  .template-dir-search.template-name-results .results-options-menu,
    .template-dir-eds.template-name-search .results-options-menu {
    order: 6 !important;
  }

  .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn {
    order: 7 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    display: inline-flex !important;
            margin: 0 !important;
            order: 8 !important;
            padding: 0 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-search.template-name-results .limit-group,
    .template-dir-search.template-name-results .sort-group .custom-dropdown,
    .template-dir-search.template-name-results .limit-group .custom-dropdown,
    .template-dir-search.template-name-results .results-options-menu,
    .template-dir-search.template-name-results .results-count>.arrow-btn,
    .template-dir-search.template-name-results .results-count>span.arrow-btn,
    .template-dir-search.template-name-results .results-count>a.arrow-btn,
    .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .sort-group,
    .template-dir-eds.template-name-search .limit-group,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    flex: 0 0 var(--results-mobile-control-size) !important;
            height: var(--results-mobile-control-size) !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-text,
    .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-search.template-name-results .results-count-text--mobile,
    .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            flex: 0 0 100% !important;
            margin: 0 !important;
            min-width: 0 !important;
            order: 20 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: flex !important;
            flex-wrap: wrap !important;
            justify-content: flex-start !important;
            row-gap: 4px !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .meta-left,
    .template-dir-search.template-name-results .meta-right,
    .template-dir-search.template-name-results .results-count,
    .template-dir-search.template-name-results .meta-controls,
    .template-dir-search.template-name-results .meta-actions,
    .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-search.template-name-results .results-count #selectAllCheckbox,
    .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    flex: 0 0 18px !important;
            height: 18px !important;
            margin: 0 !important;
            order: 1 !important;
            width: 18px !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-prev,
    .template-dir-eds.template-name-search .results-count>.results-count-prev {
    order: 2 !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-next,
    .template-dir-eds.template-name-search .results-count>.results-count-next {
    order: 3 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-eds.template-name-search .sort-group {
    margin-left: auto !important;
            order: 4 !important;
  }

  .template-dir-search.template-name-results .limit-group,
    .template-dir-eds.template-name-search .limit-group {
    order: 5 !important;
  }

  .template-dir-search.template-name-results .results-options-menu,
    .template-dir-eds.template-name-search .results-options-menu {
    order: 6 !important;
  }

  .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn {
    order: 7 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    display: inline-flex !important;
            margin: 0 !important;
            order: 8 !important;
            padding: 0 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-search.template-name-results .limit-group,
    .template-dir-search.template-name-results .sort-group .custom-dropdown,
    .template-dir-search.template-name-results .limit-group .custom-dropdown,
    .template-dir-search.template-name-results .results-options-menu,
    .template-dir-search.template-name-results .results-count>.arrow-btn,
    .template-dir-search.template-name-results .results-count>span.arrow-btn,
    .template-dir-search.template-name-results .results-count>a.arrow-btn,
    .template-dir-search.template-name-results .meta-actions>.action-btn,
    .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .sort-group,
    .template-dir-eds.template-name-search .limit-group,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    flex: 0 0 var(--results-mobile-control-size) !important;
            height: var(--results-mobile-control-size) !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .results-count>.results-count-text,
    .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-search.template-name-results .results-count-text--mobile,
    .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            flex: 0 0 100% !important;
            margin: 0 !important;
            min-width: 0 !important;
            order: 20 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }
}

@media (min-width: 1017px) {
  body.template-dir-search.template-name-history .top-nav h1,
    body.template-dir-alphabrowse.template-name-home .top-nav h1,
    body.template-dir-search.template-name-advanced .top-nav h1,
    body.template-dir-browse.template-name-konspekt .top-nav h1 {
    font-size: var(--text-2xl);
  }
}

.custom-dropdown.institution-dropdown .dropdown-menu.is-viewport-positioned {
  overflow-x: hidden !important;
      overflow-y: auto !important;
      z-index: 45000 !important;
}

.custom-dropdown.institution-dropdown .dropdown-item {
  align-items: flex-start !important;
      display: block !important;
      height: auto !important;
      line-height: 1.25 !important;
      min-height: 0 !important;
      overflow: hidden !important;
      padding: 0 !important;
      text-overflow: clip !important;
      white-space: normal !important;
      width: 100% !important;
}

.custom-dropdown.institution-dropdown .dropdown-item>span:first-child {
  display: block !important;
      line-height: 1.25 !important;
      margin: 0.4rem 28px 0.4rem 16px !important;
      overflow: visible !important;
      text-overflow: clip !important;
      white-space: normal !important;
}

.custom-dropdown.institution-dropdown .dropdown-item-note {
  display: block;
      line-height: 1.15;
      margin-left: 0;
      margin-top: 4px;
}

.result-item:has(.knav-favourite-action) {
  padding-right: 3rem;
}

@media (max-width: 1016px) {
  .result-item:has(.knav-favourite-action) {
    padding-right: 0;
  }
}

.result-item .result-actions:has(.knav-favourite-action) {
  position: absolute;
      right: 0;
      top: 0.55rem;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.35rem;
}

.result-item .knav-favourite-action {
  box-sizing: border-box;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      min-width: 26px;
      height: 26px;
      min-height: 26px;
      border: 1px solid #fde68a;
      border-radius: var(--radius-sm);
      background: #fef3c7;
      color: #92400e;
      text-decoration: none;
}

.result-item .knav-favourite-action .icon-link__icon {
  font-size: 14px;
      line-height: 1;
}

.result-item .knav-favourite-action:hover,
.result-item .knav-favourite-action:focus {
  background: #fde68a;
      color: #78350f;
      text-decoration: none;
}

.result-item .result-actions:has(.savedLists.loaded) .knav-favourite-action {
  background: #92400e;
      border-color: #92400e;
      color: #fff;
}

.knav-modal__body .account-edit-record-header--modal {
  margin: 0 0 var(--space-4);
      padding: 0 0 var(--space-4);
      border-bottom: 1px solid var(--border-color);
}

.knav-modal__body .account-edit-record-header--modal .account-section-card__eyebrow {
  margin-bottom: var(--space-2);
}

.knav-modal__body .account-edit-record-title {
  max-width: 48rem;
      margin: 0;
      color: #4b5563;
      font-size: var(--text-base);
      line-height: 1.45;
}

.knav-modal__body .account-edit-record-form {
  gap: var(--space-4);
      padding: 0;
}

.knav-modal__body .account-edit-record-groups {
  gap: var(--space-4);
}

.knav-modal__body .account-edit-record-group {
  display: grid;
      gap: var(--space-4);
      margin: 0;
      padding: var(--space-4);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: #fff;
}

.knav-modal__body .account-edit-record-group__header {
  display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: var(--space-2);
      max-width: 100%;
      min-width: 0;
      width: 100%;
      margin: 0;
      padding: 0;
      color: var(--text-main);
      font-size: var(--text-base);
      font-weight: 700;
      line-height: 1.3;
}

.knav-modal__body .account-edit-record-group__label {
  color: var(--text-muted);
      font-size: var(--text-sm);
      font-weight: 600;
}

.knav-modal__body .account-edit-record-group__title::before {
  content: none;
}

.knav-modal__body .account-edit-record-group .form-group {
  display: grid;
      gap: var(--space-2);
}

.knav-modal__body .account-edit-record-group .form-label {
  margin: 0;
      color: #1f2937;
      font-size: var(--text-sm);
      font-weight: 650;
}

.knav-modal__body .account-edit-record-group textarea.form-control {
  min-height: 5.75rem;
}

.knav-modal__body .account-edit-record-group__actions {
  display: flex;
      justify-content: flex-start;
}

.knav-modal__body .account-edit-record-remove {
  align-self: auto;
}

.knav-modal__body .account-edit-list-form__actions {
  display: flex;
      justify-content: flex-end;
      margin-top: var(--space-1);
      padding-top: var(--space-4);
      border-top: 0;
}

.template-dir-eds.template-name-search .result-author-values a {
  font-weight: 500 !important;
}

.facet-list > .facet-item + .facet-item {
  border-top: 1px solid var(--border-color);
}

.konspekt-top-nav {
  justify-content: space-between;
      gap: var(--space-4);
}

.konspekt-top-actions {
  display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: var(--space-2);
      margin-left: auto;
      flex-shrink: 0;
}

@media (max-width: 767px) {
  .konspekt-top-actions .back-btn {
    width: 2.5rem;
            padding: 0 !important;
            justify-content: center;
  }

  .konspekt-top-actions .back-btn .btn-text {
    display: none !important;
  }
}

.konspekt-info-btn {
  appearance: none;
}

.konspekt-desc {
  margin-bottom: var(--space-4);
      max-width: 80ch;
      color: var(--text-muted);
      font-size: var(--text-sm);
}

.konspekt-grid {
  display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: var(--space-4);
}

.konspekt-list {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
}

.konspekt-list-row {
  display: flex;
      align-items: center;
      gap: var(--space-3);
      width: 100%;
      box-sizing: border-box;
      padding: var(--space-2) var(--space-3);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      background: #fff;
      cursor: pointer;
      transition: border-color 0.2s;
}

.konspekt-list-row:hover,
.konspekt-list-row:focus-within {
  border-color: var(--primary);
}

.konspekt-list-row h2 {
  flex: 1 1 auto;
      min-width: 0;
      margin: 0;
      color: var(--text-main);
      font-size: var(--text-sm);
      font-weight: 500;
      line-height: 1.25;
}

.konspekt-title-link {
  color: inherit;
      text-decoration: none;
      text-underline-offset: 0.18em;
}

.konspekt-title-link:hover,
.konspekt-title-link:focus {
  color: inherit;
      text-decoration: underline;
      text-decoration-color: var(--primary);
      text-decoration-thickness: 2px;
}

.konspekt-topic-header {
  display: flex;
      align-items: center;
      gap: var(--space-3);
      margin-bottom: var(--space-4);
      padding-bottom: var(--space-3);
      border-bottom: 1px solid var(--border-color);
}

.konspekt-num {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.2rem;
      height: 1.2rem;
      background: var(--primary);
      color: #fff;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.65rem;
      flex-shrink: 0;
}

.konspekt-toggle {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: var(--button-height);
      height: var(--button-height);
      padding: 0;
      flex: 0 0 var(--button-height);
      color: var(--text-main);
      background: transparent;
      border: none;
      transition: color 0.15s;
}

.konspekt-toggle:hover,
.konspekt-toggle:focus {
  color: var(--primary);
      background: transparent;
}

.konspekt-toggle-icon {
  transition: transform 0.15s;
}

.konspekt-list-item.is-open .konspekt-toggle-icon {
  transform: rotate(180deg);
}

.konspekt-topic-header h2 {
  flex: 1;
      font-size: var(--text-base);
      font-weight: 700;
      margin: 0;
      color: var(--text-main);
}

.konspekt-all-btn {
  grid-column: 1 / -1;
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--primary);
      text-decoration: none;
      padding: 4px 12px;
      border: 1px solid var(--primary);
      border-radius: var(--radius-sm);
      margin-bottom: var(--space-2);
      transition: var(--transition);
}

.konspekt-all-btn:hover {
  background: var(--primary);
      color: #fff;
}

.konspekt-links {
  display: flex;
      flex-direction: column;
      overflow-y: auto;
      max-height: 200px;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      background: #f9fafb;
      margin-top: var(--space-3);
}

.konspekt-links--expanded {
  overflow-y: visible;
      max-height: none;
}

.konspekt-links[hidden] {
  display: none;
}

body.template-dir-browse.template-name-konspekt {
  height: auto !important;
      min-height: 100%;
      overflow-y: visible !important;
}

body.template-dir-browse.template-name-konspekt > .main,
body.template-dir-browse.template-name-konspekt > .main-content,
body.template-dir-browse.template-name-konspekt .main.template-name-konspekt,
body.template-dir-browse.template-name-konspekt .main-content.template-name-konspekt {
  height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      overflow-y: visible !important;
}

body.template-dir-browse.template-name-konspekt #content {
  flex: 0 0 auto !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      overflow-y: visible !important;
}

body.template-dir-browse.template-name-konspekt .browse-content {
  flex: 0 0 auto !important;
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: visible !important;
      overflow-y: visible !important;
}

.konspekt-link {
  display: block;
      font-size: 0.875rem;
      color: var(--text-main);
      text-decoration: none;
      padding: 9px 12px;
      line-height: 1.5;
      border-bottom: 1px solid var(--border-color);
      transition: background 0.15s, color 0.15s;
}

.konspekt-link:last-child {
  border-bottom: none;
}

.konspekt-link:hover,
.konspekt-link:focus {
  background: var(--primary-light);
      color: var(--primary);
      text-decoration: none;
}

#content:has(> .history-content.account-dashboard-page) {
  padding-top: 0;
}

.history-content.account-dashboard-page {
  margin-top: 0;
      padding-top: 0;
}

.history-top-actions {
  display: flex;
      align-items: center;
      gap: var(--space-2);
}

.history-purge-btn {
  color: var(--primary);
      width: var(--button-height) !important;
      min-width: var(--button-height);
      height: var(--button-height) !important;
      padding: 0 !important;
      justify-content: center;
}

.delete-list-btn {
  color: var(--danger, #c0392b);
}

.delete-list-btn:hover {
  color: var(--danger, #c0392b) !important;
      border-color: var(--danger, #c0392b) !important;
      background: #fff !important;
      text-decoration: none !important;
}

.delete-list-btn svg {
  width: var(--icon-image-height);
      height: var(--icon-image-height);
      flex-shrink: 0;
}

.history-top-actions .back-btn svg {
  width: var(--icon-image-height);
      height: var(--icon-image-height);
      flex-shrink: 0;
}

.account-login-page .flash-message,
.account-login-page .alert {
  margin-bottom: var(--space-4);
}

.account-login-card {
  padding: clamp(var(--space-6), 4vw, var(--space-8));
}

.account-login-shell {
  display: flex;
      flex-direction: column;
      gap: var(--space-5);
      max-width: 54rem;
}

.account-login-copy {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
      max-width: 34rem;
}

.account-login-eyebrow {
  margin: 0;
      font-size: var(--text-sm);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--primary);
}

.account-login-description,
.account-login-description p {
  margin: 0;
      color: var(--text-muted);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.account-login-description h3 {
  display: none;
}

.account-login-form .form-horizontal,
.account-login-form .form-login {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
      margin: 0;
}

.account-login-form .form-group {
  margin: 0;
}

.account-login-form .control-label,
.account-login-form .form-label {
  display: block;
      width: 100%;
      margin: 0 0 var(--space-2);
      padding: 0;
      text-align: left;
      font-size: var(--text-sm);
      font-weight: 600;
      color: var(--text-main);
}

.account-login-form .col-sm-3,
.account-login-form .col-sm-9,
.account-login-form .col-sm-offset-3 {
  float: none;
      width: 100%;
      margin-left: 0;
      padding: 0;
}

.account-login-form .createAccountLink,
.account-login-form .btn-link {
  padding: 0;
      font-weight: 600;
      color: var(--primary);
      text-decoration: none;
}

.account-login-form .createAccountLink:hover,
.account-login-form .btn-link:hover {
  color: var(--primary-hover);
      text-decoration: underline;
}

.account-login-form input[type="submit"].btn-primary,
.account-login-form input[type="submit"].btn {
  width: 100%;
      justify-content: center;
}

.account-login-form .alert:last-child,
.account-login-form .form-group:last-child {
  margin-bottom: 0;
}

.account-dashboard-page .flash-message,
.account-dashboard-page .alert {
  margin-bottom: var(--space-4);
}

.account-dashboard-shell {
  display: flex;
      align-items: flex-start;
      gap: var(--space-6);
}

.account-dashboard-sidebar {
  width: min(21rem, 100%);
      flex-shrink: 0;
      position: static;
      order: 2;
      z-index: 10;
}

.account-dashboard-main {
  flex: 1;
      min-width: 0;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      gap: var(--space-5);
      order: 1;
}

.account-list-page .account-dashboard-main {
  gap: 0;
}

.account-overview-card,
.account-inline-panel,
.account-section-card,
.account-nav-card {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
}

.account-dashboard-page .account-nav-card,
.account-dashboard-page .account-history-card,
.account-dashboard-page #account-export-data {
  padding: var(--space-3) var(--space-4);
}

.account-overview-card__top,
.account-section-card__header {
  display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: var(--space-4);
      flex-wrap: wrap;
}

.account-overview-card__copy {
  max-width: 42rem;
}

.account-overview-card__eyebrow,
.account-section-card__eyebrow,
.account-nav-card__eyebrow,
.account-nav-group__title {
  margin: 0;
      font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--primary);
}

.account-nav-card__eyebrow {
  font-size: var(--text-sm);
      line-height: 18px;
}

.account-overview-card h2 {
  margin: 0;
      font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
      line-height: 1.15;
}

.account-nav-card h2 {
  margin: 0;
      font-size: var(--text-lg);
      line-height: 1.15;
}

@media (min-width: 1017px) {
  .account-dashboard-sidebar .account-nav-card h2 {
    font-size: calc(var(--text-lg) * 1.1);
  }
}

.account-section-card h3,
.account-inline-panel__header h3 {
  margin: var(--space-1) 0 0;
      font-size: var(--text-xl);
      line-height: 1.25;
}

.account-overview-card__summary,
.account-nav-card__meta,
.account-section-card__description {
  margin: 0;
      color: var(--text-muted);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.account-overview-card__summary {
  margin-top: var(--space-2);
}

.account-table-title__copy {
  flex: 1;
      min-width: 0;
}

@media (min-width: 768px) {
  .account-legal-basis-break {
    display: none;
  }
}

.account-overview-card__summary--warning {
  color: #b45309;
}

.account-overview-card__intro {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      max-width: 46rem;
}

.account-overview-card__intro p {
  margin: 0;
      color: var(--text-muted);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.account-overview-actions,
.account-section-card__actions,
.account-inline-actions {
  display: flex;
      align-items: center;
      gap: var(--space-3);
      flex-wrap: wrap;
}

.account-text-link,
.account-inline-actions a {
  font-size: var(--text-sm);
      font-weight: 600;
}

.account-email-cell {
  text-align: left;
}

.account-email-cell__value {
  display: inline-block;
}

.account-inline-actions--email {
  display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      margin-left: var(--space-3);
}

.account-inline-actions--email a {
  font-weight: 600;
}

.account-inline-actions__divider {
  color: var(--border-color);
}

.account-inline-actions--email-empty {
  display: inline-flex;
      width: auto;
}

.account-inline-actions--email-empty a {
  font-weight: 400;
}

.account-membership-line {
  display: flex;
      align-items: baseline;
      gap: var(--space-2);
      flex-wrap: wrap;
      padding-top: var(--space-3);
      border-top: 1px solid var(--border-color);
}

.account-membership-line__label {
  color: var(--text-main);
      font-size: var(--text-base);
}

.account-membership-line__value {
  font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
}

.account-membership-line--ok .account-membership-line__value {
  color: #047857;
}

.account-membership-line--warning .account-membership-line__value {
  color: #b45309;
}

.account-membership-line--danger .account-membership-line__value {
  color: #b91c1c;
}

.account-section-card__description--warning {
  color: #b45309;
}

.account-warning-card {
  display: flex;
      align-items: flex-start;
      gap: var(--space-3);
      margin-bottom: var(--space-4);
      padding: var(--space-4);
      border: 1px solid #f59e0b;
      border-radius: var(--radius-sm);
      background: #fff7ed;
      color: #92400e;
}

.account-warning-card i {
  flex: 0 0 auto;
      margin-top: 0.15rem;
      color: #d97706;
      font-size: var(--text-lg);
}

.account-warning-card p {
  margin: 0;
      color: inherit;
      font-size: var(--text-sm);
      font-weight: 600;
      line-height: 1.6;
}

.account-highlight-grid {
  display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--space-4);
}

.account-highlight {
  display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: var(--space-2);
      min-height: 7rem;
      padding: var(--space-4);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      background: #f9fafb;
}

.account-highlight__label {
  font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
}

.account-highlight__value {
  font-size: var(--text-lg);
      line-height: 1.3;
      color: var(--text-main);
}

.account-highlight__meta {
  font-size: var(--text-sm);
      color: var(--text-muted);
}

.account-highlight--ok {
  background: rgba(16, 185, 129, 0.08);
      border-color: rgba(16, 185, 129, 0.22);
}

.account-highlight--warning {
  background: rgba(245, 158, 11, 0.12);
      border-color: rgba(245, 158, 11, 0.22);
}

.account-highlight--danger {
  background: rgba(239, 68, 68, 0.08);
      border-color: rgba(239, 68, 68, 0.2);
}

.account-highlight--muted {
  background: rgba(107, 114, 128, 0.08);
      border-color: rgba(107, 114, 128, 0.14);
}

.account-section-grid,
.account-proxy-groups {
  display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-5);
}

.account-data-list {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      margin: 0;
}

.account-data-list__row {
  display: grid;
      grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
      gap: var(--space-3);
      padding-top: var(--space-3);
      border-top: 1px solid var(--border-color);
}

.account-data-list__row:first-child {
  padding-top: 0;
      border-top: none;
}

.account-data-list__row dt,
.account-data-list__row dd {
  margin: 0;
}

.account-data-list__row dt {
  font-size: var(--text-sm);
      font-weight: 600;
      color: var(--text-muted);
}

.account-data-list__row dd {
  color: var(--text-main);
}

.account-data-list__row--stacked dd {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.account-support-links {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      padding-top: var(--space-4);
      border-top: 1px solid var(--border-color);
}

.account-support-links p {
  margin: 0;
      color: var(--text-muted);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.account-renewal-strip {
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-4);
      padding: var(--space-4);
      border-radius: var(--radius-sm);
      border: 1px solid rgba(128, 0, 0, 0.2);
      background: rgba(128, 0, 0, 0.04);
}

.account-renewal-strip p {
  margin: 0;
      font-weight: 600;
      color: var(--text-main);
}

.account-renewal-strip img {
  display: block;
      width: 88px;
      height: auto;
}

.account-status-pill {
  display: inline-flex;
      align-items: center;
      padding: 0.25rem 0.5rem;
      border-radius: var(--radius-sm);
      font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
}

.account-status-pill--ok {
  background: rgba(16, 185, 129, 0.12);
      color: #047857;
}

.account-status-pill--muted {
  background: rgba(107, 114, 128, 0.12);
      color: #4b5563;
}

.account-link-list {
  list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
}

.account-link-list a {
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-3);
      padding: 0 var(--space-4);
      min-height: var(--button-height);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-color);
      background: #f9fafb;
      color: var(--text-main);
}

.account-link-list a:hover {
  color: var(--primary);
      border-color: var(--primary);
      background: rgba(128, 0, 0, 0.05);
}

.account-link-list a i {
  font-size: 0.8em;
}

.account-proxy-group h4 {
  margin: 0 0 var(--space-3);
      font-size: var(--text-base);
}

.account-bullet-list {
  margin: 0;
      padding-left: 1.125rem;
      color: var(--text-muted);
}

.account-bullet-list li+li {
  margin-top: var(--space-2);
}

.account-dashboard-page .form-select-card {
  display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: var(--space-3);
}

.account-dashboard-page .form-select-card label {
  margin: 0;
      font-size: var(--text-sm);
      font-weight: 600;
      color: var(--text-main);
}

.account-dashboard-page .form-select-card .form-select {
  min-width: min(18rem, 100%);
}

.account-patron-login {
  width: 100%;
}

.account-value-empty {
  color: var(--text-muted);
}

.account-empty-badge {
  display: flex;
      align-items: center;
      align-self: stretch;
      width: 100%;
      max-width: 100%;
      min-height: var(--item-height);
      padding: 0 var(--space-4);
      border: 1px solid transparent;
      border-radius: var(--radius-sm);
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-sm);
      font-weight: 600;
      line-height: 1;
}

.account-empty-badge--checkedout {
  justify-content: center;
      text-align: center;
      margin-top: 0 !important;
}

.account-list-results .account-empty-badge {
  margin-top: 0;
}

.account-nav-card__header {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.account-mobile-nav-select {
  display: none;
      position: relative;
      z-index: 3000;
}

.account-mobile-nav-dropdown {
  --account-mobile-nav-icon-size: calc(var(--icon-image-height) * 0.5632);
      min-width: 100%;
      width: 100%;
}

.account-mobile-nav-dropdown[data-dropdown-placement="below"] .dropdown-menu {
  left: 0 !important;
      max-height: min(60vh, 28rem);
      overflow-y: auto;
      right: 0 !important;
      top: calc(100% + 4px);
      transform: translateY(-8px);
      width: auto !important;
      min-width: 0 !important;
      max-width: none !important;
      box-sizing: border-box;
      z-index: 3001;
}

.account-mobile-nav-dropdown .dropdown-item {
  align-items: flex-start;
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      white-space: normal;
}

.account-mobile-nav-dropdown .dropdown-item.is-disabled,
.account-mobile-nav-dropdown .dropdown-item.is-disabled:hover {
  background: transparent;
      color: inherit;
      cursor: pointer;
      opacity: 0.6;
}

.account-mobile-nav-dropdown__item-main {
  align-items: center;
      display: flex;
      gap: var(--space-2);
      min-width: 0;
      width: 100%;
}

.account-mobile-nav-dropdown__icon {
  align-items: center;
      color: inherit;
      display: inline-flex;
      flex: 0 0 var(--account-mobile-nav-icon-size);
      justify-content: center;
      width: var(--account-mobile-nav-icon-size);
}

.account-mobile-nav-dropdown__icon .fa {
  font-size: var(--account-mobile-nav-icon-size) !important;
      line-height: 1;
}

.account-mobile-nav-dropdown__label {
  min-width: 0;
}

.account-mobile-nav-dropdown__hint {
  color: #6b7280;
      font-size: 0.85em;
      line-height: 1.3;
      margin: 6px 16px 8px;
      padding-left: calc(var(--account-mobile-nav-icon-size) + var(--space-2));
      white-space: normal;
}

.account-mobile-nav-dropdown__hint[hidden] {
  display: none;
}

.account-mobile-nav-dropdown[data-dropdown-placement="below"].open .dropdown-menu {
  transform: translateY(0);
}

.account-dashboard-sidebar:has(.account-mobile-nav-dropdown.open) {
  z-index: 20200;
}

body:has(.account-mobile-nav-dropdown.open) .main-content {
  position: relative;
      z-index: 20100;
}

.account-mobile-nav-dropdown[data-dropdown-placement="below"] .dropdown-menu.is-viewport-positioned {
  position: fixed;
      left: var(--knav-dropdown-left) !important;
      top: var(--knav-dropdown-top) !important;
      right: auto !important;
      width: var(--knav-dropdown-width) !important;
      transform: none !important;
      z-index: 20000 !important;
}

.account-mobile-nav-dropdown .dropdown-menu.is-viewport-positioned .dropdown-item {
  width: 100% !important;
      min-width: 0 !important;
      max-width: 100% !important;
}

.account-mobile-nav-dropdown .dropdown-trigger {
  min-height: var(--custom-dropdown-row-height);
      width: 100%;
}

.account-mobile-nav-dropdown .trigger-content {
  min-width: 0;
}

.account-mobile-nav-dropdown .dropdown-text {
  overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}

.account-mobile-nav-dropdown__group {
  color: var(--primary);
      font-size: var(--text-xs);
      font-weight: 700;
      padding: 10px 16px 6px;
      text-transform: uppercase;
}

.account-mobile-nav-dropdown__group:not(:first-child) {
  border-top: 1px solid var(--border-color);
}

.account-mobile-nav-actions {
  align-items: center;
      display: none;
      flex-wrap: wrap;
      gap: 0.5em;
      margin-top: var(--space-3);
}

.account-mobile-nav-actions,
.account-mobile-nav-actions a {
  color: var(--color-text-muted);
      font-size: var(--text-sm);
      font-weight: 400;
}

.account-mobile-nav-actions a:hover {
  color: var(--primary);
      text-decoration: underline;
      text-decoration-color: var(--primary);
      text-decoration-thickness: 1px;
      text-underline-offset: 3px;
}

.account-history-card .account-section-card__actions .btn {
  font-size: var(--text-sm);
}

.studyrooms-content {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
      width: 100%;
}

.studyrooms-panel {
  background: #fff;
      border: 1px solid var(--border-color, #e5e7eb);
      border-radius: var(--radius-sm);
      display: flex;
      flex-direction: column;
      gap: 0;
      overflow: hidden;
      padding: 0;
}

.studyrooms-panel--intro {
  background: #fff;
}

.studyrooms-panel__body {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      max-width: 58rem;
      padding: var(--space-4);
}

.studyrooms-panel__body p {
  margin: 0;
      color: var(--text-main);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.studyrooms-panel__body strong {
  color: var(--text-main);
}

.studyrooms-panel__body a {
  color: var(--primary);
      font-weight: 600;
}

.studyrooms-panel__actions,
.studyrooms-panel__header,
.studyrooms-page-actions,
.studyrooms-form-actions {
  display: flex;
      align-items: center;
      gap: var(--space-3);
      flex-wrap: wrap;
}

.studyrooms-page-actions {
  justify-content: flex-start;
      flex-wrap: nowrap;
}

.studyrooms-page-actions .btn:nth-child(2) {
  min-width: 0;
      overflow: hidden;
}

.studyrooms-page-actions .btn:nth-child(2) span {
  display: block;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}

.studyrooms-form-actions .redtext {
  display: inline-flex;
      align-items: center;
      min-height: 2.25rem;
      padding: 0.45rem 0.75rem;
      border-radius: 8px;
      background: #fff1f2;
      color: #dc0000;
      font-size: var(--text-sm);
      font-weight: 700;
      line-height: 1.25;
}

.studyrooms-nosubmit {
  display: none;
      align-items: center;
      min-height: 2.25rem;
      width: 100%;
      margin-top: calc(var(--space-2) * -1);
      padding: 0.45rem 0.75rem;
      border-radius: 8px;
      background: #fff1f2;
      color: #dc0000;
      font-size: var(--text-sm);
      font-weight: 700;
      line-height: 1.25;
}

.studyrooms-nosubmit:not(:empty) {
  display: flex;
}

.studyrooms-panel__header {
  background: #f9fafb;
      border-bottom: 1px solid var(--border-color, #e5e7eb);
      justify-content: space-between;
      min-height: 3rem;
      padding: var(--space-3) var(--space-4);
}

.studyrooms-panel__header h2 {
  margin: 0;
      color: var(--text-main);
      font-size: var(--text-lg);
      font-weight: 700;
      line-height: 1.25;
}

.studyrooms-table-wrap {
  background: #fff;
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      margin: var(--space-4);
      overflow-x: auto;
      width: calc(100% - (var(--space-4) + var(--space-4)));
}

.studyrooms-table {
  margin-bottom: 0;
}

.studyrooms-table th,
.studyrooms-table td {
  padding: var(--space-3) var(--space-4);
      border-color: #e5e7eb;
      text-align: left;
      vertical-align: middle;
}

.studyrooms-table th {
  background: #f9fafb;
      color: var(--text-main);
      font-size: var(--text-sm);
      font-weight: 700;
}

.template-name-studyrooms .studyrooms-table th,
.template-name-studyrooms .studyrooms-table td {
  text-align: left;
}

.studyrooms-table tfoot td {
  text-align: center;
}

.studyrooms-room-chip,
.studyrooms-status-badge {
  display: inline-flex;
      align-items: center;
      width: fit-content;
      max-width: 100%;
      padding: 0.35rem 0.65rem;
      border-radius: var(--radius-sm);
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-sm);
      font-weight: 600;
      line-height: 1.25;
}

.studyrooms-cancel-form {
  display: flex;
      align-items: center;
      gap: var(--space-2);
      flex-wrap: wrap;
      margin: 0;
}

.studyrooms-cancel-button {
  padding: 0;
      color: var(--primary);
      font-weight: 600;
}

.studyrooms-reservation-form {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      margin: 0;
      padding: var(--space-4);
}

.studyrooms-form-grid {
  display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-3);
}

.studyrooms-field {
  display: flex;
      flex-direction: column;
      gap: 0.4rem;
      min-width: 0;
}

.studyrooms-field label,
.studyrooms-label {
  margin: 0;
      color: #4b5563;
      font-size: var(--text-xs);
      font-weight: 700;
}

.studyrooms-field select.form-control {
  width: 9rem;
      max-width: 100%;
      min-height: 2.25rem;
      padding-top: 0.45rem;
      padding-bottom: 0.45rem;
}

.studyrooms-native-select {
  position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
}

.studyrooms-custom-select {
  min-width: 9rem;
      width: 9rem;
      --custom-dropdown-row-height: 2.3rem;
      --custom-dropdown-menu-width: 100%;
      --custom-dropdown-menu-min-width: 100%;
      --custom-dropdown-menu-max-width: 100%;
}

.studyrooms-custom-select .dropdown-trigger {
  min-height: 2.3rem;
      padding: 0.45rem 0.7rem;
      border-color: #d1d5db;
}

.studyrooms-custom-select .dropdown-menu {
  width: 100%;
      min-width: 100%;
      max-width: 100%;
}

.studyrooms-custom-select .dropdown-item {
  box-sizing: border-box;
      width: 100%;
      min-width: 0;
      max-width: 100%;
}

.studyrooms-inline-control {
  display: flex;
      align-items: center;
      gap: var(--space-2);
      flex-wrap: wrap;
}

.studyrooms-date-value {
  display: flex;
      align-items: center;
      min-height: 2.3rem;
      width: min(100%, 15rem);
      padding: 0.45rem 0.7rem;
      border: 1px solid #d1d5db;
      border-radius: var(--radius-sm);
      background: #fff;
      color: var(--text-main);
      font-size: var(--text-sm);
}

.studyrooms-occupancy {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
      padding-top: var(--space-2);
}

.studyrooms-occupancy h3 {
  margin: 0;
      color: #4b5563;
      font-size: var(--text-xs);
      font-weight: 700;
      line-height: 1.25;
}

.studyrooms-form-actions {
  justify-content: flex-start;
      padding-top: var(--space-1);
}

.studyrooms-form-actions #submitReservation {
  width: 100%;
      min-height: auto;
      padding: 0.5em 1em;
      border: 1px solid var(--primary-light);
      background: var(--primary-light);
      color: var(--primary) !important;
      font-size: var(--text-sm);
}

.studyrooms-form-actions #submitReservation:hover,
.studyrooms-form-actions #submitReservation:focus {
  border-color: var(--primary);
      background: var(--primary-light);
      color: var(--primary) !important;
}

.studyrooms-form-actions #submitReservation:disabled,
.studyrooms-form-actions #submitReservation.disabled {
  border-color: transparent;
      background: #f9fafb;
      color: #94a3b8 !important;
      cursor: not-allowed;
      opacity: 1;
}

.studyrooms-room-picker {
  display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
}

.studyrooms-room-picker .btn {
  min-width: 2.25rem;
      min-height: 2.25rem;
      padding: 0.45rem 0.65rem;
      border-radius: 7px;
      font-size: var(--text-sm);
}

.studyrooms-room-picker .chosen_day,
.studyrooms-room-picker .chosen_room,
.studyrooms-calendar .chosen_day {
  background: var(--primary-hover) !important;
      border-color: var(--primary-hover) !important;
      color: #fff !important;
}

.studyrooms-calendar {
  width: 100%;
      overflow-x: auto;
      padding: var(--space-3);
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #fff;
}

.studyrooms-calendar table {
  table-layout: fixed;
      width: 100%;
      min-width: 34rem;
      margin: 0;
      border: 0;
      border-collapse: separate;
      border-spacing: 0.25rem 0.3rem;
}

.studyrooms-calendar .table-bordered>tbody>tr>th,
.studyrooms-calendar .table-bordered>tbody>tr>td,
.studyrooms-calendar table th,
.studyrooms-calendar table td {
  height: 2.15rem;
      padding: 0;
      border: 0;
      border-radius: 6px;
      text-align: center;
      vertical-align: middle;
}

.studyrooms-calendar table th,
.studyrooms-calendar td[colspan="7"] {
  height: auto;
      padding: 0.7rem 0.2rem 0.35rem;
      border-bottom: 1px solid #e5e7eb;
      border-radius: 0;
      background: transparent;
      color: var(--text-main);
      font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: 0.02em;
      text-align: left !important;
}

.studyrooms-calendar table th.text-center {
  text-align: left !important;
}

.studyrooms-calendar table th:hover,
.studyrooms-calendar td[colspan="7"]:hover,
.studyrooms-calendar td.text-center:not([colspan]):hover {
  background: transparent !important;
      color: inherit !important;
      box-shadow: none !important;
}

.studyrooms-calendar .table tbody tr:hover,
.studyrooms-calendar table tbody tr:hover {
  background: transparent !important;
}

.studyrooms-calendar table tbody tr:hover>th,
.studyrooms-calendar table tbody tr:hover>td[colspan="7"],
.studyrooms-calendar table tbody tr:hover>td.text-center:not([colspan]) {
  background: transparent !important;
      box-shadow: none !important;
}

.studyrooms-calendar table tbody tr:hover>th,
.studyrooms-calendar table tbody tr:hover>td[colspan="7"] {
  color: var(--text-main) !important;
}

.studyrooms-calendar table tbody tr:hover>td.text-center:not([colspan]) {
  color: #6b7280 !important;
}

.studyrooms-calendar td.text-center:not([colspan]) {
  height: 1.5rem;
      background: transparent;
      color: #6b7280;
      font-size: var(--text-xs);
      font-weight: 700;
      text-transform: uppercase;
}

.studyrooms-calendar tr:empty,
.studyrooms-calendar tr td:empty:not(.blank_day) {
  display: none;
}

.studyrooms-calendar .blank_day {
  background: transparent;
}

.studyrooms-calendar .available_day,
.studyrooms-calendar .inactive_day,
.studyrooms-calendar .weekend_day,
.studyrooms-calendar .holiday_day,
.studyrooms-calendar .reserved_day {
  min-width: 2rem;
      border: 1px solid transparent;
      font-size: var(--text-xs);
      font-weight: 700;
      line-height: 1;
      transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.studyrooms-calendar .available_day {
  border-color: var(--primary-light);
      background: #f5fbff;
      color: var(--primary);
      cursor: pointer;
}

.studyrooms-calendar .available_day:hover,
.studyrooms-calendar .available_day:focus {
  border-color: #9ca3af;
      background: #f9fafb;
      color: #025f94;
      transform: none;
}

.studyrooms-calendar .available_day.chosen_day {
  border-color: var(--primary);
      background: var(--primary) !important;
      color: #fff !important;
      box-shadow: none;
}

.studyrooms-calendar .available_day.chosen_day:hover,
.studyrooms-calendar .available_day.chosen_day:focus {
  border-color: var(--primary);
      background: var(--primary) !important;
      color: #fff !important;
}

.studyrooms-calendar .inactive_day {
  background: #f9fafb;
      color: #94a3b8;
}

.studyrooms-calendar .weekend_day {
  background: #f3f4f6;
      color: #64748b;
}

.studyrooms-calendar .holiday_day {
  background: #fff1f2;
      color: #dc0000;
}

.studyrooms-calendar .reserved_day {
  background: #fff1f2;
      color: #dc0000;
}

.studyrooms-calendar .available_hour,
.studyrooms-calendar .inactive_hour,
.studyrooms-calendar .reserved_hour {
  min-width: 2rem;
      border: 1px solid transparent;
      font-size: var(--text-xs);
      font-weight: 700;
      line-height: 1;
      transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.studyrooms-calendar .available_hour {
  border-color: var(--primary-light);
      background: #f5fbff;
      color: var(--primary);
      cursor: pointer;
}

.studyrooms-calendar .available_hour:hover,
.studyrooms-calendar .available_hour:focus {
  border-color: #9ca3af;
      background: #f9fafb;
      color: #025f94;
}

.studyrooms-calendar .available_hour.chosen_hour {
  border-color: var(--primary) !important;
      background: var(--primary) !important;
      color: #fff !important;
}

.studyrooms-calendar .inactive_hour {
  background: #f9fafb;
      color: #94a3b8;
}

.studyrooms-calendar .reserved_hour {
  background: #fff1f2;
      color: #dc0000;
}

.studyrooms-calendar .today_day {
  border: 2px solid var(--primary) !important;
      background: #fff !important;
      color: var(--primary) !important;
}

.studyrooms-calendar .today_day.chosen_day {
  border-color: var(--primary) !important;
      background: var(--primary) !important;
      color: #fff !important;
}

.studyrooms-calendar .today_day strong {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.35rem;
      min-height: 1.35rem;
      border-radius: 999px;
      background: transparent;
      color: var(--primary);
}

.studyrooms-payment-info {
  display: flex;
      flex-direction: column;
      gap: var(--space-5);
}

.studyrooms-payment-card {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
      padding: var(--space-4);
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #fff;
}

.studyrooms-payment-card--prices {
  border-color: #e5e7eb;
      background: #fff;
}

.studyrooms-price-list {
  display: flex;
      flex-direction: column;
      gap: 0;
      margin: 0;
}

.studyrooms-price-row {
  display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: var(--space-4);
      align-items: center;
      padding: var(--space-3) 0;
      border-top: 1px solid #e5e7eb;
}

.studyrooms-price-row:first-child {
  padding-top: 0;
      border-top: 0;
}

.studyrooms-price-row:last-child {
  padding-bottom: 0;
}

.studyrooms-price-row dt,
.studyrooms-price-row dd {
  margin: 0;
}

.studyrooms-price-row dt {
  color: var(--text-main);
      font-size: var(--text-sm);
      font-weight: 600;
}

.studyrooms-price-row dd {
  justify-self: end;
      padding: 0.35rem 0.65rem;
      border-radius: var(--radius-sm);
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-sm);
      font-weight: 700;
      white-space: nowrap;
}

.studyrooms-payment-note {
  margin: 0;
      padding-top: var(--space-3);
      border-top: 1px solid #e5e7eb;
      color: var(--text-muted);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.studyrooms-payment-section {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
}

.studyrooms-payment-section h3,
.studyrooms-payment-card h4 {
  margin: 0;
      color: var(--text-main);
      line-height: 1.3;
}

.studyrooms-payment-section h3 {
  font-size: var(--text-lg);
      font-weight: 700;
}

.studyrooms-payment-card h4 {
  align-self: flex-start;
      padding: 0.35rem 0.65rem;
      border-radius: var(--radius-sm);
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-base);
      font-weight: 700;
}

.studyrooms-payment-card p {
  margin: 0;
      color: var(--text-main);
      font-size: var(--text-sm);
      line-height: 1.7;
}

.studyrooms-payment-card p+p {
  padding-top: var(--space-3);
      border-top: 1px solid #e5e7eb;
}

.studyrooms-payment-options {
  display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-4);
}

.knav-modal__body .studyrooms-layout-modal {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
}

.knav-modal__body .studyrooms-layout-modal p {
  margin: 0;
      color: var(--text-main);
      font-size: var(--text-sm);
      line-height: 1.6;
}

.knav-modal__body .studyrooms-layout-modal img {
  display: block;
      width: 100%;
      height: auto;
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #fff;
}

.knav-modal__body .studyrooms-request-modal {
  display: flex;
      flex-direction: column;
      gap: var(--space-5);
}

.knav-modal__body .studyrooms-request-details {
  display: flex;
      flex-direction: column;
      gap: var(--space-4);
      padding: var(--space-4);
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #fff;
}

.knav-modal__body .studyrooms-request-summary {
  display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-3);
      padding-bottom: var(--space-4);
      border-bottom: 1px solid #e5e7eb;
}

.knav-modal__body .studyrooms-request-terms {
  padding: var(--space-4);
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #fff;
}

.knav-modal__body .studyrooms-request-summary__item {
  display: flex;
      flex-direction: column;
      gap: var(--space-1);
}

.knav-modal__body .studyrooms-request-summary__label,
.knav-modal__body .studyrooms-request-field label {
  margin: 0;
      color: #4b5563;
      font-size: var(--text-xs);
      font-weight: 700;
      line-height: 1.25;
}

.knav-modal__body .studyrooms-request-summary__value,
.knav-modal__body .studyrooms-request-static {
  color: var(--text-main);
      font-size: var(--text-sm);
      font-weight: 700;
}

.knav-modal__body .studyrooms-request-fields {
  display: grid;
      grid-template-columns: 1fr;
      gap: var(--space-3);
}

.knav-modal__body .studyrooms-request-field {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.knav-modal__body .studyrooms-request-field .form-control {
  width: 100%;
      min-height: 2.65rem;
      padding: 0.6rem 0.75rem;
      border: 1px solid #d1d5db;
      border-radius: var(--radius-sm);
      background: #fff;
      color: var(--text-main);
      font-size: var(--text-sm);
}

.knav-modal__body .studyrooms-request-field .form-control:focus {
  border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(2, 124, 194, 0.14);
      outline: none;
}

.knav-modal__body .studyrooms-request-warning {
  padding: var(--space-3) var(--space-4);
      border: 1px solid var(--primary-light);
      border-radius: var(--radius-sm);
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-sm);
      line-height: 1.6;
}

.knav-modal__body .studyrooms-request-terms {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
}

.knav-modal__body .studyrooms-request-terms h3,
.knav-modal__body .studyrooms-request-terms p {
  margin: 0;
}

.knav-modal__body .studyrooms-request-terms h3 {
  color: var(--text-main);
      font-size: var(--text-base);
      font-weight: 700;
}

.knav-modal__body .studyrooms-request-terms p,
.knav-modal__body .studyrooms-request-check {
  color: var(--text-main);
      font-size: var(--text-sm);
      line-height: 1.6;
}

.knav-modal__body .studyrooms-request-checks {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.knav-modal__body .studyrooms-request-check {
  display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: var(--space-2);
      align-items: flex-start;
      margin: 0;
      padding: var(--space-3);
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-sm);
      background: #f9fafb;
      font-weight: 400;
}

.knav-modal__body .studyrooms-request-check input {
  margin-top: 0.25rem;
}

.knav-modal__body .studyrooms-request-check a {
  color: var(--primary);
      font-weight: 600;
}

.knav-modal__body .studyrooms-request-actions {
  display: flex;
      justify-content: flex-start;
}

.knav-modal__body .studyrooms-confirm-modal {
  display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: var(--space-4);
      align-items: start;
      padding: var(--space-5);
      border: 1px solid var(--primary-light);
      border-radius: var(--radius-sm);
      background: #f5fbff;
}

.knav-modal__body .studyrooms-confirm-modal__icon {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: var(--icon-height);
      height: var(--icon-height);
      border-radius: 999px;
      background: var(--primary-light);
      color: var(--primary);
      font-size: var(--text-lg);
      font-weight: 800;
}

.knav-modal__body .studyrooms-confirm-modal h3,
.knav-modal__body .studyrooms-confirm-modal p {
  margin: 0;
}

.knav-modal__body .studyrooms-confirm-modal h3 {
  color: var(--text-main);
      font-size: var(--text-lg);
      font-weight: 700;
      line-height: 1.25;
}

.knav-modal__body .studyrooms-confirm-modal p {
  margin-top: var(--space-2);
      color: var(--text-main);
      font-size: var(--text-sm);
      line-height: 1.6;
}

@media (min-width: 768px) {
  .knav-modal__body .studyrooms-request-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .knav-modal__body .studyrooms-request-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knav-modal__body .studyrooms-request-field:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .studyrooms-panel--intro {
    align-items: stretch;
            flex-direction: column;
  }

  .studyrooms-panel__actions {
    justify-content: flex-end;
            flex: none;
  }

  .studyrooms-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studyrooms-payment-options {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .studyrooms-panel__header {
    align-items: flex-start;
  }

  .studyrooms-calendar {
    padding: var(--space-2);
  }

  .studyrooms-calendar table {
    min-width: 0;
            border-spacing: 0.18rem 0.22rem;
  }

  .studyrooms-calendar table th,
    .studyrooms-calendar table td {
    width: calc(100% / 7);
            min-width: 0;
  }

  .studyrooms-calendar table th[colspan="7"],
    .studyrooms-calendar table td[colspan="7"] {
    width: 100%;
  }

  .studyrooms-calendar--hourly #hourTable,
    .studyrooms-calendar--hourly #hourTable tbody {
    display: block;
            width: 100%;
            min-width: 0;
  }

  .studyrooms-calendar--hourly #hourTable tr:first-child,
    .studyrooms-calendar--hourly #hourTable tr:first-child th {
    display: block;
            width: 100% !important;
  }

  .studyrooms-calendar--hourly #hourTable .studyrooms-hour-slots-row {
    display: grid !important;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 0.18rem;
            width: 100%;
  }

  .studyrooms-calendar--hourly #hourTable .studyrooms-hour-slots-row td {
    display: flex !important;
            align-items: center;
            justify-content: center;
            width: auto !important;
            min-width: 0 !important;
            box-sizing: border-box;
  }
}

.account-nav-group {
  display: flex;
      flex-direction: column;
      gap: var(--space-3);
}

.account-nav-group+.account-nav-group {
  padding-top: var(--space-4);
      border-top: 1px solid var(--border-color);
}

.account-nav-list {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.account-nav-link {
  display: flex;
      align-items: center;
      gap: var(--space-2);
      padding: calc(var(--space-3) / 2) calc(var(--space-4) / 1.5);
      border-radius: var(--radius-sm);
      border: 1px solid transparent;
      color: var(--text-main);
      background: #fff;
      width: 100%;
      box-sizing: border-box;
      font-size: 0.875rem;
}

.account-nav-link:hover,
.account-nav-link.is-active {
  color: var(--primary);
      border-color: var(--primary);
      background: var(--primary-light);
}

.account-nav-link.is-disabled,
.account-nav-link.is-disabled:hover {
  opacity: 0.6;
      cursor: default;
      background: transparent;
      color: inherit;
      border-color: transparent;
}

.account-nav-link__icon {
  width: 1.5rem;
      height: 1.5rem;
      border-radius: 0.5rem;
      background: #f3f4f6;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: inherit;
      font-size: 0.8rem;
}

@media (max-width: 1016px) {
  .account-nav-link__icon {
    width: 1.32rem;
            height: 1.32rem;
            border-radius: 0.44rem;
            font-size: 0.704rem;
  }

  .account-nav-link__icon .fa {
    font-size: 0.704rem !important;
            line-height: 1;
  }
}

.account-nav-link__body {
  flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
}

.account-nav-link__label {
  font-weight: 400;
}

.account-nav-link__badge {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.75rem;
      padding: 0.125rem 0.5rem;
      border-radius: var(--radius-full);
      background: rgba(128, 0, 0, 0.12);
      color: var(--primary);
      font-size: var(--text-xs);
      font-weight: 700;
}

.account-nav-card .preloader-span {
  display: none;
}

.facet-lightbox-content li,
.modal-body .full-facet-list li,
.full-facet-list li {
  list-style: none !important;
      padding: calc(var(--space-2) * 0.9) 0;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
}

@media (min-width: 0) {
  .konspekt-grid {
    grid-template-columns: 1fr;
  }

  .header-membership-panel {
    align-items: flex-end;
  }

  .header-membership-links {
    gap: var(--space-2);
  }
}

@media (min-width: 1017px) {
  .konspekt-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .header-membership-panel {
    display: contents;
  }

  .header-actions .institution-dropdown {
    order: 3;
            align-self: center;
  }

  .header-actions>.knav-popover--account,
    .header-actions>.knav-popover--login-choice,
    .header-actions>.account-action {
    order: 2;
            align-self: center;
  }

  .header-membership-links {
    grid-column: 3;
            grid-row: 2;
            justify-self: end;
            gap: var(--space-3);
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  body:has(#header.knav-katalog-header--is-hidden) .template-dir-search.template-name-results .sidebar-wrapper {
    top: 1rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-search.template-name-results .facet-sidebar {
    max-height: calc(100vh - 2rem);
  }
}

@media print {
  .template-dir-search.template-name-results,
    .template-dir-eds.template-name-search {
    background: #fff !important;
            color: #000 !important;
            font-size: 11pt !important;
            line-height: 1.25 !important;
  }

  .template-dir-search.template-name-results .main-results,
    .template-dir-eds.template-name-search .main-results {
    border: 0 !important;
  }

  .template-dir-search.template-name-results .results-list,
    .template-dir-eds.template-name-search .results-list {
    box-sizing: border-box !important;
            padding: 0 0.45cm !important;
  }

  .template-dir-search.template-name-results .result-item,
    .template-dir-eds.template-name-search .result-item {
    display: grid !important;
            grid-template-columns: 1.6rem 5.8rem minmax(0, 1fr);
            gap: 0.8rem;
            align-items: start;
            min-height: 2.75cm;
            padding: 0.28cm 0 0.32cm !important;
            margin: 0 !important;
            border-top: 1px solid #000 !important;
            break-inside: avoid !important;
            page-break-inside: avoid !important;
  }

  .template-dir-search.template-name-results .result-item:first-child,
    .template-dir-eds.template-name-search .result-item:first-child {
    border-top: 0 !important;
  }

  .template-dir-search.template-name-results .result-selection.hidden-print,
    .template-dir-search.template-name-results .result-selection,
    .template-dir-eds.template-name-search .result-selection.hidden-print,
    .template-dir-eds.template-name-search .result-selection {
    display: block !important;
            grid-column: 1;
            min-width: 0 !important;
            padding: 0 !important;
            visibility: visible !important;
  }

  .template-dir-search.template-name-results .record-checkbox,
    .template-dir-search.template-name-results .checkbox-select-item,
    .template-dir-eds.template-name-search .record-checkbox,
    .template-dir-eds.template-name-search .checkbox-select-item {
    display: none !important;
            visibility: hidden !important;
  }

  .template-dir-search.template-name-results .result-item-body,
    .template-dir-eds.template-name-search .result-item-body {
    display: contents !important;
  }

  .template-dir-search.template-name-results .result-image-box,
    .template-dir-eds.template-name-search .result-image-box {
    grid-column: 2;
            display: block !important;
            width: 2.4cm !important;
            height: 3.2cm !important;
            margin: 0 !important;
            overflow: hidden !important;
            break-inside: avoid !important;
  }

  .template-dir-search.template-name-results .result-image-box:empty,
    .template-dir-search.template-name-results .result-image-box[id^="obalka_cover_"]:not(:has(img)):not(:has(a)),
    .template-dir-eds.template-name-search .result-image-box:empty,
    .template-dir-eds.template-name-search .result-image-box[id^="obalka_cover_"]:not(:has(img)):not(:has(a)) {
    display: none !important;
  }

  .template-dir-search.template-name-results .result-image-box img,
    .template-dir-search.template-name-results .result-image,
    .template-dir-search.template-name-results .result-image-box .recordcover,
    .template-dir-search.template-name-results .result-image-box .recordcover_obalky,
    .template-dir-eds.template-name-search .result-image-box img,
    .template-dir-eds.template-name-search .result-image,
    .template-dir-eds.template-name-search .result-image-box .recordcover,
    .template-dir-eds.template-name-search .result-image-box .recordcover_obalky {
    width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            object-position: top left !important;
            border-radius: 0 !important;
  }

  .template-dir-search.template-name-results .result-badge-stack,
    .template-dir-search.template-name-results .result-format-badge,
    .template-dir-search.template-name-results .result-actions,
    .template-dir-search.template-name-results .icon-link,
    .template-dir-search.template-name-results .hierarchyTreeLink,
    .template-dir-search.template-name-results .result-document-type-text--selection,
    .template-dir-search.template-name-results .result-image-box svg,
    .template-dir-eds.template-name-search .result-badge-stack,
    .template-dir-eds.template-name-search .result-format-badge,
    .template-dir-eds.template-name-search .result-actions,
    .template-dir-eds.template-name-search .icon-link,
    .template-dir-eds.template-name-search .hierarchyTreeLink,
    .template-dir-eds.template-name-search .result-document-type-text--selection,
    .template-dir-eds.template-name-search .result-image-box svg {
    display: none !important;
  }

  .template-dir-search.template-name-results .result-content,
    .template-dir-eds.template-name-search .result-content {
    grid-column: 3;
            align-self: start !important;
            padding: 0 !important;
            min-width: 0 !important;
  }

  .template-dir-search.template-name-results .result-title-row,
    .template-dir-eds.template-name-search .result-title-row {
    margin: 0 0 0.12cm !important;
  }

  .template-dir-search.template-name-results .result-title-link,
    .template-dir-eds.template-name-search .result-title-link {
    color: #000 !important;
            font-size: 13pt !important;
            font-weight: 700 !important;
            line-height: 1.2 !important;
            text-decoration: none !important;
  }

  .template-dir-search.template-name-results .result-info-grid,
    .template-dir-eds.template-name-search .result-info-grid {
    display: flex !important;
            flex-direction: column !important;
            gap: 0.06cm !important;
  }

  .template-dir-search.template-name-results .result-document-type-text,
    .template-dir-search.template-name-results .result-row,
    .template-dir-search.template-name-results .status,
    .template-dir-search.template-name-results .ajax-availability,
    .template-dir-eds.template-name-search .result-document-type-text,
    .template-dir-eds.template-name-search .result-row,
    .template-dir-eds.template-name-search .status,
    .template-dir-eds.template-name-search .ajax-availability {
    color: #1f2937 !important;
            display: flex !important;
            font-size: 10pt !important;
            line-height: 1.22 !important;
            visibility: visible !important;
  }

  .template-dir-search.template-name-results .result-label,
    .template-dir-eds.template-name-search .result-label {
    color: #4b5563 !important;
            font-weight: 400 !important;
  }

  .template-dir-search.template-name-results a,
    .template-dir-search.template-name-results .result-author-link,
    .template-dir-eds.template-name-search a,
    .template-dir-eds.template-name-search .result-author-link {
    color: var(--primary) !important;
            text-decoration: none !important;
  }

  .template-dir-search.template-name-results .result-author-link:hover,
    .template-dir-search.template-name-results .result-author-link:focus-visible,
    .template-dir-eds.template-name-search .result-author-link:hover,
    .template-dir-eds.template-name-search .result-author-link:focus-visible {
    text-decoration: underline !important;
            text-decoration-color: currentColor !important;
            text-decoration-thickness: 2px;
            text-underline-offset: 3px;
  }
}

.template-dir-record .record-description-table>tbody>tr>th,
.template-dir-record .record-description-table>tbody>tr>td,
.template-dir-record .record-description-table>tr>th,
.template-dir-record .record-description-table>tr>td,
.account-dashboard-page .record-description-table>tbody>tr>th,
.account-dashboard-page .record-description-table>tbody>tr>td,
.account-dashboard-page .record-description-table>tr>th,
.account-dashboard-page .record-description-table>tr>td,
.template-dir-admin .admin-config-card__header {
  padding: var(--space-3) var(--space-4);
      background: #fff !important;
      border: 0 !important;
      border-bottom: 1px solid var(--border-color) !important;
      color: var(--text-main);
      font-size: var(--text-sm);
      vertical-align: middle;
}

.template-dir-record .record-description-table>tbody>tr>th,
.template-dir-record .record-description-table>tr>th,
.account-dashboard-page .record-description-table>tbody>tr>th,
.account-dashboard-page .record-description-table>tr>th,
.template-dir-admin .admin-config-card__header {
  width: 18rem;
      color: #4b5563;
      font-weight: 700;
}

.template-dir-record .record-description-table>tbody>tr.record-description-table-title>th,
.template-dir-record .record-description-table>tr.record-description-table-title>th,
.account-dashboard-page .record-description-table>tbody>tr.record-description-table-title>th,
.account-dashboard-page .record-description-table>tr.record-description-table-title>th,
.template-dir-admin .admin-config-card__header {
  width: auto;
      background: #f9fafb !important;
      color: var(--text-main);
      font-size: var(--text-lg);
}

.knav-modal[hidden] {
  display: none !important;
}

.knav-modal {
  position: fixed;
      inset: 0;
      z-index: 2200;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: var(--space-6);
      background: rgba(15, 23, 42, 0.46);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.18s ease, visibility 0.18s ease;
      overflow-y: auto;
      overscroll-behavior: contain;
}

.knav-modal.is-open {
  opacity: 1;
      visibility: visible;
      pointer-events: auto;
}

.knav-modal__dialog {
  width: min(960px, 100%);
      max-height: min(88vh, 980px);
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 18px;
      box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
      overflow: hidden;
}

.knav-modal__header {
  display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-4);
      padding: var(--space-5) var(--space-6);
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      background: linear-gradient(180deg, rgba(128, 0, 0, 0.06) 0%, rgba(128, 0, 0, 0) 100%);
}

.knav-modal__title {
  margin: 0;
      font-size: clamp(1.125rem, 2vw, 1.5rem);
      font-weight: 700;
      color: var(--text-main);
}

.knav-modal__close {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      width: var(--button-height);
      height: var(--button-height);
      flex-shrink: 0;
      padding: 0;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: #fff;
      color: var(--text-muted);
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      font-size: 1.5rem;
      font-weight: 400;
      line-height: 1;
      cursor: pointer;
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.knav-modal__close:hover,
.knav-modal__close:focus-visible {
  color: var(--primary);
      border-color: var(--primary);
      background: var(--primary-light);
      box-shadow: 0 4px 12px rgba(128, 0, 0, 0.12);
      outline: none;
}

.knav-modal__body {
  padding: var(--space-6);
      overflow-y: auto;
      color: var(--text-main);
}

.knav-modal__dialog--export,
.knav-modal__body--export {
  overflow: visible;
}

.knav-modal__loading {
  display: flex;
      align-items: center;
      justify-content: center;
      min-height: 12rem;
      color: var(--text-muted);
      font-size: var(--text-base);
}

.knav-modal__body .top-nav {
  display: none !important;
}

.knav-modal__body .facet-lightbox-header,
.knav-modal__body .facet-lightbox-footer {
  display: none !important;
}

.knav-modal__body .facet-lightbox-container {
  border: 0;
      box-shadow: none;
      width: 100%;
      height: auto;
      max-height: 100%;
      flex: 1 1 auto;
      min-height: 0;
}

.knav-modal__body .facet-lightbox-content {
  max-height: none;
      min-height: 0;
      box-sizing: border-box;
      padding-bottom: var(--space-4);
}

.knav-modal__dialog:has(.facet-lightbox-container) {
  height: min(88vh, 980px);
}

.knav-modal__body:has(.facet-lightbox-container) {
  display: flex;
      flex: 1 1 auto;
      min-height: 0;
      overflow: hidden;
}

.knav-modal__body .modal-title:first-child {
  display: none;
}

.knav-modal__body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]),
.knav-modal__body select,
.knav-modal__body .form-control,
.knav-modal__body .form-select {
  box-sizing: border-box;
      height: var(--input-height);
      min-height: var(--input-height);
      max-height: var(--input-height);
      padding-top: 0;
      padding-bottom: 0;
}

.knav-modal__body select,
.knav-modal__body .form-select {
  height: var(--select-height);
      min-height: var(--select-height);
      max-height: var(--select-height);
}

.knav-modal__body textarea,
.knav-modal__body textarea.form-control {
  height: auto;
      min-height: calc(var(--input-height) * 2);
      max-height: none;
      padding-top: 0.625em;
      padding-bottom: 0.625em;
}

.knav-modal__body .knav-export-modal-form {
  display: grid;
      gap: var(--space-5);
}

.knav-modal__body .knav-export-modal-form .form-group {
  display: grid;
      gap: var(--space-2);
      margin: 0;
}

.knav-modal__body .knav-export-modal-form .form-label {
  color: #334155;
      font-size: 0.86rem;
      font-weight: 750;
      line-height: 1.25;
}

.knav-modal__body .knav-export-items__toggle {
  justify-self: start;
}

.knav-modal__body .knav-export-items__list {
  display: grid;
      gap: 0;
      max-height: min(17rem, 34vh);
      margin: var(--space-2) 0 0;
      padding: 0;
      overflow-x: hidden;
      overflow-y: auto;
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 8px;
      background: #f8fafc;
      list-style: none;
}

.knav-modal__body .knav-export-items__list li {
  min-width: 0;
      padding: 0.72rem 0.9rem;
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
      color: #1f2937;
      font-size: 0.94rem;
      line-height: 1.35;
}

.knav-modal__body .knav-export-items__list li:last-child {
  border-bottom: 0;
}

.knav-modal__body .knav-export-items__single {
  margin: 0;
      padding: 0.72rem 0.9rem;
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 8px;
      background: #f8fafc;
      color: #1f2937;
      line-height: 1.35;
}

.knav-modal__body .knav-export-format {
  position: relative;
      z-index: 10;
}

.knav-modal__body .knav-export-submit {
  justify-items: start;
}

.knav-modal__body .knav-permalink-modal__copy {
  display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: var(--space-2);
      align-items: start;
      min-width: 0;
      max-width: 100%;
      margin: 0;
}

.knav-modal__body .knav-permalink-modal__copy pre {
  min-height: var(--input-height);
      max-width: 100%;
      margin: 0;
      padding: 0.65rem 0.9rem;
      overflow: hidden;
      overflow-wrap: anywhere;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      background: #f8fafc;
      color: #1f2937;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
      font-size: 0.9rem;
      line-height: 1.45;
      white-space: pre-wrap;
      word-break: break-word;
}

.knav-modal__body .knav-permalink-modal__copy-button {
  display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      width: 7.5rem;
      min-width: 7.5rem;
      max-width: 7.5rem;
      height: var(--button-height);
      min-height: var(--button-height);
      max-height: var(--button-height);
      padding: 0 0.85rem;
      transform: none !important;
      transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.knav-modal__body .knav-permalink-modal__copy-button .copy-icon-default,
.knav-modal__body .knav-permalink-modal__copy-button .copy-icon-success {
  display: inline-flex;
      flex: 0 0 18px;
      width: 18px;
      height: 18px;
      align-items: center;
      justify-content: center;
}

.knav-modal__body .knav-permalink-modal__copy-button .icon-link__label {
  flex: 0 0 3.25rem;
      min-width: 3.25rem;
      text-align: left;
      white-space: nowrap;
}

.knav-modal__body .knav-permalink-modal__copy-button.text-success {
  border-color: rgba(31, 169, 113, 0.45);
      color: #1f8f62;
}

.knav-modal__body .citace_com {
  margin: 0;
}

.knav-modal__body .citace_com iframe {
  display: block;
      width: 100%;
      height: 10rem;
      max-height: 10rem;
      border: 1px solid rgba(148, 163, 184, 0.28);
      border-radius: 8px;
      background: #fff;
}

@media (max-width: 575px) {
  .knav-modal__body .knav-permalink-modal__copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .knav-modal__body .knav-permalink-modal__copy-button {
    width: 100%;
            min-width: 0;
            max-width: none;
  }
}

.knav-modal__body .knav-modal-native-select {
  display: none !important;
}

.knav-modal__body .knav-modal-select {
  width: 100%;
      min-width: 0;
      --custom-dropdown-row-height: var(--select-height);
      --custom-dropdown-menu-width: 100%;
      --custom-dropdown-menu-min-width: 100%;
      --custom-dropdown-menu-max-width: 100%;
}

.knav-modal__body .knav-modal-select .dropdown-trigger {
  height: var(--select-height);
      min-height: var(--select-height);
      max-height: var(--select-height);
      padding-top: 0;
      padding-bottom: 0;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.knav-modal__body .knav-modal-select .trigger-content {
  min-width: 0;
}

.knav-modal__body .knav-modal-select .dropdown-text,
.knav-modal__body .knav-modal-select [data-knav-modal-select-text] {
  display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}

.knav-modal__body .knav-modal-select .dropdown-menu {
  left: 0;
      right: auto;
      top: 100%;
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      max-height: min(18rem, 45vh);
      transform: translateY(-8px);
      z-index: 26000;
}

.knav-modal__body .knav-modal-select.open {
  z-index: 26000;
}

.knav-modal__body .knav-modal-select.open .dropdown-menu {
  transform: translateY(0);
}

@media (max-width: 1016px) {
  .knav-modal__body .knav-record-export-form .knav-modal-select .dropdown-menu,
    .knav-modal__body .knav-modal-select.drop-up .dropdown-menu {
    top: auto;
            bottom: 100%;
            transform: translateY(8px);
  }

  .knav-modal__body .knav-record-export-form .knav-modal-select .dropdown-menu {
    position: static;
            display: none;
            max-height: min(36rem, 72vh);
            margin-top: var(--space-1);
            transform: none;
  }

  .knav-modal__body .knav-record-export-form .knav-modal-select.open .dropdown-menu {
    display: flex;
            flex-direction: column;
            transform: none;
  }

  .knav-modal__body .knav-modal-select.drop-up.open .dropdown-menu {
    transform: translateY(0);
  }
}

.knav-modal__body .knav-modal-select .dropdown-item {
  height: var(--select-height);
      min-height: var(--select-height);
      max-height: var(--select-height);
      line-height: var(--select-height);
      padding-top: 0;
      padding-bottom: 0;
      width: 100%;
      min-width: 0;
      max-width: 100%;
}

.knav-modal__body .knav-confirm-modal {
  display: grid;
      gap: var(--space-5);
}

.knav-modal__body .knav-confirm-modal__message {
  border: 1px solid var(--primary);
      border-radius: 8px;
      background: color-mix(in srgb, var(--primary) 8%, #fff);
      color: var(--text);
      font-size: var(--text-base);
      line-height: 1.5;
      padding: var(--space-4);
}

.knav-modal__body .knav-confirm-modal__message p {
  margin: 0;
}

.knav-modal__body .knav-confirm-modal__actions {
  display: flex;
      flex-wrap: wrap;
      gap: var(--space-3);
}

.knav-modal__body .knav-confirm-modal__actions form {
  margin: 0;
}

.knav-modal__body .knav-confirm-modal__actions .btn,
.modal-content .knav-modal__body .knav-confirm-modal__actions input.btn {
  box-sizing: border-box;
      height: var(--button-height);
      max-height: var(--button-height);
      min-height: var(--button-height);
      line-height: 1;
      min-width: 4.5rem;
      padding: 0 var(--space-4) !important;
}

.knav-modal__body .help-container,
.knav-modal__body .Content,
.knav-modal__body .history-content {
  width: 100%;
}

.knav-modal__body .history-content {
  padding: 0;
}

.knav-modal__body .browse-card {
  margin: 0;
}

.knav-modal__body #addEmailForm label {
  display: block;
      margin-bottom: var(--space-2);
}

.knav-modal__body #addEmailForm .email_input {
  display: block;
      width: min(100%, 28rem);
      max-width: 100%;
      margin-left: 0;
}

.knav-modal__body #addEmailForm input[type="submit"] {
  max-width: 100% !important;
      white-space: normal;
      line-height: 1;
}

.knav-modal__body #changeEmailForm {
  max-width: 28rem;
}

.knav-modal__body #changeEmailForm .contact_row {
  display: block;
      margin-bottom: var(--space-4);
}

.knav-modal__body #changeEmailForm label {
  display: block;
      width: auto;
      margin-bottom: var(--space-2);
}

.knav-modal__body #changeEmailForm input[type="text"],
.knav-modal__body #changeEmailForm input[type="email"] {
  display: block;
      width: 100%;
}

.knav-modal__body #changeContactDataForm {
  max-width: 42rem;
}

.knav-modal__body #changeContactDataForm .contact_row {
  display: block;
      margin-bottom: var(--space-4);
}

.knav-modal__body #changeContactDataForm label {
  display: block;
      width: auto;
      margin-bottom: var(--space-2);
}

.knav-modal__body #changeContactDataForm input[type="text"],
.knav-modal__body #changeContactDataForm input[type="tel"],
.knav-modal__body #changeContactDataForm select,
.knav-modal__body #changeContactDataForm .knav-modal-select {
  display: block;
      width: min(100%, 28rem);
      max-width: 100%;
}

.knav-modal__body #changeContactDataForm input[type="checkbox"] {
  margin-top: var(--space-1);
}

@media (min-width: 768px) {
  .knav-modal__body #changeContactDataForm {
    display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: var(--space-5);
            row-gap: var(--space-4);
  }

  .knav-modal__body #changeContactDataForm .contact_row {
    margin-bottom: 0;
  }

  .knav-modal__body #changeContactDataForm .contact_row:first-child,
    .knav-modal__body #changeContactDataForm .contact_row:nth-child(6),
    .knav-modal__body #changeContactDataForm .margin-top-2em {
    grid-column: 1 / -1;
  }

  .knav-modal__body #changeContactDataForm input[type="text"],
    .knav-modal__body #changeContactDataForm input[type="tel"],
    .knav-modal__body #changeContactDataForm select,
    .knav-modal__body #changeContactDataForm .knav-modal-select {
    width: 100%;
  }

  .knav-modal__body #changeContactDataForm #contact_con_lng,
    .knav-modal__body #changeContactDataForm #contact_con_lng+.knav-modal-select {
    width: 10rem;
  }
}

.knav-modal__body .btn,
.knav-modal__body button,
.knav-modal__body input[type="submit"] {
  box-sizing: border-box;
      height: var(--button-height);
      min-height: var(--button-height);
      max-height: var(--button-height);
}

.knav-modal__body .btn.btn-primary,
.knav-modal__body .btn-primary,
.knav-modal__body button[type="submit"],
.knav-modal__body input[type="submit"] {
  box-sizing: border-box;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: auto !important;
      min-width: 7.5rem;
      max-width: none !important;
      height: var(--button-height);
      min-height: var(--button-height);
      max-height: var(--button-height);
      padding: 0 var(--space-4);
      border: none;
      border-radius: 8px;
      background: var(--primary);
      color: #fff;
      font-size: var(--text-sm);
      font-weight: 600;
      line-height: 1;
      text-decoration: none;
      box-shadow: none;
      transition: background-color 0.2s ease, transform 0.2s ease;
}

.knav-modal__body .btn.btn-primary:hover,
.knav-modal__body .btn-primary:hover,
.knav-modal__body button[type="submit"]:hover,
.knav-modal__body input[type="submit"]:hover,
.knav-modal__body .btn.btn-primary:focus-visible,
.knav-modal__body .btn-primary:focus-visible,
.knav-modal__body button[type="submit"]:focus-visible,
.knav-modal__body input[type="submit"]:focus-visible {
  background: var(--primary-hover);
      color: #fff;
      transform: translateY(-1px);
      outline: none;
      box-shadow: none;
}

.knav-modal__body .knav-confirm-modal__actions input.btn,
.knav-modal__body .knav-confirm-modal__actions .knav-confirm-modal__button,
.knav-modal__body .knav-confirm-modal__actions .btn.btn-primary,
.knav-modal__body .knav-confirm-modal__actions .btn.btn-ghost {
  box-sizing: border-box;
      width: auto !important;
      height: var(--button-height) !important;
      max-height: var(--button-height) !important;
      min-height: var(--button-height) !important;
      min-width: 4.5rem !important;
      padding: 0 var(--space-4) !important;
      line-height: 1 !important;
}

.knav-modal__body .knav-confirm-modal__button--primary {
  border: 1px solid var(--primary);
      border-radius: var(--radius-sm);
      background: var(--primary);
      color: #fff;
      font-size: var(--text-base);
      font-weight: 600;
}

.knav-modal__body .knav-confirm-modal__button--secondary {
  border: 1px solid var(--primary);
      border-radius: var(--radius-sm);
      background: #fff;
      color: var(--primary);
      font-size: var(--text-base);
      font-weight: 500;
}

.knav-modal__body .knav-confirm-modal__actions input.btn:hover,
.knav-modal__body .knav-confirm-modal__actions input.btn:focus-visible {
  transform: none;
}

.knav-modal__body .knav-confirm-modal--favorite-remove .knav-confirm-modal__button--secondary,
.knav-modal__body .knav-confirm-modal--favorite-remove .knav-confirm-modal__button--secondary:hover,
.knav-modal__body .knav-confirm-modal--favorite-remove .knav-confirm-modal__button--secondary:focus-visible {
  border-color: transparent;
      background: transparent;
      color: var(--primary);
      box-shadow: none;
}

@media (min-width: 0) {
  .knav-modal {
    align-items: flex-end;
            padding: 0;
  }

  .knav-modal__dialog {
    width: 100%;
            max-height: 88vh;
            border-radius: 24px 24px 0 0;
  }

  .knav-modal__header,
    .knav-modal__body {
    padding: var(--space-4);
  }
}

@media (min-width: 768px) {
  .knav-modal {
    align-items: center;
            padding: var(--space-6);
  }

  .knav-modal__dialog {
    width: min(960px, 100%);
            max-height: min(88vh, 980px);
            border-radius: 18px;
  }

  .knav-modal__header {
    padding: var(--space-5) var(--space-6);
  }

  .knav-modal__body {
    padding: var(--space-6);
  }
}

.custom-dropdown.institution-dropdown,
.custom-dropdown.institution-dropdown .dropdown-trigger {
  max-width: 300px;
}

.custom-dropdown.institution-dropdown .trigger-content {
  min-width: 0;
}

.custom-dropdown.institution-dropdown .trigger-content span {
  overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
}

.custom-dropdown.institution-dropdown>.dropdown-trigger>.chevron {
  font-size: 0.67em;
}

@media (min-width: 1017px) and (max-width: 1439px) {
  .header-actions .institution-dropdown,
    .header-actions .institution-dropdown .dropdown-trigger {
    max-width: 210px !important;
  }
}

@media (min-width: 1017px) {
  .header-actions>.knav-popover--account,
    .header-actions>.knav-popover--login-choice,
    .header-actions>.account-action {
    order: 2;
            align-self: center;
  }

  .header-actions .institution-dropdown,
    .header-actions .institution-dropdown .dropdown-trigger {
    max-width: 230px;
            width: max-content;
  }
}

@media (max-width: 1016px) {
  #header .header-actions .lang-trigger,
    #header .header-actions>.knav-popover--account,
    #header .header-actions>.knav-popover--login-choice,
    #header .header-actions>.account-action,
    #header .header-actions .account-action {
    box-sizing: border-box !important;
            flex-basis: var(--item-height) !important;
            height: var(--item-height) !important;
            max-height: var(--item-height) !important;
            max-width: var(--item-height) !important;
            min-height: var(--item-height) !important;
            min-width: var(--item-height) !important;
            padding: 0 !important;
            width: var(--item-height) !important;
  }

  #header .header-actions>.knav-popover--account,
    #header .header-actions>.knav-popover--login-choice {
    display: inline-flex !important;
  }

  .header-membership-panel {
    display: contents;
  }

  .header-actions .institution-dropdown {
    grid-column: 3;
            grid-row: 1;
            justify-self: stretch;
            width: 100%;
            max-width: 300px;
  }

  .header-actions>.knav-popover--account,
    .header-actions>.knav-popover--login-choice,
    .header-actions>.account-action {
    grid-column: 2;
            grid-row: 1;
            justify-self: end;
  }

  .header-membership-links {
    display: none;
  }

  .custom-dropdown.institution-dropdown>.dropdown-trigger>.chevron {
    display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 1em;
            width: 1em;
            margin: 0;
            font-size: 1rem;
            line-height: 1;
  }
}

@media (max-width: 767px) {
  .header-actions .institution-dropdown {
    max-width: none;
            min-width: 0;
            width: 100%;
  }

  .custom-dropdown.institution-dropdown,
    .custom-dropdown.institution-dropdown .dropdown-trigger {
    max-width: none;
            width: 100%;
  }

  .custom-dropdown.institution-dropdown .dropdown-trigger {
    justify-content: space-between;
  }

  .custom-dropdown.institution-dropdown .trigger-content {
    flex: 1 1 auto;
  }

  .custom-dropdown.institution-dropdown .trigger-content span {
    display: inline;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  .header-actions .institution-dropdown {
    grid-column: 3;
            grid-row: 1;
            justify-self: end;
            width: min(300px, 34vw);
  }

  .header-actions>.knav-popover--account,
    .header-actions>.knav-popover--login-choice,
    .header-actions>.account-action {
    grid-column: 2;
            grid-row: 1;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-search.template-name-results .sidebar-wrapper {
    top: 1rem;
  }

  body:has(#header.knav-katalog-header--is-hidden) .template-dir-search.template-name-results .facet-sidebar {
    max-height: calc(100dvh - 2rem);
  }
}

.adv-search-btn svg,
.adv-search-btn img {
  width: 17.6px;
      height: 17.6px;
      min-width: 17.6px;
      max-width: 17.6px;
      min-height: 17.6px;
      max-height: 17.6px;
}

@media (max-width: 1016px) {
  .custom-dropdown.institution-dropdown .dropdown-trigger {
    gap: var(--space-1);
            min-width: 8rem;
            padding-left: var(--space-2);
            padding-right: var(--space-2);
  }

  .custom-dropdown.institution-dropdown .trigger-content {
    flex: 1 1 auto;
            overflow: hidden;
  }
}

@media (min-width: 1017px) {
  .inst-knav #header {
    padding-left: 0;
            padding-right: 0;
  }

  .inst-knav #header .header-inner--knav-flex {
    display: grid;
            grid-template-columns: minmax(7rem, auto) minmax(26rem, 800px) minmax(0, 1fr) auto minmax(12rem, auto);
            align-items: center;
            gap: var(--space-2);
            width: min(calc(100% - (var(--space-5) * 2)), 1450px);
            max-width: 1450px;
            margin-left: auto;
            margin-right: auto;
  }

  .inst-knav #header .header-inner--knav-flex .header-row {
    display: contents;
  }

  .inst-knav #header .header-row--top .page-title-link {
    grid-column: 1;
            grid-row: 1;
            align-self: center;
            min-width: 0;
            max-width: 11rem;
  }

  .inst-knav #header .header-row--top .page-title-link strong {
    line-height: 1.35;
  }

  .inst-knav #header .header-actions--institution {
    grid-column: 5;
            grid-row: 1;
            align-self: center;
            justify-self: end;
            width: auto;
  }

  .inst-knav #header .header-actions--institution .header-membership-panel {
    align-items: flex-end;
  }

  .inst-knav #header .header-actions--institution .institution-dropdown,
    .inst-knav #header .header-actions--institution .institution-dropdown .dropdown-trigger {
    max-width: 17rem;
  }

  .inst-knav #header .header-row--search .search-area {
    grid-column: 2;
            grid-row: 1;
            align-self: center;
            width: 100%;
  }

  .inst-knav #header .header-actions--user {
    grid-column: 4;
            grid-row: 1;
            align-items: center;
            align-self: center;
            justify-self: end;
            width: auto;
  }

  .inst-knav #header .searchForm {
    flex-direction: row;
            align-items: center;
            gap: var(--space-1);
  }

  .inst-knav #header .searchForm-main,
    .inst-knav #header .search-container {
    width: 100%;
            max-width: 800px;
  }

  .inst-knav #header .searchForm-secondary {
    display: flex;
            align-items: center;
            flex: 0 0 auto;
            gap: var(--space-3);
            min-width: 0;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results #header .header-actions .institution-dropdown,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    flex: 1 1 auto;
            max-width: none;
            min-width: 0;
            width: 100%;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    height: var(--item-height);
            justify-content: space-between;
            padding-left: var(--space-3);
            padding-right: var(--space-3);
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .trigger-content {
    flex: 1 1 auto;
            gap: var(--space-2);
            min-width: 0;
  }

  .custom-dropdown.institution-dropdown .trigger-content span {
    display: block;
            min-width: 0;
  }

  .inst-knav #header .header-inner--knav-flex {
    display: flex;
            flex-direction: column;
            gap: var(--space-2);
            width: 100%;
  }

  .inst-knav #header .header-row {
    display: flex;
            align-items: center;
            gap: var(--space-2);
            min-width: 0;
            width: 100%;
  }

  .inst-knav #header .header-row--top .page-title-link {
    flex: 0 0 auto;
            min-width: 0;
            max-width: calc(100% - 8rem - var(--space-2));
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
  }

  .inst-knav #header .header-row--top .page-title-link strong {
    display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
  }

  .inst-knav #header .header-actions--institution {
    display: flex;
            flex: 0 1 12rem;
            justify-content: flex-end;
            min-width: 8rem;
            max-width: 12rem;
            width: auto;
  }

  .inst-knav #header .header-actions--institution .header-membership-panel {
    align-items: stretch;
            width: 100%;
  }

  .inst-knav #header .header-actions--institution .institution-dropdown,
    .inst-knav #header .header-actions--institution .institution-dropdown .dropdown-trigger {
    min-width: 0;
            width: 100%;
            max-width: 12rem;
  }

  .inst-knav #header .header-actions--institution .institution-dropdown .trigger-content {
    flex: 1 1 auto;
            min-width: 0;
            overflow: hidden;
  }

  .inst-knav #header .header-actions--institution .institution-dropdown .trigger-content span {
    overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
  }

  .inst-knav #header .header-row--search {
    align-items: flex-start;
  }

  .inst-knav #header .header-row--search .search-area {
    order: 1;
            flex: 1 1 auto;
            min-width: 0;
            width: auto;
  }

  .inst-knav #header .searchForm {
    display: flex;
            flex-direction: column;
            gap: var(--space-2);
            min-width: 0;
            width: 100%;
  }

  .inst-knav #header .searchForm-main,
    .inst-knav #header .search-container {
    min-width: 0;
            width: 100%;
  }

  .inst-knav #header .search-container {
    flex: 1 1 auto;
            max-width: none;
  }

  .inst-knav #header .header-actions--user {
    order: 2;
            display: flex;
            align-items: center;
            flex: 0 0 auto;
            flex-wrap: nowrap;
            gap: var(--space-2);
            justify-content: flex-end;
            min-height: var(--button-height);
            width: auto;
  }

  .inst-knav #header .header-actions--user .lang-toggle-form,
    .inst-knav #header .header-actions--user #langDropdown {
    order: 1;
            flex: 0 0 var(--item-height);
  }

  .inst-knav #header .header-actions--user>.knav-popover--account,
    .inst-knav #header .header-actions--user>.knav-popover--login-choice,
    .inst-knav #header .header-actions--user>.account-action {
    order: 2;
            flex: 0 0 var(--item-height);
  }

  .inst-knav #header .searchForm-secondary {
    display: flex;
            align-items: center;
            gap: var(--space-3);
            justify-content: flex-start;
            min-width: 0;
            width: 100%;
  }

  .inst-knav #header .search-inline-option {
    flex: 0 0 auto;
            margin: 0;
            padding: 0;
            border-left: 0;
  }

  .inst-knav #header .search-inline-option::before {
    display: none;
  }

  .inst-knav #header .searchForm-secondary .adv-search-btn {
    width: auto;
            max-width: none;
            min-width: 0;
            height: var(--item-height);
            min-height: var(--item-height);
            max-height: none;
            padding: 0 0 0 var(--space-3);
            border-left: 1px solid #ddd;
            border-radius: 0;
            background: transparent;
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 630;
            line-height: 1;
            gap: var(--space-2);
  }

  .inst-knav #header .searchForm-secondary .adv-search-btn:hover {
    background: transparent;
            color: var(--primary-hover);
            transform: none;
  }

  .inst-knav #header .searchForm-secondary .adv-search-btn svg,
    .inst-knav #header .searchForm-secondary .adv-search-btn img {
    display: none;
  }

  .inst-knav #header .searchForm-secondary .adv-search-btn__label {
    display: inline;
            white-space: nowrap;
  }

  .inst-knav #header .search-checkboxes {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  .template-dir-search.template-name-results #header .header-actions .institution-dropdown,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    max-width: 12rem;
            min-width: 0;
            width: 100%;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .trigger-content {
    flex: 1 1 auto;
            min-width: 0;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    color: #1f2937;
            display: flex;
            font-size: 0.95rem;
            font-weight: 500;
            height: var(--select-height);
            justify-content: space-between;
            line-height: 1.2;
            min-height: var(--select-height);
            min-width: 0;
            padding: 0 14px;
            width: 100%;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    color: #1f2937;
            display: flex;
            font-size: 0.95rem;
            font-weight: 500;
            height: var(--select-height);
            justify-content: space-between;
            line-height: 1.2;
            max-width: 12rem;
            min-height: var(--select-height);
            min-width: 0;
            padding: 0 14px;
            width: 100%;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger .trigger-content {
    gap: var(--space-2);
  }
}

@media (max-width: 767px) {
  .inst-knav #header .searchForm {
    display: flex;
            flex-direction: column;
            gap: var(--space-2);
            padding-bottom: calc(var(--item-height) + var(--space-3));
            position: relative;
            width: 100%;
  }

  .inst-knav #header .searchForm-main,
    .inst-knav #header .search-container {
    min-width: 0;
            width: 100%;
  }

  .inst-knav #header .search-container {
    position: static;
  }

  .inst-knav #header .searchForm-secondary {
    bottom: 0;
            display: flex;
            gap: var(--space-2);
            justify-content: flex-start;
            padding-top: var(--space-3);
            position: absolute;
            left: 0;
            right: 0;
            width: 100%;
  }

  .inst-knav #header .search-container > .search-inline-option:not(.search-inline-option--mobile) {
    display: none;
  }

  .inst-knav #header .searchForm-secondary .search-inline-option--mobile {
    display: flex;
            flex: 0 0 auto;
            margin: 0;
            padding-left: 0;
            border-left: 0;
  }

  .inst-knav #header .searchForm-secondary .adv-search-btn {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  #header .custom-dropdown.institution-dropdown,
    #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    max-width: 220px !important;
            width: 220px !important;
  }

  #header .custom-dropdown.institution-dropdown .dropdown-menu,
    #header .custom-dropdown.institution-dropdown .dropdown-menu.is-viewport-positioned {
    max-width: min(320px, calc(100vw - 16px)) !important;
            min-width: 0 !important;
            width: min(320px, calc(100vw - 16px)) !important;
  }
}

@media (min-width: 1017px) {
  #header .custom-dropdown.institution-dropdown .dropdown-menu,
    #header .custom-dropdown.institution-dropdown .dropdown-menu.is-viewport-positioned {
    max-width: min(380px, calc(100vw - 16px)) !important;
            width: min(380px, calc(100vw - 16px)) !important;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  #header .header-actions .institution-dropdown {
    justify-self: start !important;
  }

  .inst-knav #header .header-inner--knav-flex {
    display: grid;
            grid-template-columns: minmax(0, 1fr) max-content 220px;
            grid-template-rows: auto auto;
            align-items: center;
            gap: var(--space-2);
            width: min(calc(100% - (var(--space-5) * 2)), 1020px);
            max-width: 1020px;
            margin-left: auto;
            margin-right: auto;
  }

  .inst-knav #header .header-inner--knav-flex .header-row {
    display: contents;
  }

  .inst-knav #header .header-row--top .page-title-link {
    grid-column: 1;
            grid-row: 1;
            min-width: 0;
  }

  .inst-knav #header .header-actions--user {
    grid-column: 2;
            grid-row: 1;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: var(--space-2);
            width: max-content !important;
  }

  .inst-knav #header .header-actions--institution {
    grid-column: 3;
            grid-row: 1;
            width: 220px !important;
  }

  .inst-knav #header .header-actions--institution .header-membership-panel,
    .inst-knav #header .header-actions--institution .institution-dropdown {
    width: 100%;
  }

  .inst-knav #header .header-row--search .search-area {
    grid-column: 1 / -1;
            grid-row: 2;
            width: 100%;
  }

  .inst-knav #header .searchForm {
    display: flex;
            flex-direction: row;
            align-items: center;
            gap: var(--space-2);
            width: 100%;
  }

  .inst-knav #header .searchForm-main {
    flex: 1 1 auto;
            min-width: 0;
            width: auto;
  }

  .inst-knav #header .search-container {
    max-width: none;
            width: 100%;
  }

  .inst-knav #header .searchForm-secondary {
    display: flex;
            flex: 0 0 auto;
            align-items: center;
            width: auto;
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  .inst-knav #header .header-inner--knav-flex {
    grid-template-columns: minmax(8rem, 16%) minmax(0, 1fr) auto minmax(12rem, auto);
            column-gap: var(--space-2);
            width: min(calc(100% - (var(--space-5) * 2)), 1020px);
            max-width: 1020px;
  }

  .inst-knav #header .header-row--search .search-area {
    grid-column: 2;
  }

  .inst-knav #header .header-actions--user {
    grid-column: 3;
  }

  .inst-knav #header .header-actions--institution {
    grid-column: 4;
  }

  .inst-knav #header .searchForm-main {
    flex: 1 1 auto;
            min-width: 0;
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  body:not(.inst-knav) #header .header-inner {
    grid-template-columns: minmax(8rem, 16%) minmax(0, 1fr) max-content;
  }
}

@media (min-width: 1017px) {
  body:not(.inst-knav) #header .header-actions {
    justify-self: stretch !important;
            width: 100% !important;
  }
}

.template-dir-eds.template-name-search .results-count-text--mobile {
  display: none;
}

@media (max-width: 767px) {
  .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: flex !important;
            flex-wrap: wrap !important;
            row-gap: 4px !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left {
    align-items: center !important;
            display: flex !important;
            flex: 1 1 0 !important;
            gap: var(--results-mobile-gap) !important;
            min-width: 0 !important;
            order: 1 !important;
  }

  .template-dir-eds.template-name-search .meta-right {
    align-items: center !important;
            display: flex !important;
            flex: 0 0 auto !important;
            gap: var(--results-mobile-gap) !important;
            min-width: 0 !important;
            order: 2 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: var(--results-mobile-gap) !important;
            margin: 0 !important;
            min-width: 0 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count {
    flex: 0 0 auto !important;
  }

  .template-dir-eds.template-name-search .meta-controls {
    flex: 1 1 auto !important;
            justify-content: flex-end !important;
            margin-left: auto !important;
  }

  .template-dir-eds.template-name-search .meta-actions {
    flex: 0 0 auto !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: none !important;
  }

  .template-dir-eds.template-name-search .facet-toggle {
    display: none !important;
  }

  .template-dir-eds.template-name-search .control-group {
    align-items: center !important;
            display: inline-flex !important;
            flex: 0 0 var(--results-mobile-control-size) !important;
            margin: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    flex: 0 0 18px !important;
            height: 18px !important;
            margin: 0 !important;
            width: 18px !important;
  }

  .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count>.arrow-btn,
    .template-dir-eds.template-name-search .results-count>span.arrow-btn,
    .template-dir-eds.template-name-search .results-count>a.arrow-btn,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    flex: 0 0 var(--results-mobile-control-size) !important;
            height: var(--results-mobile-control-size) !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-eds.template-name-search .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger,
    .template-dir-eds.template-name-search .meta-actions>.action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            justify-content: center !important;
            margin: 0 !important;
            padding: 0 !important;
  }

  .template-dir-eds.template-name-search .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .results-options-trigger .trigger-content,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    gap: 0 !important;
            justify-content: center !important;
  }

  .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon,
    .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-arrow,
    .template-dir-eds.template-name-search .meta-controls .chevron,
    .template-dir-eds.template-name-search .meta-actions .chevron {
    display: none !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .results-options-icon,
    .template-dir-eds.template-name-search .facet-filter-icon,
    .template-dir-eds.template-name-search .meta-actions>.action-btn svg,
    .template-dir-eds.template-name-search .results-count .arrow-btn svg {
    display: block !important;
            height: 16px !important;
            width: 16px !important;
  }

  .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    align-items: center !important;
            color: var(--text-muted) !important;
            display: inline-flex !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            height: auto !important;
            justify-content: center !important;
            line-height: 1 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            flex: 0 0 100% !important;
            margin: 0 !important;
            min-width: 0 !important;
            order: 3 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    order: 1 !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-prev {
    order: 2 !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-next {
    order: 3 !important;
  }

  .template-dir-eds.template-name-search .sort-group {
    margin-left: auto !important;
            order: 4 !important;
  }

  .template-dir-eds.template-name-search .limit-group {
    order: 5 !important;
  }

  .template-dir-eds.template-name-search .results-options-menu {
    order: 6 !important;
  }

  .template-dir-eds.template-name-search .meta-actions>.action-btn {
    order: 7 !important;
  }

  .template-dir-eds.template-name-search .mobile-facet-btn {
    order: 8 !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    order: 20 !important;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  .template-dir-eds.template-name-search .meta-row {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
            gap: 0.425rem !important;
            justify-content: space-between !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            min-width: 0 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .meta-left {
    flex: 1 1 auto !important;
            gap: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .meta-right {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
            justify-content: flex-end !important;
            margin-left: 0 !important;
  }

  .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions,
    .template-dir-eds.template-name-search .facet-toggle {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count {
    flex: 0 0 auto !important;
            gap: 6px !important;
            margin-right: 0 !important;
  }

  .template-dir-eds.template-name-search .meta-controls {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
            margin-left: auto !important;
  }

  .template-dir-eds.template-name-search .meta-actions {
    flex: 0 0 auto !important;
            gap: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .facet-toggle {
    gap: 0.6375rem !important;
            margin-left: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .results-count>.results-count-text {
    display: inline !important;
            flex: 0 0 auto !important;
            margin-left: var(--space-2) !important;
            margin-right: 0 !important;
            order: 4 !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    display: none !important;
  }

  .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .meta-actions .chevron {
    display: inline !important;
  }

  .template-dir-eds.template-name-search .control-group>label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .meta-controls .chevron {
    display: none !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon {
    display: block !important;
  }

  .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    align-items: center !important;
            color: var(--text-muted) !important;
            display: inline-flex !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            justify-content: center !important;
            line-height: 1 !important;
  }

  .template-dir-eds.template-name-search .meta-controls .custom-dropdown.min-dropdown,
    .template-dir-eds.template-name-search .meta-controls .custom-dropdown,
    .template-dir-eds.template-name-search .meta-actions .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu {
    flex: 0 0 auto !important;
            max-width: none !important;
            min-width: max-content !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .meta-controls .dropdown-trigger,
    .template-dir-eds.template-name-search .meta-actions .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger {
    height: var(--button-height) !important;
            justify-content: space-between !important;
            max-width: none !important;
            min-width: var(--button-height) !important;
            padding: 0 var(--space-3) !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .results-options-trigger {
    justify-content: center !important;
  }

  .template-dir-eds.template-name-search .meta-controls .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .meta-actions .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .results-options-trigger .trigger-content {
    gap: var(--space-2) !important;
            justify-content: flex-start !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .sort-group .custom-dropdown.min-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown.min-dropdown {
    flex: 0 0 var(--button-height) !important;
            max-width: var(--button-height) !important;
            min-width: var(--button-height) !important;
            width: var(--button-height) !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-trigger,
    .template-dir-eds.template-name-search .limit-group .dropdown-trigger {
    justify-content: center !important;
            max-width: var(--button-height) !important;
            min-width: var(--button-height) !important;
            padding: 0 !important;
            width: var(--button-height) !important;
  }

  .template-dir-eds.template-name-search .sort-group .dropdown-trigger .trigger-content,
    .template-dir-eds.template-name-search .limit-group .dropdown-trigger .trigger-content {
    gap: 0 !important;
            justify-content: center !important;
            width: 100% !important;
  }
}

.template-dir-search.template-name-results .results-count > .results-count-text,
.template-dir-eds.template-name-search .results-count > .results-count-text {
  display: none !important;
}

.template-dir-search.template-name-results .meta-left,
.template-dir-eds.template-name-search .meta-left {
  order: 1;
}

.template-dir-search.template-name-results .meta-right,
.template-dir-eds.template-name-search .meta-right {
  order: 2;
}

.template-dir-search.template-name-results .results-count-text--mobile,
.template-dir-eds.template-name-search .results-count-text--mobile {
  display: block !important;
      flex: 0 0 100% !important;
      margin: 0 !important;
      min-width: 0 !important;
      order: 3 !important;
      text-align: left !important;
      white-space: normal !important;
      width: 100% !important;
}

@media (max-width: 1016px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    --results-mobile-control-size: 32px;
            --results-mobile-checkbox-size: 18px;
            --results-mobile-gap: 6px;
            align-items: center !important;
            column-gap: var(--results-mobile-gap) !important;
            display: grid !important;
            grid-template-columns: var(--results-mobile-checkbox-size) var(--results-mobile-control-size) var(--results-mobile-control-size) minmax(0, 1fr) var(--results-mobile-control-size) var(--results-mobile-control-size) var(--results-mobile-control-size) var(--results-mobile-control-size) var(--results-mobile-control-size) !important;
            grid-template-rows: var(--results-mobile-control-size) auto !important;
            justify-items: center !important;
            row-gap: 8px !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .meta-left,
    .template-dir-search.template-name-results .meta-right,
    .template-dir-search.template-name-results .results-count,
    .template-dir-search.template-name-results .meta-controls,
    .template-dir-search.template-name-results .meta-actions,
    .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    display: contents !important;
  }

  .template-dir-search.template-name-results .results-count #selectAllCheckbox,
    .template-dir-eds.template-name-search .results-count #selectAllCheckbox {
    grid-column: 1 !important;
            grid-row: 1 !important;
            height: var(--results-mobile-checkbox-size) !important;
            justify-self: start !important;
            margin: 0 !important;
            max-height: var(--results-mobile-checkbox-size) !important;
            max-width: var(--results-mobile-checkbox-size) !important;
            min-height: var(--results-mobile-checkbox-size) !important;
            min-width: var(--results-mobile-checkbox-size) !important;
            width: var(--results-mobile-checkbox-size) !important;
  }

  .template-dir-search.template-name-results .results-count > .results-count-prev,
    .template-dir-eds.template-name-search .results-count > .results-count-prev {
    grid-column: 2 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-count > .results-count-next,
    .template-dir-eds.template-name-search .results-count > .results-count-next {
    grid-column: 3 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-eds.template-name-search .sort-group {
    grid-column: 5 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .limit-group,
    .template-dir-eds.template-name-search .limit-group {
    grid-column: 6 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .results-options-menu,
    .template-dir-eds.template-name-search .results-options-menu {
    grid-column: 7 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .meta-actions > .action-btn,
    .template-dir-eds.template-name-search .meta-actions > .action-btn {
    grid-column: 8 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    grid-column: 9 !important; grid-row: 1 !important;
  }

  .template-dir-search.template-name-results .sort-group,
    .template-dir-search.template-name-results .limit-group,
    .template-dir-search.template-name-results .sort-group .custom-dropdown,
    .template-dir-search.template-name-results .limit-group .custom-dropdown,
    .template-dir-search.template-name-results .results-options-menu,
    .template-dir-search.template-name-results .results-count > .arrow-btn,
    .template-dir-search.template-name-results .meta-actions > .action-btn,
    .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .sort-group,
    .template-dir-eds.template-name-search .limit-group,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown,
    .template-dir-eds.template-name-search .results-options-menu,
    .template-dir-eds.template-name-search .results-count > .arrow-btn,
    .template-dir-eds.template-name-search .meta-actions > .action-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            flex: none !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .dropdown-trigger,
    .template-dir-search.template-name-results .results-options-trigger,
    .template-dir-eds.template-name-search .meta-row .dropdown-trigger,
    .template-dir-eds.template-name-search .results-options-trigger {
    align-items: center !important;
            display: inline-flex !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            max-height: var(--results-mobile-control-size) !important;
            max-width: var(--results-mobile-control-size) !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: var(--results-mobile-control-size) !important;
            padding: 0 !important;
            width: var(--results-mobile-control-size) !important;
  }

  .template-dir-search.template-name-results .meta-row .trigger-content,
    .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .meta-row .trigger-content,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    align-items: center !important;
            display: inline-flex !important;
            gap: 0 !important;
            justify-content: center !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .results-count > .results-count-text,
    .template-dir-eds.template-name-search .results-count > .results-count-text {
    display: none !important;
  }

  .template-dir-search.template-name-results .results-count-text--mobile,
    .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            grid-column: 1 / -1 !important;
            grid-row: 2 !important;
            justify-self: start !important;
            margin: 0 !important;
            min-width: 0 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results .control-group > label,
    .template-dir-search.template-name-results .sort-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .dropdown-text,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon,
    .template-dir-search.template-name-results .results-options-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-text,
    .template-dir-search.template-name-results .mobile-facet-badge .facet-arrow,
    .template-dir-search.template-name-results .meta-row .chevron,
    .template-dir-eds.template-name-search .control-group > label,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon,
    .template-dir-eds.template-name-search .results-options-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-text,
    .template-dir-eds.template-name-search .mobile-facet-badge .facet-arrow,
    .template-dir-eds.template-name-search .meta-row .chevron {
    display: none !important;
  }

  .template-dir-search.template-name-results .sort-group .dropdown-mobile-icon,
    .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-search.template-name-results .results-options-icon,
    .template-dir-search.template-name-results .facet-filter-icon,
    .template-dir-search.template-name-results .meta-actions > .action-btn svg,
    .template-dir-search.template-name-results .results-count .arrow-btn svg,
    .template-dir-eds.template-name-search .sort-group .dropdown-mobile-icon,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .results-options-icon,
    .template-dir-eds.template-name-search .facet-filter-icon,
    .template-dir-eds.template-name-search .meta-actions > .action-btn svg,
    .template-dir-eds.template-name-search .results-count .arrow-btn svg {
    align-items: center !important;
            display: inline-flex !important;
            height: 16px !important;
            justify-content: center !important;
            width: 16px !important;
  }

  .template-dir-search.template-name-results .limit-group .limit-mobile-icon-text,
    .template-dir-eds.template-name-search .limit-group .limit-mobile-icon-text {
    color: var(--text-muted) !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            line-height: 1 !important;
  }
}

@media (min-width: 768px) and (max-width: 1016px) {
  .template-dir-search.template-name-results .meta-row,
    .template-dir-eds.template-name-search .meta-row {
    grid-template-columns: var(--results-mobile-checkbox-size) var(--results-mobile-control-size) var(--results-mobile-control-size) minmax(0, 1fr) var(--results-mobile-control-size) var(--results-mobile-control-size) var(--results-mobile-control-size) var(--results-mobile-control-size) auto !important;
  }

  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    display: none !important;
  }

  .template-dir-search.template-name-results .facet-toggle,
    .template-dir-eds.template-name-search .facet-toggle {
    align-items: center !important;
            display: inline-flex !important;
            gap: var(--space-2) !important;
            grid-column: 9 !important;
            grid-row: 1 !important;
            height: var(--results-mobile-control-size) !important;
            justify-content: center !important;
            margin: 0 !important;
            min-height: var(--results-mobile-control-size) !important;
            min-width: max-content !important;
            width: auto !important;
  }

  .template-dir-search.template-name-results .facet-toggle .facet-label-text,
    .template-dir-eds.template-name-search .facet-toggle .facet-label-text {
    display: inline !important;
            white-space: nowrap !important;
  }
}

@media (min-width: 1017px) {
  .template-dir-search.template-name-results .sort-group .custom-dropdown .dropdown-menu:not(.is-viewport-positioned),
    .template-dir-search.template-name-results .limit-group .custom-dropdown .dropdown-menu:not(.is-viewport-positioned),
    .template-dir-eds.template-name-search .sort-group .custom-dropdown .dropdown-menu:not(.is-viewport-positioned),
    .template-dir-eds.template-name-search .limit-group .custom-dropdown .dropdown-menu:not(.is-viewport-positioned) {
    width: 100% !important;
            min-width: 100% !important;
            max-width: 100% !important;
  }

  .template-dir-search.template-name-results .sort-group .custom-dropdown .dropdown-item,
    .template-dir-search.template-name-results .limit-group .custom-dropdown .dropdown-item,
    .template-dir-eds.template-name-search .sort-group .custom-dropdown .dropdown-item,
    .template-dir-eds.template-name-search .limit-group .custom-dropdown .dropdown-item {
    width: 100% !important;
            min-width: 0 !important;
            max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .template-dir-eds.template-name-search .results-header-container {
    padding-left: 0 !important;
            padding-right: 0 !important;
  }

  .template-dir-eds.template-name-search .results-meta-card,
    .template-dir-eds.template-name-search .meta-row {
    margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results .mobile-facet-btn,
    .template-dir-eds.template-name-search .mobile-facet-btn {
    background: transparent !important;
            border: 0 !important;
            border-radius: 8px !important;
            color: var(--text-muted) !important;
            padding: 0 !important;
  }

  .template-dir-search.template-name-results .mobile-facet-badge,
    .template-dir-eds.template-name-search .mobile-facet-badge {
    background: #fff !important;
            border: 1px solid var(--border-color) !important;
            border-radius: 8px !important;
            color: var(--text-muted) !important;
            box-shadow: none !important;
  }

  .template-dir-search.template-name-results .mobile-facet-badge:hover,
    .template-dir-search.template-name-results .mobile-facet-btn:hover .mobile-facet-badge,
    .template-dir-eds.template-name-search .mobile-facet-badge:hover,
    .template-dir-eds.template-name-search .mobile-facet-btn:hover .mobile-facet-badge {
    border-color: var(--primary) !important;
            color: var(--primary) !important;
  }
}

.template-dir-eds.template-name-search .result-row--authors {
  align-items: flex-start !important;
      flex-direction: column !important;
      gap: calc(var(--space-2) / 3) !important;
}

.template-dir-eds.template-name-search .result-row--authors .result-label {
  flex: 0 0 auto !important;
}

.template-dir-eds.template-name-search .result-row--authors .result-author-values {
  display: block !important;
      min-width: 0 !important;
      max-width: 80ch !important;
      overflow-wrap: anywhere !important;
}

.template-dir-eds.template-name-search .result-info-grid .result-value {
  display: block;
      max-width: 80ch;
      min-width: 0;
      overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .template-dir-eds.template-name-search .result-item-body {
    display: block !important;
            gap: 0 !important;
            min-width: 0 !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .result-content,
    .template-dir-eds.template-name-search .result-content-main,
    .template-dir-eds.template-name-search .result-title-row,
    .template-dir-eds.template-name-search .result-title-link,
    .template-dir-eds.template-name-search .result-info-grid,
    .template-dir-eds.template-name-search .result-info-grid .result-value,
    .template-dir-eds.template-name-search .result-row--authors .result-author-values {
    max-width: none !important;
            width: 100% !important;
  }
}

@media (max-width: 767px) {
  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    max-width: 12rem !important;
            min-width: 0 !important;
            width: 100% !important;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown {
    flex: 0 1 12rem !important;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger {
    align-items: center !important;
            background: #fff !important;
            border: 1px solid var(--border-color) !important;
            border-radius: 8px !important;
            box-shadow: none;
            color: #1f2937 !important;
            display: flex !important;
            flex: 0 1 auto !important;
            font-size: 0.95rem !important;
            font-weight: 500 !important;
            height: var(--select-height) !important;
            justify-content: space-between !important;
            line-height: 1.2 !important;
            margin: 0 !important;
            max-height: var(--select-height) !important;
            min-height: var(--select-height) !important;
            padding: 0 14px !important;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .trigger-content {
    align-items: center !important;
            color: inherit !important;
            display: flex !important;
            flex: 1 1 auto !important;
            gap: var(--space-2) !important;
            justify-content: flex-start !important;
            min-width: 0 !important;
            overflow: hidden !important;
            width: auto !important;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .trigger-content span {
    color: inherit !important;
            display: block !important;
            font-size: 0.95rem !important;
            font-weight: 500 !important;
            line-height: 1.2 !important;
            min-width: 0 !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
  }

  .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger svg,
    .template-dir-search.template-name-results #header .custom-dropdown.institution-dropdown .dropdown-trigger .fa {
    flex: 0 0 var(--icon-image-height) !important;
            font-size: var(--icon-image-height) !important;
            height: var(--icon-image-height) !important;
            line-height: 1 !important;
            max-height: var(--icon-image-height) !important;
            max-width: var(--icon-image-height) !important;
            min-height: var(--icon-image-height) !important;
            min-width: var(--icon-image-height) !important;
            width: var(--icon-image-height) !important;
  }
}

#header #institutionDropdown .dropdown-menu > a.dropdown-item {
  align-items: center !important;
      display: flex !important;
      height: auto !important;
      line-height: 1.25 !important;
      max-height: none !important;
      min-height: 2.5rem !important;
      padding: 0 !important;
      white-space: normal !important;
}

#header #institutionDropdown .dropdown-menu > a.dropdown-item > span:first-child {
  line-height: 1.25 !important;
      margin: 0.4rem 28px 0.4rem 16px !important;
      white-space: normal !important;
}

.account-list-toolbar .search-stats {
  display: flex;
      align-items: center;
      gap: var(--space-2);
}

.account-list-toolbar #selectAllCheckbox {
  accent-color: var(--primary);
      cursor: pointer;
      flex: 0 0 18px;
      height: 18px !important;
      margin: 0 !important;
      width: 18px !important;
}

#listOptionsDropdown .dropdown-menu {
  min-width: 12rem;
      width: max-content;
}

#listOptionsDropdown[data-dropdown-placement="below"] .dropdown-menu {
  margin-top: var(--space-2);
}

@media (min-width: 768px) {
  #listOptionsDropdown .results-options-text {
    display: inline !important;
  }
}

@media (max-width: 767.98px) {
  #listOptionsDropdown .results-options-text {
    display: none !important;
  }
}

.account-list-title-actions .delete-list-btn {
  background: #fff !important;
      border: 1px solid var(--border-color) !important;
      box-shadow: none !important;
      color: var(--danger, #c0392b) !important;
      outline: 0 !important;
      text-decoration: none !important;
      text-decoration-color: transparent !important;
}

.account-list-title-actions .delete-list-btn svg,
.account-list-title-actions .delete-list-btn .btn-text,
.account-list-title-actions .delete-list-btn * {
  background: transparent !important;
      color: inherit !important;
      text-decoration: none !important;
      text-decoration-color: transparent !important;
}

.account-list-title-actions .delete-list-btn:hover,
.account-list-title-actions .delete-list-btn:focus,
.account-list-title-actions .delete-list-btn:active {
  background: #fff !important;
      border-color: var(--danger, #c0392b) !important;
      box-shadow: none !important;
      color: var(--danger, #c0392b) !important;
      outline: 0 !important;
      text-decoration: none !important;
      text-decoration-color: transparent !important;
}

.account-list-title-actions .delete-list-btn:hover *,
.account-list-title-actions .delete-list-btn:focus *,
.account-list-title-actions .delete-list-btn:active *,
.account-list-title-actions .delete-list-btn:hover .btn-text,
.account-list-title-actions .delete-list-btn:focus .btn-text,
.account-list-title-actions .delete-list-btn:active .btn-text {
  background: transparent !important;
      color: inherit !important;
      text-decoration: none !important;
      text-decoration-color: transparent !important;
}

@media (max-width: 1016px) {
  a.btn,
    a.icon-link,
    a.action-link,
    a.action-btn,
    a.back-btn,
    a.dropdown-trigger,
    a.btn:hover,
    a.btn:focus,
    a.btn:active,
    a.icon-link:hover,
    a.icon-link:focus,
    a.icon-link:active,
    a.action-link:hover,
    a.action-link:focus,
    a.action-link:active,
    a.action-btn:hover,
    a.action-btn:focus,
    a.action-btn:active,
    a.back-btn:hover,
    a.back-btn:focus,
    a.back-btn:active,
    a.dropdown-trigger:hover,
    a.dropdown-trigger:focus,
    a.dropdown-trigger:active,
    a.result-action-link,
    a.result-action-link:hover,
    a.result-action-link:focus,
    a.result-action-link:active,
    a.btn .btn-text,
    a.btn .icon-link__label,
    a.icon-link .icon-link__label,
    a.action-link .icon-link__label,
    a.action-btn .icon-link__label,
    a.back-btn .btn-text {
    text-decoration: none !important;
            text-decoration-color: transparent !important;
  }

  .template-dir-search.template-name-results a,
    .template-dir-search.template-name-results a:hover,
    .template-dir-search.template-name-results a:focus,
    .template-dir-search.template-name-results a:active,
    .template-dir-eds.template-name-search a,
    .template-dir-eds.template-name-search a:hover,
    .template-dir-eds.template-name-search a:focus,
    .template-dir-eds.template-name-search a:active {
    text-decoration: none !important;
            text-decoration-color: transparent !important;
  }

  .account-list-page .account-list-result .result-title-link,
    .account-list-page .account-list-result .result-title-link:hover,
    .account-list-page .account-list-result .result-title-link:focus,
    .account-list-page .account-list-result .result-title-link:active,
    .account-list-page .account-list-result .result-author-link,
    .account-list-page .account-list-result .result-author-link:hover,
    .account-list-page .account-list-result .result-author-link:focus,
    .account-list-page .account-list-result .result-author-link:active {
    text-decoration: none !important;
            text-decoration-color: transparent !important;
  }

  .results-options-menu,
    #listOptionsDropdown {
    flex: 0 0 var(--button-height) !important;
            max-width: var(--button-height) !important;
            min-width: var(--button-height) !important;
            width: var(--button-height) !important;
  }

  .results-options-menu .results-options-trigger,
    #listOptionsDropdown .results-options-trigger {
    aspect-ratio: 1 / 1;
            box-sizing: border-box;
            flex: 0 0 var(--button-height) !important;
            height: var(--button-height) !important;
            inline-size: var(--button-height) !important;
            justify-content: center;
            line-height: 1;
            max-inline-size: var(--button-height) !important;
            min-inline-size: var(--button-height) !important;
            min-height: var(--button-height) !important;
            min-width: var(--button-height) !important;
            max-width: var(--button-height) !important;
            padding: 0 !important;
            width: var(--button-height) !important;
  }

  .results-options-menu .results-options-trigger .trigger-content,
    #listOptionsDropdown .results-options-trigger .trigger-content {
    display: flex !important;
            flex: 0 0 auto !important;
            gap: 0 !important;
            justify-content: center !important;
            width: auto !important;
  }

  .results-options-menu .results-options-text,
    #listOptionsDropdown .results-options-text {
    display: none !important;
  }
}

.account-nav-dropdown-fullwidth {
  width: 100%;
}

.account-nav-dropdown-fullwidth .knav-hover-dropdown__trigger {
  width: 100%;
}

.template-dir-error #content {
  justify-content: center;
      padding: var(--space-8) var(--space-5);
}

.error-page {
  align-items: center;
      display: flex;
      justify-content: center;
      width: 100%;
}

.error-page__card {
  align-items: center;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-md);
      display: flex;
      flex-direction: column;
      max-width: 38rem;
      padding: var(--space-10) var(--space-8);
      text-align: center;
      width: 100%;
}

.error-page__icon {
  align-items: center;
      background: var(--primary-light);
      border-radius: var(--radius-full);
      color: var(--primary);
      display: flex;
      height: 5rem;
      justify-content: center;
      margin-bottom: var(--space-4);
      width: 5rem;
}

.error-page__code {
  color: var(--primary);
      font-size: var(--text-sm);
      font-weight: 700;
      letter-spacing: 0.12em;
      margin: 0 0 var(--space-2);
}

.error-page h1 {
  color: var(--text-main);
      font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
      line-height: 1.2;
      margin: 0;
}

.error-page__description {
  color: var(--text-muted);
      font-size: var(--text-lg);
      margin: var(--space-4) 0 var(--space-8);
      max-width: 32rem;
}

.error-page__home {
  align-items: center;
      background: var(--primary);
      border: 1px solid var(--primary);
      border-radius: var(--radius-sm);
      color: #fff;
      display: inline-flex;
      font-weight: 600;
      gap: var(--space-2);
      justify-content: center;
      min-height: 2.75rem;
      padding: var(--space-2) var(--space-5);
}

.error-page__home:hover,
.error-page__home:focus {
  background: var(--primary-hover);
      border-color: var(--primary-hover);
      color: #fff;
}

@media (max-width: 767px) {
  .template-dir-error #content {
    padding: var(--space-5) var(--space-4);
  }

  .error-page__card {
    padding: var(--space-8) var(--space-5);
  }

  .error-page__description {
    font-size: var(--text-base);
  }
}

.template-dir-admin #content:has(> .mainbody),
.template-dir-admin #content:has(> .sidebar),
.template-dir-admin #content > .row {
  align-items: flex-start;
      display: flex;
      gap: var(--space-6);
      margin-left: 0;
      margin-right: 0;
      width: 100%;
}

.template-dir-admin #content > .mainbody,
.template-dir-admin #content > [class*="col-"]:not(.sidebar),
.template-dir-admin #content > .row > .mainbody,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) {
  background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      box-sizing: border-box;
      flex: 1 1 auto;
      float: none;
      left: auto;
      margin: 0;
      min-width: 0;
      order: 2;
      padding: var(--space-6);
      position: static;
      right: auto;
      width: auto;
}

.template-dir-admin #content > .sidebar,
.template-dir-admin #content > .row > .sidebar {
  box-sizing: border-box;
      flex: 0 0 min(21rem, 100%);
      float: none;
      left: auto;
      margin: 0;
      min-width: 0;
      order: 1;
      padding: 0;
      position: static;
      right: auto;
      width: min(21rem, 100%);
}

.template-dir-admin .admin-nav-card {
  gap: var(--space-4);
      padding: var(--space-3) var(--space-4);
}

.template-dir-admin #content > .row.admin-home-layout > [class*="col-"].admin-index-content,
.template-dir-admin #content > .row.admin-social-layout > [class*="col-"].admin-social-content,
.template-dir-admin #content > .row.admin-config-layout > [class*="col-"].admin-config-content,
.template-dir-admin #content > .row.admin-maintenance-layout > [class*="col-"].admin-maintenance-content {
  background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      padding: 0;
}

.template-dir-admin .admin-index-grid,
.template-dir-admin .admin-social-grid {
  align-items: stretch;
}

.template-dir-admin .admin-social-grid {
  grid-auto-rows: 1fr;
}

.template-dir-admin .admin-index-card,
.template-dir-admin .admin-social-card {
  display: flex;
      margin: 0;
}

.template-dir-admin .admin-social-card {
  flex-direction: column;
}

.template-dir-admin .admin-social-card .record-description-table {
  height: auto;
      width: 100%;
}

.template-dir-admin .admin-tags-statistics-card {
  margin: 0;
}

.template-dir-admin #content > .row.admin-home-layout > [class*="col-"].admin-index-content .record-description-table,
.template-dir-admin #content > .row.admin-social-layout > [class*="col-"].admin-social-content .record-description-table {
  margin: 0;
}

.template-dir-admin .admin-nav-card h2 {
  overflow-wrap: anywhere;
}

.template-dir-admin .admin-mobile-nav-select {
  margin-bottom: var(--space-3);
}

.template-dir-admin .admin-index-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 1920px) {
  .template-dir-admin .admin-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.template-dir-admin .sidebar:has(.account-mobile-nav-dropdown.open) {
  position: relative;
      z-index: 20200;
}

body.template-dir-admin.template-name-config {
  overflow-x: clip;
}

.template-dir-admin #content > .admin-config-layout {
  min-width: 0;
}

.template-dir-admin #content > .admin-config-layout > .admin-config-content {
  max-width: 100%;
      min-width: 0;
}

.template-dir-admin .admin-config-content {
  overflow-wrap: anywhere;
}

.template-dir-admin .admin-config-card-list {
  display: flex;
      flex-direction: column;
      gap: var(--space-5);
}

.template-dir-admin .admin-config-card {
  background: #fff;
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      overflow: hidden;
}

.admin-config-card > .admin-config-card__header {
  align-items: center;
      background-color: #f9fafb !important;
      border-bottom: 1px solid var(--border-color) !important;
      box-sizing: border-box;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: var(--space-3);
      padding: var(--space-3) var(--space-4);
}

.admin-config-card > .admin-config-card__header h3 {
  color: inherit;
      font: inherit;
      margin: 0;
}

.template-dir-admin .admin-config-card__body {
  padding: var(--space-5);
}

.template-dir-admin .admin-maintenance-card__body {
  padding: 0;
}

.template-dir-admin .admin-maintenance-section {
  padding: var(--space-5);
}

.template-dir-admin .admin-maintenance-section + .admin-maintenance-section {
  border-top: 1px solid var(--border-color);
}

.template-dir-admin .admin-maintenance-section__copy {
  margin-bottom: var(--space-4);
}

.template-dir-admin .admin-maintenance-section__copy h4 {
  color: var(--text-main);
      font-size: var(--text-lg);
      line-height: 1.3;
      margin: 0 0 var(--space-2);
}

.template-dir-admin .admin-maintenance-section__copy p {
  color: var(--text-muted);
      margin: 0;
      max-width: 52rem;
}

.template-dir-admin .admin-maintenance-form {
  align-items: end;
      display: grid;
      gap: var(--space-4);
      grid-template-columns: minmax(10rem, 14rem);
      justify-content: start;
}

.template-dir-admin .admin-maintenance-field {
  display: flex;
      flex-direction: column;
      gap: var(--space-2);
}

.template-dir-admin .admin-maintenance-field > label {
  color: var(--text-main);
      font-weight: 700;
      margin: 0;
}

.template-dir-admin .admin-maintenance-number-control {
  align-items: center;
      display: flex;
      gap: var(--space-2);
}

.template-dir-admin .admin-maintenance-number-control .form-control {
  margin: 0;
      width: 7rem;
}

.template-dir-admin .admin-maintenance-form .btn,
.template-dir-admin .admin-maintenance-cache-form .btn {
  justify-content: center;
      min-width: 9rem;
}

.template-dir-admin .admin-maintenance-form .admin-maintenance-delete:hover,
.template-dir-admin .admin-maintenance-form .admin-maintenance-delete:focus,
.template-dir-admin .admin-maintenance-form .admin-maintenance-delete:active {
  background: rgba(192, 57, 43, 0.08);
      border-color: var(--danger, #c0392b);
      color: var(--danger, #c0392b);
      text-decoration: none;
}

.template-dir-admin .admin-maintenance-form .admin-maintenance-delete:focus-visible {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
      outline: 0;
}

.template-dir-admin .admin-maintenance-cache-form {
  align-items: flex-start;
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
}

.template-dir-admin .admin-maintenance-cache-form fieldset {
  border: 0;
      margin: 0;
      min-width: 0;
      padding: 0;
      width: 100%;
}

.template-dir-admin .admin-maintenance-cache-list {
  display: grid;
      gap: var(--space-2) var(--space-5);
      grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
      width: 100%;
}

.template-dir-admin .admin-maintenance-cache-option {
  align-items: center;
      color: var(--text-main);
      display: flex;
      gap: var(--space-2);
      margin: 0;
      min-width: 0;
      padding: var(--space-1) 0;
}

.template-dir-admin .admin-maintenance-cache-option input {
  flex: 0 0 auto;
      margin: 0;
}

.template-dir-admin .admin-maintenance-cache-option span {
  overflow-wrap: anywhere;
}

.template-dir-admin .admin-config-card__body > :last-child,
.template-dir-admin .admin-config-card__body form > :last-child {
  margin-bottom: 0;
}

.template-dir-admin .admin-config-card__actions {
  margin-top: var(--space-4);
}

.template-dir-admin .admin-config-temporal-form,
.template-dir-admin .admin-config-temporal-form .admin-config-card__actions {
  margin-top: var(--space-5);
}

.template-dir-admin .admin-config-warning {
  background: #fef2f2;
      border: 1px solid #fecaca;
      border-radius: var(--radius-sm);
      color: #991b1b;
      margin-bottom: var(--space-4);
      padding: var(--space-3) var(--space-4);
}

.template-dir-admin .admin-config-warning > :last-child {
  margin-bottom: 0;
}

.template-dir-admin .admin-config-warning--spaced {
  margin-top: var(--space-4);
}

.template-dir-admin .admin-config-holidays-table-wrapper {
  margin-bottom: 0;
      max-width: 100%;
      overflow-x: auto;
}

.template-dir-admin .admin-config-holidays-card__body {
  padding: 0;
}

.template-dir-admin .admin-config-holidays-section {
  padding: var(--space-5);
}

.template-dir-admin .admin-config-holidays-section + .admin-config-holidays-section {
  border-top: 1px solid var(--border-color);
}

.template-dir-admin .admin-config-holidays-section > h4 {
  color: var(--text-main);
      font-size: var(--text-lg);
      line-height: 1.3;
      margin: 0 0 var(--space-4);
}

.template-dir-admin .admin-config-holidays-table {
  border-collapse: collapse;
      width: 100%;
}

.template-dir-admin .admin-config-holiday-period {
  font-feature-settings: "tnum" 1;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
}

.template-dir-admin .admin-config-holidays-table td:last-child {
  text-align: right;
      white-space: nowrap;
}

.template-dir-admin .admin-config-holiday-delete-form {
  display: inline-flex;
      margin: 0;
}

.template-dir-admin .admin-config-holiday-add-action {
  display: flex;
      margin-top: var(--space-4);
}

.template-dir-admin .admin-config-holiday-add-action .btn {
  align-items: center;
      display: inline-flex;
      gap: var(--space-2);
}

.template-dir-admin .admin-config-holiday-modal-form .form-group {
  margin-bottom: 0;
}

.template-dir-admin .admin-config-holiday-modal-help {
  color: var(--text-muted);
      font-size: var(--text-sm);
      margin: var(--space-3) 0 0;
}

.template-dir-admin .admin-config-modal-validation-message {
  font-size: var(--text-sm);
      margin: var(--space-3) 0 0;
}

#knav-katalog-modal .admin-config-holiday-modal-form .form-control.is-invalid,
#knav-katalog-modal .admin-config-holiday-modal-form .form-control.is-invalid:focus,
#knav-katalog-modal .admin-study-room-mode-modal-form .form-control.is-invalid,
#knav-katalog-modal .admin-study-room-mode-modal-form .form-control.is-invalid:focus {
  border-color: var(--danger, #c0392b) !important;
      box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.18) !important;
      outline-color: var(--danger, #c0392b) !important;
}

#knav-katalog-modal .admin-config-holiday-modal-form .has-validation-error .control-label,
#knav-katalog-modal .admin-study-room-mode-modal-form .has-validation-error .control-label {
  color: var(--danger, #c0392b) !important;
}

.template-dir-admin button.admin-config-inline-action {
  background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      height: auto !important;
      justify-content: flex-start;
      max-height: none;
      min-height: 0;
      padding: 0;
}

.template-dir-admin button.admin-config-inline-action:hover,
.template-dir-admin button.admin-config-inline-action:focus,
.template-dir-admin button.admin-config-inline-action:active {
  background: transparent;
      box-shadow: none;
      text-decoration: none;
}

.template-dir-admin button.admin-config-inline-action:focus-visible {
  border-radius: 2px;
      outline: 2px solid currentColor;
      outline-offset: 3px;
}

.template-dir-admin button.admin-config-inline-action.save-link {
  border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      min-height: var(--button-height);
      padding: 0 var(--space-3);
}

.template-dir-admin button.admin-config-inline-action.save-link:hover,
.template-dir-admin button.admin-config-inline-action.save-link:focus,
.template-dir-admin button.admin-config-inline-action.save-link:active {
  background: rgba(128, 0, 0, 0.08);
      border-color: var(--primary);
      color: var(--primary);
}

.template-dir-admin .admin-config-inline-action svg {
  flex: 0 0 14px;
      height: 14px;
      width: 14px;
}

.template-dir-admin .admin-config-section-actions {
  margin-top: var(--space-4);
}

.template-dir-admin .admin-config-lease-options {
  align-items: center;
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-3) var(--space-5);
}

.template-dir-admin .admin-config-lease-options .radio-inline {
  align-items: center;
      display: inline-flex;
      gap: var(--space-2);
      line-height: 1.25;
      margin: 0;
      padding: 0;
}

.template-dir-admin .admin-config-lease-options input[type="radio"] {
  accent-color: var(--primary);
      flex: 0 0 18px;
      height: 18px;
      margin: 0;
      position: static;
      width: 18px;
}

.template-dir-admin .admin-study-room-modes-table {
  margin: 0;
      width: 100%;
}

.template-dir-admin .admin-study-room-modes-table th,
.template-dir-admin .admin-study-room-modes-table td {
  padding: var(--space-3) var(--space-4) !important;
      vertical-align: middle;
}

.template-dir-admin .admin-study-room-modes-table thead th:first-child,
.template-dir-admin .admin-study-room-modes-table tbody th:first-child {
  padding-left: var(--space-4) !important;
}

.template-dir-admin .admin-study-room-mode-name {
  align-items: center;
      display: inline-flex;
      flex-wrap: wrap;
      gap: var(--space-2);
}

.template-dir-admin .admin-study-room-mode-code {
  color: var(--text-muted);
      display: block;
      font-family: monospace;
      font-weight: 400;
      margin-top: var(--space-1);
}

.template-dir-admin .admin-study-room-active-badge {
  background: rgba(128, 0, 0, 0.1);
      border-radius: var(--radius-full);
      color: var(--primary);
      display: inline-flex;
      font-size: var(--text-xs);
      font-weight: 700;
      padding: var(--space-1) var(--space-2);
}

.template-dir-admin .admin-study-room-mode-actions {
  white-space: nowrap;
}

.template-dir-admin .admin-study-room-mode-actions > .admin-config-inline-action,
.template-dir-admin .admin-study-room-mode-actions > .admin-config-holiday-delete-form {
  margin-right: var(--space-3);
}

.template-dir-admin .admin-study-room-mode-actions > :last-child {
  margin-right: 0;
}

.template-dir-admin .admin-study-room-mode-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-dir-admin .admin-study-room-mode-modal-form .admin-study-room-mode-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-dir-admin .admin-study-room-mode-modal-form .form-group {
  margin-bottom: 0;
}

.template-dir-admin .admin-study-room-mode-slots-field {
  grid-column: 1 / -1;
}

.template-dir-admin .admin-study-room-mode-slots-field textarea {
  min-height: 6rem;
      resize: vertical;
}

.template-dir-admin .admin-study-room-mode-slots-field small {
  color: var(--text-muted);
      display: block;
      margin-top: var(--space-2);
}

.studyrooms-mode-summary {
  align-items: center;
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-2);
}

.studyrooms-mode-summary span {
  background: rgba(128, 0, 0, 0.08);
      border-radius: var(--radius-full);
      color: var(--primary);
      font-weight: 600;
      padding: var(--space-1) var(--space-2);
}

.template-dir-admin .admin-config-field-grid {
  display: grid;
      gap: var(--space-4);
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: 100%;
      width: 100%;
}

.template-dir-admin .admin-config-field-grid--dates {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.template-dir-admin .admin-config-field-grid .form-control {
  max-width: 100%;
      width: 100%;
}

.template-dir-admin .admin-config-content table {
  max-width: 100%;
}

.template-dir-admin .mainbody > h2,
.template-dir-admin #content > [class*="col-"]:not(.sidebar) > h2,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) > h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
      line-height: 1.15;
      margin: 0 0 var(--space-5);
}

.template-dir-admin .mainbody > h3,
.template-dir-admin #content > [class*="col-"]:not(.sidebar) > h3,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) > h3 {
  font-size: var(--text-xl);
      line-height: 1.25;
      margin: var(--space-6) 0 var(--space-3);
}

.template-dir-admin .mainbody > h2 + h3,
.template-dir-admin #content > [class*="col-"]:not(.sidebar) > h2 + h3,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) > h2 + h3 {
  margin-top: 0;
}

.template-dir-admin .mainbody .table,
.template-dir-admin #content > [class*="col-"]:not(.sidebar) .table,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) .table {
  margin-bottom: var(--space-5);
      width: 100%;
}

.template-dir-admin .mainbody form,
.template-dir-admin #content > [class*="col-"]:not(.sidebar) form,
.template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) form {
  max-width: 100%;
}

.template-dir-admin .toolbar {
  border-bottom: 1px solid var(--border-color);
      margin-bottom: var(--space-5);
      padding-bottom: var(--space-3);
}

.template-dir-admin .toolbar .nav-pills {
  display: flex;
      flex-wrap: wrap;
      gap: var(--space-2);
}

.template-dir-admin .toolbar .nav-pills > li > a {
  border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      color: var(--text-main);
      padding: var(--space-2) var(--space-3);
}

.template-dir-admin .toolbar .nav-pills > li.active > a,
.template-dir-admin .toolbar .nav-pills > li > a:hover {
  background: var(--primary-light);
      border-color: var(--primary);
      color: var(--primary);
}

@media (max-width: 1016px) {
  .template-dir-admin #content:has(> .mainbody),
    .template-dir-admin #content:has(> .sidebar),
    .template-dir-admin #content > .row {
    flex-direction: column;
            gap: var(--space-4);
  }

  .template-dir-admin #content > .sidebar,
    .template-dir-admin #content > .row > .sidebar {
    flex-basis: auto;
            order: 1;
            width: 100%;
  }

  .template-dir-admin #content > .mainbody,
    .template-dir-admin #content > [class*="col-"]:not(.sidebar),
    .template-dir-admin #content > .row > .mainbody,
    .template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) {
    order: 2;
            overflow-x: auto;
            width: 100%;
  }

  .template-dir-admin .admin-nav-card {
    gap: 0;
  }

  .template-dir-admin .admin-nav-group {
    display: none;
  }

  .template-dir-admin .admin-mobile-nav-select {
    display: block;
  }
}

@media (min-width: 1017px) {
  body.template-dir-admin #content {
    box-sizing: border-box;
            margin-left: auto;
            margin-right: auto;
            max-width: 1450px;
            padding-left: 0;
            padding-right: 0;
            width: min(calc(100% - (var(--space-5) * 2)), 1450px);
  }

  .template-dir-admin #content > .row {
    box-sizing: border-box;
            justify-content: flex-start;
            margin-left: calc(-1 * var(--space-12));
            margin-right: 0;
            padding-left: 0;
            padding-right: 0;
            transform: none;
            width: calc(100% + var(--space-12));
  }

  .template-dir-admin .admin-mobile-nav-select {
    display: none;
  }

  .template-dir-admin .admin-nav-group {
    display: flex;
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  body.template-dir-admin #content {
    max-width: 1020px;
            width: min(calc(100% - (var(--space-5) * 2)), 1020px);
  }

  .account-dashboard-sidebar {
    width: min(17.85rem, 100%);
  }

  .template-dir-admin #content > .sidebar,
    .template-dir-admin #content > .row > .sidebar {
    flex-basis: min(17.85rem, 100%);
            width: min(17.85rem, 100%);
  }
}

@media (max-width: 767px) {
  .template-dir-admin #content > .mainbody,
    .template-dir-admin #content > [class*="col-"]:not(.sidebar),
    .template-dir-admin #content > .row > .mainbody,
    .template-dir-admin #content > .row > [class*="col-"]:not(.sidebar) {
    padding: var(--space-4);
  }

  .template-dir-admin #content > .row.admin-home-layout > [class*="col-"].admin-index-content,
    .template-dir-admin #content > .row.admin-social-layout > [class*="col-"].admin-social-content,
    .template-dir-admin #content > .row.admin-config-layout > [class*="col-"].admin-config-content,
    .template-dir-admin #content > .row.admin-maintenance-layout > [class*="col-"].admin-maintenance-content {
    padding: 0;
  }

  .template-dir-admin .admin-maintenance-form {
    align-items: stretch;
            grid-template-columns: minmax(0, 1fr);
  }

  .template-dir-admin .admin-maintenance-form .btn,
    .template-dir-admin .admin-maintenance-cache-form .btn {
    width: 100%;
  }

  .template-dir-admin .admin-config-field-grid,
    .template-dir-admin .admin-config-field-grid--dates,
    .template-dir-admin .admin-study-room-mode-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-dir-admin .admin-nav-card h2 {
    font-size: var(--text-2xl);
  }

  .template-dir-admin .admin-nav-card__header,
    .template-dir-admin .account-nav-card__eyebrow {
    font-size: var(--text-sm);
  }
}

@media (min-width: 1017px) and (max-width: 1439px) {
  .template-dir-eds.template-name-search .results-meta-card {
    gap: 0;
  }

  .template-dir-eds.template-name-search .results-body {
    gap: var(--space-5);
  }

  .template-dir-eds.template-name-search .sidebar-wrapper,
    .template-dir-eds.template-name-search .sidebar,
    .template-dir-eds.template-name-search .side-facets-container,
    .template-dir-eds.template-name-search .facet-sidebar {
    flex-basis: 16rem;
            width: 16rem;
  }

  .template-dir-eds.template-name-search .meta-row {
    align-items: center !important;
            display: flex !important;
            flex-wrap: wrap !important;
            gap: var(--space-3) !important;
            justify-content: space-between !important;
            position: static !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .meta-left,
    .template-dir-eds.template-name-search .meta-right,
    .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .meta-controls,
    .template-dir-eds.template-name-search .meta-actions {
    align-items: center !important;
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: var(--space-3) !important;
            position: static !important;
  }

  .template-dir-eds.template-name-search .meta-left {
    flex: 1 1 auto !important;
            min-width: 0 !important;
            order: 1 !important;
  }

  .template-dir-eds.template-name-search .meta-right {
    flex: 0 0 auto !important;
            justify-content: flex-end !important;
            margin-left: auto !important;
            order: 2 !important;
  }

  .template-dir-eds.template-name-search .mobile-facet-btn {
    display: none !important;
  }

  .template-dir-eds.template-name-search .facet-toggle {
    align-items: center !important;
            display: inline-flex !important;
            flex: 0 0 auto !important;
            gap: var(--space-2) !important;
            margin: 0 !important;
            position: static !important;
            transform: none !important;
            width: auto !important;
  }

  .template-dir-eds.template-name-search .facet-toggle .facet-label-text,
    .template-dir-eds.template-name-search .sort-group .dropdown-text,
    .template-dir-eds.template-name-search .limit-group .dropdown-text,
    .template-dir-eds.template-name-search .meta-controls .chevron {
    display: inline !important;
            white-space: nowrap !important;
  }

  .template-dir-eds.template-name-search .results-count > .results-count-text {
    display: none !important;
  }

  .template-dir-eds.template-name-search .results-count-text--mobile {
    display: block !important;
            flex: 0 0 100% !important;
            margin: var(--space-3) 0 0 !important;
            order: 3 !important;
            text-align: left !important;
            white-space: normal !important;
            width: 100% !important;
  }

  .template-dir-eds.template-name-search .results-count,
    .template-dir-eds.template-name-search .control-group label,
    .template-dir-eds.template-name-search .meta-row .dropdown-trigger,
    .template-dir-eds.template-name-search .facet-label-text {
    font-size: 0.85rem;
            line-height: 1.2;
  }

  .template-dir-eds.template-name-search .results-count .arrow-btn,
    .template-dir-eds.template-name-search .meta-actions > .action-btn {
    width: 2.125rem;
            height: 2.125rem;
            min-width: 2.125rem;
            border-radius: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .results-count .arrow-btn svg,
    .template-dir-eds.template-name-search .meta-actions > .action-btn svg,
    .template-dir-eds.template-name-search .meta-actions > .action-btn .icon {
    width: 1.0625rem;
            height: 1.0625rem;
            font-size: 1.0625rem;
  }

  .template-dir-eds.template-name-search .meta-row .dropdown-trigger {
    min-height: 2.125rem;
            padding: 0.425rem 0.6375rem;
            border-radius: 0.425rem;
  }

  .template-dir-eds.template-name-search .meta-row .custom-dropdown.min-dropdown {
    min-width: 4.25rem !important;
  }

  .template-dir-eds.template-name-search .sort-group .custom-dropdown.min-dropdown {
    min-width: 8.925rem !important;
  }

  .template-dir-eds.template-name-search #selectAllCheckbox {
    width: 0.95625rem !important;
            height: 0.95625rem !important;
            margin-right: 0.425rem !important;
  }

  .template-dir-eds.template-name-search .switch-container {
    transform: scale(0.85);
            transform-origin: left center;
  }

  .template-dir-eds.template-name-search .result-row {
    font-size: 0.825rem !important;
  }

  .template-dir-eds.template-name-search .result-info-grid {
    gap: calc(var(--space-2) / 2);
  }

  .template-dir-eds.template-name-search .result-title-link {
    font-size: 0.9rem;
  }

  .template-dir-eds.template-name-search .result-row--authors {
    align-items: flex-start !important;
            flex-direction: row !important;
            gap: var(--space-2) !important;
  }
}
