/*
Theme Name: Audio Select (Cocoon Child)
Theme URI: https://example.com/
Description: オーディオセレクト（イヤホン・ヘッドホン・スピーカー等のレビュー/比較メディア）用の Cocoon 子テーマ。
Author: Audio Select
Template: cocoon-master
Version: 1.0.0
Text Domain: audioselect-child
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;700;900&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Spectral:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root{
  --ink:#14171f;
  --ink-soft:#232838;
  --paper:#faf8f3;
  --surface:#ffffff;
  --line:#e6e1d3;
  --line-soft:#efece2;
  --brass:#b8925a;
  --brass-deep:#8c6a3d;
  --brass-bright:#d8b479;
  --text:#232323;
  --muted:#726c5e;
  --muted-soft:#a39d8c;
  --radius:2px;
  --shadow: 0 18px 40px -24px rgba(20,23,31,.35);
}

/* Cocoon本体の出力とAudio Selectテンプレートの領域を分離するためのスコープ */
.as-scope,
.as-scope *,
.as-scope *::before,
.as-scope *::after{box-sizing:border-box}

body.as-page{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.8;
}
html{scroll-behavior:smooth}
.as-scope img{max-width:100%;height:auto;display:block}
.as-scope a{color:inherit;text-decoration:none}
.as-scope ul{list-style:none;margin:0;padding:0}
.as-scope h1,.as-scope h2,.as-scope h3,.as-scope h4{margin:0;font-family:'Zen Old Mincho',serif;font-weight:700;letter-spacing:.02em}
.as-scope :focus-visible{outline:2px solid var(--brass);outline-offset:3px}

.as-scope .num{font-family:'Spectral',serif}

.as-scope .wrap{max-width:1180px;margin:0 auto;padding:0 32px}

/* ---------- Header ---------- */
.as-scope .site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,248,243,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.as-scope .site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:84px;position:relative;
}
.as-scope .brand{display:flex;align-items:center;gap:16px;flex:none}
.as-scope .brand-mark{
  width:40px;height:40px;border-radius:50%;
  border:1px solid var(--brass);
  position:relative;flex:none;
}
.as-scope .brand-mark::before{
  content:'';position:absolute;inset:7px;border-radius:50%;
  border:1px solid var(--line);
}
.as-scope .brand-mark::after{
  content:'';position:absolute;top:3px;left:50%;width:1px;height:8px;
  background:var(--brass-deep);transform:translateX(-50%) rotate(35deg);
  transform-origin:bottom center;
}
.as-scope .brand-text .name{
  font-family:'Zen Old Mincho',serif;font-size:1.34rem;font-weight:700;
  letter-spacing:.08em;color:var(--ink);
}
.as-scope .brand-text .tagline{
  font-size:.68rem;color:var(--muted);letter-spacing:.1em;margin-top:2px;white-space:nowrap;
}
.as-scope .main-nav ul{display:flex;gap:0}
.as-scope .main-nav a{
  display:block;padding:10px 13px;font-size:.85rem;letter-spacing:.03em;
  color:var(--ink-soft);position:relative;white-space:nowrap;
}
.as-scope .main-nav a::after{
  content:'';position:absolute;left:16px;right:16px;bottom:4px;height:1px;
  background:var(--brass);transform:scaleX(0);transform-origin:left;
  transition:transform .25s ease;
}
.as-scope .main-nav a:hover::after,.as-scope .main-nav a.active::after{transform:scaleX(1)}
.as-scope .main-nav a.active{color:var(--brass-deep);font-weight:700}
.as-scope .header-tools{display:flex;align-items:center;gap:18px}
.as-scope .search-btn{display:none !important}

