/* ==========================================================================
   1. BASIS / ROOT
   ========================================================================== */
:root {
    --hero-overlay: rgba(255, 144, 199, 0.8);
}

/* Automatische Silbentrennung für die gesamte Website */
body {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==========================================================================
   2. ÜBERSCHRIFTEN / STICKER-LOOK
   ========================================================================== */
h2, .module-title {
    background: #FF007F;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    transform: rotate(-2deg);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Gilt für alle h2 und Modul-Titel, außer im Menü */
h1, h2, 
.page-header h2, 
.article-info + h2,
.sp-module-title,
.sppb-addon-title {
    background-color: #FF007F !important;
    color: #ffffff !important;
    display: inline-block !important;
    padding: 8px 18px !important;
    transform: rotate(-2deg) !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    margin-bottom: 25px !important;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2) !important;
    line-height: 1.2 !important;
}

/* Spezieller Schutz für deine pinken Sticker-Überschriften */
h1, h2, .module-title, .sp-module-title {
    hyphens: auto;
    word-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

/* ==========================================================================
   3. STARTSEITE / CLUB-HEADER
   ========================================================================== */
.club-header-wrapper {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 100%;
    display: block;
}

/* Spezielle Anpassung für den großen Vereinsnamen */
.club-header-wrapper h2 {
    font-size: 4rem;
    margin-bottom: 10px;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.club-header-wrapper .second-strip {
    transform: rotate(1deg); 
    margin-left: 20px;
    font-size: 5rem;
}

/* Stellt sicher, dass "Pinkes Kollektiv Mainz" die volle Größe behält */
.club-header-wrapper h2 {
    font-size: 4rem !important;
    transform: rotate(-2deg) !important;
    display: inline-block !important;
    background-color: #FF007F !important;
}

.club-header-wrapper .second-strip {
    font-size: 5rem !important;
    transform: rotate(1deg) !important;
    margin-left: 20px !important;
    display: inline-block !important;
}

/* Startseite: Hauptbereich ausblenden */
body.view-featured #sp-main-body {
    display: none !important;
}

/* ==========================================================================
   4. BUTTONS & FARB-AKZENTE
   ========================================================================== */
.btn-pink {
    background-color: #FF007F !important;
    color: #ffffff !important;
    border: none;
    padding: 12px 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transform: rotate(-1.5deg);
    display: inline-block;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-pink:hover {
    background-color: #e60072 !important;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

.btn-pink:active {
    transform: translateY(2px) rotate(0deg);
}

/* Allgemeine pinke Klassen */
.text-pink, .insta-slant-title {
    background-color: #FF007F !important;
}

/* ==========================================================================
   5. HERO-BEREICH
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    display: none !important;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* ==========================================================================
   6. KARTEN / MODULE / DASHBOARD
   ========================================================================== */
/* Schwarze Karten (Intern) */
.card-intern {
    background: #000;
    border: 3px solid #FF007F;
    padding: 20px;
    border-radius: 0;
}

/* Card Animation (Startseite) */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 15px;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2) !important;
}

.sppb-addon-feature {
    transition: transform 0.3s ease;
    border-bottom: 4px solid #e91e63;
}

.sppb-addon-feature:hover {
    transform: translateY(-10px);
}

/* Dashboard-Kacheln auf Weiß umstellen */
.dashboard-item {
    background: #ffffff !important;
    color: #333333 !important;
    border: 3px solid #FF007F;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dashboard-item h3 {
    color: #FF007F !important;
}

.dashboard-item p {
    color: #555555 !important;
}

/* Hover-Effekt: Die Kachel hebt sich leicht ab */
.dashboard-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.2) !important;
}

/* DASHBOARD-KACHELN (WEISS) */
.dashboard-item {
    background: #ffffff !important;
    color: #333333 !important;
    border: 3px solid #FF007F !important;
    border-radius: 15px !important;
    padding: 25px !important;
}

.dashboard-item h3 {
    background: none !important;
    color: #FF007F !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* ==========================================================================
   7. TABELLEN (PROTOKOLLE)
   ========================================================================== */
.category-list table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    color: #fff;
}

.category-list thead th {
    background-color: #FF007F;
    color: white;
    text-transform: uppercase;
    padding: 15px;
    border: none;
    font-family: 'Archivo Black', sans-serif;
}

.category-list tbody tr {
    background-color: #1a1a1a;
    transition: transform 0.2s;
}

.category-list tbody tr:hover {
    transform: scale(1.01);
    background-color: #222;
    border-left: 5px solid #FF007F;
}

