/* Styling voor quote author met client logo */
.quote-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.client-logo img {
    max-height: 30px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.quote-author strong {
    font-weight: 600;
    color: #333;
}
/* Verwijder header image voor zoekresultaten pagina */
body.search header.page,
body.search header.page .header-background,
.search header.page,
.search header.page .header-background {
    background-image: none !important;
    background: #fff !important;
    height: auto !important;
    min-height: auto !important;
}

.search .page-header,
.search .entry-header,
.search-results .page-header,
.search-results .entry-header,
.no-results .page-header,
.no-results .entry-header {
    background-image: none !important;
    background: none !important;
}

/* Styling voor search page header */
.search-results .page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e4e4e4;
}

.search-results .page-title {
    font-size: 2em;
    font-weight: 600;
    color: #061649;
    margin: 0;
}

.search-results .page-title span {
    color: #5547db;
    font-weight: 700;
}

/* Styling voor zoekresultaten container */
.search-results article,
.search article.search-result-item {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e4e4e4;
    clear: both;
    overflow: hidden;
}

.search-results article:last-child,
.search article.search-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Zorg dat Bootstrap columns de layout niet verstoren */
.search-results .col-md-12 article,
.search .col-md-12 article {
    width: 100%;
    max-width: 100%;
}

/* Search result content layout */
.search-result-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
}

.search-result-thumbnail {
    flex-shrink: 0 !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    float: none !important;
}

.search-result-thumbnail img {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block !important;
    float: none !important;
}

.search-result-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
}

/* Styling voor zoekresultaten titel links */
.search-results .entry-title,
.search .entry-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.search-results .entry-title a,
.search .entry-title a {
    color: #061649;
    text-decoration: none; 
    display: block;
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
} 

.search-results .entry-title a:hover,
.search .entry-title a:hover {
    color: #5547db;
    text-decoration: underline;
}

/* Search result summary/excerpt */
.search-result-summary {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.search-result-summary p {
    margin-bottom: 10px;
}

/* Read more link */
.search-results .read-more-link,
.search .read-more-link,
.read-more-link {
    display: inline-block;
    color: #5547db;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.2s ease;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.search-results .read-more-link:hover,
.search .read-more-link:hover,
.read-more-link:hover {
    color: #061649;
    text-decoration: underline;
    background: none !important;
    background-color: transparent !important;
}

/* Zorg dat entry-footer geen achtergrond toevoegt */
.search-results .entry-footer,
.search .entry-footer {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.search-results .entry-footer a,
.search .entry-footer a {
    background: none !important;
    background-color: transparent !important;
}

/* Responsive: stack thumbnail and text on mobile */
@media (max-width: 768px) {
    .search-result-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-result-thumbnail {
        align-self: flex-start;
    }
    
    .search-results .entry-title a,
    .search .entry-title a {
        font-size: 1.2em;
    }
}

/* Zorg dat de naamvelden naast elkaar kunnen maar ook netjes wrappen */
.ff-t-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ff-t-cell {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 50%;     /* beide cellen max 50% */
    box-sizing: border-box;
    padding-right: 0;   /* voorkom extra marge als je thema deze toevoegt */
}

/* Zorg dat inputvelden zich niet breder maken dan hun container */
.ff-el-form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Op hele smalle schermen onder elkaar tonen */
@media (max-width: 600px) {
    .ff-t-cell {
        min-width: 100%;
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* Extra ruimte tussen titel en excerpt in shortcodes-overzichten */
.shortcode-content p.content {
    margin-top: 1.5em; /* Voeg extra ruimte toe boven de excerpt */
}


/* Opmaak voor blog pagination oftewel de pijl onder de blogs */
.blog-pagination {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 2.5em;
    display: block;
    width: 100%;
}

.blog-pagination .btn {
    display: inline-block;
    margin: 0 18px;
    padding: 18px 28px 10px 28px;
    font-size: 2em;
    vertical-align: middle;
}

.blog-pagination .btn.btn-prev {
    margin-right: 32px;
    padding-top: 28px;
    background: url(/wp-content/themes/NetCare/images/main/arrow1.png) !important;
    background-repeat: no-repeat !important;
    background-size: auto 100% !important;
    transform: none !important;
}

.blog-pagination .btn.btn-next {
    margin-left: 32px;
    padding-top: 28px;
    transform: none !important;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* voor als er veel pagina’s zijn */
    width: 100%;
}
.blog-pagination .btn {
    display: inline-block;
}

/* Verberg subscribe2 widget op mobiel */
@media (max-width: 768px) {
    /* Verberg de hele Footer_last widget area op mobiel */
    .col-md-3.col-md-offset-6 {
        display: none !important;
    }
    
    /* Of specifiek de subscribe2 widget verbergen */
    .widget-content .subscribe {
        display: none !important;
    }
}

