/*
Theme Name: Digitalhound
Theme URI: https://www.digitalhound.co.uk/
Author: Digitalhound
Author URI: https://www.digitalhound.co.uk/
Description: Bespoke blog theme for Digitalhound - navy, gold and Inter, matching the main site brand.
Version: 1.3.4
License: Proprietary
Text Domain: digitalhound
*/

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --navy:        #1a1a3e;
  --accent:      #ffdb70;
  --accent-dark: #c8a020;
  --accent-faint:rgba(255,219,112,0.06);
  --on-accent:   #1a1a3e;
  --off-white:   #fffdf0;
  --card-bg:     #fffdf0;
  --card-border: #ede8c0;
  --body-text:   #2a2a4a;
  --muted:       #6b6b8a;
  --font-display:'Inter Tight', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(26,26,62,0.08);
  --shadow-hover:0 6px 24px rgba(26,26,62,0.14);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:var(--font-body);
  color:var(--body-text);
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; display:block; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.dh-container { max-width:1200px; margin:0 auto; padding:0 clamp(1.25rem,4vw,3rem); }

/* ── NAV ─────────────────────────────────────────────────────── */
.dh-nav {
  position:sticky; top:0; z-index:200;
  background:var(--navy);
  border-bottom:2px solid rgba(255,219,112,0.15);
}
.dh-nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:80px; max-width:1200px; margin:0 auto;
  padding:0 clamp(1.25rem,4vw,3rem);
}
.dh-nav-logo { display:flex; align-items:center; gap:0; flex-shrink:0; text-decoration:none; }
.dh-nav-emblem { height:72px; width:72px; border-radius:14px; display:block; margin-right:-12px; object-fit:cover; }
.dh-nav-text { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.dh-nav-wordmark {
  font-family:var(--font-display); font-weight:900;
  font-size:1.75rem; color:#fff; letter-spacing:-0.04em;
  line-height:1; margin-top:8px;
}
.dh-nav-wordmark .dh-accent, .dh-nav-wordmark strong { color:var(--accent) !important; font-weight:inherit; }
.dh-nav-tagline {
  font-size:0.65rem; color:#fff;
  letter-spacing:0.1em; text-transform:uppercase; margin-top:5px;
}
.dh-nav-links { display:flex; align-items:center; gap:1.5rem; list-style:none; }
.dh-nav-links a {
  font-size:0.82rem; font-weight:500; color:rgba(255,255,255,0.85);
  transition:color 0.2s;
}
.dh-nav-links a:hover { color:var(--accent); }
.dh-nav-cta {
  background:var(--accent) !important; color:var(--on-accent) !important;
  padding:0.45rem 1.1rem; border-radius:4px; font-weight:700 !important;
  font-size:0.82rem !important; transition:background 0.2s;
}
.dh-nav-cta:hover { background:var(--accent-dark) !important; color:#fff !important; }
.dh-nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:4px; }
.dh-nav-toggle span {
  display:block; width:24px; height:2px; background:#fff;
  margin:5px 0; transition:all 0.3s;
}

/* ── BREADCRUMBS ────────────────────────────────────────────── */
.dh-breadcrumbs {
  background:var(--navy);
  border-bottom:1px solid rgba(255,219,112,0.12);
  padding:0.6rem 0;
}
.dh-breadcrumbs-inner {
  max-width:1200px; margin:0 auto;
  padding:0 clamp(1.25rem,4vw,3rem);
  font-size:0.75rem; color:rgba(255,255,255,0.55);
}
.dh-breadcrumbs-inner a { color:rgba(255,219,112,0.8); transition:color 0.2s; }
.dh-breadcrumbs-inner a:hover { color:var(--accent); }
.dh-breadcrumbs-inner span.sep { margin:0 0.4rem; }

/* ── PAGE HEADER (blog index / archives) ────────────────────── */
.dh-page-header {
  background:var(--navy);
  padding:3.5rem 0 3rem;
  position:relative; overflow:hidden;
}
.dh-page-header::before {
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(circle, var(--accent-faint) 1px, transparent 1px);
  background-size:40px 40px; pointer-events:none;
}
.dh-page-header-inner { position:relative; z-index:1; }
.dh-page-eyebrow {
  font-size:0.65rem; font-weight:700; letter-spacing:0.2em;
  text-transform:uppercase; color:var(--accent); margin-bottom:0.75rem;
}
.dh-page-title {
  font-family:var(--font-display); font-weight:900;
  font-size:clamp(1.8rem,4vw,3rem); color:#fff;
  letter-spacing:-0.03em; line-height:1.08;
  margin-bottom:0.75rem;
}
.dh-page-title em { font-style:normal; color:var(--accent); }
.dh-page-desc { color:rgba(255,255,255,0.65); font-size:1rem; max-width:560px; }

/* ── MAIN CONTENT AREA ──────────────────────────────────────── */
.dh-main { padding:3rem 0 4rem; }

/* Two-column: content + sidebar */
.dh-content-wrap {
  display:grid;
  grid-template-columns:1fr 320px;
  gap:3rem;
  align-items:start;
}

/* Full-width (single posts) */
.dh-content-wrap.dh-full-width {
  grid-template-columns:1fr;
  max-width:820px;
  margin:0 auto;
}

/* ── BLOG INDEX - POST CARDS ────────────────────────────────── */
.dh-posts { display:flex; flex-direction:column; gap:2rem; }

.dh-card {
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:box-shadow 0.25s, transform 0.25s;
}
.dh-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }

