/* ===== GLOBAL PAGE STYLES — Hermes 2026-07-12 ===== */
/* Применяется ко всем страницам: single, archive, page, author */

/* === CONTAINER PADDING (wider gutters) === */
.container {
  padding-left: 40px !important;
  padding-right: 40px !important;
}
@media (max-width: 1024px) {
  .container { padding-left: 32px !important; padding-right: 32px !important; }
}
@media (max-width: 768px) {
  .container { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 480px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }
}

/* === HEADER HEIGHT === */
.header-inner { padding: 18px 0 !important; }
body { padding-top: 88px !important; }
@media (max-width: 767px) {
  body { padding-top: 78px !important; }
  .header-inner { padding: 14px 0 !important; }
}

/* === HEADER MENU === */
.header-menu { gap: 8px !important; }
.header-menu a {
  padding: 10px 20px !important;
  border-radius: 10px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.75) !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.01em;
}
.header-menu a:hover {
  background: rgba(102,126,234,0.1) !important;
  color: #fff !important;
}
.header-menu .current-menu-item > a {
  background: rgba(102,126,234,0.12) !important;
  color: #fff !important;
}
.header-menu a::after { background: linear-gradient(135deg, #667eea, #764ba2) !important; }

/* === HEADER LOGO === */
.header-logo__mark {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  box-shadow: 0 4px 16px rgba(102,126,234,0.3), 0 0 24px rgba(102,126,234,0.15) !important;
  border-radius: 12px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 800 !important;
  margin-right: 14px !important;
}
.header-logo__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}
.header-logo__subtitle {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
}

/* === HEADER GLASS === */
.glass-header {
  background: rgba(10,14,39,0.55) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) !important;
}
.glass-header.scrolled {
  background: rgba(10,14,39,0.75) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2) !important;
}

