/*
Theme Name: sunflowerSommerdesignLTW
Template: sunflower
Version: 1.0.0
Description: Farbanpassungen für das Sommerdesign
Author: verdigado eG & Mariska
*/



/* Haupttitel H1 (z. B. Seitentitel) */
h1,
h1.page-title {
  color: #1c302a !important;
}

/* Abschnittstitel H2 */
h2 {
  color: #1c302a !important;
}

/* Unterabschnitte H3 */
h3 {
  color: #1c302a !important;
}

/* H4 */
h4 {
  color: #1c302a !important;
}

/* H5 */
h5 {
  color: #1c302a !important;
}

/* H6 */
h6 {
  color: #1c302a !important;
}

/* Beitragsüberschriften-Farbe */
h2.card-title.mb-3 a {
  color: #1c302a !important;
  text-decoration: none; /* optional, um Unterstreichung zu vermeiden */
}

/* Hover-Effekt für Beitragsüberschriften */
h2.card-title.mb-3 a:hover {
  color: #78a08c !important;
}


/* 2. "Weiterlesen"-Links */
a.continue-reading {
  color: #78a08c !important;
}

/* 3. Schlagworte (Tags) */
.tagcloud a,
.entry-footer .tags-links a {
  color: #78a08c !important;
}

/* 4. Kategorien */
.cat-links a,
.entry-categories a,
.entry-meta .cat-links a {
  color: #78a08c !important;
}



/* Footer-Hintergrundfarbe anpassen */
.site-footer {
    background-color: #1c302a !important;
}

/* Hintergrundfarbe für die Sidebar */
#secondary.widget-area.container {
  background-color: #1c302a !important;
}

/* Hintergrundfarbe für den leeren Container (der dunklere Balken) */
.container-fluid.bg-darkgreen.p-5 {
  background-color: #1c302a !important;
}


/* Standardfarbe für Links im Fließtext */
.entry-content a:not([class]) {
    color: var(--wp--preset--color--salbei);
}

/* Links, die manuell eingefärbt wurden, nicht überschreiben */
.entry-content a.has-inline-color {
    color: inherit;
}

/* Beitragsseite Navigationsschaltflächen */
/* Farbe für Vor- & Zurück-Links */
.sunflower-post-navigation a {
    color: var(--wp--preset--color--wald) !important;
    border-color: var(--wp--preset--color--wald) !important;
}

.sunflower-post-navigation a:hover {
    background-color: var(--wp--preset--color--wald) !important;
    color: #fff !important;
}


/* nur für den Kontaktformular-Absenden-Button */
.page-id-446 input[type="submit"].submit {
    background-color: #78a08c !important; /* Salbei */
    border: none !important;
    color: #f5f1e9 !important; /* Sand */
    font-weight: bold;
    text-transform: uppercase;
}

/* Hover-Effekt: gleiche Farbe, nur Text unterstreichen */
.page-id-446 input[type="submit"].submit:hover {
    background-color: #78a08c !important; /* bleibt Salbei */
    color: #f5f1e9 !important;
    text-decoration: underline;
}



/*Datenschutzlink Kontaktformular umfärben*/
/* Link im Kontaktformular ("Datenschutzerklärung") einfärben */
#privacy_policy_url {
    color: #78a08c !important;   /* normale Farbe */
    text-decoration: underline;  /* optional, falls du die Unterstreichung willst */
}

/* Farbe beim Hovern */
#privacy_policy_url:hover {
    color: #1c302a !important;
}

/* Terminseite Link zu Kalender im ics-Format umfärben und unterstreichen */
a.calendar-download {
    color: #78a08c !important;
    text-decoration: underline !important; /* hinzugefügt */
}

a.calendar-download:hover {
    color: #1c302a !important;
    text-decoration: underline !important; /* sicherstellen, dass es auch beim Hover bleibt */
}


/*Anpassungen bei Terminen*/

/* Hintergrund der Metabox (rechts im Event-Detail) von Klee auf Salbei */
.metabox.small {
    background-color: #1c302a !important;
}

/* ICS-Link in allen Events unterstreichen */
.sunflower_event .metabox a[href*="format=ics"] {
    text-decoration: underline !important;
}


/* Terminübersicht: Überschrift Wald, Hover Salbei */
.archive.post-type-archive-sunflower_event a.event-card span.h2 {
    color: #1c302a !important;  /* Wald */
}

.archive.post-type-archive-sunflower_event a.event-card:hover span.h2 {
    color: #78a08c !important;  /* Salbei */
}



/*einzelne Termine: Box für Veranstaltungsort*/

/* Hintergrundfarbe des gesamten Leaflet-Blocks auf Wald setzen */
#leaflet.bg-lightgreen {
    background-color: var(--wp--preset--color--wald) !important;
}

/* Alle Texte und Icons im Leaflet-Block auf Sand */
#leaflet,
#leaflet .before-loading,
#leaflet .before-loading * {
    color: var(--wp--preset--color--sand) !important;
}

/* Datenschutzlink auf Salbei */
#leaflet .before-loading a {
    color: var(--wp--preset--color--salbei) !important;
    text-decoration: underline;
}
#leaflet .before-loading a:hover {
    color: var(--wp--preset--color--sand) !important;
}

/* Button auf Salbei, Text in Sand */
#leaflet .before-loading button,
#leaflet .before-loading .wp-block-button__link {
    background-color: var(--wp--preset--color--salbei) !important;
    color: var(--wp--preset--color--sand) !important;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none; /* Standard ohne Unterstreichung */
}

/* Hover-Effekt: Hintergrund bleibt, Text wird unterstrichen */
#leaflet .before-loading button:hover,
#leaflet .before-loading .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--salbei) !important; /* bleibt gleich */
    color: var(--wp--preset--color--sand) !important; /* bleibt gleich */
    text-decoration: underline; /* nur Text wird unterstrichen */
}


/* Links nur auf der Cookie-Richtlinie (EU) Seite anpassen */
body.page-id-971 .cmplz-document a {
  color: var(--wp--preset--color--salbei) !important;
  text-decoration: none;
}

body.page-id-971 .cmplz-document a:hover {
  text-decoration: underline;
}

