/*
 Theme Name:   EU TWD THEME
 Theme URI:    https://generatepress.com
 Description:  Stable Theme
 Author:       Koppany Eri
 Author URI:   https://kopreon.com
 Template:     generatepress
 Version:      0.1
*/
.notices-header-bg {
    background-color: var(--base)!important;
    position: sticky;
    top: 0; /* ha van fix fejléc a témában, írd át pl. 60px-re */
    z-index: 20;
}
.notices-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffffff;
    border-radius: 40px 40px 0px 0px;
    color: var(--contrast-3)!important;
    font-size: 14px!important;
    font-weight: 500!important;
    text-transform: uppercase!important;
    background-color: var(--base-2)!important;
    padding: 20px 0px!important;
}

.notices-header__col {
    /* a card-col-1..4 width-jei már megvannak – azok igazítanak */
}

.notices-header__sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.sort-icons {
    display: inline-flex;
    flex-direction: column;
    line-height: 0.7;
    font-size: 9px;
    opacity: 0.6;
    vertical-align: middle;
}

.notices-header__sort.is-active .sort-icons {
    opacity: 1;
}

.sort-icon {
    display: block;
    opacity: 0.5;
}

.sort-icon--active {
    opacity: 1;
}

.notices-header__sort:hover {
    opacity: 0.75;
}

.cpv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 0;
}

.cpv-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--base-3, #f0f0f0);
    border: 1px solid var(--contrast-3, #ccc);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 13px;
}

.cpv-chip button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    color: #666;
}

.cpv-suggestions {
    position: absolute;
    z-index: 100;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 240px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cpv-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.cpv-suggestion-item:hover {
    background: #f5f5f5;
}

.filter-field--cpv {
    position: relative;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  display: none !important;
}

.modal-overlay.is-open {
  display: flex !important;
}

.modal-body {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 120px);
  width: 720px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  background: var(--base, #fff);
}

.modal-header,
.modal-footer {
  flex-shrink: 0;
}

.modal-content {
  flex: 1;
  overflow-y: auto;
}

.modal-close {
  cursor: pointer;
  text-decoration: none;
}