/*
Theme Name: دادنا
Theme URI: https://example.com/dadna
Author: Dadna
Author URI: https://example.com
Description: پوسته خبری حقوقی فارسی با طراحی اختصاصی، تقویم شمسی و پنل مدیریت دادنا.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dadna
Tags: news, rtl-language-support, custom-logo, custom-menu, featured-images, responsive-layout
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --dadna-navy: #071b2e;
  --dadna-navy-2: #0b263f;
  --dadna-navy-3: #103451;
  --dadna-gold: #b78b3c;
  --dadna-gold-2: #d1ae68;
  --dadna-gold-soft: #f6efe2;
  --dadna-ink: #17202a;
  --dadna-muted: #6e7883;
  --dadna-paper: #f7f7f5;
  --dadna-surface: #ffffff;
  --dadna-surface-2: #fbfbfa;
  --dadna-line: #e4e5e5;
  --dadna-line-dark: rgba(255,255,255,.12);
  --dadna-success: #2b7a63;
  --dadna-radius-xs: 8px;
  --dadna-radius-sm: 12px;
  --dadna-radius: 18px;
  --dadna-radius-lg: 26px;
  --dadna-shadow-sm: 0 8px 24px rgba(7,27,46,.06);
  --dadna-shadow: 0 20px 55px rgba(7,27,46,.12);
  --dadna-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--dadna-paper);
  color: var(--dadna-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
.dadna-icon { width: 1.3em; height: 1.3em; flex: 0 0 auto; }
.dadna-container { width: min(calc(100% - 40px), var(--dadna-container)); margin-inline: auto; }
.screen-reader-text { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link:focus { position: fixed!important; top: 12px; right: 12px; z-index: 99999; width: auto!important; height: auto!important; padding: 10px 16px!important; clip: auto!important; background: #fff; border: 2px solid var(--dadna-gold); border-radius: 8px; }

/* Top bar */
.dadna-topbar { background: var(--dadna-navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.dadna-topbar__inner { min-height: 42px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 24px; }
.dadna-topbar__date, .dadna-topbar__message { display: flex; align-items: center; gap: 8px; margin: 0; color: #cad3dc; font-size: .72rem; white-space: nowrap; }
.dadna-topbar__date .dadna-icon { color: var(--dadna-gold-2); }
.dadna-breaking { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: .76rem; }
.dadna-breaking strong { display: inline-flex; align-items: center; min-height: 27px; padding: 2px 11px; background: var(--dadna-gold); color: #fff; border-radius: 4px; white-space: nowrap; }
.dadna-breaking a, .dadna-breaking span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eef3f7; }
.dadna-utility ul { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.dadna-utility a { color: #d9e0e7; font-size: .7rem; }
.dadna-utility a:hover { color: var(--dadna-gold-2); }

/* Header */
.dadna-header { position: relative; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(7,27,46,.05); }
.dadna-header__main { min-height: 108px; display: grid; grid-template-columns: auto minmax(300px, 430px) auto; align-items: center; justify-content: space-between; gap: 32px; }
.dadna-brand-wrap { justify-self: start; }
.custom-logo-link { display: block; }
.custom-logo { max-height: 78px; width: auto; }
.dadna-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--dadna-navy); }
.dadna-brand__icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--dadna-gold); }
.dadna-brand__icon .dadna-icon { width: 100%; height: 100%; stroke-width: 1.4; }
.dadna-brand__copy { display: grid; line-height: 1.2; }
.dadna-brand__copy strong { font-size: 2.55rem; letter-spacing: -.08em; }
.dadna-brand__copy small { margin-top: 6px; color: var(--dadna-muted); font-size: .72rem; font-weight: 700; letter-spacing: 0; }
.dadna-header__search { justify-self: center; width: 100%; }
.dadna-search-form { position: relative; display: flex; align-items: center; width: 100%; }
.dadna-search-field { width: 100%; min-height: 48px; padding: 10px 18px 10px 52px; border: 1px solid var(--dadna-line); border-radius: 12px; background: #fff; color: var(--dadna-ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.dadna-search-field::placeholder { color: #9aa2aa; }
.dadna-search-field:focus { border-color: var(--dadna-gold); box-shadow: 0 0 0 4px rgba(183,139,60,.12); }
.dadna-search-submit { position: absolute; left: 7px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--dadna-gold); }
.dadna-search-submit:hover { background: var(--dadna-gold-soft); }
.dadna-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.dadna-icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--dadna-line); border-radius: 11px; background: #fff; color: var(--dadna-navy); }
.dadna-icon-button:hover { border-color: var(--dadna-gold); color: var(--dadna-gold); }
.dadna-search-toggle, .dadna-menu-toggle { display: none; }

