/* Atlas homepage refinements: Petrol palette and a shared editorial axis. */
html:not([data-atlas-theme="dark"]) {
  --wp--preset--color--signal: #b8894a;
  --atlas-accent: #b8894a;
  --atlas-accent-hover: #9a713b;
  --atlas-fresh-peach: #f3efe6;
}

html:not([data-atlas-theme="dark"]) body {
  background: linear-gradient(180deg, #fbfbf8 0%, #f7f6f2 48%, #f2f5f6 100%);
}

html:not([data-atlas-theme="dark"]) :where(.atlas-home-discovery, .atlas-home-trust) {
  background: rgba(255, 255, 253, .82) !important;
}

html:not([data-atlas-theme="dark"]) :where(.atlas-case-archive, .atlas-download-archive, .atlas-faq-archive, .atlas-dossier-archive, .atlas-topics-page) .atlas-archive__header,
html:not([data-atlas-theme="dark"]) :where(.atlas-author-hero, .atlas-podcast-hero, .atlas-dossier-hero) {
  border-color: rgba(184, 137, 74, .14) !important;
  background: linear-gradient(135deg, #f3efe6, #fafaf8 62%, #edf2f5) !important;
}

html:not([data-atlas-theme="dark"]) :where(
  .atlas-brand__it,
  .atlas-eyebrow,
  .atlas-command__mark,
  .atlas-command__type,
  .atlas-topic > span,
  .atlas-credit__role,
  .atlas-home-reviewed__meta span,
  .atlas-home-reviewed__link span
) {
  color: #b8894a !important;
}

html:not([data-atlas-theme="dark"]) :where(
  .atlas-navigation .wp-block-navigation-item__content,
  .atlas-knowledge-nav > a,
  .atlas-knowledge-nav summary
):hover {
  color: #9a713b !important;
}

html:not([data-atlas-theme="dark"]) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline-color: #b8894a !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-discovery__search button,
html:not([data-atlas-theme="dark"]) .atlas-home-discovery__all a {
  border-color: #10233f !important;
  background: #10233f !important;
  color: #fff !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-discovery__search button:hover,
html:not([data-atlas-theme="dark"]) .atlas-home-discovery__all a:hover {
  border-color: #1a3b63 !important;
  background: #1a3b63 !important;
  color: #fff !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-discovery__all small {
  color: #e2eaf1 !important;
}

html:not([data-atlas-theme="dark"]) body.home main#content > .wp-block-cover.alignfull {
  background-color: #f4f5f4 !important;
  background-image:
    radial-gradient(circle at 82% 28%, rgba(204, 177, 129, .22), transparent 25%),
    radial-gradient(circle at 12% 84%, rgba(184, 202, 216, .28), transparent 31%),
    linear-gradient(135deg, #fffefa 0%, #f4f3ef 54%, #edf2f5 100%) !important;
}

html:not([data-atlas-theme="dark"]) body.home main#content > .wp-block-cover.alignfull::after {
  border-color: rgba(184, 137, 74, .18) !important;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .94), rgba(226, 214, 190, .34) 48%, rgba(220, 229, 236, .25) 72%, transparent) !important;
}

html:not([data-atlas-theme="dark"]) .home .atlas-home-journey {
  width: min(1240px, calc(100% - 2rem)) !important;
  background: linear-gradient(135deg, #f3f0e9 0%, #fafaf8 58%, #edf2f5 100%) !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-journey::before,
html:not([data-atlas-theme="dark"]) .atlas-home-locations::before,
html:not([data-atlas-theme="dark"]) .home #beratung::before {
  background: radial-gradient(circle, rgba(184, 137, 74, .16), transparent 68%) !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-locations {
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(246, 243, 236, .92) 55%, rgba(237, 243, 247, .9)) !important;
}

html:not([data-atlas-theme="dark"]) .home #beratung {
  border-color: rgba(184, 137, 74, .15) !important;
  background: linear-gradient(120deg, #f3efe6, #fafaf8 58%, #edf2f5) !important;
  box-shadow: 0 26px 85px rgba(48, 65, 83, .065) !important;
}

html:not([data-atlas-theme="dark"]) .home main > .wp-block-group.has-sky-background-color {
  background:
    radial-gradient(circle at 88% 10%, rgba(184, 137, 74, .12), transparent 26%),
    linear-gradient(145deg, rgba(244, 243, 238, .95), rgba(249, 249, 247, .93) 60%, rgba(237, 243, 247, .92)) !important;
}

html:not([data-atlas-theme="dark"]) .atlas-home-trust__icon {
  background: linear-gradient(145deg, #f3eadb, #fff) !important;
  color: #9a713b !important;
  box-shadow: 0 10px 30px rgba(122, 91, 48, .09) !important;
}

.home main > .wp-block-group.has-sky-background-color::before,
.home main > .wp-block-group.has-sky-background-color > .wp-block-heading {
  box-sizing: border-box;
  width: min(1240px, calc(100% - 2rem)) !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home main > .wp-block-group.has-sky-background-color::before {
  color: #b8894a !important;
  text-align: left;
}

html:not([data-atlas-theme="dark"]) body.home main#content > .wp-block-cover.alignfull .atlas-eyebrow {
  color: #b8894a !important;
}

html:not([data-atlas-theme="dark"]) :where(
  .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
  .atlas-filter button,
  .atlas-faq-search button,
  .atlas-consultation-form > button,
  .atlas-download-button,
  .atlas-search button[type="submit"]
) {
  border-color: #10233f !important;
  background: #10233f !important;
  color: #fff !important;
}

html:not([data-atlas-theme="dark"]) :where(
  .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
  .atlas-filter button,
  .atlas-faq-search button,
  .atlas-consultation-form > button,
  .atlas-download-button,
  .atlas-search button[type="submit"]
):hover {
  border-color: #1a3b63 !important;
  background: #1a3b63 !important;
}

html:not([data-atlas-theme="dark"]) .atlas-location-map__pin--south {
  fill: #b8894a !important;
}

html:not([data-atlas-theme="dark"]) .atlas-location-map__pulse--south {
  stroke: rgba(184, 137, 74, .3) !important;
}

html:not([data-atlas-theme="dark"]) .atlas-location-card--south .atlas-location-card__code {
  background: #f3eadb !important;
  color: #9a713b !important;
}

html:not([data-atlas-theme="dark"]) .atlas-footer .wp-block-button__link {
  border-color: #f3eadb !important;
  background: #f3eadb !important;
  color: #10233f !important;
}

html:not([data-atlas-theme="dark"]) .atlas-footer .wp-block-button__link:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: #10233f !important;
}

@media (max-width: 900px) {
  html:not([data-atlas-theme="dark"]) .home .atlas-home-journey {
    width: calc(100% - 1rem) !important;
  }

  .home main > .wp-block-group.has-sky-background-color::before,
  .home main > .wp-block-group.has-sky-background-color > .wp-block-heading {
    width: calc(100% - 1rem) !important;
  }
}
