/* ============================================================
   💕 SarahSofia Creatorinnen Formular – Professionelles Layout
   ============================================================ */

.creatorin-form-wrapper {
  background: #fff6f8;
  border: 1px solid rgba(139, 30, 63, 0.15);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  padding: 2.5rem 2rem;
  max-width: 900px;
  margin: 3rem auto;
  font-family: "Inter", sans-serif;
  color: #333;
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Grundstruktur mit klar definierten Reihen
   ============================================================ */
.creatorin-form-wrapper .acf-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2rem;
}

/* Name – volle Breite */
.creatorin-form-wrapper [data-name="kuenstlername"] {
  flex: 0 0 100%;
}

/* Kurzbeschreibung + Profilbild nebeneinander */
.creatorin-form-wrapper [data-name="kurzbio"] {
  flex: 0 0 calc(50% - 1rem);
}
.creatorin-form-wrapper [data-name="profilbild"] {
  flex: 0 0 calc(50% - 1rem);
  align-self: flex-start;
}

/* Langbeschreibung – volle Breite */
.creatorin-form-wrapper [data-name="langbio"] {
  flex: 0 0 100%;
}

/* Email, Telefon, Land, Plattform – halbbreit */
.creatorin-form-wrapper [data-name="kontakt"],
.creatorin-form-wrapper [data-name="email_anzeigen"],
.creatorin-form-wrapper [data-name="telefon"],
.creatorin-form-wrapper [data-name="land"],
.creatorin-form-wrapper [data-name="plattform_link1"],
.creatorin-form-wrapper [data-name="social_instagram"],
.creatorin-form-wrapper [data-name="social_facebook"],
.creatorin-form-wrapper [data-name="social_x"],
.creatorin-form-wrapper [data-name="whatsapp"],
.creatorin-form-wrapper [data-name="telegram_link"],
.creatorin-form-wrapper [data-name="social_tiktok"] {
  flex: 0 0 calc(50% - 1rem);
}

/* Kategorien – volle Breite */
.creatorin-form-wrapper [data-name="kategorien"] {
  flex: 0 0 100%;
}

/* ============================================================
   Eingabeelemente & Look
   ============================================================ */
.creatorin-form-wrapper .acf-field {
  background: #fff;
  border: 1px solid rgba(139, 30, 63, 0.1);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  transition: all 0.25s ease;
}

.creatorin-form-wrapper .acf-field:hover {
  border-color: rgba(139, 30, 63, 0.25);
  box-shadow: 0 0 8px rgba(139, 30, 63, 0.08);
}

.creatorin-form-wrapper label {
  font-weight: 600;
  color: #8B1E3F;
  margin-bottom: 0.3rem;
  display: block;
  font-size: 1.05rem;
}

/* Pflichtstern */
.creatorin-form-wrapper .acf-required {
  color: #d22;
  margin-left: 2px;
}

/* Inputs */
.creatorin-form-wrapper input[type="text"],
.creatorin-form-wrapper input[type="email"],
.creatorin-form-wrapper input[type="url"],
.creatorin-form-wrapper textarea,
.creatorin-form-wrapper select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(139, 30, 63, 0.25);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.creatorin-form-wrapper input:focus,
.creatorin-form-wrapper textarea:focus {
  outline: none;
  border-color: #8B1E3F;
  box-shadow: 0 0 0 3px rgba(139, 30, 63, 0.15);
}

/* ============================================================
   Editor / Tabs zartrosa
   ============================================================ */
.creatorin-form-wrapper .switch-html,
.creatorin-form-wrapper .switch-tmce {
  background: #fbe9ee !important;
  color: #8b1e3f !important;
  border: none !important;
  border-radius: 6px 6px 0 0 !important;
}
.creatorin-form-wrapper .switch-html.active,
.creatorin-form-wrapper .switch-tmce.active {
  background: #8b1e3f !important;
  color: #fff !important;
}

/* ============================================================
   Kategorien: übersichtlich mehrspaltig
   ============================================================ */
