.at-news-main {
  padding:var(--theme-content-vertical-spacing,48px) 0;
}

.at-news-shell {
  width:var(--theme-container-width,calc(100% - 48px));
  max-width:var(--theme-normal-container-max-width,1290px);
  margin:0 auto;
  box-sizing:border-box;
}

.at-news {
  --at-news-accent:#7652f4;
  --at-news-soft:#b4a1ff;
  --at-news-panel:#19191f;
  --at-news-border:#34343d;
  --at-news-text:#f5f4f8;
  --at-news-muted:#a6a4b1;
  width:100%;
  max-width:100%;
  color:var(--at-news-text);
  font-family:inherit;
  font-size:13px;
  line-height:1.6;
}

.at-news *,
.at-news *::before,
.at-news *::after {
  box-sizing:border-box;
}

.at-news a {
  color:inherit;
  text-decoration:none;
}

.at-news a:focus-visible {
  outline:2px solid var(--at-news-soft);
  outline-offset:4px;
}

.at-news svg {
  display:block;
  flex-shrink:0;
  width:18px;
  height:18px;
}

.at-news .at-news__head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 12px;
}

.at-news .at-news__heading {
  flex:1;
  position:relative;
  min-width:0;
  padding-left:14px;
}

.at-news .at-news__heading::before {
  content:"";
  position:absolute;
  top:2px;
  bottom:2px;
  left:0;
  width:3px;
  border-radius:99px;
  background:var(--at-news-accent);
}

.at-news .at-news__title {
  margin:0 !important;
  padding:0 !important;
  color:#f7f7fa !important;
  font-size:clamp(19px,1.45vw,22px) !important;
  font-weight:850 !important;
  line-height:1.08 !important;
  letter-spacing:-.02em !important;
}

.at-news .at-news__description {
  margin:5px 0 0 !important;
  color:#8f8d97 !important;
  font-size:10.5px !important;
  line-height:1.4 !important;
}

.at-news__layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  align-items:start;
  gap:22px;
}

.at-news__main,
.at-news__sidebar {
  min-width:0;
}

.at-news .at-news__section-title {
  margin:22px 0 12px;
  color:var(--at-news-text);
  font-size:15px;
  font-weight:750;
  line-height:1.3;
}

.at-news__grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.at-news__feature,
.at-news__card {
  overflow:hidden;
  margin:0;
  border:1px solid var(--at-news-border);
  border-radius:10px;
  background:var(--at-news-panel);
}

.at-news__feature:hover,
.at-news__card:hover {
  border-color:#655573;
}

.at-news .at-news__card-link {
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
  color:var(--at-news-text);
}

.at-news .at-news__card-link:focus-visible {
  outline-offset:-4px;
}

.at-news__media {
  position:relative;
  overflow:hidden;
  height:176px;
  background:#22222c;
}

.at-news .at-news__image {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  margin:0;
  object-fit:cover;
  object-position:center;
}

.at-news__placeholder {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,#262231,#1b1b23 70%);
  color:#797089;
}

.at-news .at-news__placeholder svg {
  width:60px;
  height:60px;
  opacity:.5;
}

.at-news__card-content {
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:start;
  gap:10px;
  padding:18px;
}

.at-news .at-news__card-content h2 {
  margin:0;
  color:var(--at-news-text);
  font-size:18px;
  font-weight:750;
  line-height:1.35;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}

.at-news .at-news__card-content p {
  margin:0;
  color:var(--at-news-muted);
  font-size:12px;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.at-news__meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  color:#b2adbc;
  font-size:10.5px;
}

.at-news__tag {
  display:inline-block;
  max-width:100%;
  padding:3px 8px;
  border:1px solid #57476d;
  border-radius:5px;
  background:#2b223c;
  color:#dbccff;
  font-weight:650;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.at-news__read {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding-top:5px;
  color:var(--at-news-soft);
  font-size:11px;
  font-weight:700;
}

.at-news .at-news__feature .at-news__card-link {
  min-height:350px;
  justify-content:flex-end;
}

.at-news__feature .at-news__media {
  position:absolute;
  inset:0;
  height:100%;
}

.at-news__feature .at-news__media::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(10,10,15,.98),rgba(10,10,15,.79) 42%,rgba(10,10,15,.22));
}

.at-news__feature .at-news__card-content {
  position:relative;
  z-index:1;
  flex:0 1 auto;
  max-width:740px;
  gap:12px;
  padding:28px;
}

.at-news .at-news__feature h2 {
  font-size:clamp(23px,2.3vw,30px);
  font-weight:800;
  line-height:1.2;
}

.at-news .at-news__feature p {
  max-width:610px;
  color:#d0cbd9;
  font-size:13px;
}

.at-news__sidebar {
  display:grid;
  gap:16px;
}

.at-news__panel {
  padding:18px;
  border:1px solid var(--at-news-border);
  border-radius:10px;
  background:var(--at-news-panel);
}

.at-news .at-news__panel h2 {
  margin:0 0 12px;
  color:var(--at-news-text);
  font-size:14px;
  font-weight:750;
  line-height:1.35;
}

.at-news .at-news__briefs {
  margin:0;
  padding:0;
  list-style:none;
}

.at-news__briefs li + li {
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid #303038;
}

.at-news__briefs a {
  display:grid;
  gap:5px;
}

.at-news__briefs time {
  color:var(--at-news-muted);
  font-size:10px;
}

.at-news__briefs strong {
  color:#eeedf3;
  font-size:12px;
  line-height:1.5;
}

.at-news__briefs span {
  color:var(--at-news-muted);
  font-size:11px;
}

