#content {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0.1px;
}

#content h2 {
    font-size: 80px;
    line-height: 0.88em;
    background: linear-gradient(144.74deg, #043E68 0%, #81CCA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 720px;
    font-weight: normal;
    margin: 0;
    letter-spacing: 0.2px;
    margin-bottom: 74px;
}

#content picture {
    display: block;
    margin: 0 0 34px 0;
    padding: 0;
    position: relative;
}

#content picture img {
    width: 100%;
    height: auto;
    /* max-height: 525px; */
    object-fit: cover;
    object-position: 50% 50%;
}

#page header h3,
#content header h3 {
    display: inline-block;
    padding: 10px;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0 0 10px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

#page header p,
#content header p {
    font-size: 35px;
    line-height: 44px;
    font-weight: 500;
}

#content .col-header ~ .col {
    margin-top: 44px;
}

#content h3 {
    font-size: 35px;
    line-height: 44px;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.section-intro {
    margin-bottom: 100px;
}
.section-content {
    margin-bottom: 137px;
}

.section-news {
    margin-bottom: 137px;
}

#content .section-news h3 {
    margin-bottom: 40px;
}

.news-blocks {
    margin-bottom: 7px;
}

.news-block {
    background-color: var(--white-color);
    border-radius: 5px;
    display: flex;
    position: relative;
    margin-bottom: 30px;
    transition: margin 400ms ease-in-out;
    cursor: pointer;
}

.news-block a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    font-size: 25px;
    color: var(--primary-color);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.news-block a i {
    opacity: 0;
    transition: all 400ms ease-in-out;
    color: var(--primary-color);
    transform: translateX(-50px);
}

body.no-touch .news-block:hover a i {
    opacity: 1;
    transition-duration: 150ms;
    transform: translateX(0px);
}

body.no-touch .news-block:hover {
    margin: -10px -10px 14px -10px;
    transition-duration: 150ms;
}
.news-block .news-block-content-inner {
    transition: all 400ms ease-in-out;
    padding-right: 80px;
}
body.no-touch .news-block:hover .news-block-content-inner {
    transition-duration: 150ms;
    padding-right: 70px;
}

.news-block-image {
    width: 35%;
    background-color: #ccc;
    border-radius: 5px;
    position: relative;
    margin: 8px;
    transition: all 400ms ease-in-out;
    overflow: hidden;
}

#page .news-block-image img,
#content .news-block-image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}

body.no-touch .news-block:hover .news-block-image{
    width: 40%;
    transition-duration: 150ms;
}

.news-block-image:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.news-block-date {
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 2;
    background-color: var(--primary-color);
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1.25px;
    color: var(--white-color);
    padding: 7px 10px;
}

.news-block-content {
    display: flex;
    align-items: center;
    width: 65%;
}

.news-block-content-inner {
    padding: 30px;
    line-height: 25px;
    font-size: 20px;
    font-weight: 500;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.news-block-title {
    display: block;
}

.news-block-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--grey-color);
}

.news-block-location i {
    font-size: 12px;
    color: var(--primary-color);
}

.post-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-color);
}

.post-location i {
    color: var(--primary-color);
}

.block-cta {
    color: var(--white-color);
    padding: 110px 80px;
    margin-bottom: 137px;

    background:
        url('../images/swirls.svg') no-repeat 0 calc(100% + 100px)
    ;
    background-size:
        calc(100% + 100px) calc(100% + 100px)
    ;
    background-color: var(--text-color);
}

.block-cta a {
    color: var(--text-contrast-color);
}

#content .block-cta h3,
#page .block-cta h3 {
    font-size: 45px;
    line-height: 47px;
    text-align: left;
    max-width: 600px;
    margin-bottom: 20px;
}

#content .block-cta p,
#page .block-cta p {
    max-width: 420px;
}
#content .block-cta p:last-of-type,
#page .block-cta p:last-of-type {
    margin-bottom: 38px;
}

.section-partners header {
    margin-bottom: 20px;
}

.partner-logos-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}

