#epharo-news-list{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:20px 20px 82px;
  font-family:inherit;
}

.epharo-news-back{
  display:inline-flex;
  align-items:center;
  margin-bottom:24px;
  color:#173b2a;
  text-decoration:none;
  font-weight:750;
  font-size:18px;
  line-height:1.2;
}

.epharo-news-back:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.epharo-news-panel{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 8%,rgba(95,138,255,.10),transparent 32%),
    radial-gradient(circle at 8% 18%,rgba(44,177,111,.10),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%);
  border:1px solid rgba(31,95,63,.12);
  border-radius:34px;
  padding:40px;
  box-shadow:
    0 28px 78px rgba(20,55,35,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.epharo-news-ambient{
  position:absolute;
  pointer-events:none;
  border-radius:999px;
  filter:blur(16px);
  opacity:.7;
}

.epharo-news-ambient-one{
  width:260px;
  height:260px;
  right:-90px;
  top:-120px;
  background:rgba(94,121,255,.12);
}

.epharo-news-ambient-two{
  width:240px;
  height:240px;
  left:-120px;
  top:120px;
  background:rgba(41,165,91,.10);
}

.epharo-news-top{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  margin-bottom:34px;
}

.epharo-news-headline{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  align-items:start;
  gap:34px;
}

.epharo-news-headline-copy{
  min-width:0;
}

.epharo-news-kicker{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#6f9275;
  margin-bottom:12px;
}

.epharo-news-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:var(--eph-news-accent,#8daf8f);
  display:inline-block;
  flex:0 0 auto;
  box-shadow:0 0 0 6px rgba(111,163,111,.10);
}

.epharo-news-title{
  margin:0 0 14px;
  color:#173b2a;
  font-size:clamp(42px,4.8vw,68px);
  line-height:.96;
  letter-spacing:-.065em;
  font-weight:950;
}

.epharo-news-subtitle{
  margin:0;
  color:#5f6d63;
  font-size:18px;
  line-height:1.62;
  max-width:770px;
}

.epharo-news-updated{
  margin-top:18px;
  color:#7b857d;
  font-size:14px;
  line-height:1.45;
}

.epharo-news-ai-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  padding:24px;
  min-height:180px;
  background:
    radial-gradient(circle at 26% 22%,rgba(111,229,255,.22),transparent 34%),
    radial-gradient(circle at 90% 18%,rgba(105,82,255,.18),transparent 36%),
    linear-gradient(145deg,#0c1518 0%,#111b22 48%,#16231c 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 26px 64px rgba(17,37,29,.20),
    inset 0 1px 0 rgba(255,255,255,.12);
  color:#ffffff;
}

.epharo-news-ai-card::after{
  content:"";
  position:absolute;
  inset:auto -80px -90px auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:rgba(77,232,255,.15);
  filter:blur(14px);
}

.epharo-news-xenyra-head{
  position:relative;
  z-index:2;
  margin:0 0 22px auto;
}

.epharo-news-ai-copy{
  position:relative;
  z-index:2;
  display:grid;
  gap:8px;
}

.epharo-news-ai-copy strong{
  color:#ffffff;
  font-size:17px;
  line-height:1.2;
  letter-spacing:-.02em;
}

.epharo-news-ai-copy span{
  color:rgba(255,255,255,.74);
  font-size:14px;
  line-height:1.55;
}

.epharo-news-market-control{
  display:grid;
  justify-items:center;
  gap:10px;
  margin-top:2px;
}

.epharo-news-data-select{
  position:relative;
  display:flex;
  justify-content:center;
  z-index:30;
}

.epharo-news-data-btn{
  all:unset;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(238,246,239,.96) !important;
  border:1px solid rgba(31,95,63,.15) !important;
  color:#1f5f3f !important;
  font-size:14px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:
    0 12px 28px rgba(20,55,35,.09),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.epharo-news-data-btn:hover,
.epharo-news-data-btn:focus,
.epharo-news-data-btn:active{
  background:#e4f1e7 !important;
  border-color:rgba(31,95,63,.25) !important;
  color:#1f5f3f !important;
  transform:translateY(-1px);
  box-shadow:0 16px 34px rgba(20,55,35,.13) !important;
  outline:0 !important;
}

.epharo-news-data-emoji{
  font-size:14px;
}

.epharo-news-data-arrow{
  font-size:13px;
  line-height:1;
  opacity:.7;
}

.epharo-news-market-note{
  max-width:560px;
  color:#7b857d;
  font-size:12px;
  line-height:1.45;
  text-align:center;
}

.epharo-news-data-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  transform:translateX(-50%) translateY(-5px);
  width:240px;
  padding:9px;
  border-radius:20px;
  background:#ffffff;
  border:1px solid rgba(31,95,63,.12);
  box-shadow:0 24px 58px rgba(20,55,35,.18);
  opacity:0;
  pointer-events:none;
  z-index:50;
  transition:opacity .18s ease, transform .18s ease;
}

.epharo-news-data-menu.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}

