/* ── DUST News — Frontend Styles ─────────────────────────
   Uses DUST design system tokens.
   Works alongside Elementor — no conflicts.
──────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Category filter pills ── */
.dust-news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 32px;
}

.dnf-pill {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 2px;
    border: 0.5px solid rgba(255,255,255,0.1);
    color: #7a7770;
    text-decoration: none;
    transition: all 0.15s ease;
    background: transparent;
}

.dnf-pill:hover {
    border-color: rgba(255,255,255,0.2);
    color: #f5f2ed;
    text-decoration: none;
}

.dnf-pill.active {
    background: #c9a96e;
    border-color: #c9a96e;
    color: #0c0c0b;
    font-weight: 500;
}

/* ── Archive grid ── */
.dust-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .dust-news-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Archive card ── */
.dust-news-card {
    background: #111110;
    border: 0.5px solid rgba(255,255,255,0.07);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.dust-news-card:hover {
    border-color: rgba(255,255,255,0.18);
}

.dnc-thumb {
    width: 100%;
    height: 200px;
    background: #161614;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dnc-thumb-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #3d3c39;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dnc-body {
    padding: 20px;
}

.dnc-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dnc-cat {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 2px;
    background: rgba(201,169,110,0.12);
    color: #c9a96e;
}

.dnc-date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #7a7770;
    letter-spacing: 0.04em;
}

.dnc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #c9a96e;
    line-height: 1.3;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.dnc-excerpt {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #7a7770;
    line-height: 1.75;
    margin-bottom: 16px;
}

.dnc-read-more {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a96e;
    border: 0.5px solid rgba(201,169,110,0.35);
    background: transparent;
    padding: 7px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.dnc-read-more:hover {
    background: rgba(201,169,110,0.08);
    text-decoration: none;
    color: #c9a96e;
}

/* ── Inline expand ── */
.dnc-expanded {
    border-top: 0.5px solid rgba(255,255,255,0.07);
    margin-top: 16px;
    padding-top: 20px;
    display: none;
}

.dnc-expanded.open {
    display: block;
    animation: fadeSlideDown 0.2s ease;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dnc-expanded-img {
    width: 100%;
    height: 240px;
    background: #161614;
    border-radius: 2px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.dnc-expanded-body {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #7a7770;
    line-height: 1.8;
    margin-bottom: 16px;
}

.dnc-expanded-body p {
    margin-bottom: 14px;
}

.dnc-expanded-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #f5f2ed;
    margin: 24px 0 12px;
    letter-spacing: -0.01em;
}

.dnc-expanded-body a {
    color: #c9a96e;
    text-decoration: none;
    border-bottom: 0.5px solid rgba(201,169,110,0.4);
}

.dnc-expanded-body a:hover {
    border-bottom-color: #c9a96e;
}

.dnc-close {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a7770;
    border: 0.5px solid rgba(255,255,255,0.1);
    background: transparent;
    padding: 7px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 4px;
}

.dnc-close:hover {
    border-color: rgba(255,255,255,0.2);
    color: #f5f2ed;
}

/* ── Single post ── */
.dust-single-post {
    max-width: 720px;
    margin: 0 auto;
}

.dsp-breadcrumb {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3d3c39;
    margin-bottom: 24px;
}

.dsp-breadcrumb a {
    color: #7a7770;
    text-decoration: none;
}

.dsp-breadcrumb a:hover { color: #c9a96e; }

.dsp-breadcrumb .dsp-bc-sep {
    margin: 0 8px;
    color: #3d3c39;
}

.dsp-breadcrumb .dsp-bc-current {
    color: #c9a96e;
}

.dsp-hero {
    width: 100%;
    height: 420px;
    background: #161614;
    border-radius: 2px;
    margin-bottom: 28px;
    background-size: cover;
    background-position: center;
}

.dsp-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dsp-cat {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    background: rgba(201,169,110,0.12);
    color: #c9a96e;
}

.dsp-date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #7a7770;
    letter-spacing: 0.04em;
}

.dsp-read-time {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #3d3c39;
    letter-spacing: 0.04em;
    margin-left: auto;
}

.dsp-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: #f5f2ed;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.dsp-divider {
    height: 0.5px;
    background: rgba(255,255,255,0.07);
    margin-bottom: 28px;
}

/* Post body typography */
.dsp-body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #7a7770;
    line-height: 1.8;
}