.creatorin-form-wrapper [data-name="kategorien"] .acf-checkbox-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.4rem 1rem;
}

/* ============================================================
   Datei-Upload-Button
   ============================================================ */
.creatorin-form-wrapper .acf-button {
  background: #8B1E3F !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600 !important;
  transition: all 0.25s ease;
}
.creatorin-form-wrapper .acf-button:hover {
  background: #A0234B !important;
}

/* ============================================================
   Submit
   ============================================================ */
.creatorin-form-wrapper .acf-form-submit {
  flex: 0 0 100%;
  text-align: center;
}
.creatorin-form-wrapper .acf-form-submit .button {
  background: #8B1E3F;
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(139, 30, 63, 0.15);
}
.creatorin-form-wrapper .acf-form-submit .button:hover {
  background: #A0234B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 30, 63, 0.25);
}

/* ============================================================
   Mobile Ansicht: alles untereinander
   ============================================================ */
@media (max-width: 768px) {
  .creatorin-form-wrapper .acf-fields {
    flex-direction: column;
  }
  .creatorin-form-wrapper [data-name] {
    flex: 0 0 100% !important;
  }
}
/* ============================================================
   💕 Feinschliff: Button-Abstand & Eingabehilfe-Farben
   ============================================================ */

/* Abstand unter dem Absenden-Button */
.creatorin-form-wrapper .acf-form-submit {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem; /* etwas mehr Luft nach unten */
}

/* Eingabehilfe / Placeholder lesbarer machen */
.creatorin-form-wrapper input::placeholder,
.creatorin-form-wrapper textarea::placeholder {
  color: #777 !important;
  opacity: 1 !important;
  font-weight: 400;
}

/* Leicht hellgrauer Text auch für leere Selects */
.creatorin-form-wrapper select:invalid {
  color: #777 !important;
}

