/* Vanhuus Tegel Styling */
.vanhuus-tegel {
    margin-bottom: 20px;
    overflow: hidden;
}

.vanhuus-tegel-afbeelding img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content styling */
.vanhuus-tegel-content {
    padding: 30px;
    font-family: 'Segoe UI', sans-serif;
}

.vanhuus-tegel-header {
    padding: 20px 30px;
}

.vanhuus-tegel-naam {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #4A4A4A;
    line-height: 1.2;
}

.vanhuus-tegel-beschrijving {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 20px;
}

.vanhuus-tegel-knop {
    display: inline-block;
    background: transparent;
    color: #4A4A4A;
    border: 2px solid #4A4A4A;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.vanhuus-tegel-knop::after {
    content: " »»»";
    font-weight: bold;
    margin-left: 5px;
}

.vanhuus-tegel-knop:hover {
    background: #4A4A4A;
    color: white;
    border-color: #4A4A4A;
    text-decoration: none;
}

/* Klassieke Layout */
.vanhuus-tegel-klassiek .vanhuus-tegel-afbeelding {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.vanhuus-tegel-klassiek .card-container {
    position: relative;
}

/* Horizontale Layout */
.vanhuus-tegel-horizontaal .vanhuus-tegel-inner {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.vanhuus-tegel-horizontaal .vanhuus-tegel-afbeelding {
    flex: 0 0 40%;
    min-height: 300px;
    overflow: hidden;
}

.vanhuus-tegel-horizontaal .vanhuus-tegel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

/* Error styling */
.vanhuus-tegel-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px 0;
}

/* Collectie grid styling */
.vanhuus-collectie-grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

.vanhuus-collectie-cols-1 {
    grid-template-columns: 1fr;
}

.vanhuus-collectie-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.vanhuus-collectie-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.vanhuus-collectie-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.vanhuus-collectie-leeg {
    text-align: center;
    padding: 40px;
    color: #666666;
    font-size: 1.1rem;
}

/* Responsive collectie grid */
@media (max-width: 1024px) {
    .vanhuus-collectie-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vanhuus-tegel-horizontaal .vanhuus-tegel-inner {
        flex-direction: column;
    }

    .vanhuus-tegel-horizontaal .vanhuus-tegel-afbeelding {
        flex: 1;
        width: 100%;
        min-height: 250px;
    }

    .vanhuus-tegel-content {
        padding: 20px;
    }

    .vanhuus-tegel-naam {
        font-size: 1.4rem;
    }

    .vanhuus-collectie-cols-3,
    .vanhuus-collectie-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vanhuus-collectie-cols-2,
    .vanhuus-collectie-cols-3,
    .vanhuus-collectie-cols-4 {
        grid-template-columns: 1fr;
    }
}
