/*
Theme Name: Decor Haven
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A clean, Pinterest-optimized WordPress theme for home decor blogs. Inspired by TasteCraft's editorial card-based layout. Centred logo header, sticky nav bar, hero post, category tiles, post grid, newsletter, and 4-column footer. Built for Core Web Vitals and display ad networks.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: decor-haven
Tags: blog, home-decor, custom-menu, featured-images, two-columns, right-sidebar, custom-logo, translation-ready
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --dh-bg:          #FBF8F5;
  --dh-surface:     #FFFFFF;
  --dh-accent:      #B5603B;
  --dh-accent-dark: #8E4526;
  --dh-text:        #2A2118;
  --dh-text-light:  #6B6058;
  --dh-border:      #E8E0D8;
  --dh-shadow:      0 4px 20px rgba(42,33,24,0.08);
  --dh-shadow-hover:0 10px 32px rgba(142,69,38,0.16);
  --dh-radius:      14px;
  --dh-radius-sm:   8px;
  --dh-font-head:   "Playfair Display", Georgia, "Times New Roman", serif;
  --dh-font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dh-container:   1200px;
  --dh-gap:         26px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dh-bg);
  color: var(--dh-text);
  font-family: var(--dh-font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dh-accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dh-accent); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--dh-font-head);
  color: var(--dh-text);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem,5vw,3rem); }
h2 { font-size: clamp(1.5rem,3.5vw,2.2rem); }
h3 { font-size: clamp(1.15rem,2vw,1.5rem); }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }
blockquote {
  border-left: 4px solid var(--dh-accent);
  margin: 1.5em 0; padding: .5em 1.4em;
  background: var(--dh-surface);
  border-radius: 0 var(--dh-radius-sm) var(--dh-radius-sm) 0;
  font-style: italic;
}
:focus-visible { outline: 3px solid var(--dh-accent); outline-offset: 2px; }

/* ==========================================================================
   3. Layout Helpers
   ========================================================================== */
.dh-container { width: 100%; max-width: var(--dh-container); margin: 0 auto; padding: 0 20px; }
.dh-section    { padding: 52px 0; }
.dh-grid       { display: grid; gap: var(--dh-gap); }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--dh-accent-dark);
  color: #fff; padding: 10px 18px; z-index: 1000; border-radius: 0 0 var(--dh-radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Two-column content+sidebar layout */
