/*
Theme Name: Activello Child – Förderverein
Description: Child-Theme für den Förderverein der Grundschule an der Burg Klopp Bingen e.V.
Author: Förderverein der Grundschule an der Burg Klopp Bingen e.V.
Template: activello
Version: 1.0.0
*/


/* =========================================================
   Vereinsfarben
   ========================================================= */

:root {
    --fv-gelb: #fcb601;
    --fv-rot: #eb001d;
    --fv-dunkel: #333333;
    --fv-gelb-hell: #fff4cc;
}


/* =========================================================
   Schriftarten
   ========================================================= */

body,
p,
input,
textarea,
select,
button {
    font-family: Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Arial, Helvetica, sans-serif;
}

/* Activello setzt Beitragstitel separat auf Lora/kursiv. */
.entry-title,
.entry-title a {
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
}

/* Grundtext etwas dunkler und klarer darstellen */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--fv-dunkel);
}


/* =========================================================
   Links und Akzente
   ========================================================= */

/* Rot als gut sichtbare Interaktionsfarbe */
a:hover,
a:focus,
.entry-title a:hover,
.entry-title a:focus,
.entry-meta a:hover,
.entry-meta a:focus,
.entry-footer a:hover,
.entry-footer a:focus,
.read-more a:hover,
.read-more a:focus {
    color: var(--fv-rot);
}

/* Links im eigentlichen Beitragsinhalt */
.single .entry-content a {
    color: var(--fv-rot);
}

.single .entry-content a:hover,
.single .entry-content a:focus {
    background-color: var(--fv-rot);
    color: #ffffff;
}

/* Gelbe Akzentlinie unter Kategorien und Widget-Titeln */
article.post .post-categories::after,
.post-inner-content .cat-item::after,
#secondary .widget-title::after {
    background: var(--fv-gelb);
}

/* Weiterlesen beim Überfahren zusätzlich klar hervorheben */
.read-more a:hover,
.read-more a:focus {
    border-color: var(--fv-rot);
}


/* =========================================================
   Kopfbereich / Navigation
   ========================================================= */

/* Suchfeld und Suchlupe im Kopfbereich ausblenden */
.site-navigation-inner .nav-search {
    display: none;
}

/* Dezente Vereinsfarbe als Abschluss der Navigation */
.navbar.navbar-default {
    border-bottom: 3px solid var(--fv-gelb);
}

/* Aktueller Menüpunkt: sehr helles Gelb, Text dunkel */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .current-menu-item > a,
.navbar-default .navbar-nav > .current_page_item > a {
    color: var(--fv-dunkel);
    background-color: var(--fv-gelb-hell);
}

/* Normale Menüeinträge beim Überfahren rot */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav .current-menu-ancestor > a.dropdown-toggle {
    color: var(--fv-rot);
    background-color: transparent;
}

/* Untermenüs: Gelb statt Activello-Lila */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: var(--fv-dunkel);
    background-color: var(--fv-gelb);
}


/* =========================================================
   Footer
   ========================================================= */

/* Activello-/WordPress-Hinweis im Footer ausblenden */
.copyright {
    display: none;
}

/* Hover-Farbe im Footer an Vereinsfarben anpassen */
.site-info a:hover,
.site-info a:focus {
    color: var(--fv-rot);
}

/* =========================================================
   Satzung
   ========================================================= */

.fv-satzung {
    line-height: 1.6;
}

.fv-satzung h3 {
    margin-top: 2.2em;
    margin-bottom: 0.7em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1.35;
    color: #333333;
}

.fv-satzung h3:first-child {
    margin-top: 0;
}

.fv-satzung p {
    margin-bottom: 1em;
}

.fv-satzung-datum {
    margin-top: 2.5em;
}

/* =========================================================
   Impressum
   ========================================================= */

.fv-impressum {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

.fv-impressum h2 {
    margin-bottom: 2em;
    font-size: 24px;
    font-style: normal;
}

.fv-impressum-section {
    padding: 1.4em 0;
    border-top: 1px solid #e5e5e5;
}

.fv-impressum-section h3 {
    margin: 0 0 0.6em;
    font-size: 18px;
    font-style: normal;
    color: #333333;
}

.fv-impressum-section p {
    margin: 0 0 0.7em;
}

.fv-impressum-section a {
    color: #EB001D;
    text-decoration: none;
}

.fv-impressum-section a:hover,
.fv-impressum-section a:focus {
    text-decoration: underline;
}

/* =========================================================
   Mobile Navigation – Untermenü sichtbar
   ========================================================= */

@media (max-width: 768px) {

    /* Untermenü von "Über uns" im geöffneten Mobilmenü
       dauerhaft anzeigen */
    .navbar-collapse .navbar-nav li.menu-item-has-children > .dropdown-menu {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 8px 24px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    /* Unterpunkte etwas kompakter und optisch untergeordnet */
    .navbar-collapse .navbar-nav li.menu-item-has-children > .dropdown-menu > li > a {
        padding: 8px 15px !important;
        font-size: 14px;
        font-weight: 400;
        text-transform: none;
        letter-spacing: normal;
    }

    /* "Über uns" bleibt die übergeordnete Überschrift */
    .navbar-collapse .navbar-nav > li.menu-item-has-children > a {
        margin-bottom: 0;
    }
}