@media only screen and (min-width: 400px) {
    .partner-logos-wrapper {
        padding-left: 10px;
    }
}
@media only screen and (min-width: 600px) {
    .partner-logos-wrapper {
        padding-left: 30px;
    }
}

.partner-logos {
    background-color: var(--white-color);
    display: flex;
    padding: 20px;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 240px;
    max-height: 640px;
    max-width: 640px;
    height: calc(100vh - 320px);
    overflow: hidden;
    scroll-snap-type: y proximity;
    margin: 0 auto;
}

.partner-logo {
    position: relative;
    width: calc(33.33% - 20px);
    aspect-ratio: 1;
    text-align: center;
    scroll-snap-align: start;
}

.partner-logo.empty{
    height: 0;
    aspect-ratio: unset;
}

.partner-logo > * {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo > img {
    object-fit: contain;
    object-position: center center;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    transition: transform 500ms ease-in-out;
}
body.no-touch .partner-logo:hover > img {
    transform: scale(1.1);
    transition-duration: 150ms;
}

.partner-logos-nav {
    display: flex;
    justify-content: center;
}

.partner-logos-nav a {
    font-size: 48px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page h3 {
    font-size: 35px;
    line-height: 44px;
    font-weight: 500;
    margin: 10px 0 30px 0;
}

#page h4 {
    font-size: 25px;
    line-height: 31px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

#page p,
#page ul,
#page ul li {
    line-height: 25px;
    margin: 0;
}
#page p:not(:last-of-type),
#page ul:not(:last-of-type) {
    margin-bottom: 1em;
}

#page img {
    width: 100%;
    height: auto;
    /* max-height: 390px; */
    object-fit: cover;
}


.post-date {
    display: inline-block;
    text-transform: uppercase;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1.25px;
}

.post-back {
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-bottom: 40px;
}

.post-back i {
    margin-right: 15px;
}

.section-news header{
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    margin-bottom: 100px;
}


#page h2 {
    font-size: 45px;
    letter-spacing: -0.5px;
    line-height: 47px;
    margin: -10px 0 20px 0;
}

.page-intro {
    margin-bottom: 100px;
}

#page .page-image img {
    width: 100%;
    height: auto;
    /* max-height: 475px; */
    object-fit: cover;
    object-position: center center;
}

#page .page-image-text h3 {
    font-size: 35px;
    line-height: 44px;
    margin: 0 0 18px 0;
}

#page .page-image-text ul li {
    margin-bottom: 10px;
}

.page-image-text {
    position: relative;
    background-color: var(--primary-color);
    padding: 60px 80px 50px 80px;
    color: var(--white-color);
}

.page-image-text a {
    background: var(--primary-color);
}

#page .page-outro {
    margin-top: 98px;
}

#page .page-outro p:not(:last-of-type),
#page .page-outro ul:not(:last-of-type) {
    margin-bottom: 25px;
}

#page .page-outro h3 {
    font-size: 25px;
    line-height: 31px;
    margin: 0 0 20px 0;
}

#page .page-outro {
    margin-bottom: 100px;
}

#page .page-video iframe {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

#page .page-video {
    position: relative;
    margin-bottom: -35px;
}

#page .page-video:after {
    content: '';
    display: block;
    padding-bottom: 50%;
}

.section-news {
    margin-top: -15px;
}

.contact-data {
    background-color: var(--primary-color);
    padding: 40px;
    color: var(--white-color);
    margin-top: 40px;
}

.contact-data address {
    font-style: normal;
    margin-top: 18px;
}

.contact-data .address-row a {
    text-decoration: none;
    color: inherit;
    background: linear-gradient(144.74deg, #fff 0%, #fff 33%, #043E68 66%);
    background-size: 300% 100%;
    background-position: 0% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 700ms ease-in-out;
}
body.no-touch .contact-data .address-row a:hover {
    background-size: 400% 100%;
    background-position: 100% 100%;
    transition-duration: 250ms;
}

.contact-data .address-row {
    display: flex;
    margin-bottom: 15px;
}
.contact-data .address-row i {
    margin-right: 20px;
    transform: translateY(3px);
}

#page .contact-data h3 {
    margin: 0;
    font-size: 25px;
    line-height: 31px;
}

