/* ===============================================
   Тема «Оракул» — светлая редакционная
   Палитра: тёплая слоновая кость + глубокий фиолет
   =============================================== */

:root {
  --bg: #FBFAF6;          /* фон страницы */
  --paper: #FFFFFF;       /* карточки */
  --ink: #2C2C2A;         /* основной текст */
  --ink-2: #5F5E5A;       /* вторичный текст */
  --mut: #8B897F;         /* мета, подписи */
  --line: #E7E4DA;        /* границы */
  --violet: #534AB7;      /* акцент: кнопки, ссылки */
  --violet-deep: #26215C; /* заголовки-бренд */
  --violet-tint: #EEEDFE; /* подложки */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---------- Шапка ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--violet-deep);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }

/* Знак бренда: монограмма в круге */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--violet);
  color: var(--violet);
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}
.brand-name { letter-spacing: .01em; }

.nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--violet); text-decoration: none; }
.nav a.nav-accent { color: var(--violet); font-weight: 600; }

/* ---------- Первый экран (главная) ---------- */

.hero {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}

.hero-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-mono {
  display: flex; align-items: center; justify-content: center;
  background: var(--violet-tint);
  color: var(--violet-deep);
  font-family: var(--serif);
  font-size: 40px;
}

.hero-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.hero-cred { font-size: 18px; font-weight: 400; color: var(--ink-2); }

.hero-tagline { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }

.btn {
  display: inline-block;
  background: var(--violet);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}
.btn:hover { background: var(--violet-deep); text-decoration: none; }

/* ---------- Лента статей ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mut);
  margin: 32px 0 14px;
}

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-cover { display: block; aspect-ratio: 16/9; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-body { padding: 14px 16px 16px; }

.card-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 6px;
  font-weight: 700;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--violet); text-decoration: none; }

.card-desc { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.card-meta { margin: 0; font-size: 13px; color: var(--mut); }

.pager {
  display: flex; justify-content: space-between;
  padding: 28px 0 40px; font-size: 15px;
}

/* ---------- Статья ---------- */

.post { padding: 28px 0 48px; }

.crumbs { font-size: 13px; color: var(--mut); margin-bottom: 16px; }
.crumbs a { color: var(--mut); }
.crumbs a:hover { color: var(--violet); }
.crumbs span { margin: 0 4px; }

.post-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 700;
}

.post-meta { font-size: 13px; color: var(--mut); margin: 0 0 24px; }

.post-cover { border-radius: 10px; margin-bottom: 24px; display: block; }

.post-content { font-size: 17px; }

.post-content h2, .post-content h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 36px 0 12px;
}
.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }

.post-content p { margin: 0 0 18px; }

.post-content img { border-radius: 8px; }

.post-content blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--violet);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
}

.post-content ul, .post-content ol { margin: 0 0 18px; padding-left: 24px; }
.post-content li { margin-bottom: 6px; }

.post-content table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.post-content th { background: var(--violet-tint); color: var(--violet-deep); }

/* --- Сниппеты для вставки в текст статьи --- */

/* Блок «Кратко» — сжатое значение до развёрнутого текста */
.tldr {
  background: var(--violet-tint);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 15px;
}
.tldr b, .tldr strong { color: var(--violet-deep); }
.tldr p { margin: 0; color: var(--violet); line-height: 1.6; }

/* Оглавление с якорями */
.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 24px;
  font-size: 15px;
}
.toc p { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.toc a { display: inline-block; margin: 2px 10px 2px 0; }

/* ---------- Блок консультации ---------- */

.consult {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 1px solid #AFA9EC;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 32px 0;
}

.consult-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  font-size: 24px;
}