.dh-card-thumb a { display:block; overflow:hidden; }
.dh-card-thumb img {
  width:100%; aspect-ratio:16/9; object-fit:cover;
  transition:transform 0.4s;
}
.dh-card:hover .dh-card-thumb img { transform:scale(1.03); }

.dh-card-body { padding:1.5rem; }

.dh-card-meta {
  display:flex; align-items:center; gap:1rem; flex-wrap:wrap;
  font-size:0.72rem; color:var(--muted); margin-bottom:0.75rem;
}
.dh-card-cat {
  background:var(--navy); color:var(--accent);
  font-weight:700; font-size:0.65rem; letter-spacing:0.1em;
  text-transform:uppercase; padding:0.2rem 0.6rem; border-radius:3px;
}
.dh-card-cat:hover { background:var(--accent); color:var(--on-accent); }

.dh-card-title {
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(1.1rem,2vw,1.35rem); color:var(--navy);
  line-height:1.2; letter-spacing:-0.02em; margin-bottom:0.75rem;
}
.dh-card-title a { transition:color 0.2s; }
.dh-card-title a:hover { color:var(--accent-dark); }

.dh-card-excerpt { font-size:0.9rem; color:var(--muted); line-height:1.65; margin-bottom:1.25rem; }

.dh-read-more {
  display:inline-flex; align-items:center; gap:0.4rem;
  font-size:0.82rem; font-weight:700; color:var(--navy);
  border-bottom:2px solid var(--accent); padding-bottom:1px;
  transition:color 0.2s, border-color 0.2s;
}
.dh-read-more:hover { color:var(--accent-dark); border-color:var(--accent-dark); }
.dh-read-more svg { width:14px; height:14px; flex-shrink:0; }

/* Sticky / featured post gets larger treatment */
.dh-card.dh-card-featured .dh-card-title { font-size:clamp(1.3rem,2.5vw,1.65rem); }
.dh-card.dh-card-featured .dh-card-excerpt { font-size:0.95rem; }

/* ── PAGINATION ─────────────────────────────────────────────── */
.dh-pagination {
  display:flex; align-items:center; justify-content:center;
  gap:0.5rem; margin-top:2.5rem;
  overflow-x:auto;
}
.dh-pagination a, .dh-pagination span {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:4px;
  font-size:0.85rem; font-weight:600;
  border:1px solid var(--card-border);
  transition:all 0.2s;
}
.dh-pagination a { color:var(--navy); background:var(--card-bg); }
.dh-pagination a:hover { background:var(--navy); color:var(--accent); border-color:var(--navy); }
.dh-pagination span.current { background:var(--navy); color:var(--accent); border-color:var(--navy); }

/* ── SIDEBAR ─────────────────────────────────────────────────── */
.dh-sidebar { position:static; }

