/* WordPress-side additions: base face for templates outside the design pages. */
body { margin: 0; font-family: Archivo, sans-serif; font-stretch: 100%; font-size: 17px; line-height: 1.55; color: #111A2C; background: #FFFFFF; }
.db7-fallback { padding: 64px 20px 96px; }
.db7-fallback__article { max-width: 1200px; margin: 0 auto; }
.db7-fallback__title { margin: 0 0 32px; max-width: 900px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; }
.db7-prose { max-width: 680px; }
.db7-prose img { max-width: 100%; height: auto; }
.db7-prose h2 { font-size: 32px; line-height: 1.15; font-stretch: 112%; font-weight: 760; margin: 48px 0 16px; }
.db7-prose h3 { font-size: 24px; line-height: 1.2; font-stretch: 112%; font-weight: 700; margin: 32px 0 12px; }

/* Legacy case text on v7 case pages (rule 4). Tokens from DESIGN.md. */
.db7-casetext { padding: 0 20px 96px; }
.db7-casetext__in { max-width: 1200px; margin: 0 auto; border-top: 1px solid #DDE2EA; padding-top: 64px; }
.db7-casetext__h { margin: 0 0 32px; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; font-weight: 780; font-stretch: 112%; letter-spacing: -0.02em; }
.db7-prose { max-width: 680px; font-size: 17px; line-height: 1.55; color: #111A2C; }
.db7-prose p { margin: 0 0 16px; }
.db7-prose ul, .db7-prose ol { margin: 0 0 20px; padding-left: 20px; }
.db7-prose li { margin: 0 0 6px; }
.db7-prose h2 { font-size: 32px; line-height: 1.15; font-stretch: 112%; font-weight: 760; margin: 48px 0 16px; }
.db7-prose h3 { font-size: 24px; line-height: 1.2; font-stretch: 112%; font-weight: 720; margin: 40px 0 12px; }
.db7-prose h4 { font-size: 18px; line-height: 1.3; font-weight: 700; margin: 24px 0 8px; }
.db7-prose a { color: #385098; }

.db7-fallback__head { max-width: 1200px; margin: 0 auto 48px; }
.db7-fallback__img { display: block; width: 100%; max-width: 900px; height: auto; border-radius: 12px; margin-top: 32px; }
.db7-fallback .db7-casetext { padding: 0 0 32px; }
.db7-fallback .db7-casetext__in { border-top: 0; padding-top: 0; }

/* Design scroll-reveal (section>div, animation-timeline: view()) must not hide long legacy text. */
.db7-casetext > div, .db7-fallback section > div { animation: none !important; opacity: 1 !important; transform: none !important; }

/* Blog pagination (BlogV4 has none; same tokens as its cards). */
.db7-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.db7-pager .page-numbers { display: inline-flex; align-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid #DDE2EA; border-radius: 8px; color: #111A2C; text-decoration: none; font-weight: 600; justify-content: center; }
.db7-pager .page-numbers.current { background: #111A2C; border-color: #111A2C; color: #FFFFFF; }
.db7-pager a.page-numbers:hover { border-color: #111A2C; }
.prose img { max-width: 100%; height: auto; }
.prose h2:first-child { margin-top: 0; }

/* Form errors (db7-forms.js) */
.db7-err { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: #B42318; }
[aria-invalid="true"] { border-color: #B42318 !important; }

/* Cookie banner (GDPR Cookie Compliance plugin) in v7 tokens: light card, Archivo, primary button. */
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme { background: #FFFFFF !important; border-top: 1px solid #DDE2EA !important; box-shadow: 0 -8px 24px rgba(17, 26, 44, .08); }
#moove_gdpr_cookie_info_bar, #moove_gdpr_cookie_info_bar *, #moove_gdpr_cookie_modal, #moove_gdpr_cookie_modal * { font-family: Archivo, sans-serif !important; }
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container { padding: 16px 20px !important; }
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content { max-width: 1200px; margin: 0 auto; gap: 16px 32px; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-cookie-notice p { color: #111A2C !important; font-size: 15px !important; line-height: 1.5 !important; margin: 0 !important; }
#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-cookie-notice button.change-settings-button { color: #385098 !important; text-decoration: underline; font-size: 15px !important; }
#moove_gdpr_cookie_info_bar .moove-gdpr-button-holder button.mgbutton { background: #385098 !important; color: #FFFFFF !important; border: 0 !important; border-radius: 8px !important; height: 44px; padding: 0 22px !important; font-size: 15px !important; font-weight: 600 !important; opacity: 1 !important; box-shadow: none !important; }
#moove_gdpr_cookie_info_bar .moove-gdpr-button-holder button.mgbutton:hover { background: #2B3F7C !important; }
#moove_gdpr_cookie_modal .moove-gdpr-modal-content { border-radius: 12px; }
#moove_gdpr_cookie_modal .mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-save-settings { background: #385098 !important; border-color: #385098 !important; border-radius: 8px !important; }

.db7-archive__item { max-width: 900px; padding: 24px 0; border-top: 1px solid #DDE2EA; }
.db7-archive__item h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 760; font-stretch: 110%; }
.db7-archive__item h2 a { color: inherit; text-decoration: none; }
.db7-archive__item p { margin: 0; color: #5A6478; }

/* SNIPPETS.md #25 ported (claw-tap-targets): bigger hit areas on phones without moving the layout.
   Padding plus the same negative margin: inline links ignore the margin and their padding does not
   change the line box; block links net to zero. Header logo to 44px, other links to >= 24px (WCAG 2.2 AA). */
@media (max-width: 767px) {
  header a[href="/"] { padding-block: 9px; margin-block: -9px; }
  nav[aria-label="Breadcrumb"] a { padding-block: 14px; }
  a:not(header a):not(nav[aria-label="Breadcrumb"] a):not(.btn):not(.lift):not([class*="db7-"]):not([style*="padding"]) { padding-block: 6px; margin-block: -6px; }
}
/* SNIPPETS.md #24 ported (claw-prose-measure): legacy case text reads in a ~68-character column. */
@media (min-width: 992px) {
  .db7-casetext :is(p, ul, ol, h2, h3) { max-width: 36rem; }
}