.consult-title { margin: 0 0 4px; font-weight: 600; font-size: 16px; color: var(--violet-deep); }
.consult-text { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------- Похожие статьи ---------- */

.related { margin-top: 8px; }

/* ---------- Подвал ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  font-size: 14px;
  color: var(--mut);
}

.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-nav { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-nav a { color: var(--mut); }
.footer-nav a:hover { color: var(--violet); }

/* ---------- Мобильная вёрстка ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .hero { flex-direction: column; text-align: center; align-items: center; padding: 28px 0 24px; }
  .hero-photo { width: 84px; height: 84px; }
  .post-title { font-size: 26px; }
  .consult { flex-direction: column; text-align: center; }
  .header-inner { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- Категории на главной ---------- */

.cats { border-bottom: 1px solid var(--line); padding-bottom: 24px; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink-2);
}
.chip:hover { border-color: var(--violet); color: var(--violet); text-decoration: none; }

.chip-n {
  background: var(--violet-tint);
  color: var(--violet-deep);
  border-radius: 999px;
  font-size: 11px;
  padding: 1px 7px;
}

.meta-cat { color: var(--mut); }
.meta-cat:hover { color: var(--violet); }

/* ---------- Произвольные HTML-вставки в статьях ---------- */

.post-content iframe {
  max-width: 100%;
  border: 0;
}

/* Адаптивная обёртка для любого iframe: <div class="embed">...iframe...</div> */
.post-content .embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.post-content .embed iframe,
.post-content .embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Широкие таблицы скроллятся внутри статьи, а не ломают страницу */
.post-content table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.post-content table.table-wrap { white-space: normal; }

.post-content pre {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
}

.post-content { overflow-wrap: break-word; }

/* ---------- Мультиплатформенный плеер ---------- */

.oplayer { margin: 0 0 24px; }

.oplayer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.oplayer-tabs button {
  font: inherit;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
}
.oplayer-tabs button:hover { border-color: var(--violet); color: var(--violet); }
.oplayer-tabs button.on {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.oplayer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}
.oplayer-frame iframe,
.oplayer-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.oplayer-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--mut);
}

/* ---------- Единый стиль форм и кнопок (включая HTML-вставки) ---------- */

button,
input[type="button"],
input[type="submit"],
a.btn {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
}
button:active,
input[type="button"]:active,
input[type="submit"]:active {
  transform: translateY(1px);
}

/* Второстепенная кнопка: <button class="btn-outline"> или <a class="btn btn-outline"> */
.btn-outline,
button.btn-outline {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--violet);
}
.btn-outline:hover,
button.btn-outline:hover {
  background: var(--violet-tint);
  color: var(--violet-deep);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  max-width: 100%;
}
textarea { min-height: 120px; resize: vertical; }

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-tint);
}

::placeholder { color: var(--mut); opacity: 1; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 0 0 6px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 20px;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  accent-color: var(--violet);
  transform: scale(1.15);
  margin-right: 8px;
}

/* Кнопки-переключатели плеера сохраняют вид чипов
   (объявлено после общих правил, чтобы победить в каскаде) */
.oplayer-tabs button {
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  transition: none;
}
.oplayer-tabs button:hover {
  background: var(--paper);
  border-color: var(--violet);
  color: var(--violet);
}
.oplayer-tabs button:active { transform: none; }
.oplayer-tabs button.on {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

@media (max-width: 640px) {
  button, input[type="submit"], a.btn { width: 100%; text-align: center; }
  .oplayer-tabs button { width: auto; }
}

/* ---------- Блок подписки внизу сайта ---------- */

.subscribe { margin-top: 24px; }

.subscribe-box {
  background: var(--violet-tint);
  border-radius: 12px;
  padding: 26px 28px;
  margin-bottom: 28px;
  text-align: center;
}

.subscribe-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--violet-deep);
  margin: 0 0 4px;
}

.subscribe-text {
  font-size: 14px;
  color: var(--violet);
  margin: 0 0 16px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}

.subscribe-form input[type="email"] {
  flex: 1;
  background: #fff;
  border-color: transparent;
}
.subscribe-form input[type="email"]:focus {
  border-color: var(--violet);
}