.dh-widget {
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:1.5rem;
  margin-bottom:1.75rem;
  box-shadow:var(--shadow);
}
.dh-widget-title {
  font-family:var(--font-display); font-weight:800;
  font-size:0.95rem; color:var(--navy);
  letter-spacing:-0.01em; margin-bottom:1rem;
  padding-bottom:0.6rem;
  border-bottom:2px solid var(--accent);
  text-transform:uppercase; letter-spacing:0.05em;
}

/* Search */
.dh-search-form { display:flex; gap:0; }
.dh-search-input {
  flex:1; padding:0.55rem 0.85rem;
  border:1px solid var(--card-border); border-right:none;
  border-radius:4px 0 0 4px; font-family:var(--font-body);
  font-size:0.85rem; color:var(--navy);
  background:#fff; outline:none;
  transition:border-color 0.2s;
}
.dh-search-input:focus { border-color:var(--accent-dark); }
.dh-search-btn {
  background:var(--navy); color:var(--accent);
  border:1px solid var(--navy); border-radius:0 4px 4px 0;
  padding:0 0.85rem; cursor:pointer; font-weight:700;
  font-size:0.85rem; transition:background 0.2s;
}
.dh-search-btn:hover { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }

/* Recent posts */
.dh-recent-posts { list-style:none; display:flex; flex-direction:column; gap:1rem; }
.dh-recent-posts li { display:flex; gap:0.75rem; align-items:flex-start; }
.dh-recent-thumb { width:64px; height:48px; flex-shrink:0; border-radius:4px; overflow:hidden; }
.dh-recent-thumb img { width:100%; height:100%; object-fit:cover; }
.dh-recent-text { flex:1; }
.dh-recent-title {
  font-size:0.82rem; font-weight:600; color:var(--navy);
  line-height:1.35; display:block; margin-bottom:0.2rem;
  transition:color 0.2s;
}
.dh-recent-title:hover { color:var(--accent-dark); }
.dh-recent-date { font-size:0.7rem; color:var(--muted); }

/* Categories */
.dh-cat-list { list-style:none; display:flex; flex-direction:column; gap:0.5rem; }
.dh-cat-list li a {
  display:flex; justify-content:space-between; align-items:center;
  font-size:0.85rem; color:var(--navy); padding:0.35rem 0;
  border-bottom:1px solid var(--card-border); transition:color 0.2s;
}
.dh-cat-list li a:hover { color:var(--accent-dark); }
.dh-cat-count {
  background:var(--navy); color:var(--accent);
  font-size:0.65rem; font-weight:700;
  padding:0.15rem 0.45rem; border-radius:20px;
}

