/*
Theme Name: W&R Plastics — Beyond Colour
Description: Tweede selecteerbare Figma-variant met Beyond Colour-logo's, kortere desktopbanners en gecentreerde bollen. Gebruikt de bestaande W&R-pagina's en Elementor-header en -footer.
Author: REAL Concepts
Template: wr-plastics
Version: 1.0.3
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: wr-plastics-beyond-colour
*/

/* Supplied transparent logos, at their original proportions. */
.wr-header .elementor :is(.wr-n-0fdab4c7,.wr-n-d8d87ca9,.wr-n-67b437b4),
.wr-footer .elementor :is(.wr-n-01cef25b,.wr-n-93f4ba52,.wr-n-959ec946) {
    image-rendering:auto !important;
}
.wr-header .elementor :is(.wr-n-0fdab4c7,.wr-n-d8d87ca9,.wr-n-67b437b4) {
    --wrf-image-active: var(--wrbc-header-logo) !important;
    background-image: var(--wrbc-header-logo) !important;
    background-size: contain !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
}
.wr-footer .elementor :is(.wr-n-01cef25b,.wr-n-93f4ba52,.wr-n-959ec946) {
    --wrf-image-active: var(--wrbc-footer-logo) !important;
    background-image: var(--wrbc-footer-logo) !important;
    background-size: contain !important;
    background-position: left center !important;
    background-repeat: no-repeat !important;
}

@media (min-width:1280px) {
    .wr-header .elementor .wr-n-cea106f4 {
        width:80px !important;
        min-width:80px !important;
        flex:0 0 80px !important;
        height:56px !important;
        min-height:56px !important;
    }
    .wr-header .elementor .wr-n-0fdab4c7 {
        width:80px !important;
        height:56px !important;
        min-height:56px !important;
    }
    /* Figma specifies 90–95% of the viewport, with all three dots visible.
       Include the fixed navigation in that height; retain existing photo crops. */
    #wr-content .elementor .wrf-page.wr-desktop > .wrf-hero {
        height:calc(95vh - var(--wrf-header,100px)) !important;
        height:calc(95svh - var(--wrf-header,100px)) !important;
        min-height:360px !important;
        position:relative !important;
        overflow:visible !important;
        z-index:1;
    }
    #wr-content .elementor .wrf-page.wr-desktop > .wrf-hero::after {
        content:'';
        position:absolute;
        display:block;
        width:104px;
        height:24px;
        inset:auto auto -12px 50%;
        transform:translateX(-50%);
        background:url('assets/hero-dots.svg') center / contain no-repeat;
        z-index:5;
        pointer-events:none;
    }
}
@media (max-width:1279px) {
    .wr-header .elementor :is(.wr-mobile,.wr-tablet) > .e-con {
        padding-top:13px !important;
        padding-bottom:13px !important;
    }
    .wr-header .elementor :is(.wr-n-d8d87ca9,.wr-n-67b437b4) {
        width:56px !important;
        height:39px !important;
        min-height:39px !important;
        flex:0 0 56px !important;
    }
}

/* The phone header uses the existing Figma monogram without the tagline.
   Keep its click area and vertical alignment inside the 65px navigation. */
@media (max-width:767px) {
    .wr-header .elementor .wr-mobile .wr-n-67b437b4 {
        --wrf-image-active:var(--wrbc-header-monogram) !important;
        background-image:var(--wrbc-header-monogram) !important;
    }
}
