/* Theme detail page styles extracted from page-theme.php */

.dt-page{
  --dt-bg:#f2f8fe;
  --dt-card:#ffffff;
  --dt-text:#153452;
  --dt-muted:#5f7892;
  --dt-accent:#1d5fd1;
  --dt-accent-deep:#0f4fb9;
  --dt-border:#d5e4f2;
  font-family:"Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--dt-text);
  background:
    radial-gradient(900px 300px at 86% -10%, rgba(29,95,209,.18), rgba(29,95,209,0) 66%),
    radial-gradient(720px 280px at -5% 34%, rgba(29,95,209,.1), rgba(29,95,209,0) 66%),
    linear-gradient(180deg,#eef6fd 0%, #f6fbff 52%, #f2f8fe 100%);
}
.dt-page *{box-sizing:border-box}
.dt-page h1,.dt-page h2,.dt-page h3,.dt-page h4{font-family:"Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
.dt-page a:focus-visible,.dt-page button:focus-visible{
  outline:2px solid rgba(11,95,143,.45);
  outline-offset:2px;
}
.dt-wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.dt-header{padding:58px 0 52px}
.dt-hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:46px;align-items:center}
.dt-hero-media{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #c9ddee;
  box-shadow:0 20px 38px rgba(15,30,60,.14);
  background:#e2e8f0;
  aspect-ratio:4/3;
}
.dt-hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(5,17,34,0) 55%, rgba(5,17,34,.18) 100%);
}
.dt-hero-media img{display:block;width:100%;height:100%;object-fit:cover}
.dt-hero-placeholder{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#4f6783;
  font-weight:700;
  background:linear-gradient(135deg,#eff6ff,#f8fafc);
}
.dt-title{margin:0;font-size:44px;line-height:1.14;font-weight:800;letter-spacing:-.03em;color:#0f2f4d}
.dt-price-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.dt-price{font-size:40px;line-height:1;font-weight:900;letter-spacing:-.02em;color:var(--dt-accent)}
.dt-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  min-height:30px;
  padding:0 12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  background:#e6f4ff;
  color:var(--dt-accent);
  border:1px solid #bfdbee;
}
.dt-summary{margin:16px 0 0;font-size:15px;line-height:1.9;color:var(--dt-muted)}
.dt-meta-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.dt-meta-item{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  border-radius:999px;
  padding:0 10px;
  font-size:12px;
  font-weight:600;
  color:#44637f;
  border:1px solid #d4e4f3;
  background:#f4f9ff;
}
.dt-btns{display:flex;gap:12px;margin-top:22px}
.dt-btns-compact{margin-top:18px}
.dt-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1;
  min-height:52px;
  border-radius:12px;
  font-size:15px;
  font-weight:800;
  text-decoration:none;
  transition:box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, filter .18s ease;
}
.dt-btn-primary{
  background:linear-gradient(135deg,var(--dt-accent),var(--dt-accent-deep));
  color:#fff;
  box-shadow:0 14px 26px rgba(11,95,143,.24);
}
.dt-btn-primary:hover{
  background:linear-gradient(135deg,var(--dt-accent),var(--dt-accent-deep));
  box-shadow:0 18px 30px rgba(11,95,143,.28);
  filter:brightness(1.03);
  color:#fff;
}
.dt-btn-ghost{
  border:1px solid #c8dded;
  color:#345a78;
  background:#fff;
}
.dt-btn-ghost:hover{
  background:#f3f9ff;
  box-shadow:0 12px 22px rgba(15,30,60,.08);
  color:#1f4f71;
}

.dt-main{padding:16px 0 74px}
.dt-grid{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:34px}

