/* ============================================================
   STUDIO WESTONIA — Video laten maken (advertentiepagina)
   Static and direct: no scroll animations, sharp corners, blue
   brand blocks top and bottom, white content in between. Texts and
   the photo come from the CMS page "video-laten-maken".
   ============================================================ */

/* --- Hero ---
   The 60 px #nav-placeholder above the hero is blue too, so the blue
   field runs all the way to the top of the page. */
.page-vlm #nav-placeholder {
    background: var(--blue);
}

/* Together with the blue 60 px placeholder above it, the hero fills
   exactly one screen height; its content sits vertically centred. svh
   keeps it steady while mobile browser bars slide in and out. */
.vlm-hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px);
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--blue);
    color: var(--white);
}

.vlm-hero__inner {
    width: 100%;
    max-width: 1040px;
}

.vlm-label {
    margin: 0 0 1.25rem;
    font-size: 0.75rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
}

/* Normal letter spacing and a little more line height: the tight
   display setting made the long uppercase title hard to read. */
.vlm-hero__title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.3rem, 5.6vw, 5.4rem);
    font-weight: var(--font-black);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.vlm-hero__lead {
    max-width: 640px;
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.vlm-usps {
    list-style: none;
    margin: 0 0 2.25rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
}

.vlm-usps li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: clamp(0.92rem, 1.05vw, 1.02rem);
    font-weight: var(--font-medium);
}

.vlm-usps svg {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    padding: 0.18em;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
}

.vlm-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- Section headings --- */
.vlm-h2 {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    font-weight: var(--font-black);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-transform: uppercase;
}

/* --- Video types, grouped --- */
.vlm-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* The whole block is clickable: the link's ::after stretches over the
   block, so it stays one real link (keyboard and screen readers) while
   any click inside the block follows it. */
.vlm-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    border: 1px solid rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.vlm-group .vlm-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.vlm-group:focus-within {
    border-color: var(--blue);
}

@media (hover: hover) {
    .vlm-group:hover {
        border-color: var(--blue);
        background: rgba(0, 0, 255, 0.02);
    }

    .vlm-group:hover .vlm-link svg {
        transform: translateX(3px);
    }
}

.vlm-group h3 {
    margin: 0;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: var(--font-bold);
}

.vlm-group p {
    margin: 0;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.6);
}

.vlm-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.vlm-tags li {
    padding: 0.4em 0.75em;
    font-size: 0.85rem;
    color: var(--black);
    background: rgba(0, 0, 255, 0.05);
    border: 1px solid rgba(0, 0, 255, 0.12);
}

.vlm-link {
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
}

.vlm-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

/* --- About: text next to a photo --- */
.vlm-about {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.vlm-about__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.vlm-about__text .vlm-h2 {
    margin-bottom: 1.5rem;
}

.vlm-about__text p:not(.vlm-label) {
    max-width: 560px;
    margin: 0 0 1.1rem;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.7);
}

.vlm-about__text .vlm-link {
    margin-top: 0.75rem;
}

/* Portrait photo (4:5); capped in height so it never towers over
   the text. */
.vlm-about__photo {
    margin: 0;
    aspect-ratio: 4 / 5;
    max-height: 640px;
    overflow: hidden;
    background: var(--grey-light);
}

.vlm-about__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Work examples --- */
.vlm-work {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.vlm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vlm-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.vlm-card__img {
    display: block;
    aspect-ratio: 16 / 9;
    margin-bottom: 0.9rem;
    overflow: hidden;
    background: var(--black);
}

.vlm-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition);
}

.vlm-card__type {
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.vlm-card__title {
    margin-bottom: 0.3rem;
    font-size: 1.15rem;
    font-weight: var(--font-bold);
    transition: color var(--transition);
}

.vlm-h2--tight {
    margin-bottom: 1rem;
}

.vlm-intro {
    max-width: 620px;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

.vlm-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
}

.vlm-card__more {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
}

.vlm-card__more svg {
    width: 14px;
    height: 14px;
}

@media (hover: hover) {
    .vlm-card:hover .vlm-card__img img {
        opacity: 0.85;
    }

    .vlm-card:hover .vlm-card__title {
        color: var(--blue);
    }
}

/* --- Closing call to action --- */
.vlm-final {
    background: var(--blue);
    color: var(--white);
}

.vlm-final .vlm-h2 {
    margin-bottom: 1rem;
    color: var(--white);
}

.vlm-final p {
    max-width: 560px;
    margin: 0 0 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.vlm-more {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    font-size: 0.92rem;
}

.vlm-more span {
    color: rgba(255, 255, 255, 0.65);
}

.vlm-more a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Responsive --- */
@media (max-width: 960px) {
    .vlm-groups,
    .vlm-about__inner {
        grid-template-columns: 1fr;
    }

    /* Stacked: a less tall crop so the photo doesn't fill the screen */
    .vlm-about__photo {
        aspect-ratio: 4 / 5;
        max-height: 520px;
    }

    .vlm-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vlm-cards {
        grid-template-columns: 1fr;
    }

    .vlm-usps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem 1rem;
    }

    .vlm-cta .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