/* CTA widget */
.dh-widget-cta {
  background:var(--navy);
  border-color:rgba(255,219,112,0.2);
  text-align:center;
}
.dh-widget-cta .dh-widget-title { color:var(--accent); border-color:rgba(255,219,112,0.3); }
.dh-widget-cta p { color:rgba(255,255,255,0.75); font-size:0.85rem; margin-bottom:1.25rem; line-height:1.55; }
.dh-widget-cta-btn {
  display:block; background:var(--accent); color:var(--on-accent);
  font-weight:700; font-size:0.85rem; padding:0.65rem 1.25rem;
  border-radius:4px; transition:background 0.2s;
  text-align:center;
}
.dh-widget-cta-btn:hover { background:var(--accent-dark); color:#fff; }

/* ── SINGLE POST ─────────────────────────────────────────────── */
.dh-post-header {
  background:var(--navy);
  padding:3.5rem 0 3rem;
  position:relative; overflow:hidden;
}
.dh-post-header::before {
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(circle, var(--accent-faint) 1px, transparent 1px);
  background-size:40px 40px; pointer-events:none;
}
.dh-post-header-inner { position:relative; z-index:1; max-width:820px; }
.dh-post-cats { display:flex; gap:0.5rem; flex-wrap:wrap; margin-bottom:1rem; }
.dh-post-cat-badge {
  background:rgba(255,219,112,0.15); color:var(--accent);
  font-size:0.65rem; font-weight:700; letter-spacing:0.12em;
  text-transform:uppercase; padding:0.25rem 0.65rem; border-radius:3px;
  border:1px solid rgba(255,219,112,0.25); transition:background 0.2s;
}
.dh-post-cat-badge:hover { background:var(--accent); color:var(--on-accent); }
.dh-post-title {
  font-family:var(--font-display); font-weight:900;
  font-size:clamp(1.75rem,4vw,2.75rem); color:#fff;
  letter-spacing:-0.03em; line-height:1.1; margin-bottom:1.25rem;
}
.dh-post-meta {
  display:flex; gap:1.25rem; flex-wrap:wrap;
  font-size:0.78rem; color:rgba(255,255,255,0.55); align-items:center;
}
.dh-post-meta-author { color:rgba(255,219,112,0.85); font-weight:600; }
.dh-post-meta span { display:flex; align-items:center; gap:0.35rem; }

/* Featured image */
.dh-post-featured-img {
  max-width:820px; margin:0 auto;
  padding:0 clamp(1.25rem,4vw,3rem);
  margin-top:-1.5rem;
  position:relative; z-index:2;
}
.dh-post-featured-img img {
  width:100%; border-radius:var(--radius);
  box-shadow:0 8px 32px rgba(26,26,62,0.18);
}

/* Article body */
.dh-post-body {
  max-width:820px; margin:0 auto;
  padding:0 clamp(1.25rem,4vw,3rem);
}
.dh-post-content { padding:2.5rem 0; }

.dh-post-content h1,
.dh-post-content h2,
.dh-post-content h3,
.dh-post-content h4 {
  font-family:var(--font-display); font-weight:800;
  color:var(--navy); letter-spacing:-0.02em; line-height:1.2;
  margin-top:2.25rem; margin-bottom:0.85rem;
}
.dh-post-content h2 { font-size:clamp(1.35rem,2.5vw,1.75rem); }
.dh-post-content h3 { font-size:clamp(1.1rem,2vw,1.35rem); }
.dh-post-content h4 { font-size:1rem; }
.dh-post-content p { margin-bottom:1.35rem; font-size:1rem; line-height:1.75; }
.dh-post-content ul, .dh-post-content ol { margin:0 0 1.35rem 1.5rem; }
.dh-post-content li { margin-bottom:0.5rem; line-height:1.65; }
.dh-post-content a { color:var(--accent-dark); border-bottom:1px solid var(--accent); transition:color 0.2s; }
.dh-post-content a:hover { color:var(--navy); }
.dh-post-content strong { font-weight:700; color:var(--navy); }
.dh-post-content em { font-style:italic; }
.dh-post-content blockquote {
  border-left:4px solid var(--accent); margin:2rem 0;
  padding:1rem 1.5rem; background:var(--card-bg);
  border-radius:0 var(--radius) var(--radius) 0;
}
.dh-post-content blockquote p { margin-bottom:0; font-size:1.05rem; font-style:italic; color:var(--navy); }
.dh-post-content code {
  background:var(--card-bg); border:1px solid var(--card-border);
  padding:0.1em 0.4em; border-radius:3px;
  font-size:0.88em; font-family:monospace;
}
.dh-post-content pre {
  background:var(--navy); color:var(--off-white);
  padding:1.5rem; border-radius:var(--radius); overflow-x:auto;
  margin-bottom:1.35rem;
}
.dh-post-content pre code { background:none; border:none; padding:0; color:inherit; font-size:0.85rem; }
.dh-post-content img { border-radius:var(--radius); margin:1.5rem 0; }
.dh-post-content table { width:100%; border-collapse:collapse; margin-bottom:1.5rem; font-size:0.9rem; }
.dh-post-content th { background:var(--navy); color:var(--accent); padding:0.65rem 1rem; text-align:left; font-weight:700; }
.dh-post-content td { padding:0.6rem 1rem; border-bottom:1px solid var(--card-border); }
.dh-post-content tr:nth-child(even) td { background:var(--card-bg); }

/* Post footer: tags + share */
.dh-post-footer {
  border-top:1px solid var(--card-border); padding-top:1.75rem;
  margin-top:1rem; display:flex; justify-content:space-between;
  align-items:flex-start; flex-wrap:wrap; gap:1rem;
}
.dh-post-tags { display:flex; gap:0.5rem; flex-wrap:wrap; }
.dh-tag {
  background:var(--card-bg); border:1px solid var(--card-border);
  color:var(--muted); font-size:0.72rem; padding:0.25rem 0.65rem;
  border-radius:20px; transition:all 0.2s;
}
.dh-tag:hover { background:var(--navy); color:var(--accent); border-color:var(--navy); }
.dh-post-share { display:flex; align-items:center; gap:0.6rem; }
.dh-share-label { font-size:0.75rem; font-weight:600; color:var(--muted); }
.dh-share-link {
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  background:var(--navy); color:var(--accent);
  font-size:0.75rem; font-weight:700; transition:background 0.2s;
}
.dh-share-link:hover { background:var(--accent); color:var(--on-accent); }

/* Author box */
.dh-author-box {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--radius); padding:1.75rem;
  margin-top:2.5rem; display:flex; gap:1.5rem; align-items:flex-start;
  box-shadow:var(--shadow);
}
.dh-author-avatar { width:72px; height:72px; border-radius:50%; flex-shrink:0; object-fit:cover; border:3px solid var(--accent); }
.dh-author-name { font-family:var(--font-display); font-weight:800; font-size:1rem; color:var(--navy); margin-bottom:0.25rem; }
.dh-author-role { font-size:0.75rem; color:var(--accent-dark); font-weight:600; margin-bottom:0.5rem; }
.dh-author-bio { font-size:0.85rem; color:var(--muted); line-height:1.6; }