.dadna-main-nav { background: var(--dadna-navy); color: #fff; }
.dadna-main-nav__inner { min-height: 56px; display: flex; align-items: center; }
.dadna-main-nav ul { display: flex; align-items: stretch; gap: 8px; min-height: 56px; margin: 0; padding: 0; list-style: none; }
.dadna-main-nav li { position: relative; display: flex; align-items: stretch; }
.dadna-main-nav a { position: relative; display: flex; align-items: center; padding: 0 18px; color: #f5f7f9; font-size: .82rem; font-weight: 800; }
.dadna-main-nav a::after { content: ""; position: absolute; right: 18px; bottom: 0; left: 18px; height: 3px; background: var(--dadna-gold); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.dadna-main-nav a:hover, .dadna-main-nav .current-menu-item > a { color: var(--dadna-gold-2); }
.dadna-main-nav a:hover::after, .dadna-main-nav .current-menu-item > a::after { transform: scaleX(1); }
.dadna-main-nav .sub-menu { position: absolute; top: 100%; right: 0; z-index: 20; min-width: 220px; min-height: 0; display: none; flex-direction: column; gap: 0; padding: 8px; background: #fff; border: 1px solid var(--dadna-line); border-radius: 0 0 12px 12px; box-shadow: var(--dadna-shadow); }
.dadna-main-nav li:hover > .sub-menu { display: flex; }
.dadna-main-nav .sub-menu a { min-height: 42px; padding: 8px 12px; color: var(--dadna-ink); border-radius: 8px; }
.dadna-main-nav .sub-menu a::after { display: none; }
.dadna-main-nav .sub-menu a:hover { background: var(--dadna-gold-soft); color: var(--dadna-gold); }

.dadna-search-panel { position: absolute; top: 100%; right: 0; left: 0; z-index: 40; padding: 20px 0; background: #fff; border-top: 1px solid var(--dadna-line); box-shadow: var(--dadna-shadow-sm); }
.dadna-search-panel__inner { display: grid; grid-template-columns: 1fr minmax(340px, 520px); align-items: center; gap: 30px; }
.dadna-search-panel__inner > div { display: grid; }
.dadna-search-panel__inner strong { color: var(--dadna-navy); font-size: 1rem; }
.dadna-search-panel__inner span { color: var(--dadna-muted); font-size: .76rem; }

/* Mobile navigation */
.dadna-mobile-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(2,11,20,.62); backdrop-filter: blur(4px); }
.dadna-mobile-nav { position: fixed; inset: 0 0 0 auto; z-index: 100; width: min(88vw, 390px); overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.22); }
.dadna-mobile-nav__head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--dadna-line); }
.dadna-mobile-nav__brand { display: inline-flex; align-items: center; gap: 9px; color: var(--dadna-navy); }
.dadna-mobile-nav__brand span { color: var(--dadna-gold); }
.dadna-mobile-nav__brand .dadna-icon { width: 36px; height: 36px; }
.dadna-mobile-nav__brand strong { font-size: 1.65rem; }
.dadna-mobile-nav__search { padding: 16px 18px; background: var(--dadna-surface-2); border-bottom: 1px solid var(--dadna-line); }
.dadna-mobile-nav__menu { padding: 8px 18px 22px; }
.dadna-mobile-nav__menu ul { margin: 0; padding: 0; list-style: none; }
.dadna-mobile-nav__menu > ul > li { border-bottom: 1px solid var(--dadna-line); }
.dadna-mobile-nav__menu a { min-height: 50px; display: flex; align-items: center; color: var(--dadna-ink); font-weight: 800; }
.dadna-mobile-nav__menu .sub-menu { padding: 0 14px 10px 0; }
.dadna-mobile-nav__menu .sub-menu a { min-height: 42px; color: var(--dadna-muted); font-size: .8rem; }
.dadna-mobile-nav__footer { margin: 0; padding: 20px 18px; background: var(--dadna-navy); color: #dce4eb; font-size: .76rem; }

/* Main/hero */
.dadna-main { padding-bottom: 72px; }
.dadna-hero { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(280px, .95fr); grid-template-areas: "main side"; gap: 14px; padding-top: 28px; }
.dadna-hero-main { grid-area: main; position: relative; min-height: 500px; overflow: hidden; border-radius: var(--dadna-radius-sm); background: var(--dadna-navy); box-shadow: var(--dadna-shadow-sm); }
.dadna-hero-main__media, .dadna-hero-side-card__media { position: absolute; inset: 0; }
.dadna-hero-main__media img, .dadna-hero-side-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dadna-hero-main:hover img, .dadna-hero-side-card:hover img { transform: scale(1.035); }
.dadna-story-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,13,23,.16) 0%, rgba(3,13,23,.42) 36%, rgba(3,13,23,.93) 100%); pointer-events: none; }
.dadna-hero-main__content { position: relative; z-index: 2; width: min(68%, 700px); min-height: 500px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5vw, 70px); color: #fff; }
.dadna-label { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 11px; border-radius: 5px; font-size: .7rem; font-weight: 900; }
.dadna-label--gold { background: var(--dadna-gold); color: #fff; }
.dadna-hero-main h1 { margin: 14px 0 12px; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.48; letter-spacing: -.055em; text-wrap: balance; }
.dadna-hero-main p { max-width: 650px; margin: 0 0 14px; color: #e1e7ec; font-size: .9rem; }
.dadna-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--dadna-muted); font-size: .69rem; }
.dadna-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dadna-meta .dadna-icon { width: 1.05em; height: 1.05em; }
.dadna-meta--light { color: #d9e1e8; }
.dadna-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 22px; border: 1px solid transparent; border-radius: 7px; font-size: .76rem; font-weight: 900; transition: transform .2s ease, background .2s ease; }
.dadna-button:hover { transform: translateY(-1px); }
.dadna-button--gold { margin-top: 20px; background: var(--dadna-gold); color: #fff; }
.dadna-button--gold:hover { background: #a47a31; }
.dadna-button--navy { background: var(--dadna-navy); color: #fff; }
.dadna-hero-side { grid-area: side; display: grid; grid-template-rows: repeat(2, minmax(0,1fr)); gap: 14px; }
.dadna-hero-side-card { position: relative; min-height: 243px; overflow: hidden; border-radius: var(--dadna-radius-sm); background: var(--dadna-navy); box-shadow: var(--dadna-shadow-sm); }
.dadna-hero-side-card .dadna-story-overlay { background: linear-gradient(0deg, rgba(2,12,21,.92) 0%, rgba(2,12,21,.10) 78%); }
.dadna-hero-side-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 22px; color: #fff; }
.dadna-hero-side-card h2 { margin: 10px 0 8px; font-size: 1.08rem; line-height: 1.75; letter-spacing: -.02em; }

/* Category rail */
.dadna-category-rail { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.dadna-category-tile { min-height: 105px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px; background: #fff; border: 1px solid var(--dadna-line); border-radius: 10px; box-shadow: 0 4px 14px rgba(7,27,46,.025); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dadna-category-tile:hover { transform: translateY(-3px); border-color: rgba(183,139,60,.5); box-shadow: var(--dadna-shadow-sm); }
.dadna-category-tile__icon { color: var(--dadna-gold); }
.dadna-category-tile__icon .dadna-icon { width: 33px; height: 33px; stroke-width: 1.55; }
.dadna-category-tile strong { color: var(--dadna-navy); font-size: .78rem; text-align: center; }

/* Main content */
.dadna-content-layout, .dadna-archive-layout, .dadna-single-layout { display: grid; grid-template-columns: minmax(0,1fr) 318px; gap: 24px; align-items: start; margin-top: 32px; }
.dadna-section-heading { min-height: 63px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--dadna-line); }
.dadna-section-heading > div { display: grid; }
.dadna-section-heading span, .dadna-archive-header > span, .dadna-page-header > span { color: var(--dadna-gold); font-size: .66rem; font-weight: 900; }
.dadna-section-heading h2 { position: relative; margin: 2px 0 0; color: var(--dadna-navy); font-size: 1.42rem; line-height: 1.5; letter-spacing: -.035em; }
.dadna-section-heading h2::after { content: ""; position: absolute; right: 0; bottom: -11px; width: 54px; height: 3px; background: var(--dadna-gold); }
.dadna-section-heading > a { display: inline-flex; align-items: center; gap: 6px; color: var(--dadna-muted); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.dadna-section-heading > a:hover { color: var(--dadna-gold); }
.dadna-section-heading > a .dadna-icon { width: 16px; height: 16px; }
.dadna-news-list { overflow: hidden; background: #fff; border: 1px solid var(--dadna-line); border-radius: 12px; box-shadow: var(--dadna-shadow-sm); }
.dadna-news-row { display: grid; grid-template-columns: 195px minmax(0,1fr); gap: 20px; min-height: 156px; padding: 16px; border-bottom: 1px solid var(--dadna-line); transition: background .2s ease; }
.dadna-news-row:last-child { border-bottom: 0; }
.dadna-news-row:hover { background: #fcfcfb; }
.dadna-news-row__media { display: block; min-height: 124px; overflow: hidden; border-radius: 9px; background: #e9ebec; }
.dadna-news-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dadna-news-row:hover img { transform: scale(1.035); }
.dadna-news-row__body { min-width: 0; align-self: center; }
.dadna-text-category { color: var(--dadna-gold); font-size: .66rem; font-weight: 900; }
.dadna-news-row h3 { margin: 4px 0 6px; color: var(--dadna-navy); font-size: 1rem; line-height: 1.75; letter-spacing: -.025em; }
.dadna-news-row p { margin: 0 0 8px; color: var(--dadna-muted); font-size: .77rem; line-height: 1.9; }

/* Sidebar */
.dadna-sidebar { display: grid; align-content: start; gap: 16px; }
.dadna-sidebar-card { background: #fff; border: 1px solid var(--dadna-line); border-radius: 12px; padding: 18px; box-shadow: var(--dadna-shadow-sm); }
.dadna-sidebar-title { position: relative; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--dadna-line); }
.dadna-sidebar-title::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 45px; height: 2px; background: var(--dadna-gold); }
.dadna-sidebar-title h2 { margin: 0; color: var(--dadna-navy); font-size: 1rem; line-height: 1.6; }
.dadna-featured-note__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #edf0f2; }
.dadna-featured-note__image img { width: 100%; height: 100%; object-fit: cover; }
.dadna-featured-note h3 { margin: 12px 0 8px; color: var(--dadna-navy); font-size: .92rem; line-height: 1.85; }
.dadna-featured-note__author { display: grid; margin-bottom: 13px; }
.dadna-featured-note__author strong { color: var(--dadna-ink); font-size: .74rem; }
.dadna-featured-note__author span { color: var(--dadna-muted); font-size: .66rem; }
.dadna-outline-button { min-height: 39px; display: flex; align-items: center; justify-content: center; padding: 6px 14px; border: 1px solid rgba(183,139,60,.55); border-radius: 7px; color: var(--dadna-gold); font-size: .72rem; font-weight: 900; }
.dadna-outline-button:hover { background: var(--dadna-gold); color: #fff; }
.dadna-lawyer-card__profile { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; align-items: center; margin-bottom: 14px; }
.dadna-lawyer-card__image { width: 64px; height: 70px; overflow: hidden; display: grid; place-items: center; border-radius: 8px; background: var(--dadna-gold-soft); color: var(--dadna-gold); }
.dadna-lawyer-card__image img { width: 100%; height: 100%; object-fit: cover; }
.dadna-lawyer-card__image .dadna-icon { width: 30px; height: 30px; }
.dadna-lawyer-card__profile > div:last-child { display: grid; }
.dadna-lawyer-card__profile strong { color: var(--dadna-navy); font-size: .83rem; }
.dadna-lawyer-card__profile span { color: var(--dadna-muted); font-size: .68rem; }
.dadna-newsletter { background: var(--dadna-navy); color: #fff; border-color: var(--dadna-navy); }
.dadna-newsletter__mark { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 9px; border: 1px solid rgba(209,174,104,.42); border-radius: 8px; color: var(--dadna-gold-2); }
.dadna-newsletter h2 { margin: 0 0 5px; font-size: 1.05rem; }
.dadna-newsletter p { margin: 0 0 14px; color: #d8e0e7; font-size: .72rem; }
.dadna-newsletter__form { display: grid; gap: 8px; }
.dadna-newsletter__form input { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; outline: none; }
.dadna-newsletter__form button { min-height: 42px; border: 0; border-radius: 7px; background: var(--dadna-gold); color: #fff; font-weight: 900; }
.dadna-newsletter small { display: block; margin-top: 8px; color: #98a8b6; font-size: .56rem; line-height: 1.7; }
.dadna-quick-links ul { margin: 0; padding: 0; list-style: none; }
.dadna-quick-links li + li { border-top: 1px solid var(--dadna-line); }
.dadna-quick-links a { min-height: 43px; display: flex; align-items: center; gap: 9px; color: var(--dadna-ink); font-size: .72rem; font-weight: 800; }
.dadna-quick-links a:hover { color: var(--dadna-gold); }
.dadna-quick-links .dadna-icon { color: var(--dadna-gold); width: 17px; height: 17px; }
.widget ul { margin: 0; padding-right: 18px; }

/* Archives/cards */
.dadna-archive-layout { padding-block: 38px 72px; }
.dadna-archive-header { margin-bottom: 18px; padding: 12px 0 8px; }
.dadna-archive-header h1 { margin: 4px 0; color: var(--dadna-navy); font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.5; letter-spacing: -.05em; }
.dadna-archive-description { max-width: 760px; color: var(--dadna-muted); font-size: .85rem; }
.dadna-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.dadna-news-card { overflow: hidden; background: #fff; border: 1px solid var(--dadna-line); border-radius: 12px; box-shadow: var(--dadna-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.dadna-news-card:hover { transform: translateY(-3px); box-shadow: var(--dadna-shadow); }
.dadna-news-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e8ebed; }
.dadna-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dadna-news-card:hover img { transform: scale(1.035); }
.dadna-news-card__body { padding: 17px; }
.dadna-news-card h2 { margin: 5px 0 7px; color: var(--dadna-navy); font-size: 1rem; line-height: 1.8; }
.dadna-news-card p { margin: 0 0 11px; color: var(--dadna-muted); font-size: .76rem; }
.navigation.pagination { margin-top: 25px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border: 1px solid var(--dadna-line); border-radius: 8px; background: #fff; color: var(--dadna-ink); font-size: .72rem; font-weight: 900; }
.page-numbers.current, .page-numbers:hover { background: var(--dadna-navy); border-color: var(--dadna-navy); color: #fff; }

/* Single/page */
.dadna-single-shell { padding-top: 42px; }
.dadna-single-header { max-width: 970px; text-align: center; }
.dadna-single-header h1 { margin: 13px auto 10px; color: var(--dadna-navy); font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.5; letter-spacing: -.055em; text-wrap: balance; }
.dadna-single-lead { max-width: 820px; margin: 0 auto 18px; color: var(--dadna-muted); font-size: 1rem; }
.dadna-single-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 22px; color: var(--dadna-muted); font-size: .72rem; }
.dadna-single-meta span, .dadna-single-meta time { display: inline-flex; align-items: center; gap: 6px; }
.dadna-single-meta .dadna-icon { color: var(--dadna-gold); width: 16px; height: 16px; }
.dadna-single-author strong { color: var(--dadna-ink); }
.dadna-single-featured { margin-top: 28px; }
.dadna-single-featured img { width: 100%; max-height: 690px; object-fit: cover; border-radius: 16px; box-shadow: var(--dadna-shadow); }
.dadna-single-layout { margin-top: 28px; padding-bottom: 72px; }
.dadna-article-card, .dadna-page-article { background: #fff; border: 1px solid var(--dadna-line); border-radius: 14px; padding: clamp(24px, 4.5vw, 54px); box-shadow: var(--dadna-shadow-sm); }
.entry-content { color: #28313a; font-size: .98rem; line-height: 2.25; }
.entry-content > p:first-child { font-size: 1.04rem; }
.entry-content h2 { margin-top: 1.8em; color: var(--dadna-navy); font-size: 1.62rem; line-height: 1.65; }
.entry-content h3 { margin-top: 1.55em; color: var(--dadna-navy); font-size: 1.28rem; line-height: 1.7; }
.entry-content a { color: #9a6c22; text-decoration: underline; text-underline-offset: 4px; }
.entry-content blockquote { margin: 30px 0; padding: 20px 24px; border-right: 4px solid var(--dadna-gold); border-radius: 10px 0 0 10px; background: var(--dadna-gold-soft); color: #3c4147; }
.entry-content figure { margin-inline: 0; }
.entry-content img { border-radius: 10px; }
.entry-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; white-space: nowrap; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--dadna-line); text-align: right; }
.dadna-article-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--dadna-line); }
.dadna-article-byline { display: flex; align-items: center; gap: 10px; }
.dadna-article-byline__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--dadna-gold-soft); color: var(--dadna-gold); }
.dadna-article-byline > div { display: grid; }
.dadna-article-byline small { color: var(--dadna-muted); font-size: .62rem; }
.dadna-article-byline strong { color: var(--dadna-navy); font-size: .78rem; }
.dadna-post-tags { color: var(--dadna-muted); font-size: .7rem; text-align: left; }
.dadna-post-tags a { display: inline-block; margin: 3px; padding: 3px 9px; border: 1px solid var(--dadna-line); border-radius: 999px; color: var(--dadna-ink); }
.dadna-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.dadna-post-navigation > div { min-width: 0; padding: 15px; background: var(--dadna-surface-2); border: 1px solid var(--dadna-line); border-radius: 9px; }
.dadna-post-navigation > div:last-child { text-align: left; }
.dadna-post-navigation span { display: block; color: var(--dadna-muted); font-size: .62rem; }
.dadna-post-navigation a { color: var(--dadna-navy); font-size: .76rem; font-weight: 900; }
.dadna-page-shell { padding-block: 42px 72px; }
.dadna-page-article { max-width: 930px; margin-inline: auto; }
.dadna-page-header { margin-bottom: 25px; }
.dadna-page-header h1 { margin: 4px 0 0; color: var(--dadna-navy); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.5; }
.dadna-page-featured { margin-bottom: 28px; }
.dadna-page-featured img { border-radius: 12px; }

/* Comments */
.dadna-comments-area { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--dadna-line); }
.dadna-comments-title, .comment-reply-title { color: var(--dadna-navy); font-size: 1.2rem; }
.dadna-comment-list { margin: 0; padding: 0; list-style: none; }
.comment-body { margin-bottom: 14px; padding: 17px; background: var(--dadna-surface-2); border: 1px solid var(--dadna-line); border-radius: 9px; }
.comment-author { display: flex; align-items: center; gap: 9px; }
.comment-author img { border-radius: 50%; }
.comment-meta { font-size: .7rem; }
.comment-form { display: grid; gap: 10px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--dadna-line); border-radius: 8px; background: #fff; outline: none; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--dadna-gold); box-shadow: 0 0 0 3px rgba(183,139,60,.1); }
.form-submit .submit { min-height: 42px; padding: 8px 20px; border: 0; border-radius: 7px; background: var(--dadna-navy); color: #fff; font-weight: 900; }

/* Empty/error */
.dadna-empty-state, .dadna-error-page { text-align: center; background: #fff; border: 1px solid var(--dadna-line); border-radius: 14px; padding: 48px 25px; box-shadow: var(--dadna-shadow-sm); }
.dadna-empty-state > span, .dadna-error-page__icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: var(--dadna-gold-soft); color: var(--dadna-gold); }
.dadna-empty-state .dadna-icon, .dadna-error-page__icon .dadna-icon { width: 30px; height: 30px; }
.dadna-empty-state h2, .dadna-error-page h1 { margin: 0 0 7px; color: var(--dadna-navy); }
.dadna-empty-state p, .dadna-error-page p { color: var(--dadna-muted); }
.dadna-empty-state .dadna-search-form, .dadna-error-page .dadna-search-form { max-width: 520px; margin: 18px auto; }
.dadna-error-page { max-width: 820px; margin: 55px auto 80px; }
.dadna-error-code { margin: 0!important; color: var(--dadna-gold)!important; font-size: 3.5rem; font-weight: 900; line-height: 1.2; }

/* Footer */
.dadna-footer { background: var(--dadna-navy); color: #fff; }
.dadna-footer__grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr 1.1fr; gap: 44px; padding-block: 50px 36px; }
.dadna-brand--footer { color: #fff; }
.dadna-brand--footer .dadna-brand__copy strong { font-size: 2rem; }
.dadna-brand--footer .dadna-brand__copy small { color: #b8c4cf; }
.dadna-footer__brand > p { max-width: 380px; margin: 17px 0; color: #bec8d1; font-size: .76rem; }
.dadna-socials { display: flex; gap: 8px; }
.dadna-socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; }
.dadna-socials a:hover { border-color: var(--dadna-gold); color: var(--dadna-gold-2); }
.dadna-socials .dadna-icon { width: 17px; height: 17px; }
.dadna-footer h2 { margin: 0 0 15px; color: #fff; font-size: .92rem; }
.dadna-footer ul { margin: 0; padding: 0; list-style: none; }
.dadna-footer li + li { margin-top: 5px; }
.dadna-footer li a { color: #c2cbd4; font-size: .72rem; }
.dadna-footer li a:hover { color: var(--dadna-gold-2); }
.dadna-footer__contact p { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 11px; color: #c2cbd4; font-size: .72rem; }
.dadna-footer__contact .dadna-icon { margin-top: 5px; color: var(--dadna-gold-2); }
.dadna-footer__contact a { direction: ltr; unicode-bidi: embed; }
.dadna-footer__bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #9eabb7; font-size: .65rem; }
.dadna-footer__bottom p { margin: 0; }

@media (max-width: 1100px) {
  .dadna-container { width: min(calc(100% - 32px), var(--dadna-container)); }
  .dadna-header__main { grid-template-columns: auto minmax(260px, 380px) auto; }
  .dadna-main-nav a { padding-inline: 13px; font-size: .76rem; }
  .dadna-hero { grid-template-columns: minmax(0,1.8fr) minmax(250px,.9fr); }
  .dadna-content-layout, .dadna-archive-layout, .dadna-single-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .dadna-news-row { grid-template-columns: 170px minmax(0,1fr); }
  .dadna-footer__grid { gap: 26px; }
}

@media (max-width: 920px) {
  .dadna-topbar__inner { grid-template-columns: auto minmax(0,1fr); }
  .dadna-utility { display: none; }
  .dadna-header { position: sticky; top: 0; }
  .admin-bar .dadna-header { top: 32px; }
  .dadna-header__main { min-height: 76px; grid-template-columns: auto 1fr auto; gap: 16px; }
  .dadna-brand__icon { width: 42px; height: 42px; }
  .dadna-brand__copy strong { font-size: 1.9rem; }
  .dadna-brand__copy small { margin-top: 3px; font-size: .58rem; }
  .dadna-header__search--desktop, .dadna-main-nav { display: none; }
  .dadna-header__actions { display: flex; }
  .dadna-search-toggle, .dadna-menu-toggle { display: grid; }
  .dadna-search-panel__inner { grid-template-columns: 1fr; gap: 12px; }
  .dadna-hero { grid-template-columns: minmax(0,1fr); grid-template-areas: "main" "side"; gap: 12px; padding-top: 18px; }
  .dadna-hero-main { min-height: 470px; }
  .dadna-hero-main__content { width: 75%; min-height: 470px; }
  .dadna-hero-side { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: none; }
  .dadna-hero-side-card { min-height: 220px; }
  .dadna-category-rail { overflow-x: auto; grid-template-columns: repeat(6, 150px); padding-bottom: 7px; scrollbar-width: thin; }
  .dadna-content-layout, .dadna-archive-layout, .dadna-single-layout { grid-template-columns: minmax(0,1fr); }
  .dadna-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dadna-sidebar > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dadna-single-layout .dadna-sidebar { margin-top: 0; }
  .dadna-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .admin-bar .dadna-header { top: 46px; }
}

@media (max-width: 680px) {
  body { font-size: 14px; }
  .dadna-container { width: min(calc(100% - 24px), var(--dadna-container)); }
  .dadna-topbar__inner { min-height: 35px; grid-template-columns: minmax(0,1fr); }
  .dadna-topbar__date { display: none; }
  .dadna-breaking { justify-content: flex-start; gap: 8px; }
  .dadna-breaking strong { min-height: 24px; padding-inline: 8px; font-size: .62rem; }
  .dadna-breaking a, .dadna-breaking span { font-size: .66rem; }
  .dadna-header__main { min-height: 66px; }
  .dadna-brand { gap: 8px; }
  .dadna-brand__icon { width: 36px; height: 36px; }
  .dadna-brand__copy strong { font-size: 1.62rem; }
  .dadna-brand__copy small { display: none; }
  .dadna-icon-button { width: 39px; height: 39px; border-radius: 9px; }
  .dadna-hero { width: 100%; padding-top: 0; }
  .dadna-hero-main { min-height: 410px; border-radius: 0; }
  .dadna-story-overlay { background: linear-gradient(0deg, rgba(2,12,21,.94) 0%, rgba(2,12,21,.2) 70%); }
  .dadna-hero-main__content { width: 100%; min-height: 410px; justify-content: flex-end; padding: 26px 18px; }
  .dadna-hero-main h1 { margin: 10px 0 8px; font-size: 1.65rem; line-height: 1.65; }
  .dadna-hero-main p { display: none; }
  .dadna-button--gold { margin-top: 14px; min-height: 39px; }
  .dadna-hero-side { display: flex; overflow-x: auto; gap: 10px; padding-inline: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dadna-hero-side::-webkit-scrollbar { display: none; }
  .dadna-hero-side-card { flex: 0 0 82%; min-height: 210px; scroll-snap-align: start; border-radius: 10px; }
  .dadna-hero-side-card__content { padding: 17px; }
  .dadna-category-rail { width: 100%; grid-template-columns: repeat(6, 126px); gap: 9px; margin-top: 15px; padding-inline: 12px; }
  .dadna-category-tile { min-height: 88px; gap: 7px; }
  .dadna-category-tile__icon .dadna-icon { width: 27px; height: 27px; }
  .dadna-category-tile strong { font-size: .68rem; }
  .dadna-content-layout { margin-top: 22px; }
  .dadna-section-heading { min-height: 55px; }
  .dadna-section-heading h2 { font-size: 1.18rem; }
  .dadna-news-list { border-radius: 10px; }
  .dadna-news-row { grid-template-columns: 112px minmax(0,1fr); gap: 12px; min-height: 128px; padding: 12px; }
  .dadna-news-row__media { min-height: 96px; }
  .dadna-news-row h3 { margin: 3px 0 5px; font-size: .86rem; line-height: 1.78; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dadna-news-row p { display: none; }
  .dadna-news-row .dadna-meta span:nth-child(2), .dadna-news-row .dadna-meta span:nth-child(3) { display: none; }
  .dadna-sidebar { grid-template-columns: minmax(0,1fr); }
  .dadna-sidebar-card { border-radius: 10px; }
  .dadna-card-grid { grid-template-columns: minmax(0,1fr); }
  .dadna-archive-layout { padding-block: 22px 55px; }
  .dadna-single-shell { padding-top: 26px; }
  .dadna-single-header { text-align: right; }
  .dadna-single-header h1 { font-size: 1.75rem; line-height: 1.68; }
  .dadna-single-lead { font-size: .88rem; }
  .dadna-single-meta { justify-content: flex-start; gap: 8px 14px; }
  .dadna-single-featured { width: 100%; margin-top: 20px; }
  .dadna-single-featured img { border-radius: 0; max-height: 420px; }
  .dadna-single-layout { margin-top: 16px; padding-bottom: 52px; }
  .dadna-article-card, .dadna-page-article { padding: 22px 17px; border-radius: 10px; }
  .entry-content { font-size: .92rem; line-height: 2.2; }
  .entry-content h2 { font-size: 1.3rem; }
  .entry-content h3 { font-size: 1.12rem; }
  .dadna-article-footer { align-items: flex-start; flex-direction: column; }
  .dadna-post-tags { text-align: right; }
  .dadna-post-navigation { grid-template-columns: minmax(0,1fr); }
  .dadna-post-navigation > div:last-child { text-align: right; }
  .dadna-page-shell { padding-block: 22px 52px; }
  .dadna-footer__grid { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 38px 28px; }
  .dadna-footer__bottom { min-height: 76px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
}

@media (max-width: 420px) {
  .dadna-container { width: min(calc(100% - 20px), var(--dadna-container)); }
  .dadna-header__actions { gap: 5px; }
  .dadna-icon-button { width: 37px; height: 37px; }
  .dadna-hero-main { min-height: 385px; }
  .dadna-hero-main__content { min-height: 385px; }
  .dadna-hero-main h1 { font-size: 1.5rem; }
  .dadna-hero-side-card { flex-basis: 88%; }
  .dadna-news-row { grid-template-columns: 100px minmax(0,1fr); gap: 10px; padding: 10px; }
  .dadna-news-row__media { min-height: 88px; }
  .dadna-news-row h3 { font-size: .81rem; }
  .dadna-text-category, .dadna-meta { font-size: .6rem; }
  .dadna-single-header h1 { font-size: 1.55rem; }
}