.dh-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 44px; align-items: start; }
.dh-layout.dh-no-sidebar { grid-template-columns: minmax(0,1fr); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.dh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dh-accent); color: #fff; font-weight: 600;
  font-family: var(--dh-font-body); font-size: .95rem;
  padding: 12px 24px; border: 2px solid var(--dh-accent); border-radius: var(--dh-radius-sm);
  cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.dh-btn:hover { background: var(--dh-accent-dark); color: #fff; border-color: var(--dh-accent-dark); transform: translateY(-2px); box-shadow: var(--dh-shadow-hover); }
.dh-btn--outline { background: transparent; color: var(--dh-accent-dark); }
.dh-btn--outline:hover { background: var(--dh-accent); color: #fff; border-color: var(--dh-accent); }
.dh-btn--pinterest { background: #E60023; border-color: #E60023; }
.dh-btn--pinterest:hover { background: #ad001a; border-color: #ad001a; }
.dh-btn--sm { font-size: .82rem; padding: 8px 16px; }

/* ==========================================================================
   5. Header  — centred logo on top, sticky nav bar below
   ========================================================================== */
.dh-header {
  background: var(--dh-surface);
  border-bottom: 1px solid var(--dh-border);
  position: sticky; top: 0; z-index: 200;
}
.dh-header.is-stuck { box-shadow: var(--dh-shadow); }

/* Top row: logo centred */
.dh-header__top {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 20px 14px;
}
.dh-branding { text-align: center; }
.dh-branding .custom-logo-link { display: inline-block; }
.dh-branding img { max-height: 60px; width: auto; }
.dh-site-title { font-size: 2rem; margin: 0; line-height: 1; }
.dh-site-title a { color: var(--dh-text); }
.dh-site-desc { font-size: .8rem; color: var(--dh-text-light); margin: 4px 0 0; }

/* Nav bar row */
.dh-header__bar {
  border-top: 1px solid var(--dh-border);
  display: flex; align-items: center; justify-content: center;
  gap: 18px; min-height: 50px; padding: 0 20px;
}

.dh-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.dh-nav li { position: relative; }
.dh-nav a {
  color: var(--dh-text); font-weight: 600; font-size: .9rem;
  padding: 14px 0; display: inline-block; position: relative; white-space: nowrap;
}
.dh-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  height: 2px; width: 0; background: var(--dh-accent); transition: width .25s;
}
.dh-nav a:hover::after,
.dh-nav .current-menu-item > a::after,
.dh-nav .current-menu-ancestor > a::after { width: 100%; }

/* Dropdown */
.dh-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--dh-surface); box-shadow: var(--dh-shadow);
  border-radius: var(--dh-radius-sm); min-width: 190px;
  padding: 6px 0; display: none; flex-direction: column; z-index: 300;
  border: 1px solid var(--dh-border);
}
/* Bridge gap so mouse can move into dropdown */
.dh-nav li::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 10px;
}
.dh-nav li:hover > .sub-menu { display: flex; }
.dh-nav .sub-menu a { padding: 9px 18px; display: block; font-weight: 500; white-space: nowrap; }
.dh-nav .sub-menu a::after { display: none; }
.dh-nav .sub-menu a:hover { color: var(--dh-accent); background: var(--dh-bg); }

/* Header actions (search + mobile toggle) */
.dh-header__actions { display: flex; align-items: center; gap: 10px; position: absolute; right: 20px; }
.dh-icon-btn {
  background: none; border: none; cursor: pointer; color: var(--dh-text);
  display: inline-flex; padding: 8px; border-radius: 50%; transition: background .2s, color .2s;
}
.dh-icon-btn:hover { background: var(--dh-bg); color: var(--dh-accent-dark); }
.dh-icon-btn svg { width: 20px; height: 20px; }

/* Search overlay */
.dh-search-overlay {
  position: fixed; inset: 0; background: rgba(42,33,24,.55);
  display: none; align-items: flex-start; justify-content: center;
  z-index: 400; padding-top: 14vh;
}
.dh-search-overlay.is-open { display: flex; }
.dh-search-overlay__box {
  width: min(600px, 90%); background: var(--dh-surface);
  padding: 28px; border-radius: var(--dh-radius);
  box-shadow: var(--dh-shadow);
}
.dh-search-overlay input[type="search"] {
  width: 100%; font-size: 1.15rem; padding: 14px 16px;
  border: 2px solid var(--dh-border); border-radius: var(--dh-radius-sm);
  font-family: var(--dh-font-body);
}
.dh-search-overlay input[type="search"]:focus { border-color: var(--dh-accent); outline: none; }

/* Mobile menu */
.dh-menu-toggle { display: none; }
.dh-mobile-nav  { display: none; }

/* ==========================================================================
   6. Hero (latest / featured post)
   ========================================================================== */
