/*
 * Angleichungen an das bisherige Erscheinungsbild nach dem TYPO3-Upgrade.
 * Jede Regel nennt die Ursache, damit sie später gezielt entfernt werden kann.
 * Hinweis: Das Cookie-Banner-CSS wird nach dieser Datei geladen → Selektoren mit "html body" verstärkt.
 */

/* sg_cookie_optin 6+: Standardvorlage hängt SVG-Pfeil-Icons an "Weitere Informationen anzeigen" und
   "Cookie-Informationen anzeigen" an (v5: nur Text) */
html body #SgCookieOptin .sg-cookie-optin-box-open-more-link > span,
html body #SgCookieOptin .sg-cookie-optin-box-sublist-open-more-link > span {
    display: none;
}

/* sg_cookie_optin 8: Grundschrift der Box 16px (v5/v6: 14px); Zeilenhöhen leiten sich davon ab */
html body #SgCookieOptin .sg-cookie-optin-box {
    font-size: 14px;
}

/* sg_cookie_optin 8: Beschreibungstexte mit eigener Schriftgröße 16px (v5/v6: geerbt 14px) */
html body #SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-description,
html body #SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-detail-list .sg-cookie-optin-box-cookie-detail-description {
    font-size: 14px;
}

/* sg_cookie_optin 8: Copyright/User-Hash mit höherer Deckkraft (v5: rgba(55,55,55,.376)) */
html body #SgCookieOptin {
    --sg-cookie-optin-color-text-opacity: rgba(55, 55, 55, 0.376);
}

/* sg_cookie_optin 6: Checkbox-Kästchen wird per transform um 1px angehoben (v5: ohne transform) */
html body #SgCookieOptin .sg-cookie-optin-box .sg-cookie-optin-box-cookie-list .sg-cookie-optin-box-cookie-list-item .sg-cookie-optin-checkbox + .sg-cookie-optin-checkbox-label::before {
    transform: none;
}

/* ws_t3bootstrap 13: Elemente ohne eigenen Abstand erhalten den TypoScript-Default jetzt als
   "frame-space-(before|after)-default-<wert>" (v11/v12: "frame-space-(before|after)-<wert>").
   Gleiche Werte wie in style.css. */
.frame-space-before-default-extra-small { margin-top: 1rem; }
.frame-space-after-default-extra-small  { margin-bottom: 1rem; }
.frame-space-before-default-small       { margin-top: 3rem; }
.frame-space-after-default-small        { margin-bottom: 3rem; }
.frame-space-before-default-medium      { margin-top: 6rem; }
.frame-space-after-default-medium       { margin-bottom: 6rem; }
.frame-space-before-default-large       { margin-top: 8rem; }
.frame-space-after-default-large        { margin-bottom: 8rem; }
.frame-space-before-default-extra-large { margin-top: 12rem; }
.frame-space-after-default-extra-large  { margin-bottom: 12rem; }
