/* ============================================================
   Дом Фенікса — сторінка окремої карти.
   ============================================================ */

.df-cs{margin:0 auto;max-width:62em}

/* ── Верх: зображення (обтікання) + ключові слова ──────── */

.df-cs-figure{
  float:left;
  width:clamp(200px,32%,300px);
  margin:0 40px 24px 0;
  border:1px solid rgba(201,169,97,.3);
  background:#0B1136;
  overflow:hidden;
  box-shadow:0 16px 44px rgba(0,0,0,.4);
}
.df-cs-figure img,
.df-cs-figure .df-card-img{
  display:block;width:100%;height:auto;
}
.df-cs-figure .df-card-img--empty{
  display:grid;place-items:center;aspect-ratio:2/5;
  color:rgba(201,169,97,.42);background:#151B4E;
}
.df-cs-figure .df-card-img--empty svg{width:74%;height:auto}

.df-cs-intro{display:flex;flex-direction:column;gap:22px;padding-top:4px;margin-bottom:22px}

.df-cs-badge{
  margin:0;
  font-size:.7rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;
  color:rgba(201,169,97,.72);
}

.df-cs-kw h2{
  margin:0 0 5px;
  font-family:inherit;
  font-size:.72rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;
  color:rgba(201,169,97,.6);
}
.df-cs-kw p{
  margin:0;
  font-family:var(--df-serif,'Playfair Display',serif);
  font-style:italic;font-size:1.14rem;line-height:1.45;
  color:var(--df-gold-lit,#E9D19B);
}
.df-cs-kw--rev p{color:rgba(200,149,107,.92)}

.df-cs-lede p{
  margin:0 0 12px;
  font-size:1rem;line-height:1.65;
  color:rgba(242,236,220,.8);
}

/* ── Розділи значень ───────────────────────────────────── */

.df-cs-sec{
  margin:0;padding:30px 0;
  border-top:1px solid rgba(201,169,97,.14);
}
.df-cs-sec h2{
  margin:0 0 12px;
  font-family:var(--df-display,'Forum',serif);
  font-size:clamp(1.25rem,2.4vw,1.6rem);
  font-weight:400;letter-spacing:.02em;
  color:var(--df-gold-lit,#E9D19B);
}
.df-cs-sec p{
  margin:0 0 14px;max-width:44em;
  font-size:1.02rem;line-height:1.7;
  color:var(--df-cream,#F2ECDC);
}
.df-cs-sec p:last-child{margin-bottom:0}

/* Так чи ні — коротка відповідь, подаємо як врізку */
.df-cs-sec#df-yesno p{
  font-family:var(--df-serif,'Playfair Display',serif);
  font-style:italic;font-size:1.16rem;
  color:var(--df-gold-lit,#E9D19B);
}

/* Порада — те саме подання, що й «так чи ні» */
.df-cs-sec#df-advice p{
  font-family:var(--df-serif,'Playfair Display',serif);
  font-style:italic;font-size:1.1rem;
  color:var(--df-gold-lit,#E9D19B);
}

/* Довідкові розділи — трохи тихіші за основні */
.df-cs-sec#df-numerology p,
.df-cs-sec#df-waite p{
  font-size:.97rem;
  color:rgba(242,236,220,.76);
}
.df-cs-sec#df-waite{
  border-left:2px solid rgba(201,169,97,.28);
  padding-left:22px;
}

/* ── Підказка редактору ────────────────────────────────── */

.df-cs-hint{
  margin:26px 0 0;padding:14px 18px;
  border:1px dashed rgba(201,169,97,.4);
  background:rgba(201,169,97,.05);
}
.df-cs-hint p{
  margin:0;font-size:.88rem;line-height:1.55;
  color:rgba(242,236,220,.72);
}
.df-cs-hint a{color:var(--df-gold,#C9A961)}

/* ── Заклик ────────────────────────────────────────────── */

.df-cs-cta{
  clear:both;
  margin:38px 0 0;padding:30px;
  border:1px solid rgba(201,169,97,.2);
  background:linear-gradient(180deg,rgba(11,17,54,.75),rgba(6,10,36,.75));
  display:flex;flex-direction:column;gap:18px;
}
.df-cs-cta p{
  margin:0;max-width:40em;
  font-family:var(--df-display,'Forum',serif);
  font-size:clamp(1.1rem,2.2vw,1.34rem);
  line-height:1.4;
  color:var(--df-gold-lit,#E9D19B);
}
.df-cs-cta-row{display:flex;flex-wrap:wrap;gap:12px}

.df-cs-btn{
  font-family:var(--df-display,'Forum',serif);
  font-size:.96rem;letter-spacing:.05em;
  padding:13px 28px;text-decoration:none;
  color:var(--df-night-0,#060A24);
  background:linear-gradient(180deg,var(--df-gold-lit,#E9D19B),var(--df-gold,#C9A961));
  transition:transform .2s,box-shadow .2s;
}
.df-cs-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(201,169,97,.22);
}
.df-cs-btn--ghost{
  background:none;
  color:var(--df-gold-lit,#E9D19B);
  border:1px solid rgba(201,169,97,.4);
}
.df-cs-btn--ghost:hover{
  background:rgba(201,169,97,.1);
  box-shadow:none;
}

/* ── Сусідні карти ─────────────────────────────────────── */

.df-cs-nav{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:18px;align-items:center;
  margin-top:40px;padding-top:26px;
  border-top:1px solid rgba(201,169,97,.14);
}

.df-cs-nav-link{
  display:flex;flex-direction:column;gap:3px;
  text-decoration:none;
  transition:opacity .2s;
}
.df-cs-nav-link:hover{opacity:.75}
.df-cs-nav-link--next{text-align:right;grid-column:3}

.df-cs-nav-label{
  font-size:.68rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;
  color:rgba(201,169,97,.55);
}
.df-cs-nav-title{
  font-family:var(--df-display,'Forum',serif);
  font-size:1.06rem;
  color:var(--df-gold-lit,#E9D19B);
}

.df-cs-nav-all{
  grid-column:2;
  font-size:.84rem;letter-spacing:.05em;
  text-decoration:none;white-space:nowrap;
  color:var(--df-gold,#C9A961);
  border-bottom:1px solid rgba(201,169,97,.3);
  padding-bottom:2px;
}

/* ── Вужчі екрани ──────────────────────────────────────── */

@media (max-width:760px){
  .df-cs-figure{float:none;width:min(250px,70vw);margin:0 auto 22px;display:block}
  .df-cs-intro{width:100%;margin-bottom:8px}
  .df-cs-cta{padding:22px}
  .df-cs-nav{grid-template-columns:1fr 1fr;gap:14px 18px}
  .df-cs-nav-all{grid-column:1/-1;grid-row:1;text-align:center}
  .df-cs-nav-link--next{grid-column:2}
}

@media (prefers-reduced-motion:reduce){
  .df-cs-btn:hover{transform:none}
}

/* ── Символіка: згорнутий блок у кінці (SEO-текст, не заважає) ── */

.df-cs-symbolism{
  margin-top:34px;
  border-top:1px solid color-mix(in srgb, var(--df-gold,#C9A961) 24%, transparent);
  padding-top:18px;
}
.df-cs-symbolism>summary{
  cursor:pointer;
  list-style:none;
  font-family:var(--df-display,'Forum',serif);
  font-size:1.05rem;
  letter-spacing:.02em;
  color:var(--df-gold,#C9A961);
  padding:4px 0;
  transition:color .2s ease;
}
.df-cs-symbolism>summary::-webkit-details-marker{display:none}
.df-cs-symbolism>summary::after{
  content:'+';
  float:right;
  font-weight:400;
  color:var(--df-muted,#9A93AA);
}
.df-cs-symbolism[open]>summary::after{content:'–'}
.df-cs-symbolism>summary:hover{color:var(--df-gold-lit,#E9D19B)}
.df-cs-symbolism-body{padding-top:12px}
.df-cs-symbolism-body p{
  font-size:1rem;
  line-height:1.7;
  color:var(--df-cream,#F2ECDC);
  margin:0 0 14px;
}
.df-cs-symbolism-body p:last-child{margin-bottom:0}

/* ── H1 назви карти ────────────────────────────────────── */

.df-cs-title{
  font-family:var(--df-display,'Forum',serif);
  font-size:clamp(1.9rem,4vw,2.8rem);
  line-height:1.15;
  letter-spacing:.01em;
  color:var(--df-gold-lit,#E9D19B);
  text-align:center;
  margin:0 0 28px;
}
@media (max-width:760px){
  .df-cs-title{margin-bottom:20px}
}

/* ── Обгортка сторінки карти: прибрати великий відступ зверху ── */

.df-single-main{
  margin-top:0 !important;
  margin-block-start:0 !important;
  padding-top:12px;
  padding-bottom:56px;
}
.df-single-main>.df-root{margin-top:0}
.df-cs>.df-cs-title:first-child{margin-top:0}

@media (max-width:760px){
  .df-single-main{padding-top:8px}
}
