/* Unterseite /hueleshof-ahlen – ergänzt jbclone-extra.css nur um das, was die
   Landing-Bausteine nicht mitbringen: Zwei-Spalten-Aufteilung, aufklappbare
   Speisenlisten (Optik wie .jb-faq), Preisliste und Beispielrechnung. */

/* Vollbreite Artikel: zugeklappte <details> machen den Textblock sonst schmal. */
#_Hueleshof_Ahlen .full_length .text_inner {
  width: 100%;
}
/* Abschnitte mit Karten, Tabellen oder Listen brauchen mehr als die 45 %
   Textbreite der Vorlage – sonst werden Spalten abgeschnitten. Fließtext
   bleibt trotzdem lesbar schmal. */
#_Hueleshof_Ahlen .full_length .text_content:has(.jb-landing-cards, .jb-hof-split, .jb-faq, .jb-hof-table) {
  max-width: min(1100px, 100%);
  width: 100%;
}
#_Hueleshof_Ahlen .full_length .text_content:has(.jb-landing-cards, .jb-hof-split, .jb-faq, .jb-hof-table) .Textnormal > p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
#_Hueleshof_Ahlen .jb-faq,
#_Hueleshof_Ahlen .jb-hof-split,
#_Hueleshof_Ahlen .jb-hof-table {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Sechs Karten als 3 × 2 statt 4 + 2. */
#_Hueleshof_Ahlen .jb-landing-cards:has(> :nth-child(6):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1000px) {
  #_Hueleshof_Ahlen .jb-landing-cards:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #_Hueleshof_Ahlen .jb-landing-cards:has(> :nth-child(6):last-child) {
    grid-template-columns: 1fr;
  }
}

/* „Wer macht was?“ und Kontakte: zwei Karten ohne Bild nebeneinander. */
#_Hueleshof_Ahlen .jb-hof-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}
@media (max-width: 760px) {
  #_Hueleshof_Ahlen .jb-hof-split {
    grid-template-columns: 1fr;
  }
}
#_Hueleshof_Ahlen .jb-hof-split .jb-course-card__body {
  padding: 26px 24px 22px;
}
#_Hueleshof_Ahlen .jb-hof-split .jb-landing-cards__step {
  margin-bottom: 10px;
}
#_Hueleshof_Ahlen .jb-hof-split h3.Titel {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 3px;
  margin: 0 0 16px;
}
#_Hueleshof_Ahlen .jb-hof-split .jb-facts {
  margin: 0;
}
#_Hueleshof_Ahlen .jb-hof-split p + p {
  margin-top: 6px;
}
#_Hueleshof_Ahlen .jb-hof-split a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Inhalt der aufklappbaren Buffets und Kategorien. */
#_Hueleshof_Ahlen details.jb-faq-item > .jb-hof-details {
  padding: 0 32px 22px 0;
  text-align: left;
}
#_Hueleshof_Ahlen details.jb-faq-item summary .jb-hof-sum-price {
  font-weight: 500;
  white-space: nowrap;
}
#_Hueleshof_Ahlen .jb-hof-claim {
  font-style: italic;
  margin: 0 0 16px;
}
#_Hueleshof_Ahlen .jb-hof-courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 40px;
}
@media (max-width: 760px) {
  #_Hueleshof_Ahlen .jb-hof-courses {
    grid-template-columns: 1fr;
  }
}
#_Hueleshof_Ahlen .jb-hof-courses .Textfett {
  margin: 0 0 6px;
}
#_Hueleshof_Ahlen .jb-hof-courses ul {
  margin: 0;
  padding-left: 1.1em;
}
#_Hueleshof_Ahlen .jb-hof-courses li + li {
  margin-top: 4px;
}
#_Hueleshof_Ahlen .jb-hof-courses .jb-hof-note {
  font-style: italic;
  margin: 8px 0 0;
}

/* Preisliste der freien Auswahl. */
#_Hueleshof_Ahlen .jb-hof-dishes {
  list-style: none;
  margin: 0;
  padding: 0;
}
#_Hueleshof_Ahlen .jb-hof-dishes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
#_Hueleshof_Ahlen .jb-hof-dishes li:last-child {
  border-bottom: 0;
}
#_Hueleshof_Ahlen .jb-hof-dishes .jb-hof-dish-detail {
  opacity: 0.7;
}
#_Hueleshof_Ahlen .jb-hof-dishes .jb-hof-price {
  flex: none;
  white-space: nowrap;
  font-weight: 600;
}

/* Beispielrechnung. */
#_Hueleshof_Ahlen .jb-hof-table-wrap {
  overflow-x: auto;
}
#_Hueleshof_Ahlen .jb-hof-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
#_Hueleshof_Ahlen .jb-hof-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82em;
  padding-bottom: 8px;
}
#_Hueleshof_Ahlen .jb-hof-table th,
#_Hueleshof_Ahlen .jb-hof-table td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  vertical-align: baseline;
}
#_Hueleshof_Ahlen .jb-hof-table thead th {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82em;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
#_Hueleshof_Ahlen .jb-hof-table tbody th {
  font-weight: 500;
}
#_Hueleshof_Ahlen .jb-hof-table .num {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
}
#_Hueleshof_Ahlen .jb-hof-table tr.jb-hof-sum th,
#_Hueleshof_Ahlen .jb-hof-table tr.jb-hof-sum td {
  font-weight: 700;
}
#_Hueleshof_Ahlen .jb-hof-table small {
  display: block;
  opacity: 0.7;
}
#_Hueleshof_Ahlen .jb-hof-table + .jb-hof-table {
  margin-top: 28px;
}