/* Safari / iOS-Kompatibilität */
.creatorin-form-wrapper ::-webkit-input-placeholder { color: #777 !important; }
.creatorin-form-wrapper :-ms-input-placeholder { color: #777 !important; }
.creatorin-form-wrapper ::-ms-input-placeholder { color: #777 !important; }

/* Bonus: Wenn Fokus aktiv ist → leicht dunkler Rahmen */
.creatorin-form-wrapper input:focus,
.creatorin-form-wrapper textarea:focus,
.creatorin-form-wrapper select:focus {
  border-color: #8B1E3F;
  box-shadow: 0 0 0 3px rgba(139, 30, 63, 0.15);
}
/* ============================================================
   💕 SarahSofia – Mobile Optimierung (Formular < 768px)
   ============================================================ */

@media (max-width: 768px) {

  /* Grundlayout */
  .creatorin-form-wrapper {
    padding: 1.8rem 1.2rem;
    margin: 1.5rem auto;
    border-radius: 10px;
  }

  /* Alle Felder einspaltig untereinander */
  .creatorin-form-wrapper .acf-fields {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
  }

  /* Alle Felder volle Breite */
  .creatorin-form-wrapper [data-name],
  .creatorin-form-wrapper .acf-field {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* Profilbild-Feld leicht absetzen */
  .creatorin-form-wrapper [data-name="profilbild"] {
    margin-top: 0.3rem;
    text-align: center;
  }

  /* Profilbild-Button größer für Fingerbedienung */
  .creatorin-form-wrapper .acf-button {
    width: 100%;
    padding: 0.8rem 1rem !important;
    border-radius: 8px !important;
  }

  /* Beschriftungen */
  .creatorin-form-wrapper label {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  /* Text- & Eingabefelder */
  .creatorin-form-wrapper input[type="text"],
  .creatorin-form-wrapper input[type="email"],
  .creatorin-form-wrapper input[type="url"],
  .creatorin-form-wrapper textarea,
  .creatorin-form-wrapper select {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  /* Placeholder auf kleinen Displays leicht heller */
  .creatorin-form-wrapper input::placeholder,
  .creatorin-form-wrapper textarea::placeholder {
    color: #888 !important;
  }

  /* Kategorien-Checkboxen: zwei Spalten auf Mobil */
  .creatorin-form-wrapper [data-name="kategorien"] .acf-checkbox-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem 0.8rem;
  }

  /* Absenden-Button größer + mehr Abstand */
  .creatorin-form-wrapper .acf-form-submit {
    margin-top: 1.8rem;
  }
  .creatorin-form-wrapper .acf-form-submit .button {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-radius: 50px;
  }

  /* Bessere Lesbarkeit für Editor-Tabs */
  .creatorin-form-wrapper .switch-html,
  .creatorin-form-wrapper .switch-tmce {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem !important;
  }

  /* Allgemeine Abstände */
  .creatorin-form-wrapper .acf-field {
    padding: 1rem 1rem;
  }
}
@media (max-width: 768px) {
  .creatorin-form-wrapper [data-name="kategorien"] .acf-checkbox-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }
  .creatorin-form-wrapper [data-name="kategorien"] li {
    width: 100% !important;
  }
}

/* ============================================================
   🪪 Personalausweis-Felder nebeneinander
   ============================================================ */

.creatorin-form-wrapper [data-name="personalausweis_vorderseite"],
.creatorin-form-wrapper [data-name="personalausweis_rueckseite"] {
  flex: 0 0 calc(50% - 1rem);
}

/* Für kleine Displays wieder untereinander */
@media (max-width: 768px) {
  .creatorin-form-wrapper [data-name="personalausweis_vorderseite"],
  .creatorin-form-wrapper [data-name="personalausweis_rueckseite"] {
    flex: 0 0 100% !important;
  }
}
----------

/* ACF Hinweis-Box Styling */
.creatorhinweis-instructions {
    max-width: 700px;
    margin: 0 auto 20px auto;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.creatorhinweis-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.creatorhinweis-instructions ul li {
    position: relative;
    padding-left: 18px;
    margin: 4px 0;
}

.creatorhinweis-instructions ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #8B1E3F; /* dein Markenweinrot */
    font-size: 1.2rem;
    line-height: 1;
}

/* Checkbox sauber positionieren */
.creatorhinweis-checkbox label {
    font-weight: 600;
    color: #8B1E3F;
}
.creatorhinweis-text {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .creatorhinweis-text {
        text-align: left !important;
        padding-left: 12px;
        padding-right: 12px;
    }
}



/* ============================================================
   Creatorinnen Cards – Breite optimieren für Bilddarstellung
   ============================================================ */

/* MOBILE Optimierungen für Creator-Post-Cards */
@media (max-width: 768px) {

    /* Profilbild kleiner + schöner */
    .creator-mini-header a {
        width: 60px !important;
        height: 60px !important;
        border-width: 2px !important;
        margin-top: 0.2rem !important;
    }

    /* Abstand: Titel → Profilheader enger */
    .creator-mini-header {
        margin-top: -0.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Abstand: Profilheader → Bild etwas vergrößern für Harmonie */
    .creator-mini-header + a,
    .creator-mini-header + div {
        margin-top: 0.4rem !important;
    }
}
/* Nur das Bild mobil volle Breite machen */
@media (max-width: 768px) {
  .creator-card-inner > a:first-of-type > div {
      margin-left: -1.2rem;
      margin-right: -1.2rem;
      width: calc(100% + 2.4rem);
  }
}

/* ============================
   Antwort-Kommentare (Thread)
   ============================ */
.ss-comment-reply {
    margin-left: 45px;
    margin-top: 18px;
    padding: 25px 28px;
    background: #fffdfd; /* zartes Weiß */
    border-left: 4px solid rgba(139, 30, 63, 0.25); /* dezente Markenfarbe */
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* Abstand zwischen Antworten */
.ss-comment-reply + .ss-comment-reply {
    margin-top: 12px;
}

.single-creator_post .post-hero {
    text-align: center;
    display: flex;
    justify-content: center;
}

.single-creator_post .post-hero img {
    margin: 0 auto !important;
    display: block;
}

@media (max-width: 768px) {

    /* 1) Alle WordPress-Kommentar-Tiefen */
    .comment.depth-2,
    .comment.depth-3,
    .comment.depth-4,
    .comment.depth-5,
    .comment.depth-6 {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    /* 2) Deine eigenen Antwort-Container */
    .ss-replies,
    .ss-reply-card,
    .ss-comment-item {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
    }

    /* 3) Universell ALLE direkten Kinder von ss-replies */
    .ss-replies > * {
        margin-left: 0 !important;
    }

    /* 4) Fallback für inline-styles */
    [style*="margin-left"] {
        margin-left: 0 !important;
    }

}

@media (max-width: 768px) {
    .ss-replies {
        margin-left: 0 !important;
    }
    .ss-reply-card {
        margin-left: 0 !important;
        border-left: none !important;
        padding-left: 14px !important;
    }
}


@media (max-width: 768px) {

    /* Der ECHTE Übeltäter: das Flex-Layout der Kommentare */
    .ss-comment-item {
        display: block !important;
    }

    /* Dann Ribbon entfernen */
    .ss-reply-card {
        border-left: none !important;
        padding-left: 16px !important;
    }

    /* Falls der Elterncontainer noch minimal schiebt */
    .ss-replies {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

<style>
.sofia-main-gap {
    height: 25px; /* oder 50px je nach Geschmack */
}
</style>

/* Box 1 + Box 2 auf Mobil begrenzen */
@media (max-width: 768px) {
    main.creatorin-container {
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
@media (max-width: 768px) {
    .creator-card-inner img,
    .creator-card img {
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* Runde Creator-Avatare */
.creator-avatar {
    width: 150px;
    height: 150px;
    margin: 1.2rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #8B1E3F;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 💕 Zentriere jedes einzelne Bild im Creatorinnen-Formular */
.creatorin-form-wrapper img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ================================
   SarahSofia – Sticky Navbar (Bordeaux)
================================ */

.ss-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #8B1E3F; /* Bordeaux */
    padding: 10px 0 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
}

/* Buttons */
.ss-sticky-btn {
    width: 62px;
    height: 62px;
    background: #ffffff;
    border-radius: 50%;
    border: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #000;
    text-decoration: none;
    transition: 0.25s ease;
}

/* Sticky Bar – Apple Clean */
.ss-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #8B1E3F;
    padding: 12px 0 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

/* Sticky Buttons */
.ss-sticky-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.9rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #000;
}

/* Aktiver Button – optional */
.ss-sticky-btn.active {
    border-color: #8B1E3F;
}

.creator-post-actions {
    display: flex;
    justify-content: center;
    gap: 1.6rem; /* größerer Abstand */
   margin-top: 0.6rem;  /* vorher 1rem */
    margin-bottom: 0.4rem;
}

.mini-action-btn {
    background: #fafafa;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 60px;      /* größere Buttons */
    height: 60px;     /* größere Buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem; /* größere Icons */
    text-decoration: none;
    color: #333;
    transition: 0.18s;
}

.mini-action-btn:hover {
    background: #e6e6e6;
    transform: scale(1.07);
}


/* Standard: nichts ändern – SarahSofia Logo bleibt wie es ist */

/* ============================
   FEMMEZ Branding im Header
   ============================ */

/* 1) Original-Logo ausblenden */
body.femmez-branding .site-branding img.custom-logo {
    opacity: 0 !important; /* Unsichtbar, aber Platz bleibt */
}

/* 2) Den Link-Container als Anker benutzen */
body.femmez-branding .site-branding a.brand.has-logo-image {
    position: relative;
    display: inline-block;
}

/* 3) Femmez-Logo oben drüber legen */
body.femmez-branding .site-branding a.brand.has-logo-image::after {
    content: "";
    position: absolute;
    inset: 0; /* füllt die komplette Logo-Fläche */
    background-image: url("https://sarahsofia.de/wp-content/uploads/2025/12/Famez-1.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    pointer-events: none; /* Klick bleibt auf Home-Link */
}
