/* utf8-marker = äöü */
/*
 * adrega2026 — template stylesheet for adrega.com on CMSimple_XH (AB#22135).
 * Built from the Claude Design canvas "Adrega website" and the Adrega design system.
 * Layout lives here; page content uses the .ad-* section classes documented in the
 * repo's CLAUDE.md, so editors change words, not structure.
 */

:root {
  --ad-ink: #212529;
  --ad-chrome: #33373B;
  --ad-chrome-2: #474B4F;
  --ad-chrome-hover: #5D6166;
  --ad-muted: #5D6166;
  --ad-subtle: #8B8D90;
  --ad-line: #BABBBD;
  --ad-rule: #E1E1E4;
  --ad-surface: #F7F7F9;
  --ad-white: #FFFFFF;
  --ad-accent: #E75C01;
  --ad-accent-hover: #C24C00;
  /* Text on orange: #16191C gives 4.98:1 (the design's #212529 gives 4.36:1, under WCAG AA 4.5:1). */
  --ad-on-accent: #16191C;
  --ad-link-strong: #9E5000;
  --ad-link: #B25A00;
  --ad-tint: #FEF5F0;
  --ad-tint-2: #F9D2BC;
  --ad-on-dark-accent: #F5B085;
  --ad-on-dark-muted: #BABBBD;
  --ad-on-dark: #E1E1E4;
  --ad-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ad-white); color: var(--ad-ink); font-family: var(--ad-font); font-size: 16px; line-height: 1.5; }
a { color: var(--ad-link); }
a:hover { color: var(--ad-accent-hover); }
:focus-visible { outline: 2px solid var(--ad-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; }

.ad-skip { position: absolute; left: -10000px; top: 0; z-index: 100; background: var(--ad-white); color: var(--ad-ink); padding: 12px 18px; font-weight: 700; }
.ad-skip:focus { left: 12px; top: 12px; }
.ad-accent { color: var(--ad-accent); }
/* Visually hidden, still read by screen readers. */
.ad-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ad-main:focus { outline: none; }
/* Bootstrap g-4/g-5 rows reach past the 0.75rem phone gutter; clip without making a scroll container. */
.ad-main { overflow-x: clip; }

/* Plain editor content (news items, simple pages) gets container width by default. */
.ad-main > :where(h1, h2, h3, h4, p, ul, ol, table, figure, blockquote, hr, iframe, form, div:not([class])) {
  max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 0.75rem; padding-right: 0.75rem;
}
.ad-main > :where(h1, h2, h3, h4, p, ul, ol, table, figure, blockquote, hr, iframe, form, div:not([class])) { width: 100%; }
.ad-main > h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; }
.ad-main > h1:first-child { margin-top: 60px; }
.ad-main > :last-child:not(section) { margin-bottom: 84px; }