.at-news__briefs a:hover strong {
  color:var(--at-news-soft);
}

.at-news__categories {
  display:grid;
  gap:5px;
}

.at-news .at-news__categories a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
  padding:7px 9px;
  border-radius:6px;
  color:#c9c6d1;
  font-size:12px;
}

.at-news .at-news__categories a[aria-current="page"],
.at-news .at-news__categories a:hover {
  background:#2b2538;
  color:#e0d5ff;
}

.at-news__count {
  flex-shrink:0;
  min-width:24px;
  padding:1px 5px;
  border-radius:4px;
  background:#36303f;
  color:#c3b5da;
  font-size:10px;
  text-align:center;
}

.at-news__filter {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
  padding:9px 12px;
  border:1px solid var(--at-news-border);
  border-radius:7px;
  color:var(--at-news-soft);
  font-size:11px;
}

.at-news__filter a:hover,
.at-news__back:hover {
  color:#fff;
}

.at-news .at-news__empty {
  padding:26px;
  border:1px solid var(--at-news-border);
  border-radius:10px;
  background:var(--at-news-panel);
  color:var(--at-news-muted);
}

.at-news .at-news__empty p {
  margin:0 0 10px;
}

.at-news .at-news__empty > p:last-child {
  margin:0;
}

.at-news .at-news__pagination {
  margin-top:22px;
}

.at-news .at-news__pagination ul {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
}

.at-news .at-news__pagination li {
  margin:0;
}

.at-news .at-news__pagination a.page-numbers,
.at-news .at-news__pagination span.page-numbers {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:36px;
  padding:7px 11px;
  border:1px solid var(--at-news-border);
  border-radius:7px;
  background:#19191f;
  color:#c7c3cf;
  font-size:11px;
}

.at-news .at-news__pagination span.page-numbers.current,
.at-news .at-news__pagination a.page-numbers:hover {
  border-color:#756097;
  background:#312340;
  color:#e7d9ff;
}

.at-news .at-news__back {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  color:var(--at-news-muted);
  font-size:11px;
}

.at-news__article {
  overflow:hidden;
  border:1px solid var(--at-news-border);
  border-radius:10px;
  background:var(--at-news-panel);
}

.at-news__article-head {
  padding:24px 28px;
}

.at-news .at-news__article-head h1 {
  margin:13px 0 0;
  color:#f7f7fa;
  font-size:clamp(22px,2vw,26px);
  font-weight:800;
  line-height:1.3;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}

.at-news .at-news__lead {
  margin:13px 0 0;
  color:#c9c4d3;
  font-size:14px;
  line-height:1.75;
}

.at-news__article-banner {
  height:320px;
}

.at-news__content {
  padding:28px;
  color:#d4d0dc;
  font-size:14px;
  line-height:1.85;
  overflow-wrap:anywhere;
}

.at-news .at-news__content > :first-child {
  margin-top:0;
}

.at-news .at-news__content > :last-child {
  margin-bottom:0;
}

.at-news .at-news__content h2,
.at-news .at-news__content h3,
.at-news .at-news__content h4 {
  margin:26px 0 12px;
  color:#f3f1f7;
  font-weight:750;
  line-height:1.4;
}

.at-news .at-news__content h2 { font-size:20px; }
.at-news .at-news__content h3 { font-size:17px; }
.at-news .at-news__content h4 { font-size:15px; }
.at-news .at-news__content p { margin:0 0 18px; }

.at-news .at-news__content a {
  color:var(--at-news-soft);
  text-decoration:underline;
  text-underline-offset:3px;
}

.at-news .at-news__content a:hover { color:#dfd1ff; }

.at-news .at-news__content img,
.at-news .at-news__content video,
.at-news .at-news__content iframe {
  max-width:100%;
}

.at-news .at-news__content img,
.at-news .at-news__content video { height:auto; }

.at-news .at-news__content .alignwide,
.at-news .at-news__content .alignfull {
  width:100%;
  max-width:100%;
  margin-left:0;
  margin-right:0;
}

.at-news .at-news__content blockquote {
  margin:20px 0;
  padding:12px 18px;
  border-left:3px solid var(--at-news-accent);
  background:#24202c;
  color:#e4dced;
  font-size:inherit;
}

.at-news .at-news__content pre,
.at-news .at-news__content .wp-block-table {
  max-width:100%;
  overflow:auto;
}

.at-news .at-news__content-pages {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0 28px 24px;
  color:var(--at-news-soft);
}

@media (max-width:1050px) {
  .at-news__layout {
    grid-template-columns:minmax(0,1fr);
  }
  .at-news__sidebar {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
}

@media (max-width:760px) {
  .at-news .at-news__head { margin-bottom:10px; }
  .at-news .at-news__feature .at-news__card-link { min-height:310px; }
  .at-news__feature .at-news__card-content { padding:22px; }
  .at-news__article-head,
  .at-news__content { padding:22px; }
  .at-news__article-banner { height:260px; }
}

@media (max-width:560px) {
  .at-news-shell { padding:0 10px; }
  .at-news__grid,
  .at-news__sidebar { grid-template-columns:minmax(0,1fr); }
  .at-news__media { height:190px; }
  .at-news .at-news__feature .at-news__card-link { min-height:320px; }
  .at-news__feature .at-news__card-content { padding:20px; }
  .at-news .at-news__feature h2 { font-size:24px; }
  .at-news__article-head,
  .at-news__content { padding:20px; }
  .at-news__article-banner { height:210px; }
  .at-news .at-news__content-pages { padding:0 20px 20px; }
}
