/* specialisaties homepage */
.specialisatie-afbeelding{
    height:30vw;
}
.specialisatie-afbeelding img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.specialisatie-item:last-child .f--r{
    border-bottom:none;
}

/* Diensten Archief & Grid */
.specialisatie-afbeelding.archive{
    height:100vh;
}

/* Dienst Cards */
.dienst-card{
    width:33.3333%;
}
.dienst-thumbnail{
    height:400px;
}
.dienst-thumbnail img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.read--more:after{
    content:"";
    width:5px;
    height:5px;
    background:var(--color-primary);
    display:inline-block;
}


/* Sidebar */
.dienst-sidebar {
    padding-left: 2rem;
}

.cta-box {
    background: #007bff;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.cta-box h4 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box .btn {
    background: white;
    color: #007bff;
    border: none;
}

.cta-box .btn:hover {
    background: #f8f9fa;
}

.related-diensten {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.related-diensten h4 {
    margin-bottom: 1rem;
}

.related-diensten ul {
    list-style: none;
    padding: 0;
}

.related-diensten li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.related-diensten li:last-child {
    border-bottom: none;
}

/* Navigatie */
.dienst-navigation {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-top: 3rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}

.nav-next {
    text-align: right;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-weight: bold;
    color: #007bff;
}

.back-to-archive {
    text-align: center;
}

.back-to-archive a {
    color: #007bff;
    text-decoration: none;
}

.back-to-archive a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 811px) {
    .diensten-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
	
	 .specialisatie-afbeelding.archive{
        height:300px;
    }
    .specialisatie-item{
        margin-bottom:0px;
    }
	
	.dienst-card {
		width: 100%;
	}
    
    .filter-buttons {
        justify-content: center;
    }
    
    .dienst-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .single-dienst .entry-title {
        font-size: 2rem;
    }

    .dienst-thumbnail {
        height: 250px;
    }     
}