.subscribe-form button { white-space: nowrap; width: auto; }

@media (max-width: 640px) {
  .subscribe-box { padding: 22px 18px; }
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }
}


/* --- Кнопки контактов (WhatsApp, Telegram, YouTube, Instagram, Email, FAQ) --- */
 
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
 
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.15s ease;
}
 
.contact-btn:hover {
  opacity: 0.88;
}
 
.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
 
.contact-btn.whatsapp  { background: #25D366; }
.contact-btn.telegram  { background: #26A5E4; }
.contact-btn.youtube   { background: #FF0000; }
.contact-btn.instagram { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4); }
.contact-btn.email     { background: #38206f; }  /* ← замените на var(--ваш-акцентный-цвет), если он есть в теме */
.contact-btn.faq       { background: #555; }
 
/* --- FAQ-аккордеон (используется на странице Контактов и где потребуется) --- */
 
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
 
.faq-item {
  border: 1px solid #e5e0f0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}
 
.faq-item summary {
  cursor: pointer;
  padding: 16px 44px 16px 20px;
  font-weight: 600;
  color: #38206f;              /* ← замените на акцентный цвет темы, если есть переменная */
  list-style: none;
  position: relative;
}
 
.faq-item summary::-webkit-details-marker {
  display: none;
}
 
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #38206f;               /* ← тот же акцентный цвет */
  transition: transform 0.2s ease;
}
 
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
 
.faq-item summary:hover {
  background: #f7f5fb;
}
 
.faq-item[open] summary {
  border-bottom: 1px solid #e5e0f0;
}
 
.faq-item p {
  margin: 0;
  padding: 16px 20px 18px;
  color: #444;
  line-height: 1.6;
}

/* --- Таймлайн на странице "О практике" --- */
 
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
 
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-left: 3px solid #38206f;   /* ← замените на акцентный цвет темы, если есть переменная */
  background: #f7f5fb;
  border-radius: 0 8px 8px 0;
}
 
.timeline-year {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 18px;
  color: #38206f;                   /* ← тот же акцентный цвет */
  min-width: 52px;
}
 
.timeline-item p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}
 
/* --- Галерея сертификатов и отзывов --- */
 
.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
 
.about-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: opacity 0.15s ease;
}
 
.about-gallery a:hover img {
  opacity: 0.85;
}


/* --- Карточка-тизер будущей услуги (страница "Рунное Планирование") --- */
 
.service-teaser {
  position: relative;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  background: #f7f5fb;
  border: 1px solid #e5e0f0;
}
 
.service-teaser-art {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 18px;
}
 
.service-teaser-badge {
  display: inline-block;
  background: #f3d98b;
  color: #3a1f6e;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
 
.service-teaser p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #333;
}
 
.service-teaser-cta {
  font-weight: 600;
  color: #38206f;              /* ← замените на акцентный цвет темы, если есть переменная */
  margin-bottom: 0 !important;
}
 
/* --- Значок аркана вверху статьи --- */

.arcana-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f7f5fb;
  border: 1px solid #e5e0f0;
  color: #38206f;                 /* ← замените на акцентный цвет темы, если есть переменная */
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.arcana-badge .mark {
  color: #a8944f;
  font-size: 12px;
}

/* --- Теги-ключевые слова --- */

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 28px;
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d8cdf0;
  color: #5b3a9e;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.keyword-tag .mark {
  color: #a084d6;
  margin-right: 5px;
  font-size: 11px;
}

/* --- Иконки перед заголовками разделов --- */

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f7f5fb;
  color: #38206f;
  font-size: 14px;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- Иконки перед подразделами (Отношения / Работа / Общее) --- */

.topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  margin-right: 6px;
  vertical-align: middle;
}

