/* ═══════════════════════════════════════════════════════════════
   DAAH MOTIVATIONS — app.css
   Black & White. Clean. Editorial. Pinterest-style.
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black:      #0A0A0A;
    --white:      #FFFFFF;
    --off-white:  #F7F7F7;
    --gray-100:   #F0F0F0;
    --gray-200:   #E0E0E0;
    --gray-400:   #999999;
    --gray-600:   #555555;
    --gray-800:   #222222;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-mono:    'Space Mono', monospace;
    --radius:       2px;
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:       0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════
   LOADER
══════════════════════════════════════ */
.dah-loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.dah-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.dah-loader-inner {
    display: flex;
    gap: 0;
    overflow: hidden;
}
.dah-loader-inner span {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.05em;
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: letterUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes letterUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   SCROLL PROGRESS
══════════════════════════════════════ */
.dah-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: var(--black);
    z-index: 9998;
    transition: width 0.1s linear;
    width: 0;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.dah-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.dah-header.scrolled { box-shadow: var(--shadow); }

.dah-header-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--black);
    display: flex;
    align-items: center;
}
.dah-header-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.dah-nav { display: flex; align-items: center; gap: 1.75rem; }
.dah-nav a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-600);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}
.dah-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--black);
    transition: width var(--transition);
}
.dah-nav a:hover,
.dah-nav a.active { color: var(--black); }
.dah-nav a:hover::after,
.dah-nav a.active::after { width: 100%; }

.dah-header-actions { display: flex; align-items: center; gap: 0.75rem; }

.dah-search-btn {
    background: none; border: none;
    color: var(--gray-600);
    display: flex; align-items: center;
    padding: 6px;
    transition: color var(--transition);
}
.dah-search-btn:hover { color: var(--black); }

.dah-login-btn {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--white); background: var(--black);
    padding: 8px 18px;
    border: 1px solid var(--black);
    transition: all var(--transition);
}
.dah-login-btn:hover { background: var(--white); color: var(--black); }

.dah-dashboard-btn {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--black);
    border: 1px solid var(--gray-200);
    padding: 7px 14px;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: all var(--transition);
}
.dah-dashboard-btn:hover { border-color: var(--black); }

.dah-menu-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; padding: 4px;
}
.dah-menu-toggle span {
    display: block; width: 22px; height: 1.5px;
    background: var(--black);
    transition: all var(--transition);
}

/* ══════════════════════════════════════
   SEARCH OVERLAY
══════════════════════════════════════ */
.dah-search-overlay {
    position: fixed; inset: 0;
    background: var(--white);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.35s ease;
}
.dah-search-overlay.active { opacity: 1; visibility: visible; }
.dah-search-inner { width: 90%; max-width: 680px; }
.dah-search-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: none; border: none; color: var(--black); font-size: 1.5rem;
}
.dah-search-form {
    display: flex;
    border-bottom: 2px solid var(--black);
    padding-bottom: 0.75rem;
}
.dah-search-form input {
    flex: 1; border: none; outline: none;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: var(--black); background: transparent;
}
.dah-search-form input::placeholder { color: var(--gray-400); }
.dah-search-form button { background: none; border: none; color: var(--black); padding: 0 1rem; }
.dah-search-hint { margin-top: 0.75rem; font-size: 0.78rem; color: var(--gray-400); }

/* ══════════════════════════════════════
   HERO — CINEMATIC SLIDER
══════════════════════════════════════ */
.dah-hero {
    margin-top: 64px;
    position: relative;
    height: 75vh;
    min-height: 480px;
    max-height: 700px;
    overflow: hidden;
    background: var(--black);
}
.dah-hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.dah-hero-slide.active { opacity: 1; }

.dah-hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    transform: scale(1.04);
    transition: transform 8s ease, opacity 1.2s ease;
}
.dah-hero-slide.active .dah-hero-img {
    transform: scale(1);
    opacity: 0.45;
}

.dah-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 3rem 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.dah-hero-category {
    display: inline-block;
    font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 3px 10px;
    margin-bottom: 0.75rem;
}

/* HERO TITLE — scaled down significantly */
.dah-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
    font-weight: 400;
    color: var(--white);
    line-height: 1.25;
    max-width: 650px;
    margin-bottom: 1rem;
    font-style: italic;
}

.dah-hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.dah-hero-meta span,
.dah-hero-meta a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
}
.dah-hero-meta a:hover { color: var(--white); }
.dah-post-hero-author-img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.3);
}

.dah-hero-read {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 20px;
    margin-top: 1rem;
    transition: all var(--transition);
}
.dah-hero-read:hover { background: var(--white); color: var(--black); }

.dah-hero-counter {
    position: absolute; top: 1.5rem; right: 3rem;
    font-family: var(--font-mono); font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
}

.dah-hero-dots {
    position: absolute; bottom: 1.5rem; right: 3rem;
    display: flex; gap: 6px;
}
.dah-hero-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none; cursor: pointer;
    transition: all var(--transition);
}
.dah-hero-dot.active {
    background: var(--white);
    width: 20px; border-radius: 3px;
}

.dah-hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 10;
}
.dah-hero-arrow:hover { background: rgba(255,255,255,0.2); }
.dah-hero-arrow-left { left: 1.5rem; }
.dah-hero-arrow-right { right: 1.5rem; }

/* ══════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════ */
.dah-section-label {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 2rem;
}
.dah-section-label::before {
    content: '';
    display: block; width: 3px; height: 22px;
    background: var(--black);
}
.dah-section-label h2 {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 400;
    color: var(--black);
}
.dah-section-label span {
    font-family: var(--font-mono);
    font-size: 0.65rem; color: var(--gray-400);
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-left: auto;
}

