/*
Theme Name: DonnaUp Air
Theme URI: https://donnaup.it/
Author: OpenAI for DonnaUp
Description: Tema editoriale ultra-leggero, mobile-first, pensato per DonnaUp.it. Nessun framework, nessun font esterno, pochissimo JavaScript.
Version: 2.4.10
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: donnaup-air
*/

:root {
  --du-ink: #171516;
  --du-muted: #746f72;
  --du-line: #e9e4e6;
  --du-paper: #ffffff;
  --du-soft: #fff6f6;
  --du-soft-2: #f8f8f8;
  --du-rose: #d96882;
  --du-rose-dark: #ad3f5a;
  --du-radius: 18px;
  --du-shadow: 0 10px 28px rgba(41, 24, 31, .07);
  --du-wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--du-ink);
  background: var(--du-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--du-rose-dark); }
button, input { font: inherit; }

.du-wrap { width: min(calc(100% - 32px), var(--du-wrap)); margin-inline: auto; }
.du-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header / masthead */
.du-site-header { position: relative; z-index: 30; background: rgba(255,255,255,.97); }
.du-topline { border-bottom: 1px solid var(--du-line); }
.du-topline-row { min-height: 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.du-edition { font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--du-muted); }
.du-tagline { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 12px; color: #5c5558; }
.du-topline-side { justify-self: end; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--du-muted); }
.du-masthead-row { min-height: 104px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
.du-brand { justify-self: center; display: inline-grid; place-items: center; line-height: 1; }
.du-brand .custom-logo, .du-brand .du-brand-img { display: block; width: auto; height: auto; max-height: 78px; max-width: min(360px, 58vw); object-fit: contain; }
.du-brand-text { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(48px, 6vw, 76px); letter-spacing: -3.8px; }
.du-up-mark { color: var(--du-rose); font-size: .62em; vertical-align: .42em; margin-left: .04em; }
.du-icon-btn { width: 40px; height: 40px; border: 0; background: transparent; color: var(--du-ink); padding: 8px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.du-icon-btn:hover { background: var(--du-soft); }
.du-icon-btn svg { width: 22px; height: 22px; }
.du-menu-toggle { display: none; }
.du-desktop-nav { border-top: 1px solid var(--du-line); border-bottom: 1px solid var(--du-line); background: #fff; }
.du-nav-row { display: flex; align-items: center; justify-content: center; gap: 28px; }
.du-nav-menu { min-width: 0; }
.du-news-link { flex: 0 0 auto; padding: 12px 0 11px 28px; border-left: 1px solid var(--du-line); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; color: var(--du-rose-dark); white-space: nowrap; }
.du-primary-menu { display: flex; align-items: center; justify-content: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.du-primary-menu > li { position: relative; }
.du-primary-menu > li > a { display: block; padding: 12px 0 11px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.du-primary-menu > li > a:hover { color: var(--du-rose-dark); }
.du-primary-menu .sub-menu { display: none; position: absolute; z-index: 45; top: 100%; left: 50%; transform: translateX(-50%); min-width: 220px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--du-line); box-shadow: var(--du-shadow); border-radius: 12px; }
.du-primary-menu li:hover > .sub-menu, .du-primary-menu li:focus-within > .sub-menu { display: block; }
.du-primary-menu .sub-menu a { display: block; padding: 8px 10px; font-size: 13px; border-radius: 8px; }
.du-primary-menu .sub-menu a:hover { background: var(--du-soft); }
.du-search-panel { display: none; border-bottom: 1px solid var(--du-line); background: var(--du-soft); padding: 14px 0; }
.du-search-panel.is-open { display: block; }
.du-search-form { display: flex; max-width: 720px; margin: auto; gap: 8px; }
.du-search-field { width: 100%; border: 1px solid #ddd5d8; background: #fff; border-radius: 999px; padding: 11px 16px; font: inherit; }
.du-search-submit { border: 0; border-radius: 999px; background: var(--du-ink); color: #fff; font-weight: 700; padding: 0 18px; cursor: pointer; }
.du-cat-strip { display: none; border-bottom: 1px solid var(--du-line); background: #fff; }
.du-cat-scroll { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.du-cat-scroll::-webkit-scrollbar { display: none; }
.du-cat-pill { flex: 0 0 auto; scroll-snap-align: start; border: 1px solid var(--du-line); border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 800; background: #fff; }
.du-cat-pill:hover, .du-cat-pill.is-active { background: var(--du-soft); border-color: #efcbd4; }

/* Homepage — editorial, simple, swipeable */
.du-home { overflow: visible; padding-bottom: 0; }
.du-kicker { color: var(--du-rose-dark); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.du-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; color: var(--du-muted); font-size: 11px; }
.du-lead-section { padding: clamp(22px, 3.8vw, 48px) 0 clamp(36px, 5vw, 64px); }
.du-lead-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(300px, .72fr); gap: clamp(22px, 3vw, 42px); align-items: start; }
.du-lead-story { min-width: 0; }
.du-lead-media { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 2px; background: var(--du-soft-2); }
.du-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.du-lead-story:hover .du-lead-media img { transform: scale(1.018); }
.du-lead-copy { max-width: 900px; padding: 20px 2px 0; }
.du-lead-title { margin: 6px 0 11px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5.15vw, 68px); line-height: .98; letter-spacing: -2.4px; text-wrap: balance; }
.du-lead-excerpt { max-width: 720px; margin: 0 0 13px; color: #5f585b; font-size: 15px; line-height: 1.55; }
.du-now { border-top: 3px solid var(--du-ink); }
.du-now-head { min-height: 42px; display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.du-now-head i { height: 1px; flex: 1; background: var(--du-line); }
.du-now-card { display: grid; grid-template-columns: 42% minmax(0,1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--du-line); }
.du-now-media { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--du-soft-2); }
.du-now-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.du-now-card:hover img { transform: scale(1.025); }
.du-now-copy h2 { margin: 5px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 1.65vw, 25px); line-height: 1.08; letter-spacing: -.5px; }

.du-section { padding: clamp(42px, 6vw, 78px) 0; border-top: 1px solid var(--du-line); }
.du-section-2 { background: var(--du-soft); }
.du-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.du-section-heading { display: flex; align-items: baseline; gap: 13px; }
.du-section-no { font-size: 9px; font-weight: 900; letter-spacing: .13em; color: var(--du-rose-dark); }
.du-section-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5vw, 62px); line-height: .92; letter-spacing: -2.2px; }
.du-section-link { flex: 0 0 auto; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--du-ink); padding-bottom: 3px; }
.du-section-link::after { content: "  ↗"; color: var(--du-rose); }
.du-card-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(255px, 31.5vw, 382px); align-items: start; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overflow-y: hidden; padding: 2px max(1px, calc((100vw - var(--du-wrap))/2)) 14px 1px; margin-right: calc((100vw - min(100vw, var(--du-wrap))) / -2); scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.du-card-rail::-webkit-scrollbar { display: none; }
.du-story-card { scroll-snap-align: start; min-width: 0; }
.du-card-media { aspect-ratio: 4/3; border-radius: 2px; overflow: hidden; background: var(--du-soft-2); }
.du-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.6,.2,1); }
.du-story-card:hover .du-card-media img { transform: scale(1.025); }
.du-card-body { padding: 13px 2px 0; }
.du-card-title { margin: 5px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(22px, 2vw, 28px); line-height: 1.08; letter-spacing: -.65px; }
.du-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.du-latest { position: relative; z-index: 1; overflow: visible; background: var(--du-ink); color: #fff; padding: clamp(48px, 7vw, 82px) 0 clamp(72px, 8vw, 112px); }
.du-latest .du-section-no { color: #ef9caf; }
.du-latest .du-section-title { color: #fff; }
.du-latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 28px 20px; }
.du-latest .du-card-media { aspect-ratio: 16/10; background: #272326; }
.du-latest .du-kicker { color: #ef9caf; }
.du-latest .du-meta { color: #bcb4b7; }
.du-latest .du-card-title a { color: #fff; }
.du-latest .du-latest-link { color: #fff; border-bottom-color: #fff; }
.du-latest .du-latest-link::after { color: #ef9caf; }
/* Archives */
.du-page-head { padding: 42px 0 22px; border-bottom: 1px solid var(--du-line); }
.du-page-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 74px); line-height: .98; letter-spacing: -2px; }
.du-page-description { max-width: 760px; color: var(--du-muted); margin-top: 14px; }
.du-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; padding: 34px 0 48px; }
.du-pagination { display: flex; justify-content: center; padding: 10px 0 56px; }
.du-pagination .nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.du-pagination a, .du-pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--du-line); font-size: 13px; }
.du-pagination .current { background: var(--du-ink); color: white; border-color: var(--du-ink); }

/* Single article */
.du-article { padding: 42px 0 70px; }
.du-article-head { max-width: 920px; margin: 0 auto 28px; text-align: center; }
.du-article-title { margin: 10px 0 15px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -2.2px; }
.du-article-deck { max-width: 760px; margin: 0 auto 15px; color: #5d5759; font-size: 18px; }
.du-article-cover { max-width: 1120px; max-height: 720px; margin: 0 auto 34px; border-radius: 24px; overflow: hidden; background: var(--du-soft-2); }
.du-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.du-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 220px; justify-content: center; gap: 54px; }
.du-article-content { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.78; }
.du-article-content > *:first-child { margin-top: 0; }
.du-article-content h2, .du-article-content h3 { line-height: 1.15; letter-spacing: -.5px; margin-top: 1.8em; }
.du-article-content h2 { font-size: 34px; }
.du-article-content h3 { font-size: 26px; }
.du-article-content a { color: var(--du-rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.du-article-content blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--du-rose); background: var(--du-soft); font-size: 1.08em; }
.du-article-content figure { margin-left: 0; margin-right: 0; }
.du-article-content img { border-radius: 14px; }
.du-article-aside { align-self: start; position: sticky; top: 112px; border-left: 1px solid var(--du-line); padding-left: 20px; }
.du-aside-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--du-muted); }
.du-share { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.du-share a { width: 38px; height: 38px; border: 1px solid var(--du-line); border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.du-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; font-family: Inter, ui-sans-serif, sans-serif; font-size: 12px; }
.du-tags a { padding: 6px 10px; background: var(--du-soft-2); border-radius: 999px; text-decoration: none; color: var(--du-muted); }

/* Generic */
.du-content-page { max-width: 800px; padding: 46px 0 70px; }
.du-content-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 6vw, 64px); line-height: 1; }
.du-empty { padding: 70px 0; text-align: center; }

/* Footer */
.du-footer { position: relative; z-index: 2; clear: both; border-top: 1px solid var(--du-line); background: var(--du-soft); padding: 42px 0 28px; }
.du-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.du-footer-brand { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 38px; letter-spacing: -1.5px; }
.du-footer-copy { max-width: 540px; color: var(--du-muted); font-size: 14px; }
.du-footer-news { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; border-bottom: 1px solid currentColor; }
.du-footer-menu { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; font-weight: 650; }
.du-footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #efdfe3; color: var(--du-muted); font-size: 12px; display: flex; justify-content: space-between; gap: 18px; }

@media (max-width: 900px) {
  .du-topline-row { grid-template-columns: 1fr auto; }
  .du-tagline { display: none; }
  .du-topline-side { justify-self: end; }
  .du-masthead-row { min-height: 76px; grid-template-columns: 42px 1fr 42px; }
  .du-brand .custom-logo, .du-brand .du-brand-img { max-height: 58px; max-width: min(290px, 62vw); }
  .du-brand-text { font-size: 54px; }
  .du-menu-toggle { display: grid; }
  .du-nav-row { display: block; }
  .du-nav-menu { width: 100%; }
  .du-news-link { display: block; padding: 13px 4px 12px; border-left: 0; border-top: 1px solid var(--du-line); color: var(--du-rose-dark); }
  .du-desktop-nav { display: none !important; position: absolute; top: 109px; left: 0; right: 0; z-index: 50; border-top: 0; box-shadow: var(--du-shadow); }
  .du-desktop-nav.is-open { display: block !important; }
  .du-primary-menu { display: grid; justify-content: stretch; gap: 0; padding: 6px 0 14px; }
  .du-primary-menu > li > a { padding: 11px 4px; border-bottom: 1px solid var(--du-line); }
  .du-primary-menu .sub-menu { display: block; position: static; transform: none; border: 0; box-shadow: none; padding: 0 0 6px 14px; }
  .du-primary-menu .sub-menu a { padding: 7px 4px; }
  .du-cat-strip { display: block; }
  .du-lead-grid { grid-template-columns: 1fr; }
  .du-now { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; border-top: 1px solid var(--du-line); padding-top: 18px; }
  .du-now-head { grid-column: 1/-1; min-height: 20px; }
  .du-now-card { grid-template-columns: 1fr; gap: 9px; padding: 0; border-top: 0; }
  .du-card-rail { grid-auto-columns: minmax(260px, 57%); }
  .du-latest-grid, .du-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .du-article-layout { grid-template-columns: minmax(0, 760px); }
  .du-article-aside { display: none; }
}

@media (max-width: 620px) {
  .du-wrap { width: min(calc(100% - 24px), var(--du-wrap)); }
  .du-topline { display: none; }
  .du-masthead-row { min-height: 67px; grid-template-columns: 40px 1fr 40px; }
  .du-brand .custom-logo, .du-brand .du-brand-img { max-height: 48px; max-width: min(245px, 64vw); }
  .du-brand-text { font-size: 43px; letter-spacing: -2.6px; }
  .du-desktop-nav { top: 67px; }
  .du-cat-scroll { padding-top: 7px; padding-bottom: 7px; }
  .du-cat-pill { padding: 7px 13px; font-size: 11px; }
  .du-lead-section { padding-top: 14px; }
  .du-lead-media { aspect-ratio: 4/3; margin-left: -12px; margin-right: -12px; }
  .du-lead-title { font-size: clamp(36px, 11.5vw, 50px); letter-spacing: -1.6px; }
  .du-lead-excerpt { display: none; }
  .du-now { gap: 12px; }
  .du-now-copy h2 { font-size: 19px; }
  .du-now-copy .du-meta { display: none; }
  .du-section { padding: 42px 0 38px; }
  .du-section-head { align-items: center; margin-bottom: 17px; }
  .du-section-heading { gap: 9px; }
  .du-section-title { font-size: clamp(36px, 12vw, 48px); letter-spacing: -1.7px; }
  .du-section-link { font-size: 0; border: 0; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.75); }
  .du-section-link::after { content: "→"; font-size: 17px; color: var(--du-ink); }
  .du-card-rail { grid-auto-columns: 82%; gap: 13px; margin-right: -12px; padding-right: 12px; }
  .du-card-title { font-size: 23px; }
  .du-latest-grid, .du-archive-grid { grid-template-columns: 1fr; }
  .du-page-head { padding-top: 30px; }
  .du-article { padding-top: 28px; }
  .du-article-head { text-align: left; }
  .du-article-title { font-size: clamp(38px, 12vw, 54px); letter-spacing: -1.5px; }
  .du-article-deck { font-size: 17px; }
  .du-article-cover { border-radius: 0; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
  .du-article-content { font-size: 18px; line-height: 1.72; }
  .du-footer-grid { grid-template-columns: 1fr; }
  .du-footer-menu { justify-content: flex-start; }
  .du-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}


/* v2.2 — Footer istituzionale, legacy pages e internal linking */
.du-footer-grid-v22 { grid-template-columns: minmax(0, 1.35fr) minmax(150px, .65fr) minmax(150px, .65fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.du-footer-logo { display: inline-block; line-height: 0; margin-bottom: 14px; }
.du-footer-logo img { display: block; width: auto; height: auto; max-width: min(260px, 68vw); max-height: 64px; }
.du-footer-title { margin: 5px 0 16px; font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--du-rose-dark); }
.du-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.du-footer-links a { font-size: 13px; font-weight: 650; text-decoration: none; }
.du-footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.du-author-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); margin: 34px 0 18px; }
.du-author-card { min-width: 0; }
.du-author-avatar { display: block; width: 100%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--du-soft); margin-bottom: 14px; }
.du-author-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.du-author-card h2 { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.du-author-card p { margin: 0; color: var(--du-muted); font-size: 13px; line-height: 1.55; }
.du-legacy-separator { border: 0; border-top: 1px solid var(--du-line); margin: 30px 0; }

.du-article-meta a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.du-related { margin-top: clamp(50px, 7vw, 84px); padding-top: 28px; border-top: 1px solid var(--du-line); }
.du-related-head { margin-bottom: 20px; }
.du-related-head h2 { margin: 5px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.02; letter-spacing: -.035em; }
.du-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }

@media (max-width: 840px) {
  .du-footer-grid-v22 { grid-template-columns: 1fr 1fr; }
  .du-footer-intro { grid-column: 1 / -1; }
  .du-author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .du-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .du-footer-grid-v22 { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .du-footer-logo img { max-width: 210px; max-height: 52px; }
  .du-footer-links a { font-size: 12px; }
  .du-author-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
}


/* v2.2 — menu storico a tre livelli + breadcrumbs */
@media (min-width: 841px) {
  .du-primary-menu .sub-menu .sub-menu { top: -11px; left: 100%; transform: none; margin-left: 8px; }
  .du-primary-menu .sub-menu li { position: relative; }
}
.du-breadcrumbs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; color: var(--du-muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.du-breadcrumbs a { color: inherit; }
.du-breadcrumbs a:hover { color: var(--du-rose-dark); }
.du-kicker-link { display: inline-block; text-decoration: none; }
.du-kicker-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* v2.3 — deterministic DonnaUp SVG rendering */
.du-brand .du-brand-img {
  aspect-ratio: 608 / 119;
  width: min(360px, 58vw);
  height: auto;
  min-width: 0;
}
.du-footer-logo img {
  aspect-ratio: 608 / 119;
  width: min(260px, 68vw);
  height: auto;
}
@media (max-width: 900px) {
  .du-brand .du-brand-img { width: min(290px, 62vw); }
}
@media (max-width: 640px) {
  .du-brand .du-brand-img { width: min(245px, 64vw); }
  .du-footer-logo img { width: min(210px, 68vw); }
}


/* v2.4 — original animated DonnaUp logo, isolated from theme CSS */
.du-brand-object {
  display: block;
  width: min(360px, 58vw);
  height: auto;
  aspect-ratio: 608 / 119;
  max-width: 100%;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}
.du-brand-object-fallback { width: 100%; height: 100%; }
.du-footer-logo .du-brand-object {
  width: min(260px, 68vw);
  height: auto;
  aspect-ratio: 608 / 119;
}
@media (max-width: 900px) {
  .du-brand .du-brand-object { width: min(290px, 62vw); }
}
@media (max-width: 640px) {
  .du-brand .du-brand-object { width: min(245px, 64vw); }
  .du-footer-logo .du-brand-object { width: min(210px, 68vw); }
}


/* v2.4.1 — CLS hardening: mobile navigation must be closed from first paint. */
@media (max-width: 900px) {
  #du-main-nav:not(.is-open) { display: none !important; }
  #du-search-panel:not(.is-open) { display: none !important; }
}


/* v2.4.2 — CLS: single featured image reserves its exact intrinsic ratio before external CSS. */
.du-article-cover { contain: layout paint; }

/* v2.4.3 card visibility fix */
.du-story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.du-card-media {
  position: relative;
  display: block;
  width: 100%;
  z-index: 1;
}

.du-card-body {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  z-index: 2;
  background: var(--du-paper);
}

.du-card-title,
.du-card-title a,
.du-kicker,
.du-meta {
  position: relative;
  z-index: 3;
  opacity: 1;
  visibility: visible;
}

.du-card-title {
  overflow-wrap: anywhere;
}


/* v2.4.4 — related and dark homepage polish */
.du-related .du-card-body {
  background: transparent;
  padding-top: 10px;
}

.du-related .du-card-title,
.du-related .du-card-title a {
  color: #111;
  text-decoration: none;
}

.du-related .du-card-title a:hover {
  text-decoration: none;
}

.du-related .du-card-media {
  margin-bottom: 0;
}

/* Latest stories lives on the dark editorial section */
.du-latest .du-card-body {
  background: transparent;
}

.du-latest .du-card-title,
.du-latest .du-card-title a {
  color: #fff;
  text-decoration: none;
}

.du-latest .du-card-title a:hover {
  color: #fff;
  text-decoration: none;
}


/* v2.4.5 — modern search + native footer social link */
.du-search-panel {
  background: linear-gradient(180deg, #fffafa 0%, var(--du-soft) 100%);
  padding: 18px 0 20px;
}
.du-search-form {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}
.du-search-shell {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 7px 6px 18px;
  border: 1px solid #eadde1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(41, 24, 31, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.du-search-shell:focus-within {
  border-color: rgba(173, 63, 90, .42);
  box-shadow: 0 10px 32px rgba(41, 24, 31, .09), 0 0 0 3px rgba(217, 104, 130, .09);
}
.du-search-icon {
  width: 20px;
  height: 20px;
  color: var(--du-rose-dark);
  opacity: .9;
}
.du-search-field {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 0;
  padding: 10px 2px;
  background: transparent;
  color: var(--du-ink);
  font-size: 15px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
}
.du-search-field::placeholder { color: #9a9296; opacity: 1; }
.du-search-field::-webkit-search-cancel-button { cursor: pointer; }
.du-search-submit {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0 17px 0 19px;
  background: var(--du-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.du-search-submit:hover { background: var(--du-rose-dark); color: #fff; }
.du-search-submit:active { transform: translateY(1px); }
.du-search-submit svg { width: 16px; height: 16px; }

.du-footer-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
}
.du-footer-actions .du-footer-news,
.du-footer-social {
  margin-top: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.du-footer-social {
  color: var(--du-rose-dark);
}
.du-footer-action-sep {
  color: #b8afb3;
  font-size: 13px;
  line-height: 1;
}
.du-footer-actions a:hover {
  color: var(--du-rose-dark);
  text-decoration: none;
}

@media (max-width: 620px) {
  .du-search-panel { padding: 12px 0 14px; }
  .du-search-shell { grid-template-columns: 20px minmax(0, 1fr) 42px; min-height: 50px; padding: 4px 5px 4px 14px; gap: 8px; }
  .du-search-field { font-size: 16px; padding: 8px 0; }
  .du-search-submit { width: 42px; min-height: 42px; padding: 0; }
  .du-search-submit span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .du-search-submit svg { width: 18px; height: 18px; }
  .du-footer-actions { gap: 5px 8px; }
}

/* v2.4.6 — Yoast-aware OpenGraph/Schema bridge; no duplicate manual metadata. */
/* v2.4.8 — clear, keyboard-accessible topic navigation. */
.du-masthead-row > .du-menu-toggle { grid-column:1; grid-row:1; }
.du-masthead-row > .du-brand { grid-column:2; grid-row:1; }
.du-masthead-row > .du-search-toggle { grid-column:3; grid-row:1; justify-self:end; }
.du-topic-nav ul { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; margin:22px 0 0; padding:0; }
.du-topic-nav li { margin:0; }
.du-topic-nav a { display:inline-flex; align-items:center; min-height:44px; padding:9px 17px; border:1px solid #dbcbd1; border-radius:999px; background:#fff; color:var(--du-ink); font-size:14px; font-weight:750; text-decoration:none; line-height:1.4; }
.du-topic-nav a:hover, .du-topic-nav a[aria-current="page"] { background:var(--du-ink); border-color:var(--du-ink); color:#fff; }
.du-topic-nav a:focus-visible, .du-topic-link a:focus-visible { outline:3px solid var(--du-rose-dark); outline-offset:4px; }
.du-topic-link { margin:30px 0; padding:20px 22px; border-left:4px solid var(--du-rose-dark); border-radius:0 12px 12px 0; background:var(--du-soft); }
.du-topic-link a { color:var(--du-ink); font-weight:750; text-underline-offset:4px; }
@media (max-width:620px) { .du-topic-nav ul { gap:7px; margin-top:18px; } .du-topic-nav a { padding:9px 13px; font-size:13px; } }
