.add { display:none; }
.newspaper_add { display:none; }
.newspaper_delete { display:none; }

aside{ align-items: flex-start; }
:root {
  --text: #191919;
  --text-sub: #555;
  --text-muted: #888;
  --orange: #ff5400;
  --bg: #fff;
  --bg-gray: #f5f6f8;
  --border: #e2e4e8;
  --font: clear_sans, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg-gray); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* --- Layout --- */
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.layout { display: flex; gap: 24px; padding: 16px 0 30px; align-items: flex-start; }
.content { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--border); padding: 28px 30px; font-family: var(--font); }
.sidebar { width: 300px; flex-shrink: 0; }

/* --- Заголовки (как на сайте) --- */
.content h1 { font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 20px; font-family: clear_sans, sans-serif; }
.content h2 { font-size: 20px; font-weight: 700; margin: 28px 0 14px; font-family: clear_sans, sans-serif; }
.content h3 { font-size: 17px; font-weight: 700; margin: 20px 0 10px; font-family: clear_sans, sans-serif; }
.content p { margin-bottom: 14px; }
.content p:last-child { margin-bottom: 0; }

/* --- Автор hero (простой, как шапка статьи) --- */
.author-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.author-header__photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-header__info { flex: 1; }
.author-header__role { font-size: 16px; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.author-header__since { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.author-header__summary { font-size: 14px; color: var(--text-sub); margin-top: 10px; line-height: 1.55; }
.author-header__contacts { margin-top: 10px; font-size: 14px; color: var(--text-sub); }
.author-header__contacts a { color: var(--orange); }

/* --- Таблица характеристик (как на странице обзора БК) --- */
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.info-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table td:first-child { color: var(--text-muted); width: 200px; white-space: nowrap; }
.info-table tr:last-child td { border-bottom: none; }

/* --- Блок-предупреждение (как blockquote на сайте) --- */
.notice { background: var(--bg-gray); border-left: 3px solid var(--orange); padding: 14px 18px; margin: 18px 0; font-size: 14px; color: var(--text-sub); line-height: 1.55; }
.notice strong { color: var(--text); }

/* --- Список статей (простой) --- */
.article-list { list-style: none; }
.article-list li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.article-list li:last-child { border-bottom: none; }
.article-list__cat { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.3px; }
.article-list__title { font-size: 16px; font-weight: 700; color: var(--text); display: block; margin-top: 2px; text-decoration: none; }
.article-list__title:hover { color: var(--orange); text-decoration: none; }
.article-list__date { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* --- Пагинация --- */
.navigation { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0; }
.navigation a, .navigation span { display: inline-block; font-size: 13px; font-family: var(--font); font-weight: 400; min-width: 36px; height: 36px; line-height: 36px; text-align: center; margin: 0 2px; color: #888; text-decoration: none; background: #e8e8e8; border: 1px solid #d5d5d5; }
.navigation a:hover { background: #d5d5d5; color: #555; text-decoration: none; }
.navigation span { background: #c8c8c8; border-color: #bbb; color: #555; font-weight: 700; }

/* --- Sidebar: карточки БК (как на сайте) --- */
.sidebar-block { background: var(--bg); border: 1px solid var(--border); margin-bottom: 16px; }
.sidebar-block__title { font-size: 14px; font-weight: 700; padding: 12px 16px; background: var(--bg-gray); border-bottom: 1px solid var(--border); }


/* Sidebar: другие авторы */
.author-mini { display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.author-mini:last-child { border-bottom: none; }
.author-mini__ava { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-mini__name { font-size: 13px; font-weight: 700; color: var(--text); }
.author-mini__role { font-size: 12px; color: var(--text-muted); }
.author-mini:hover { text-decoration: none !important; opacity: 0.6; transition: opacity 0.15s; }

/* --- Адаптивность --- */
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; order: 2; }
  .content { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .author-header { flex-direction: column; align-items: center; text-align: center; }
  .author-header__photo { width: 80px; height: 80px; }
}

.link{ font-size: 12px; color: var(--orange); font-weight: 600; text-decoration: none; }
.link:hover{ color: #000; text-decoration: none; }