/* === HEADER TELEGRAM BUTTON === */
.header-cta .btn {
  background: rgba(102,126,234,0.12) !important;
  border: 1px solid rgba(102,126,234,0.2) !important;
  color: #a5b4fc !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}
.header-cta .btn:hover {
  background: rgba(102,126,234,0.18) !important;
  border-color: rgba(102,126,234,0.35) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(102,126,234,0.15) !important;
}

/* === SECTION PADDING OVERRIDE === */
section { padding: 48px 0 !important; position: relative !important; }
section + section::before { display: none !important; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
h1 { font-size: clamp(28px, 4vw, 40px) !important; font-weight: 800 !important; line-height: 1.2 !important; }
h2 { font-size: clamp(22px, 3vw, 28px) !important; font-weight: 700 !important; line-height: 1.3 !important; margin-top: 2.5em !important; margin-bottom: 1em !important; }
h3 { font-size: clamp(18px, 2.5vw, 22px) !important; font-weight: 700 !important; line-height: 1.35 !important; margin-top: 2em !important; margin-bottom: 0.8em !important; }
h4 { font-size: 16px !important; font-weight: 700 !important; }

/* === ENTRY CONTENT (single posts/articles) === */
.entry-content,
.article-single__content {
  max-width: 720px !important;
  margin: 0 auto !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.entry-content p,
.article-single__content p {
  margin-bottom: 1.5em !important;
  line-height: 1.75 !important;
  max-width: none !important;
}
.entry-content h2, .article-single__content h2,
.entry-content h3, .article-single__content h3 {
  color: var(--color-text-primary, #e4e6eb) !important;
}
.entry-content strong, .article-single__content strong {
  color: var(--color-text-primary, #e4e6eb) !important;
  font-weight: 700 !important;
}
.entry-content ul, .article-single__content ul {
  margin-bottom: 1.5em !important;
  padding-left: 1.5em !important;
  line-height: 1.75 !important;
}
.entry-content li, .article-single__content li {
  margin-bottom: 0.5em !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.entry-content a, .article-single__content a {
  color: #667eea !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(102,126,234,0.3) !important;
}
.entry-content a:hover, .article-single__content a:hover {
  color: #a5b4fc !important;
  text-decoration-color: #a5b4fc !important;
}

/* === SINGLE POST (single.php) === */
.site-main { padding: 32px 0 64px !important; }
.entry-header { margin-bottom: 32px !important; }
.entry-title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.entry-meta {
  display: flex !important;
  gap: 16px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  color: var(--color-text-tertiary, #757d8a) !important;
}
.entry-thumbnail {
  margin-bottom: 32px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.entry-thumbnail img { border-radius: 14px !important; }

/* === SINGLE ARTICLE (single-article.php) === */
.article-single {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 32px 0 64px !important;
}
.article-single__header { margin-bottom: 32px !important; }
.article-single__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 16px 0 !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.article-single__meta {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  color: var(--color-text-tertiary, #757d8a) !important;
}
.article-single__thumb {
  margin-bottom: 32px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.article-single__thumb img { border-radius: 14px !important; width: 100% !important; }

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 16px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 12px !important;
  color: var(--color-text-tertiary, #757d8a) !important;
}
.breadcrumbs a { color: #667eea !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: #a5b4fc !important; }

/* Badge "Статья блога" */
.article-single__header .badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  background: rgba(102,126,234,0.08) !important;
  color: #667eea !important;
  border: 1px solid rgba(102,126,234,0.15) !important;
  border-radius: 999px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

/* Article navigation */
.article-single__nav {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 40px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
.article-single__nav a {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  color: #667eea !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.article-single__nav a:hover { color: #a5b4fc !important; }

/* === ARCHIVE PAGE (archive-article.php) === */
.section-blog { padding: 32px 0 64px !important; }
.section-blog__header { margin-bottom: 32px !important; }
.section-blog__header h1 {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 800 !important;
  color: var(--color-text-primary, #e4e6eb) !important;
  margin: 12px 0 !important;
}
.section-blog__header .badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  background: rgba(102,126,234,0.08) !important;
  color: #667eea !important;
  border: 1px solid rgba(102,126,234,0.15) !important;
  border-radius: 999px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
.section-blog__subtitle {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 15px !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  margin-top: 12px !important;
}

/* Blog cards in archive */
.section-blog__grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
  padding: 0 !important;
}
.section-blog__grid > .blog-card {
  flex: 1 1 calc(33.333% - 16px) !important;
  min-width: 280px !important;
  background: rgba(16,18,28,0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}
.section-blog__grid > .blog-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(102,126,234,0.25) !important;
  box-shadow: 0 12px 32px rgba(102,126,234,0.1) !important;
}
.section-blog__grid > .blog-card::before,
.section-blog__grid > .blog-card::after { display: none !important; }

/* Make entire card clickable */
.blog-card__overlay-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 10 !important;
  display: block !important;
  text-decoration: none !important;
  color: transparent !important;
}
.blog-card__overlay-link::after { display: none !important; }

/* Keep title/cta above overlay but still clickable via z-index */
.blog-card__title { position: relative; z-index: 5; }
.blog-card__title a { position: relative; z-index: 5; }
.blog-card__cta { position: relative; z-index: 5; }

.blog-card__top { position: relative !important; }
.blog-card__image {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover !important;
  border-radius: 14px 14px 0 0 !important;
}
.blog-card__meta {
  padding: 12px 20px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 12px !important;
  color: var(--color-text-tertiary, #757d8a) !important;
  position: static !important;
}
.blog-card__body {
  padding: 16px 20px !important;
}
.blog-card__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--color-text-primary, #e4e6eb) !important;
  margin: 0 0 10px 0 !important;
}
.blog-card__excerpt {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  line-height: 1.55 !important;
}
.blog-card__footer {
  padding: 12px 20px !important;
  border-top: 1px solid rgba(255,255,255,0.04) !important;
}
.blog-card__cta {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #667eea !important;
}

/* Pagination */
.section-blog__pagination {
  margin-top: 40px !important;
  display: flex !important;
  justify-content: center !important;
}
.section-blog__pagination .nav-links {
  display: flex !important;
  gap: 8px !important;
}
.section-blog__pagination a,
.section-blog__pagination span {
  padding: 10px 16px !important;
  border-radius: 10px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  background: rgba(16,18,28,0.5) !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  transition: all 0.2s ease !important;
}
.section-blog__pagination a:hover {
  border-color: rgba(102,126,234,0.25) !important;
  color: #667eea !important;
}
.section-blog__pagination .current {
  background: rgba(102,126,234,0.12) !important;
  border-color: rgba(102,126,234,0.2) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .section-blog__grid { flex-direction: column !important; }
  .section-blog__grid > .blog-card { flex: 1 1 100% !important; }
}

/* === PAGE (page.php) === */
.page-content {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 32px 0 64px !important;
}
.page-title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(28px, 4vw, 36px) !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.page-body {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.page-body p { margin-bottom: 1.5em !important; max-width: none !important; }

/* === AUTHOR PAGE === */
.author-page-hero { padding: 32px 0 48px !important; }
.author-page-hero__card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(15,18,26,0.92), rgba(18,21,31,0.68));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.author-page-hero__card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(102,126,234,0.12), transparent 50%);
  pointer-events: none;
}
.author-page-hero__photo {
  position: relative; z-index: 1;
}
.author-page-hero__photo img {
  width: 200px; height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.author-page-hero__info {
  position: relative; z-index: 1;
}
.author-page-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(102,126,234,0.08);
  color: #667eea;
  border: 1px solid rgba(102,126,234,0.15);
  border-radius: 999px;
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
}
.author-page-hero__name {
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-text-primary, #e4e6eb);
}
.author-page-hero__title {
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 16px;
}
.author-page-hero__bio {
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary, #a0a6b0);
  margin-bottom: 24px;
  max-width: 560px;
}
.author-page-hero__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.author-page-hero__social {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: rgba(102,126,234,0.08);
  border: 1px solid rgba(102,126,234,0.15);
  border-radius: 10px;
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #a5b4fc;
  text-decoration: none;
  transition: all 0.25s ease;
}
.author-page-hero__social:hover {
  background: rgba(102,126,234,0.15);
  border-color: rgba(102,126,234,0.3);
  color: #fff;
  transform: translateY(-1px);
}

.author-page__posts { padding: 0 0 64px !important; }
.author-page__posts-title {
  font-family: var(--font-main, 'Manrope', sans-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--color-text-primary, #e4e6eb);
}

@media (max-width: 768px) {
  .author-page-hero__card { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; padding: 32px 24px; }
  .author-page-hero__photo img { width: 160px; height: 220px; margin: 0 auto; }
  .author-page-hero__bio { max-width: none; }
  .author-page-hero__socials { justify-content: center; }
}

/* === FOOTER === */

/* === GLOSSARY PAGE === */
.glossary-hero { padding: 32px 0 48px !important; }
.glossary-hero__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(28px, 5vw, 40px) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: none !important;
  letter-spacing: -0.02em !important;
}
.glossary-hero__description {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 15px !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  max-width: 640px !important;
  line-height: 1.65 !important;
}

/* Search bar */
.glossary-search-wrapper { max-width: 720px !important; margin: 0 auto 40px !important; }
.glossary-search {
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 4px 8px !important;
  background: rgba(16,18,28,0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}
.glossary-search::before, .glossary-search::after { display: none !important; }
.glossary-search:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(102,126,234,0.2) !important;
  box-shadow: 0 8px 24px rgba(102,126,234,0.08) !important;
}
.glossary-search:focus-within {
  transform: none !important;
  border-color: rgba(102,126,234,0.3) !important;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1) !important;
}
.glossary-search__icon--left {
  color: var(--color-text-tertiary, #757d8a) !important;
  margin-left: 12px !important;
  margin-right: 8px !important;
  width: 20px !important;
  height: 20px !important;
}
.glossary-search:hover .glossary-search__icon--left,
.glossary-search:focus-within .glossary-search__icon--left {
  color: #667eea !important;
  transform: none !important;
  filter: none !important;
}
.glossary-search__input {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--color-text-primary, #e4e6eb) !important;
  min-height: 48px !important;
}
.glossary-search__input::placeholder {
  color: var(--color-text-tertiary, #757d8a) !important;
  opacity: 0.7 !important;
}
.glossary-search__clear {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
}
.glossary-search__clear:hover {
  background: rgba(255,82,82,0.1) !important;
  border-color: rgba(255,82,82,0.2) !important;
  transform: none !important;
  box-shadow: none !important;
}
.glossary-search__hint {
  display: none !important;
}

/* Alphabet filter */
.glossary-alphabet-wrapper { margin-bottom: 40px !important; }
.glossary-alphabet-section { gap: 16px !important; }
.glossary-alphabet-section::after { display: none !important; }
.glossary-alphabet-label {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
}
.glossary-alphabet {
  gap: 6px !important;
  padding: 16px !important;
  background: rgba(16,18,28,0.4) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.glossary-alphabet__btn {
  min-width: 44px !important;
  height: 44px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}
.glossary-alphabet__btn::before, .glossary-alphabet__btn::after { display: none !important; }
.glossary-alphabet__btn:hover {
  color: #fff !important;
  background: rgba(102,126,234,0.1) !important;
  border-color: rgba(102,126,234,0.2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102,126,234,0.1) !important;
}
.glossary-alphabet__btn.active {
  color: #fff !important;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(102,126,234,0.25) !important;
  animation: none !important;
  transform: translateY(-1px) !important;
}

/* Glossary terms */
.glossary { max-width: 820px !important; padding: 0 0 64px !important; }
.glossary-terms { gap: 24px !important; }
.glossary-term {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  background: rgba(16,18,28,0.55) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 16px !important;
  padding: 28px !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) !important;
}
.glossary-term:hover {
  border-color: rgba(102,126,234,0.2) !important;
  box-shadow: 0 12px 32px rgba(102,126,234,0.08) !important;
  transform: translateY(-2px) !important;
  background: rgba(20,23,34,0.65) !important;
}
.glossary-term__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.glossary-term__content {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.glossary-term__content p { margin-bottom: 1em !important; max-width: none !important; }
.glossary-term__content strong { color: var(--color-text-primary, #e4e6eb) !important; font-weight: 700 !important; }
.glossary-term__list { padding-left: 1.2em !important; }
.glossary-term__list li { color: var(--color-text-secondary, #a0a6b0) !important; margin-bottom: 0.5em !important; }
.glossary-term__list li strong { color: #667eea !important; }
.glossary-term__example {
  background: rgba(102,126,234,0.06) !important;
  border-left: 3px solid #667eea !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  box-shadow: none !important;
}
.glossary-term__example strong { color: #667eea !important; }
.glossary-term__footer {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}
.glossary-term__related {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  color: var(--color-text-tertiary, #757d8a) !important;
}
.glossary-term__related a {
  color: #667eea !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.glossary-term__related a:hover { color: #a5b4fc !important; }

/* Badges */
.glossary-term__category .badge {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  box-shadow: none !important;
}
.badge { background: rgba(139,93,255,0.12) !important; color: #a5b4fc !important; border: 1px solid rgba(139,93,255,0.2) !important; }
.badge--seo { background: rgba(102,126,234,0.12) !important; color: #a5b4fc !important; border: 1px solid rgba(102,126,234,0.2) !important; }
.badge--analytics { background: rgba(76,175,80,0.12) !important; color: #66bb6a !important; border: 1px solid rgba(76,175,80,0.2) !important; }
.badge--ai { background: rgba(255,152,0,0.12) !important; color: #ffa726 !important; border: 1px solid rgba(255,152,0,0.2) !important; }

/* CTA */
.glossary-cta {
  background: rgba(16,18,28,0.55) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}
.glossary-cta__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.glossary-cta__description {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.glossary-cta__buttons { gap: 12px !important; }
.glossary-cta__buttons .btn {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.01em !important;
}
.glossary-cta__buttons .btn--primary {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: #fff !important;
}
.glossary-cta__buttons .btn--primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(102,126,234,0.25) !important;
  color: #fff !important;
}
.glossary-cta__buttons .btn--secondary {
  background: rgba(16,18,28,0.6) !important;
  color: var(--color-text-primary, #e4e6eb) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.glossary-cta__buttons .btn--secondary:hover {
  border-color: rgba(102,126,234,0.25) !important;
  background: rgba(20,23,34,0.7) !important;
  transform: translateY(-1px) !important;
}

/* No results */
.glossary-no-results__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  color: var(--color-text-primary, #e4e6eb) !important;
}
.glossary-no-results__text {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}

/* === ARTICLE HERO (background image header) === */
.article-hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  max-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
  overflow: hidden;
}
.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,39,0.3) 0%, rgba(10,14,39,0.65) 50%, rgba(10,14,39,0.95) 100%);
  pointer-events: none;
}
.article-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 40px 36px 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.article-hero__breadcrumbs { margin-bottom: 12px !important; opacity: 0.7; }
.article-hero__breadcrumbs a, .article-hero__breadcrumbs p { color: rgba(255,255,255,0.65) !important; }
.article-hero__badge {
  display: inline-block !important;
  margin-bottom: 12px;
}
.article-hero__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: clamp(24px, 4vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.02em !important;
  max-width: 800px;
}
.article-hero__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px;
  color: rgba(255,255,255,0.6) !important;
}
.article-hero__meta span { font-weight: 500; }

/* === AUTHOR CARD (в конце статей) === */
.author-card {
  margin: 48px 0 0 !important;
  background: rgba(16,18,28,0.55) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  overflow: hidden !important;
}
.author-card::before { display: none !important; }
.author-card__inner {
  padding: 32px !important;
  gap: 24px !important;
}
.author-card__badge {
  align-self: flex-start !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  background: rgba(102,126,234,0.12) !important;
  color: #a5b4fc !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.author-card__header {
  display: grid !important;
  grid-template-columns: 96px 1fr !important;
  gap: 24px !important;
  align-items: center !important;
}
.author-card__avatar {
  margin: 0 !important;
  padding: 4px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(102,126,234,0.2) !important;
}
.author-card__avatar img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  display: block !important;
}
.author-card__info { gap: 4px !important; }
.author-card__name {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--color-text-primary, #e4e6eb) !important;
  margin: 0 0 4px 0 !important;
}
.author-card__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.author-card__title[style] {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.author-card__description {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
}
.author-card__description p { margin: 0 !important; max-width: none !important; }
.author-card__socials {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.author-card__socials li { display: flex !important; }
.author-card__socials a {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  background: rgba(16,18,28,0.6) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--color-text-secondary, #a0a6b0) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}
.author-card__socials a:hover {
  background: rgba(102,126,234,0.1) !important;
  border-color: rgba(102,126,234,0.2) !important;
  color: #a5b4fc !important;
  transform: translateY(-1px) !important;
}
.author-card__socials a i { font-size: 14px !important; }
.author-card__socials .social-label { font-size: 13px !important; }

/* === FOOTER === */
.site-footer {
  margin-top: 0 !important;
  padding: 56px 0 32px !important;
  background: rgba(8,10,18,0.6) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
}
.footer-main {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.2fr !important;
  gap: 48px !important;
  align-items: flex-start !important;
  margin-bottom: 40px !important;
}
.footer-logo { margin-bottom: 16px !important; }
.footer-logo__mark {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  box-shadow: 0 4px 12px rgba(102,126,234,0.2) !important;
  border-radius: 10px !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-right: 14px !important;
}
.footer-logo__title {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: rgba(255,255,255,0.9) !important;
}
.footer-logo__subtitle {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  color: rgba(255,255,255,0.4) !important;
}
.footer-description {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.5) !important;
  max-width: 320px !important;
}
.footer-heading {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: rgba(255,255,255,0.4) !important;
  margin-bottom: 16px !important;
}
.footer-menu { display: grid !important; gap: 10px !important; }
.footer-menu a {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.footer-menu a:hover { color: #a5b4fc !important; }
.footer-cta p {
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.5) !important;
  margin-bottom: 16px !important;
}
.footer-cta__buttons .btn {
  background: rgba(102,126,234,0.1) !important;
  border: 1px solid rgba(102,126,234,0.2) !important;
  color: #a5b4fc !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
}
.footer-cta__buttons .btn:hover {
  background: rgba(102,126,234,0.18) !important;
  border-color: rgba(102,126,234,0.35) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  padding-top: 24px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: var(--font-main, 'Manrope', sans-serif) !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.35) !important;
}
.footer-copy { color: rgba(255,255,255,0.35) !important; }
.footer-meta { color: rgba(255,255,255,0.35) !important; }
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center !important; }
}