
/* Hypnosepraxis Template-Steine – 1:1 am Elementor-Template orientiert */

.hp-ts-pattern {
  --hp-blue: #6b9ed2;
  --hp-light-blue: #eef5fb;
  --hp-light-grey: #f4f4f4;
  --hp-text: #333333;
  --hp-border: #d9e1e8;
  color: var(--hp-text);
  box-sizing: border-box;
}

.hp-ts-pattern *,
.hp-ts-pattern *::before,
.hp-ts-pattern *::after {
  box-sizing: border-box;
}

.hp-ts-pattern a {
  color: var(--hp-blue);
}

.hp-ts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem 1.65rem;
  border-radius: 999px;
  background: var(--hp-blue);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}

.hp-ts-button:hover,
.hp-ts-button:focus {
  opacity: .88;
}

/* Metadatenleiste */
.hp-ts-meta-wrap {
  padding: 1.5rem 1rem 2.5rem;
}

.hp-ts-meta {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--hp-light-blue);
  border-radius: 14px;
}

.hp-ts-meta-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hp-ts-meta-item span:last-child {
  display: flex;
  flex-direction: column;
}

.hp-ts-meta-item strong {
  font-size: 1rem;
}

.hp-ts-meta-item small {
  font-size: .9rem;
}

.hp-ts-meta-icon {
  color: var(--hp-blue);
  font-size: 1.1rem;
}

/* Stefan-Meier-Bereich */
.hp-ts-author-section {
  background:
    linear-gradient(to bottom, var(--hp-light-grey) 0, var(--hp-light-grey) 80%, var(--hp-light-blue) 80%, var(--hp-light-blue) 100%);
  padding: 3.2rem 1.25rem 4.5rem;
}

.hp-ts-author-columns {
  max-width: 930px;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.hp-ts-author-image-placeholder {
  min-height: 330px;
  background: transparent;
  border: 1px dashed #b8c3cc;
  color: #707982;
  padding: 2rem;
}

.hp-ts-author-name {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hp-ts-author-section p {
  line-height: 1.55;
}

/* Alles auf einen Blick */
.hp-ts-overview {
  background: var(--hp-light-blue);
  padding: 3.5rem 1.25rem 4.5rem;
}

.hp-ts-overview-title {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.hp-ts-overview-intro {
  margin: .45rem auto 1.8rem;
}

.hp-ts-card-row {
  max-width: 930px;
  gap: 1rem;
  margin-top: 1rem;
}

.hp-ts-info-card {
  min-height: 190px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(55, 75, 95, .09);
}

.hp-ts-info-card .wp-block-image {
  margin-bottom: .35rem;
}

.hp-ts-info-card h3 {
  margin: .35rem 0 .55rem;
  font-size: 1.08rem;
}

.hp-ts-info-card p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.5;
}

/* FAQ */
.hp-ts-faq {
  max-width: 930px;
  padding: 4.2rem 1rem;
}

.hp-ts-faq > h2 {
  margin-top: 0;
  font-size: clamp(2.1rem, 3vw, 2.9rem);
}

.hp-ts-faq > p {
  max-width: 900px;
  line-height: 1.55;
}

.hp-ts-faq details {
  border-top: 1px solid #d9d9d9;
  padding: 1rem 0;
}

.hp-ts-faq details:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.hp-ts-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.hp-ts-faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  margin-right: .25rem;
}

/* Verwandte Beiträge */
.hp-ts-related-wrap,
.hp-ts-related {
  background: var(--hp-light-grey);
}

.hp-ts-related {
  padding: 4.8rem 1.25rem;
  text-align: center;
}

.hp-ts-related h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
}

.hp-ts-title-line {
  display: block;
  width: 46px;
  height: 2px;
  margin: 1rem auto 2.8rem;
  background: var(--hp-blue);
}

.hp-ts-related-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  text-align: left;
}

.hp-ts-related-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #e2e6e9;
}

.hp-ts-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-ts-related-card h3 {
  margin: .8rem 0 .1rem;
  font-size: 1rem;
  line-height: 1.25;
}

.hp-ts-related-card h3 a {
  color: var(--hp-text);
  text-decoration: none;
}

.hp-ts-read-link {
  font-size: .9rem;
  text-decoration: none;
}

.hp-ts-related-footer {
  margin-top: 2.4rem;
}

.hp-ts-overview-button {
  display: inline-flex;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--hp-text) !important;
  text-decoration: none !important;
}

/* Buchungsbereich */
.hp-ts-booking {
  max-width: 930px;
  padding: 4rem 1rem 5rem;
}

.hp-ts-booking p,
.hp-ts-booking li {
  line-height: 1.55;
}

.hp-ts-booking-title {
  margin: 2rem 0 1.8rem;
  padding-left: 1.2rem;
  border-left: 4px solid var(--hp-blue);
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.hp-ts-contact-bar {
  margin-bottom: .8rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(55,75,95,.08);
}

.hp-ts-contact-bar p {
  margin: 0;
}

.hp-ts-booking-placeholder {
  min-height: 240px;
  margin-top: 2rem;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px dashed var(--hp-blue);
  border-radius: 12px;
  color: #66727d;
}

/* Editor-Vorschau */
.editor-styles-wrapper .hp-ts-related {
  min-height: 280px;
}

@media (max-width: 781px) {
  .hp-ts-meta {
    grid-template-columns: 1fr;
  }

  .hp-ts-author-section {
    background: var(--hp-light-grey);
  }

  .hp-ts-author-columns {
    gap: 2rem;
  }

  .hp-ts-card-row {
    gap: 1rem;
  }

  .hp-ts-related-grid {
    grid-template-columns: 1fr;
  }

  .hp-ts-contact-bar {
    border-radius: 14px;
  }
}