/* ---------- Campaign strip ---------- */
.ad-campaign { background: var(--ad-accent); color: var(--ad-on-accent); }
.ad-campaign__inner { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; font-size: 15px; text-align: center; }
.ad-campaign p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; font-weight: 600; }
.ad-campaign strong { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; background: var(--ad-ink); color: var(--ad-white); padding: 3px 9px; }
.ad-campaign a { color: var(--ad-on-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 3px 0; }
.ad-campaign a:hover { color: var(--ad-on-accent); text-decoration-thickness: 2px; }

/* ---------- Header ---------- */
.ad-header { background: var(--ad-chrome); color: var(--ad-white); }
.ad-header__inner { display: flex; flex-wrap: wrap; align-items: stretch; column-gap: 24px; min-height: 60px; }
.ad-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ad-white); padding: 12px 0; }
.ad-brand:hover { color: var(--ad-white); }
.ad-brand__name { font-size: 21px; font-weight: 700; white-space: nowrap; }
.ad-nav { display: flex; flex-wrap: wrap; flex: 1 1 auto; font-size: 17px; }
.ad-nav__link { color: var(--ad-white); text-decoration: none; padding: 4px 18px 0; display: flex; align-items: center; min-height: 60px; border-bottom: 4px solid transparent; }
.ad-nav__link:hover { color: var(--ad-white); background: var(--ad-chrome-hover); }
.ad-nav__link.is-active { background: var(--ad-chrome-2); border-bottom-color: var(--ad-accent); }
.ad-header__actions { display: flex; align-items: center; gap: 18px; font-size: 15px; padding: 8px 0; }
.ad-header__meta { color: var(--ad-on-dark); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.ad-header__meta:hover { color: var(--ad-white); text-decoration: underline; }
.ad-header__flag { margin-right: 6px; }

@media (max-width: 991.98px) {
  .ad-nav { order: 3; flex-basis: 100%; margin-left: calc(var(--bs-gutter-x) * -.5); margin-right: calc(var(--bs-gutter-x) * -.5); }
  .ad-nav__link { min-height: 48px; padding: 2px 12px 0; }
  .ad-header__actions { margin-left: auto; }
}
@media (max-width: 575.98px) {
  .ad-header__inner { column-gap: 12px; }
  .ad-header__actions { gap: 12px; }
  .ad-header__login { display: none; }
  .ad-brand__name { font-size: 19px; }
}

/* ---------- Buttons ---------- */
.ad-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--ad-accent); color: var(--ad-on-accent); text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 24px; border: 0; border-radius: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
/* Hover keeps the orange (a darker fill would drop text contrast to ~3.2:1) and adds the design's underline motif. */
.ad-btn:hover { background: var(--ad-accent); color: var(--ad-on-accent); box-shadow: inset 0 -4px 0 var(--ad-accent-hover); }
.ad-btn--sm { font-size: 15px; padding: 9px 18px; }
.ad-btn--md { font-size: 16px; padding: 12px 18px; }
.ad-btn--ghost { background: transparent; color: var(--ad-white); font-weight: 600; border: 1px solid var(--ad-subtle); padding: 14px 23px; }
.ad-btn--ghost:hover { background: var(--ad-white); color: var(--ad-ink); }
.ad-btn--secondary { background: var(--ad-white); color: var(--ad-link); font-weight: 600; border: 1px solid var(--ad-accent); padding: 14px 23px; }
.ad-btn--secondary:hover { background: var(--ad-tint); color: var(--ad-accent-hover); }
.ad-link-strong { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.ad-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Sections ---------- */
.ad-section { padding-top: 84px; padding-bottom: 84px; }
.ad-section--tight { padding-top: 30px; padding-bottom: 30px; }
.ad-section--muted { background: var(--ad-surface); border-top: 1px solid var(--ad-rule); border-bottom: 1px solid var(--ad-rule); }
.ad-section--dark { background: var(--ad-ink); color: var(--ad-white); }
.ad-section h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -0.01em; max-width: 780px; }
.ad-section h3 { margin: 0; }
.ad-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ad-link); margin: 0 0 12px; }
.ad-section--dark .ad-eyebrow, .ad-panel-dark .ad-eyebrow { color: var(--ad-on-dark-accent); }
.ad-display { margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.ad-display--sm { font-size: clamp(34px, 4.6vw, 50px); }
.ad-actions--stack { flex-direction: column; align-items: stretch; text-align: center; }
.ad-actions--stack .ad-link-strong { justify-content: center; }
.ad-social { margin: 0; }
.ad-lead { margin: 0 0 36px; color: var(--ad-muted); font-size: 18px; max-width: 720px; text-wrap: pretty; }
.ad-section--dark .ad-lead { color: var(--ad-on-dark); font-size: 19px; max-width: 620px; margin-bottom: 0; }
.ad-fineprint { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 14px; color: var(--ad-on-dark-muted); margin: 0; }
.ad-stack { display: flex; flex-direction: column; gap: 24px; }
.ad-prose { display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: var(--ad-chrome-2); }
.ad-section--dark .ad-prose { color: var(--ad-on-dark); }
.ad-prose p { margin: 0; }
.ad-prose--wrap { display: block; overflow: auto; }
.ad-prose--wrap p { margin: 0 0 18px; }
.ad-prose--wrap p:last-child { margin-bottom: 0; }

/* Proof strip */
.ad-proof__item { display: flex; flex-direction: column; gap: 3px; }
.ad-proof__value { font-size: 22px; font-weight: 700; }
.ad-proof__label { color: var(--ad-muted); }

/* Cards */
.ad-card { height: 100%; background: var(--ad-white); border: 1px solid var(--ad-rule); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.ad-card--hover:hover { border-color: var(--ad-accent); }
.ad-card--sm { padding: 24px; gap: 9px; }
.ad-card h3 { font-size: 26px; }
.ad-card--sm h3 { font-size: 18px; }
.ad-card p, .ad-card ul { margin: 0; color: var(--ad-muted); }
.ad-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ad-card .ad-actions { margin-top: auto; padding-top: 6px; }
.ad-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ad-card__top .ad-eyebrow { margin: 0; }
.ad-card .ad-eyebrow, .ad-cta .ad-eyebrow { color: var(--ad-link); margin: 0; font-size: 13px; letter-spacing: 0.1em; }
.ad-cta--dark .ad-eyebrow { color: var(--ad-on-dark-accent); }
.ad-tag { font-size: 12px; font-weight: 700; background: var(--ad-tint-2); color: var(--ad-ink); padding: 3px 9px; }
.ad-badge { background: var(--ad-accent); color: var(--ad-on-accent); font-weight: 700; padding: 3px 9px; font-size: 13px; }

/* Feature grid with icons */
.ad-feature { display: flex; flex-direction: column; gap: 12px; }
.ad-feature h3 { font-size: 19px; }
.ad-feature p { margin: 0; color: var(--ad-muted); }

/* CTA bands */
.ad-cta { background: var(--ad-tint); border: 1px solid var(--ad-tint-2); padding: 42px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.ad-cta__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.ad-cta__text h2 { margin: 0; font-size: 32px; }
.ad-cta__text p { margin: 0; color: var(--ad-muted); font-size: 18px; }
.ad-cta--dark { background: var(--ad-chrome); color: var(--ad-white); border: 0; border-bottom: 4px solid var(--ad-accent); }
.ad-cta--dark .ad-cta__text p { color: var(--ad-on-dark); }
.ad-cta--dark a:not(.ad-btn) { color: var(--ad-white); }

/* Dark panel (Primavera campaign card, news teaser) */
.ad-panel-dark { background: var(--ad-chrome); color: var(--ad-white); padding: 36px; border-bottom: 4px solid var(--ad-accent); }
.ad-panel-light { background: var(--ad-white); color: var(--ad-ink); padding: 30px; display: flex; flex-direction: column; gap: 12px; border-top: 6px solid var(--ad-accent); }
.ad-panel-light h2 { margin: 0; font-size: 26px; }
.ad-panel-light p { margin: 0; color: var(--ad-muted); }

/* Flow diagram (Primavera) */
.ad-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.ad-flow__node { flex: 0 1 222px; border: 1px solid var(--ad-line); padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.ad-flow__node--dark { background: var(--ad-chrome); color: var(--ad-white); border: 0; border-bottom: 4px solid var(--ad-accent); }
.ad-flow__kicker { font-size: 12px; color: var(--ad-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.ad-flow__node--dark .ad-flow__kicker { color: var(--ad-on-dark-accent); }
.ad-flow__name { font-weight: 700; font-size: 18px; }
.ad-flow__outputs { flex: 0 1 276px; display: flex; flex-direction: column; gap: 6px; }
.ad-flow__outputs > * { background: var(--ad-surface); border: 1px solid var(--ad-rule); padding: 9px 18px; font-weight: 600; }

/* News */
.ad-news-featured { display: flex; flex-direction: column; gap: 15px; background: var(--ad-chrome); color: var(--ad-white); padding: 42px; border-bottom: 4px solid var(--ad-accent); }
.ad-news-featured h2, .ad-news-featured h3 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.ad-news-featured p { margin: 0; color: var(--ad-on-dark); font-size: 18px; max-width: 640px; }
.ad-news-featured a:not(.ad-btn) { color: var(--ad-white); }
.ad-news-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ad-on-dark-muted); flex-wrap: wrap; }
.ad-news-item { background: var(--ad-white); border: 1px solid var(--ad-rule); padding: 24px 30px; }
.ad-news-item:hover { border-color: var(--ad-accent); }
.ad-news-item h3 { margin: 0 0 9px; font-size: 21px; }
.ad-news-item p { margin: 0; color: var(--ad-muted); }
.ad-news-item .ad-news-meta { color: var(--ad-muted); }
.ad-news-kind { font-weight: 700; color: var(--ad-link); }
.ad-video { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--ad-ink); text-decoration: none; border-bottom: 4px solid var(--ad-accent); }
.ad-video__thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-video__play { width: 54px; height: 54px; background: var(--ad-accent); display: flex; align-items: center; justify-content: center; }
.ad-video__label { position: absolute; left: 12px; bottom: 9px; font-size: 12px; color: var(--ad-on-dark-muted); }

/* Contact block */
.ad-contact-item { display: flex; flex-direction: column; gap: 3px; }
.ad-contact-item__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ad-muted); }

/* ---------- Layout helpers ---------- */
.ad-align-center { align-items: center; }
.ad-pt-sm { padding-top: 48px; }
.ad-pb-sm { padding-bottom: 36px; }
.ad-pt-md { padding-top: 60px; }
.ad-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.ad-section-head h2 { margin: 0; }
.ad-page-title { margin: 0 0 9px; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.ad-section h1.ad-page-title + .ad-lead { margin-bottom: 36px; }
.ad-section-title { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; }
.ad-backlink { margin-top: 36px; margin-bottom: 0; }
.ad-backlink a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.ad-note { background: var(--ad-surface); border: 1px solid var(--ad-rule); padding: 15px 18px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 18px 0 0; }
.ad-note a { font-weight: 700; }
.ad-form-panel { background: var(--ad-white); border: 1px solid var(--ad-rule); padding: 24px; }
.ad-form-panel--placeholder { border-style: dashed; color: var(--ad-muted); }
.ad-aside { background: var(--ad-surface); border: 1px solid var(--ad-rule); padding: 24px; display: flex; flex-direction: column; gap: 9px; }
.ad-aside h2 { margin: 0 0 6px; font-size: 21px; }
.ad-aside a, .ad-aside span { min-height: 28px; display: inline-flex; align-items: center; }
.ad-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ad-social a { min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Feature icons (CSS, so the editor cannot strip them) ---------- */
.ad-feature--chart::before, .ad-feature--grid::before, .ad-feature--lines::before, .ad-feature--doc::before {
  content: ''; display: block; width: 30px; height: 30px; background: no-repeat center / 30px 30px;
}
.ad-feature--chart::before { background-image: url(images/icons/chart.svg); }
.ad-feature--grid::before { background-image: url(images/icons/grid.svg); }
.ad-feature--lines::before { background-image: url(images/icons/lines.svg); }
.ad-feature--doc::before { background-image: url(images/icons/doc.svg); }

/* Flow diagram arrows */
.ad-flow { column-gap: 78px; }
.ad-flow > :not(:last-child) { position: relative; }
.ad-flow > :not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -63px; width: 48px; height: 24px; margin-top: -12px; background: url(images/icons/arrow.svg) no-repeat center; }
@media (max-width: 767.98px) {
  .ad-flow { flex-direction: column; row-gap: 54px; }
  .ad-flow > * { flex-basis: auto; width: 100%; max-width: 320px; }
  .ad-flow > :not(:last-child)::after { top: auto; right: auto; left: 50%; bottom: -39px; margin: 0 0 0 -24px; transform: rotate(90deg); }
}
.ad-flow__outputs > * { margin: 0; }

/* Video thumbnail play button */
.ad-video__play::before { content: ''; display: block; width: 24px; height: 24px; background: url(images/icons/play.svg) no-repeat center; }
.ad-video:hover .ad-video__play { box-shadow: inset 0 -4px 0 var(--ad-accent-hover); }

/* News: featured, list and Home teaser */
.ad-news-featured { display: block; }
.ad-news-featured__text { display: flex; flex-direction: column; gap: 15px; }
.ad-news-featured__text .ad-news-meta { margin: 0; }
.ad-news-featured h2 a { color: var(--ad-white); text-decoration: none; }
.ad-news-featured h2 a:hover { text-decoration: underline; }
.ad-news-featured__aside { display: flex; flex-direction: column; gap: 12px; }
.ad-news-featured__aside .ad-btn { text-align: center; }
.ad-news-featured__aside .ad-link-strong { justify-content: center; color: var(--ad-white); }
.ad-section .ad-news-earlier { margin: 36px 0 18px; font-size: 22px; }
.ad-news-item + .ad-news-item { margin-top: 18px; }
.ad-news-item__meta { display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ad-muted); }
.ad-news-item h3 a { color: var(--ad-ink); text-decoration: none; }
.ad-news-item h3 a:hover { color: var(--ad-link); text-decoration: underline; }
p.ad-news-kind { margin-top: 60px; margin-bottom: 0; font-size: 14px; }
.ad-main > p.ad-news-kind + h1 { margin-top: 6px; }
.ad-backlink + p.ad-news-kind { margin-top: 6px; }
.ad-news-teaser { height: 100%; background: var(--ad-chrome); color: var(--ad-white); text-decoration: none; padding: 36px; display: flex; flex-direction: column; gap: 12px; border-bottom: 4px solid var(--ad-accent); }
.ad-news-teaser:hover { color: var(--ad-white); background: #3B3F43; }
.ad-news-teaser .ad-news-meta { font-size: 13px; }
.ad-news-teaser__title { font-size: 30px; line-height: 1.2; font-weight: 700; }
.ad-news-teaser__text { color: var(--ad-on-dark); font-size: 17px; max-width: 600px; }
.ad-news-teaser__more { margin-top: auto; padding-top: 12px; color: var(--ad-on-dark-accent); font-weight: 700; }
.ad-card--flush { padding: 0; gap: 0; }
.ad-card__body { padding: 24px; display: flex; flex-direction: column; gap: 9px; flex: 1 1 auto; }
.ad-card__body h3 { font-size: 21px; }
.ad-card__meta { font-size: 13px; color: var(--ad-muted); }
.ad-card__more { margin-top: auto; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- Forms (Advancedform_XH, markup from plugins/adrega/forms.php) ---------- */
/* Advancedform adds its own notice and buttons; the design uses our labels and button instead. */
form:has(.ad-form) > .required, form:has(.ad-form) > .buttons { display: none; }
.ad-form { color: var(--ad-ink); }
.ad-order__step { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.ad-order__legend { font-size: 20px; font-weight: 700; margin-bottom: 15px; padding: 0; }
.ad-order__picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ad-pick { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 24px 54px; background: var(--ad-white); border: 2px solid var(--ad-rule); cursor: pointer; }
.ad-pick:hover { border-color: var(--ad-accent); }
.ad-pick:has(.ad-pick__radio:checked) { background: var(--ad-tint); border-color: var(--ad-accent); }
.ad-pick:has(.ad-pick__radio:focus-visible) { outline: 2px solid var(--ad-ink); outline-offset: 2px; }
.ad-pick__radio { position: absolute; left: 24px; top: 27px; width: 18px; height: 18px; margin: 0; accent-color: var(--ad-accent); }
.ad-pick__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ad-link-strong); }
.ad-pick__name { font-size: 19px; font-weight: 700; }
.ad-pick__text { color: var(--ad-muted); }
/* The demo-site hint appears only while the Primavera product is chosen (design behaviour, no JS). */
.ad-order__p6note { display: none; }
.ad-order:has(#ad-pick-1:checked) .ad-order__p6note { display: flex; }
.ad-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; background: var(--ad-white); border: 1px solid var(--ad-rule); padding: 24px; }
@media (max-width: 575.98px) { .ad-form__grid { grid-template-columns: minmax(0, 1fr); padding: 18px; } }
.ad-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ad-field--wide { grid-column: 1 / -1; }
.ad-field label { font-weight: 600; font-size: 14px; }
.ad-opt { font-weight: 400; color: var(--ad-muted); }
.ad-field input, .ad-field textarea { font: inherit; padding: 9px 12px; min-height: 44px; border: 1px solid var(--ad-line); border-radius: 0; background: var(--ad-white); color: var(--ad-ink); width: 100%; }
.ad-field textarea { min-height: 120px; resize: vertical; }
.ad-field input:focus, .ad-field textarea:focus { outline: 2px solid var(--ad-accent); outline-offset: 0; border-color: var(--ad-accent); }
.ad-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ad-form__actions { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.ad-form__actions--split { justify-content: space-between; }
.ad-contact-form .ad-form__grid { border-bottom: 0; }
.ad-contact-form .ad-form__actions { background: var(--ad-white); border: 1px solid var(--ad-rule); border-top: 0; margin: 0; padding: 0 24px 24px; }
/* Advancedform's error list (validation messages) */
.ad-main form .xh_fail, .ad-main form ul.advfrm-errors { margin: 0 0 18px; }

/* ---------- Footer ---------- */
.ad-footer { background: var(--ad-chrome); color: var(--ad-on-dark); font-size: 15px; padding-top: 54px; padding-bottom: 30px; }
.ad-footer a { color: var(--ad-on-dark); }
.ad-footer a:hover { color: var(--ad-white); }
.ad-footer__col { display: flex; flex-direction: column; gap: 3px; }
.ad-footer__col a, .ad-footer__col > span:not(.ad-brand) { padding: 3px 0; }
.ad-footer__social a { padding: 3px 0; }
.ad-footer__title { color: var(--ad-white); font-weight: 700; }
.ad-footer a.ad-footer__hot { color: var(--ad-on-dark-accent); font-weight: 600; }
.ad-brand--footer { padding: 0; }
.ad-brand--footer .ad-brand__name { font-size: 19px; }
.ad-footer__social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.ad-footer__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--ad-chrome-2); font-size: 13px; color: var(--ad-on-dark-muted); }

/* ---------- Phone ---------- */
@media (max-width: 575.98px) {
  .ad-section { padding-top: 54px; padding-bottom: 54px; }
  .ad-section h2 { font-size: 28px; }
  .ad-cta, .ad-news-featured, .ad-panel-dark { padding: 24px; }
}

@media print {
  .ad-campaign, .ad-header__actions, .ad-nav, .ad-skip { display: none; }
  .ad-header, .ad-footer, .ad-section--dark { background: none; color: #000; }
}
