/* ==========================================================================
   Website design (news portal layout): header, menu, ticker, home sections,
   category / search list, article page, footer.  Loaded after the old CSS.
   ========================================================================== */
:root {
    --dd-navy: #082b68;
    --dd-navy-2: #051b45;
    --dd-navy-3: #0b2a6b;
    --dd-red: #d7191f;
    --dd-red-2: #b9121a;
    --dd-text: #111827;
    --dd-muted: #6b7280;
    --dd-line: #e4e8f0;
    --dd-soft: #f4f6fa;
    --dd-radius: 14px;
    --dd-shadow: 0 4px 16px rgba(15, 23, 42, .05);
    --dd-shadow-2: 0 16px 36px rgba(15, 23, 42, .08);
    --dd-font: "Noto Sans Devanagari", "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body.dd {
    font-family: var(--dd-font) !important;
    color: var(--dd-text);
    font-size: 16px;
    background: linear-gradient(#f7f9fc 0%, #fff 420px, #f6f8fb 100%) !important;
    -webkit-font-smoothing: antialiased;
}
body.dd h1, body.dd h2, body.dd h3, body.dd h4, body.dd h5, body.dd p, body.dd a,
body.dd span, body.dd li, body.dd input, body.dd button, body.dd textarea, body.dd select {
    font-family: var(--dd-font) !important;
}
body.dd a { text-decoration: none; }
body.dd #main-wrapper { overflow: visible; }
.dd-wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.dd-main { min-height: 50vh; }

/* ---------------- top strip ---------------- */
.dd-topbar { background: linear-gradient(90deg, var(--dd-navy-2), var(--dd-navy) 46%, #062457); color: #fff; font-size: 14px; }
.dd-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.dd-top-left, .dd-top-right { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.dd-top-left i { color: #ffd27a; margin-right: 4px; }
.dd-top-left b { font-weight: 700; }
.dd-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); display: inline-block; }
body.dd .dd-topbar a { color: #fff; font-weight: 600; }
.dd-top-right > a i { color: #ffd27a; }
.dd-lang { display: inline-flex; background: rgba(255, 255, 255, .12); border-radius: 20px; padding: 2px; }
body.dd .dd-lang a { padding: 1px 10px; border-radius: 20px; font-size: 13px; color: #dbe4ff; }
body.dd .dd-lang a.active { background: #fff; color: var(--dd-navy); }
.dd-follow { color: #cfd8ea; font-size: 13px; }
.dd-top-soc { display: inline-flex; gap: 5px; }
.dd-top-soc .dd-soc { width: 26px; height: 26px; font-size: 13px; }

/* brand coloured round social buttons */
.dd-soc { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; background: #334155; transition: transform .15s; }
.dd-soc:hover { transform: translateY(-2px); }
.dd-soc-facebook-f, .dd-soc-facebook { background: #1877f2; }
.dd-soc-instagram { background: radial-gradient(circle at 30% 110%, #fdc468 0%, #df4996 45%, #7e3ff2 100%); }
.dd-soc-youtube { background: #ff0000; }
.dd-soc-twitter, .dd-soc-x-twitter { background: #000; }
.dd-soc-linkedin-in, .dd-soc-linkedin { background: #0a66c2; }
.dd-soc-whatsapp { background: #25d366; }
.dd-soc-telegram-plane { background: #229ed9; }

/* ---------------- logo row ---------------- */
.dd-brandbar { background: #fff; position: relative; z-index: 5; }
.dd-brandbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.dd-logo img { max-height: 50px; max-width: 260px; width: auto; display: block; }
.dd-brand-actions { display: flex; align-items: center; gap: 10px; }
.dd-pill { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 24px; font-weight: 700; font-size: 16px; border: 1px solid; white-space: nowrap; }
body.dd .dd-pill-live { color: #b45309; border-color: #f4d6a4; background: #fff8ec; }
body.dd .dd-pill-tip { color: var(--dd-red); border-color: #f5c2c4; background: #fff6f6; }
body.dd .dd-pill-reporter { color: var(--dd-navy); border-color: #c9d6f2; background: #f3f7ff; }
.dd-pill:hover { filter: brightness(.97); }
.dd-icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--dd-line); background: #fff; color: var(--dd-navy); font-size: 17px; }
body.dd .dd-signin { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-radius: 24px; border: 1px solid var(--dd-line); color: var(--dd-text); font-weight: 700; font-size: 17px; }
.dd-signin i { font-size: 19px; }
.dd-searchbox { display: none; border-top: 1px solid var(--dd-line); background: #fff; padding: 10px 0; }
.dd-searchbox.open { display: block; }
.dd-searchbox .dd-wrap, .dd-inline-search { display: flex; gap: 8px; }
.dd-searchbox input, .dd-inline-search input { flex: 1; height: 46px; border: 1px solid var(--dd-line); border-radius: 10px; padding: 0 14px; font-size: 16px; outline: none; }
.dd-searchbox input:focus, .dd-inline-search input:focus { border-color: var(--dd-navy); }
.dd-searchbox button, .dd-inline-search button { height: 46px; border: 0; border-radius: 10px; background: var(--dd-navy); color: #fff; padding: 0 20px; font-weight: 700; }

/* ---------------- sticky nav + ticker ---------------- */
.dd-sticky { position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 18px rgba(8, 43, 104, .08); }
.dd-nav { background: linear-gradient(90deg, var(--dd-navy-2), var(--dd-navy) 46%, #062457); border-bottom: 3px solid var(--dd-red); }
.dd-nav-in { display: flex; align-items: stretch; height: 50px; }
.dd-burger { background: transparent; border: 0; color: #fff; font-size: 21px; width: 48px; flex: 0 0 auto; }
.dd-nav-logo { display: flex; align-items: center; padding: 0 10px; flex: 0 0 auto; }
.dd-nav-logo img { height: 34px; max-width: 72px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 5px; }
.dd-menu { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dd-menu::-webkit-scrollbar { display: none; }
.dd-menu > li { position: static; display: flex; }
body.dd .dd-menu > li > a { display: flex; align-items: center; gap: 7px; color: #fff; font-size: 16px; font-weight: 600; padding: 0 12px; white-space: nowrap; transition: background .15s; }
.dd-menu > li > a i { font-size: 15px; opacity: .95; }
body.dd .dd-menu > li > a:hover, body.dd .dd-menu > li > a.active { background: rgba(255, 255, 255, .12); color: #fff; }
.dd-caret { font-size: 10px !important; }
.dd-sub { display: none; position: absolute; right: 16px; top: 50px; background: #fff; list-style: none; margin: 0; padding: 8px; border-radius: 10px; box-shadow: var(--dd-shadow-2); min-width: 220px; z-index: 60; }
.dd-has-sub.open .dd-sub { display: block; }
body.dd .dd-sub a { display: block; padding: 9px 12px; color: var(--dd-text); font-weight: 600; border-radius: 8px; }
body.dd .dd-sub a:hover { background: var(--dd-soft); color: var(--dd-navy); }

.dd-breaking { background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); }
.dd-breaking-in { display: flex; align-items: center; gap: 14px; height: 46px; }
.dd-breaking-label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; background: var(--dd-red); color: #fff; font-weight: 700; font-size: 14px; padding: 5px 13px; border-radius: 20px; box-shadow: 0 4px 12px rgba(215, 25, 31, .3); }
.dd-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; position: relative; border: 2px solid rgba(255,255,255,.5); box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ddPulse 1.6s infinite; }
@keyframes ddPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.dd-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.dd-marquee-track { display: inline-flex; gap: 44px; white-space: nowrap; animation: ddMarquee 60s linear infinite; will-change: transform; }
.dd-marquee-slow { animation-duration: 80s; }
.dd-marquee:hover .dd-marquee-track { animation-play-state: paused; }
body.dd .dd-breaking .dd-marquee-track a { color: var(--dd-text); font-weight: 600; font-size: 17px; }
body.dd .dd-breaking .dd-marquee-track a:hover { color: var(--dd-red); }
@keyframes ddMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- drawer ---------------- */
.dd-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(5, 27, 69, .55); opacity: 0; visibility: hidden; transition: .2s; }
.dd-drawer.open { opacity: 1; visibility: visible; }
.dd-drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: 320px; max-width: 86vw; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; }
.dd-drawer.open .dd-drawer-panel { transform: none; }
.dd-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--dd-line); }
.dd-drawer-head img { max-height: 40px; max-width: 200px; }
.dd-drawer-head button { border: 0; background: var(--dd-soft); width: 38px; height: 38px; border-radius: 50%; font-size: 17px; }
.dd-drawer-search { display: flex; margin: 14px 16px; border: 1px solid var(--dd-line); border-radius: 10px; overflow: hidden; }
.dd-drawer-search input { flex: 1; border: 0; padding: 10px 12px; outline: none; }
.dd-drawer-search button { border: 0; background: var(--dd-navy); color: #fff; width: 46px; }
.dd-drawer ul { list-style: none; margin: 0; padding: 0 8px; }
body.dd .dd-drawer ul a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; color: var(--dd-text); font-weight: 600; font-size: 17px; border-bottom: 1px solid #f1f3f7; }
.dd-drawer ul a i { width: 20px; color: var(--dd-navy); text-align: center; }
.dd-drawer-lang { display: flex; gap: 8px; padding: 16px; }
body.dd .dd-drawer-lang a { flex: 1; text-align: center; padding: 9px; border-radius: 10px; border: 1px solid var(--dd-line); color: var(--dd-text); font-weight: 700; }
body.dd .dd-drawer-lang a.active { background: var(--dd-navy); color: #fff; border-color: var(--dd-navy); }

/* ---------------- common bits ---------------- */
body.dd .dd-cat { display: inline-block; font-size: 14px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
body.dd .dd-t { color: var(--dd-text); font-weight: 600; line-height: 1.45; display: block; }
body.dd .dd-t:hover, body.dd .dd-card h3 a:hover, body.dd .dd-block-lead h3 a:hover { color: var(--dd-red); }
body.dd .dd-more { color: var(--dd-red); font-weight: 700; font-size: 15px; white-space: nowrap; }
.dd-more i { font-size: 12px; margin-left: 3px; transition: transform .15s; }
.dd-more:hover i { transform: translateX(3px); }
.dd-red-dot { width: 11px; height: 11px; background: var(--dd-red); border-radius: 50%; display: inline-block; margin-right: 6px; }
.dd-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef2f9, #f8fafc); }
.dd-noimg img { width: 45% !important; height: auto !important; object-fit: contain !important; opacity: .35; }
.dd-btn-red, .dd-btn-ghost, .dd-btn-navy { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 26px; font-weight: 700; font-size: 16px; border: 0; }
body.dd .dd-btn-red { background: var(--dd-red); color: #fff; box-shadow: 0 8px 20px rgba(215, 25, 31, .25); }
body.dd .dd-btn-red:hover { background: var(--dd-red-2); color: #fff; }
body.dd .dd-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
body.dd .dd-btn-navy { background: var(--dd-navy); color: #fff; }

/* section heading: dark bar on the left + red underline under the title */
.dd-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--dd-line); }
.dd-sec-head h2 { position: relative; margin: 0; padding: 0 0 10px 14px; font-size: 24px; font-weight: 700; color: var(--dd-text); }
.dd-sec-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--dd-navy); }
.dd-sec-head h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--dd-red); border-radius: 2px; }
.dd-section { margin-bottom: 38px; }

/* ---------------- hero ---------------- */
.dd-home { padding-top: 24px; }
.dd-hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; margin-bottom: 22px; }
.dd-lead { position: relative; display: block; border-radius: var(--dd-radius); overflow: hidden; aspect-ratio: 16 / 7; background: #0f172a; }
.dd-lead > img, .dd-lead > .dd-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dd-lead:hover > img { transform: scale(1.03); }
.dd-lead-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(3, 10, 30, .85) 100%); }
.dd-lead-text { position: absolute; left: 26px; right: 26px; bottom: 22px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dd-lead-text strong { font-size: 32px; line-height: 1.35; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.dd-lead-text small { font-size: 15px; opacity: .9; }
.dd-badge-red { display: inline-flex; align-items: center; gap: 6px; background: var(--dd-red); color: #fff; font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 6px; }
.dd-hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.dd-card h3 { font-size: 19px; line-height: 1.45; font-weight: 600; margin: 0; }
body.dd .dd-card h3 a { color: var(--dd-text); }
.dd-card-img { display: block; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--dd-soft); margin-bottom: 10px; }
.dd-card-img img, .dd-card-img .dd-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dd-card:hover .dd-card-img img, .dd-block-lead:hover .dd-card-img img { transform: scale(1.04); }

/* latest feed (right of hero) */
.dd-panel { background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius); box-shadow: var(--dd-shadow); padding: 18px 20px; margin-bottom: 22px; }
.dd-panel-head { margin-bottom: 12px; }
.dd-panel-head small { display: block; color: var(--dd-red); font-weight: 700; font-size: 12px; line-height: 1; margin-bottom: 4px; }
.dd-panel-head h3 { margin: 0; font-size: 22px; font-weight: 700; color: var(--dd-text); }
.dd-panel-head-line { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 3px solid var(--dd-red); }
.dd-timelist { list-style: none; margin: 0; padding: 0; }
.dd-timelist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.dd-timelist li:last-child { border-bottom: 0; padding-bottom: 0; }
.dd-timelist time { flex: 0 0 48px; font-size: 14px; font-weight: 700; color: var(--dd-navy); padding-top: 2px; }
.dd-timelist .dd-t { font-size: 16px; }
.dd-timelist-red time { color: var(--dd-red); flex-basis: 70px; font-size: 13px; }
.dd-feed { }
.dd-feed-plain { max-height: none; }

/* trending strip */
.dd-trend { display: flex; align-items: center; gap: 14px; background: var(--dd-navy-3); border-radius: 12px; padding: 10px 16px; margin-bottom: 22px; color: #fff; }
.dd-trend-label { flex: 0 0 auto; font-weight: 700; color: #ffd27a; font-size: 17px; }
body.dd .dd-trend .dd-marquee-track a { color: #fff; font-weight: 600; font-size: 17px; }
.dd-trend .dd-marquee-track b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--dd-red); font-size: 12px; margin-right: 6px; }

/* live strip */
.dd-live { border: 1px solid #f6d2d4; border-left: 4px solid var(--dd-red); background: #fff; border-radius: 12px; padding: 14px 20px; margin-bottom: 34px; box-shadow: var(--dd-shadow); }
.dd-live-head { display: flex; align-items: center; gap: 14px; }
.dd-live-head h2 { flex: 1; margin: 0; font-size: 20px; font-weight: 700; }
.dd-live-pill { display: inline-flex; align-items: center; gap: 7px; background: #fde8e9; color: var(--dd-red); border-radius: 20px; padding: 3px 12px; font-weight: 800; font-size: 13px; letter-spacing: .5px; }
.dd-live-pill .dd-live-dot { background: var(--dd-red); border-color: #f8b4b7; }
.dd-live-list { list-style: none; margin: 10px 0 0; padding: 0; }
.dd-live-list li { display: flex; gap: 14px; padding: 4px 0; }
.dd-live-list time { flex: 0 0 auto; font-weight: 700; color: var(--dd-navy); font-size: 14px; }
body.dd .dd-live-list a { color: #334155; font-size: 16px; }
body.dd .dd-live-list a:hover { color: var(--dd-red); }

/* ---------------- main grid ---------------- */
.dd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.dd-grid-side, .dd-article-side, .dd-listing-side { position: sticky; top: 112px; }
.dd-cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.dd-cards-3 .dd-card h3 { font-size: 17px; }
.dd-cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dd-cards-4 .dd-card h3 { font-size: 16px; }
.dd-photo .dd-card-img i { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* category block: big story left, list right */
.dd-block-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; }
.dd-card-img-lg { aspect-ratio: 16 / 10; border-radius: 12px; }
.dd-block-lead h3 { font-size: 24px; line-height: 1.4; font-weight: 700; margin: 0 0 8px; }
body.dd .dd-block-lead h3 a { color: var(--dd-text); }
.dd-block-lead p { color: var(--dd-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.dd-noimg-lead h3 { font-size: 26px; }
.dd-block-list { list-style: none; margin: 0; padding: 0; }
.dd-block-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.dd-block-list li:first-child { padding-top: 0; }
.dd-block-list li:last-child { border-bottom: 0; }
.dd-block-list .dd-t { font-size: 16px; }
.dd-block-list time, .dd-two-list time { display: block; color: var(--dd-muted); font-size: 13px; margin-top: 4px; }
.dd-mini-img { flex: 0 0 96px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--dd-soft); }
.dd-mini-img img, .dd-mini-img .dd-noimg { width: 100%; height: 100%; object-fit: cover; }

.dd-two-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.dd-two-list li { padding: 12px 0; border-bottom: 1px solid #eef1f6; }

/* promo banner (navy gradient) */
.dd-promo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; border-radius: 18px; padding: 30px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(215, 25, 31, .35), transparent 45%), linear-gradient(135deg, var(--dd-navy-2), #1b3b85 60%, #3b2a6b); box-shadow: var(--dd-shadow-2); margin-bottom: 38px; }
.dd-promo-art { aspect-ratio: 3 / 4; background: #fff; color: var(--dd-navy); border-radius: 10px; transform: rotate(-4deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; font-weight: 800; }
.dd-promo-art i { font-size: 70px; color: var(--dd-red); }
.dd-promo small { color: #ffb4b7; font-weight: 700; font-size: 14px; }
.dd-promo h2 { font-size: 34px; font-weight: 800; margin: 6px 0 10px; color: #fff; }
.dd-promo p { color: #dbe4ff; font-size: 16px; line-height: 1.6; }
.dd-promo ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.dd-promo li { color: #fff; font-weight: 600; }
.dd-promo li i { color: #4ade80; margin-right: 6px; }
.dd-promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- sidebar widgets ---------------- */
.dd-glance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dd-glance-box { border: 1px solid var(--dd-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.dd-glance-box i { color: #f59e0b; font-size: 18px; margin-bottom: 4px; }
.dd-glance-box small { color: var(--dd-muted); font-size: 13px; }
.dd-glance-box b { font-size: 21px; color: var(--dd-navy); }
.dd-glance-box span { color: #475569; font-size: 14px; }
.dd-glance-wide { grid-column: 1 / -1; }
.dd-numlist { list-style: none; margin: 0; padding: 0; }
.dd-numlist li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.dd-numlist li:last-child { border-bottom: 0; }
.dd-numlist span { flex: 0 0 26px; height: 26px; border-radius: 6px; background: #eef2fb; color: var(--dd-navy); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
body.dd .dd-numlist a { color: var(--dd-text); font-weight: 600; font-size: 15px; line-height: 1.45; }
body.dd .dd-numlist a:hover { color: var(--dd-red); }
.dd-numlist-big span { background: transparent; color: #cbd5e1; font-size: 26px; flex-basis: 40px; height: auto; }
.dd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
body.dd .dd-chips a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--dd-line); border-radius: 20px; padding: 6px 13px; color: var(--dd-navy); font-weight: 600; font-size: 15px; }
.dd-chips a i { color: #64748b; font-size: 12px; }
body.dd .dd-chips a:hover { border-color: var(--dd-navy); background: #f3f7ff; }
.dd-catlist { list-style: none; margin: 0; padding: 0; }
.dd-catlist li { padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.dd-catlist li:last-child { border-bottom: 0; }
.dd-catlist .dd-cat { font-size: 13px; margin-bottom: 2px; }
.dd-catlist .dd-t { font-size: 15px; }
.dd-reporter-cta { text-align: center; background: linear-gradient(160deg, #fff, #f3f7ff); }
.dd-reporter-cta > i { font-size: 44px; color: var(--dd-red); }
.dd-reporter-cta h3 { font-size: 21px; font-weight: 800; margin: 8px 0 4px; }
.dd-reporter-cta p { color: var(--dd-muted); font-size: 15px; }

/* ---------------- category / search list ---------------- */
.dd-listing { padding-top: 24px; padding-bottom: 20px; }
.dd-listing-grid, .dd-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.dd-page-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--dd-line); margin-bottom: 18px; }
.dd-page-head h1 { position: relative; margin: 0; padding-bottom: 10px; font-size: 38px; font-weight: 800; color: var(--dd-text); }
.dd-page-head h1::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--dd-red); border-radius: 2px; }
.dd-page-head span { color: var(--dd-muted); padding-bottom: 10px; }
.dd-page-head span b { color: var(--dd-text); font-size: 17px; }
.dd-inline-search { margin-bottom: 18px; }
.dd-list-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius); box-shadow: var(--dd-shadow); padding: 12px; margin-bottom: 16px; transition: box-shadow .2s, transform .2s; }
.dd-list-card:hover { box-shadow: var(--dd-shadow-2); transform: translateY(-1px); }
.dd-list-card-noimg { padding: 22px 20px; }
.dd-list-img { position: relative; flex: 0 0 260px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--dd-soft); align-self: flex-start; }
.dd-list-img img { width: 100%; height: 100%; object-fit: cover; }
.dd-list-badge { position: absolute; left: 8px; top: 8px; background: var(--dd-navy); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 5px; }
.dd-list-body { min-width: 0; padding: 4px 6px 4px 0; display: flex; flex-direction: column; }
.dd-list-body h3 { font-size: 20px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; }
body.dd .dd-list-body h3 a { color: var(--dd-text); }
body.dd .dd-list-body h3 a:hover { color: var(--dd-red); }
.dd-list-body p { color: #4b5563; font-size: 15px; line-height: 1.6; margin: 0 0 10px; }
.dd-list-body time { color: var(--dd-muted); font-size: 13px; margin-top: auto; }
.dd-empty { background: #fff; border: 1px dashed var(--dd-line); border-radius: var(--dd-radius); padding: 40px; text-align: center; color: var(--dd-muted); font-size: 17px; }
.dd-empty i { display: block; font-size: 34px; margin-bottom: 10px; color: #cbd5e1; }
.dd-pager .pagination { justify-content: center; gap: 6px; margin: 24px 0 10px; }
.dd-pager .page-link { border-radius: 8px !important; border: 1px solid var(--dd-line); color: var(--dd-navy); font-weight: 700; min-width: 40px; text-align: center; }
.dd-pager .page-item.active .page-link { background: var(--dd-navy); border-color: var(--dd-navy); color: #fff; }

/* ---------------- article ---------------- */
.dd-article-wrap { padding-top: 26px; padding-bottom: 20px; }
.dd-article-grid { grid-template-columns: 52px minmax(0, 1fr) 340px; }
.dd-share-rail { position: sticky; top: 118px; display: flex; flex-direction: column; gap: 10px; }
.dd-share-rail a, .dd-share-rail button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--dd-line); background: #fff; color: #334155; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: var(--dd-shadow); }
.dd-share-rail .dd-wa { color: #16a34a; }
.dd-share-rail a:hover, .dd-share-rail button:hover { border-color: var(--dd-navy); color: var(--dd-navy); }
.dd-article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
body.dd .dd-tag-navy { background: var(--dd-navy); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 20px; }
.dd-tag-pink { background: #fde8e9; color: var(--dd-red); font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 20px; }
.dd-tag-light { background: var(--dd-soft); color: #475569; font-weight: 600; font-size: 14px; padding: 4px 14px; border-radius: 20px; }
.dd-article h1 { font-size: 40px; line-height: 1.38; font-weight: 800; color: var(--dd-text); margin: 0 0 14px; }
.dd-article-meta { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--dd-muted); font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--dd-line); margin-bottom: 18px; }
.dd-article-meta span:not(:last-child)::after { content: "•"; margin: 0 10px; color: #cbd5e1; }
.dd-article-fig { margin: 0 0 10px; }
.dd-fig-media { position: relative; border-radius: var(--dd-radius); overflow: hidden; background: #0f172a; }
.dd-fig-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.8); }
.dd-article-fig img { position: relative; display: block; max-width: 100%; max-height: 560px; margin: 0 auto; }
.dd-article-fig figcaption { color: var(--dd-muted); font-size: 14px; padding: 10px 2px 0; }
.dd-article-tools { display: flex; gap: 10px; margin: 16px 0 20px; }
.dd-article-tools button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--dd-line); background: #fff; border-radius: 22px; padding: 7px 16px; font-weight: 600; color: #334155; }
.dd-article-tools button.on { background: var(--dd-navy); color: #fff; border-color: var(--dd-navy); }
.dd-article-summary { font-size: 20px; line-height: 1.7; font-weight: 600; color: #1f2937; border-left: 4px solid var(--dd-red); padding-left: 14px; margin-bottom: 18px; }
.dd-article-body { font-size: 19px; line-height: 1.9; color: #1f2937; text-align: justify; word-break: break-word; }
.dd-article-body p { font-size: inherit; line-height: inherit; color: inherit; margin-bottom: 1.1em; }
.dd-article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.dd-article-body iframe { max-width: 100%; }
body.dd .dd-next { display: block; background: linear-gradient(90deg, var(--dd-navy-2), var(--dd-navy)); color: #fff; border-radius: 12px; padding: 14px 18px; margin: 26px 0; }
.dd-next small { color: #ffd27a; font-weight: 700; display: block; margin-bottom: 4px; }
.dd-next strong { font-size: 18px; font-weight: 700; }
.dd-related h2, .dd-comments h2 { font-size: 26px; font-weight: 800; margin: 10px 0 16px; }
.dd-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.dd .dd-related-card { background: #fff; border: 1px solid var(--dd-line); border-radius: 12px; box-shadow: var(--dd-shadow); padding: 16px; color: var(--dd-text); display: flex; flex-direction: column; gap: 10px; }
.dd-related-card strong { font-weight: 700; font-size: 16px; line-height: 1.5; }
.dd-related-card time { color: var(--dd-muted); font-size: 13px; }
.dd-related-card:hover strong { color: var(--dd-red); }
.dd-comments { margin-top: 30px; }
.dd-comments h2 small { color: var(--dd-muted); font-size: 16px; }
.dd-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef1f6; }
.dd-avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--dd-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; text-transform: uppercase; }
.dd-comment time { color: var(--dd-muted); font-size: 13px; margin-left: 8px; }
.dd-comment p { margin: 4px 0 0; color: #334155; }
.dd-comment-form { background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius); padding: 18px; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.dd-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dd-comment-form input, .dd-comment-form textarea { width: 100%; border: 1px solid var(--dd-line); border-radius: 10px; padding: 10px 14px; font-size: 16px; outline: none; }
.dd-comment-form input:focus, .dd-comment-form textarea:focus { border-color: var(--dd-navy); }
.dd-comment-form button { align-self: flex-start; }

/* ---------------- footer ---------------- */
.dd-footer { background: linear-gradient(135deg, var(--dd-navy-2), var(--dd-navy) 55%, #0a2a63); color: #d8dee8; margin-top: 40px; padding-top: 44px; }
.dd-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) 1.3fr; gap: 28px; padding-bottom: 34px; }
.dd-foot-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.dd-foot-logo img { max-height: 70px; max-width: 200px; display: block; }
.dd-foot-brand p { color: #d8dee8; font-size: 15px; line-height: 1.6; }
.dd-foot-soc { display: flex; gap: 8px; margin-top: 8px; }
.dd-foot-col h4 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 14px; }
body.dd .dd-foot-col a, .dd-foot-col span { display: block; color: #d8dee8; font-size: 15px; padding: 4px 0; }
body.dd .dd-foot-col a:hover { color: #fff; }
.dd-foot-col i { width: 18px; color: #93a4c8; margin-right: 6px; }
body.dd .dd-foot-cta { margin-top: 10px; color: #ffd27a !important; font-weight: 700; }
.dd-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: 14px; color: #c3cde0; }
.dd-foot-bottom-in { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* floating social rail + top button */
.dd-social-rail { position: fixed; right: 0; top: 40%; z-index: 40; display: flex; flex-direction: column; border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: var(--dd-shadow-2); }
.dd-social-rail .dd-soc { border-radius: 0; width: 36px; height: 36px; }
.dd-to-top { position: fixed; right: 20px; bottom: 22px; z-index: 45; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--dd-red); color: #fff; font-size: 17px; box-shadow: 0 10px 24px rgba(215, 25, 31, .35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.dd-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* reveal on scroll */
.dd-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.dd-reveal.in { opacity: 1; transform: none; }

/* old pages (contact, gallery, sign in ...) inside the new layout */
body.dd .maan-breadcrumb { background: transparent; }
body.dd main.dd-main > main { padding-top: 10px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1199px) {
    .dd-hero, .dd-grid, .dd-listing-grid { grid-template-columns: minmax(0, 1fr) 300px; }
    .dd-article-grid { grid-template-columns: 46px minmax(0, 1fr) 300px; }
    .dd-lead-text strong { font-size: 26px; }
    .dd-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .dd-foot-contact { grid-column: span 2; }
    .dd-pill-reporter { display: none !important; }
}
@media (max-width: 991px) {
    .dd-hero, .dd-grid, .dd-listing-grid { grid-template-columns: 1fr; }
    .dd-article-grid { grid-template-columns: 1fr; }
    .dd-share-rail { display: none; }
    .dd-grid-side, .dd-article-side, .dd-listing-side { position: static; }
    .dd-feed { max-height: none; }
    .dd-nav-logo { display: none; }
    .dd-article h1 { font-size: 30px; }
    .dd-promo { grid-template-columns: 1fr; }
    .dd-promo-art { display: none; }
    .dd-social-rail { display: none; }
    .dd-pill-live { display: none !important; }
}
@media (max-width: 767px) {
    body.dd { font-size: 15px; }
    .dd-topbar { font-size: 12px; }
    .dd-follow, .dd-top-soc { display: none !important; }
    .dd-logo img { max-height: 40px; max-width: 170px; }
    .dd-pill, .dd-signin { height: 38px !important; padding: 0 12px !important; font-size: 14px !important; }
    .dd-icon-btn { width: 38px; height: 38px; }
    .dd-lead { aspect-ratio: 4 / 3; }
    .dd-lead-text { left: 14px; right: 14px; bottom: 14px; }
    .dd-lead-text strong { font-size: 21px; }
    .dd-hero-cards, .dd-cards-3 { grid-template-columns: 1fr 1fr; gap: 14px; }
    .dd-hero-cards .dd-card:nth-child(3) { display: none; }
    .dd-card h3, .dd-cards-3 .dd-card h3 { font-size: 15px; }
    .dd-cards-4 { grid-template-columns: 1fr 1fr; }
    .dd-block-grid, .dd-two-list, .dd-related-grid, .dd-form-row, .dd-promo ul { grid-template-columns: 1fr; }
    .dd-block-lead h3 { font-size: 20px; }
    .dd-sec-head h2 { font-size: 21px; }
    .dd-live-head { flex-wrap: wrap; }
    .dd-live-head h2 { font-size: 17px; flex-basis: 100%; order: 3; }
    .dd-trend-label span { display: none; }
    .dd-list-card { flex-direction: column; gap: 10px; }
    .dd-list-img { flex-basis: auto; width: 100%; }
    .dd-page-head h1 { font-size: 28px; }
    .dd-article h1 { font-size: 25px; }
    .dd-article-body { font-size: 17px; text-align: left; }
    .dd-promo { padding: 22px; }
    .dd-promo h2 { font-size: 26px; }
    .dd-foot-grid { grid-template-columns: 1fr 1fr; }
    .dd-foot-brand, .dd-foot-contact { grid-column: 1 / -1; }
    .dd-breaking-label { font-size: 12px; padding: 4px 10px; }
    body.dd .dd-breaking .dd-marquee-track a { font-size: 15px; }
}
@media (max-width: 420px) {
    .dd-pill-tip { display: none !important; }
    .dd-hero-cards, .dd-cards-3 { grid-template-columns: 1fr; }
    .dd-hero-cards .dd-card:nth-child(3) { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .dd-marquee-track { animation: none; }
    .dd-reveal { opacity: 1; transform: none; }
}
@media print {
    .dd-topbar, .dd-brandbar, .dd-sticky, .dd-share-rail, .dd-article-side, .dd-footer, .dd-social-rail, .dd-to-top, .dd-article-tools, .dd-comments, .dd-related, .dd-next { display: none !important; }
    .dd-article-grid { display: block; }
}
body.dd .dd-glance-link { color: inherit; }
.dd-glance-link span i { color: var(--dd-red); font-size: 11px; margin-left: 4px; }
.dd-glance-link:hover { border-color: var(--dd-navy); }
.dd-card-time { display: block; color: var(--dd-muted); font-size: 13px; margin-top: 4px; }
.dd-gallery-grid { margin-bottom: 10px; }

/* the old theme gives every <section> 70px padding: not for the new blocks */
body.dd section[class*="dd-"] { padding: 0; }
body.dd section.dd-panel { padding: 18px 20px; }
body.dd section.dd-live { padding: 14px 20px; }
body.dd section.dd-promo { padding: 30px; }
body.dd section.dd-trend { padding: 10px 16px; }
@media (max-width: 767px) { body.dd section.dd-promo { padding: 22px; } }
.dd-promo-art img { max-width: 100%; max-height: 54px; object-fit: contain; }
.dd-promo-art span { color: var(--dd-red); font-size: 20px; }
.dd-img-broken { display: none !important; }
.dd-article-tools { flex-wrap: wrap; }
body.dd .dd-tool-wa { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #bbf7d0; background: #f0fdf4; color: #15803d; border-radius: 22px; padding: 7px 16px; font-weight: 600; }

/* long titles: keep the cards and the side list tidy */
.dd-hero-side .dd-timelist .dd-t, .dd-card h3 a, .dd-block-list .dd-t, .dd-numlist a, .dd-catlist .dd-t, .dd-related-card strong {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.dd-lead-text strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.dd-block-lead p, .dd-list-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.dd-soc-pinterest-p, .dd-soc-pinterest { background: #e60023; }
.dd-soc-telegram { background: #229ed9; }

/* ---------------- e-paper viewer ---------------- */
.dd-epaper-wrap { padding-top: 22px; padding-bottom: 10px; }
.epx { background: #fff; border: 1px solid var(--dd-line); border-radius: var(--dd-radius); box-shadow: var(--dd-shadow-2); overflow: hidden; }
.epx-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--dd-line); }
.epx-title small { display: block; color: var(--dd-red); font-weight: 700; font-size: 12px; line-height: 1; }
.epx-title h1 { font-size: 20px; font-weight: 800; margin: 3px 0 0; color: var(--dd-text); }
.epx-title span { color: var(--dd-muted); font-size: 14px; }
.epx-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.epx-group { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--dd-line); border-radius: 10px; padding: 3px; }
.epx-group button, .epx-group a { display: inline-flex; align-items: center; gap: 6px; height: 34px; min-width: 34px; justify-content: center; padding: 0 9px; border: 0; background: transparent; border-radius: 7px; color: #334155; font-weight: 600; font-size: 14px; }
body.dd .epx-group a { color: #334155; }
.epx-group button:hover, .epx-group a:hover { background: var(--dd-soft); color: var(--dd-navy); }
.epx-zoomval { min-width: 58px !important; }
.epx-pagesel { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0 4px; font-size: 14px; color: #334155; font-weight: 600; }
.epx-pagesel select { height: 30px; border: 1px solid var(--dd-line); border-radius: 6px; padding: 0 4px; }
.epx-date { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0 6px; color: #334155; }
.epx-date input { border: 0; height: 32px; font-size: 14px; font-weight: 600; color: #334155; background: transparent; outline: none; }
body.dd .epx-group .epx-pdf { background: var(--dd-red); color: #fff; padding: 0 14px; }
body.dd .epx-group .epx-pdf:hover { background: var(--dd-red-2); color: #fff; }
.epx-body { display: grid; grid-template-columns: 110px minmax(0, 1fr) 320px; height: calc(100vh - 240px); min-height: 560px; }
.epx-thumbs { overflow-y: auto; padding: 10px; border-right: 1px solid var(--dd-line); display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.epx-thumbs button { position: relative; border: 2px solid transparent; border-radius: 6px; padding: 0; background: #fff; box-shadow: var(--dd-shadow); flex: 0 0 auto; }
.epx-thumbs button.active { border-color: var(--dd-red); }
.epx-thumbs img { width: 100%; display: block; border-radius: 4px; }
.epx-thumbs span { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); background: rgba(15, 23, 42, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 0 7px; border-radius: 9px; }
.epx-stage { position: relative; overflow: auto; background: #eef1f6; padding: 14px; text-align: center; }
.epx-stage img { max-width: 100%; height: auto; box-shadow: 0 6px 24px rgba(15, 23, 42, .18); background: #fff; display: inline-block; cursor: zoom-in; }
.epx-zoomed .epx-stage img { cursor: zoom-out; }
.epx-side-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(8, 43, 104, .75); color: #fff; font-size: 18px; z-index: 2; display: none; }
.epx-side-prev { left: 8px; }
.epx-side-next { right: 8px; }
.epx-side { border-left: 1px solid var(--dd-line); display: flex; flex-direction: column; min-height: 0; }
.epx-tabs { display: flex; border-bottom: 1px solid var(--dd-line); }
.epx-tabs button { flex: 1; border: 0; background: transparent; padding: 12px 8px; font-weight: 700; font-size: 14px; color: var(--dd-muted); border-bottom: 3px solid transparent; }
.epx-tabs button.active { color: var(--dd-text); border-bottom-color: var(--dd-red); }
.epx-tabs b { background: var(--dd-navy); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-left: 4px; }
.epx-pane { overflow-y: auto; padding: 8px 14px 14px; flex: 1; min-height: 0; }
body.dd .epx-news { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eef1f6; color: var(--dd-text); font-weight: 600; font-size: 15px; line-height: 1.45; }
.epx-news:hover { color: var(--dd-red) !important; }
.epx-num { flex: 0 0 18px; color: var(--dd-muted); font-size: 13px; padding-top: 2px; }
.epx-news img { flex: 0 0 64px; width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.epx-news small { display: block; font-size: 12px; font-weight: 700; }
.epx-none { color: var(--dd-muted); padding: 16px 0; }
.epx-card { border: 1px solid var(--dd-line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.epx-card.current { border-color: var(--dd-red); box-shadow: 0 0 0 2px rgba(215, 25, 31, .08); }
.epx-card-head { display: flex; justify-content: space-between; gap: 8px; }
body.dd .epx-card-head a { color: var(--dd-text); }
.epx-card-head button { border: 0; background: var(--dd-soft); width: 30px; height: 30px; border-radius: 50%; color: #475569; flex: 0 0 auto; }
.epx-card small { color: var(--dd-muted); }
.epx-card small em { color: var(--dd-red); font-style: normal; font-weight: 700; }
.epx-card-img { position: relative; display: block; margin-top: 8px; border-radius: 8px; overflow: hidden; max-height: 210px; background: var(--dd-soft); }
.epx-card-img img { width: 100%; display: block; }
.epx-card-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 700; font-size: 14px; }
.epx:fullscreen, .epx.epx-fake-full { border-radius: 0; overflow: auto; }
.epx:fullscreen .epx-body { height: calc(100vh - 70px); }
.epx.epx-fake-full { position: fixed; inset: 0; z-index: 300; }

@media (max-width: 1199px) { .epx-body { grid-template-columns: 96px minmax(0, 1fr) 280px; } }
@media (max-width: 991px) {
    .epx-body { grid-template-columns: 1fr; height: auto; min-height: 0; }
    .epx-thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid var(--dd-line); order: 2; }
    .epx-thumbs button { width: 70px; }
    .epx-stage { order: 1; max-height: 80vh; padding: 8px; }
    .epx-side { order: 3; border-left: 0; border-top: 1px solid var(--dd-line); max-height: 640px; }
    .epx-side-nav { display: block; }
    .epx:fullscreen .epx-body { height: auto; }
}
@media (max-width: 767px) {
    .epx-bar { padding: 10px; }
    .epx-title h1 { font-size: 17px; }
    .epx-tools { gap: 6px; }
    .epx-group button, .epx-group a { height: 32px; min-width: 32px; padding: 0 7px; }
}

/* ---------------- home: e-paper banner ---------------- */
.dd-epromo { display: grid; grid-template-columns: 230px minmax(0, 1fr) 150px; gap: 28px; align-items: center; }
.dd-epromo-cover { position: relative; display: block; transform: rotate(-4deg); }
.dd-epromo-cover img { width: 100%; border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: #fff; display: block; }
.dd-epromo-cover span { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%) rotate(4deg); background: var(--dd-red); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 16px; white-space: nowrap; }
.dd-epromo-old h4 { color: #ffd27a; font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.dd-epromo-old div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.dd .dd-epromo-old a { display: block; color: #dbe4ff; font-size: 12px; text-align: center; }
.dd-epromo-old img { width: 100%; border-radius: 4px; background: #fff; display: block; margin-bottom: 4px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.dd-promo-count { color: #c7d2fe; font-size: 14px; align-self: center; }
@media (max-width: 991px) {
    .dd-epromo { grid-template-columns: 170px minmax(0, 1fr); }
    .dd-epromo-old { grid-column: 1 / -1; }
    .dd-epromo-old div { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .dd-epromo { grid-template-columns: 1fr; }
    .dd-epromo-cover { width: 160px; margin: 0 auto 10px; }
}
body.dd section.epx { padding: 0; }
.dd-nav-logo img { max-width: 120px; }
.dd-brandbar-in { min-height: 78px; }
.dd-logo img { max-height: 64px; max-width: 320px; }
@media (max-width: 767px) { .dd-brandbar-in { min-height: 62px; } .dd-logo img { max-height: 46px; max-width: 190px; } }
.dd-home-empty { margin-bottom: 26px; }

/* ---------------- become a reporter ---------------- */
.dd-rep { padding-top: 26px; padding-bottom: 20px; }
.dd-rep-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 26px; align-items: start; }
.dd-rep-info { position: sticky; top: 112px; color: #fff; border-radius: 18px; padding: 28px; background: radial-gradient(circle at 85% 10%, rgba(215, 25, 31, .35), transparent 45%), linear-gradient(160deg, var(--dd-navy-2), #1b3b85 65%, #3b2a6b); box-shadow: var(--dd-shadow-2); }
.dd-rep-info small { color: #ffb4b7; font-weight: 700; font-size: 14px; }
.dd-rep-info h1 { color: #fff; font-size: 34px; font-weight: 800; margin: 6px 0 10px; }
.dd-rep-info p { color: #dbe4ff; font-size: 16px; line-height: 1.65; }
.dd-rep-perks { list-style: none; padding: 0; margin: 0 0 22px; }
.dd-rep-perks li { padding: 5px 0; font-weight: 600; }
.dd-rep-perks i { color: #4ade80; margin-right: 8px; }
.dd-rep-steps { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.dd-rep-steps li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dd-rep-steps b { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--dd-red); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.dd-rep-steps strong { display: block; color: #fff; }
.dd-rep-steps span { color: #c7d2fe; font-size: 14px; }
body.dd .dd-rep-help { color: #ffd27a; font-weight: 700; }
.dd-rep-card { background: #fff; border: 1px solid var(--dd-line); border-radius: 18px; box-shadow: var(--dd-shadow-2); padding: 26px 28px; }
.dd-rep-sec { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--dd-line); }
.dd-rep-sec h2 { font-size: 18px; font-weight: 800; color: var(--dd-text); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.dd-rep-sec h2 i { color: var(--dd-navy); width: 30px; height: 30px; border-radius: 8px; background: #eef2fb; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.dd-rep .req { color: var(--dd-red); }
.dd-rep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.dd-fld.full { grid-column: 1 / -1; }
.dd-fld label { display: block; font-weight: 600; font-size: 15px; color: #334155; margin-bottom: 6px; }
.dd-fld-in { position: relative; }
.dd-fld-in > i { position: absolute; left: 14px; top: 15px; color: #94a3b8; font-size: 14px; }
.dd-fld-in input, .dd-fld-in textarea { width: 100%; border: 1.5px solid var(--dd-line); border-radius: 10px; padding: 11px 14px; font-size: 16px; color: var(--dd-text); background: #fbfcfe; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.dd-fld-in.has-icon input { padding-left: 40px; }
.dd-fld-in input:focus, .dd-fld-in textarea:focus { border-color: var(--dd-navy); background: #fff; box-shadow: 0 0 0 4px rgba(8, 43, 104, .08); }
.dd-fld-in textarea { resize: vertical; min-height: 72px; }
.dd-fld-in textarea[readonly] { background: #f1f5f9; color: #64748b; }
.dd-eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: transparent; color: #64748b; border-radius: 8px; }
.dd-eye.on { color: var(--dd-navy); background: #eef2fb; }
.dd-fld.err input, .dd-fld.err textarea { border-color: var(--dd-red); background: #fff7f7; }
.dd-rep-err { display: block; color: var(--dd-red); font-weight: 600; margin-top: 5px; font-size: 13px; }
.dd-rep-hint { display: block; color: var(--dd-muted); margin-top: 8px; }
.dd-rep-photo { display: flex; align-items: center; gap: 16px; border: 2px dashed #cbd5e1; border-radius: 14px; padding: 14px; cursor: pointer; background: #fbfcfe; margin: 0; transition: border-color .15s, background .15s; }
.dd-rep-photo:hover, .dd-rep-photo.over { border-color: var(--dd-navy); background: #f3f7ff; }
.dd-rep-photo.err { border-color: var(--dd-red); background: #fff7f7; }
.dd-rep-photo.has { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.dd-rep-photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--dd-shadow); flex: 0 0 auto; background: #e2e8f0; }
.dd-rep-photo strong { display: block; color: var(--dd-navy); font-size: 16px; }
.dd-rep-photo small { display: block; color: var(--dd-muted); }
.dd-rep-photo em { display: block; color: #15803d; font-style: normal; font-weight: 600; font-size: 14px; margin-top: 3px; }
.dd-rep-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd-rep-check { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 600; color: #334155; cursor: pointer; }
.dd-rep-check input { width: 18px; height: 18px; accent-color: var(--dd-navy); }
.dd-rep-submit { width: 100%; justify-content: center; height: 52px; font-size: 18px; }
.dd-rep-submit.busy { opacity: .7; pointer-events: none; }
.dd-rep-note { text-align: center; color: var(--dd-muted); font-size: 14px; margin: 12px 0 0; }
.dd-rep-note i { color: #16a34a; }
.dd-rep-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.dd-rep-alert.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.dd-rep-alert.bad { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.dd-rep-alert i { font-size: 20px; margin-top: 1px; }
@media (max-width: 991px) {
    .dd-rep-grid { grid-template-columns: 1fr; }
    .dd-rep-info { position: static; }
}
@media (max-width: 767px) {
    .dd-rep-card { padding: 18px; }
    .dd-rep-row { grid-template-columns: 1fr; }
    .dd-rep-info { padding: 22px; }
    .dd-rep-info h1 { font-size: 27px; }
}
.dd-rep-photo img { width: 84px !important; height: 84px !important; max-width: 84px !important; min-width: 84px; }
.dd-rep-photo > span { flex: 1; min-width: 0; }

/* ---------------- sign in / sign up / contact ---------------- */
.dd-auth .dd-rep-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); max-width: 1080px; margin: 0 auto; }
.dd-auth-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 18px; }
.dd-auth-logo img { max-height: 56px; max-width: 220px; display: block; }
.dd-auth-info h1 { font-size: 30px; }
.dd-auth-title { font-size: 24px; font-weight: 800; margin: 0 0 16px; color: var(--dd-text); }
.dd-auth-form .dd-fld { margin-bottom: 14px; }
.dd-auth-form .dd-rep-row .dd-fld { margin-bottom: 0; }
.dd-auth-card .dd-rep-submit, .dd-contact .dd-rep-submit { margin-top: 16px; }
.dd-auth-switch { text-align: center; margin: 16px 0 0; color: var(--dd-muted); }
body.dd .dd-auth-switch a { color: var(--dd-red); font-weight: 700; }
.dd-contact-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 26px; align-items: start; }
.dd-contact-info .dd-rep-info { position: static; }
.dd-contact-info h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 6px 0 10px; }
.dd-contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.dd-contact-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.dd-contact-list i { flex: 0 0 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #ffd27a; display: flex; align-items: center; justify-content: center; }
.dd-contact-list b { display: block; color: #fff; font-size: 14px; }
.dd-contact-list span { color: #dbe4ff; word-break: break-word; }
body.dd .dd-contact-list a { color: #dbe4ff; }
.dd-contact-map { margin-top: 26px; border-radius: 18px; overflow: hidden; border: 1px solid var(--dd-line); box-shadow: var(--dd-shadow); }
.dd-contact-map iframe { width: 100%; height: 360px; border: 0; display: block; }
@media (max-width: 991px) {
    .dd-auth .dd-rep-grid, .dd-contact-grid { grid-template-columns: 1fr; }
    .dd-auth .dd-auth-info { order: 2; }
}

/* side drawer logo: show the full logo (old theme css forced object-fit:cover and cut it) */
body.dd .dd-drawer-head img { width: auto !important; height: 44px !important; max-width: 210px !important; max-height: none !important; object-fit: contain !important; }
/* menu items moved into "More" keep their icon */
body.dd .dd-sub a i { width: 18px; margin-right: 6px; color: var(--dd-navy); opacity: .8; }
/* top menu fills the full width (no empty space on the right) */
@media (min-width: 768px) {
    .dd-menu > li { flex: 1 1 auto; }
    body.dd .dd-menu > li > a { justify-content: center; width: 100%; }
}

/* ---- phones: every width from 320px up (QA fix) ---- */
.dd-top-left, .dd-top-right { min-width: 0; }
.dd-listing-main, .dd-page-head > *, .dd-inline-search input { min-width: 0; }
.dd-page-head { flex-wrap: wrap; gap: 4px 12px; }
.dd-page-head h1 { overflow-wrap: anywhere; }
.dd-sub { max-height: 70vh; overflow-y: auto; }
.dd-menu > li { flex: 1 1 auto; }
body.dd .dd-menu > li > a { justify-content: center; width: 100%; }
@media (max-width: 767px) {
    .dd-menu { overflow-x: visible; }
    body.dd .dd-menu > li > a { padding: 0 10px; font-size: 15px; }
    .dd-sub { right: 8px; left: auto; max-width: calc(100vw - 16px); }
}
@media (max-width: 575px) {
    .dd-topbar-in { gap: 8px; }
    .dd-top-right > a { display: none !important; }      /* "Latest News" / "E-Paper" are in the menu */
}
@media (max-width: 359px) {
    .dd-top-left .dd-dot, .dd-top-left span:last-child { display: none; }
    body.dd .dd-menu > li > a { padding: 0 8px; font-size: 14px; }
}

/* ===== menu + breaking bar stay on top while scrolling (maan sticky-nav v1) =====
   The old theme put overflow-x:hidden on BOTH html and body; that makes body its own
   scroll box, so "position: sticky" never worked. html keeps hiding side overflow
   for the whole window; body stays normal (or "clip", which is not a scroll box). */
body.dd { overflow-x: visible !important; overflow-y: visible !important; }
@supports (overflow: clip) { body.dd { overflow-x: clip !important; } }
html { overflow-x: hidden; }