.as-scope .nav-toggle-input{position:absolute;opacity:0;pointer-events:none}
.as-scope .nav-toggle-btn{
  display:none;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);
  align-items:center;justify-content:center;color:var(--ink-soft);cursor:pointer;flex:none;
}
.as-scope .nav-toggle-btn:hover{border-color:var(--brass);color:var(--brass-deep)}
.as-scope .nav-toggle-btn .icon-close,
.as-scope .nav-toggle-input:checked ~ .header-tools .nav-toggle-btn .icon-open{display:none}
.as-scope .nav-toggle-input:checked ~ .header-tools .nav-toggle-btn .icon-close{display:block}

/* ---------- Buttons / small bits ---------- */
.as-scope .eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.72rem;letter-spacing:.22em;color:var(--brass-deep);
  font-weight:700;
}
.as-scope .eyebrow::before{
  content:'';width:22px;height:1px;background:var(--brass);
}
.as-scope .section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  margin-bottom:34px;gap:24px;flex-wrap:wrap;
}
.as-scope .section-head h2{font-size:1.7rem;color:var(--ink);margin-top:10px}
.as-scope .more-link{
  font-size:.82rem;letter-spacing:.05em;color:var(--muted);
  border-bottom:1px solid var(--line);padding-bottom:2px;white-space:nowrap;
}
.as-scope .more-link:hover{color:var(--brass-deep);border-color:var(--brass)}

