/* =============================================================================
   Google-Review: Sterne + "via Google"-Badge
   ---------------------------------------------------------------------------
   Article-Tag bekommt via post_class()-Filter zusätzlich:
   - .ghm-google-review
   - .ghm-rating-1 ... .ghm-rating-5

   Sterne erscheinen oberhalb des Author-Namens, Badge rechts daneben.
   ========================================================================= */

article.ghm-google-review .post-content-wrapper {
    position: relative;
}

/* Autoren-Name ausblenden — sowohl in der Liste (Erfahrungsberichte) als
   auch auf der Single-Post-Detailseite (z.B. /c-n/). */
article.ghm-google-review .heading,
article.ghm-google-review .post-title,
article.ghm-google-review .entry-title,
article.ghm-google-review #titel-diemedia {
    display: none !important;
}

/* ⭐ Sterne inline am Anfang des Review-Texts — matched WP-Layout
   (WP-Reviews haben ⭐️-Emojis direkt im post_content). Wir simulieren
   das gleiche via ::before auf .short-description, damit Position
   und Style identisch wirken. */
article.ghm-google-review .short-description::before {
    /* Kein font-size/color override — Emoji rendert nativ wie bei WP-Reviews */
}

article.ghm-google-review.ghm-rating-1 .short-description::before { content: '⭐ '; }
article.ghm-google-review.ghm-rating-2 .short-description::before { content: '⭐⭐ '; }
article.ghm-google-review.ghm-rating-3 .short-description::before { content: '⭐⭐⭐ '; }
article.ghm-google-review.ghm-rating-4 .short-description::before { content: '⭐⭐⭐⭐ '; }
article.ghm-google-review.ghm-rating-5 .short-description::before { content: '⭐⭐⭐⭐⭐ '; }

/* Dezenter "(via Google)"-Hinweis direkt hinter dem Datum */
article.ghm-google-review .entry-meta::after {
    content: ' (via Google)';
    font-style: italic;
    color: #999;
    font-size: 0.9em;
    margin-left: 4px;
}