.dt-tabs{
  position:static;
  background:rgba(255,255,255,.84);
  backdrop-filter:saturate(180%) blur(8px);
  border:1px solid var(--dt-border);
  border-radius:14px;
  padding:8px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  box-shadow:0 10px 24px rgba(15,30,60,.08);
}
.dt-tab-btn{
  border:0;
  background:transparent;
  color:#607b95;
  font-size:14px;
  font-weight:800;
  min-height:40px;
  padding:0 16px;
  border-radius:10px;
  cursor:pointer;
}
.dt-tab-btn.is-active{
  background:#e6f4ff;
  color:var(--dt-accent);
  box-shadow:inset 0 0 0 1px #bfdbef;
}
.dt-tab-panels{margin-top:14px}
.dt-tab-panel{display:none}
.dt-tab-panel.is-active{display:block;animation:dt-panel-in .22s ease}
@keyframes dt-panel-in{
  from{opacity:0;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}
.dt-tab-panel .dt-card-title{font-size:20px;line-height:1.42;font-weight:800;color:#123552}
.dt-tab-panel .dt-card-text{font-size:15px;line-height:1.9;color:var(--dt-muted)}

.dt-card{
  background:var(--dt-card);
  border:1px solid var(--dt-border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,30,60,.08);
}
.dt-card + .dt-card{margin-top:14px}
.dt-card-title{margin:0 0 10px;font-size:22px;line-height:1.35;font-weight:800;color:#123552}
.dt-card-text{margin:0;font-size:15px;line-height:1.9;color:var(--dt-muted)}
.dt-rich{font-size:15px;line-height:1.9;color:var(--dt-muted)}
.dt-rich > *:first-child{margin-top:0}
.dt-rich > *:last-child{margin-bottom:0}
.dt-rich h2,.dt-rich h3,.dt-rich h4{margin:1.2em 0 .6em;color:#0f2f4d;line-height:1.35;font-weight:800}
.dt-rich h2{font-size:28px}
.dt-rich h3{font-size:20px;font-weight:700}
.dt-rich h4{font-size:17px}
.dt-rich h3{position:relative;padding-left:14px}
.dt-rich h3::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:16px;background:var(--dt-accent);border-radius:2px}
.dt-rich p,.dt-rich ul,.dt-rich ol,.dt-rich blockquote{margin:.9em 0}
.dt-rich ul,.dt-rich ol{padding-left:1.4em}
.dt-rich li + li{margin-top:.45em}
.dt-rich img{display:block;max-width:100%;height:auto;border-radius:12px;border:1px solid #d8e6f3}
.dt-rich a{color:var(--dt-accent);text-decoration:none}
.dt-rich a:hover{text-decoration:underline}
.dt-rich blockquote{padding:14px 16px;border-left:3px solid #7dd3fc;background:#f2faff;color:#334e68;border-radius:0 10px 10px 0}
.dt-rich .wp-block-buttons{margin:1em 0}
.dt-rich .wp-block-group,.dt-rich .wp-block-columns{margin:1em 0}
.dt-rich table{width:100%;border-collapse:collapse;margin:1em 0}
.dt-rich th,.dt-rich td{padding:10px 12px;border:1px solid #d9e6f2;text-align:left}

.dt-guide{font-size:15px;line-height:1.9;color:var(--dt-muted)}
.dt-guide h2,.dt-guide h3{position:relative;font-weight:700;color:#103252}
.dt-guide h2{font-size:24px;margin:20px 0 10px;padding-left:12px}
.dt-guide h3{font-size:18px;margin:18px 0 0;padding:12px 14px;background:#fff;border:1px solid var(--dt-border);border-radius:12px 12px 0 0}
.dt-guide h2::before{content:"";position:absolute;left:0;top:.25em;width:3px;height:1.2em;background:var(--dt-accent);border-radius:2px}
.dt-guide h3::before{content:none}
.dt-guide ul{margin:0 0 14px 18px;padding:0;list-style:none}
.dt-guide ul>li{position:relative;margin:0 0 6px 0;padding:0 0 0 18px;list-style:none}
.dt-guide ul>li::before{content:"\\2013";position:absolute;left:0;top:.2em;color:#8ea2b7}
.dt-guide ol{margin:0 0 14px 18px;padding:0}
.dt-guide ol>li{margin:0 0 6px 0;padding:0;list-style:decimal}
.dt-guide h3 + ul,.dt-guide h3 + ol{margin:0 0 16px 0;padding:6px 16px 10px 26px;background:#fff;border:1px solid var(--dt-border);border-top:0;border-radius:0 0 12px 12px}
.dt-guide h3 + ul>li,.dt-guide h3 + ol>li{padding:10px 0;border-top:1px dashed #d9e6f2}
.dt-guide h3 + ul>li:first-child,.dt-guide h3 + ol>li:first-child{border-top:0}
.dt-guide p{margin:6px 0;line-height:1.8}
.dt-guide pre{background:#f8fbff;border:1px solid #d9e6f2;border-left:3px solid var(--dt-accent);border-radius:8px;padding:10px 12px;overflow:auto}
.dt-guide code{background:#f8fbff;border:1px solid #d9e6f2;border-radius:6px;padding:2px 6px}
.dt-guide pre code{border:0;background:transparent;padding:0}
.dt-guide img{display:block;max-width:100%;height:auto;border:1px solid #d9e6f2;border-radius:10px;background:#fff;margin:8px 0}
.dt-guide hr{border:0;border-top:1px solid #d9e6f2;margin:16px 0}
.dt-guide .guide-card{background:#fff;border:1px solid var(--dt-border);border-radius:14px;box-shadow:0 6px 18px rgba(15,30,60,.06);margin:0 0 18px}
.dt-guide .guide-card > h2{margin:0;padding:14px 16px 14px 30px;border-bottom:1px solid #d9e6f2;font-size:18px;font-weight:700}
.dt-guide .guide-card > h3{margin:0;padding:14px 16px 14px 30px;border-bottom:1px solid #d9e6f2;font-size:18px;font-weight:700;background:transparent;border-radius:0}
.dt-guide .guide-card > h2::before{left:16px;top:50%;transform:translateY(-50%);height:18px}
.dt-guide .guide-card > h3::before{content:"";position:absolute;left:16px;top:50%;transform:translateY(-50%);width:3px;height:18px;background:var(--dt-accent);border-radius:2px}
.dt-guide .guide-body{padding:14px 16px}

.dt-log-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.dt-log-ver{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:#e6f4ff;
  color:var(--dt-accent);
  border:1px solid #bfdbef;
  font-size:13px;
  font-weight:800;
}
.dt-log-date{font-size:13px;font-weight:700;color:#7087a0}
.dt-log-points{margin:0;display:grid;gap:7px;list-style:none;padding-left:10px;font-size:14px;line-height:1.8;color:var(--dt-muted)}
.dt-log-points li{position:relative;padding-left:18px}
.dt-log-points li::before{content:"";position:absolute;left:4px;top:8px;width:5px;height:5px;border-radius:999px;background:#5a7c9b}

.dt-faq-list{display:grid;gap:12px}
.dt-faq-item{background:#f4f9ff;border:1px solid #d6e4f2;border-radius:12px;padding:0 18px}
.dt-faq-toggle{
  appearance:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:58px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}
.dt-faq-question{font-size:15px;line-height:1.8;font-weight:700;color:#2c4d6b}
.dt-faq-sign{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:22px;height:22px;font-size:22px;line-height:1;color:#5f7f9e;font-weight:300}
.dt-faq-a{display:none;padding:12px 0 16px;border-top:1px solid #d6e4f2}
.dt-faq-item.is-open .dt-faq-a{display:block}
.dt-faq-a p{margin:0;font-size:14px;line-height:1.85;color:#49657f}
.dt-faq-a a{color:var(--dt-accent);text-decoration:none;border-bottom:1px solid #bae6fd}
.dt-faq-a a:hover{border-bottom-color:var(--dt-accent)}

.dt-aside-card{
  background:var(--dt-card);
  border:1px solid var(--dt-border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(15,30,60,.08);
}
.dt-mt-14{margin-top:14px}
.dt-aside-title{
  margin:0 0 14px;
  padding-bottom:12px;
  border-bottom:1px solid #dbe8f3;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  color:#254d6f;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.dt-service-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.dt-service-item{display:flex;gap:10px}
.dt-service-mark{display:inline-flex;color:var(--dt-accent);font-weight:900}
.dt-service-item strong{display:block;font-size:15px;color:#1f4566}
.dt-service-item p{margin:6px 0 0;font-size:13px;line-height:1.7;color:var(--dt-muted)}
.dt-spec-list{display:grid;gap:10px}
.dt-spec-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:start;padding:9px 0;border-bottom:1px solid #e2edf7}
.dt-spec-row:last-child{padding-bottom:0;border-bottom:0}
.dt-spec-row span{font-size:14px;line-height:1.7;font-weight:500;color:#8ca3bb}
.dt-spec-row strong{font-size:14px;line-height:1.7;font-weight:700;color:#214b71;word-break:break-word}

.dt-help{
  background:
    radial-gradient(320px 120px at 15% -20%, rgba(29,95,209,.28), rgba(29,95,209,0) 74%),
    linear-gradient(135deg,var(--dt-accent),var(--dt-accent-deep));
  color:#fff;
  border:0;
  box-shadow:0 18px 32px rgba(29,95,209,.24);
}
.dt-help h4{margin:0 0 8px;font-size:18px;line-height:1.35;font-weight:800}
.dt-help p{margin:0 0 16px;font-size:13px;line-height:1.8;opacity:.92}
.dt-help-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:44px;
  border-radius:10px;
  background:#fff;
  color:var(--dt-accent);
  font-size:14px;
  font-weight:900;
  text-decoration:none;
}
.dt-help-btn:hover{background:#eff8ff}

@media (max-width:1120px){
  .dt-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .dt-wrap{padding:0 18px}
  .dt-header{padding:36px 0}
  .dt-hero-grid{grid-template-columns:1fr;gap:24px}
  .dt-title{font-size:34px}
  .dt-price{font-size:32px}
  .dt-meta-list{gap:7px}
  .dt-meta-item{font-size:11px}
  .dt-btns{flex-direction:column}
  .dt-faq-item{padding:0 14px}
  .dt-faq-toggle{min-height:52px}
  .dt-faq-question{font-size:14px}
  .dt-faq-a p{font-size:14px}
  .dt-spec-row{grid-template-columns:84px minmax(0,1fr);gap:10px}
}
@media (prefers-reduced-motion: reduce){
  .dt-btn,.dt-tab-panel.is-active{animation:none !important;transition:none !important}
}