.dsp-body p    { margin-bottom: 20px; }
.dsp-body h2   { font-size: 22px; font-weight: 600; color: #f5f2ed; margin: 36px 0 14px; letter-spacing: -0.01em; }
.dsp-body h3   { font-size: 18px; font-weight: 600; color: #f5f2ed; margin: 28px 0 12px; }
.dsp-body a    { color: #c9a96e; text-decoration: none; border-bottom: 0.5px solid rgba(201,169,110,0.4); }
.dsp-body a:hover { border-bottom-color: #c9a96e; }
.dsp-body ul,
.dsp-body ol   { padding-left: 20px; margin-bottom: 20px; }
.dsp-body li   { margin-bottom: 8px; }
.dsp-body blockquote {
    border-left: 2px solid #c9a96e;
    margin: 28px 0;
    padding: 4px 0 4px 20px;
    font-size: 18px;
    color: #f5f2ed;
    font-weight: 300;
    font-style: italic;
}
.dsp-body img {
    width: 100%;
    border-radius: 2px;
    margin: 20px 0;
}
.dsp-body code {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    background: rgba(201,169,110,0.08);
    color: #c9a96e;
    padding: 2px 6px;
    border-radius: 2px;
}

/* Post navigation */
.dsp-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 0.5px solid rgba(255,255,255,0.07);
}

.dsp-nav-item {
    flex: 1;
}

.dsp-nav-item.next {
    text-align: right;
}

.dsp-nav-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d3c39;
    margin-bottom: 6px;
}

.dsp-nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #c9a96e;
    text-decoration: none;
    line-height: 1.35;
}

.dsp-nav-title:hover {
    color: #f5f2ed;
    text-decoration: none;
}

/* ── Homepage teaser ── */
.dust-news-teaser {
    padding: 0;
}

.dnt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.dnt-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 0;
}

.dnt-view-all {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a96e;
    text-decoration: none;
    border-bottom: 0.5px solid rgba(201,169,110,0.3);
    padding-bottom: 1px;
    transition: border-color 0.15s;
}

.dnt-view-all:hover {
    border-bottom-color: #c9a96e;
    text-decoration: none;
    color: #c9a96e;
}

.dnt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 600px) {
    .dnt-grid { grid-template-columns: 1fr; }
}

/* Borderless teaser card — matches Events restraint */
.dnt-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    transition: none;
}

.dnt-card:hover {
    border: none;
    text-decoration: none;
}

.dnt-thumb {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    background: #161614;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    overflow: hidden;
    filter: brightness(0.92);
    transition: filter 0.3s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.dnt-card:hover .dnt-thumb {
    filter: brightness(1.05);
    transform: scale(1.03);
}

.dnt-thumb-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #3d3c39;
}

.dnt-body {
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.dnt-cat {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a96e;
    background: transparent;
    display: block;
    margin-bottom: 10px;
}

.dnt-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #f5f2ed;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.dnt-card:hover .dnt-title {
    color: #c9a96e;
}

.dnt-date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: #7a7770;
    letter-spacing: 0.04em;
    margin-top: 8px;
}

/* ── News archive (Elementor Posts widget) — strip card boxes, match teaser restraint ── */
.elementor-post__card,
.elementor-posts-container article.elementor-post {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.elementor-post__text {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Category filter pills — remove faint borders */
.dnf-pill,
.dnf-pill.active {
    border: none !important;
}