/*
 Theme Name: Efficiency Club
 Theme URI: https://efficiencyclub.jmspartners.ch
 Description: Child theme for Efficiency Club Bern (Divi parent). Includes ECB layout & grid styles.
 Author: JMS Partners GmbH
 Author URI: https://jmspartners.ch
 Template: Divi
 Version: 1.0.5
 Text Domain: efficiency-club
*/

/* Keep this file minimal; main tweaks live in /assets/css/custom.css */

/* Hide sidebar and widen content only on the Downloads page */
body.page-id-1051 #sidebar,
body.page-id-1051 #main-content .container::before {
  display:none !important;
}
body.page-id-1051 #left-area {
  width:100% !important;
}

/*----------------------
/* BUTTONS
/*----------------------
/* --- ECB Custom Activable Button --- */
.ecb-activable {
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

/* ACTIVE (sticky/toggled) state */
.ecb-activable.is-active,
.ecb-activable.is-active:hover,
.ecb-activable.is-active:focus {
  background-color: #e0e0e0 !important;
  border-color: #292929 !important;
  color: #292929 !important;
}

/* Override Divi inline color declarations */
.ecb-activable.is-active span,
.ecb-activable.is-active strong,
.ecb-activable.is-active .et_pb_button_wrapper,
.ecb-activable.is-active::before,
.ecb-activable.is-active::after {
  color: #292929 !important;
  fill: #292929 !important; /* if you use an SVG/icon */
}

/* Optional hover while active (slightly darker) */
.ecb-activable.is-active:hover {
  background-color: #d6d6d6 !important;
}

.ecb-anlass-gast-button {
  display: block;         /* statt inline-block */
  width: 100%;            /* volle Breite */
  text-align: center;     /* Text zentriert */
  padding: 0.9em 3em;
  border-radius: 999px;
  background-color: #e49628;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  border: none;
  box-sizing: border-box; /* wichtig für einheitliche Breite */
}

.ecb-anlass-gast-button {
  display: inline-block;
  padding: 0.9em 3em;
  border-radius: 999px;
  background-color: #e49628;  /* ECB-Orange bei Bedarf anpassen */
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  border: none;
}