/* ══════════════════════════════════════
   MAGAZINE GRID
══════════════════════════════════════ */
.dah-magazine {
    padding: 4rem 3rem;
    background: var(--white);
}
.dah-magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    background: var(--gray-200);
}
.dah-magazine-item {
    background: var(--white);
    overflow: hidden;
    position: relative;
}
.dah-magazine-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    min-height: 400px;
}
.dah-magazine-img-wrap { overflow: hidden; }
.dah-magazine-item:not(:first-child) .dah-magazine-img-wrap {
    height: 160px;
}
.dah-magazine-item:first-child .dah-magazine-img-wrap {
    position: absolute; inset: 0; height: 100%;
}
.dah-magazine-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.dah-magazine-item:hover .dah-magazine-img { transform: scale(1.04); }

.dah-magazine-item:first-child .dah-magazine-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.dah-magazine-item:first-child .dah-magazine-title { color: var(--white); font-size: 1.3rem; }
.dah-magazine-item:first-child .dah-magazine-meta { color: rgba(255,255,255,0.65); }
.dah-magazine-item:first-child .dah-magazine-cat {
    border-color: rgba(255,255,255,0.4); color: var(--white);
}

.dah-magazine-body { padding: 1.25rem; }
.dah-magazine-cat {
    display: inline-block;
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--black); border: 1px solid var(--black);
    padding: 2px 8px; margin-bottom: 0.5rem;
}
.dah-magazine-title {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    font-weight: 400; line-height: 1.3;
    color: var(--black); margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.dah-magazine-item:hover .dah-magazine-title { color: var(--gray-600); }
.dah-magazine-meta { font-size: 0.72rem; color: var(--gray-400); }

/* ══════════════════════════════════════
   CATEGORIES STRIP — ICONS ONLY
══════════════════════════════════════ */
.dah-categories {
    padding: 2.5rem 3rem;
    background: var(--off-white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.dah-categories-scroll {
    display: flex; gap: 0.75rem;
    overflow-x: auto; scrollbar-width: none;
    padding-bottom: 0.25rem;
}
.dah-categories-scroll::-webkit-scrollbar { display: none; }
.dah-cat-item {
    flex-shrink: 0;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.6rem;
    padding: 1.25rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    min-width: 100px; text-align: center;
    transition: all var(--transition);
    text-decoration: none;
}
.dah-cat-item:hover {
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.dah-cat-img { display: none !important; }
.dah-cat-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    color: var(--black);
    transition: all var(--transition);
}
.dah-cat-item:hover .dah-cat-icon {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}
.dah-cat-name {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
    color: var(--black);
}
.dah-cat-count {
    font-family: var(--font-mono);
    font-size: 0.62rem; color: var(--gray-400);
}

/* ══════════════════════════════════════
   PINTEREST MASONRY — POST CARDS
══════════════════════════════════════ */
.dah-recent { padding: 4rem 3rem; background: var(--white); }

.dah-recent-grid {
    columns: 3;
    column-gap: 1.25rem;
}
.dah-recent-grid .dah-post-card {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 1.25rem;
    vertical-align: top;
}

.dah-post-card {
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition);
    background: var(--white);
}
.dah-post-card:hover {
    border-color: var(--black);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.dah-post-card-img-wrap { overflow: hidden; }
.dah-post-card-img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.dah-post-card:hover .dah-post-card-img { transform: scale(1.04); }

.dah-post-card-body { padding: 1.25rem; }
.dah-post-card-cat {
    display: inline-block;
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--black);
    border-bottom: 1px solid var(--black);
    padding-bottom: 1px; margin-bottom: 0.6rem;
}
.dah-post-card-title {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 400;
    line-height: 1.35; color: var(--black);
    margin-bottom: 0.75rem;
    transition: color var(--transition);
}
.dah-post-card:hover .dah-post-card-title { color: var(--gray-600); }
.dah-post-card-meta {
    display: flex; align-items: center;
    gap: 0.6rem; flex-wrap: wrap;
}
.dah-post-card-author-img {
    width: 24px; height: 24px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--gray-200);
}
.dah-post-card-meta span,
.dah-post-card-meta a {
    font-size: 0.72rem; color: var(--gray-400);
    transition: color var(--transition);
}
.dah-post-card-meta a:hover { color: var(--black); }
.dah-post-card-meta .sep {
    width: 3px; height: 3px;
    border-radius: 50%; background: var(--gray-400);
    display: inline-block;
}
.dah-post-card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--gray-100);
    display: flex; align-items: center; justify-content: space-between;
}
.dah-read-more {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--black);
    display: flex; align-items: center; gap: 0.35rem;
    transition: gap var(--transition);
}
.dah-read-more:hover { gap: 0.6rem; }
.dah-post-views {
    font-family: var(--font-mono);
    font-size: 0.67rem; color: var(--gray-400);
}

/* ══════════════════════════════════════
   TRENDING SECTION
══════════════════════════════════════ */
.dah-trending { padding: 4rem 3rem; background: var(--black); }
.dah-trending .dah-section-label::before { background: var(--white); }
.dah-trending .dah-section-label h2 { color: var(--white); }
.dah-trending .dah-section-label span { color: rgba(255,255,255,0.35); }

