@charset "UTF-8";

/*
 * YORUNUMA — navigation + page redesign, 2026-11-08
 * Keep assets/style.css for established article and information layouts.
 * New sections use purpose-specific class names to avoid side effects.
 */
:root {
  --site-ink: #f2ebe7;
  --site-muted: #bdb0bb;
  --site-pink: #ecaaa0;
  --site-border: rgba(255, 255, 255, .13);
  --site-surface: #211b26;
  --site-surface-raised: #29212c;
  --site-width: 1120px;
}

.content-wrap {
  width: min(var(--site-width), 90%);
  margin-inline: auto;
}

/* Universal navigation: consistent on legacy and new pages. */
.topline {
  max-width: 1440px;
}
.site-header {
  max-width: 1440px;
  padding-block: 21px;
  border-bottom: 1px solid var(--site-border);
}
.site-header .brand > span {
  letter-spacing: 2px;
  font-size: 21px;
}
.site-header .brand small { margin-top: 3px; }
.site-header .site-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-header .site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  color: #c6b9c6;
  font-size: 12px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.site-header .site-nav a:hover,
.site-header .site-nav a[aria-current="page"] {
  background: #3a2836;
  color: #f6c4b9;
}
.site-header .header-link { gap: 10px; }
.site-header .header-link span { font-size: 17px; }
.mobile-nav nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.site-footer {
  max-width: 1440px;
  margin-top: 80px;
}
.site-footer .footer-links {
  row-gap: 12px;
  line-height: 1.7;
}

