/*
Theme Name: Doctors Hyderabad 2026
Theme URI: https://doctorshyderabad.com
Author: Doctors Hyderabad
Description: Story-first theme for Doctors Hyderabad — verified doctors share stories, perspectives and clinical insights. Cream, navy and grey, DM Sans. Works with the DH Community plugin.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: doctors-hyderabad-2026
*/

/* ---------- Tokens ---------- */
:root {
	--cream: #FAF7F0;
	--white: #FFFFFF;
	--navy: #1B2A4A;
	--navy-dark: #121D35;
	--ink: #141B2D;
	--text: #3F4757;
	--muted: #5B6475;
	--line: #E4E1D9;
	--line-soft: #ECE9E2;
	--input: #D3D0C8;
	--tint: #E8EBF1;
	--sand: #F2EFE8;
	--on-navy: #C9D1E0;
	--ok: #1E6B45;
	--ok-bg: #E6F2EA;
	--warn: #8A5300;
	--warn-bg: #FBF0DC;
	--err: #A3262A;
	--err-bg: #FBE7E7;
	--radius: 14px;
	--radius-sm: 10px;
	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #6A86C4; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.dh-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.dh-skip:focus { left: 8px; }

.dh-container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.dh-container--notice { padding-top: 16px; }
.dh-narrow { max-width: 520px; margin: 40px auto 64px; }
.dh-center { text-align: center; }
.dh-muted { color: var(--muted); }
.dh-small { font-size: 14px; color: var(--muted); }
.dh-lead { font-size: 18px; color: var(--text); line-height: 1.5; }
.dh-h2 { font-size: 28px; font-weight: 600; }
.dh-h2 a { color: inherit; }
.dh-h3 { font-size: 21px; font-weight: 600; }
.dh-h4 { font-size: 18px; font-weight: 600; }
.dh-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.dh-eyebrow--muted { color: var(--muted); }
.dh-eyebrow--sponsor { color: var(--warn); }
.dh-link-arrow { font-weight: 600; }
.dh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.dh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .15s ease; }
.dh-btn:hover { background: var(--navy-dark); color: #fff; text-decoration: none; }
.dh-btn--block { width: 100%; }
.dh-btn--small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.dh-btn--dark { background: var(--ink); border-color: var(--ink); }
.dh-btn--ghost { background: var(--white); color: var(--ink); border-color: var(--input); }
.dh-btn--ghost:hover { background: var(--sand); color: var(--ink); }
.dh-btn--quiet { background: transparent; border-color: transparent; color: var(--muted); }
.dh-btn--quiet:hover { background: var(--sand); color: var(--ink); }
.dh-btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.dh-btn--light:hover { background: #fff; color: var(--ink); }
.dh-btn--outline-light { background: transparent; border-color: #8E9AB5; color: #fff; }
.dh-btn--outline-light:hover { background: rgba(255,255,255,.08); }
.dh-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.dh-icon-btn:hover { background: var(--sand); text-decoration: none; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px 28px; }
.dh-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.dh-brand:hover { text-decoration: none; }
.dh-brand__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.dh-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.dh-brand__name { font-size: 19px; font-weight: 700; }
.dh-brand__tag { font-size: 12px; color: var(--muted); }
.dh-nav { flex: 1 1 auto; }
.dh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.dh-nav__list a { color: var(--ink); font-weight: 500; font-size: 15px; }
.dh-nav__list .current-menu-item > a, .dh-nav__list .current-cat > a { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.dh-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dh-header-link { color: var(--ink); font-weight: 600; padding: 10px 6px; }
.dh-menu-btn, .dh-show-sm { display: none; }
.dh-nav__search, .dh-nav__account { display: none !important; }
.dh-search { border-top: 1px solid var(--line-soft); background: var(--white); }
.dh-search__form { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; gap: 10px; }
.dh-search__form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--input); border-radius: 999px; background: var(--cream); }
.dh-search__form--page { padding: 16px 0 0; max-width: 560px; margin: 0; }

@media (max-width: 960px) {
	.dh-menu-btn { display: inline-flex; }
	.dh-nav { display: none; order: 10; flex-basis: 100%; }
	.dh-nav.is-open { display: block; }
	.site-header__inner { flex-wrap: wrap; }
	.dh-nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line-soft); padding-top: 8px; }
	.dh-nav__list a { display: block; padding: 12px 0; font-size: 17px; }
	.dh-nav__search { display: flex !important; gap: 8px; padding: 8px 0 14px; }
	.dh-nav__search input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--input); border-radius: 999px; background: var(--cream); }
}
@media (max-width: 640px) {
	.site-header__inner { padding: 10px 16px; gap: 10px; }
	.dh-brand__tag, .dh-header-link, .dh-hide-sm, .dh-search-btn { display: none; }
	.site-header__inner { flex-wrap: wrap; }
	.dh-header-actions { flex-shrink: 0; }
	.dh-nav__account { display: flex !important; padding-top: 0; border-top: 1px solid var(--line-soft); }
	.dh-show-sm { display: inline; }
	.dh-brand__mark { width: 36px; height: 36px; font-size: 14px; }
	.dh-brand__name { font-size: 17px; }
	.dh-header-actions { gap: 6px; }
	.dh-header-actions .dh-btn { min-height: 40px; padding: 8px 14px; }
	.dh-container { padding: 0 16px; }
	.dh-search__form { padding: 10px 16px; }
}