.dah-trending-list { display: flex; flex-direction: column; }
.dah-trending-item {
    display: grid;
    grid-template-columns: 48px 1fr 100px;
    align-items: center; gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    transition: padding-left var(--transition);
}
.dah-trending-item:hover { padding-left: 6px; }
.dah-trending-num {
    font-family: var(--font-mono);
    font-size: 1.8rem; font-weight: 700;
    color: rgba(255,255,255,0.08); line-height: 1;
}
.dah-trending-cat {
    font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.35); margin-bottom: 0.3rem;
}
.dah-trending-title {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 400;
    color: var(--white); line-height: 1.35;
    transition: color var(--transition);
}
.dah-trending-item:hover .dah-trending-title { color: rgba(255,255,255,0.7); }
.dah-trending-img {
    width: 100px; height: 65px;
    object-fit: cover; opacity: 0.6;
    transition: opacity var(--transition);
}
.dah-trending-item:hover .dah-trending-img { opacity: 1; }

/* ══════════════════════════════════════
   LAYOUT — MAIN + SIDEBAR
══════════════════════════════════════ */
.dah-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    padding: 4rem 3rem;
    background: var(--white);
}
.dah-sidebar { position: relative; }
.dah-sidebar-sticky { position: sticky; top: 84px; }

.dah-widget {
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.dah-widget-title {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 400;
    color: var(--black); margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--black);
}

/* Search widget */
.dah-widget-search {
    display: flex;
    border: 1px solid var(--gray-200);
}
.dah-widget-search input {
    flex: 1; border: none; outline: none;
    padding: 9px 11px; font-size: 0.83rem;
    font-family: var(--font-body); background: transparent;
}
.dah-widget-search button {
    background: var(--black); border: none;
    color: var(--white); padding: 9px 13px;
}

/* Popular posts */
.dah-popular-list { display: flex; flex-direction: column; gap: 0.85rem; }
.dah-popular-item {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 0.65rem; align-items: center;
    text-decoration: none;
}
.dah-popular-img-wrap { position: relative; overflow: hidden; }
.dah-popular-img {
    width: 65px; height: 50px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dah-popular-item:hover .dah-popular-img { transform: scale(1.08); }
.dah-popular-num {
    position: absolute; top: 3px; left: 3px;
    font-family: var(--font-mono);
    font-size: 0.58rem; font-weight: 700;
    background: var(--black); color: var(--white);
    padding: 1px 5px;
}
.dah-popular-title {
    font-size: 0.8rem; font-weight: 500;
    color: var(--black); line-height: 1.3;
    margin-bottom: 0.2rem;
    transition: color var(--transition);
}
.dah-popular-item:hover .dah-popular-title { color: var(--gray-600); }
.dah-popular-date { font-size: 0.68rem; color: var(--gray-400); }

/* Tags */
.dah-tags-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dah-tag {
    font-size: 0.68rem; font-weight: 500;
    color: var(--black);
    border: 1px solid var(--gray-200);
    padding: 3px 9px;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}
.dah-tag:hover,
.dah-tag.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Social widget */
.dah-social-list { display: flex; flex-direction: column; gap: 0.4rem; }
.dah-social-item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 9px 12px;
    border: 1px solid var(--gray-200);
    font-size: 0.8rem; font-weight: 500;
    color: var(--black);
    transition: all var(--transition);
    text-decoration: none;
}
.dah-social-item:hover {
    background: var(--black); color: var(--white);
    border-color: var(--black);
}

/* Category list */
.dah-category-list { display: flex; flex-direction: column; }
.dah-category-link {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.83rem; font-weight: 500;
    color: var(--black);
    transition: color var(--transition);
    text-decoration: none;
}
.dah-category-link:hover,
.dah-category-link.active { color: var(--gray-600); }
.dah-category-link span {
    font-family: var(--font-mono);
    font-size: 0.68rem; color: var(--gray-400);
}

/* ══════════════════════════════════════
   SINGLE POST HERO
══════════════════════════════════════ */
.dah-post-hero {
    margin-top: 64px;
    position: relative;
    height: 65vh; min-height: 400px; max-height: 600px;
    background: var(--black); overflow: hidden;
}
.dah-post-hero-img {
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0.4;
}
.dah-post-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
}
.dah-post-hero-cat {
    display: inline-block;
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 3px 10px; margin-bottom: 0.75rem;
}
.dah-post-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2.4rem);
    font-weight: 400; font-style: italic;
    color: var(--white); line-height: 1.2;
    max-width: 800px; margin-bottom: 1rem;
}
.dah-post-hero-meta {
    display: flex; align-items: center;
    gap: 1rem; flex-wrap: wrap;
}
.dah-post-hero-meta a,
.dah-post-hero-meta span {
    font-size: 0.75rem; color: rgba(255,255,255,0.6);
}
.dah-post-hero-meta a:hover { color: var(--white); }

/* ══════════════════════════════════════
   POST CONTENT — CLEAN OVERRIDE
══════════════════════════════════════ */
.dah-post-body { padding: 4rem 3rem; }
.dah-post-content-wrap { max-width: 740px; margin: 0 auto; }

.dah-post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-800);
}

/* Strip ALL inline styles from post content */
.dah-post-content * {
    color: var(--gray-800) !important;
    background-color: transparent !important;
    background: transparent !important;
    font-family: var(--font-body) !important;
    font-size: inherit !important;
}

.dah-post-content h1,
.dah-post-content h2,
.dah-post-content h3,
.dah-post-content h4,
.dah-post-content h5 {
    font-family: var(--font-display) !important;
    color: var(--black) !important;
    margin: 2rem 0 0.75rem;
    line-height: 1.2;
    font-style: italic;
}
.dah-post-content h2 { font-size: 1.6rem !important; }
.dah-post-content h3 { font-size: 1.3rem !important; }

.dah-post-content p { margin-bottom: 1.4rem; }

.dah-post-content blockquote {
    border-left: 3px solid var(--black);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-display) !important;
    font-style: italic;
    font-size: 1.15rem !important;
    color: var(--gray-600) !important;
    background: var(--off-white) !important;
}

