/*
Theme Name: ASMRWell
Theme URI: https://asmrwell.com
Author: ASMRWell
Description: Minimal ASMR and massage wellness theme with front page and blog.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: asmrwell
*/

:root {
  --bg: #f8f7f5;
  --card: #ffffff;
  --text: #1f252b;
  --muted: #54606b;
  --accent: #4f7f7a;
  --accent-dark: #355f5a;
  --line: #dfe4e8;
  --muted-bg: #f1efeb;
  --placeholder: #e8e4df;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

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

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

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 48px;
}

.section-disclaimer {
  padding-top: 0;
  padding-bottom: 32px;
}

.disclaimer-box {
  background: #fff8e8;
  border: 1px solid #e8d9a8;
  border-radius: 14px;
  padding: 24px 28px;
}

.disclaimer-box h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.disclaimer-box p {
  margin: 0;
  color: var(--muted);
}

.footer-disclaimer {
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}

.footer-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.site-branding a {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.primary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
}

.primary-menu a {
  color: var(--text);
  font-weight: 600;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--muted-bg);
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title-center {
  text-align: center;
}

.section-intro {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-cta {
  margin: 32px 0 0;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero {
  padding: 72px 0 56px;
}

.hero-large {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #f1efeb 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-lead {
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.theme-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--placeholder);
}

.theme-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-figure-wide {
  max-width: 320px;
  margin: 40px auto 0;
  background: transparent;
}

.theme-figure-wide img {
  object-fit: contain;
  height: auto;
}

.theme-figure-center {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.section-media {
  margin-top: 8px;
}

.benefits-visual {
  margin-bottom: 32px;
  aspect-ratio: 1;
  max-height: 360px;
}

.hero-image {
  min-height: 360px;
  aspect-ratio: 5 / 3;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-grid-reverse .split-copy {
  order: -1;
}

.split-image {
  min-height: 320px;
  aspect-ratio: 1;
}

.check-list {
  margin: 20px 0 0;
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 8px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.benefits-large {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.benefit-card,
.post-card,
.single-card,
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.benefit-card h3,
.post-card h2,
.step-card h3 {
  margin: 0 0 8px;
}

.video-block {
  width: 100%;
}

.video-feature {
  margin-top: 40px;
  max-width: 854px;
  margin-left: auto;
  margin-right: auto;
}

.video-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  padding-top: 28px;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.step-image {
  min-height: 160px;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: 12px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.post-thumb {
  display: block;
  margin: -20px -20px 16px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.content-wrap {
  padding: 48px 0;
}

.single-card h1 {
  margin-top: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.empty-state {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 20px;
}

@media (max-width: 860px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .split-grid-reverse .split-copy {
    order: 0;
  }

  .hero-image {
    min-height: 240px;
  }
}