.dh-hero {
  position: relative; border-radius: var(--dh-radius); overflow: hidden;
  margin: 28px 0; min-height: 440px; display: flex; align-items: flex-end;
  background: var(--dh-accent-dark);
}
.dh-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dh-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,33,24,.84) 0%, rgba(42,33,24,.2) 55%, transparent 100%);
}
.dh-hero__content { position: relative; padding: 40px; max-width: 620px; color: #fff; }
.dh-hero__content h1, .dh-hero__content p { color: #fff; }
.dh-hero__cat {
  display: inline-block; background: var(--dh-accent); color: #fff;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 13px; border-radius: 50px; margin-bottom: 14px;
}
.dh-hero__desc { font-size: 1.02rem; opacity: .95; margin-bottom: 22px; }

/* ==========================================================================
   7. Section headings
   ========================================================================== */
.dh-section__head { text-align: center; margin-bottom: 34px; }
.dh-section__head h2 { margin-bottom: 6px; }
.dh-section__head p { color: var(--dh-text-light); margin: 0; font-size: .95rem; }

/* ==========================================================================
   8. Post Cards
   ========================================================================== */
.dh-cards { grid-template-columns: repeat(3, 1fr); }

.dh-card {
  background: var(--dh-surface);
  border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.dh-card:hover { transform: translateY(-4px); box-shadow: var(--dh-shadow-hover); }

.dh-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dh-card:hover .dh-card__media img { transform: scale(1.06); }
.dh-card__media a { display: block; height: 100%; }

.dh-card__cat {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.92); color: var(--dh-accent-dark);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 50px;
}

.dh-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.dh-card__title { font-size: 1.15rem; margin: 0 0 8px; }
.dh-card__title a { color: var(--dh-text); }
.dh-card__title a:hover { color: var(--dh-accent-dark); }
.dh-card__excerpt { font-size: .9rem; color: var(--dh-text-light); margin: 0 0 12px; }
.dh-card__meta {
  font-size: .8rem; color: var(--dh-text-light);
  display: flex; gap: 12px; margin-top: auto;
}
.dh-card__placeholder {
  width: 100%; height: 100%; background: #EDE5DB;
}

/* ==========================================================================
   9. Category Tiles
   ========================================================================== */
.dh-cats { grid-template-columns: repeat(3, 1fr); }
.dh-cat-tile {
  position: relative; border-radius: var(--dh-radius); overflow: hidden;
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: var(--dh-accent-dark); text-decoration: none;
}
.dh-cat-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .78; transition: transform .4s, opacity .3s;
}
.dh-cat-tile:hover img { transform: scale(1.08); opacity: .62; }
.dh-cat-tile span {
  position: relative; color: #fff; font-family: var(--dh-font-head); font-weight: 700;
  font-size: 1.3rem; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.45); padding: 0 10px;
}

/* ==========================================================================
   10. About card
   ========================================================================== */
.dh-about {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center;
  background: var(--dh-surface); border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius); padding: 36px;
}
.dh-about__img { border-radius: 50%; width: 180px; height: 180px; object-fit: cover; }
.dh-about h2 { margin-top: 0; }

/* ==========================================================================
   11. Newsletter banner
   ========================================================================== */
.dh-newsletter {
  background: linear-gradient(135deg, var(--dh-accent) 0%, var(--dh-accent-dark) 100%);
  color: #fff; border-radius: var(--dh-radius); padding: 52px 40px; text-align: center;
}
.dh-newsletter h2 { color: #fff; margin-bottom: 8px; }
.dh-newsletter p { color: rgba(255,255,255,.92); max-width: 500px; margin: 0 auto 24px; }
.dh-newsletter form {
  display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center;
}
.dh-newsletter input[type="email"] {
  flex: 1; min-width: 220px; padding: 13px 18px; border: none;
  border-radius: var(--dh-radius-sm); font-family: var(--dh-font-body); font-size: .95rem;
}
.dh-newsletter .dh-btn { background: #fff; color: var(--dh-accent-dark); border-color: #fff; }
.dh-newsletter .dh-btn:hover { background: var(--dh-text); color: #fff; border-color: var(--dh-text); }

/* ==========================================================================
   12. Single post / article
   ========================================================================== */
.dh-article {
  background: var(--dh-surface); border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius); overflow: hidden;
}
.dh-article__hero img { width: 100%; max-height: 520px; object-fit: cover; }
.dh-article__inner { padding: 36px; }
.dh-article__title { margin: 0 0 16px; }
.dh-article__meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  color: var(--dh-text-light); font-size: .88rem;
  padding-bottom: 20px; border-bottom: 1px solid var(--dh-border); margin-bottom: 26px;
}
.dh-article__meta .dh-author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dh-text); }
.dh-article__meta .dh-author img { width: 32px; height: 32px; border-radius: 50%; }