.as-scope section{padding:88px 0}
.as-scope .section-alt{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---------- Footer ---------- */
.as-scope .site-footer{background:var(--ink);color:#cfc9b8;padding:64px 0 0}
.as-scope .footer-top{display:flex;justify-content:space-between;gap:48px;flex-wrap:wrap;padding-bottom:44px}
.as-scope .footer-brand .name{font-family:'Zen Old Mincho',serif;color:#fff;font-size:1.3rem;letter-spacing:.08em}
.as-scope .footer-brand .tagline{font-size:.75rem;color:var(--brass-bright);margin:8px 0 14px;letter-spacing:.08em}
.as-scope .footer-brand p{max-width:400px;font-size:.83rem;color:#9d9787;line-height:1.9}
.as-scope .footer-links{display:flex;gap:64px;flex-wrap:wrap}
.as-scope .footer-links h4{color:#e9e4d6;font-size:.78rem;letter-spacing:.1em;margin-bottom:16px;font-family:'Zen Kaku Gothic New',sans-serif}
.as-scope .footer-links li{margin-bottom:10px}
.as-scope .footer-links a{font-size:.83rem;color:#9d9787}
.as-scope .footer-links a:hover{color:var(--brass-bright)}
.as-scope .footer-disclosure{
  border-top:1px solid #2a2e3a;padding:22px 0 0;margin:0;
  font-size:.72rem;color:#726c5e;line-height:1.9;max-width:760px;
}
.as-scope .footer-bottom{
  padding:22px 0;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  font-size:.74rem;color:#726c5e;
}

@media (max-width:1060px){
  .as-scope .nav-toggle-btn{display:flex}
  .as-scope .main-nav{
    display:block;position:absolute;top:100%;left:0;right:0;
    max-height:calc(100vh - 68px);overflow-y:auto;
    background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
    opacity:0;visibility:hidden;transform:translateY(-6px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s;
    z-index:49;
  }
  .as-scope .nav-toggle-input:checked ~ .main-nav{opacity:1;visibility:visible;transform:translateY(0)}
  .as-scope .main-nav ul{flex-direction:column;padding:14px 32px 40px;gap:0}
  .as-scope .main-nav a{padding:16px 0;font-size:1rem;border-bottom:1px solid var(--line-soft)}
  .as-scope .main-nav a::after{display:none}
  .as-scope .footer-top{flex-direction:column}
}
@media (max-width:640px){
  .as-scope .wrap{padding:0 20px}
  .as-scope section{padding:56px 0}
  .as-scope .site-header .wrap{height:68px}
  .as-scope .main-nav{max-height:calc(100vh - 68px)}
  .as-scope .brand-text .tagline{display:none}
  .as-scope .brand-text .name{font-size:1.06rem;white-space:nowrap}
  .as-scope .brand{gap:10px}
  .as-scope .header-tools{gap:10px}
}

/* ================= Buttons ================= */
.as-scope .btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;font-size:.86rem;letter-spacing:.06em;
  border-radius:var(--radius);transition:all .25s ease;
}
.as-scope .btn-primary{background:var(--ink);color:var(--paper);border:1px solid var(--ink)}
.as-scope .btn-primary:hover{background:var(--brass-deep);border-color:var(--brass-deep)}
.as-scope .btn-ghost{background:transparent;border:1px solid var(--line);color:var(--ink-soft)}
.as-scope .btn-ghost:hover{background:transparent;border-color:var(--brass);color:var(--brass-deep)}
.as-scope .btn svg{width:14px;height:14px;flex:none}

/* ================= Hero ================= */
.as-scope .hero{padding:72px 0 96px}
.as-scope .hero .wrap{display:grid;grid-template-columns:.92fr 1.08fr;gap:64px;align-items:center}
.as-scope .hero-copy h1{
  font-size:clamp(2.3rem,4.2vw,3.4rem);line-height:1.35;color:var(--ink);
  margin:18px 0 24px;
}
.as-scope .hero-copy h1 em{
  font-style:normal;color:var(--brass-deep);
  background:linear-gradient(transparent 62%, var(--brass-bright) 62%);
  padding:0 2px;
}
.as-scope .hero-copy p{color:var(--muted);font-size:.98rem;max-width:26em;margin-bottom:36px}
.as-scope .hero-ctas{display:flex;gap:14px;flex-wrap:wrap}
.as-scope .hero-figure{position:relative}
.as-scope .hero-figure img{
  width:100%;border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.as-scope .hero-dial-badge{
  position:absolute;left:-28px;bottom:-28px;
  width:112px;height:112px;border-radius:50%;
  background:var(--paper);border:1px solid var(--line);
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
}
.as-scope .hero-dial-badge .num{font-size:1.7rem;color:var(--brass-deep);font-weight:600;line-height:1}
.as-scope .hero-dial-badge span{font-size:.62rem;letter-spacing:.1em;color:var(--muted);margin-top:6px}

/* ================= Rating dial (signature) ================= */
.as-scope .dial{
  --score:4.5;
  width:52px;height:52px;border-radius:50%;flex:none;
  background:conic-gradient(var(--brass) calc(var(--score) * 72deg), var(--line-soft) 0);
  display:flex;align-items:center;justify-content:center;position:relative;
}
.as-scope .dial::before{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--surface)}
.as-scope .dial::after{
  content:'';position:absolute;top:6px;left:50%;width:1px;height:7px;
  background:var(--brass-deep);transform-origin:bottom center;
  transform:translateX(-50%) rotate(calc(var(--score) * 72deg - 180deg));
}
.as-scope .dial span{position:relative;z-index:1;font-family:'Spectral',serif;font-weight:600;font-size:.86rem;color:var(--ink)}
.as-scope .dial.dial-lg{width:72px;height:72px}
.as-scope .dial.dial-lg::before{inset:6px}
.as-scope .dial.dial-lg span{font-size:1.1rem}

/* ================= Category grid ================= */
.as-scope .cat-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:18px;
}
.as-scope .cat-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 14px 18px;text-align:center;transition:border-color .25s,transform .25s;
}
.as-scope .cat-card:hover{border-color:var(--brass);transform:translateY(-3px)}
.as-scope .cat-figure{
  height:96px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;
}
.as-scope .cat-figure img{max-height:96px;width:auto;margin:0 auto;mix-blend-mode:multiply}
.as-scope .cat-card .cat-name{font-family:'Zen Old Mincho',serif;font-size:.98rem;color:var(--ink);font-weight:700}
.as-scope .cat-card .cat-sub{display:block;font-size:.68rem;color:var(--muted-soft);margin-top:6px;letter-spacing:.02em}

/* ================= Layout split (content + sidebar) ================= */
.as-scope .layout-split{display:grid;grid-template-columns:1fr 320px;gap:56px;align-items:start}
.as-scope .layout-split .main-col > section{padding:0 0 72px}
.as-scope .layout-split .main-col > section:last-child{padding-bottom:0}

/* ================= Card grid (reviews) ================= */
.as-scope .card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.as-scope .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .25s,transform .25s}
.as-scope .card:hover{border-color:var(--brass);transform:translateY(-3px)}
.as-scope .card-thumb{position:relative;aspect-ratio:4/3;background:var(--paper);display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid var(--line-soft)}
.as-scope .card-thumb img{max-height:78%;mix-blend-mode:multiply}
.as-scope .card-tag{
  position:absolute;top:12px;left:12px;
  font-size:.62rem;letter-spacing:.14em;font-weight:700;color:#fff;
  background:var(--ink);padding:4px 10px;border-radius:1px;
}
.as-scope .card-dial{position:absolute;top:10px;right:10px}
.as-scope .card-body{padding:20px 22px 24px}
.as-scope .card-cat{font-size:.68rem;letter-spacing:.08em;color:var(--brass-deep);font-weight:700}
.as-scope .card h3{font-size:1.02rem;margin:10px 0 8px;line-height:1.55}
.as-scope .card h3 a:hover{color:var(--brass-deep)}
.as-scope .card p{font-size:.82rem;color:var(--muted);margin:0 0 14px;line-height:1.8}
.as-scope .card-date{font-size:.72rem;color:var(--muted-soft)}

/* ================= Sidebar panels ================= */
.as-scope .panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;margin-bottom:24px}
.as-scope .panel-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.as-scope .panel-head h3{font-size:.98rem;color:var(--ink)}
.as-scope .panel-head .ico{width:16px;height:16px;color:var(--brass-deep);flex:none}
.as-scope .tab-group{display:flex;gap:4px;margin-bottom:18px;border-bottom:1px solid var(--line-soft)}
.as-scope .tab-group button{
  flex:1;background:none;border:none;padding:8px 4px;font-size:.76rem;color:var(--muted);
  font-family:inherit;cursor:pointer;border-bottom:2px solid transparent;letter-spacing:.02em;
}
.as-scope .tab-group button.active{color:var(--ink);border-color:var(--brass);font-weight:700}
.as-scope .tab-panel{display:none}
.as-scope .tab-panel.active{display:block}
.as-scope .rank-list{display:flex;flex-direction:column;gap:16px}
.as-scope .rank-item{display:flex;align-items:center;gap:14px}
.as-scope .rank-num{
  font-family:'Spectral',serif;font-size:1rem;color:var(--muted-soft);width:20px;flex:none;text-align:center;
}
.as-scope .rank-item:nth-child(-n+3) .rank-num{color:var(--brass-deep);font-weight:600}
.as-scope .rank-thumb{width:52px;height:52px;border-radius:var(--radius);background:var(--paper);border:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.as-scope .rank-thumb img{max-height:72%;mix-blend-mode:multiply}
.as-scope .rank-info{flex:1;min-width:0}
.as-scope .rank-info .brand{display:block;font-size:.68rem;color:var(--muted-soft)}
.as-scope .rank-info .name{display:block;font-size:.84rem;color:var(--ink);line-height:1.45;margin:2px 0}
.as-scope .panel-more{display:block;text-align:center;margin-top:20px;padding:11px;font-size:.78rem;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink-soft)}
.as-scope .panel-more:hover{border-color:var(--brass);color:var(--brass-deep)}

.as-scope .knowledge-list{display:flex;flex-direction:column;gap:16px}
.as-scope .knowledge-item{display:flex;gap:14px;align-items:flex-start}
.as-scope .knowledge-thumb{width:56px;height:56px;border-radius:var(--radius);overflow:hidden;flex:none;background:var(--paper);border:1px solid var(--line-soft)}
.as-scope .knowledge-thumb img{width:100%;height:100%;object-fit:cover}
.as-scope .knowledge-item p{font-size:.8rem;color:var(--ink-soft);line-height:1.6;margin:0}
.as-scope .knowledge-item p:hover{color:var(--brass-deep)}

/* ================= Breadcrumb ================= */
.as-scope .breadcrumb{font-size:.76rem;color:var(--muted-soft);padding:22px 0 0}
.as-scope .breadcrumb a:hover{color:var(--brass-deep)}
.as-scope .breadcrumb .sep{margin:0 8px;color:var(--line)}

/* ================= Article ================= */
.as-scope .article-head{padding:24px 0 40px;max-width:760px}
.as-scope .article-head .eyebrow{margin-bottom:16px}
.as-scope .article-head h1{font-size:clamp(1.9rem,3.4vw,2.5rem);line-height:1.5;color:var(--ink)}
.as-scope .article-lead{font-size:1rem;color:var(--muted);margin-top:20px;line-height:2}
.as-scope .article-meta{
  display:flex;align-items:center;gap:20px;margin-top:26px;padding-top:22px;
  border-top:1px solid var(--line-soft);font-size:.78rem;color:var(--muted-soft);flex-wrap:wrap;
}
.as-scope .article-meta .author{display:flex;align-items:center;gap:10px;color:var(--ink-soft)}
.as-scope .author-avatar{
  width:32px;height:32px;border-radius:50%;background:var(--ink);color:var(--brass-bright);
  display:flex;align-items:center;justify-content:center;font-family:'Zen Old Mincho',serif;font-size:.8rem;flex:none;
  overflow:hidden;
}
.as-scope .author-avatar img{width:100%;height:100%;object-fit:cover}
.as-scope .article-hero{max-width:1180px;margin:0 auto 8px}
.as-scope .article-hero img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}
.as-scope .article-hero figcaption{font-size:.74rem;color:var(--muted-soft);text-align:center;margin-top:12px}

.as-scope .article-layout{display:grid;grid-template-columns:1fr 300px;gap:64px;padding-top:56px;align-items:start}
.as-scope .article-body{max-width:680px}
.as-scope .article-body > *{max-width:680px}

/* Cocoonエディタから出力される本文(the_content)の見た目をAudio Selectトーンに合わせる */
.as-scope .article-body{counter-reset:as-step}
.as-scope .article-body h2{
  font-size:1.5rem;color:var(--ink);margin:52px 0 20px;padding-top:6px;
  display:flex;align-items:baseline;gap:14px;
  counter-increment:as-step;
}
.as-scope .article-body h2::before{
  content:counter(as-step,decimal-leading-zero);
  font-family:'Spectral',serif;font-size:1rem;color:var(--brass-deep);font-weight:600;
}
.as-scope .article-body h3{font-size:1.08rem;color:var(--ink);margin:32px 0 14px}
.as-scope .article-body p{font-size:.94rem;color:var(--ink-soft);margin:0 0 22px;line-height:2}
.as-scope .article-body ul{margin:0 0 22px;padding-left:0}
.as-scope .article-body ul li{font-size:.94rem;color:var(--ink-soft);line-height:1.9;padding-left:22px;position:relative;margin-bottom:10px;list-style:none}
.as-scope .article-body ul li::before{content:'';position:absolute;left:0;top:.85em;width:8px;height:1px;background:var(--brass)}
.as-scope .article-body figure{margin:32px 0}
.as-scope .article-body figure img{border-radius:var(--radius)}
.as-scope .article-body figcaption{font-size:.76rem;color:var(--muted-soft);margin-top:10px;text-align:center}
.as-scope .article-body blockquote{
  margin:40px 0;padding:6px 0 6px 28px;border-left:2px solid var(--brass);
  font-family:'Zen Old Mincho',serif;font-size:1.15rem;line-height:1.9;color:var(--ink);
}
.as-scope .article-body table{width:100%;border-collapse:collapse;margin:8px 0 22px;font-size:.84rem}
.as-scope .article-body table caption{text-align:left;font-size:.76rem;color:var(--muted-soft);margin-bottom:10px}
.as-scope .article-body th,.as-scope .article-body td{border:1px solid var(--line);padding:13px 16px;text-align:left;vertical-align:top;line-height:1.7}
.as-scope .article-body thead th{background:var(--surface);color:var(--ink);font-weight:700;font-size:.78rem;letter-spacing:.04em}
.as-scope .article-body tbody th{background:var(--paper);color:var(--brass-deep);font-weight:700;white-space:nowrap;font-size:.82rem}
.as-scope .article-body td{color:var(--ink-soft)}

.as-scope .author-box{
  display:flex;gap:20px;align-items:flex-start;margin:56px 0 0;padding:26px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
}
.as-scope .author-box .author-avatar{width:52px;height:52px;font-size:1.1rem}
.as-scope .author-box h4{font-size:.92rem;color:var(--ink);margin-bottom:8px}
.as-scope .author-box p{font-size:.8rem;color:var(--muted);margin:0;line-height:1.8}

.as-scope .related-block{margin-top:64px}
.as-scope .related-block h3{font-size:1.2rem;color:var(--ink);margin-bottom:26px}

.as-scope .aside-cta{
  background:var(--ink);color:var(--paper);border-radius:var(--radius);padding:28px 24px;margin-bottom:24px;
}
.as-scope .aside-cta h3{color:#fff;font-size:1rem;margin-bottom:10px}
.as-scope .aside-cta p{font-size:.8rem;color:#b9b3a1;line-height:1.8;margin:0 0 18px}
.as-scope .aside-cta .btn{width:100%;justify-content:center}
.as-scope .aside-cta .btn-ghost{border-color:#3a3f4e;color:#e9e4d6}
.as-scope .aside-cta .btn-ghost:hover{border-color:var(--brass)}

.as-scope .aside-cat-list a{
  display:flex;justify-content:space-between;padding:11px 0;font-size:.84rem;color:var(--ink-soft);
  border-bottom:1px solid var(--line-soft);
}
.as-scope .aside-cat-list a:hover{color:var(--brass-deep)}
.as-scope .aside-cat-list a:last-child{border-bottom:none}

@media (max-width:1080px){
  .as-scope .hero .wrap{grid-template-columns:1fr}
  .as-scope .hero-figure{order:-1}
  .as-scope .layout-split,.as-scope .article-layout{grid-template-columns:1fr}
  .as-scope .cat-grid{grid-template-columns:repeat(3,1fr)}
  .as-scope .card-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .as-scope .cat-grid{grid-template-columns:repeat(2,1fr)}
  .as-scope .card-grid{grid-template-columns:1fr}
  .as-scope .hero-dial-badge{width:88px;height:88px;left:-14px;bottom:-14px}
}

/* ================= Simple page (about / privacy / sitemap) ================= */
.as-scope .page-head{padding:24px 0 40px;max-width:760px}
.as-scope .page-head h1{font-size:clamp(1.9rem,3.4vw,2.5rem);line-height:1.5;color:var(--ink)}
.as-scope .page-body{max-width:760px;padding-bottom:96px}
.as-scope .page-body h2{font-size:1.3rem;color:var(--ink);margin:44px 0 18px}
.as-scope .page-body h3{font-size:1.05rem;color:var(--ink);margin:28px 0 12px}
.as-scope .page-body p{font-size:.94rem;color:var(--ink-soft);margin:0 0 20px;line-height:2}
.as-scope .page-body ul{margin:0 0 20px;padding-left:0}
.as-scope .page-body ul li{font-size:.94rem;color:var(--ink-soft);line-height:1.9;padding-left:22px;position:relative;margin-bottom:8px}
.as-scope .page-body ul li::before{content:'';position:absolute;left:0;top:.85em;width:8px;height:1px;background:var(--brass)}
.as-scope .page-body a{color:var(--brass-deep);border-bottom:1px solid var(--line)}
.as-scope .page-body a:hover{border-color:var(--brass)}

/* ================= Sitemap ================= */
.as-scope .sitemap-group{margin-bottom:44px}
.as-scope .sitemap-group h2{font-size:1.2rem;color:var(--ink);margin-bottom:16px}
.as-scope .sitemap-group ul{display:flex;flex-direction:column;gap:2px}
.as-scope .sitemap-group li{border-bottom:1px solid var(--line-soft)}
.as-scope .sitemap-group a{
  display:flex;justify-content:space-between;gap:16px;padding:12px 2px;
  font-size:.9rem;color:var(--ink-soft);border-bottom:none;
}
.as-scope .sitemap-group a:hover{color:var(--brass-deep)}
.as-scope .sitemap-group a .date{font-size:.76rem;color:var(--muted-soft);white-space:nowrap;flex:none}

/* ================= Contact Form 7 ================= */
.as-scope .cf-panel{max-width:640px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:40px}
.as-scope .cf-row{margin-bottom:26px}
.as-scope .cf-row label{display:block;font-size:.86rem;color:var(--ink);font-weight:700;margin-bottom:10px;letter-spacing:.02em}
.as-scope .cf-row .req{
  display:inline-block;margin-left:8px;padding:2px 8px;border-radius:1px;
  font-size:.62rem;font-weight:700;letter-spacing:.05em;color:#fff;background:var(--brass-deep);
  vertical-align:1px;
}
.as-scope .wpcf7-form-control-wrap{display:block}
.as-scope input.wpcf7-form-control,
.as-scope textarea.wpcf7-form-control{
  width:100%;padding:13px 14px;font-size:.92rem;font-family:inherit;color:var(--text);
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  transition:border-color .2s;
}
.as-scope textarea.wpcf7-form-control{min-height:160px;resize:vertical;line-height:1.8}
.as-scope input.wpcf7-form-control:focus,
.as-scope textarea.wpcf7-form-control:focus{outline:none;border-color:var(--brass)}
.as-scope .wpcf7-not-valid-tip{display:block;margin-top:8px;font-size:.78rem;color:#b3403a}
.as-scope .cf-submit{margin-top:8px}
.as-scope input.wpcf7-form-control.wpcf7-submit{
  width:auto;display:inline-flex;align-items:center;
  padding:14px 36px;font-size:.86rem;letter-spacing:.06em;
  background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:var(--radius);
  cursor:pointer;transition:background .25s,border-color .25s;
}
.as-scope input.wpcf7-form-control.wpcf7-submit:hover{background:var(--brass-deep);border-color:var(--brass-deep)}
.as-scope .wpcf7-spinner{margin-left:12px}
.as-scope .wpcf7-response-output{
  margin:28px 0 0;padding:16px 18px;border-radius:var(--radius);
  font-size:.86rem;line-height:1.8;border:1px solid var(--line);color:var(--ink-soft);
}
.as-scope form.sent .wpcf7-response-output{border-color:var(--brass);color:var(--brass-deep);background:#fbf5ea}
.as-scope form.failed .wpcf7-response-output,
.as-scope form.aborted .wpcf7-response-output,
.as-scope form.spam .wpcf7-response-output{border-color:#b3403a;color:#b3403a;background:#fbecea}

@media (max-width:640px){
  .as-scope .cf-panel{padding:28px 22px}
}

@media (prefers-reduced-motion:reduce){
  .as-scope *{transition-duration:.001ms !important;animation-duration:.001ms !important}
}
