/* === ОСНОВА КАРТОЧКИ === */
.pc-card{
  width:100%;
  background:#ecf0f1;
  border-radius:12px;
  padding:14px;
}
.pc-card, .pc-card *{ box-sizing:border-box; }

/* Две колонки (десктоп) */
.pc-main{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:stretch;
}
.pc-col{
  border-radius:12px;
  padding:14px;
  overflow:visible;
  height:100%;
  background:#fff;
}

/* =========================
   ЛЕВЫЙ БЛОК
========================= */
.pc-col.pc-left{
  background:#0f141a;
  border:1px solid rgba(255,255,255,.06);
  color:#e5e7eb;

  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:0;
}
.pc-left a{ color:inherit; }

.pc-leftTop{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1 1 auto;
  min-height:0;
}
.pc-leftAside{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pc-leftBottom{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:auto;
}

/* =========================
   ПОСТЕР
========================= */
.pc-posterFrame{
  position:relative;
  flex:1 1 auto;
  min-height:320px;

  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  overflow:hidden;

  display:grid;
  grid-template-rows:auto 1fr;
  gap:10px;
  padding:10px;
}

.pc-posterBg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:blur(18px);
  transform:scale(1.15);
  opacity:.45;
  z-index:0;
}
.pc-posterFrame::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.82));
  z-index:1;
}

.pc-rating--overlay{
  position:relative;
  z-index:3;

  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  padding:8px 10px;

  display:flex;
  justify-content:center;
}

.pc-poster-link{
  position:relative;
  z-index:2;

  justify-self:center;
  align-self:center;

  display:block;
  max-width:260px;
  width:min(260px, 100%);
}
.pc-poster{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/4;
  object-fit:cover;
  object-position:center;
  border-radius:10px;
  border:0;
  transition:transform .25s ease, box-shadow .25s ease, filter .2s ease;
}
.pc-posterFrame:hover .pc-poster{
  transform:scale(1.02);
  box-shadow:0 12px 32px rgba(0,0,0,.55);
}

