/*
Theme Name: 	Newspaper Child
Template:       Newspaper
Author: 		pipd
 */

@import url("../Newspaper/style.css");

/* 2025-11-20-MKL: Für die Suche via Elasticpress auf extra Suchseite */

#ep-api-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#ep-api-results li {
    margin: 15px 0 0 0;
}

#ep-api-results a {
    text-decoration: none;
    color: #000;
    font-size: 21px;
    line-height: 25px;
}

#ep-api-results a:hover {
    color: var(--td_theme_color, #4db2ec);
}

#ep-api-results p.no-results {
    background: #f2f2f2;
    padding: 5px 16px;
    border-radius: 10px;
    margin: 15px 0 0 0;
}

#ep-api-results h3 {
    font-family: Rubik;
    margin-bottom: 0;
}

#ep-api-results p {
    font-size: 13px;
}

#ep-api-results span {
    color: #aaaaaa;
    font-size: 11px;
}

@media (min-width: 768px) {
    .search-row {
        display: flex;
      
        gap: 15px;
    }
    .search-row img {
        width: 324px;
    }
}

.search-row .wrapper {
    flex: 1;
}

.clamp-3 {
    /* Grundlegendes */
    display: -webkit-box; /* nötig für WebKit/Chromium */
    -webkit-box-orient: vertical; /* Box-Ausrichtung vertikal */
    -webkit-line-clamp: 3; /* Anzahl der Zeilen */
    overflow: hidden; /* Text abschneiden */
    /* optional: sorgt in manchen Browsern für das sichtbare "…" */
    text-overflow: ellipsis;
    /* optional für bessere Lesbarkeit */
    line-height: 1.4;
}

.search-form-row {
    display: flex;
}

.search-form-row .wpb_button {
    margin: 0;
}

@media (max-width: 767px) {
    .search-row {
        flex-flow: column;
    }

    #td-header-search-button-desktop {
        display: none;
    }

    .search-row .wrapper {
        padding: 0;
    }

    .search-row h3 {
        margin-top: 5px !important;
    }
}

@media (min-width: 768px) {
    #td-header-search-button-mobile {
        display: none;
    }

    #td-header-search-button-desktop {
        display: block;
    }
}