.topic-icon.love    { background: #fbeaf0; color: #b23a63; }
.topic-icon.work    { background: #eaf3de; color: #4a7a1e; }
.topic-icon.general { background: #f7f5fb; color: #38206f; }

/* --- Блок "Прямое / Перевёрнутое положение" --- */

.polarity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 560px) {
  .polarity-grid { grid-template-columns: 1fr; }
}

.polarity-box {
  padding: 16px 18px;
  border-radius: 0 10px 10px 0;
}

.polarity-box.upright {
  background: #f7f5fb;
  border-left: 4px solid #38206f;
}

.polarity-box.reversed {
  background: #fbf0e2;
  border-left: 4px solid #c9903a;
}

.polarity-label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.polarity-box.upright .polarity-label { color: #38206f; }
.polarity-box.reversed .polarity-label { color: #a3671f; }

.polarity-label .mark {
  margin-right: 6px;
  font-size: 15px;
}

.polarity-box p {
  margin: 0;
  font-size: 14.5px;
  color: #444;
  line-height: 1.5;
}

/* --- Инсайт-бокс (психологический взгляд) --- */

.insight-box {
  background: #fff8ea;
  border-left: 4px solid #f3d98b;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 15px;
  color: #5b4a2e;
  line-height: 1.6;
}

.insight-box .mark {
  color: #c9a13a;
  font-weight: 700;
  margin-right: 6px;
}

/* --- CTA-карточка в конце статьи --- */

.article-cta {
  background: #38206f;
  color: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 36px 0 8px;
  text-align: center;
}

.article-cta p.title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.article-cta p.sub {
  font-size: 14px;
  color: #d8cdf0;
  margin: 0 0 16px;
}

.article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3d98b;
  color: #3a1f6e !important;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.hub-link {
  font-size: 14px;
  color: #777;
  margin-top: 14px;
}

.hub-link a {
  color: #5b3a9e;
}

/* ==========================================================================
   Оформление кластера "Таро Теней" (78 арканов) 
   ========================================================================== */

/* --- Значок аркана --- */

.tt-arcana-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fbecec;
  border: 1px solid #f0cfcc;
  color: #7a1f28;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}

.tt-arcana-badge .mark {
  color: #c9a13a;
  font-size: 12px;
}

/* --- Иконки перед заголовками разделов --- */

.tt-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fbecec;
  color: #7a1f28;
  font-size: 14px;
  margin-right: 8px;
  vertical-align: middle;
}

/* --- Диагностическая карточка (Личность / Воздействие / Магия / Другое) --- */

.tt-ref-card {
  background: #fbecec;
  border: 1px solid #f0cfcc;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}

.tt-ref-card p {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: #3a2020;
  line-height: 1.5;
}

.tt-ref-card p:last-child {
  margin-bottom: 0;
}

.tt-ref-card ul {
  margin: 4px 0 12px;
  padding-left: 20px;
}

.tt-ref-card ul:last-child {
  margin-bottom: 0;
}

.tt-ref-card li {
  font-size: 14.5px;
  color: #3a2020;
  line-height: 1.5;
  margin-bottom: 3px;
}

.tt-ref-label {
  display: inline-block;
  font-weight: 700;
  color: #7a1f28;
  margin-right: 6px;
}

/* --- Инсайт-бокс (пояснение практика) --- */

.tt-insight-box {
  background: #fdf0ef;
  border-left: 4px solid #7a1f28;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 15px;
  color: #5c1f22;
  line-height: 1.6;
}

.tt-insight-box .mark {
  color: #c9a13a;
  font-weight: 700;
  margin-right: 6px;
}

/* --- CTA-карточка в конце статьи --- */

.tt-article-cta {
  background: #7a1f28;
  color: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin: 36px 0 8px;
  text-align: center;
}

.tt-article-cta p.title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

.tt-article-cta p.sub {
  font-size: 14px;
  color: #f0cfcc;
  margin: 0 0 16px;
}

.tt-article-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8c37a;
  color: #5c1620 !important;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.tt-article-cta a .mark {
  margin-left: 2px;
}