.efpw {
  --efpw-cols: 3;
  --efpw-gap: 18px;
  --efpw-border: rgba(0, 0, 0, 0.08);
  --efpw-bg: #ffffff;
  --efpw-surface: #f2f2f2;
  --efpw-text: #1c1c1c;
  --efpw-muted: rgba(0, 0, 0, 0.55);
  --efpw-accent: #b18a2b;
  --efpw-panel1: #b18a2b;
  --efpw-panel2: #9a7423;
}

.efpw__filters--panel {
  background: linear-gradient(180deg, var(--efpw-panel1), var(--efpw-panel2));
  border-radius: 0;
  padding: 26px 26px 22px;
  margin-bottom: 22px;
}

.efpw__filters--fullwidth {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.efpw__content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.efpw__pubs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.efpw__pubs::-webkit-scrollbar {
  height: 8px;
}

.efpw__pubs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}

.efpw__pub {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;
  min-height: 78px;
  flex: 0 0 auto;
  min-width: 160px;
}

.efpw__pubLogo {
  max-height: 26px;
  width: auto;
  display: block;
}

.efpw__pubTitle {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
  line-height: 1.2;
}

.efpw__pubSub {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.2;
}

/* separators (desktop only) */
.efpw__pubSep {
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, 0.55);
  flex: 0 0 1px;
}

.efpw__pubSep:last-child {
  display: none;
}

.efpw__filtersHead {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
  color: #fff;
}

.efpw__logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.efpw__headTitle {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.efpw__headSub {
  font-size: 12px;
  opacity: 0.85;
}

.efpw__bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .efpw__bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

.efpw__label {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin: 0 0 6px;
}

.efpw__select,
.efpw__input {
  width: 100%;
  border: 1px solid var(--efpw-border);
  background: #fff;
  color: #1c1c1c;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

.efpw__filters--panel .efpw__label {
  color: rgba(255, 255, 255, 0.9);
}

.efpw__filters--panel .efpw__select,
.efpw__filters--panel .efpw__input {
  border: 0;
  border-radius: 0;
  height: 38px;
  padding: 8px 12px;
  background: #ffffff !important;
}

.efpw__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 767px) {
  .efpw__row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

.efpw__help {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.25;
}

.efpw__filters--panel .efpw__label {
  margin-bottom: 2px;
}

.efpw__status {
  justify-self: end;
  font-size: 12px;
  color: var(--efpw-muted);
  min-height: 18px;
}

.efpw__filters--panel .efpw__status {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .efpw__status {
    justify-self: start;
  }
}

.efpw__grid {
  display: grid;
  grid-template-columns: repeat(var(--efpw-cols), minmax(0, 1fr));
  gap: var(--efpw-gap);
}

@media (max-width: 1024px) {
  .efpw__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .efpw__grid {
    grid-template-columns: 1fr;
  }
}

.efpw-card {
  border: 0;
  background: var(--efpw-surface);
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.efpw-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.efpw-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.efpw-card__thumb--placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.efpw-card__body {
  padding: 18px 18px 16px;
  display: grid;
  gap: 12px;
  color: var(--efpw-text);
}

.efpw-card__meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--efpw-muted);
}

.efpw-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.efpw-card__title a {
  text-decoration: none;
  color: var(--efpw-accent);
}

.efpw-card__excerpt {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.7);
}

.efpw-card__share {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.efpw-share {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--efpw-accent);
  text-decoration: none;
}

.efpw-share svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.efpw-share:hover {
  opacity: 0.85;
}

.efpw__pager {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.efpw__sentinel {
  height: 1px;
}

.efpw__btn {
  border: 1px solid var(--efpw-border);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.efpw__btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.efpw--loading {
  opacity: 0.8;
}

.efpw-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed var(--efpw-border);
  border-radius: 14px;
  opacity: 0.85;
  text-align: center;
}

