/* CamWorld.ch: Zusatz-CSS zur Whitelabel-Plattform */

#reactroot :is(h1.webmasterSeo, .webmasterSeo > h1) {
  color: #4c3625;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

#reactroot h1.webmasterSeo {
  padding-top: 12px;
}

#reactroot .webmasterSeo:has(> h1) {
  padding-block: 6px 3px;
}

#reactroot :is(h1.webmasterSeo, .webmasterSeo:has(> h1)) + div.webmasterSeo:not(.footer) {
  box-sizing: border-box;
  max-width: 820px;
  margin-inline: auto;
  padding: 4px 12px 8px;
}

#reactroot .payment-hint {
  margin-block: 12px;
}

/* Redaktioneller Startseitenfooter in der Ausgabe des Editors */
#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  column-gap: 22px;
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin: 24px auto;
  padding: 0 14px;
  color: #382c25;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > * {
  grid-column: 1 / -1;
  min-width: 0;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"]:has(> img) {
  justify-self: start;
  display: block;
  max-width: 100%;
  padding-top: 16px;
  border-top: 1px solid #dccabd;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"] > img {
  display: block;
  max-width: 100%;
  border-radius: 5px;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"]:has(> img) + div {
  margin: 10px 0 18px;
  padding: 14px 16px;
  border-radius: 6px;
  background-color: #faf5ee;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) p {
  font-size: 16px;
  line-height: 1.6;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"]:has(> img) + div h3 {
  font-size: 18px;
  line-height: 1.35;
}

#reactroot .footer.webmasterSeo strong {
  color: inherit;
  font-weight: 600;
}

#reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > #cw-footer-info {
  margin: 20px 0 0 !important;
  padding: 14px;
  border-radius: 6px 6px 0 0;
  background-color: #eee3d6;
}

#reactroot .footer.webmasterSeo > #cw-footer-info ~ h3:not(#cw-footer-fragen ~ h3),
#reactroot .footer.webmasterSeo > #cw-footer-info ~ p:not(#cw-footer-fragen ~ p) {
  padding-inline: 14px;
  background-color: #faf5ee;
  border-inline: 6px solid #eee3d6;
}

#reactroot .footer.webmasterSeo > #cw-footer-info ~ h3:not(#cw-footer-fragen ~ h3) {
  margin: 0 !important;
  padding-block: 12px 6px;
  border-top: 6px solid #eee3d6;
}

#reactroot .footer.webmasterSeo > #cw-footer-info ~ p:not(#cw-footer-fragen ~ p) {
  margin: 0 !important;
  padding-bottom: 10px;
}

#reactroot .footer.webmasterSeo > p:has(+ #cw-footer-fragen) {
  border-bottom: 6px solid #eee3d6;
  border-radius: 0 0 6px 6px;
}

#reactroot .footer.webmasterSeo > #cw-footer-fragen {
  margin-top: 22px !important;
}

#reactroot .footer.webmasterSeo:has(#cw-footer-profile) a:focus-visible {
  outline: 2px solid #69472f;
  outline-offset: 3px;
}

@media (min-width: 641px) {
  #reactroot .footer.webmasterSeo:has(> #cw-footer-profile) {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  #reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"]:has(> img) {
    grid-column: 1;
    margin-bottom: 18px;
  }

  #reactroot .footer.webmasterSeo:has(> #cw-footer-profile) > a[href^="/profil/"]:has(> img) + div {
    grid-column: 2;
    margin-top: 16px;
  }
}

/* Menü ab dem Desktop-Umbruch der Plattform */
@media (min-width: 601px) {
  #categoryNav.kit-navigation nav .c-navigation__link {
    background-color: #e2d3b4;
    color: #382c25;
    font-weight: 600;
  }

  #categoryNav.kit-navigation nav .c-navigation__link--active {
    background-color: #f4ead7;
    color: #382c25;
    box-shadow: inset 0 -2px #95673e;
    text-decoration: none;
  }

  #categoryNav.kit-navigation nav .c-navigation__link:focus-visible {
    outline: 2px solid #69472f;
    outline-offset: -4px;
  }
}

/* Profilaktionen ab dem Desktop-Umbruch der Anrufbox */
@media (min-width: 1024px) {
  #reactroot .c-profile-page.kitprofile {
    padding-block: 22px 24px;
  }

  .c-profile-page .c-profile__callinfo {
    margin-top: 16px;
  }

  .c-profile__callinfo > p > a[href^="tel:"] > .numberline {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #79502e;
    color: #fff;
    font-weight: 700;
  }

  .c-profile__callinfo > p > a[href^="tel:"] > .numberline :is(.highlight2, svg) {
    color: inherit;
  }

  .c-profile__callinfo > p > a[href^="tel:"]:hover > .numberline {
    background-color: #5f3c22;
  }

  .c-profile__callinfo > p > a[href^="tel:"]:focus-visible > .numberline {
    outline: 2px solid #4c3625;
    outline-offset: 3px;
  }

  .c-profile__callinfo > p > strong > a[href^="tel:"] {
    color: #4c3625;
    font-size: 0.95em;
    text-decoration: underline !important;
    text-underline-offset: 2px;
  }

  .c-profile__callinfo > p > .highlight2,
  .c-profile__callinfo > h3 > .highlight2 {
    color: #4c3625;
    font-weight: 700;
  }

  .c-profile-head__pushbutton .c-webpush-button:not(.c-webpush-button--active, .active, .disabled, [aria-disabled="true"], [aria-pressed="true"]) {
    --webpushButtonBackground: #f4ead7;
    --webpushButtonColor: #4c3625;
    --webpushButtonHover: #eee0c6;
    animation: none;
  }

  .c-profile__callinfo > h3:has(> label[for="pineingabe"]) {
    margin: 16px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #9c8057;
    font-size: 18px;
  }

  .c-profile__callinfo .c-codeform__input {
    margin-right: 6px;
    border-color: #79502e;
    border-radius: 4px;
  }

  .c-profile__callinfo .c-codeform__button {
    min-height: 37px;
    padding-inline: 12px;
    border: 1px solid #79502e;
    border-radius: 4px;
    background-color: #f4ead7;
    color: #4c3625;
    font-weight: 600;
  }

  .c-profile__callinfo .c-codeform__button:hover {
    background-color: #eee0c6;
  }

  .c-profile__callinfo :is(.c-codeform__input, .c-codeform__button):focus-visible {
    outline: 2px solid #4c3625;
    outline-offset: 2px;
  }
}