/**
 * Theme Name:     King Child
 * Author:         KingThemes
 * Template:       king
 * Text Domain:	   king-child
 * Description:    WordPress Viral Magazine Theme
 */

.king-header {
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.15);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.08);
}

.far.fa-bell.fa-lg {
    color: #5e6777 !important; /* Deine Wunschfarbe */
}

.king-right-toggle:before, .king-right-toggle:after, .right-toggle-line {
    background-color: #586170;
}

/* Bildgröße für king-grid-06 anpassen */
.king-grid-06 .entry-image,
.king-grid-06 .entry-no-thumb,
.king-grid-06 .content-post .entry-image,
.king-grid-06 .post-box .entry-image {
    height: 660px !important;
/* Wunschhöhe anpassen */
}

/* Verhindert Verschieben bei Hover / Animation */
.king-grid-06 .entry-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/* >>> WICHTIG: Inline-Style "width:auto" überschreiben */
.owl-carousel .owl-item {
    width: 350px !important;   /* ← hier stellst du die Breite ein */
    flex: 0 0 350px !important;  /* ← Bildergröße */ 
}

.king-gallery-04 {
    width: 100%;
    height: auto;
}


/* Bild korrekt skalieren */
.owl-carousel .owl-item img {
    height: 100% !important;
    width: auto !important;
    object-fit: cover !important;
    display: block;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .owl-carousel .owl-item {
        width: 300px !important;
        flex: 0 0 300px !important;
		padding: 0 10px; /* Abstand je Seite */
    }
}

/* Owl Carousel Dots ausblenden */
.owl-dots {
    display: none !important;
}

/* Nur iOS: Smooth horizontal scrolling */
@supports (-webkit-overflow-scrolling: touch) {
    .king-images .owl-stage-outer {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important; /* only iOS smooth */
    }

    .king-images .owl-stage {
        transform: none !important;
        transition: none !important;
		width: 100% !important;
    }
}

/* Nur auf iOS: Navigation ausblenden */
@supports (-webkit-overflow-scrolling: touch) {
    .owl-nav {
        display: none !important;
    }
}

/* Klicks in der Galerie verhindern */
.king-images a.images-item {
    pointer-events: none !important;
    cursor: default !important;
}

/* Hintergrundfarbe für imagetemplate ändern */
.imagetemplate {
    background-color: #ffffff !important; /* <-- Wunschfarbe hier */
}

/* Nächster Artikel ausblenden*/
.post-nav {
    visibility: hidden;      /* Inhalt unsichtbar */
    height: 0px;            /* Höhe = Abstand nach unten */
    margin-bottom: 20px; /* nur Abstand nach unten */
}


.header-template-08 .head-icons {
    border-left: 1px solid rgb(43 47 53);
}

.king-right-toggle {
    border-left: 1px solid rgb(43 47 53);
}

/* Add Recipe Icon im Menu */
.king-head-eicons.head-icons {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;   /* bisher vermutlich ~32px */
    height: 40px;  /* optional: gleiche Höhe → quadratisches Icon */
    padding: 8px;  /* zusätzlicher Innenabstand */
    background-color: #E9014C !important;
    border-radius: 12px; /* optional: abgerundete Ecken */
    color: #ffffff !important;
}

.king-head-eicons.head-icons i {
    color: #ffffff !important; /* Wunschfarbe eintragen */
}

.king-head-eicons.head-icons i:hover {
    color: #ffffff !important;
}

/* Suche auf Mobil komplett ausblenden */
@media (max-width: 768px) {
    .king-search-top {
        display: none !important;
    }
}

/* Icon-Farbe Search */
.header-search-submit i {
    color: #5e6777 !important; /* Wunschfarbe hier */
}

/* Eingabetext-Farbe Search */
.header-search-field {
    color: #ffffff !important; /* Text im Feld */
}

/* Placeholder-Farbe Search */
.header-search-field::placeholder {
    color: #5e6777 !important; /* Hellgrau oder gewünschte Farbe */
}

/* Add Recipe Position*/
.king-head-eicons.head-icons {
	margin: 0 12px;
}

.king-postimg img,
.king-postimg {
    border-radius: 1 !important;
}

/* Author Widget höher setzen */
.widget_king_authorbox_widget {
    margin-top: -10px; /* Wert nach Bedarf anpassen */
}

.authorbox-publishedby {
    font-size: 14px;
    font-weight: 600;
	margin-top: 10px; /* Abstand nach oben – beliebig anpassen */
    margin-bottom: 10px;
    color: #000; /* ggf. anpassen */
}


.king-stats-footer {
    width: 100%;
    background: #ffffff;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 120px;
    border-top: 3px solid #eaeaea;
    box-sizing: border-box;
	margin-top: 40px; /* Abstand nach unten Richtung Footer */
    border-top: none; /* Falls vorher ein Rand oben gesetzt wurde */
}

.king-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.king-stat-box i {
    font-size: 32px;
    margin-bottom: 6px;
    color: #5e6777;
}

.king-stat-box strong {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.king-stat-box span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
	color: #5e6777 !important;
}

.site-footer {
    margin-top: 0 !important; /* Footer direkt dran */
    padding-top: 0 !important;
}

footer.site-footer .king-stats-footer .count {
    color: #5e6777 !important;
}

@media(max-width: 640px) {
    .king-stats-footer {
        flex-direction: column;
        gap: 24px;
    }
}