.epharo-news-data-option{
  all:unset;
  box-sizing:border-box;
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border-radius:13px;
  background:transparent !important;
  border:1px solid transparent !important;
  color:#173b2a !important;
  font-size:13px;
  font-weight:850;
  line-height:1.2;
  cursor:pointer;
  text-align:left;
  box-shadow:none !important;
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}

.epharo-news-data-option:hover{
  background:#edf5eb !important;
  border-color:rgba(31,95,63,.22) !important;
  color:#1f5f3f !important;
  transform:translateX(1px);
}

.epharo-news-data-option.is-active{
  background:#f3faf4 !important;
  border-color:rgba(31,95,63,.10) !important;
  color:#1f5f3f !important;
}

.epharo-news-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:11px;
  width:100%;
  margin-top:20px;
}

#epharo-news-list .epharo-news-filter{
  all:unset;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(31,95,63,.14) !important;
  background:rgba(238,246,239,.92) !important;
  color:#1f5f3f !important;
  font-size:13px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 9px 22px rgba(20,55,35,.07) !important;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

#epharo-news-list .epharo-news-filter:hover{
  background:#e4f1e7 !important;
  border-color:rgba(31,95,63,.24) !important;
  color:#1f5f3f !important;
  transform:translateY(-1px);
  box-shadow:0 13px 28px rgba(20,55,35,.11) !important;
}

#epharo-news-list .epharo-news-filter.is-active{
  background:#145c33 !important;
  color:#ffffff !important;
  border-color:#145c33 !important;
  box-shadow:0 14px 34px rgba(0,0,0,.20) !important;
}