.category-list td {
    padding: 15px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.category-list td a {
    color: #FF007F;
    font-weight: bold;
    text-decoration: none;
}

/* ==========================================================================
   8. BLOG-FEED (INSTAGRAM-STYLE)
   ========================================================================== */
.blog .article-list .article,
.blog .items-leading article,
.blog .items-row article,
.blog-items .com-content-category-blog__item,
article.item {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    margin-bottom: 60px !important;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start !important;
}

.blog article .entry-image, 
.blog article .item-image {
    flex: 0 0 320px !important;
    margin: 0 !important;
}

.blog article .entry-image img, 
.blog article .item-image img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #e91e63;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog article:hover .entry-image img {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
}

.blog article .entry-title a, 
.item-title a {
    color: #e91e63 !important;
    font-weight: 800 !important;
    font-size: 1.6rem !important;
    text-decoration: none;
}

.blog h2,
.blog h2 a,
.blog .article-title,
.blog .article-title a,
.blog .item-title,
.blog .item-title a {
    color: #ffffff !important;
}

/* ==========================================================================
   9. FOOTER & SOCIAL ICONS
   ========================================================================== */
#sp-footer {
    padding: 40px 0;
    border-top: 2px solid #FF007F;
}

#sp-footer .social-icons li a i, 
.fa-instagram, .fa-envelope, .fa-whatsapp {
    font-size: 42px !important;
    margin: 10px 15px !important;
    display: inline-block;
    color: #ffffff !important;
    transition: all 0.3s ease;
    width: auto !important;
    height: auto !important;
}

#sp-footer .social-icons li a:hover i {
    transform: translateY(-3px);
}

/* ==========================================================================
   10. PRESSE / SONSTIGES
   ========================================================================== */
.presse-download-box {
    background: #fdfdfd;
    border-left: 5px solid #e91e63;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.presse-download-box a {
    background: #e91e63;
    color: white !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.homepage .com-content-category-blog__title, 
.homepage .page-header {
    display: none !important;
}

.text-center.text-small.content-spacer a[title="social network script"] {
    display: none !important;
}

/* ==========================================================================
   11. COMMUNITY BUILDER
   ========================================================================== */
/* Community Builder Profil-Tabs sauber anordnen */
#cbtabscb_tabmain {
    width: 100% !important;
}

#cbtabscb_tabmainNav,
#cbtabscb_tabmain .cbTabsNav {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 0 !important;
}

#cbtabscb_tabmainNav .cbTabNav,
#cbtabscb_tabmainNav li.nav-item {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

#cbtabscb_tabmainNav .cbTabNavLink,
#cbtabscb_tabmainNav .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 12px 18px !important;
    background: #f5f5f5 !important;
    color: #222 !important;
    border: 1px solid #dddddd !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

#cbtabscb_tabmainNav .cbTabNavLink:hover,
#cbtabscb_tabmainNav .nav-link:hover {
    background: #ebebeb !important;
    border-color: #d2d2d2 !important;
    color: #111 !important;
}

#cbtabscb_tabmainNav .cbTabNavLink.active,
#cbtabscb_tabmainNav .nav-link.active,
#cbtabscb_tabmainNav .active .cbTabNavLink,
#cbtabscb_tabmainNav .active .nav-link {
    background: #ffffff !important;
    color: #111 !important;
    border: 1px solid #111 !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   12. RESPONSIVE / MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .blog .article-list .article, 
    article.item, 
    .com-content-category-blog__item {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .blog article .entry-image {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .blog article .entry-image img {
        aspect-ratio: 16 / 9 !important;
    }

    .club-header-wrapper h2 {
        font-size: 2.5rem;
    }

    .club-header-wrapper .second-strip {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .club-header-wrapper h2 {
        font-size: 2.2rem !important;
    }

    .club-header-wrapper .second-strip {
        font-size: 2.8rem !important;
    }
}

@media (max-width: 768px) {
    #cbtabscb_tabmainNav,
    #cbtabscb_tabmain .cbTabsNav {
        gap: 8px !important;
    }

    #cbtabscb_tabmainNav .cbTabNavLink,
    #cbtabscb_tabmainNav .nav-link {
        min-height: 42px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
}


/* HARTE JEvents-Überschreibung für obere Nav-Buttons */
#jevents_body .nav-items > div,
#jevents_body .nav-items > div:first-child,
#jevents_body .nav-items > div:last-child {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #f3f3f3 !important;
  box-shadow: none !important;
  margin-left: 0 !important;
  border-radius: 6px !important;
}

#jevents_body .nav-items > div > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px 7px 12px !important;
  background: #f3f3f3 !important;
  color: #474747 !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

#jevents_body .nav-items > div > a:hover,
#jevents_body .nav-items > div.active > a,
#jevents_body .jev_header2 .active > a,
#jevents_body .nav-items > div.active {
  background: #e9e9e9 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
}


#sp-top-bar {
  display: none !important;
}

#sp-main-body {
  padding:50px 0