/* ---------- Avatars, bylines ---------- */
.dh-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dh-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--navy); font-weight: 700; }
.dh-avatar--brand { background: var(--navy); color: #fff; font-size: 13px; }
.dh-verified { color: var(--navy); flex-shrink: 0; vertical-align: -2px; margin-left: 4px; }
.dh-byline { display: flex; align-items: center; gap: 12px; }
.dh-byline__text { display: flex; flex-direction: column; min-width: 0; }
.dh-byline__name { font-weight: 600; display: inline-flex; align-items: center; }
.dh-byline__name a { color: var(--ink); }
.dh-byline__meta { font-size: 14px; color: var(--muted); }

/* ---------- Covers ---------- */
.dh-cover { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dh-cover--empty { display: flex; align-items: flex-end; padding: 14px; background: var(--tint); color: var(--navy); font-size: 13px; font-weight: 600; }
.dh-cover--empty span { opacity: .75; }

/* ---------- Home: hero ---------- */
.dh-hero { display: flex; flex-wrap: wrap; gap: 32px; padding: 40px 0 32px; align-items: center; }
.dh-hero__media { flex: 3 1 520px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--tint); }
.dh-hero__text { flex: 2 1 360px; display: flex; flex-direction: column; gap: 16px; }
.dh-hero__title { font-size: clamp(32px, 4.4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.dh-hero__title a { color: var(--ink); }
.dh-hero--empty { padding: 72px 0 48px; }
.dh-hero--empty .dh-hero__text { max-width: 720px; }

/* ---------- Ads ---------- */
.dh-ad { margin: 0 auto 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dh-ad__label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dh-ad img { border-radius: 8px; }
.dh-ad ins { width: 100%; }
.dh-ad--home_top { max-width: 728px; }
.dh-ad--home_side, .dh-ad--article_side { margin: 0; width: 100%; }
.dh-ad--article_inline { margin: 28px 0; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.dh-ad--placeholder { border: 1px dashed var(--input); border-radius: 8px; background: var(--white); padding: 24px; color: var(--muted); font-size: 13px; text-align: center; min-height: 90px; justify-content: center; }

/* ---------- Home: trending + side ---------- */
.dh-split { display: flex; flex-wrap: wrap; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.dh-split__main { flex: 999 1 560px; min-width: 0; }
.dh-split__side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; }
.dh-trending { list-style: none; margin: 8px 0 0; padding: 0; }
.dh-trending__item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.dh-trending__n { font-size: 34px; line-height: 1; font-weight: 700; color: #7C8596; width: 34px; flex-shrink: 0; }
.dh-trending__item > div { display: flex; flex-direction: column; gap: 4px; }
.dh-trending__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.dh-trending__by { font-size: 14px; color: var(--muted); }
.dh-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dh-theme-card { display: flex; flex-direction: column; gap: 8px; }
.dh-theme-card p { margin: 0; color: var(--text); }
.dh-theme-card__title { font-size: 24px; font-weight: 600; color: var(--navy) !important; }

/* ---------- Sections + cards ---------- */
.dh-section { padding: 44px 0 8px; }
.dh-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.dh-section__head p { margin: 4px 0 0; }
.dh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.dh-card-story { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dh-card-story__media { display: block; aspect-ratio: 16 / 10; background: var(--tint); }
.dh-card-story__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.dh-card-story__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.dh-card-story__title a { color: var(--ink); }
.dh-card-story__dek { margin: 0; color: var(--text); font-size: 15px; }
.dh-card-story__by { margin: auto 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Doctors ---------- */
.dh-doctor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.dh-doctor-tile { height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--ink); }
.dh-doctor-tile:hover { border-color: var(--navy); text-decoration: none; }
.dh-doctor-tile .dh-avatar { margin-bottom: 4px; }
.dh-doctor-tile__name { font-weight: 600; }
.dh-doctor-tile__spec, .dh-doctor-tile__count { font-size: 14px; color: var(--muted); }
.dh-directory__filter { margin: 0 0 24px; }
.dh-field--inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.dh-field--inline > select { margin-top: 0; }
.dh-field--inline select { width: auto; min-width: 240px; }

/* ---------- Band + newsletter ---------- */
.dh-band { margin: 48px 0; background: var(--navy); color: #fff; border-radius: 20px; padding: 48px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.dh-band__text { flex: 1 1 480px; }
.dh-band__title { color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 10px; }
.dh-band p { color: var(--on-navy); font-size: 17px; margin: 0; }
.dh-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dh-newsletter { margin: 0 0 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 32px; }
.dh-newsletter > div { flex: 1 1 360px; }
.dh-newsletter p { margin: 6px 0 0; }
.dh-subscribe { flex: 1 1 380px; display: flex; flex-wrap: wrap; gap: 10px; }
.dh-subscribe input[type="email"] { flex: 1 1 220px; height: 48px; padding: 0 16px; border: 1px solid var(--input); border-radius: 999px; background: var(--cream); }
@media (max-width: 640px) {
	.dh-band { padding: 32px 22px; margin: 32px 0; }
	.dh-newsletter { padding: 22px; }
	.dh-hero { padding-top: 20px; gap: 20px; }
}

/* ---------- Page heads, archives ---------- */
.dh-page-head { padding: 40px 0 28px; max-width: 760px; }
.dh-page-head__title { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.dh-empty-state { padding: 32px; background: var(--white); border: 1px dashed var(--input); border-radius: var(--radius); color: var(--text); }
.dh-pagination { margin: 40px 0 56px; }
.dh-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-pagination a, .dh-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.dh-pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.dh-404 { padding: 40px 0; }

/* ---------- Story page ---------- */
.dh-story-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 32px; padding-bottom: 64px; }
.dh-story { flex: 999 1 600px; min-width: 0; max-width: 740px; }
.dh-story-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; padding-top: 44px; }
.dh-breadcrumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 14px; }
.dh-story__title { font-size: clamp(32px, 4.6vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 14px; }
.dh-story__dek { font-size: 20px; color: var(--text); line-height: 1.45; margin-bottom: 22px; }
.dh-story__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dh-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dh-share__status { font-size: 13px; color: var(--ok); }
.dh-story__cover { margin: 28px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.dh-prose { font-size: 19px; line-height: 1.75; color: #262D3D; margin-top: 28px; }
.dh-prose > :first-child { margin-top: 0; }
.dh-prose p, .dh-prose ul, .dh-prose ol { margin: 0 0 1.1em; }
.dh-prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
.dh-prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.dh-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--navy); font-size: 24px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.dh-prose ul, .dh-prose ol { padding-left: 1.3em; }
.dh-prose li + li { margin-top: .4em; }
.dh-prose a { text-decoration: underline; text-underline-offset: 3px; }
.dh-prose img { border-radius: var(--radius-sm); }
.dh-prose--page { max-width: 740px; font-size: 17px; margin: 0 0 64px; }
.dh-prose--page h2 { font-size: 22px; }
.dh-disclaimer { margin: 28px 0 0; padding: 14px 18px; background: var(--sand); border-radius: var(--radius-sm); font-size: 14px; color: var(--text); }
.dh-tags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-tags a { display: inline-block; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.dh-reactions { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.dh-reactions__q { margin: 0; font-weight: 600; }
.dh-reactions__list { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-reaction { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--input); background: var(--cream); color: var(--ink); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.dh-reaction:hover { border-color: var(--navy); }
.dh-reaction[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.dh-reaction__n { font-weight: 700; }
.dh-author-card { margin-top: 24px; padding: 24px; background: var(--sand); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.dh-author-card__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; }
.dh-author-card__text p { margin: 6px 0 4px; color: var(--text); }
.dh-author-card__name { font-size: 22px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; }
.dh-author-card__name a { color: inherit; }
.dh-more ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dh-more li a { display: block; font-weight: 600; line-height: 1.35; color: var(--ink); }
@media (max-width: 640px) {
	.dh-story-layout { padding-top: 16px; gap: 32px; }
	.dh-story-side { padding-top: 0; }
	.dh-prose { font-size: 18px; }
	.dh-story__dek { font-size: 18px; }
}

/* ---------- Comments ---------- */
.dh-comments { margin-top: 40px; }
.dh-comments > .dh-small { margin: 6px 0 18px; }
.dh-comment-list, .dh-comment-list .children { list-style: none; margin: 0; padding: 0; }
.dh-comment-list .children { margin-left: 52px; }
.dh-comment { display: flex; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; flex-wrap: wrap; }
.dh-comment > .children { flex-basis: 100%; }
.dh-comment__body { flex: 1 1 0; min-width: 0; }
.dh-comment__who { font-weight: 600; font-size: 15px; }
.dh-comment__who a { color: var(--ink); }
.dh-comment__text p { margin: 6px 0 0; }
.dh-comment__reply a { font-size: 14px; font-weight: 600; }
.comment-respond { margin-top: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form .form-submit { margin: 0; }

/* ---------- Profile ---------- */
.dh-profile { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 44px 0 36px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.dh-profile__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.dh-profile__name { font-size: clamp(28px, 4vw, 38px); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.dh-profile__name .dh-verified { width: 24px; height: 24px; }
.dh-profile__meta { color: var(--text); font-size: 17px; margin: 0; }
.dh-profile__bio { max-width: 640px; color: var(--text); margin: 8px 0 0; }
.dh-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--tint); padding: 4px 12px 4px 8px; border-radius: 999px; }
.dh-badge .dh-verified { margin: 0; }

/* ---------- Forms ---------- */
.dh-form { display: flex; flex-direction: column; gap: 16px; }
.dh-form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.dh-form__row > * { flex: 1 1 220px; }
.dh-form__between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.dh-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-field { display: block; font-size: 14px; font-weight: 600; color: var(--ink); border: 0; padding: 0; margin: 0; min-width: 0; }
.dh-field > input, .dh-field > select, .dh-field > textarea, .dh-field > .wp-editor-wrap, .dh-field > .dh-cover-now { display: block; margin-top: 6px; }
.dh-field > .dh-field__hint { margin-left: 4px; }
.dh-field legend { padding: 0; margin-bottom: 8px; }
.dh-field__hint { font-weight: 400; color: var(--muted); }
.dh-field input[type="text"], .dh-field input[type="email"], .dh-field input[type="tel"], .dh-field input[type="password"], .dh-field input[type="url"], .dh-field select, .dh-field textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--input); border-radius: var(--radius-sm); background: var(--white); font-weight: 400; font-size: 16px; color: var(--ink);
}
.dh-field textarea { min-height: 0; line-height: 1.5; resize: vertical; }
.dh-field input:focus, .dh-field select:focus, .dh-field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(27,42,74,.15); outline-offset: 0; }
.dh-input--title { font-size: 20px !important; font-weight: 600 !important; }
.dh-file { font-weight: 400; padding: 12px; border: 1px dashed var(--input); border-radius: var(--radius-sm); background: var(--cream); width: 100%; }
.dh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); line-height: 1.5; }
.dh-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.dh-check--inline { align-items: center; }
.dh-sections { display: flex; flex-wrap: wrap; gap: 8px; flex-direction: row; }
.dh-sections legend { width: 100%; }
.dh-chip { position: relative; cursor: pointer; }
.dh-chip input { position: absolute; opacity: 0; }
.dh-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--input); background: var(--white); font-weight: 500; }
.dh-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.dh-chip input:focus-visible + span { outline: 3px solid #6A86C4; outline-offset: 2px; }
.dh-note { background: var(--sand); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--text); }
.dh-notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 16px; }
.dh-notice ul { margin: 0; padding-left: 18px; }
.dh-notice--ok { background: var(--ok-bg); color: var(--ok); }
.dh-notice--info { background: var(--tint); color: var(--navy); }
.dh-notice--error { background: var(--err-bg); color: var(--err); }

/* ---------- Join ---------- */
.dh-join { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 48px 0 64px; }
.dh-join__intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.dh-join__title { font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.dh-join__form { flex: 1 1 460px; padding: 28px; border-radius: 18px; display: flex; flex-direction: column; gap: 20px; }
.dh-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dh-steps li { display: flex; gap: 14px; align-items: flex-start; }
.dh-steps li div { display: flex; flex-direction: column; }
.dh-steps li span:not(.dh-steps__n) { color: var(--text); font-size: 15px; }
.dh-steps__n { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.dh-tabs { display: flex; background: var(--sand); border-radius: 999px; padding: 4px; }
.dh-tabs__tab { flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--text); font-weight: 600; text-align: center; padding: 0 12px; }
.dh-tabs__tab:hover { text-decoration: none; color: var(--ink); }
.dh-tabs__tab.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(20,27,45,.12); }
.dh-tabs--line { background: none; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 24px 0; gap: 8px; }
.dh-tabs--line .dh-tabs__tab { flex: 0 0 auto; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dh-tabs--line .dh-tabs__tab.is-active { background: none; box-shadow: none; border-bottom-color: var(--navy); }
@media (max-width: 640px) {
	.dh-join { padding: 24px 0 48px; gap: 28px; }
	.dh-join__form { padding: 20px; }
	.dh-join__form { order: -1; }
}

/* ---------- Dashboard ---------- */
.dh-dash { padding: 40px 0 64px; }
.dh-dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.dh-dash__who { display: flex; align-items: center; gap: 14px; }
.dh-dash__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dh-mylist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dh-mylist__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.dh-mylist__main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 360px; min-width: 0; }
.dh-mylist__title { font-weight: 600; font-size: 17px; }
.dh-mylist__title a { color: var(--ink); }
.dh-mylist__note { margin: 6px 0 0; padding: 10px 12px; background: var(--warn-bg); color: var(--warn); border-radius: 8px; font-size: 14px; }
.dh-mylist__actions { display: flex; gap: 6px; }
.dh-status { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.dh-status--live { background: var(--ok-bg); color: var(--ok); }
.dh-status--review { background: var(--tint); color: var(--navy); }
.dh-status--returned { background: var(--warn-bg); color: var(--warn); }
.dh-status--draft { background: var(--sand); color: var(--muted); }
.dh-narrow-form { max-width: 480px; }

/* ---------- Write ---------- */
.dh-write { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0 64px; }
.dh-write__main { flex: 999 1 600px; min-width: 0; max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.dh-write__aside { flex: 1 1 280px; }
.dh-guide { position: sticky; top: 24px; }
.dh-guide ul { margin: 12px 0 16px; padding-left: 18px; color: var(--text); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.dh-cover-now img { max-width: 240px; border-radius: 8px; margin: 4px 0; }
.dh-write .wp-editor-wrap { border: 1px solid var(--input); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.dh-write .mce-tinymce { border: 0 !important; box-shadow: none !important; }
@media (max-width: 960px) { .dh-guide { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C3C8D2; font-size: 14px; margin-top: 24px; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 28px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.site-footer__about { flex: 2 1 320px; }
.site-footer__name { display: block; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer__fine { font-size: 13px; color: #9AA1AE; }
.site-footer__col { flex: 1 1 160px; }
.site-footer__head { display: block; color: #fff; font-weight: 600; margin-bottom: 10px; }
.site-footer .dh-nav__list { flex-direction: column; gap: 8px; }
.site-footer .dh-nav__list a { color: #C3C8D2; font-size: 14px; font-weight: 400; }
.site-footer__bottom { max-width: var(--wrap); margin: 0 auto; padding: 16px 24px 28px; border-top: 1px solid #2A3247; color: #9AA1AE; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .dh-ad, .dh-share, .dh-reactions, .dh-story-side, .dh-comments { display: none !important; } }