.dah-post-content a {
    color: var(--black) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dah-post-content img {
    width: 100%; margin: 2rem 0;
    border: 1px solid var(--gray-200);
}

.dah-post-content ul,
.dah-post-content ol {
    padding-left: 1.5rem; margin-bottom: 1.4rem;
}
.dah-post-content ul { list-style: disc; }
.dah-post-content ol { list-style: decimal; }
.dah-post-content li { margin-bottom: 0.4rem; }

/* Remove highlight/mark completely */
.dah-post-content mark,
.dah-post-content span[style],
.dah-post-content font,
.dah-post-content [style*="background"],
.dah-post-content [style*="color"] {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--gray-800) !important;
}

/* Post tags */
.dah-post-tags {
    display: flex; align-items: center;
    gap: 0.6rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}
.dah-post-tags-label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-400);
}

/* Post share */
.dah-post-share {
    display: flex; align-items: center;
    gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap;
}
.dah-post-share-label {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray-400);
}
.dah-share-btn {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--black);
    border: 1px solid var(--gray-200);
    padding: 6px 12px;
    transition: all var(--transition);
    text-decoration: none;
    background: none; cursor: pointer;
}
.dah-share-btn:hover {
    background: var(--black); color: var(--white);
    border-color: var(--black);
}

/* Author box */
.dah-author-box {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    padding: 1.75rem; margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.25rem; align-items: start;
}
.dah-author-img {
    width: 80px; height: 80px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid var(--gray-200);
}
.dah-author-name {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 400;
    color: var(--black); margin-bottom: 0.4rem;
}
.dah-author-bio {
    font-size: 0.83rem; color: var(--gray-600);
    line-height: 1.6; margin-bottom: 0.75rem;
}
.dah-author-socials { display: flex; gap: 0.4rem; }
.dah-author-social {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gray-200);
    color: var(--black); font-size: 0.75rem;
    transition: all var(--transition);
    text-decoration: none;
}
.dah-author-social:hover {
    background: var(--black); color: var(--white);
    border-color: var(--black);
}

/* Related posts */
.dah-related {
    padding: 3.5rem 3rem;
    background: var(--off-white);
    border-top: 1px solid var(--gray-200);
}
.dah-related-grid {
    columns: 3; column-gap: 1.25rem;
}
.dah-related-grid .dah-post-card {
    break-inside: avoid;
    display: inline-block;
    width: 100%; margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════
   COMMENTS
══════════════════════════════════════ */
.dah-comments {
    padding: 3rem 0; margin-top: 2.5rem;
    border-top: 2px solid var(--black);
}
.dah-comments-title {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 400;
    color: var(--black); margin-bottom: 1.75rem;
}
.dah-comment-list { display: flex; flex-direction: column; }
.dah-comment-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}
.dah-comment-header {
    display: flex; align-items: center;
    gap: 0.75rem; margin-bottom: 0.6rem;
}
.dah-comment-avatar {
    width: 36px; height: 36px;
    border-radius: 50%; object-fit: cover;
    border: 1px solid var(--gray-200); flex-shrink: 0;
}
.dah-comment-author { font-weight: 600; font-size: 0.85rem; color: var(--black); }
.dah-comment-date {
    font-size: 0.7rem; color: var(--gray-400);
    font-family: var(--font-mono);
}
.dah-comment-badge {
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--black); color: var(--white);
    padding: 2px 6px;
}
.dah-comment-text {
    font-size: 0.88rem; color: var(--gray-600);
    line-height: 1.7; margin-bottom: 0.6rem;
}
.dah-reply-btn {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--black); background: none;
    border: 1px solid var(--gray-200);
    padding: 4px 10px;
    transition: all var(--transition);
}
.dah-reply-btn:hover {
    background: var(--black); color: var(--white);
    border-color: var(--black);
}
.dah-replies {
    margin-left: 2.5rem;
    border-left: 2px solid var(--gray-200);
    padding-left: 1.25rem;
}

/* Comment form */
.dah-comment-form { margin-top: 2.5rem; }
.dah-comment-form-title {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 400;
    color: var(--black); margin-bottom: 1.25rem;
}

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.dah-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-bottom: 0;
}
.dah-form-group { margin-bottom: 1rem; }
.dah-form-group label {
    display: block;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--black); margin-bottom: 0.35rem;
}
.dah-form-input,
.dah-form-textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    outline: none;
    padding: 11px 13px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    color: var(--black); background: var(--white);
    transition: border-color var(--transition);
    border-radius: var(--radius);
}
.dah-form-input:focus,
.dah-form-textarea:focus { border-color: var(--black); }
.dah-form-textarea { resize: vertical; min-height: 120px; }
.dah-form-submit {
    background: var(--black); color: var(--white);
    border: 1px solid var(--black);
    padding: 11px 28px;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer; font-family: var(--font-body);
}
.dah-form-submit:hover { background: var(--white); color: var(--black); }