/* Compact home hero. Editorial artwork is CSS, not a decorative image asset. */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-block: 66px 80px;
}
.home-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.45vw, 62px);
  font-weight: 400;
  line-height: 1.52;
  letter-spacing: .025em;
  margin: 24px 0 22px;
}
.home-hero-copy h1 span { color: #f0b1a7; }
.home-hero-copy > p {
  font-size: 14px;
  line-height: 2.1;
  color: #c6bbc7;
  max-width: 510px;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .button {
  min-width: 172px;
  justify-content: space-between;
  padding: 13px 19px;
}
.home-hero-panel {
  min-height: 340px;
  padding: 28px 30px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 70% 40%, #553044 0, #312131 48%, #251d2a 85%);
  border: 1px solid #855d714a;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home-hero-panel .panel-moon {
  position: absolute;
  z-index: -1;
  top: 53px;
  right: 14%;
  width: 194px;
  height: 194px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 30%, #ebbaad, #a96977 66%, #754b62);
  box-shadow: 0 0 80px #eea7a025;
  opacity: .9;
}
.home-hero-panel .panel-moon::after {
  content: '';
  position: absolute;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  top: -20px;
  left: 57px;
  background: #42283c;
}
.panel-top, .panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #d9b8c8;
  margin: 0;
}
.panel-bottom { padding-top: 17px; border-top: 1px solid #ffffff30; }
.panel-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 43px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.23;
  letter-spacing: .02em;
  color: #f6d0c1;
  text-shadow: 0 2px 14px #1c132075;
}

/* Home paths, concise link cards, and editorial article rows. */
.path-section,
.recent-section { padding-block: 42px 50px; border-top: 1px solid var(--site-border); }
.section-intro { margin-bottom: 28px; }
.section-intro h2 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 400;
}
.section-intro p { color: var(--site-muted); font-size: 13px; margin-bottom: 0; }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.path-card {
  min-width: 0;
  padding: 29px 31px;
  border: 1px solid var(--site-border);
  border-radius: 6px;
  background: var(--site-surface);
  display: flex;
  flex-direction: column;
  min-height: 232px;
  transition: border-color .2s, background .2s;
}
.path-card:hover { border-color: #ad7b8c; background: var(--site-surface-raised); }
.path-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.path-symbol { font-family: var(--serif); font-size: 26px; color: var(--site-pink); }
.status-tag { color: #f1c2b9; background: #4c303e; padding: 5px 11px; border-radius: 99px; font-size: 10px; white-space: nowrap; }
.status-tag.muted-tag { background: #342b39; color: #b6aab9; }
.path-card h3 { margin: 15px 0 7px; font-size: 23px; font-weight: 500; }
.path-card p { margin-bottom: 23px; max-width: 380px; color: var(--site-muted); font-size: 12px; line-height: 1.9; }
.path-card-cta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; color: var(--site-pink); font-size: 12px; }
.path-card-cta span { font-size: 19px; }
.recent-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.inline-link { color: #efb8af; font-size: 12px; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.inline-link:hover { color: #fff1e8; }
.inline-link span { font-size: 21px; }
.recent-list { border-top: 1px solid var(--site-border); }
.recent-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 30px;
  gap: 18px;
  align-items: center;
  padding: 21px 14px 21px 0;
  border-bottom: 1px solid var(--site-border);
  transition: padding-left .2s, background .2s;
}
.recent-item:hover { padding-left: 12px; background: #ffffff06; }
.recent-num { font-family: var(--serif); font-size: 27px; color: #b17b8c; }
.recent-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.recent-body small { color: var(--site-pink); font-size: 10px; }
.recent-body strong { font-size: 17px; line-height: 1.6; font-weight: 500; }
.recent-body > span { color: var(--site-muted); font-size: 12px; }
.recent-arrow { color: var(--site-pink); font-size: 20px; text-align: right; }
.about-strip {
  margin-top: 18px;
  padding-block: 48px;
  border-top: 1px solid var(--site-border);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 50px;
}
.about-strip h2 { margin-top: 13px; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; line-height: 1.65; }
.about-strip p { margin: 11px 0 19px; color: var(--site-muted); font-size: 13px; line-height: 2; }

/* Advertisement kept in a distinct, clearly labeled area. */
.ad-section { width: min(var(--site-width), 90%); margin: 27px auto 15px; }
.ad-section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 21px; }
.ad-label { font-size: 11px; color: #c6b6c3; flex-shrink: 0; }
.ad-rule { height: 1px; flex: 1; background: var(--site-border); }
.ad-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  text-align: center;
  min-height: 108px;
  padding-bottom: 8px;
}
.ad-container .widget-banner { display: inline-block; }

/* Article listing and tool directory. */
.listing-head { padding-block: 37px 49px; border-bottom: 1px solid var(--site-border); }
.breadcrumb { font-size: 11px; color: #c4b7c4; }
.breadcrumb-sep { padding-inline: 10px; color: #796c7c; }
.listing-head .eyebrow { margin-top: 32px; }
.listing-head h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 49px); font-weight: 400; margin: 14px 0 11px; }
.listing-head > p { color: #c9becb; font-size: 14px; max-width: 680px; margin-bottom: 0; }
.catalog-section { padding-block: 39px 56px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.catalog-toolbar .filters { gap: 7px; }
.catalog-toolbar .filter { background: #251e2a; border: 1px solid var(--site-border); }
.catalog-toolbar .filter.active { background: #472e3c; border-color: #956578; }
.catalog-toolbar .search { min-width: 190px; }
.catalog-toolbar .search input { background: transparent; }
.catalog-count { font-size: 11px; color: var(--site-muted); margin: 23px 0 13px; }
.article-list { border-top: 1px solid var(--site-border); }
.article-list-card.guide-card {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--site-border);
  border-radius: 0;
}
.article-list-card.guide-card:hover { transform: none; background: #ffffff07; border-bottom-color: #bd8999; }
.article-list-card.guide-card > a {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) 32px;
  gap: 22px;
  align-items: center;
  padding: 27px 18px 27px 0;
  min-height: 145px;
}
.article-index { color: #b7808e; font: 28px var(--serif); }
.article-details { display: block; min-width: 0; }
.article-details small { color: var(--site-pink); font-size: 10px; }
.article-list-card.guide-card .article-details h2 { font-size: 21px; font-weight: 500; margin: 7px 0 6px; }
.article-details p { font-size: 12px; color: var(--site-muted); margin: 0 0 12px; }
.article-date { color: #a697a8; font-size: 10px; }
.article-arrow { font-size: 22px; color: var(--site-pink); text-align: right; }
.article-list-card.guide-card[hidden] { display: none; }
.catalog-section .empty { margin-top: 20px; }
.context-cta {
  margin-top: 6px;
  border: 1px solid var(--site-border);
  border-radius: 5px;
  padding: 30px 32px;
  background: #251e29;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.context-cta h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; margin-top: 9px; }
.context-cta p { font-size: 12px; color: var(--site-muted); margin: 10px 0 0; }
.tools-intro { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.tools-empty-state {
  text-align: center;
  padding: 63px 28px 67px;
  border: 1px dashed #886879;
  border-radius: 6px;
  background: linear-gradient(140deg, #2d2130, #211b26 75%);
}
.tools-icon { font: 52px var(--serif); color: #e4aba4; }
.tools-empty-state h3 { font-size: 23px; font-weight: 500; margin: 9px 0; }
.tools-empty-state p { color: var(--site-muted); font-size: 13px; max-width: 520px; margin-inline: auto; }
.tools-empty-state .button { margin-top: 13px; }
.catalog-footnote { color: var(--site-muted); font-size: 11px; margin-top: 16px; }

/* Keep the old long-form articles easy to read. */
.article-head { max-width: 1080px; padding-top: 45px; }
.article-layout .prose, .info-body { line-height: 2; }
.article-layout .prose h2, .info-body h2 { scroll-margin-top: 30px; }

@media (max-width: 980px) {
  .site-header .site-nav { gap: 0; }
  .site-header .site-nav a { padding: 7px 11px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 30px; }
  .home-hero-panel { min-height: 310px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .catalog-toolbar .search { align-self: stretch; }
  .catalog-toolbar .search input { width: 100%; }
}
@media (max-width: 740px) {
  .site-header { padding-block: 18px; }
  .site-header .site-nav { display: none; }
  .site-header .brand > span { font-size: 21px; }
  .site-header .menu-toggle { display: block; }
  .home-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 37px; padding-bottom: 46px; }
  .home-hero-copy h1 { font-size: clamp(34px, 8vw, 47px); }
  .home-hero-panel { min-height: 250px; }
  .home-hero-panel .panel-moon { width: 160px; height: 160px; top: 37px; }
  .home-hero-panel .panel-moon::after { width: 145px; height: 145px; }
  .panel-message { font-size: 32px; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 200px; }
  .recent-title { align-items: start; flex-direction: column; }
  .recent-item { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; }
  .recent-num { font-size: 22px; }
  .recent-body strong { font-size: 15px; }
  .recent-body > span { font-size: 11px; }
  .about-strip { grid-template-columns: 1fr; gap: 0; padding-block: 36px; }
  .site-footer { margin-top: 56px; }
  .listing-head { padding-block: 25px 35px; }
  .listing-head .eyebrow { margin-top: 25px; }
  .catalog-section { padding-block: 34px 45px; }
  .catalog-toolbar .filters { flex-wrap: wrap; }
  .article-list-card.guide-card > a { grid-template-columns: 35px minmax(0, 1fr) 20px; gap: 12px; padding: 23px 8px 23px 0; }
  .article-index { font-size: 21px; }
  .article-list-card.guide-card .article-details h2 { font-size: 18px; }
  .context-cta { flex-direction: column; align-items: flex-start; padding: 26px; }
  .context-cta h2 { font-size: 22px; }
  .tools-empty-state { padding: 40px 20px; }
  .tools-empty-state h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .recent-item, .path-card, .site-header a { transition: none; }
}
