/*
Theme Name: Flatsome Child
Description: Child theme for Flatsome
Author: UX Themes
Template: flatsome
Version: 3.0
*/


/* ---------------------------------------------------
   1) FL-ICONS FONT OPTIMIERUNG
--------------------------------------------------- */



/* ---------------------------------------------------
   2) CLEANYX POPUP STYLING
--------------------------------------------------- */

#cleanyxOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99998;
  display: none;
}

#cleanyxPopup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
}

#cleanyxPopup .cx-box {
  background: #fff;
  width: 92vw;
  max-width: 620px;
  max-height: 90vh;
  overflow: auto;
  border-radius: 12px;
  padding: 22px 20px 18px;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

/* Close Button sauber & modern */

#cleanyxPopup .cx-close{
  position:absolute;
  top:8px;
  right:8px;

  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(0,0,0,.06);
  border-radius:999px;
  border:0;

  font-size:22px;
  cursor:pointer;
  line-height:1;
  z-index:10;
  opacity:.9;
}

#cleanyxPopup .cx-close:hover{
  opacity:1;
  background:rgba(0,0,0,.10);
}

#cleanyxPopup .cx-close:focus-visible{
  outline:2px solid #0F4C81;
  outline-offset:2px;
}


/* ---------------------------------------------------
   3) TYPO HILFSKLASSEN
--------------------------------------------------- */

.subheadline {
  font-size: 15px;
  font-weight: 600;
  color: #666;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 4px 0;
}


/* ---------------------------------------------------
   4) LINKS IM CONTENT SICHTBAR (NICHT BLOG)
--------------------------------------------------- */

body:not(.blog):not(.single-post):not(.archive)
#main :where(.entry-content, .page-wrapper, .section-content, .col-inner, .content-area) a {
  text-decoration: underline !important;
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;
}

/* Header / Navigation / Footer nie unterstreichen */

#header a,
.header a,
.header-nav a,
.nav a,
.menu-item a,
.absolute-footer a {
  text-decoration: none !important;
}


/* ---------------------------------------------------
   4b) ACCORDION – TITEL NICHT UNTERSTREICHEN
--------------------------------------------------- */

body #main .accordion .accordion-item > a.accordion-title,
body #main .accordion .accordion-item > a.accordion-title:hover {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body #main .accordion .accordion-title::after {
  display: none !important;
}


/* ---------------------------------------------------
   5) FOOTER TOUCH TARGET FIX (MOBILE)
--------------------------------------------------- */

@media (max-width: 849px) {

  .absolute-footer a {
    display: block !important;
    padding: 14px 0 !important;
    line-height: 1.2 !important;
  }

  .absolute-footer li {
    margin: 6px 0 !important;
  }
}


/* ---------------------------------------------------
   6) WPForms Styling im Popup
--------------------------------------------------- */

#cleanyxPopup .wpforms-required-label {
  color: #e53935 !important;
  font-weight: 600;
}

#cleanyxPopup .wpforms-submit {
  background-color: #0F4C81 !important;
  border: none !important;
  color: #fff !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: .2s ease;
}

#cleanyxPopup .wpforms-submit:hover {
  background-color: #0B3558 !important;
}