#page .contact-form {
    margin-top: -100px;
    border-radius: 5px;
    box-shadow: 0 2px 40px 0 rgba(0,0,0,0.1);
    padding: 40px;
    background-color: var(--white-color);
}

#page .contact-form h3 {
    font-size: 25px;
    line-height: 31px;
    margin: 0 0 20px 0;
}
#page .contact-form form {
    margin-top: 20px;
}
#page .contact-form label {
    display: block;
    font-size: 12px;
    line-height: 17px;
    margin-bottom: 10px;
}

#page .contact-form textarea,
#page .contact-form input[type="text"],
#page .contact-form input[type="email"] {
    width: 100%;
    background-color: transparent;
    margin: 0;
    display: block;
    padding: 10px;
    line-height: 20px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    outline: none;
    background-color: var(--white-color);
    appearance: none;
    -webkit-appearance: none;
}
#page .contact-form textarea {
    height: 265px;
    resize: none;
}

#page .contact-form br {
    display: none;
}

#page .form-row {
    margin-bottom: 20px;
}

#page .contact-form input[type=checkbox] {
    display: none;
}
#page .contact-form input[type=checkbox] + span {
    position: relative;
}
#page .contact-form input[type=checkbox] + span:before {
    display: block;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

#page .contact-form input[type=checkbox] + span:after {
    position: absolute;
    left: 0;
    top: 3px;

    content: "\e902";
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    height: 20px;
    transition: all 200ms ease-in-out;
}

#page .contact-form input[type=checkbox]:not(:checked) + span:after {
    transform: scale(0);
    opacity: 0;
}

.wpcf7-list-item {
    margin: 0;
    padding: 0;
}
.wpcf7-list-item-label {
    display: flex;
    align-items: center;
    margin-top: 2px;
    font-size: 16px;
    line-height: 25px;
}

.wpcf7-list-item-label a {
    font-weight: 500;
    margin-left: 5px;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    line-height: 14px;
    margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 8px 16px;
    border-radius: 5px;
}

.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.error-404-inner {
    background: linear-gradient(144.74deg, #043E68 0%, #043E68 0%, #81CCA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.error-404 h2 {
    text-align: center;
    font-size: 35px;
    line-height: 44px;
    margin: 0;
    font-weight: 500;
}

.error-404-title {
    font-size: 270px;
    font-weight: 700;
    white-space: nowrap;
}
.error-404-title span {
    margin: 5px;
}

.error-404-title span:nth-of-type(2){
    font-size: 200px;
}

.fab {
    display: inline!important;
}

/* --- Expansion: news category labels & filters --- */
.news-block-category {
    position: absolute;
    left: 0;
    top: 48px;
    z-index: 2;
    background-color: var(--text-color);
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1.25px;
    color: var(--white-color);
    padding: 7px 10px;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.news-filter {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 200ms ease-in-out;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
}

.news-filter.is-active,
body.no-touch .news-filter:hover {
    background-color: var(--text-color);
    background-image: none;
    color: var(--white-color);
    -webkit-text-fill-color: var(--white-color);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.post-category {
    display: inline-block;
    background-color: var(--text-color);
    background-image: none;
    color: var(--white-color);
    font-size: 10px;
    letter-spacing: 1.25px;
    padding: 7px 10px;
    text-decoration: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--white-color);
}

.post-partner {
    margin-bottom: 20px;
    font-weight: 500;
}

.post-partner-card.leden-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 280px;
    padding: 16px 18px;
    margin: 8px 0 28px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 200ms ease-in-out;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
    background-color: var(--white-color);
}

body.no-touch .post-partner-card.leden-item:hover {
    transform: translateY(-3px);
    background-image: none;
    -webkit-text-fill-color: unset;
}

.post-partner-card .leden-item-logo {
    height: 56px;
    margin-bottom: 10px;
}

.post-partner-card .leden-item-logo img,
#page .post-partner-card .leden-item-logo img {
    max-height: 56px;
}

