/*
Theme Name: DailyDes
Theme URI: https://dailydes.com
Author: DailyDes
Author URI: https://dailydes.com
Description: Digital Marketing News, Ad Tech Insights & Learning Hub — A premium editorial theme built for DailyDes.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dailydes
Tags: news, blog, magazine, digital-marketing, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════
   DAILYDES THEME — EDITORIAL MAGAZINE STYLE
   Cream paper + dark ink
   Playfair Display (headings) + DM Sans (body)
═══════════════════════════════════════════ */

:root {
  --ink:      #0A0A0A;
  --cream:    #FAF8F3;
  --paper:    #F2EFE7;
  --accent:   #E8351A;
  --accent2:  #1A6BE8;
  --gold:     #C9941A;
  --muted:    #6B6560;
  --border:   #DDD9CF;
  --surface:  #FFFFFF;
  --max-w:    1200px;
  --ff-head:  'Playfair Display', Georgia, serif;
  --ff-body:  'DM Sans', sans-serif;
  --ff-mono:  'DM Mono', monospace;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TICKER ── */
.dd-ticker {
  background: var(--ink);
  overflow: hidden;
  padding: 9px 0;
  position: relative;
}
.dd-ticker::before,
.dd-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.dd-ticker::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.dd-ticker::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.dd-ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
  z-index: 3;
  white-space: nowrap;
}
.dd-ticker-track {
  display: flex;
  animation: ddTicker 45s linear infinite;
  white-space: nowrap;
  padding-left: 100px;
}
.dd-ticker-track:hover { animation-play-state: paused; }
.dd-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  color: rgba(255,255,255,.8);
}
.dd-ticker-item::before { content: '◆'; color: var(--accent); font-size: 7px; }
@keyframes ddTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HEADER ── */
.dd-header {
  background: var(--cream);
  border-bottom: 2.5px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.dd-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.dd-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.dd-logo-main {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--ink);
  letter-spacing: -.04em;
  line-height: 1;
}
.dd-logo-main span { color: var(--accent); }
.dd-logo-tagline {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
}

/* NAV */
.dd-nav { display: flex; align-items: center; gap: 32px; }
.dd-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.dd-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.dd-nav a:hover,
.dd-nav a.current-menu-item { color: var(--accent); }
.dd-nav a:hover::after,
.dd-nav a.current-menu-item::after { width: 100%; }
.dd-nav-tools {
  background: var(--ink) !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 3px !important;
  transition: background .2s !important;
}
.dd-nav-tools::after { display: none !important; }
.dd-nav-tools:hover { background: var(--accent) !important; color: white !important; }
.dd-hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* DATE STRIP */
.dd-date-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.dd-date-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.dd-date-strip .edition {
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--ink);
}

/* ── PAGE WRAPPER ── */
.dd-page { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── HERO ── */
.dd-hero {
  padding: 40px 0 32px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 40px;
}
.dd-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
}
.dd-hero-main {
  padding-right: 40px;
  border-right: 1px solid var(--border);
}
.dd-hero-sidebar { padding-left: 36px; }

.dd-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.dd-cat-label::before { content: ''; width: 22px; height: 2px; background: var(--accent); }

