/* Nieuws Section Styling */
.nieuws-section {
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}

.nieuws-header {
    margin-bottom: 24px;
}

.nieuws-heading {
    font-family: var(--font-poppins);
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #101828;
    margin: 0;
    letter-spacing: -0.5px;
}

.nieuws-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nieuws-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.nieuws-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nieuws-image {
    position: relative;
    width: 100%;
    /*aspect-ratio: 3/2;*/
}

.nieuws-image img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 331.875px;
}

.nieuws-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #00C8B0;
    color: #000000;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    font-family: 'Inter', sans-serif;
}

/* Category specific colors */
.nieuws-label.red {
    background: #E30613;
}

.nieuws-label.pink {
    background: #E91E63;
}

.nieuws-label.orange {
    background: #FC792C;
}

.nieuws-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nieuws-title {
    font-family: var(--font-poppins);
    font-size: 36px;
    font-weight: 700;
    line-height: 28px;
    color: #101828;
    margin: 0 0 12px 0;
}

.nieuws-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.nieuws-date,
.nieuws-views {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #4A5565;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.nieuws-text {
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.nieuws-button {
    padding: 0 24px 24px 24px;
}

.meer-info-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #fc792c;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 900;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.meer-info-btn:hover {
    background-color: #e56b26;
}


/* Nieuws Intro Container */
.nieuws-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    padding-top: 32px;
}

/* Heading */
.nieuws-title-card {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #000;
    margin: 0;
    padding-bottom: 10px;
}

/* Paragraph */
.nieuws-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #4A5565;
    margin: 0;
}

.nieuws-card p {}

.search-container {
    position: relative;
    width: 448px;
    height: 36px;
    margin: 25px 0;
}

.search-input {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 4px 12px 4px 40px;
    border: none;
    border-radius: 8px;
    background: #F3F3F5;
    font-size: 14px;
    display: flex;
    align-items: center;
    outline: none;
}

/* Search icon container */
.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}


@media (max-width: 768px) {
    .nieuws-grid {
        grid-template-columns: 1fr;
    }
}