/* Related posts */
.dh-related { padding:2.5rem 0 3rem; background:var(--off-white); border-top:1px solid var(--card-border); }
.dh-related-title {
  font-family:var(--font-display); font-weight:900;
  font-size:1.35rem; color:var(--navy); letter-spacing:-0.02em;
  margin-bottom:1.5rem;
}
.dh-related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.dh-related-card {
  background:#fff; border:1px solid var(--card-border);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:box-shadow 0.25s, transform 0.25s;
}
.dh-related-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.dh-related-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.dh-related-card-body { padding:1rem; }
.dh-related-card-title {
  font-family:var(--font-display); font-weight:700;
  font-size:0.9rem; color:var(--navy); line-height:1.3;
  transition:color 0.2s;
}
.dh-related-card-title:hover { color:var(--accent-dark); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.dh-footer {
  background:var(--navy);
  border-top:3px solid var(--accent);
  padding:3rem 0 1.5rem;
}
.dh-footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:2.5rem; margin-bottom:2.5rem;
}
.dh-footer-logo { display:flex; align-items:center; gap:0; margin-bottom:1rem; }
.dh-footer-emblem { height:52px; width:52px; border-radius:10px; object-fit:cover; margin-right:-8px; }
.dh-footer-wordmark {
  font-family:var(--font-display); font-weight:900;
  font-size:1.35rem; color:#fff; letter-spacing:-0.04em;
  line-height:1; margin-top:4px; padding-left:2px;
}
.dh-footer-wordmark strong { color:var(--accent); }
.dh-footer-desc { font-size:0.85rem; color:rgba(255,255,255,0.55); line-height:1.65; margin-bottom:1.25rem; }
.dh-footer-col-title {
  font-size:0.7rem; font-weight:700; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--accent); margin-bottom:1rem;
}
.dh-footer-links { list-style:none; display:flex; flex-direction:column; gap:0.5rem; }
.dh-footer-links a { font-size:0.83rem; color:rgba(255,255,255,0.6); transition:color 0.2s; }
.dh-footer-links a:hover { color:var(--accent); }
.dh-footer-bottom {
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:1.25rem; display:flex;
  justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.75rem;
}
.dh-footer-copy { font-size:0.75rem; color:rgba(255,255,255,0.4); }
.dh-footer-legal { display:flex; gap:1.25rem; }
.dh-footer-legal a { font-size:0.75rem; color:rgba(255,255,255,0.4); transition:color 0.2s; }
.dh-footer-legal a:hover { color:var(--accent); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width:1024px) {
  .dh-content-wrap { grid-template-columns:1fr 280px; gap:2rem; }
  .dh-footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
  .dh-related-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:768px) {
  .dh-nav-links { display:none; flex-direction:column; position:absolute; top:80px; left:0; right:0; background:var(--navy); padding:1rem clamp(1.25rem,4vw,3rem); gap:1rem; border-top:1px solid rgba(255,219,112,0.15); }
  .dh-nav-links.open { display:flex; }
  .dh-nav-toggle { display:block; }
  .dh-content-wrap { grid-template-columns:1fr; }
  .dh-sidebar { position:static !important; }
.dh-sidebar-static { position:static !important; top:auto !important; }
  .dh-footer-grid { grid-template-columns:1fr; }
  .dh-related-grid { grid-template-columns:1fr; }
  .dh-author-box { flex-direction:column; }
  .dh-post-footer { flex-direction:column; }
}

