/* 
 * Domyn Stack - Klant Specifieke Block Styling 
 * De AI zal hier de custom CSS genereren op basis van de .cursorrules
 * en het aangeleverde design.
 */

/* ============================================================
   Block: Hero Sub — DADL Design Override
   Scope: .dmn-hero-sub
   ============================================================ */

/* Hoogte & basis */
.dmn-hero-sub {
    min-height: clamp(320px, 45vw, 480px);
    padding: clamp(48px, 8vw, 96px) 0;
    display: flex;
    align-items: center;
}

/* Achtergrond-afbeelding: rechts scherp, links vaagt uit */
.dmn-hero-sub-bg {
    background-position: center right;
}

/* Overlay: teal gradient van links naar rechts, zodat tekst links leesbaar is */
.dmn-hero-sub-overlay {
    background: linear-gradient(
        to right,
        rgba(15, 75, 80, 0.22) 0%,
        rgba(15, 75, 80, 0.15) 40%,
        rgba(0, 0, 0, 0.10) 75%,
        rgba(0, 0, 0, 0.00) 100%
    )!important
}

/* Sectie zelf altijd vol breed – full bleed uit Gutenberg container */
.dmn-hero-sub {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Inner: gecentreerd op site-breedte, tekst links */
.dmn-hero-sub-inner {
    text-align: left;
    max-width: var(--dmn-site-width, 1280px);
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px!important;
}

/* Titel */
.dmn-hero-sub-title {
    font-family: var(--dmn-h1-font);
    font-size: var(--dmn-h1-size);
    font-weight: var(--dmn-h1-weight);
    color: #ffffff;
    max-width: 600px;
    line-height: 1.15;
    margin: 0 0 16px;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Subtitel / tekst */
.dmn-hero-sub-subtitle {
    font-family: var(--dmn-font-body);
    font-size: var(--dmn-font-size-base);
    font-weight: var(--dmn-font-weight-normal);
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    line-height: var(--dmn-line-height);
    margin: 0 0 28px;
    text-align: left;
    opacity: 1;
}

/* Paragrafen in de wysiwyg */
.dmn-hero-sub-subtitle p {
    margin: 0 0 8px;
    color: inherit;
}

/* ── Knoppen in de wysiwyg subtitle ── */

/* Basis voor alle <a> in de subtitle */
.dmn-hero-sub-subtitle a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: var(--dmn-button-padding, 11px 22px);
    border-radius: var(--dmn-button-radius, 6px);
    font-family: var(--dmn-font-body);
    font-size: var(--dmn-font-size-base);
    font-weight: var(--dmn-font-weight-bold);
    text-decoration: none;
    transition: all 0.22s ease;
    margin-right: 10px;
    margin-top: 16px;
}

/* Eerste link = gevuld (primair – teal) */
.dmn-hero-sub-subtitle a:first-of-type {
    background-color: var(--dmn-primary, #0f4b50);
    color: #ffffff;
    border: 2px solid var(--dmn-primary, #0f4b50);
    padding: 8px 24px;
}

.dmn-hero-sub-subtitle a:first-of-type:hover {
    background-color: var(--dmn-secondary, #1a6870);
    border-color: var(--dmn-secondary, #1a6870);
    transform: translateY(-1px);
}

/* Tweede link = ghost (transparant, witte rand) */
.dmn-hero-sub-subtitle a:not(:first-of-type) {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 8px 24px;
}

.dmn-hero-sub-subtitle a:not(:first-of-type):hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* ── Responsive ── */

/* max-width zit nu in de basisregel — geen desktop override nodig */

@media (max-width: 767px) {
    .dmn-hero-sub-overlay {
        background: rgba(15, 75, 80, 0.72);
    }

    .dmn-hero-sub-subtitle a {
        display: flex;
        width: fit-content;
        margin-right: 0;
    }
}

/* ============================================================
   Block: CTA — DADL Design Override
   Scope: .dmn-cta
   ============================================================ */

.dmn-cta {
    background: var(--dmn-primary, #004AAD);
    color: #fff;
    padding: clamp(16px, 3vw, 24px) 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.dmn-cta-inner {
    gap: clamp(16px, 3vw, 32px);
    padding:20px 0px!important;
}

.dmn-cta-content {
    align-items: center;
}

.dmn-cta-content::before {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.dmn-cta-title {
    font-family: var(--dmn-h3-font);
    font-size: var(--dmn-h3-size);
    font-weight: var(--dmn-h3-weight);
    color: #fff;
}

.dmn-cta-subtitle {
    font-family: var(--dmn-font-body);
    font-size: var(--dmn-text);
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

.dmn-cta .dmn-button-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--dmn-primary);
    border-radius: var(--dmn-button-radius, 24px);
    padding: var(--dmn-button-padding, 12px 24px);
    font-family: var(--dmn-font-body);
    font-size: var(--dmn-font-size-base, 16px);
    font-weight: var(--dmn-font-weight-bold, 700);
    white-space: nowrap;
}

.dmn-cta .dmn-button-white::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.dmn-cta .dmn-button-white:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #fff;
    transform: none;
}

@media (max-width: 767px) {
    .dmn-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .dmn-cta-content::before {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* ============================================================
   Block: Text-Media — DADL Design Override
   Scope: .dmn-text-media
   ============================================================ */

.dmn-text-media {
    padding: 75px 0px!important;
}

.dmn-text-media .text-media-container {
    background-color: transparent;
}

.dmn-text-media.layout-media-left .text-media-media .media-image,
.dmn-text-media.layout-media-left .text-media-media .media-image img.text-media-img,
.dmn-text-media.layout-media-left .text-media-media .media-video {
    border-radius: var(--dmn-image-radius, 12px) !important;
}

.dmn-text-media.layout-media-right .text-media-media .media-image,
.dmn-text-media.layout-media-right .text-media-media .media-image img.text-media-img,
.dmn-text-media.layout-media-right .text-media-media .media-video {
    border-radius: var(--dmn-image-radius, 12px) !important;
}

.dmn-text-media .dmn-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--dmn-primary, #1d3557);
    font-family: var(--dmn-font-body);
    font-weight: var(--dmn-font-weight-bold, 600);
    font-size: var(--dmn-font-size-base, 16px);
    text-decoration: none;
}

.dmn-text-media .dmn-button-outline::after {
    content: "\2192";
}

.dmn-text-media .dmn-button-outline:hover {
    background: transparent;
    color: var(--dmn-secondary, var(--dmn-primary));
    box-shadow: none;
    transform: none;
    gap: 10px;
}

.dmn-team {
    padding: var(--dmn-section-spacing) 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: #fff;
    padding-bottom: 100px !important;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.dmn-team::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/wp-content/uploads/2026/04/Patroon_geel-min.png') repeat;
    z-index: 0;
}

.dmn-team::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to left,
    rgba(15, 75, 80, 0.82) 0%,
    rgba(15, 75, 80, 0.55) 40%,
    rgba(0, 0, 0, 0.10) 75%,
    rgba(0, 0, 0, 0.00) 100%
)!important;
    z-index: 1;
}

.dmn-team-inner {
    position: relative;
    z-index: 2;
}

.dmn-team-title{
    color:#fff!important;
}

.dmn-team-intro {
    color: #fff!important;
}

.dmn-team-photo img {
    border: 0px solid var(--dmn-primary, #004AAD)!important;
    margin:20px;
    width:300px!important;
    height:300px!important;
}

/* Bio truncate + lees meer */
.dmn-team-bio {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dmn-team-bio.is-expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.dmn-team-toggle {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    color: var(--dmn-primary, #004AAD);
    font-family: var(--dmn-font-body);
    font-size: 14px;
    font-weight: var(--dmn-font-weight-bold, 600);
    cursor: pointer;
}

.dmn-team-toggle:hover {
    text-decoration: underline;
}