/* =========================
   18+ GATE (общие стили)
========================= */
.pc-ageGate{
  position:absolute;
  inset:0;
  z-index:5;

  display:none;
  align-items:center;
  justify-content:center;

  padding:12px;
}
.pc-ageGate__box{
  width:min(340px, 100%);
  border-radius:14px;
  padding:16px 16px 14px;

  background:rgba(0,0,0,.72);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  text-align:center;

  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
.pc-ageGate__title{
  font-size:30px;
  font-weight:900;
  line-height:1;
  margin-bottom:8px;
  color:#fff;
}
.pc-ageGate__text{
  font-size:14px;
  line-height:1.35;
  color:rgba(255,255,255,.92);
  margin-bottom:12px;
}
.pc-ageGate__actions{
  display:flex;
  gap:10px;
  justify-content:center;
}
.pc-ageGate__btn{
  min-width:110px;
  height:42px;

  border:0;
  border-radius:12px;
  cursor:pointer;

  font-weight:900;
}
.pc-ageGate__btn--yes{ background:#2dc26b; color:#fff; }
.pc-ageGate__btn--no{ background:#ef4444; color:#fff; }
.pc-ageGate__btn:active{ transform:translateY(1px); }

/* Заблокированное состояние карточки (пока не подтвердил 18+) */
.pc-age-locked .pc-ageGate{ display:flex; }
.pc-age-locked .pc-poster{ filter:blur(12px); }
.pc-age-locked .pc-poster-link{ pointer-events:none; }
.pc-age-locked [data-age-protected="1"]{ display:none !important; }

/* =========================
   ГЛОБАЛЬНОЕ СКРЫТИЕ/РАЗМЫТИЕ ЛЮБЫХ ЭЛЕМЕНТОВ НА СТРАНИЦЕ
   (класс .age-locked ставит JS только на страницах, где есть возрастная проверка)
========================= */
.age-locked [data-age-protected="1"]{
  display:none !important;
}
.age-locked [data-age-blur="1"]{
  filter:blur(12px);
  pointer-events:none;
  user-select:none;
}

/* =========================
   INLINE 18+ GATE для твоего блока "скриншоты с фотохостинга"
========================= */
/* INLINE 18+ GATE — фикс “наполовину под summary” */
.pc-ageInlineWrap{
  position:relative;
  overflow:visible; /* важно: не даём обрезать оверлей */
}

/* чтобы 18+ гарантированно влезал по высоте */
.age-locked details.acc[open] .pc-ageInlineWrap{
  min-height:240px;           /* можно 220–280 под вкус */
  padding-top:18px;
  padding-bottom:18px;
}

.pc-ageInlineGate{
  position:absolute;
  inset:0;
  z-index:10;
  display:none;
  align-items:center;
  justify-content:center;
  padding:12px;
}

.age-locked .pc-ageInlineGate{
  display:flex;
}
/* Показываем оверлей только когда страница залочена */
.age-locked .pc-ageInlineGate{
  display:flex;
}
/* Чтобы окно было чуть компактнее в аккордеоне */
.pc-ageInlineGate .pc-ageGate__box{
  width:min(360px, 100%);
}

/* =========================
   КНОПКИ
========================= */
.pc-media-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  align-items:stretch;

  width:100%;
  max-width:520px;
  margin:0 auto;
}
.pc-media-grid.is-single{ grid-template-columns:1fr; }

.pc-media-col{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pc-media-col.is-empty{ display:none; }

.pc-media-btn{
  min-height:46px;
  width:100%;

  border:0;
  border-radius:12px;
  cursor:pointer;
  font-weight:900;
  padding:0 14px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  transition:transform .15s ease, filter .15s ease, background .15s ease;
}
.pc-media-btn:active{ transform:translateY(1px); }
.pc-media-ico{ font-size:18px; line-height:1; }

.pc-trailer{ color:#fff; }
.pc-trailer--yt{ background:#ff0000; }
.pc-trailer--yt:hover{ filter:brightness(.92); }

.pc-trailer--vk{ background:#0077ff; }
.pc-trailer--vk:hover{ filter:brightness(.92); }

.pc-trailer--rt{ background:#1f2a44; }
.pc-trailer--rt:hover{ filter:brightness(.95); }

.pc-gallery-btn{
  background:#ffb020;
  color:#1b1b1b;
}
.pc-gallery-btn:hover{ filter:brightness(.95); }

/* =========================
   ЗАЛИТО НА
========================= */
.pc-uploadWrap{
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.pc-uploadRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
  color:#e5e7eb;
}
.pc-uploadRow i{ color:rgba(255,255,255,.65); }

.upload-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px 10px;
  justify-content:center;
}

.upload-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:10px;
  font-size:13px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 0 0 1px rgba(0,0,0,.20) inset;
  transition:transform .2s ease, background .2s ease;
}
.upload-tag:hover{ transform:translateY(-2px); }
.upload-tag:nth-child(4n+1){ background:rgba(198,40,40,.18); color:#ffd6d6; }
.upload-tag:nth-child(4n+2){ background:rgba(13,71,161,.18); color:#dbeafe; }
.upload-tag:nth-child(4n+3){ background:rgba(27,94,32,.18); color:#d1fae5; }
.upload-tag:nth-child(4n+0){ background:rgba(106,27,154,.18); color:#f5d0fe; }

.pc-moreBtn{
  margin-top:10px;
  width:100%;
  min-height:42px;

  border:0;
  border-radius:12px;
  cursor:pointer;

  background:#2563eb;
  color:#fff;

  font-weight:900;
  letter-spacing:.2px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  box-shadow:0 10px 24px rgba(37,99,235,.25);
}
.pc-moreBtn:hover{ filter:brightness(.95); }
.pc-moreBtn:active{ transform:translateY(1px); }

.pc-moreBtn__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:2px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.20);
  font-weight:900;
}

.pc-collapsed{ display:none !important; }

.pc-download,
.pc-comment{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  width:100%;
  border-radius:10px;
  text-decoration:none;
}
.pc-download{ background:#2dc26b; color:#fff; }
.pc-comment{ background:#1f2937; color:#fff; }
.pc-comment:hover{ background:#111827; }

/* =========================
   ПРАВЫЙ БЛОК
========================= */
.pc-right{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pc-right--accent{
  background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border:1px solid rgba(13,71,161,.18);
  box-shadow:0 18px 48px rgba(17, 24, 39, .12);
}

.pc-uploadWrap--stack.pc-uploadWrap--right{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
}
.pc-uploadWrap--right .pc-uploadRow{
  justify-content:flex-start;
  text-align:left;
  color:#374151;
}
.pc-uploadWrap--right .pc-uploadRow i{ color:#6b7280; }
.pc-uploadWrap--right .upload-tags{ justify-content:flex-start; }

.pc-uploadWrap--right .upload-tag{
  text-decoration:none;
  border:1px solid rgba(0,0,0,.08);
  background:#f6f8fa;
  color:#111827;
  box-shadow:none;
}
.pc-uploadWrap--right .upload-tag:nth-child(4n+1){ background:#ffecec; border-color:#ffb3b3; color:#c62828; }
.pc-uploadWrap--right .upload-tag:nth-child(4n+2){ background:#ecf4ff; border-color:#b3d1ff; color:#0d47a1; }
.pc-uploadWrap--right .upload-tag:nth-child(4n+3){ background:#e8ffef; border-color:#b2ffcc; color:#1b5e20; }
.pc-uploadWrap--right .upload-tag:nth-child(4n+0){ background:#f9ecff; border-color:#dab3ff; color:#6a1b9a; }

.pc-infoList{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.pc-infoItem{
  display:grid;
  grid-template-columns:18px minmax(0, 1fr);
  column-gap:10px;
  align-items:start;

  padding:10px 10px;
  border-radius:12px;
  position:relative;

  transition:background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pc-infoItem::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:-4px;
  height:1px;
  background:rgba(0,0,0,.08);
}
.pc-infoItem:last-child::after{ display:none; }

.pc-infoItem:hover{
  background:#f5f8ff;
  box-shadow:0 10px 24px rgba(17,24,39,.08);
  transform:translateY(-1px);
}

.pc-infoIcon{
  width:18px;
  height:18px;
  margin-top:2px;
  color:#6b7280;
}
.pc-infoIcon i,
.pc-infoIcon svg{
  width:18px;
  height:18px;
  display:block;
}
.pc-infoIcon .svg-inline--fa{ vertical-align:0 !important; }

.pc-infoBody{
  display:grid;
  grid-template-columns:max-content minmax(0, 1fr);
  column-gap:10px;
  align-items:baseline;
}
.pc-infoLabel,
.pc-infoValue{
  font-size:14px;
  line-height:1.45;
}
.pc-infoLabel{
  margin:0;
  color:#374151;
  font-weight:900;
  white-space:nowrap;
}
.pc-infoValue{
  font-weight:400;
  color:#111827;
  min-width:0;
}
.pc-infoValue a{
  font-weight:400;
  color:inherit;
  text-decoration:none;
}
.pc-infoValue a:hover{ text-decoration:underline; }

.info-pill{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  max-width:100%;
  padding:4px 10px;
  border-radius:999px;
  font-weight:800;
  white-space:normal;
  overflow-wrap:anywhere;
}
.info-version{ background:#e8f1ff; color:#0b3d91; }
.info-size{ background:#e9fff1; color:#155b2d; }
.info-changes{ background:#ffe9e9; color:#8f1d1d; font-weight:700; }

.pc-gallery-source{ display:none; }

.pc-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  z-index:999999;
  padding:18px;
}
.pc-modal.is-open{
  display:flex !important;
  align-items:center;
  justify-content:center;
}
.pc-modal__box{
  width:min(980px,100%);
  background:#0b0b0b;
  border-radius:14px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}
.pc-modal__close{
  position:absolute;
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:12px;
  cursor:pointer;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:1;
  z-index:5;
}
.pc-modal__close:hover{ background:rgba(255,255,255,.18); }

.pc-modal__box--video{ width:min(980px,100%); }
.pc-modal__video{ aspect-ratio:16/9; background:#000; }
.pc-modal__video iframe{ width:100%; height:100%; border:0; display:block; }

.pc-modal__box--gallery{ width:min(1100px,100%); }
.pc-galleryModal{
  display:grid;
  grid-template-columns:56px 1fr 56px;
  gap:12px;
  align-items:center;
  padding:64px 14px 12px;
}
.pc-galleryMain{
  background:#000;
  border-radius:12px;
  overflow:hidden;
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pc-galleryMain img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.pc-gNav{
  width:56px;
  height:56px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:14px;
  cursor:pointer;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:34px;
  line-height:1;
}
.pc-gNav:hover{ background:rgba(255,255,255,.18); }
.pc-galleryThumbs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
  padding:0 14px 16px 14px;
}
.pc-galleryThumbs button{
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  border-radius:10px;
  overflow:hidden;
  width:112px;
  height:66px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 0 2px rgba(255,255,255,.10) inset;
}
.pc-galleryThumbs button.is-active{
  box-shadow:0 0 0 2px rgba(255,255,255,.55) inset;
}
.pc-galleryThumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width:1024px){
  .pc-main{ grid-template-columns:1fr; }

  .pc-leftTop{
    display:grid;
    grid-template-columns:minmax(260px, 1fr) minmax(320px, 1fr);
    gap:12px;
    align-items:stretch;
  }
}

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

  .pc-media-grid{
    grid-template-columns:1fr;
    max-width:none;
    margin:0;
  }

  .pc-media-btn{ min-height:44px; border-radius:10px; }
  .pc-uploadWrap{ padding:10px; border-radius:10px; }
  .upload-tag{ font-size:12.5px; }
  .pc-leftBottom{ gap:10px; }
  .pc-moreBtn{ min-height:44px; border-radius:10px; }

  .pc-card{ padding:10px; }
  .pc-col{ padding:10px; }
  .pc-infoBody{ grid-template-columns:1fr; }
}

@media (max-width:480px){
  .pc-leftTop{
    grid-template-columns:1fr !important;
  }
  .pc-posterFrame{
    min-height:240px;
  }
  .pc-poster-link{
    max-width:200px;
  }
  .pc-card{ padding:8px; border-radius:10px; }
  .pc-col{ padding:8px; border-radius:10px; }
  .pc-main{ gap:10px; }
  .pc-infoLabel{ white-space:normal; }
  .pc-galleryModal{ grid-template-columns:40px 1fr 40px; gap:8px; padding:50px 8px 8px; }
  .pc-gNav{ width:40px; height:40px; font-size:24px; border-radius:10px; }
}

@media (hover:none), (pointer:coarse){
  .pc-media-btn,
  .pc-infoItem,
  .upload-tag,
  .pc-poster,
  .pc-moreBtn{
    transition:none !important;
  }

  .pc-infoItem:hover{
    background:transparent;
    box-shadow:none;
    transform:none;
  }

  .pc-media-btn:hover{ filter:none; }
  .upload-tag:hover{ transform:none; }
  .pc-posterFrame:hover .pc-poster{ transform:none; box-shadow:none; }
  .pc-moreBtn:hover{ filter:none; }
}

.item_img__age{
  width:160px;
  margin:0 auto;
}

.item_img__age .pc-ageInlineGate{
  border-radius:10px;
}
/* =========================
   GUEST: center poster when no rating
   ========================= */
.pc-left--guest .pc-posterFrame {
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: center;
}
.pc-left--guest .pc-poster-link {
  max-width: 300px;
  width: min(300px, 100%);
}
@media (max-width: 1024px) {
  .pc-left--guest .pc-poster-link { max-width: 260px; }
}
@media (max-width: 480px) {
  .pc-left--guest .pc-poster-link { max-width: 200px; }
}

/* ===== EmpireG: News Fullstory (игровые новости) ===== */
.eg-news-wrap{
  --eg-radius: 14px;
  --eg-border: rgba(15, 23, 42, .10);
  --eg-shadow: 0 14px 40px rgba(2, 6, 23, .10);
  --eg-shadow-hover: 0 18px 52px rgba(2, 6, 23, .16);
  --eg-text: #0f172a;
  --eg-muted: #475569;
  --eg-bg: #ffffff;
  --eg-bg-soft: #f8fafc;

  margin-top: 12px; /* отступ от заголовка */
}

/* Верх: 2 колонки */
.eg-news-top{
  display: grid;
  grid-template-columns: 445px 1fr;
  gap: 16px;
  align-items: stretch; /* ключ: одинаковая высота колонок */
}

@media (max-width: 900px){
  .eg-news-top{
    grid-template-columns: 1fr;
  }
}

/* ===== ЛЕВЫЙ БЛОК (ПОСТЕР) ===== */
.eg-news-poster{
  width: 445px;
  max-width: 100%;
  height: 100%; /* тянемся до высоты правого блока */
  border-radius: var(--eg-radius);
  overflow: hidden;
  background: #0b1220;
  box-shadow: var(--eg-shadow);
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}

.eg-news-poster::after{
  content:"";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.eg-news-poster a{
  position: relative;
  display: flex;
  height: 100%;
  overflow: hidden;
}

.eg-news-poster img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;   /* без искажений */
  background: #0b1220;   /* поля выглядят как рамка */
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}

.eg-news-poster a::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events:none;
}

.eg-news-poster:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 52px rgba(2, 6, 23, .18);
}

.eg-news-poster:hover img{
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

.eg-news-poster:hover a::before{
  opacity: 1;
}

/* ===== ПРАВЫЙ БЛОК (МЕТА) ===== */
.eg-news-meta{
  background: var(--eg-bg);
  border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius);
  box-shadow: var(--eg-shadow);
  padding: 16px;
  position: relative;
  overflow: hidden;

  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eg-news-meta:hover{
  transform: translateY(-2px);
  box-shadow: var(--eg-shadow-hover);
  border-color: rgba(15, 23, 42, .16);
}

.eg-news-meta::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(59,130,246,.18), rgba(59,130,246,0) 60%);
  filter: blur(1px);
  pointer-events:none;
}

/* Бейджи категории/тегов */
.eg-news-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  position: relative;
}

.eg-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--eg-bg-soft);
  border: 1px solid rgba(2,6,23,.08);
  color: var(--eg-text);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.eg-badge i{
  opacity: .85;
}

/* Список мета-полей */
.eg-news-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  position: relative;
}

.eg-news-li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--eg-text);
  font-size: 14px;
}

.eg-news-li i{
  margin-top: 2px;
  color: #64748b;
  width: 16px;
  text-align: center;
}

.eg-news-li b{
  font-weight: 700;
}

.eg-muted{
  color: var(--eg-muted);
}

/* Рейтинг — прижимаем вниз */
.eg-news-metaBottom{
  margin-top: auto; /* ключ: уезжает вниз */
  padding-top: 12px;
  border-top: 1px dashed rgba(15,23,42,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* Нормализация твоего рейтинга внутри нашего блока */
.eg-news-meta .emp-rating__bar{
  justify-content: center;
  gap: 10px;
}
.eg-news-meta .emp-rating__btn{
  padding: 6px 10px;
}
.eg-news-meta .emp-rating__score{
  min-width: auto;
}

/* Кнопка "Оставить комментарий" (по центру) */
.eg-news-actions{
  margin-top: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.eg-news-commentBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  min-width: 240px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(2, 6, 23, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eg-news-commentBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .12);
  border-color: rgba(59, 130, 246, .35);
}

.eg-news-commentBtn i{
  color: #3b82f6;
}

/* ===== ОПИСАНИЕ ===== */
.eg-news-desc{
  margin-top: 16px;
  background: var(--eg-bg);
  border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius);
  box-shadow: var(--eg-shadow);
  padding: 16px;
  color: var(--eg-text);
}

/* ===== Мобилки: не тянем блоки по высоте ===== */
@media (max-width: 900px){
  .eg-news-poster,
  .eg-news-meta{
    height: auto;
  }

  .eg-news-poster a{
    height: auto;
    display: block;
  }

  .eg-news-poster img{
    height: 325px;
  }

  .eg-news-metaBottom{
    margin-top: 14px;
    justify-content: center;
  }
}

/* ===================================================
   FIX: pc-card + ssx-card — адаптивная высота карточки
   ===================================================
   Когда .pc-card и .ssx-card используются вместе (блок «краткая новость»),
   гарантируем что карточка не ограничена по высоте и может растягиваться
   при раскрытии категорий.
=================================================== */
.pc-card.ssx-card {
  height: auto;
  min-height: 0;
}

/* Категории — панель адаптируется по высоте контента */
.pc-card.ssx-card .ssx-panel--cats {
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* Корректный overflow для левой колонки (постер) внутри ssx-card */
.pc-card.ssx-card .ssx-side {
  overflow: hidden; /* оставляем clip для постера */
}