.dd-hero-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.dd-hero-title em { font-style: italic; color: var(--accent); }
.dd-hero-excerpt {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 520px;
}
.dd-hero-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.dd-hero-meta .author { font-weight: 700; color: var(--ink); }
.dd-hero-meta .sep { color: var(--border); }
.dd-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: all .2s;
}
.dd-read-more:hover { color: var(--accent); border-color: var(--accent); }
.dd-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--paper);
}
.dd-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* SIDEBAR STORIES */
.dd-sidebar-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.dd-sidebar-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: all .15s;
}
.dd-sidebar-item:last-child { border-bottom: none; }
.dd-sidebar-item:hover .dd-sidebar-item-title { color: var(--accent); }
.dd-sidebar-num { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); min-width: 22px; padding-top: 2px; }
.dd-sidebar-item-cat { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.dd-sidebar-item-title { font-family: var(--ff-head); font-size: 14px; font-weight: 700; line-height: 1.3; transition: color .2s; }
.dd-sidebar-item-meta { font-size: 10px; color: var(--muted); margin-top: 5px; }

/* ── SECTION HEADERS ── */
.dd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.dd-section-title {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dd-section-title .line {
  width: 4px; height: 24px;
  border-radius: 2px;
  background: var(--accent);
}
.dd-see-all {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.dd-see-all:hover { color: var(--accent); }

/* ── MAIN CONTENT LAYOUT ── */
.dd-content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 0 0 48px;
}

/* ── NEWS CARDS ── */
.dd-news-list { display: flex; flex-direction: column; }
.dd-news-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all .15s;
}
.dd-news-card:first-child { padding-top: 0; }
.dd-news-card:last-child { border-bottom: none; }
.dd-news-card:hover .dd-news-card-title { color: var(--accent); }

.dd-news-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.dd-news-card-cat.agency { color: var(--accent2); }
.dd-news-card-cat.launch { color: var(--gold); }
.dd-news-card-cat.ctv    { color: #9B59B6; }
.dd-news-card-cat.learn  { color: #27AE60; }

.dd-news-card-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color .2s;
}
.dd-news-card-excerpt {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dd-news-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  flex-wrap: wrap;
}
.dd-news-card-tag {
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dd-news-card-img {
  width: 150px;
  height: 105px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: start;
  background: var(--paper);
}
.dd-news-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── SIDEBAR ── */
.dd-sidebar { display: flex; flex-direction: column; gap: 28px; }

/* Newsletter */
.dd-newsletter {
  background: var(--ink);
  color: white;
  padding: 24px;
  border-radius: 4px;
}
.dd-newsletter h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}
.dd-newsletter h3 em { color: var(--accent); font-style: italic; }
.dd-newsletter p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 16px; }
.dd-newsletter input[type=email] {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  padding: 10px 13px;
  font-size: 13px;
  color: white;
  outline: none;
  margin-bottom: 8px;
  font-family: var(--ff-body);
  transition: border-color .2s;
}
.dd-newsletter input[type=email]::placeholder { color: rgba(255,255,255,.3); }
.dd-newsletter input[type=email]:focus { border-color: var(--accent); }
.dd-newsletter button {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: opacity .2s;
}
.dd-newsletter button:hover { opacity: .85; }

/* Trending */
.dd-trending {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 20px;
}
.dd-trending-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dd-trending-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: ddBlink 1.5s infinite;
}
@keyframes ddBlink { 0%,100%{opacity:1} 50%{opacity:.2} }
.dd-trending-item {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.dd-trending-item:last-child { border-bottom: none; }
.dd-trending-item:hover .dd-trending-text { color: var(--accent); }
.dd-trending-rank { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); min-width: 20px; }
.dd-trending-text { font-size: 13px; font-weight: 600; line-height: 1.4; transition: color .2s; }