/* Alerts */
.dah-alert {
    padding: 0.9rem 1.1rem;
    font-size: 0.85rem;
    border-left: 3px solid;
    margin-bottom: 1.25rem;
}
.dah-alert-success { background: #f0fdf4; border-color: #16a34a; color: #15803d; }
.dah-alert-error { background: #fef2f2; border-color: #dc2626; color: #b91c1c; }

/* ══════════════════════════════════════
   AUTH
══════════════════════════════════════ */
.dah-auth {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
}
.dah-auth-visual {
    background: var(--black);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 4rem; position: relative; overflow: hidden;
}
.dah-auth-visual-quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400; font-style: italic;
    color: var(--white); text-align: center;
    line-height: 1.4; position: relative; z-index: 1;
}
.dah-auth-visual-brand {
    font-family: var(--font-mono);
    font-size: 0.68rem; letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 1.5rem; position: relative; z-index: 1;
}
.dah-auth-form-side {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 4rem; background: var(--white);
}
.dah-auth-form-wrap { width: 100%; max-width: 380px; }
.dah-auth-title {
    font-family: var(--font-display);
    font-size: 1.8rem; font-weight: 400;
    color: var(--black); margin-bottom: 0.4rem;
}
.dah-auth-subtitle {
    font-size: 0.85rem; color: var(--gray-400);
    margin-bottom: 2rem;
}
.dah-auth-footer {
    font-size: 0.83rem; color: var(--gray-400);
    text-align: center; margin-top: 1.25rem;
}
.dah-auth-footer a {
    color: var(--black); font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px;
}
.dah-remember {
    display: flex; align-items: center;
    gap: 0.5rem; font-size: 0.83rem;
    color: var(--gray-600); margin-bottom: 1.25rem;
}
.dah-remember input { accent-color: var(--black); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.dah-footer {
    background: var(--black);
    color: var(--white);
    padding: 0 3rem;
}
.dah-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dah-footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 400;
    color: var(--white); margin-bottom: 0.85rem;
}
.dah-footer-logo img {
    height: 42px; width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 0.85rem;
}
.dah-footer-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7; margin-bottom: 1.25rem;
    max-width: 260px;
}
.dah-footer-socials { display: flex; gap: 0.4rem; }
.dah-footer-social {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45); font-size: 0.8rem;
    transition: all var(--transition); text-decoration: none;
}
.dah-footer-social:hover {
    background: var(--white); color: var(--black);
    border-color: var(--white);
}
.dah-footer-col-title {
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--white); margin-bottom: 1rem;
}
.dah-footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.dah-footer-link {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition); text-decoration: none;
}
.dah-footer-link:hover { color: var(--white); }

/* FOOTER TAGS FIX */
.dah-footer .dah-tag {
    color: rgba(255,255,255,0.55) !important;
    border-color: rgba(255,255,255,0.15) !important;
    background: transparent !important;
}
.dah-footer .dah-tag:hover {
    color: var(--white) !important;
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

.dah-footer-bottom {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}
.dah-footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    font-family: var(--font-mono);
}

/* ══════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════ */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.07em; color: var(--gray-600);
    background: none; border: 1px solid var(--gray-200);
    padding: 5px 9px; transition: all var(--transition);
}
.lang-btn:hover { border-color: var(--black); color: var(--black); }
.lang-dropdown {
    position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    min-width: 170px; z-index: 1000; overflow: hidden;
}
.lang-section { padding: 0.35rem 0; }
.lang-section + .lang-section { border-top: 1px solid var(--gray-100); }
.lang-section-title {
    display: block;
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gray-400); padding: 0.4rem 0.85rem 0.2rem;
}
.lang-item {
    display: block; width: 100%; text-align: left;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem; color: var(--black);
    background: none; border: none;
    transition: background var(--transition); cursor: pointer;
}
.lang-item:hover { background: var(--gray-100); }

/* ══════════════════════════════════════
   SECTION HERO (category/tag/search)
══════════════════════════════════════ */
.dah-section-hero {
    margin-top: 64px;
    background: var(--black);
    padding: 4rem 3rem 3rem;
    position: relative; overflow: hidden;
}
.dah-section-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 40px,
        rgba(255,255,255,0.015) 40px,
        rgba(255,255,255,0.015) 41px
    );
}
.dah-section-hero-label {
    font-family: var(--font-mono);
    font-size: 0.65rem; letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.75rem; position: relative;
}
.dah-section-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 400; font-style: italic;
    color: var(--white); line-height: 1.1;
    position: relative;
}
.dah-section-hero-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.85rem; position: relative;
}

/* ══════════════════════════════════════
   PAGINATION
══════════════════════════════════════ */
.dah-pagination {
    display: flex; align-items: center;
    justify-content: center; gap: 0.35rem;
    margin-top: 2.5rem;
}
.dah-page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid var(--gray-200);
    font-size: 0.8rem; font-family: var(--font-mono);
    color: var(--black); background: var(--white);
    transition: all var(--transition); text-decoration: none;
}
.dah-page-btn:hover { border-color: var(--black); }
.dah-page-btn.active {
    background: var(--black); color: var(--white);
    border-color: var(--black);
}
.dah-page-btn.disabled { color: var(--gray-400); cursor: not-allowed; }
.dah-page-btn.dots { border: none; cursor: default; }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.dah-back-top {
    position: fixed; bottom: 1.75rem; right: 1.75rem;
    width: 40px; height: 40px;
    background: var(--black); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    border: none; opacity: 0; visibility: hidden;
    transition: all var(--transition); z-index: 500;
}
.dah-back-top.visible { opacity: 1; visibility: visible; }
.dah-back-top:hover { background: var(--gray-800); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .dah-magazine-grid { grid-template-columns: 1fr 1fr; }
    .dah-magazine-item:first-child {
        grid-column: 1 / -1; grid-row: auto;
        height: 360px; position: relative;
    }
    .dah-layout { grid-template-columns: 1fr; }
    .dah-sidebar-sticky { position: static; }
    
    .dah-related-grid { columns: 2; }
    .dah-footer-grid { grid-template-columns: 1fr 1fr; }
    .dah-trending-item { grid-template-columns: 42px 1fr; }
    .dah-trending-img { display: none; }
}