@media (max-width:480px) {
  .dh-related-grid { grid-template-columns:1fr; }
  .dh-post-meta { flex-direction:column; gap:0.5rem; align-items:flex-start; }
}

/* ── PAGINATION ──────────────────────────────────────────── */
.dh-pagination { margin:2.5rem 0 0; overflow-x:auto; }
.dh-pagination .page-numbers {
  display:inline-flex !important;
  align-items:center !important;
  gap:0.4rem !important;
  list-style:none !important;
  margin:0 !important; padding:0 !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}
.dh-pagination .page-numbers li {
  margin:0 !important; padding:0 !important;
  list-style:none !important;
  display:flex !important;
}
.dh-pagination .page-numbers li::before,
.dh-pagination .page-numbers li::marker {
  display:none !important; content:none !important;
}
.dh-pagination .page-numbers a,
.dh-pagination .page-numbers span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:36px;
  height:36px;
  padding:0 0.5rem;
  border:1px solid var(--card-border);
  border-radius:6px;
  font-size:0.85rem;
  font-weight:600;
  color:var(--navy);
  text-decoration:none;
  background:var(--card-bg);
  transition:background 0.2s, color 0.2s, border-color 0.2s;
}
.dh-pagination .page-numbers a:hover {
  background:var(--navy);
  color:var(--accent);
  border-color:var(--navy);
}
.dh-pagination .page-numbers .current {
  background:var(--navy);
  color:var(--accent);
  border-color:var(--navy);
}
.dh-pagination .page-numbers .dots {
  border:none;
  background:none;
  color:var(--muted);
}

/* ── LAYOUT: TWO-COLUMN BLOG ─────────────────────────────── */
.dh-blog-layout {
  display:grid;
  grid-template-columns:1fr 320px;
  gap:3rem;
  padding:3rem 0 4rem;
  align-items:start;
}
@media (max-width:900px) {
  .dh-blog-layout { grid-template-columns:1fr; gap:2.5rem; }
}

/* ── POST GRID ───────────────────────────────────────────── */
.dh-post-grid { display:flex; flex-direction:column; gap:2rem; }

.dh-post-card {
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:box-shadow 0.25s, transform 0.25s;
}
.dh-post-card:hover {
  box-shadow:var(--shadow-hover);
  transform:translateY(-2px);
}
.dh-post-card .dh-card-thumb { display:block; overflow:hidden; aspect-ratio:16/9; }
.dh-post-card .dh-card-thumb img {
  width:100%; height:100%; object-fit:cover;
  display:block; transition:transform 0.35s ease;
}
.dh-post-card:hover .dh-card-thumb img { transform:scale(1.03); }

/* ── POST NAV (single post) ──────────────────────────────── */
.dh-post-nav {
  display:flex;
  justify-content:space-between;
  gap:1.5rem;
  padding:2rem 0;
  border-top:1px solid var(--card-border);
  margin-top:2.5rem;
  flex-wrap:wrap;
}
.dh-post-nav-link {
  display:flex;
  flex-direction:column;
  gap:0.25rem;
  max-width:46%;
  text-decoration:none;
}
.dh-post-nav-next { text-align:right; margin-left:auto; }
.dh-post-nav-label {
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--muted);
}
.dh-post-nav-title {
  font-size:0.9rem;
  font-weight:600;
  color:var(--navy);
  line-height:1.4;
  transition:color 0.2s;
}
.dh-post-nav-link:hover .dh-post-nav-title { color:var(--accent-dark); }

