/* CNoba skeleton */
:root{
  --cnoba-bg: #0f1113;
  --cnoba-shell: #ffffff;
  --cnoba-border: rgba(0,0,0,.10);
  --cnoba-muted: rgba(0,0,0,.60);
  --cnoba-radius: 18px;
  --cnoba-gap: 16px;
}

body, html, .play-regular {
  font-family: "Play", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.play-bold {
  font-family: "Play", sans-serif;
  font-weight: 700;
  font-style: normal;
}
h1, h2, h3, h4, h5, h6,
.navbar-brand,
.cnoba-nav .nav-link {
  font-family: "Play", sans-serif;
  font-weight: 700;
}



.cnoba-body { background: var(--cnoba-bg); }

.cnoba-topbar { background: #000; border-bottom: 1px solid rgba(255,255,255,.12); }
.cnoba-brand { letter-spacing: .2px; }
.cnoba-nav .nav-link { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; opacity: .92; }
.cnoba-nav .nav-link.active { opacity: 1; font-weight: 600; }

.cnoba-shell{
  background: var(--cnoba-shell);
  border-radius: var(--cnoba-radius);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  overflow: hidden;
}

.cnoba-main { background: var(--cnoba-shell); }

.cnoba-grid{
  display: grid;
  gap: var(--cnoba-gap);
  grid-template-columns: 1fr;
}

/* 2/3/4 колонки на десктопе */
@media (min-width: 768px){  .cnoba-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px){ .cnoba-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px){ .cnoba-grid{ grid-template-columns: repeat(4, 1fr); } }

.cnoba-tile{
  border: 1px solid var(--cnoba-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.cnoba-tile--feature{
  grid-column: 1 / -1;
  border-radius: 16px;
  position: relative;
}

.cnoba-thumb{
  display: block;
  height: 180px;
  position: relative;
  text-decoration: none;
}
.cnoba-thumb--sm{ height: 140px; }

.cnoba-thumb__badge{
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cnoba-tile__body{
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cnoba-h{ margin: 0; line-height: 1.15; }
.cnoba-h--xl{ font-size: clamp(1.4rem, 2.2vw, 2.1rem); font-weight: 700; }
.cnoba-h--m{ font-size: 1.05rem; font-weight: 700; }
.cnoba-h--s{ font-size: .98rem; font-weight: 650; }

.cnoba-link{ color: #111; text-decoration: none; }
.cnoba-link:hover{ text-decoration: underline; }

.cnoba-p{
  margin: 0;
  color: var(--cnoba-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cnoba-meta{
  margin-top: auto;
  color: rgba(0,0,0,.62);
  font-size: .85rem;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.cnoba-dot{ opacity: .55; }

.cnoba-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cnoba-actions--feature{ padding: 12px 14px 14px; }

/* Placeholder */
.cnoba-cover{
  display:block;
  min-height: 340px;
  text-decoration:none;
  color: #fff;
  position: relative;
}
.cnoba-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.65) 65%, rgba(0,0,0,.75) 100%);
}
.cnoba-cover__inner{
  position: relative;
  padding: 18px 18px 16px;
  max-width: 980px;
}
.cnoba-cover__k{
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 8px;
}
.cnoba-cover__p{
  margin: 10px 0 0;
  max-width: 78ch;
  opacity: .90;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cnoba-cover__meta{
  margin-top: 10px;
  font-size: .9rem;
  opacity: .88;
}

.cnoba-footer{ border-top: 1px solid rgba(255,255,255,.10); background: #0b0c0d; }
.cnoba-footer .text-muted{ color: rgba(255,255,255,.60) !important; }

.entry-content{ font-size: 1.05rem; line-height: 1.65; }
.entry-content img, .entry-content video, .entry-content iframe{ max-width: 100%; height: auto; }

.autocomplete{ max-height: 320px; overflow: auto; }
.autocomplete .dropdown-item{ white-space: normal; }