@media (max-width: 768px) {
    .dah-header { padding: 0 1.25rem; }
    .dah-nav { display: none; }
    .dah-nav.open {
        display: flex; flex-direction: column;
        position: fixed; inset: 64px 0 0 0;
        background: var(--white); padding: 2rem;
        gap: 1.25rem;
        border-top: 1px solid var(--gray-200);
        z-index: 999; overflow-y: auto;
    }
    .dah-nav.open a { font-size: 1rem; }
    .dah-menu-toggle { display: flex; }
    .dah-hero { height: 60vh; min-height: 360px; }
    .dah-hero-content { padding: 1.75rem 1.25rem; }
    .dah-hero-title { font-size: 1.1rem !important; }
    .dah-magazine { padding: 2.5rem 1.25rem; }
    .dah-magazine-grid { grid-template-columns: 1fr; gap: 1px; }
    .dah-magazine-item:first-child { height: 280px; }
    .dah-categories { padding: 2rem 1.25rem; }
    .dah-recent { padding: 2.5rem 1.25rem; }
    
    .dah-trending { padding: 2.5rem 1.25rem; }
    .dah-layout { padding: 2.5rem 1.25rem; grid-template-columns: 1fr; }
    .dah-post-hero-content { padding: 1.75rem 1.25rem; }
    .dah-post-body { padding: 2rem 1.25rem; }
    .dah-related { padding: 2.5rem 1.25rem; }
    .dah-related-grid { columns: 1; }
    .dah-auth { grid-template-columns: 1fr; }
    .dah-auth-visual { display: none; }
    .dah-auth-form-side { padding: 2rem 1.25rem; }
    .dah-footer { padding: 0 1.25rem; }
    .dah-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .dah-footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .dah-form-row { grid-template-columns: 1fr; }
    .dah-author-box { grid-template-columns: 1fr; text-align: center; }
    .dah-section-hero { padding: 2.5rem 1.25rem 2rem; }
    .dah-hero-arrow { display: none; }
    .dah-replies { margin-left: 1rem; }
}

@media (max-width: 480px) {
    .dah-hero-title { font-size: 1rem !important; }
    .dah-recent-grid { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ══════════════════════════════════════
   PINTEREST MOSAIC HERO
══════════════════════════════════════ */
.dah-mosaic-hero {
    margin-top: 64px;
    position: relative;
    height: calc(100vh - 64px);
    min-height: 580px;
    max-height: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
    background: var(--black);
}
.dah-mosaic-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 28%, rgba(0,0,0,0.45) 72%, rgba(0,0,0,0.92) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.2) 70%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
    pointer-events: none;
}
.dah-mosaic-col {
    position: relative;
    overflow: hidden;
    height: 100%;
}
.dah-mosaic-track {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px;
}
.dah-mosaic-track--up   { animation: mosaicUp   30s linear infinite; }
.dah-mosaic-track--down { animation: mosaicDown 36s linear infinite; margin-top: -100px; }
.dah-mosaic-track--up2  { animation: mosaicUp   24s linear infinite; margin-top: -60px; }

@keyframes mosaicUp   { 0% { transform: translateY(0); }    100% { transform: translateY(-50%); } }
@keyframes mosaicDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }

.dah-mosaic-col:hover .dah-mosaic-track { animation-play-state: paused; }