/* Tools Promo */
.dd-tools-promo {
  background: linear-gradient(135deg, #0f1117 0%, #1a2235 100%);
  color: white;
  padding: 22px;
  border-radius: 4px;
}
.dd-tools-promo h4 { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 900; margin-bottom: 8px; line-height: 1.3; }
.dd-tools-promo p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 12px; }
.dd-tools-promo ul { margin-bottom: 14px; }
.dd-tools-promo ul li {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dd-tools-promo ul li::before { content: '→'; color: var(--accent); font-size: 10px; }
.dd-tools-promo a.dd-tools-btn {
  display: block;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: opacity .2s;
}
.dd-tools-promo a.dd-tools-btn:hover { opacity: .85; }

/* ── 3-COL GRID ── */
.dd-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.dd-article-card { display: flex; flex-direction: column; }
.dd-article-card:hover .dd-article-card-title { color: var(--accent); }
.dd-article-card-img { aspect-ratio: 16/9; border-radius: 3px; overflow: hidden; margin-bottom: 14px; background: var(--paper); }
.dd-article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dd-article-card-cat { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.dd-article-card-title { font-family: var(--ff-head); font-size: .98rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; transition: color .2s; }
.dd-article-card-meta { font-size: 11px; color: var(--muted); margin-top: auto; }

/* ── LEARN SECTION ── */
.dd-learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dd-learn-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
}
.dd-learn-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.dd-learn-icon { font-size: 1.5rem; }
.dd-learn-title { font-family: var(--ff-head); font-size: .9rem; font-weight: 700; line-height: 1.3; }
.dd-learn-desc { font-size: .73rem; color: var(--muted); line-height: 1.55; }
.dd-learn-count { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

/* ── CATEGORY SECTION ── */
.dd-category-section { padding: 36px 0; border-top: 1px solid var(--border); }

/* ── SINGLE POST ── */
.dd-single { max-width: 800px; margin: 0 auto; padding: 40px 24px 80px; }
.dd-single-header { margin-bottom: 28px; }
.dd-single-cat { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.dd-single-cat::before { content: ''; width: 20px; height: 2px; background: var(--accent); }
.dd-single-title { font-family: var(--ff-head); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 16px; }
.dd-single-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dd-single-meta strong { color: var(--ink); }
.dd-single-featured { margin: 24px 0; border-radius: 4px; overflow: hidden; }
.dd-single-content { font-size: .95rem; line-height: 1.85; color: var(--ink); }
.dd-single-content p { margin-bottom: 1.4em; }
.dd-single-content h2 { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 900; margin: 2em 0 .7em; }
.dd-single-content h3 { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; margin: 1.6em 0 .6em; }
.dd-single-content blockquote { border-left: 4px solid var(--accent); padding: 12px 20px; background: var(--paper); margin: 1.8em 0; font-style: italic; color: var(--muted); }
.dd-single-content ul, .dd-single-content ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.dd-single-content ul { list-style: disc; }
.dd-single-content ol { list-style: decimal; }
.dd-single-content li { margin-bottom: .5em; }
.dd-single-content a { color: var(--accent); text-decoration: underline; }
.dd-single-content code { font-family: var(--ff-mono); font-size: .85em; background: var(--paper); padding: 2px 6px; border-radius: 3px; border: 1px solid var(--border); }
.dd-single-content pre { background: var(--ink); color: white; padding: 20px; border-radius: 4px; overflow-x: auto; margin-bottom: 1.4em; }

/* ── TAGS ── */
.dd-tag { display: inline-flex; padding: 3px 9px; border-radius: 2px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dd-tag-news    { background: rgba(232,53,26,.1);  color: var(--accent); }
.dd-tag-agency  { background: rgba(26,107,232,.1); color: var(--accent2); }
.dd-tag-launch  { background: rgba(201,148,26,.1); color: var(--gold); }
.dd-tag-learn   { background: rgba(39,174,96,.1);  color: #27AE60; }
.dd-tag-ctv     { background: rgba(155,89,182,.1); color: #9B59B6; }

/* ── FOOTER ── */
.dd-footer { background: var(--ink); color: white; margin-top: 0; }
.dd-footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 24px 44px;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.dd-footer-logo {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  letter-spacing: -.04em;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}
.dd-footer-logo span { color: var(--accent); }
.dd-footer-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.8; margin-bottom: 20px; }
.dd-footer-social { display: flex; gap: 8px; }
.dd-footer-social a {
  width: 34px; height: 34px;
  border-radius: 3px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  transition: all .2s;
}
.dd-footer-social a:hover { background: var(--accent); color: white; }
.dd-footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 18px;
}
.dd-footer-links { display: flex; flex-direction: column; gap: 10px; }
.dd-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 0;
}
.dd-footer-links a:hover { color: white; padding-left: 6px; }
.dd-footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.dd-footer-copy { font-size: 11px; color: rgba(255,255,255,.25); }
.dd-footer-copy a { color: rgba(255,255,255,.4); }
.dd-footer-copy a:hover { color: white; }
.dd-footer-badge {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 5px 12px;
  border-radius: 3px;
}

/* ── PAGINATION ── */
.dd-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 32px 0; }
.dd-pagination a, .dd-pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.dd-pagination a:hover { border-color: var(--ink); background: var(--ink); color: white; }
.dd-pagination .current { background: var(--accent); color: white; border-color: var(--accent); }

/* ── BREADCRUMBS ── */
.dd-breadcrumb { font-size: 11px; color: var(--muted); padding: 14px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.dd-breadcrumb a { color: var(--accent); }
.dd-breadcrumb .sep { color: var(--border); }

/* ── SEARCH ── */
.dd-search-form { display: flex; gap: 0; }
.dd-search-form input {
  flex: 1; padding: 10px 14px;
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 3px 0 0 3px;
  font-size: 13px;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color .2s;
}
.dd-search-form input:focus { border-color: var(--ink); }
.dd-search-form button {
  background: var(--ink); color: white;
  border: none; padding: 10px 16px;
  border-radius: 0 3px 3px 0;
  cursor: pointer; font-size: 13px;
  transition: background .2s;
}
.dd-search-form button:hover { background: var(--accent); }

/* ── MOBILE NAV ── */
.dd-mobile-nav {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  flex-direction: column;
  gap: 16px;
}
.dd-mobile-nav.open { display: flex; }
.dd-mobile-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dd-mobile-nav a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media(max-width: 1024px) {
  .dd-hero-grid { grid-template-columns: 1fr; }
  .dd-hero-main { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 28px; }
  .dd-hero-sidebar { padding-left: 0; }
  .dd-content-wrap { grid-template-columns: 1fr; }
  .dd-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .dd-grid-3 { grid-template-columns: 1fr 1fr; }
  .dd-learn-grid { grid-template-columns: 1fr 1fr; }
  .dd-footer-top { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 768px) {
  .dd-nav { display: none; }
  .dd-hamburger { display: flex; }
  .dd-news-card { grid-template-columns: 1fr; }
  .dd-news-card-img { display: none; }
  .dd-sidebar { grid-template-columns: 1fr; }
  .dd-grid-3 { grid-template-columns: 1fr; }
  .dd-hero-title { font-size: 1.8rem; }
}
@media(max-width: 480px) {
  .dd-learn-grid { grid-template-columns: 1fr; }
  .dd-footer-top { grid-template-columns: 1fr; }
  .dd-page { padding: 0 16px; }
  .dd-header-inner { padding: 0 16px; }
}

/* ── ANIMATIONS ── */
@keyframes ddFadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.dd-anim { animation: ddFadeUp .5s cubic-bezier(.16,1,.3,1) both; }
.dd-anim-d1 { animation-delay: .1s; }
.dd-anim-d2 { animation-delay: .2s; }
.dd-anim-d3 { animation-delay: .3s; }