.post-partner-card .leden-item-name {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    display: block;
}

/* --- Expansion: video hero --- */
.section-intro .intro-media {
    width: 100%;
    display: block;
}

.intro-media video {
    width: 100%;
    display: block;
    border-radius: 5px;
    background: #000;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    pointer-events: none;
}

.intro-media-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
    pointer-events: none;
}

.intro-media-hero iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    max-width: none;
}

/* --- Expansion: ledenbanner --- */
.section-ledenbanner {
    margin-bottom: 100px;
    padding: 60px 0;
}

.ledenbanner-intro {
    max-width: 820px;
    margin-bottom: 36px;
    font-size: 18px;
    line-height: 28px;
}

.ledenbanner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ledenbanner-track {
    display: flex;
    gap: 30px;
    overflow: hidden;
    padding: 8px 2px 8px;
    scroll-snap-type: x proximity;
}

.leden-card {
    flex: 0 0 calc((100% - 90px) / 4);
    max-width: calc((100% - 90px) / 4);
    scroll-snap-align: start;
    background: var(--white-color);
    border-radius: 5px;
    /* box-shadow: 0 2px 40px 0 rgba(0, 0, 0, 0.1); */
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-color);
}

@media only screen and (max-width: 900px) {
    .leden-card {
        flex-basis: calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media only screen and (max-width: 500px) {
    .leden-card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.leden-card-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leden-card-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.leden-card-fallback {
    font-weight: 500;
    text-align: center;
    font-size: 14px;
}

.ledenbanner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.ledenbanner-cta {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.ledenbanner-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    flex: 0 0 auto;
}

.ledenbanner-nav a {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: opacity 150ms ease-in-out;
}

.ledenbanner-nav a.is-disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

/* --- Expansion: leden archive --- */
.section-leden,
.section-projects,
.section-themalijn,
.section-project,
.section-partner {
    margin-bottom: 80px;
}

.projects-header {
    margin-bottom: 40px;
    max-width: 720px;
}

/* Figma intro 1:1798 — 599px block, centered container, left-aligned copy */
.leden-header {
    max-width: 599px;
    margin: 0 auto 60px;
    text-align: left;
}

.leden-header h2,
.projects-header h2,
.themalijn-intro h2 {
    margin-top: 0;
}

.leden-header h2 {
    font-size: 45px;
    line-height: 47px;
    font-weight: 700;
    margin: 0 0 25px;
    text-align: left;
}

/* Beat #page header p (35px) — Figma body is 16/25 regular */
#page .leden-header p,
.leden-header p {
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
    margin: 0 0 0;
    text-align: left;
}

#page .leden-header p + p,
.leden-header p + p {
    margin-top: 0;
}

/* Archive logo tiles (Figma) — 3×300 + 2×30 gap = 960 */
.leden-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.leden-grid .leden-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 170px;
    padding: 18px 20px 16px;
    background: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 2px 40px 0 rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: transform 200ms ease-in-out;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
    overflow: hidden;
}

body.no-touch .leden-grid .leden-item:hover {
    transform: translateY(-4px);
    background-image: none;
    -webkit-text-fill-color: unset;
}

.leden-grid .leden-item-logo {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    min-height: 0;
}

.leden-grid .leden-item-logo img,
#page .leden-grid .leden-item-logo img {
    width: auto;
    max-width: 180px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.leden-grid .leden-item-fallback {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.leden-grid .leden-item-name {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: var(--text-color);
    transition: color 300ms ease-in-out;
}

/* Story image wipes L→R over the logo; slanted leading edge + fade */
.leden-grid .leden-item-story {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    /* Leading edge parked left of the card; top ahead of bottom = ~button-angle slant */
    clip-path: polygon(0% 0%, -30% 0%, -55% 100%, 0% 100%);
    transition: clip-path 350ms ease-in-out, opacity 350ms ease-in-out;
}

.leden-grid .leden-item-story img,
#page .leden-grid .leden-item-story img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.leden-grid .leden-item-story::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 62, 104, 0.55) 100%);
    pointer-events: none;
}

body.no-touch .leden-grid .leden-item.has-story-preview:hover .leden-item-story {
    opacity: 1;
    /* Same slant offset while sweeping fully across */
    clip-path: polygon(0% 0%, 130% 0%, 105% 100%, 0% 100%);
}

body.no-touch .leden-grid .leden-item.has-story-preview:hover .leden-item-name {
    color: var(--white-color);
}

@media (prefers-reduced-motion: reduce) {
    .leden-grid .leden-item-story,
    .leden-grid .leden-item-name {
        transition: none;
    }

    body.no-touch .leden-grid .leden-item.has-story-preview:hover .leden-item-story {
        opacity: 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

.leden-verhaal-badge {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 4;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 10px;
    line-height: 13px;
    letter-spacing: 1.25px;
    text-transform: capitalize;
    padding: 8px 11px;
}

/* Shared leftover styles used by partner-single / story card */
.partner-stories {
    margin-top: 28px;
    border-top: 1px solid rgba(4, 62, 104, 0.15);
    padding-top: 24px;
}

.partner-story {
    margin-bottom: 36px;
}

.partner-story:last-child {
    margin-bottom: 0;
}

.partner-story h4 {
    margin: 0 0 16px;
    font-size: 25px;
    line-height: 31px;
    font-weight: 500;
    text-align: left;
}

.partner-story-image {
    margin: 0 0 20px;
    border-radius: 5px;
    overflow: hidden;
}

.partner-story-image img,
#page .partner-story-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.partner-story-content {
    font-size: 16px;
    line-height: 26px;
}

/* --- Expansion: projects --- */
.themalijn-card {
    display: block;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    text-decoration: none;
    color: var(--text-color);
    min-height: 200px;
    transition: transform 200ms ease-in-out;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
}

body.no-touch .themalijn-card:hover {
    transform: translateY(-4px);
    background-image: none;
    -webkit-text-fill-color: unset;
}

.themalijn-card h3 {
    margin-top: 0;
    text-align: left;
}

.themalijn-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.themalijn-layout {
    align-items: flex-start;
}

.themalijn-intro-text {
    font-size: 16px;
    line-height: 26px;
}

.themalijn-projects h3 {
    text-align: left;
    margin-bottom: 24px;
}

.project-featured {
    margin: 24px 0;
}

.project-featured img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.project-flexible .flex-block {
    margin-bottom: 28px;
}

.flex-block-image a.glightbox {
    display: block;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
}

.flex-block-image figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: var(--grey-color);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.project-gallery-item {
    display: block;
    position: relative;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-image: none;
}

.project-gallery-item.is-overflow {
    display: none;
}

.project-gallery-thumb {
    display: block;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #ddd;
}

.project-gallery-thumb img,
#page .project-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-gallery-more {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 5px;
    background: rgba(4, 62, 104, 0.9);
    color: var(--white-color);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

@media only screen and (max-width: 700px) {
    .project-gallery {
        grid-template-columns: 1fr;
    }
}

.flex-block-video video {
    width: 100%;
    border-radius: 5px;
}

.section-partner .post-back {
    margin-bottom: 24px;
}

.partner-single.leden-item {
    display: block;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.08);
    padding: 32px;
}

.partner-single .leden-item-logo {
    height: 90px;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.partner-single .leden-item-logo img,
#page .partner-single .leden-item-logo img {
    width: auto;
    max-width: 100%;
    max-height: 90px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.partner-single .leden-item-name {
    font-size: 35px;
    line-height: 44px;
    font-weight: 500;
    margin: 0 0 12px;
    text-align: left;
}

.partner-single-actions {
    margin: 16px 0 8px;
}

.partner-single-hero {
    margin: 24px 0 8px;
    border-radius: 5px;
    overflow: hidden;
}

.partner-single-hero img,
#page .partner-single-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.partner-single-content {
    margin-top: 16px;
}

