.recipe-ingredients li,
.recipe-ingredients li * {
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

.recipe-ingredients strong {
  padding-left: 0.25em;
}

a.sppb-readmore {
    display: inline-block;
    background-color: #608049;      /* dein Button-Grün */
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    margin-top: 12px;
    transition: all 0.18s ease-in-out;
}

/* hover state */
a.sppb-readmore:hover {
    background-color: #255527;      /* etwas dunkleres Grün */
    color: #ffffff !important;
    text-decoration: none;
}

@media (max-width: 768px) {

  /* Wrapper-Klasse an der Sektion/Row vergeben (z.B. in SPPB "CSS Class": recent-recipes-section) */
  .sppb-addon-article-layout-editorial-wrapper {
    font-size: 15px;          /* Grundschrift mobile etwas größer */
    line-height: 1.5;
  }
}

#sp-footer {
  background-color:white !important;
}

/* Footer-Menü horizontal ohne Spiegelpunkte (aktueller Zustand mit "menufooter-menu") */
ul.mod-menu.mod-list.menufooter-menu {
    list-style: none;          /* Spiegelpunkte weg */
    padding: 0;
    margin: 0;
    display: flex;             /* nebeneinander */
    gap: 14px;                 /* Abstand zwischen den Links */
    justify-content: center;   /* mittig ausrichten */
  flex-wrap: wrap;
}

ul.mod-menu.mod-list.menufooter-menu li {
    margin: 0;
}

ul.mod-menu.mod-list.menufooter-menu li a {
    text-decoration: none;
    color: #666666;
    font-size: 15px;
}

ul.mod-menu.mod-list.menufooter-menu li a:hover {
    color: #333333;
}

/* Separator nach jedem Footer-Menüpunkt */
ul.mod-menu.mod-list.menufooter-menu li {
    position: relative;
    padding-right: 14px;  /* Abstand zum Strich */
    margin-right: 14px;   /* Abstand zwischen den Items */
}

ul.mod-menu.mod-list.menufooter-menu li::after {
    content: " |";
    color: #cccccc;       /* dezenter Separator */
    position: absolute;
    right: 0;
    top: 0;
}


/* Letztes Element ohne Strich */
ul.mod-menu.mod-list.menufooter-menu li:last-child::after {
    content: none;
}

/* Kategorieseiten / Bloglisten: Layout der Artikel auf "Card" umstellen */
.article-list .article {
    display: block !important;     /* kein flex/row-Layout mehr */
}

/* Bild oben, volle Breite, Abstand nach unten */
.article-list .article .article-intro-image {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 0 15px 0;
}

.article-list .article .article-intro-image img {
    width: 100%;
    height: auto;
    display: block;
  margin-bottom: 20px;
}

/* ---- Card Style für Kategorie-Ansichten ---- */

.article-list .article {
    background: #ffffff;                 /* weißer Hintergrund */
    border-radius: 8px;                 /* leichte Rundung */
    padding: 26px 32px !important;                      /* Innenabstand */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);  /* **leichter Schatten** wie Startseite */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover-Effekt (optional, wirkt sehr hochwertig) */
.article-list .article:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.article-list .article .fields-container {
    margin-bottom: 14px;
}

.article-list .article .article-introtext p {
    display: -webkit-box;
    -webkit-line-clamp: 4;      /* Anzahl sichtbarer Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
  line-height: 1.55;
}
/* Rezepttitel in den Kachel-Listen angleichen */
.article-list .article .article-header h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;              /* max. 2 Zeilen Titel */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;                  /* 2 Zeilen × 1,4 line-height = 2,8em */
}

.category-intro {
    max-width: 860px;
    margin: 0 auto 50px auto;
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    text-align: left;              /* <<< NICHT zentriert */
}

/* Kleine WhatsApp-CTA-Box auf Kategorieseiten */
.wa-cta-box--category {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 40px 0;
}

.wa-cta-box--category .wa-cta-text h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wa-cta-box--category .wa-cta-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* Button-Stil (kleiner als auf der Startseite, aber erkennbar) */
.wa-cta-box--category .wa-cta-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #1fb55a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.wa-cta-box--category .wa-cta-btn:hover {
    background: #199449;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.16);
}

/* Mobile: Box untereinander, Button volle Breite */
@media (max-width: 768px) {
    .wa-cta-box--category {
        flex-direction: column;
        align-items: flex-start;
    }

    .wa-cta-box--category .wa-cta-btn {
        width: 100%;
        text-align: center;
    }
}

.view-article .category-intro {
    display: none !important;
}

.view-article .whatsapp {
    display: none !important;
}
.view-article .fields-container {
    display: none !important;
}

/* Bereich "Kategorien & Tags" */
.recipe-tags {
    margin-top: 0.4rem;
}

/* Tag-Badges */
.recipe-tags a {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 6px 6px 0;
    border-radius: 999px;
    border: 1px solid #2b5d1e;         /* dein Grün */
    background: #f5f8f3;                /* leichtes Grün/Off-White */
    color: #2b5d1e;
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 1.2;
}

/* Hover-Effekt */
.recipe-tags a:hover {
    background: #2b5d1e;
    color: #ffffff;
}

/* Falls dein Template die Links schon grün färbt, sicherheitshalber */
.recipe-tags a:visited {
    color: #2b5d1e;
}

/* Oberer Bereich für den Portionsrechner */
.portion-wrapper {
    display: flex;
    justify-content: flex-start;   /* linksbündig */
    align-items: center;
    padding: 1rem 0 0.5rem;
    margin-bottom: 1rem;           /* etwas näher an die Zutaten */
}

/* Flex-Layout für den Scaler */
.ingredient-scaler {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 24px;               /* DEUTLICH größer auf Desktop */
    font-weight: 500;
}

/* Label */
.ingredient-scaler .portion-label {
    margin-right: 0.5rem;
}

/* Zahl */
.portion-value {
    min-width: 3.2rem;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

/* Buttons */
.ingredient-scaler .portion-minus,
.ingredient-scaler .portion-plus {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid #333;
    background: #fff;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.ingredient-scaler .portion-minus:hover,
.ingredient-scaler .portion-plus:hover {
    background: #f4f4f4;
}
