/*
Theme Name: DeDrept Editorial
Theme URI: https://dedrept.ro/
Author: DeDrept.ro
Description: Temă editorială premium, cu identitate tipografică alb-negru-roșu, homepage hibrid și layout responsive.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: dedrept
*/

:root {
  --dd-red: #c7192d;
  --dd-red-dark: #9f1424;
  --dd-ink: #151515;
  --dd-muted: #6f6f6f;
  --dd-line: #dedede;
  --dd-paper: #ffffff;
  --dd-soft: #f5f4f2;
  --dd-container: 1240px;
  --dd-serif: Georgia, 'Times New Roman', serif;
  --dd-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--dd-ink); background: var(--dd-paper); font-family: var(--dd-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--dd-red); }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(199,25,45,.45); outline-offset: 3px; }
.dd-container { width: min(var(--dd-container), calc(100% - 48px)); margin-inline: auto; }
.dd-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: #fff; color: #111; padding: 10px 14px; }
.dd-skip-link:focus { left: 8px; }

/* Topline and masthead */
.dd-topline { background: var(--dd-ink); color: #e9e9e9; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.dd-topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dd-topline-tagline { color: #c8c8c8; font-weight: 700; }
.dd-masthead { background: #fff; }
.dd-masthead-inner { min-height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.dd-brand { display: inline-flex; align-items: baseline; justify-self: start; white-space: nowrap; letter-spacing: -.075em; line-height: 1; }
.dd-brand-main { font-weight: 900; font-size: clamp(36px, 4vw, 49px); }
.dd-brand-de { color: #151515; }
.dd-brand-drept { color: var(--dd-red); }
.dd-brand-domain { color: #171717; font-size: .45em; font-weight: 800; letter-spacing: -.045em; margin-left: 3px; }
.dd-custom-logo, .dd-masthead-brand .custom-logo-link img { max-height: 70px; width: auto; }
.dd-masthead-caption { justify-self: center; text-align: center; color: #555; font-family: var(--dd-serif); font-size: 14px; font-style: italic; max-width: 280px; }
.dd-masthead-tools { display: flex; align-items: center; justify-content: end; gap: 14px; }
.dd-search-form { display: flex; align-items: center; border-bottom: 1px solid #a3a3a3; width: 205px; }
.dd-search-form input[type="search"] { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 8px 3px; font-size: 12px; }
.dd-search-form button { border: 0; background: transparent; padding: 7px 2px 7px 8px; color: #222; display: inline-flex; }
.dd-search-form button:hover { color: var(--dd-red); }
.dd-search-icon { width: 17px; height: 17px; }
.dd-menu-toggle { display: none; border: 0; background: #fff; padding: 7px; color: var(--dd-ink); }
.dd-menu-toggle svg { width: 25px; height: 25px; }

/* Navigation */
.dd-nav-wrap { border-top: 1px solid var(--dd-line); border-bottom: 3px solid var(--dd-ink); }
.dd-navigation { min-height: 51px; display: flex; align-items: stretch; justify-content: center; }
.dd-primary-menu, .dd-primary-menu ul { list-style: none; margin: 0; padding: 0; }
.dd-primary-menu { display: flex; align-items: stretch; gap: 0; }
.dd-primary-menu > li { display: flex; position: relative; }
.dd-primary-menu > li > a { display: flex; align-items: center; padding: 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border-bottom: 3px solid transparent; margin-bottom: -3px; transition: color .15s ease, border-color .15s ease; }
.dd-primary-menu > li:hover > a, .dd-primary-menu > li.current-menu-item > a, .dd-primary-menu > li.current-menu-ancestor > a { color: var(--dd-red); border-bottom-color: var(--dd-red); }
.dd-primary-menu .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 210px; z-index: 100; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.15); border-top: 3px solid var(--dd-red); padding: 8px 0; }
.dd-primary-menu li:hover > .sub-menu, .dd-primary-menu li:focus-within > .sub-menu { display: block; }
.dd-primary-menu .sub-menu a { display: block; padding: 9px 16px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.dd-primary-menu .sub-menu a:hover { background: var(--dd-soft); }
.dd-nav-fallback { display: flex; align-items: stretch; gap: 0; }
.dd-nav-fallback a { display: flex; align-items: center; padding: 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dd-nav-fallback a:hover { color: var(--dd-red); }

/* Current-story ticker */
.dd-ticker { border-bottom: 1px solid var(--dd-line); }
.dd-ticker-inner { min-height: 43px; display: flex; align-items: center; gap: 14px; overflow: hidden; }
.dd-ticker-label { color: var(--dd-red); font-size: 10px; letter-spacing: .14em; font-weight: 900; white-space: nowrap; }
.dd-ticker-divider { height: 19px; width: 1px; background: #cfcfcf; flex: 0 0 1px; }
.dd-ticker-title { font-family: var(--dd-serif); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Shared editorial elements */
.dd-main { padding-top: 30px; }
.dd-section-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.dd-section-heading h2, .dd-section-heading h3 { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.dd-section-heading:after { content: ''; height: 1px; flex: 1; background: var(--dd-line); }
.dd-section-heading .dd-section-kicker { width: 6px; height: 6px; background: var(--dd-red); transform: rotate(45deg); flex: 0 0 auto; }
.dd-category { color: var(--dd-red); display: inline-block; font-size: 10px; line-height: 1.25; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--dd-muted); font-size: 11px; line-height: 1.4; }
.dd-meta-dot { width: 3px; height: 3px; background: #aaa; border-radius: 50%; }
.dd-excerpt { color: #565656; font-family: var(--dd-serif); font-size: 15px; line-height: 1.55; }
.dd-empty-image { background: linear-gradient(135deg, #ece9e6 0%, #d9d3ce 48%, #b9b1ab 100%); position: relative; overflow: hidden; }
.dd-empty-image:before, .dd-empty-image:after { content: ''; position: absolute; display: block; }
.dd-empty-image:before { width: 62%; height: 145%; top: -26%; right: -12%; transform: rotate(28deg); background: rgba(255,255,255,.28); }
.dd-empty-image:after { width: 42%; height: 130%; top: -14%; right: 24%; transform: rotate(28deg); background: rgba(199,25,45,.09); }
.dd-read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--dd-red); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; }
.dd-read-more:after { content: '→'; font-size: 15px; line-height: 1; transition: transform .15s ease; }
.dd-read-more:hover:after { transform: translateX(4px); }

/* Hero hybrid layout */
.dd-hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .9fr); gap: 28px; align-items: stretch; }
.dd-lead-story { min-width: 0; position: relative; isolation: isolate; background: #232323; color: #fff; min-height: 500px; }
.dd-lead-story > a { display: flex; flex-direction: column; justify-content: end; min-height: 500px; color: inherit; position: relative; overflow: hidden; }
.dd-lead-story .dd-lead-image, .dd-lead-story .dd-empty-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.dd-lead-story:hover .dd-lead-image, .dd-lead-story:hover .dd-empty-image { transform: scale(1.025); }
.dd-lead-story:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.03) 0%, rgba(0,0,0,.10) 32%, rgba(0,0,0,.88) 100%); z-index: -1; pointer-events: none; }
.dd-lead-copy { padding: 38px 38px 34px; position: relative; }
.dd-lead-story .dd-category { color: #fff; background: var(--dd-red); padding: 7px 9px; margin-bottom: 15px; }
.dd-lead-story h1 { font-family: var(--dd-serif); font-weight: 700; font-size: clamp(32px, 3.55vw, 47px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 15px; max-width: 800px; }
.dd-lead-story .dd-excerpt { color: #e5e5e5; max-width: 680px; margin: 0 0 16px; font-size: 16px; }
.dd-lead-story .dd-meta { color: #d0d0d0; }
.dd-lead-story:hover h1 { text-decoration: underline; text-decoration-color: rgba(255,255,255,.55); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dd-side-stories { border-top: 4px solid var(--dd-ink); display: flex; flex-direction: column; }
.dd-side-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0 14px; border-bottom: 1px solid var(--dd-line); }
.dd-side-heading h2 { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.dd-side-heading span { color: var(--dd-red); font: 700 13px var(--dd-serif); }
.dd-compact-story { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--dd-line); min-height: 108px; }
.dd-compact-story:last-child { border-bottom: 0; }
.dd-compact-copy { min-width: 0; }
.dd-compact-story h3 { font: 700 18px/1.19 var(--dd-serif); letter-spacing: -.02em; margin: 7px 0 9px; }
.dd-compact-story .dd-meta { font-size: 10px; }
.dd-compact-thumb { height: 88px; width: 112px; object-fit: cover; }
.dd-compact-story .dd-empty-image { height: 88px; width: 112px; }
.dd-compact-story:hover h3 { color: var(--dd-red); }
.dd-ad-slot { margin: 28px auto; max-width: 100%; text-align: center; }
.dd-ad-slot .widget, .dd-ad-slot .widget p { margin: 0; }
.dd-ad-caption { color: #a2a2a2; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 4px; }

/* Main feed and sidebar */
.dd-home-content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 34px; }
.dd-latest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 29px; }
.dd-story-card { min-width: 0; }
.dd-story-card .dd-card-image-link { display: block; overflow: hidden; background: #ece9e6; aspect-ratio: 16 / 10; margin-bottom: 13px; }
.dd-story-card .dd-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dd-story-card:hover .dd-card-image { transform: scale(1.035); }
.dd-story-card .dd-empty-image { width: 100%; height: 100%; }
.dd-story-card h2 { margin: 8px 0 9px; font: 700 23px/1.12 var(--dd-serif); letter-spacing: -.025em; }
.dd-story-card .dd-excerpt { margin: 0 0 10px; }
.dd-story-card:hover h2 { color: var(--dd-red); }
.dd-sidebar { min-width: 0; }
.dd-sidebar .widget { border-top: 3px solid var(--dd-ink); padding-top: 14px; margin-bottom: 30px; }
.dd-sidebar .widget-title, .dd-sidebar h2 { font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.dd-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.dd-sidebar .widget li { padding: 11px 0; border-top: 1px solid var(--dd-line); font: 700 16px/1.3 var(--dd-serif); }
.dd-sidebar .widget li:first-child { border-top: 0; padding-top: 0; }
.dd-sidebar .widget select, .dd-sidebar .widget input { max-width: 100%; }
.dd-sidebar .dd-sidebar-fallback { border-top: 3px solid var(--dd-ink); padding-top: 14px; margin-bottom: 30px; }
.dd-sidebar-fallback-title { margin: 0 0 16px; font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.dd-sidebar-mini { padding: 12px 0; border-top: 1px solid var(--dd-line); }
.dd-sidebar-mini a { font: 700 16px/1.28 var(--dd-serif); display: block; }
.dd-sidebar-mini .dd-meta { margin-top: 7px; font-size: 10px; }
.dd-pagination { display: flex; flex-wrap: wrap; gap: 7px; margin: 38px 0 8px; }
.dd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; border: 1px solid var(--dd-line); padding: 0 10px; font-size: 12px; font-weight: 700; }
.dd-pagination .current, .dd-pagination a:hover { color: #fff; background: var(--dd-ink); border-color: var(--dd-ink); }

/* Category rows */
.dd-category-section { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--dd-line); }
.dd-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dd-category-card { min-width: 0; }
.dd-category-card .dd-cat-image { display: block; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 12px; background: #ece9e6; }
.dd-category-card .dd-cat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dd-category-card:hover .dd-cat-image img { transform: scale(1.03); }
.dd-category-card .dd-empty-image { width: 100%; height: 100%; }
.dd-category-card h3 { font: 700 20px/1.15 var(--dd-serif); margin: 8px 0; }
.dd-category-card .dd-meta { font-size: 10px; }

/* Archives, search, pages */
.dd-page-head { padding: 27px 0 22px; margin-bottom: 28px; border-bottom: 3px solid var(--dd-ink); }
.dd-breadcrumbs { color: var(--dd-muted); font-size: 11px; margin-bottom: 12px; }
.dd-page-head h1 { margin: 0; font: 700 clamp(34px, 5vw, 54px)/1.04 var(--dd-serif); letter-spacing: -.04em; }
.dd-page-head p { color: #666; font: 16px/1.55 var(--dd-serif); margin: 12px 0 0; max-width: 730px; }
.dd-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.dd-archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.dd-page-content { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.dd-page-content h2, .dd-page-content h3 { font-family: var(--dd-serif); line-height: 1.2; }
.dd-page-content img { margin-block: 22px; }
.dd-not-found { max-width: 690px; margin: 50px auto 90px; text-align: center; }
.dd-not-found-code { color: var(--dd-red); font-weight: 900; font-size: 12px; letter-spacing: .2em; }
.dd-not-found h1 { font: 700 48px/1.05 var(--dd-serif); margin: 12px 0; }

/* Single article */
.dd-article-head { max-width: 980px; margin: 0 auto; padding: 32px 0 22px; }
.dd-article-head h1 { margin: 12px 0 15px; font: 700 clamp(36px, 5vw, 58px)/1.02 var(--dd-serif); letter-spacing: -.045em; }
.dd-article-deck { max-width: 800px; color: #535353; font: 20px/1.5 var(--dd-serif); margin: 0 0 18px; }
.dd-article-meta-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 14px; border-top: 1px solid var(--dd-line); }
.dd-byline { color: #555; font-size: 11px; }
.dd-share-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-share-tools button, .dd-share-tools a { display: inline-flex; justify-content: center; align-items: center; min-height: 31px; padding: 0 11px; border: 1px solid #d7d7d7; background: #fff; color: #333; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dd-share-tools button:hover, .dd-share-tools a:hover { border-color: var(--dd-red); color: var(--dd-red); }
.dd-featured-image { margin: 8px auto 30px; max-width: 1240px; }
.dd-featured-image img { width: 100%; max-height: 690px; object-fit: cover; }
.dd-image-caption { color: #777; font-size: 11px; padding-top: 7px; }
.dd-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 55px; max-width: 1140px; margin: 0 auto; }
.dd-article-content { min-width: 0; font: 18px/1.83 var(--dd-serif); color: #252525; overflow-wrap: anywhere; }
.dd-article-content > *:first-child { margin-top: 0; }
.dd-article-content p { margin: 0 0 1.35em; }
.dd-article-content h2 { font: 700 32px/1.15 var(--dd-serif); letter-spacing: -.025em; margin: 1.5em 0 .55em; }
.dd-article-content h3 { font: 700 25px/1.2 var(--dd-serif); margin: 1.4em 0 .5em; }
.dd-article-content h4 { font: 700 20px/1.3 var(--dd-sans); margin: 1.4em 0 .5em; }
.dd-article-content ul, .dd-article-content ol { padding-left: 1.35em; margin: 0 0 1.35em; }
.dd-article-content li { margin: .35em 0; }
.dd-article-content blockquote { border-left: 4px solid var(--dd-red); margin: 1.7em 0; padding: 4px 0 4px 24px; color: #4d4d4d; font: italic 22px/1.5 var(--dd-serif); }
.dd-article-content blockquote p:last-child { margin-bottom: 0; }
.dd-article-content a { color: var(--dd-red-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dd-article-content figure { margin: 1.6em 0; }
.dd-article-content figcaption { font: 11px/1.5 var(--dd-sans); color: #777; padding-top: 7px; }
.dd-article-content table { border-collapse: collapse; width: 100%; font: 14px/1.5 var(--dd-sans); }
.dd-article-content th, .dd-article-content td { border: 1px solid var(--dd-line); padding: 8px 10px; text-align: left; }
.dd-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 30px 0; font-size: 11px; }
.dd-tags a { border: 1px solid #ddd; padding: 5px 8px; color: #555; }
.dd-tags a:hover { border-color: var(--dd-red); color: var(--dd-red); }
.dd-author-box { padding: 20px; background: var(--dd-soft); margin: 36px 0; }
.dd-author-name { font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.dd-related { margin: 45px 0 20px; }
.dd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dd-related .dd-story-card h2 { font-size: 18px; }
.dd-comments { border-top: 3px solid var(--dd-ink); margin-top: 45px; padding-top: 22px; }
.dd-comments-title { font: 700 24px/1.2 var(--dd-serif); margin: 0 0 20px; }
.dd-comments ol { list-style: none; margin: 0; padding: 0; }
.dd-comments .comment { padding: 18px 0; border-top: 1px solid var(--dd-line); }
.dd-comments .comment-meta { font-size: 11px; color: var(--dd-muted); }
.dd-comments .comment-content { font: 15px/1.65 var(--dd-serif); }
.dd-comments .comment-form label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 700; }
.dd-comments .comment-form input:not([type="submit"]), .dd-comments .comment-form textarea { width: 100%; border: 1px solid #ccc; padding: 10px; background: #fff; }
.dd-comments .comment-form p { margin: 0 0 15px; }
.dd-comments .comment-form input[type="submit"] { border: 0; background: var(--dd-red); color: #fff; padding: 12px 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.dd-comments .comment-form input[type="submit"]:hover { background: var(--dd-red-dark); }

/* Footer */
.dd-footer { margin-top: 76px; background: #151515; color: #e9e9e9; }
.dd-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 55px; padding: 42px 0 38px; }
.dd-footer .dd-brand-de, .dd-footer .dd-brand-domain { color: #fff; }
.dd-footer .dd-brand-main { font-size: 34px; }
.dd-footer .dd-brand-drept { color: #ed3247; }
.dd-footer-description { color: #aaa; font: italic 14px/1.6 var(--dd-serif); max-width: 330px; margin-top: 14px; }
.dd-footer-heading { color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.dd-footer-menu, .dd-footer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 12px; color: #c8c8c8; }
.dd-footer-menu a:hover, .dd-footer-cats a:hover { color: #ff5b6c; }
.dd-footer-bottom { border-top: 1px solid #383838; }
.dd-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 15px; color: #999; font-size: 10px; }
.dd-footer-bottom a { color: #ccc; }

/* WordPress compatibility */
.alignleft { float: left; margin: .4em 1.25em .8em 0; }
.alignright { float: right; margin: .4em 0 .8em 1.25em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { color: #777; font: 11px/1.5 var(--dd-sans); }
.sticky { position: relative; }
.bypostauthor { }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #111; display: block; font-size: 14px; height: auto; left: 10px; padding: 15px 23px 14px; text-decoration: none; top: 10px; width: auto; z-index: 100000; }
.widget_calendar table { width: 100%; }
.widget_calendar td, .widget_calendar th { text-align: center; padding: 3px; }

@media (max-width: 1100px) {
  .dd-masthead-inner { grid-template-columns: 1fr auto; }
  .dd-masthead-caption { display: none; }
  .dd-primary-menu > li > a, .dd-nav-fallback a { padding-inline: 13px; }
  .dd-hero-layout { grid-template-columns: minmax(0, 1.35fr) minmax(285px, .9fr); gap: 22px; }
  .dd-lead-story, .dd-lead-story > a { min-height: 470px; }
  .dd-lead-copy { padding: 30px; }
  .dd-lead-story h1 { font-size: clamp(30px, 4vw, 42px); }
  .dd-home-content, .dd-archive-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .dd-article-layout { padding-inline: 24px; gap: 34px; grid-template-columns: minmax(0, 760px) 270px; }
}
@media (max-width: 820px) {
  .dd-container { width: min(var(--dd-container), calc(100% - 32px)); }
  .dd-topline-inner { min-height: 30px; }
  .dd-topline-tagline { display: none; }
  .dd-masthead-inner { min-height: 86px; grid-template-columns: 1fr auto; gap: 10px; }
  .dd-brand-main { font-size: 39px; }
  .dd-search-form { width: 38px; border: 0; }
  .dd-search-form input[type="search"] { display: none; }
  .dd-search-form button { padding: 8px; }
  .dd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .dd-nav-wrap { border-bottom-width: 2px; }
  .dd-navigation { display: none; align-items: stretch; min-height: 0; }
  .dd-navigation.is-open { display: block; }
  .dd-primary-menu, .dd-nav-fallback { display: flex; flex-direction: column; align-items: stretch; }
  .dd-primary-menu > li { display: block; }
  .dd-primary-menu > li > a, .dd-nav-fallback a { min-height: 43px; padding: 0 4px; margin: 0; border-bottom: 1px solid var(--dd-line); font-size: 11px; }
  .dd-primary-menu .sub-menu { display: block; position: static; min-width: 0; box-shadow: none; border-top: 0; padding: 0 0 6px 15px; }
  .dd-primary-menu .sub-menu a { padding: 7px; }
  .dd-ticker-inner { min-height: 40px; gap: 10px; }
  .dd-ticker-label { font-size: 9px; }
  .dd-ticker-title { font-size: 12px; }
  .dd-main { padding-top: 18px; }
  .dd-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dd-lead-story, .dd-lead-story > a { min-height: 490px; }
  .dd-lead-story h1 { font-size: clamp(34px, 7vw, 47px); }
  .dd-side-stories { border-top-width: 3px; }
  .dd-side-heading { padding-top: 11px; }
  .dd-compact-story { grid-template-columns: minmax(0, 1fr) 112px; padding: 13px 0; }
  .dd-compact-story h3 { font-size: 17px; margin-top: 5px; }
  .dd-home-content, .dd-archive-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dd-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .dd-sidebar .widget, .dd-sidebar .dd-sidebar-fallback { margin: 0; }
  .dd-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dd-article-head { padding-top: 23px; }
  .dd-article-head h1 { font-size: clamp(36px, 7vw, 52px); }
  .dd-article-deck { font-size: 18px; }
  .dd-featured-image { margin-top: 3px; }
  .dd-article-layout { display: block; padding-inline: 0; }
  .dd-article-content { max-width: 760px; margin-inline: auto; }
  .dd-article-sidebar { margin-top: 42px; }
  .dd-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dd-footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .dd-footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .dd-container { width: calc(100% - 28px); }
  .dd-topline { font-size: 9px; }
  .dd-masthead-inner { min-height: 75px; }
  .dd-brand-main { font-size: 34px; }
  .dd-masthead-tools { gap: 5px; }
  .dd-search-form { width: 32px; }
  .dd-search-form button { padding: 6px; }
  .dd-search-icon { width: 19px; height: 19px; }
  .dd-menu-toggle { padding: 5px; }
  .dd-ticker-label { letter-spacing: .08em; }
  .dd-ticker-divider { display: none; }
  .dd-lead-story, .dd-lead-story > a { min-height: 445px; }
  .dd-lead-story h1 { font-size: 35px; line-height: 1.02; }
  .dd-lead-copy { padding: 24px 20px 23px; }
  .dd-lead-story .dd-excerpt { font-size: 14px; }
  .dd-section-heading { margin-bottom: 16px; }
  .dd-compact-story { grid-template-columns: minmax(0, 1fr) 96px; gap: 11px; }
  .dd-compact-thumb, .dd-compact-story .dd-empty-image { width: 96px; height: 78px; }
  .dd-compact-story h3 { font-size: 16px; }
  .dd-compact-story .dd-category { font-size: 9px; }
  .dd-latest-grid, .dd-archive-list { grid-template-columns: minmax(0,1fr); row-gap: 27px; }
  .dd-story-card .dd-card-image-link { margin-bottom: 10px; }
  .dd-story-card h2 { font-size: 24px; }
  .dd-story-card .dd-excerpt { font-size: 14px; }
  .dd-home-content { margin-top: 29px; }
  .dd-sidebar { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .dd-category-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .dd-category-card { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 12px; align-items: start; }
  .dd-category-card .dd-cat-image { grid-row: 1 / span 3; margin: 0; aspect-ratio: 1 / 1; }
  .dd-category-card h3 { font-size: 18px; margin: 5px 0 6px; }
  .dd-category-card .dd-meta { display: none; }
  .dd-page-head { padding-top: 22px; }
  .dd-page-head h1 { font-size: 38px; }
  .dd-article-head { padding-top: 19px; }
  .dd-article-head h1 { font-size: 37px; line-height: 1.04; margin-top: 10px; }
  .dd-article-deck { font-size: 17px; }
  .dd-article-meta-line { align-items: flex-start; }
  .dd-share-tools { width: 100%; }
  .dd-share-tools button, .dd-share-tools a { flex: 1 1 auto; }
  .dd-article-content { font-size: 17px; line-height: 1.78; }
  .dd-article-content h2 { font-size: 28px; }
  .dd-article-content blockquote { font-size: 20px; padding-left: 17px; }
  .dd-related-grid { grid-template-columns: minmax(0,1fr); }
  .dd-footer { margin-top: 55px; }
  .dd-footer-top { grid-template-columns: minmax(0,1fr); gap: 26px; padding: 33px 0; }
  .dd-footer-brand-block { grid-column: auto; }
  .dd-footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 12px 0; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
