/*
 Theme Name:   Twenty Fifteen Child
 Theme URI:    https://markusebert.de
 Description:  Child Theme für Twenty Fifteen
 Author:       Markus Ebert
 Author URI:   https://markusebert.de
 Template:     twentyfifteen
 Version:      1.0.0
*/

/* eigene Styles */

/* Footer-Hinweis ausblenden */
.site-info {
    display: none !important;
}

/* --------------------------------------------------
   Layout-Anpassung: linke Sidebar (grauer Balken)
   -------------------------------------------------- */

/* Standardbreite (Desktop) verkleinern */
body:before,
.sidebar {
    width: 180px !important;   /* Standard ist ~248px */
}

/* Inhaltsbereich entsprechend verschieben */
.site-content {
    margin-left: 180px !important;
}

/* ------------------------
   Responsive Korrekturen
   ------------------------ */

/* Für mittlere Bildschirme (Tablet-Hochformat usw.) */
@media screen and (max-width: 955px) {
    body:before,
    .sidebar {
        width: 160px !important;
    }

    .site-content {
        margin-left: 160px !important;
    }
}

/* Für Smartphones Sidebar ganz ausblenden */
@media screen and (max-width: 640px) {
    body:before,
    .sidebar {
        display: none !important;
    }

    .site-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
/* Social-Icons im Theme Twenty Fifteen vollständig ausblenden */
.social-navigation,
.site-footer .social-navigation,
#menu-social-links,
ul.social-links-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Halbtransparentes Overlay über dem Hintergrundbild */
body.custom-background::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);  /* <-- Transparenzfarbe */
    z-index: -1;  /* bleibt hinter dem Text */
}
/* Einheitliches Styling für alle Link-Zustände */
a,
a:visited {
  color: #ffffff !important; /* Weiß für normale & besuchte Links */
  text-decoration: underline; /* optional für bessere Lesbarkeit */
}

a:hover,
a:focus {
  color: #ffcc00 !important; /* Gelb beim Hover */
}
