body {
  margin: 24px auto;
  padding: 0 12px;
  color: #222;
  background: #fff;
}
.home {
  text-align: center;
}
.home img {
  max-width: 100%;
  height: auto;
}
.search-logo {
  vertical-align: middle;
}
#banner-frame {
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 24px auto 0;
  padding: 0;
  border: 1px solid #bbb;
}
#banner-area {
  min-height: 250px;
}
#banner-fallback {
  padding: 65px 18px;
  margin: 0;
}
#banner-content iframe {
  border: 0;
  max-width: 100%;
}
button {
  padding: 8px 12px;
  margin: 4px;
  cursor: pointer;
  font: inherit;
}
footer {
  margin: 24px 0;
}
.legal {
  max-width: 760px;
  font:
    1rem/1.6 system-ui,
    sans-serif;
}
.legal h1,
.legal h2 {
  line-height: 1.25;
}
.legal h2 {
  margin-top: 2em;
}
.legal address {
  font-style: normal;
}
a {
  color: #174f91;
}
[hidden] {
  display: none !important;
}

.legal code {
  overflow-wrap: anywhere;
}

#cookie-consent {
  position: fixed;
  z-index: 1000;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1100px) / 2));
  border-top: 1px solid #d5d9df;
  background: #fff;
  box-shadow: 0 -4px 24px #0002;
  text-align: left;
  font:
    15px/1.5 system-ui,
    sans-serif;
  max-height: 75vh;
  overflow-y: auto;
  box-sizing: border-box;
}
#cookie-consent h2 {
  margin: 0 0 8px;
  font-size: 20px;
}
#cookie-consent p {
  margin: 0 0 8px;
}
.cookie-copy {
  max-width: 740px;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 160px;
}
.cookie-actions button {
  margin: 4px 0;
  padding: 10px 24px;
  border: 1px solid #174f91;
  border-radius: 5px;
  background: #174f91;
  color: #fff;
  font-weight: 600;
}
.cookie-settings {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: #174f91;
  text-decoration: underline;
}
.cookie-banner-open {
  padding-bottom: 320px;
}
@media (max-width: 650px) {
  #cookie-consent {
    display: block;
    padding: 18px;
  }
  .cookie-actions {
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
  }
  .cookie-actions button {
    flex: 1;
    padding: 10px;
  }
  .cookie-banner-open {
    padding-bottom: 460px;
  }
}

body.home {
  display: flex;
  flex-direction: column;
}
.home main {
  order: 0;
}
.home #banner-frame {
  order: 1;
}
.home footer {
  order: 2;
}