.dah-mosaic-card {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
}
.dah-mosaic-card img {
    width: 100%; height: auto;
    display: block; object-fit: cover;
    transition: transform 0.5s ease;
}
.dah-mosaic-card:hover img { transform: scale(1.05); }
.dah-mosaic-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem 0.75rem 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.dah-mosaic-card:hover .dah-mosaic-card-overlay { opacity: 1; }
.dah-mosaic-cat {
    display: inline-block;
    font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 2px 6px; margin-bottom: 0.3rem;
}
.dah-mosaic-title {
    font-family: var(--font-display);
    font-size: 0.78rem; font-style: italic;
    color: var(--white); line-height: 1.3; margin: 0;
}
.dah-mosaic-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 90%; max-width: 620px;
}
.dah-mosaic-tagline {
    font-family: var(--font-mono);
    font-size: 0.65rem; letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.dah-mosaic-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 400; color: var(--white);
    line-height: 1.1; margin-bottom: 1.25rem;
}
.dah-mosaic-heading em { font-style: italic; color: rgba(255,255,255,0.75); }
.dah-mosaic-sub {
    font-size: 0.92rem; color: rgba(255,255,255,0.55);
    line-height: 1.6; margin-bottom: 2rem;
    max-width: 420px; margin-left: auto; margin-right: auto;
}
.dah-mosaic-actions {
    display: flex; align-items: center;
    justify-content: center; gap: 1rem;
    flex-wrap: wrap; margin-bottom: 2.5rem;
}
.dah-mosaic-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--white); color: var(--black);
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 12px 28px; text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition);
}
.dah-mosaic-btn-primary:hover { background: rgba(255,255,255,0.85); gap: 0.8rem; }
.dah-mosaic-btn-ghost {
    display: inline-flex; align-items: center;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 24px; text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition);
}
.dah-mosaic-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.dah-mosaic-stats {
    display: flex; align-items: center;
    justify-content: center; gap: 2rem;
}
.dah-mosaic-stat { text-align: center; }
.dah-mosaic-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 400;
    color: var(--white); line-height: 1;
}
.dah-mosaic-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem; letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-top: 0.3rem;
}
.dah-mosaic-stat-sep {
    width: 1px; height: 32px;
    background: rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════
   LOGO
══════════════════════════════════════ */
.dah-header-logo img {
    height: 52px !important;
    max-width: 160px;
    object-fit: contain;
}

/* ══════════════════════════════════════
   BORDER RADIUS
══════════════════════════════════════ */
.dah-mosaic-card       { border-radius: 8px; }
.dah-post-card         { border-radius: 10px; overflow: hidden; }
.dah-magazine-item     { border-radius: 8px; overflow: hidden; }
.dah-tag               { border-radius: 20px; }
.dah-btn               { border-radius: 6px; }
.dah-login-btn         { border-radius: 6px; }
.dah-dashboard-btn     { border-radius: 6px; }
.dah-form-input,
.dah-form-textarea     { border-radius: 6px; }
.dah-widget            { border-radius: 8px; }
.dah-author-box        { border-radius: 10px; }
.dah-popular-img       { border-radius: 4px; }

/* ══════════════════════════════════════
   HAMBURGER
══════════════════════════════════════ */
.dah-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.dah-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET 900px
══════════════════════════════════════ */
@media (max-width: 900px) {
    /* Header */
    .dah-header { padding: 0 1.25rem; }
    .dah-hamburger { display: flex; }
    .dah-menu-toggle { display: flex; }
    .dah-nav {
        display: none !important;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 1.25rem;
        gap: 0;
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        z-index: 998;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .dah-nav.open {
        display: flex !important;
        bottom: 0;
        padding: 2.5rem 2rem;
        gap: 0;
    }
    .dah-nav a {
        font-size: 1.3rem !important;
        padding: 1.25rem 0 !important;
        font-family: var(--font-display);
        font-weight: 400;
        letter-spacing: 0.02em;
        text-transform: none !important;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }
    .dah-nav a:last-child { border-bottom: none; }

    /* Hero */
    .dah-mosaic-hero {
        grid-template-columns: 1fr 1fr;
        height: 85vh;
        min-height: 480px;
    }
    .dah-mosaic-col:last-child { display: none; }
    .dah-mosaic-center { width: 94%; padding: 0 0.5rem; }
    .dah-mosaic-heading { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .dah-mosaic-sub { font-size: 0.82rem; margin-bottom: 1.25rem; }
    .dah-mosaic-actions { flex-direction: column; gap: 0.6rem; }
    .dah-mosaic-btn-primary,
    .dah-mosaic-btn-ghost { justify-content: center; width: 100%; max-width: 280px; margin: 0 auto; }
    .dah-mosaic-stats { gap: 1.25rem; }
    .dah-mosaic-stat-num { font-size: 1.2rem; }

    /* Magazine */
    .dah-magazine { padding: 2.5rem 1.25rem; }
    .dah-magazine-grid { grid-template-columns: 1fr; gap: 1px; }
    .dah-magazine-item:first-child { grid-column: 1; height: 280px; }

    /* Recent posts */
    .dah-recent { padding: 2.5rem 1.25rem; }
    .dah-recent-grid { columns: 2; column-gap: 1rem; }

    /* Categories */
    .dah-categories { padding: 2rem 1.25rem; }

    /* Trending */
    .dah-trending { padding: 2.5rem 1.25rem; }

    /* Layout */
    .dah-layout { padding: 2.5rem 1.25rem; grid-template-columns: 1fr; }
    .dah-sidebar { display: none; }

    /* Post */
    .dah-post-hero-content { padding: 1.75rem 1.25rem; }
    .dah-post-body { padding: 2rem 1.25rem; }
    .dah-related { padding: 2.5rem 1.25rem; }
    .dah-related-grid { columns: 2; }

    /* Footer */
    .dah-footer { padding: 0 1.25rem; }
    .dah-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .dah-footer-grid > *:first-child { grid-column: 1 / -1; }

    /* Auth */
    .dah-auth { grid-template-columns: 1fr; }
    .dah-auth-visual { display: none; }
    .dah-auth-form-side { padding: 2rem 1.25rem; }

    /* Section hero */
    .dah-section-hero { padding: 2.5rem 1.25rem 2rem; }

    /* Forms */
    .dah-form-row { grid-template-columns: 1fr; }
    .dah-author-box { grid-template-columns: 1fr; text-align: center; }

    /* Misc */
    .dah-hero { height: 60vh; min-height: 340px; }
    .dah-hero-content { padding: 1.5rem 1.25rem; }
    .dah-hero-title { font-size: 1.05rem !important; }
    .dah-hero-arrow { display: none; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE 540px
══════════════════════════════════════ */
@media (max-width: 540px) {
    /* Logo */
    .dah-header-logo img { height: 40px !important; }
    .dah-header-actions { gap: 0.4rem; }
    .dah-login-btn span,
    .dah-dashboard-btn span { display: none; }

    /* Hero — single column */
    .dah-mosaic-hero {
        grid-template-columns: 1fr;
        height: 90vh;
        min-height: 480px;
        max-height: none;
    }
    .dah-mosaic-col:not(:first-child) { display: none; }
    .dah-mosaic-col:first-child { display: block !important; }
    .dah-mosaic-track--up { animation: mosaicUp 30s linear infinite !important; }
    .dah-mosaic-overlay { background: rgba(0,0,0,0.7) !important; }
    .dah-mosaic-heading { font-size: 1.55rem; line-height: 1.2; }
    .dah-mosaic-sub { font-size: 0.8rem; }
    .dah-mosaic-stats { display: none; }
    .dah-mosaic-tagline { margin-bottom: 0.6rem; }

    /* Posts — single column */
    .dah-recent-grid { columns: 1; }
    .dah-related-grid { columns: 1; }

    /* Footer — single column */
    .dah-footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
    .dah-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    /* Post content */
    .dah-post-hero-title { font-size: 1.3rem; }
    .dah-post-content { font-size: 0.93rem; }
    .dah-post-content img { width: 100% !important; height: auto !important; }

    /* Replies indent */
    .dah-replies { margin-left: 0.75rem; padding-left: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .dah-loader-inner span { animation: none !important; }
    .dah-scroll-progress { transition: none !important; }
}
/* ══════════════════════════════════════
   TOGGLE ALIAS — match blade class
══════════════════════════════════════ */
/* dah-menu-toggle IS the hamburger in this project */
.dah-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    margin-left: 0.5rem;
}
.dah-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .dah-menu-toggle { display: flex !important; }
    .dah-hamburger   { display: flex !important; }
}
/* ══════════════════════════════════════
   NEWSLETTER BAR
══════════════════════════════════════ */
.dah-newsletter-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 640px) {
    .dah-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}
/* ══════════════════════════════════════
   CATEGORY INFINITE SLIDER
══════════════════════════════════════ */
.dah-cat-slider-wrap {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0 2rem;
}

/* Fade edges */
.dah-cat-slider-wrap::before,
.dah-cat-slider-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.dah-cat-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white) 0%, transparent 100%);
}
.dah-cat-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white) 0%, transparent 100%);
}