.epharo-news-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.epharo-news-card{
  position:relative;
  display:block;
  overflow:hidden;
  text-decoration:none;
  background:
    radial-gradient(circle at 98% 0%,rgba(31,95,63,.055),transparent 30%),
    linear-gradient(135deg,#f7faf7 0%,#ffffff 54%,#eef6ef 100%);
  border:1px solid rgba(31,95,63,.14);
  border-radius:28px;
  padding:28px 30px;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}

.epharo-news-card:hover{
  transform:translateY(-4px);
  border-color:rgba(31,95,63,.35);
  box-shadow:0 20px 48px rgba(20,55,35,.13);
}

.epharo-news-card.is-featured{
  border:2px solid rgba(31,95,63,.42);
  box-shadow:
    0 28px 70px rgba(20,55,35,.15),
    inset 0 1px 0 rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 90% 12%,rgba(52,110,255,.08),transparent 28%),
    linear-gradient(135deg,#edf7ef 0%,#ffffff 52%,#f4faf5 100%);
}

.epharo-news-card.is-world{
  background:
    radial-gradient(circle at 92% 6%,rgba(82,118,255,.10),transparent 28%),
    linear-gradient(135deg,#f7fafb 0%,#ffffff 55%,#eff4ff 100%);
  border-color:rgba(75,100,190,.18);
}

.epharo-news-card.is-eu{
  background:
    radial-gradient(circle at 92% 6%,rgba(36,126,208,.09),transparent 28%),
    linear-gradient(135deg,#f7faf7 0%,#ffffff 55%,#eef6ef 100%);
}

.epharo-news-card.is-local{
  background:
    radial-gradient(circle at 92% 6%,rgba(31,95,63,.10),transparent 28%),
    linear-gradient(135deg,#edf7ef 0%,#ffffff 56%,#f5faf6 100%);
}

.epharo-news-card-glow{
  position:absolute;
  inset:auto -90px -120px auto;
  width:260px;
  height:220px;
  border-radius:999px;
  background:rgba(31,95,63,.06);
  filter:blur(12px);
  pointer-events:none;
}

.epharo-news-card-meta{
  --eph-news-accent:#6fa36f;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  color:var(--eph-news-accent);
  font-size:11px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:900;
}

.epharo-news-market{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.epharo-news-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  background:#eaf4ec;
  color:#1f5f3f;
  border:1px solid rgba(31,95,63,.12);
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
}

.epharo-news-badge.is-live{
  background:#f5fbf6;
}

.epharo-news-badge.is-ai-live{
  background:#eef6ef;
  animation:eph-ai-badge-pulse 3.8s ease-in-out infinite;
}

@keyframes eph-ai-badge-pulse{
  0%,100%{
    transform:scale(1);
    box-shadow:0 6px 16px rgba(20,55,35,.06);
    border-color:rgba(31,95,63,.14);
  }

  50%{
    transform:scale(1.035);
    box-shadow:0 10px 24px rgba(20,55,35,.13);
    border-color:rgba(31,95,63,.24);
  }
}

.epharo-news-card-title{
  margin:0 0 10px;
  max-width:900px;
  color:#173b2a;
  font-size:clamp(24px,2.4vw,34px);
  line-height:1.1;
  letter-spacing:-.045em;
  font-weight:950;
}

.epharo-news-card-desc{
  margin:0;
  color:#5f6d63;
  font-size:16px;
  line-height:1.68;
  max-width:900px;
}

.epharo-news-card-source{
  margin-top:15px;
  color:#7b857d;
  font-size:13px;
  line-height:1.45;
}

.epharo-news-card-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
}

.epharo-news-card-action{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 0;
  font-size:13px;
  font-weight:900;
  color:#2f6b3d;
  text-decoration:none;
  transition:transform .2s ease,color .2s ease;
}

.epharo-news-card-action:hover{
  text-decoration:underline;
  text-underline-offset:4px;
  transform:translateX(2px);
}

.epharo-news-card-source-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 13px;
  border-radius:999px;
  background:#f4f8f4;
  border:1px solid rgba(31,95,63,.12);
  color:#1f5f3f;
  text-decoration:none;
  font-size:12px;
  font-weight:850;
}

.epharo-news-card-source-link:hover{
  background:#edf5eb;
  border-color:rgba(31,95,63,.22);
}

.epharo-news-state{
  background:#f4f6f2;
  border-radius:22px;
  padding:20px 22px;
  color:#5f6d63;
  font-size:15px;
  line-height:1.55;
}

/* MOBILE */

@media(max-width:860px){
  .epharo-news-panel{
    padding:30px 24px;
    border-radius:30px;
  }

  .epharo-news-headline{
    grid-template-columns:1fr;
  }

  .epharo-news-ai-card{
    min-height:auto;
  }

  .epharo-news-xenyra-head{
    margin-left:0;
  }
}

@media(max-width:600px){
  #epharo-news-list{
    padding:14px 16px 58px;
  }

  .epharo-news-panel{
    padding:24px 18px;
    border-radius:26px;
  }

  .epharo-news-title{
    font-size:40px;
  }

  .epharo-news-subtitle{
    font-size:16px;
  }

  .epharo-news-data-select{
    justify-content:center;
  }

  .epharo-news-data-menu{
    left:50%;
    width:min(240px,calc(100vw - 48px));
  }

  .epharo-news-market-note{
    text-align:center;
    font-size:11px;
  }

  #epharo-news-list .epharo-news-filter{
    padding:10px 13px;
    font-size:12px;
  }

  .epharo-news-card{
    padding:20px;
    border-radius:22px;
  }

  .epharo-news-card-title{
    font-size:24px;
  }

  .epharo-news-card-desc{
    font-size:15px;
  }

  .epharo-news-card-actions{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}