.dh-post-actions { display: flex; gap: 10px; margin: 22px 0; flex-wrap: wrap; }

.dh-content { font-size: 1.05rem; }
.dh-content h2 { margin-top: 1.6em; }
.dh-content h3 { margin-top: 1.4em; }
.dh-content img { border-radius: var(--dh-radius-sm); margin: 1.2em 0; }
.dh-content ul li, .dh-content ol li { margin-bottom: .45em; }

/* Pinterest save block */
.dh-pin {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
  background: var(--dh-surface); border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius); padding: 24px; margin: 32px 0;
}
.dh-pin img { border-radius: var(--dh-radius-sm); aspect-ratio: 2/3; object-fit: cover; width: 100%; }

/* Related posts */
.dh-related { margin-top: 44px; }
.dh-related h2 { text-align: center; margin-bottom: 28px; }

/* ==========================================================================
   13. Sidebar & Widgets
   ========================================================================== */
.dh-sidebar { position: sticky; top: 80px; }
.dh-sidebar .widget {
  background: var(--dh-surface); border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius); padding: 22px; margin-bottom: 24px;
}
.dh-sidebar .widget-title {
  font-size: 1.05rem; margin-top: 0; padding-bottom: 10px;
  border-bottom: 2px solid var(--dh-accent); margin-bottom: 14px;
}
.dh-sidebar ul { list-style: none; padding: 0; margin: 0; }
.dh-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--dh-border); font-size: .9rem; }
.dh-sidebar li:last-child { border-bottom: none; }
.dh-widget-posts a { display: flex; gap: 10px; align-items: center; color: var(--dh-text); }
.dh-widget-posts img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--dh-radius-sm); flex-shrink: 0; }
.dh-widget-posts span { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.dh-author-widget { text-align: center; }
.dh-author-widget img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }

/* Ad slot */
.dh-ad {
  margin: 24px auto; text-align: center; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(232,224,216,.5) 10px, rgba(232,224,216,.5) 20px);
  border: 1px dashed var(--dh-border); border-radius: var(--dh-radius-sm);
}
.dh-ad:empty::before { content: "Advertisement"; color: var(--dh-text-light); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.dh-ad--sidebar { min-height: 250px; }

/* ==========================================================================
   14. Archive / Category / Search
   ========================================================================== */
.dh-archive-banner {
  background: linear-gradient(135deg, var(--dh-accent) 0%, var(--dh-accent-dark) 100%);
  color: #fff; border-radius: var(--dh-radius); padding: 44px 36px; text-align: center; margin: 28px 0;
}
.dh-archive-banner h1 { color: #fff; margin: 0 0 10px; }
.dh-archive-banner p { color: rgba(255,255,255,.9); max-width: 580px; margin: 0 auto; }

/* Pagination */
.dh-pagination { display: flex; justify-content: center; gap: 8px; margin: 36px 0; flex-wrap: wrap; }
.dh-pagination .page-numbers {
  padding: 9px 15px; border: 1px solid var(--dh-border); border-radius: var(--dh-radius-sm);
  background: var(--dh-surface); color: var(--dh-text); font-weight: 600; font-size: .9rem;
}
.dh-pagination .page-numbers.current,
.dh-pagination .page-numbers:hover { background: var(--dh-accent); color: #fff; border-color: var(--dh-accent); }

/* Breadcrumbs */
.dh-breadcrumbs { font-size: .84rem; color: var(--dh-text-light); margin: 16px 0 20px; }
.dh-breadcrumbs a { color: var(--dh-text-light); }
.dh-breadcrumbs a:hover { color: var(--dh-accent-dark); }
.dh-breadcrumbs span[aria-current] { color: var(--dh-text); font-weight: 600; }

/* Load more */
.dh-load-more { text-align: center; margin-top: 36px; }

/* ==========================================================================
   15. Comments
   ========================================================================== */
.dh-comments {
  margin-top: 44px; background: var(--dh-surface); border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius); padding: 32px;
}
.dh-comments ol { list-style: none; padding: 0; margin: 0; }
.dh-comments .children { list-style: none; padding-left: 32px; }
.dh-comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--dh-border); }
.dh-comment .avatar { border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; }
.dh-comment__meta { font-size: .83rem; color: var(--dh-text-light); margin-bottom: 6px; }
.dh-comment__author { font-weight: 700; color: var(--dh-text); }
.dh-comment .reply a { font-size: .8rem; font-weight: 600; }
.dh-comment-form input[type="text"],
.dh-comment-form input[type="email"],
.dh-comment-form input[type="url"],
.dh-comment-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--dh-border);
  border-radius: var(--dh-radius-sm); font-family: var(--dh-font-body); font-size: .95rem; margin-bottom: 12px;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.dh-footer { background: var(--dh-text); color: #c8bfb7; margin-top: 60px; }
.dh-footer a { color: #c8bfb7; }
.dh-footer a:hover { color: var(--dh-accent); }
.dh-footer__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px; padding: 52px 0;
}
.dh-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.dh-footer ul { list-style: none; padding: 0; margin: 0; }
.dh-footer li { padding: 5px 0; font-size: .9rem; }
.dh-footer .dh-footer__desc { font-size: .9rem; line-height: 1.7; }
.dh-footer__newsletter input[type="email"] {
  width: 100%; padding: 11px 14px; border: none; border-radius: var(--dh-radius-sm);
  margin-bottom: 10px; font-family: var(--dh-font-body);
}
.dh-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.dh-footer__bottom .dh-container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .83rem;
}
.dh-footer__bottom nav a { margin-left: 16px; }

