/* Minimal styling so your custom theme can “own” typography/colors */

/* Filters (mobile-first) */
.zl-press__filters { margin: 12px 0 18px; }
.zl-press__filters-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
}
.zl-press__field { display: grid; gap: 6px; }
.zl-press__label { font-size: 12px; opacity: .75; }
.zl-press__input,
.zl-press__select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 6px;
  background: #fff;
}
.zl-press__button {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

/* Wider screens: inline like old UI */
@media (min-width: 768px) {
  .zl-press__filters-row {
    grid-template-columns: 240px 180px 140px;
    justify-content: start;
  }
  .zl-press__button { width: auto; }
}

/* List */
.zl-press__list { list-style: none; padding: 0; margin: 0; }
.zl-press__item { border-bottom: 1px solid rgba(0,0,0,.08); }
.zl-press__link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  text-decoration: none;
}
.zl-press__title { font-weight: 600; }
.zl-press__date { opacity: .7; white-space: nowrap; }

/* Pagination */
.zl-press__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 8px;
}
.zl-press__page-link {
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  text-decoration: none;
}
.zl-press__page-link.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.zl-press__page-status { opacity: .75; font-size: 14px; }

/* Modal (mobile friendly) */
.zl-press-modal[aria-hidden="true"] { display: none; }
.zl-press-modal { position: fixed; inset: 0; z-index: 9999; }
.zl-press-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }

.zl-press-modal__dialog {
  position: relative;
  width: calc(100% - 24px);
  max-height: calc(100% - 24px);
  margin: 12px auto;
  background: #fff;
  border-radius: 12px;
  overflow: auto;
  padding: 16px 16px 22px;
}

/* Desktop modal sizing */
@media (min-width: 768px) {
  .zl-press-modal__dialog {
    width: min(980px, calc(100% - 32px));
    max-height: calc(100% - 64px);
    margin: 32px auto;
    padding: 20px 20px 28px;
  }
}

.zl-press-modal__close {
  position: sticky;
  top: 0;
  float: right;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

body.zl-press-modal-open { overflow: hidden; }

.zl-press-article__meta { opacity: .7; margin-bottom: 16px; }