* {
    --cob_green: #9bbd32;
}

.maatregel {
    margin-bottom: 60px;
}

.maatregel p:not(.small-text) {
    font-size: 16px !important;
    line-height: 1.5em;
    letter-spacing: -2%;
}

.maatregel li {
    font-size: 16px !important;
    line-height: 1.5em;
    letter-spacing: -2%;
}
.maatregel_header h2 {
    all: unset;
    font-family: 'Georgia', serif;
    text-rendering: optimizeLegibility;
    font-size: 24px;
    letter-spacing: -2%;
    line-height: 1.4em;
}

.maatregel_header {
    display: flex;
    flex-direction: row;
    background-color: var(--cob_green);
    padding: 24px;
    border-radius: 8px;
    gap: 24px;
}

.maatregel_header_inner {
    display: flex;
    flex-direction: column;
}

.maatregel_afbeelding {
    width: 200px;
    height: 200px;
    background-color: white;
    object-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    border-radius: 8px;
}

@media only screen and (max-width: 680px) {
    .maatregel_header {
        flex-direction: column;
    }

    .maatregel_afbeelding {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .maatregel_afbeelding img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
    }
}

.maatregel_belemmeringen {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.maatregel h3 {
    font-size: 18px;
    line-height: 1.5em;
    letter-spacing: -2%;
}

.maatregel_belemmering {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 24px;
    border-radius: 8px;
}

.maatregel_belemmering > div:first-of-type {
    padding-right: 47px;
}

.belemmering_titel,
.oplossing_titel_text {
    font-size: 16px;
    font-weight: 500;
}

.open_stakeholders {
    display: flex;
    align-items: start;
}

.open_stakeholders svg {
    transition: all 0.3s;
    transform: rotate(-180deg);
}

.open_stakeholders.active svg {
    transform: rotate(-90deg);
}

.oplossing_titel[data-state='open'] .oplossing_titel_text {
    font-weight: 600;
}

.maatregel_oplossing {
    border-width: 1px;
    border-top: rgba(0, 0, 0, 0.2);
    border-bottom: rgba(0, 0, 0, 0.2);
}

.oplossingen_inner {
    display: flex;
    flex-direction: column;
    /* gap: 16px; */
}

.maatregel_oplossing {
    padding-bottom: 16px;
    padding-top: 16px;
    border-bottom: 1px solid #e5e5e5; /* Light grey border */
}

.maatregel_oplossing:last-child {
    border-bottom: none; /* Remove border from last item */
}

.content > .groeiboekTitel:not(:first-of-type) {
    margin-top: 80px;
}

.content .maatregel_header .groeiboekTitel > .copy-short-link i:first-of-type {
    color: rgba(0, 0, 0, 0.8);
}

.oplossingen_inner .maatregel_oplossing:nth-child(1) {
    padding-top: 0;
}

.content > .maatregel:first-of-type {
    margin-top: 0 !important;
}
.small-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: -2%;
    font-family: sans-serif;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.6);
}

.green-text {
    color: var(--cob_green);
}

.maatregel_oplossingen {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
}

.oplossing_titel {
    display: flex;
    justify-content: space-between;
    align-items: top;
    gap: 24px;
}

.hidden {
    display: none;
}

.oplossingen_inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.open_stakeholders {
    transition: transform 0.3s;
}

.active-stakeholders {
    transform: rotate(-90deg);
}

.maatregel ul {
    all: unset !important;
    list-style: disc;
    padding-left: 0;
    margin-top: 16px;
}

.maatregel ul li {
    display: list-item;
    list-style-position: outside;
    margin-left: 20px;
    padding-left: 0;
}

.maatregel ul li::before {
    display: none;
}

.maatregel_stakeholders.hidden {
    display: none;
}

.maatregel_stakeholders {
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.maatregel_stakeholders ul {
    margin-top: 8px;
}

.samenwerkingsvormen,
.praktijkvoorbeelden {
    display: flex;
    flex-direction: column;
    margin-top: 36px;
}
.samenwerkingsvormen li,
.praktijkvoorbeelden li {
    display: block;
}

.feedback-banner {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 36px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    border-radius: 16px;
}

.feedback-banner button {
    background-color: rgb(155, 189, 50);
}

.feedback-banner button {
    background-color: rgb(155, 189, 50);
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.feedback-modal-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.feedback-modal {
    max-width: 600px;
    width: 80%;
    background-color: white;
    padding: 36px;
    color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    position: relative;
    max-height: 80%;
    overflow-y: scroll;
}
.feedback-modal-text {
    font-size: 16px;
    text-align: center;
    margin: 0 auto;
}

.feedback-modal-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.feedback-modal-close {
    font-size: 16px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 16px;
    right: 16px;
    gap: 8px;
}

/* Target the first maatregel */
.content > .maatregel:first-of-type,
.content > .maatregel:first-of-type .maatregel_header,
.content > .maatregel:first-of-type .maatregel_titel {
    margin-top: 0 !important;
}

/* If the above doesn't work, we can try this alternative approach */
.content > .maatregel:first-of-type {
    margin: 0 !important;
    padding-top: 0 !important;
}

.content > .maatregel:first-of-type * {
    margin-top: 0 !important;
}

.banner {
    background-color: #f2d900;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.banner p:first-child {
    font-size: 16px;
    line-height: 1.5em;
    letter-spacing: -2%;
    font-weight: 600;
}

.banner a {
    background-color: black;
    font-weight: 600;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    margin-top: 8px;
    align-self: flex-start;
}

#mobileBanner {
    display: none;
}

#mobileBanner .fa-arrow-up-right-from-square {
    display: none;
}

@media only screen and (max-width: 1024px) {
    #mobileBanner {
        display: flex;
        gap: 8px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #mobileBanner p {
        font-size: 24px;
    }

    #desktopBanner {
        display: none;
    }
}

@media only screen and (max-width: 680px) {
    #mobileBanner {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    #mobileBanner p {
        font-size: 18px;
    }
}