/* ==========================================================================
   17. Utilities
   ========================================================================== */
.sticky, .bypostauthor { display: block; }
.alignwide  { width: min(980px,100%); margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter{ display: block; margin-left: auto; margin-right: auto; }
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, .gallery-caption { font-size: .84rem; color: var(--dh-text-light); text-align: center; }

/* ==========================================================================
   18. Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .dh-layout { grid-template-columns: 1fr; }
  .dh-cards, .dh-cats { grid-template-columns: repeat(2, 1fr); }
  .dh-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .dh-sidebar { position: static; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .dh-nav { display: none; }
  .dh-menu-toggle { display: inline-flex; }
  .dh-mobile-nav {
    display: none; position: fixed; top: 0; right: 0; height: 100vh;
    width: min(300px, 82%); background: var(--dh-surface);
    box-shadow: var(--dh-shadow); z-index: 500;
    padding: 72px 22px 22px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s;
  }
  .dh-mobile-nav.is-open { display: block; transform: translateX(0); }
  .dh-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
  .dh-mobile-nav li { border-bottom: 1px solid var(--dh-border); }
  .dh-mobile-nav a { display: block; padding: 13px 4px; color: var(--dh-text); font-weight: 600; }
  .dh-mobile-nav .sub-menu { padding-left: 14px; }
  .dh-mobile-close { position: absolute; top: 18px; right: 18px; }
  .dh-mobile-backdrop { position: fixed; inset: 0; background: rgba(42,33,24,.5); z-index: 450; display: none; }
  .dh-mobile-backdrop.is-open { display: block; }
  .dh-about { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .dh-about__img { margin: 0 auto; }
  .dh-pin { grid-template-columns: 1fr; }
  .dh-pin img { max-width: 200px; margin: 0 auto; }
  .dh-article__inner { padding: 22px; }
  .dh-footer__cols { grid-template-columns: 1fr; }
  .dh-hero__content { padding: 24px; }
  .dh-header__actions { position: relative; right: auto; }
  .dh-header__bar { justify-content: space-between; }
}
@media (max-width: 560px) {
  .dh-cards, .dh-cats { grid-template-columns: 1fr; }
  .dh-hero { min-height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