.dah-cat-slider {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.dah-cat-track {
    display: flex;
    gap: 1rem;
    animation: catScroll 22s linear infinite;
    will-change: transform;
}

.dah-cat-slider:hover .dah-cat-track {
    animation-play-state: paused;
}

@keyframes catScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.dah-cat-slide {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.5rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    min-width: 130px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}
.dah-cat-slide:hover {
    border-color: var(--black);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.dah-cat-slide-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gray-200);
    border-radius: 50%;
    color: var(--black);
    transition: all var(--transition);
    background: var(--white);
}
.dah-cat-slide:hover .dah-cat-slide-icon {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}
.dah-cat-slide-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--black);
    line-height: 1.2;
}
.dah-cat-slide-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--gray-400);
}

/* Mobile — slower on small screens */
@media (max-width: 540px) {
    .dah-cat-track { animation-duration: 16s; }
    .dah-cat-slide { min-width: 110px; padding: 1.25rem 1rem; }
    .dah-cat-slide-icon { width: 44px; height: 44px; }
}

/* ══════════════════════════════════════
   MOSAIC HERO — MOBILE WIDTH FIX
══════════════════════════════════════ */
.dah-mosaic-track {
    width: 100%;
}
.dah-mosaic-card {
    width: 100%;
}
.dah-mosaic-card img {
    width: 100%;
    min-height: 120px;
}

@media (max-width: 900px) {
    .dah-mosaic-hero { display: grid !important; }
    .dah-mosaic-col { width: 100%; min-width: 0; }
}

@media (max-width: 540px) {
    .dah-mosaic-hero { display: grid !important; grid-template-columns: 1fr !important; }
    .dah-mosaic-col:first-child { width: 100%; display: block !important; }
}
/* ══════════════════════════════════════
   RECENT ARTICLES — RESPONSIVE FIX
══════════════════════════════════════ */
.dah-recent-grid {
    width: 100%;
    box-sizing: border-box;
    columns: unset !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.dah-recent-grid .dah-post-card {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    break-inside: unset;
}
.dah-post-card-img-wrap {
    width: 100%;
}
.dah-post-card-img {
    width: 100% !important;
    max-width: 100%;
    height: 200px !important;
    object-fit: cover;
    display: block;
}
.dah-post-card-body {
    box-sizing: border-box;
    flex: 1;
}
.dah-post-card-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 1100px) {
    .dah-recent { padding: 3rem 1.5rem; }
    .dah-recent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dah-recent { padding: 2.5rem 1.25rem; }
    .dah-recent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .dah-recent { padding: 2rem 1rem; }
    .dah-recent-grid { grid-template-columns: 1fr; }
}
/* ══════════════════════════════════════
   FINAL MOBILE FIX — FORCE OVERRIDE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .dah-mosaic-hero {
        display: grid !important;
        grid-template-columns: 1fr !important;
        height: 90vh !important;
        min-height: 480px !important;
        max-height: none !important;
        margin-top: 64px !important;
        overflow: hidden !important;
    }
    .dah-mosaic-col {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }
    .dah-mosaic-col:nth-child(2),
    .dah-mosaic-col:nth-child(3) {
        display: none !important;
    }
    .dah-mosaic-track {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        animation: mosaicUp 25s linear infinite !important;
    }
    .dah-mosaic-card {
        width: 100% !important;
        display: block !important;
    }
    .dah-mosaic-card img {
        width: 100% !important;
        height: auto !important;
        min-height: 140px !important;
        display: block !important;
    }

    .dah-layout {
        display: block !important;
        padding: 2rem 1rem !important;
    }
    .dah-sidebar { display: none !important; }

    .dah-recent-grid {
        display: block !important;
        columns: 1 !important;
        width: 100% !important;
    }
    .dah-recent-grid .dah-post-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.25rem !important;
        break-inside: avoid !important;
    }
    .dah-post-card-img-wrap {
        display: block !important;
        width: 100% !important;
    }
    .dah-post-card-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block !important;
    }
    .dah-post-card-body {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.1rem !important;
    }
    .dah-post-card-title {
        font-size: 0.95rem !important;
        word-break: break-word !important;
    }
    .dah-post-card-meta {
        flex-wrap: wrap !important;
    }
}

@media (prefers-reduced-motion: no-preference), (prefers-reduced-motion: reduce) {
    .dah-mosaic-track--up,
    .dah-mosaic-track--down,
    .dah-mosaic-track--up2 {
        animation-play-state: running !important;
    }
}