/* ==========================================================================
   Behandel Methodes — Treatment methods page styles
   ========================================================================== */

/* Page title section */
.methods-hero {
  padding-top: 150px;
  padding-bottom: 4%;
  background-color: var(--color-bg-main);
  background-image: url('../assets/images/background_line.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.methods-hero h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1em;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.methods-hero h1 em {
  font-style: italic;
  font-weight: 400;
}

/* Treatment section base */
.method {
  padding: 4% 0;
}

.method--cream {
  background-color: var(--color-bg-main);
}

.method--alt {
  background-color: var(--color-bg-alt);
}

/* Decorative lines on alternating sections */
.method--line-dark {
  background-image: url('../assets/images/background_line.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.method--line-dark-top {
  background-image: url('../assets/images/background_line.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left top;
}

.method--line-light {
  background-image: url('../assets/images/background_line_licht.png');
  background-size: initial;
  background-repeat: repeat-x;
  background-position: left bottom;
}

/* Section headings (h3) */
.method h3 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2em;
  color: var(--color-heading);
  margin-bottom: 20px;
}

/* Body text within methods */
.method p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7em;
  color: var(--color-body);
  margin-bottom: 1em;
}

.method p:last-child {
  margin-bottom: 0;
}

.method p strong {
  font-weight: 700;
}

/* Two-column row for content */
.method__row {
  display: flex;
  gap: 5.5%;
  align-items: flex-start;
}

/* Full-width text wrapper */
.method__text {
  max-width: 100%;
}

/* 1/3 image + 2/3 text split */
.method__col-img {
  width: 29.667%;
  flex-shrink: 0;
}

.method__col-text {
  width: 64.833%;
  flex-shrink: 0;
}

/* 2/3 text + 1/3 image (reversed) */
.method__row--reversed .method__col-text {
  order: 1;
}

.method__row--reversed .method__col-img {
  order: 2;
}

/* Full-width image */
.method__image-full {
  margin-top: 30px;
}

.method__image-full img {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
}

/* Portrait image (sidebar) */
.method__col-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Two-column benefit lists */
.method__benefits {
  display: flex;
  gap: 5.5%;
}

.method__benefits-col {
  width: 47.25%;
  flex-shrink: 0;
}

.method__benefits-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.method__benefits-col li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7em;
  color: var(--color-body);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.method__benefits-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* Highlight text */
.method__highlight {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media only screen and (max-width: 980px) {
  .methods-hero {
    padding-top: 120px;
  }

  .method__row {
    flex-direction: column;
    gap: 30px;
  }

  .method__col-img,
  .method__col-text {
    width: 100%;
  }

  .method__row--reversed .method__col-text {
    order: 0;
  }

  .method__row--reversed .method__col-img {
    order: 0;
  }

  .method__benefits {
    flex-direction: row;
    gap: 5%;
  }

  .method__benefits-col {
    width: 47.5%;
  }
}

@media only screen and (max-width: 768px) {
  .methods-hero {
    padding-top: 90px;
    padding-bottom: 20px;
  }

  .methods-hero h1 {
    font-size: 40px;
  }

  .method h3 {
    font-size: 30px;
  }

  .method {
    padding: 30px 0;
  }

  .method__benefits {
    flex-direction: column;
    gap: 0;
  }

  .method__benefits-col {
    width: 100%;
  }
}
