/* 04-violet-dusk homepage: home-content uses .hm-vd but had no stylesheet.
   Keep PHP template unchanged; this file is loaded only for that theme slug. */

body[data-theme-slug="04-violet-dusk"] {
  overflow-x: hidden;
}

body[data-theme-slug="04-violet-dusk"] .topbar .container,
body[data-theme-slug="04-violet-dusk"] .footer .container,
body[data-theme-slug="04-violet-dusk"] .site-foot .container {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(14px, 2.2vw, 28px);
  padding-right: clamp(14px, 2.2vw, 28px);
  box-sizing: border-box;
}

body[data-theme-slug="04-violet-dusk"] .topbar-inner {
  gap: 16px;
}

body[data-theme-slug="04-violet-dusk"] .nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.hm-vd {
  --vd-ink: #1e1b4b;
  --vd-muted: #5b5675;
  --vd-line: rgba(91, 33, 182, 0.16);
  --vd-accent: #6d28d9;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 32px) 72px;
  box-sizing: border-box;
  color: var(--vd-ink);
}

.hm-vd img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hm-vd__crumbplain {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--vd-muted);
}

.hm-vd__letter {
  margin: 0 0 18px;
}

.hm-vd__letter h1 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.25;
  font-weight: 750;
}

.hm-vd__deck,
.hm-vd__lede,
.hm-vd__essay {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #312e4a;
}

.hm-vd__cover {
  margin: 0 0 20px;
}

.hm-vd__cover img {
  width: 100%;
  max-height: min(460px, 58vw);
  object-fit: cover;
  border-radius: 16px;
}

.hm-vd__cover figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--vd-muted);
}

.hm-vd__sec {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--vd-line);
}

.hm-vd__sec h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.hm-vd__det {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--vd-line);
  border-radius: 12px;
  background: #fafafe;
}

.hm-vd__detinner {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}

@media (min-width: 760px) {
  .hm-vd__detinner {
    grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
    align-items: start;
  }
}

.hm-vd__detfig img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 180px;
}

.hm-vd__dettxt {
  margin: 0;
  line-height: 1.65;
}

.hm-vd__strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hm-vd__strip figure {
  margin: 0;
}

.hm-vd__strip img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.hm-vd__strip figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--vd-muted);
}

.hm-vd__list {
  margin: 0;
  padding-left: 1.15em;
  line-height: 1.7;
}

.hm-vd__list li {
  margin: 0 0 6px;
}

.hm-vd__faq details {
  margin: 0 0 8px;
}

.hm-vd__spot {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 650;
}

.hm-vd__spot a,
.hm-vd__list a {
  color: inherit;
  text-decoration: none;
}

.hm-vd__spot a:hover,
.hm-vd__list a:hover {
  color: var(--vd-accent);
  text-decoration: underline;
}

.hm-vd__miniplain {
  margin: 28px 0 0;
  font-size: 0.82rem;
  color: var(--vd-muted);
}
