:root{
  --cg-bg: #ffffff;           /* основной фон карточки */
  --cg-muted: #6b7280;        /* серый для описаний */
  --cg-text: #1a1a1a;         /* текст и заголовки */
  --cg-border: #e5e7eb;       /* тонкие линии */
  --cg-soft: #fff6f2;         /* нежный бежево-розовый фон секций */
  --cg-primary: #e4572e;      /* терракотовый акцент (кнопки, бейджи) */
  --cg-primary-dark: #c53d17; /* более тёмный для hover */
  --cg-like: #15803d;         /* зелёный для плюсов */
  --cg-dislike: #dc2626;      /* красный для минусов */
  --cg-shadow: 0 6px 18px rgba(0,0,0,.05);
  --cg-radius: 16px;
}

/* ---------- Сетка списка ---------- */
.entry-content .grid{
  display: grid;
  grid-column: span 1;
  gap:20px;
}

/* 3 колонки на десктопе */
@media (min-width: 1024px){
  .entry-content .grid > .card{ grid-column: 1; }
}
/* 2 колонки на планшете */
@media (min-width: 640px) and (max-width: 1023.98px){
  .entry-content .grid > .card{ grid-column: 1; }
}
/* 1 колонка на мобиле */
@media (max-width: 639.98px){
  .entry-content .grid > .card{ grid-column: 1; }
}

/* ---------- Карточка ---------- */
.entry-content .card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cg-bg);
  border: 1px solid var(--cg-border);
  border-radius: var(--cg-radius);
  box-shadow: var(--cg-shadow);
  overflow: hidden;
}

/* номер карточки */
.entry-content .card::before{
  content: attr(data-num);
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--cg-primary);
  color: #fff; font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(14,165,233,.25);
  z-index: 2;
  line-height: 41px;
}

/* ---------- Заголовок ---------- */
.entry-content .card h3{
  margin: 18px 18px 10px 60px;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--cg-text);
  margin-top: 18px !important;
}
.entry-content .card h3 a{
  color: inherit;
  text-decoration: none;
}
.entry-content .card h3 a:hover{
  color: var(--cg-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Картинка (под заголовком) ---------- */
.entry-content .card .thumb{
  position: relative;
  margin: 0 18px 14px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 11;            /* стабильная высота карточки */
}
.entry-content .card .thumb img{
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .35s ease;
}
.entry-content .card .thumb:hover img{
  transform: scale(1.02);
}

/* ---------- Кнопка ---------- */
.entry-content .card .btns{
  display: flex;
  gap: 10px;
  padding: 0 18px 18px;
}
.entry-content .card .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 10px 14px;
  width: 100%;
  font-weight: 700;
  text-decoration: none;
  color: #fff !important;
  background: var(--cg-primary);
  border-radius: 12px;
  transition: background .2s ease, transform .06s ease;
  box-shadow: 0 8px 18px rgba(14,165,233,.25);
}
.entry-content .card .btn:hover{
  background: var(--cg-primary-dark);
}
.entry-content .card .btn:active{
  transform: translateY(1px);
}

/* ---------- Блок плюсов/минусов ---------- */
.entry-content .card .lists{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 12px 18px;
  background: var(--cg-soft);
  border-top: 1px solid var(--cg-border);
  border-bottom: 1px solid var(--cg-border);
}
@media (max-width: 480px){
  .entry-content .card .lists{ grid-template-columns: 1fr; }
}
.entry-content .card .lists .col h4{
  margin: 0 0 6px;
  font-size: .9rem;
  font-weight: 800;
}
.entry-content .card .lists .col:first-child h4{ color: var(--cg-like); }
.entry-content .card .lists .col:last-child  h4{ color: var(--cg-dislike); }

.entry-content .card .lists ul{
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 6px;
}
.entry-content .card .lists ul li{
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--cg-text);
}

.entry-content .card .lists li {
    position: relative;
    padding-left: 22px; /* место под иконку */
}

.entry-content .card .lists li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* зелёная галочка */
.entry-content .card .lists .pros li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
}

/* красный крестик */
.entry-content .card .lists .cons li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}



/* ---------- Summary (текст внизу) ---------- */
.entry-content .card .summary{
  padding: 14px 18px 18px;
}
.entry-content .card .summary p.summary{
  margin: 0;
  color: var(--cg-muted);
  line-height: 1.55;
  font-size: .98rem;
}

/* ---------- Мелкие улучшения ---------- */
.entry-content .card .information{
  display: flex;
  flex-direction: column;
}

/* подправим alt-кавычки внутри alt/title для HTML */
.entry-content img[alt*="&quot;"]{ font-style: normal; }
