/*
Theme Name: DHgate Wiki Black Gold
Theme URI: https://dhgatewiki.com/
Description: Editable black-and-gold Gutenberg child theme for DHgate Wiki.
Author: DHgate Wiki
Template: sydney
Version: 1.1.13
Text Domain: dhgate-wiki-black-gold
*/

:root{
  --dhgw-bg:#0e0e0e;
  --dhgw-surface:#171717;
  --dhgw-surface-2:#202020;
  --dhgw-text:#f8f8f8;
  --dhgw-muted:#b8b8b8;
  --dhgw-line:#343434;
  --dhgw-gold:#ffd400;
  --dhgw-shadow:0 24px 80px rgba(0,0,0,.38);
  --dhgw-radius:24px;
  --dhgw-max:1240px;
}

/* ---------- Base / Sydney overrides ---------- */
html{background:var(--dhgw-bg);scroll-behavior:smooth}
body,body .site{background:var(--dhgw-bg);color:var(--dhgw-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit}
#masthead,.site-header,.header-wrap,header.shfb{background:rgba(14,14,14,.94)!important;backdrop-filter:blur(18px);border-bottom:1px solid var(--dhgw-line)!important}
.site-title a,.site-description,.main-navigation a,.mobile-nav a,.shfb-component a{color:#ededed!important;font-weight:780}
.main-navigation a:hover,.main-navigation .current-menu-item>a,.shfb-component a:hover{color:var(--dhgw-gold)!important}
.site-branding .custom-logo-link,.site-branding>a{display:flex;align-items:center;line-height:0}
.site-branding .custom-logo,.site-branding .site-logo{display:block;width:auto!important;height:84px!important;max-width:340px!important;max-height:84px!important;object-fit:contain;object-position:left center}
.site-content{padding:0!important}
.content-area,.hentry,.entry-content,.fp-content-area{margin:0!important;max-width:none!important}
.entry-header{display:none}
.site-footer,#colophon{background:#090909!important;color:#d5d5d5}
.site-footer a,#colophon a{color:#b3b3b3}
.site-footer a:hover,#colophon a:hover{color:var(--dhgw-gold)}

/* Neutralize Sydney front-page container squeeze so sections go full-bleed */
.page-template-page_front-page .container,
.page-template-page_front-page .row,
.page-template-page_front-page .fp-content-area{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;margin:0!important}

/* Kill Gutenberg constrained-layout width limits inside our blocks */
.dhgw-hero>*,.dhgw-page-hero>*,.dhgw-section>*,.dhgw-card>*,.dhgw-answer>*{max-width:none!important;margin-left:0!important;margin-right:0!important}
.dhgw-section>*{max-width:var(--dhgw-max)!important;margin-left:auto!important;margin-right:auto!important}

/* ---------- Typography ---------- */
.dhgw-hero h1,.dhgw-page-hero h1,.dhgw-section h2,.dhgw-section h3,.dhgw-card h3,.dhgw-answer h2,.dhgw-answer h3{margin:0;line-height:1.06;letter-spacing:-.045em;color:var(--dhgw-text)}
.dhgw-hero h1{font-size:clamp(48px,6.6vw,84px);margin:16px 0 24px}
.dhgw-page-hero h1{font-size:clamp(42px,5vw,68px);margin:12px 0}
.dhgw-section h2{font-size:clamp(34px,4.4vw,56px)}
.dhgw-card h3{font-size:24px;margin:0 0 4px}
.dhgw-eyebrow{color:var(--dhgw-gold)!important;font-size:12px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;margin:0 0 4px}
.dhgw-kicker{font-size:13px;color:var(--dhgw-gold);font-weight:900;text-transform:uppercase;letter-spacing:.12em;margin-bottom:10px}

/* ---------- Hero (targets the block itself: constrained layout has NO inner container) ---------- */
.dhgw-hero{
  position:relative;overflow:hidden;z-index:0;
  max-width:var(--dhgw-max);
  margin:42px auto 24px!important;
  background:linear-gradient(140deg,#111 0%,#171717 58%,#241f00 100%);
  border:1px solid #2d2d2d;border-radius:34px;
  padding:72px 64px!important;
}
.dhgw-hero:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:var(--dhgw-gold);right:-180px;top:-230px;opacity:.96;filter:blur(2px);z-index:-1}
.dhgw-hero:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;background:#4a4100;right:220px;bottom:-160px;opacity:.8;z-index:-1}
.dhgw-hero>*{position:relative;z-index:1}
.dhgw-hero p{color:#d1d1d1;font-size:20px;max-width:720px!important}
.dhgw-hero p.dhgw-eyebrow{font-size:12px}

/* Wrapper spacing so the rounded hero doesn't touch viewport edges */
@media(max-width:1300px){.dhgw-hero{margin-left:24px!important;margin-right:24px!important}}

/* Hero two-column layout */
.dhgw-hero-grid{gap:54px;align-items:center;margin:0!important}
.dhgw-hero-grid .wp-block-column{margin:0!important}
.dhgw-hero-visual{min-height:420px;background:linear-gradient(145deg,#181818,#242000);border:1px solid #403b12;border-radius:28px;position:relative;overflow:hidden;padding:24px!important;display:flex;flex-direction:column;justify-content:flex-end}
.dhgw-hero-visual:before{content:"";position:absolute;inset:24px 26px 84px;border-radius:26px;background:
  radial-gradient(circle at 24% 42%,rgba(255,212,0,.88) 0 8px,transparent 9px),
  radial-gradient(circle at 42% 52%,rgba(255,212,0,.88) 0 7px,transparent 8px),
  radial-gradient(circle at 62% 38%,rgba(255,212,0,.88) 0 8px,transparent 9px),
  radial-gradient(circle at 76% 58%,rgba(255,212,0,.88) 0 7px,transparent 8px),
  linear-gradient(135deg,#2d2d2d,#151515)}
.dhgw-hero-visual:after{content:"";position:absolute;width:48%;left:26%;top:45%;height:2px;background:linear-gradient(90deg,transparent,var(--dhgw-gold),transparent);transform:rotate(-12deg)}
.dhgw-visual-card{position:relative;background:#fff;border-radius:18px;padding:19px!important;width:82%;box-shadow:var(--dhgw-shadow);z-index:2}
.dhgw-visual-card p{color:#666!important;font-size:14px;margin:0}
.dhgw-visual-card .dhgw-visual-title,.dhgw-visual-card .dhgw-visual-title strong{color:#111!important;font-size:20px;line-height:1.3}
.dhgw-visual-card .dhgw-visual-title{margin:0 0 4px}

/* ---------- Page hero (inner hub/article pages) ---------- */
.dhgw-page-hero{
  position:relative;overflow:hidden;
  max-width:var(--dhgw-max);
  margin:56px auto 30px!important;
  background:linear-gradient(135deg,#171717,#211d00);
  border:1px solid #36330e;border-radius:32px;
  padding:56px!important;
}
.dhgw-page-hero p{font-size:19px;color:var(--dhgw-muted);max-width:800px!important}
@media(max-width:1300px){.dhgw-page-hero{margin-left:24px!important;margin-right:24px!important}}

/* ---------- Sections ---------- */
.dhgw-section{padding:80px max(24px,calc((100% - var(--dhgw-max))/2))!important}
.dhgw-section.is-soft{background:#181818}
.dhgw-section.is-alt{background:#121212}
.dhgw-section-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);align-items:end;gap:28px;margin-bottom:32px}
.dhgw-section-title h2{margin:9px 0 0}
.dhgw-section-title p{color:var(--dhgw-muted);margin:0}

/* ---------- Cards ---------- */
.dhgw-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.dhgw-card-grid.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.dhgw-card{background:var(--dhgw-surface);border:1px solid var(--dhgw-line);border-radius:var(--dhgw-radius);padding:25px!important;transition:.2s}
.dhgw-card:hover{transform:translateY(-4px);box-shadow:var(--dhgw-shadow);border-color:#4a4a4a}
.dhgw-card p{color:var(--dhgw-muted);margin:12px 0 0}
.dhgw-tag{display:inline-flex;background:var(--dhgw-gold);color:#111!important;border-radius:999px;padding:5px 9px!important;font-size:11px!important;font-weight:900;letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;width:max-content}
.dhgw-media{height:190px!important;min-height:190px;border-radius:18px;background:linear-gradient(135deg,#2a2a2a,#3a3400);margin:0 0 20px!important;overflow:hidden;position:relative}
.dhgw-media:before{content:"";position:absolute;width:130px;height:130px;border-radius:24px;background:var(--dhgw-gold);right:24px;top:28px;transform:rotate(16deg)}
.dhgw-media:after{content:"";position:absolute;width:80px;height:80px;border-radius:18px;background:#fff;left:24px;bottom:20px;box-shadow:0 16px 40px rgba(0,0,0,.2)}

/* ---------- Buttons ---------- */
.dhgw-button .wp-block-button__link,.wp-block-button.dhgw-button .wp-block-button__link{background:var(--dhgw-gold)!important;color:#111!important;border-radius:999px!important;padding:13px 18px!important;font-weight:880;border:none}
.wp-block-button.is-style-outline .wp-block-button__link{border:1px solid #5a5a5a!important;color:#fff!important;background:transparent!important;border-radius:999px!important}

/* ---------- Answer (gold definition box) ---------- */
.dhgw-answer{background:linear-gradient(135deg,var(--dhgw-gold),#f3bd00)!important;color:#111!important;padding:28px!important;border-radius:24px}
.dhgw-answer h2,.dhgw-answer h3,.dhgw-answer p{color:#111!important}
.dhgw-answer p{font-size:18px;margin:8px 0 0}

/* ---------- Snapshot / metrics / chart ---------- */
.dhgw-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.dhgw-chart-panel{background:#fff;border-radius:25px;padding:28px!important}
.dhgw-chart-panel h3,.dhgw-chart-panel p{color:#111!important}
.dhgw-chart-panel .dhgw-note{font-size:13px;color:#666!important;margin-top:10px}
.dhgw-chart{height:290px;display:flex;align-items:flex-end;gap:18px;padding:28px;border-radius:18px;background:repeating-linear-gradient(0deg,#fafafa,#fafafa 46px,#ebebeb 47px)}
.dhgw-bar{flex:1;min-height:34%;background:#171717;border-radius:10px 10px 0 0}
.dhgw-bar:nth-child(2){min-height:52%}
.dhgw-bar:nth-child(3){min-height:76%;background:var(--dhgw-gold)}
.dhgw-bar:nth-child(4){min-height:92%}
.dhgw-bar:nth-child(5){min-height:66%}
.dhgw-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.dhgw-metric{background:#fff;border-radius:22px;padding:24px!important}
.dhgw-metric strong,.dhgw-metric b{display:block;font-size:44px;line-height:1;color:#111}
.dhgw-metric p,.dhgw-metric span{color:#666!important;margin:8px 0 0}

/* ---------- Article rows ---------- */
.dhgw-article-list{display:grid;gap:14px}
.dhgw-article-row{display:grid;grid-template-columns:150px 1fr auto;gap:22px;align-items:center;background:var(--dhgw-surface);border:1px solid var(--dhgw-line);border-radius:20px;padding:18px!important;text-decoration:none}
.dhgw-article-row:hover{border-color:var(--dhgw-gold)}
.dhgw-thumb{height:100px;background:linear-gradient(135deg,#2a2a2a,#554800);border-radius:14px}
.dhgw-article-row h3{margin:4px 0;font-size:22px;color:var(--dhgw-text)}
.dhgw-article-row p,.dhgw-meta{color:var(--dhgw-muted);margin:0;font-size:14px}
.dhgw-arrow{color:var(--dhgw-gold);font-size:22px;font-weight:900}
.dhgw-article-row>span:nth-child(2){min-width:0}
.dhgw-empty{color:var(--dhgw-muted);border:1px dashed var(--dhgw-line);border-radius:16px;padding:24px!important}

/* ---------- Frameworks / knowledge graph / topics ---------- */
.dhgw-framework-number{color:var(--dhgw-gold);font-size:42px;font-weight:950;margin:0 0 16px}
.dhgw-graph{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:18px;align-items:center}
.dhgw-graph-col{display:grid;gap:12px}
.dhgw-graph-node{background:#1b1b1b;border:1px solid #3a3a3a;border-radius:16px;padding:16px!important}
.dhgw-graph-core{background:var(--dhgw-gold);color:#111!important;border-radius:26px;padding:34px!important;text-align:center;font-weight:950;font-size:24px}
.dhgw-graph-core span{display:block;margin-top:8px;font-size:14px;font-weight:700}
.dhgw-graph-node:hover{border-color:var(--dhgw-gold);color:var(--dhgw-gold)}
.dhgw-topic-cloud{display:flex;flex-wrap:wrap;gap:10px}
.dhgw-topic-cloud a{background:#1d1d1d;border:1px solid var(--dhgw-line);border-radius:999px;padding:10px 14px;text-decoration:none;font-weight:780}
.dhgw-topic-cloud a:hover{color:var(--dhgw-gold);border-color:var(--dhgw-gold)}

/* ---------- FAQ ---------- */
.dhgw-faq details,details.dhgw-faq{background:#171717;border:1px solid var(--dhgw-line);border-radius:16px;padding:18px 20px!important;margin-bottom:12px}
.dhgw-faq summary,details.dhgw-faq summary{color:#fff;font-weight:850;cursor:pointer}
.dhgw-faq p,details.dhgw-faq p{color:var(--dhgw-muted)}

/* ---------- Steps (decision framework) ---------- */
.dhgw-steps{counter-reset:dhgwstep;display:grid;gap:0}
.dhgw-step{display:grid;grid-template-columns:58px 1fr;gap:15px;margin:18px 0;align-items:start}
.dhgw-step:before{counter-increment:dhgwstep;content:counter(dhgwstep);width:48px;height:48px;border-radius:50%;background:var(--dhgw-gold);color:#111;display:grid;place-items:center;font-weight:950;font-size:18px}
.dhgw-step h3{margin:0 0 4px}
.dhgw-step p{color:var(--dhgw-muted);margin:0}

/* ---------- Ecosystem (platforms) ---------- */
.dhgw-ecosystem{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.dhgw-eco{background:#fff;border-radius:18px;padding:20px!important}
.dhgw-eco strong,.dhgw-eco b{display:block;color:#111;font-size:18px;margin-bottom:6px}
.dhgw-eco p{color:#666!important;margin:0;font-size:14px}

/* ---------- Hub layout / sidebar / prose / tables ---------- */
.dhgw-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.dhgw-hub-main{min-width:0}
.dhgw-hub-main>h2{margin:48px 0 22px}
.dhgw-hub-main>h2:first-child,.dhgw-hub-main>.dhgw-answer:first-child{margin-top:0}
.dhgw-sidebar{position:sticky;top:126px;height:max-content}
.dhgw-sidebar .dhgw-card h3{margin:0 0 6px}
.dhgw-sidebar a{display:block;padding:9px 0;border-bottom:1px solid var(--dhgw-line);text-decoration:none;color:#c9c9c9;font-weight:730}
.dhgw-sidebar a:last-child{border-bottom:none}
.dhgw-sidebar a:hover{color:var(--dhgw-gold)}
.dhgw-prose{background:#161616;border:1px solid var(--dhgw-line);border-radius:25px;padding:40px!important}
.dhgw-prose p,.dhgw-prose li{color:#d0d0d0}
.dhgw-prose h2{font-size:34px;margin:42px 0 14px}
.dhgw-prose h3{font-size:24px;margin:30px 0 10px}
.dhgw-notice{border-left:4px solid var(--dhgw-gold);padding:14px 16px!important;background:#231f00;border-radius:0 13px 13px 0;color:#ece6b5}
.dhgw-table-wrap{overflow:auto;margin:0 0 8px}
.dhgw-section table,.dhgw-prose table{width:100%;border-collapse:collapse;background:#fff;color:#111}
.dhgw-section th,.dhgw-section td,.dhgw-prose th,.dhgw-prose td{border:1px solid #ddd;padding:14px;text-align:left;vertical-align:top;color:#111}
.dhgw-section th,.dhgw-prose th{background:#fff7cf}

/* ---------- Stat chips ---------- */
.dhgw-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:22px}
.dhgw-stat-chip{background:#181818;border:1px solid #383838;border-radius:14px;padding:13px!important;color:#d9d9d9;font-size:13px}

/* ---------- Custom footer (child theme footer.php) ---------- */
.dhgw-footer{background:#090909;color:#d5d5d5;padding:62px max(24px,calc((100% - var(--dhgw-max))/2)) 28px;margin-top:70px}
.dhgw-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px}
.dhgw-footer h3{font-size:17px;color:#fff;margin:0 0 13px;letter-spacing:-.02em}
.dhgw-footer p{color:#b3b3b3;font-size:15px}
.dhgw-footer-logo{display:block;width:min(300px,100%);height:auto;max-height:82px;object-fit:contain;object-position:left center;margin:0 0 18px}
.dhgw-footer a{display:block;color:#b3b3b3;margin:8px 0;text-decoration:none}
.dhgw-footer a:hover{color:var(--dhgw-gold)}
.dhgw-footer-brand{font-size:28px;font-weight:950;letter-spacing:-1.4px;margin-bottom:10px}
.dhgw-footer-brand .dh,.dhgw-footer-brand .wiki{color:#fff}
.dhgw-footer-brand .gate{color:var(--dhgw-gold)}
.dhgw-footer-brand .wiki{font-weight:700}
.dhgw-copy{border-top:1px solid #2a2a2a;margin-top:36px;padding-top:20px;font-size:13px;color:#8e8e8e}
@media(max-width:980px){.dhgw-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.dhgw-footer-grid{grid-template-columns:1fr}}

/* ---------- Editor ---------- */
.editor-styles-wrapper{background:var(--dhgw-bg)!important;color:var(--dhgw-text)!important}
.editor-styles-wrapper .block-editor-block-list__layout{color:var(--dhgw-text)}

/* ---------- Responsive ---------- */
@media(max-width:980px){
  .dhgw-card-grid,.dhgw-card-grid.is-four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dhgw-ecosystem{grid-template-columns:repeat(2,1fr)}
  .dhgw-snapshot,.dhgw-hub-layout,.dhgw-graph,.dhgw-section-title{grid-template-columns:1fr}
  .dhgw-sidebar{position:static}
  .dhgw-hero{padding:48px!important}
  .dhgw-hero-grid{flex-wrap:wrap!important}
  .dhgw-hero-visual{min-height:290px;margin-top:24px}
  .dhgw-stat-row{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .dhgw-hero,.dhgw-page-hero{margin-left:12px!important;margin-right:12px!important;padding:30px 24px!important}
  .dhgw-section{padding:54px 16px!important}
  .dhgw-card-grid,.dhgw-card-grid.is-four,.dhgw-metrics,.dhgw-stat-row,.dhgw-ecosystem{grid-template-columns:1fr}
  .dhgw-article-row{grid-template-columns:1fr}
  .dhgw-thumb{height:150px}
  .dhgw-arrow{display:none}
  .dhgw-prose{padding:24px!important}
  .dhgw-step{grid-template-columns:44px 1fr;gap:12px}
  .site-branding .custom-logo,.site-branding .site-logo{height:56px!important;max-width:240px!important;max-height:56px!important}
  .dhgw-footer-logo{width:min(260px,100%);max-height:72px}
}

/* ---------- Demo parity: header, full-width framing, and mobile collapse ---------- */
@media(min-width:981px){
  .shfb-desktop .shfb-main_header_row,
  .shfb-desktop .shfb-main_header_row>.container{height:106px!important;min-height:106px!important}
  .shfb-desktop .shfb-main_header_row>.container{max-width:1240px!important;width:100%!important;padding-left:24px!important;padding-right:24px!important}
  .shfb-desktop .shfb-main_header_row .shfb-row{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;align-items:center!important}
  .shfb-desktop .shfb-main_header_row .shfb-column-1{min-width:0!important}
  .shfb-desktop .shfb-main_header_row .shfb-column-2{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0!important}
  .shfb-desktop #site-navigation{flex:1 1 auto!important;min-width:0!important}
  .shfb-desktop #primary-menu{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;white-space:nowrap!important}
  .shfb-desktop #primary-menu>li{flex:0 0 auto!important}
  .shfb-desktop #primary-menu>li>a{white-space:nowrap!important;padding:8px 6px!important;font-size:13px!important}
  .shfb-desktop .shfb-component-search{flex:0 0 auto!important}
  .shfb-desktop .header-search{padding-left:8px!important;padding-right:0!important}
}

.page-template-page_fullwidth .site-content,
.page-template-page_fullwidth .content-area,
.page-template-page_fullwidth .entry-content,
.page-template-page_fullwidth .hentry{padding-top:0!important;margin-top:0!important}
.page-template-page_fullwidth #content.page-wrap{padding-top:0!important}
.page-template-page_fullwidth .dhgw-page-hero{margin-top:0!important}
.page-template-page_fullwidth .dhgw-section{margin-top:0!important}

@media(max-width:1120px){
  .shfb-desktop{display:none!important}
  .shfb-mobile{display:block!important}
}
@media(max-width:980px){
  .shfb-mobile .shfb-main_header_row>.container{padding-left:18px!important;padding-right:18px!important}
  .page-template-page_fullwidth .dhgw-page-hero{margin-top:20px!important}
}
@media(max-width:640px){
  .page-template-page_fullwidth .dhgw-page-hero{margin-left:12px!important;margin-right:12px!important;padding:30px 24px!important}
  .page-template-page_fullwidth .dhgw-section{padding-left:18px!important;padding-right:18px!important}
  .page-template-page_fullwidth .dhgw-page-hero h1{font-size:clamp(40px,12vw,58px)!important}
}

/* ===================================================================
   Anchor jumps: keep sticky header from covering the targeted section
   =================================================================== */
.entry-content h2,.entry-content h3,
.dhgw-section h2,.dhgw-hub-layout h2,.dhgw-hub-layout h3{scroll-margin-top:126px}

/* ===================================================================
   Single post (article) reading view
   White content card + dark, readable text on the black page.
   Scoped to .single so hub PAGES keep the dark black-gold theme.
   =================================================================== */
.single #content.page-wrap{padding:44px 0 64px!important}
.single .content-wrapper.container{max-width:1240px!important;margin:0 auto!important;padding:0 24px!important}

.single .post-wrap,.single article.hentry{background:#fff;color:#1c1c1c;border-radius:22px;padding:44px 48px;margin-bottom:24px;box-shadow:var(--dhgw-shadow)}
.single .post-wrap article.hentry{background:transparent;box-shadow:none;padding:0;margin:0}

/* Title + meta visible (dark on white) */
.single .entry-header{display:block!important;margin-bottom:14px}
.single .entry-title,.single h1.title-post{color:#111!important;font-size:clamp(30px,3.4vw,44px);line-height:1.14;letter-spacing:-.03em;margin:0 0 8px}
.single .entry-meta,.single .entry-meta a,.single .post-meta,.single .updated,.single .posted-on,.single .byline{color:#6b6b6b!important;font-size:14px}

/* Body copy + headings */
.single .entry-content{color:#2a2a2a!important;font-size:17px;line-height:1.75;max-width:none!important;margin:0!important}
.single .entry-content h2,.single .entry-content h3,.single .entry-content h4{color:#111!important;letter-spacing:-.02em}
.single .entry-content h2{font-size:28px;margin:36px 0 12px}
.single .entry-content h3{font-size:22px;margin:28px 0 10px}
.single .entry-content p,.single .entry-content li{color:#2a2a2a!important}
.single .entry-content strong,.single .entry-content b{color:#111}
.single .entry-content a{color:#a06f00;text-decoration:underline}
.single .entry-content a:hover{color:#7d5600}
.single .entry-content blockquote{border-left:4px solid var(--dhgw-gold);background:#fbf7e6;margin:22px 0;padding:14px 18px;color:#333;border-radius:0 12px 12px 0}
.single .entry-content img,.single .wp-post-image,.single .feat-img-top img{border-radius:14px;height:auto}
.single .entry-content table{width:100%;border-collapse:collapse;background:#fff;color:#111;margin:20px 0}
.single .entry-content th,.single .entry-content td{border:1px solid #e2e2e2;padding:12px 14px;text-align:left}
.single .entry-content th{background:#fff7cf}
.single .entry-footer,.single .entry-footer a{color:#6b6b6b}
.single .entry-footer{margin-top:28px;padding-top:18px;border-top:1px solid #eee}

/* ===================================================================
   Single post sidebar: Overview (TOC) + Recent posts (white cards)
   Replaces Sydney's Search / Recent Comments / Archives / Categories.
   =================================================================== */
.dhgw-sidebar-sticky{position:sticky;top:126px}
.dhgw-post-sidebar .dhgw-side-card{background:#fff;color:#111;border-radius:18px;padding:22px 22px;margin-bottom:20px;box-shadow:var(--dhgw-shadow)}
.dhgw-post-sidebar .dhgw-side-card h3{color:#111;font-size:15px;font-weight:850;letter-spacing:.02em;text-transform:uppercase;margin:0 0 12px}
.dhgw-toc a{display:block;padding:9px 0;border-bottom:1px solid #ededed;color:#333;text-decoration:none;font-size:14px;font-weight:650;line-height:1.35}
.dhgw-toc a:last-child{border-bottom:0}
.dhgw-toc a:hover{color:#a06f00}
.dhgw-recent-list{list-style:none;margin:0;padding:0}
.dhgw-recent-list li{padding:10px 0;border-bottom:1px solid #ededed}
.dhgw-recent-list li:last-child{border-bottom:0}
.dhgw-recent-list a{display:block;color:#222;text-decoration:none;font-size:14px;font-weight:650;line-height:1.4}
.dhgw-recent-list a:hover{color:#a06f00}
.dhgw-side-empty{color:#888;font-size:14px;margin:0}

@media(max-width:980px){
  .single .post-wrap,.single article.hentry{padding:30px 22px}
  .dhgw-sidebar-sticky{position:static}
  .single #primary.content-area,.dhgw-post-sidebar{width:100%!important;max-width:none!important}
}