/* ── SINGLE WRAP ─────────────────────────────────────────── */
.dh-single-wrap {
  max-width:820px;
  margin:0 auto;
  padding:2.5rem 0 4rem;
}

/* ── POST HERO IMAGE ─────────────────────────────────────── */
.dh-post-hero {
  margin:1.75rem 0 2rem;
  border-radius:var(--radius);
  overflow:hidden;
}
.dh-post-hero img { width:100%; display:block; border-radius:var(--radius); }

/* ── RELATED POST BODY ───────────────────────────────────── */
.dh-related-body { padding:1rem 1.25rem 1.25rem; }
.dh-related-body time { font-size:0.78rem; color:var(--muted); }

/* ── NO POSTS ────────────────────────────────────────────── */
.dh-no-posts {
  font-size:1rem; color:var(--muted); padding:2rem 0;
}

/* ── FOOTER: SIMPLIFIED BLOG FOOTER ─────────────────────── */
.dh-footer {
  background:var(--navy);
  color:#fff;
  padding:2.5rem 0;
  border-top:3px solid var(--accent);
}
.dh-footer-inner {
  max-width:1200px;
  margin:0 auto;
  padding:0 clamp(1.25rem,4vw,3rem);
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1.5rem;
}
.dh-footer-brand { display:flex; flex-direction:column; align-items:flex-start; gap:1rem; }
.dh-footer-brand .dh-nav-emblem { border-radius:14px; }
.dh-footer-brand .dh-nav-tagline { white-space:nowrap; }
.dh-footer-tagline {
  font-family:var(--font-display);
  font-weight:700;
  font-size:0.95rem;
  color:var(--accent);
  letter-spacing:-0.01em;
  margin:0;
}
.dh-footer-brand .dh-footer-copy {
  font-size:0.72rem;
  color:rgba(255,255,255,0.4);
  margin:0;
  display:block;
  width:100%;
}
.dh-footer-nav ul {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem 1.25rem;
  margin:0; padding:0;
}
.dh-footer-nav a {
  font-size:0.8rem;
  color:rgba(255,255,255,0.6);
  text-decoration:none;
  transition:color 0.2s;
}
.dh-footer-nav a:hover { color:var(--accent); }

/* ── WIDGET: LIST & BUTTON ───────────────────────────────── */
/* ── SIDEBAR SEARCH FORM ─────────────────────────────────── */
.dh-search-form {
  display:flex;
  gap:0;
  border:1px solid var(--card-border);
  border-radius:6px;
  overflow:hidden;
}
.dh-search-input {
  flex:1;
  border:none;
  outline:none;
  padding:0.6rem 0.75rem;
  font-family:var(--font-body);
  font-size:0.85rem;
  color:var(--body-text);
  background:#fff;
}
.dh-search-btn {
  background:var(--navy);
  border:none;
  cursor:pointer;
  padding:0 0.75rem;
  color:var(--accent);
  display:flex;
  align-items:center;
  transition:background 0.2s;
}
.dh-search-btn:hover { background:var(--accent); color:var(--on-accent); }

.dh-widget-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.5rem; }
.dh-widget-list a { font-size:0.85rem; color:var(--body-text); text-decoration:none; transition:color 0.2s; }
.dh-widget-list a:hover { color:var(--accent-dark); }
.dh-widget-list span { color:var(--muted); font-size:0.78rem; }

.dh-btn {
  display:inline-block;
  background:var(--accent);
  color:var(--on-accent);
  font-family:var(--font-display);
  font-weight:700;
  font-size:0.85rem;
  padding:0.65rem 1.25rem;
  border-radius:6px;
  text-decoration:none;
  transition:background 0.2s, transform 0.2s;
}
.dh-btn:hover { background:var(--accent-dark); color:#fff; transform:translateY(-1px); }

/* ── NAV MOBILE (is-open class from nav.js) ──────────────── */
@media (max-width:768px) {
  .dh-nav-links.is-open { display:flex; }
}
