/* Keep Kadence's original palette, typography, header, slider and spacing. */
.reflets-brand-logo { position:relative; display:block; width:220px; height:90px; overflow:hidden; flex-shrink:0; background:#fff; isolation:isolate; }
.reflets-brand-logo .reflets-brand-image { display:block; width:100%; height:100%; object-fit:contain; }
.reflets-brand-logo--legacy .reflets-brand-image { position:absolute; width:370px; max-width:none; height:auto; left:50%; top:50%; transform:translate(-50%,-42%); filter:invert(1) hue-rotate(180deg) brightness(1.12) contrast(1.35); mix-blend-mode:multiply; }
/* The current logo contains white pixels: a light rendition blends into the dark footer. */
.site-footer .reflets-brand-logo--footer { background:transparent; isolation:auto; }
.site-footer .reflets-brand-logo--footer:not(.reflets-brand-logo--legacy) .reflets-brand-image { filter:grayscale(1) invert(1); mix-blend-mode:screen; }
.site-footer .reflets-brand-logo--footer.reflets-brand-logo--legacy .reflets-brand-image { filter:grayscale(1); mix-blend-mode:screen; }
.reflets-projects { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; text-align:left; }
.reflets-project { margin:0; min-width:0; }
.reflets-project > img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:4px; }
.reflets-project figcaption { padding-top:18px; }
.reflets-project h3 { font-size:21px; margin:6px 0; }
.reflets-project p { margin:0; font-size:15px; }
.reflets-project-place { color:var(--global-palette1); font-size:12px; letter-spacing:.13em; text-transform:uppercase; }
.reflets-projects-more { text-align:center; margin:32px 0 0; }
.reflets-projects-more .button { display:inline-block; }
.reflets-photo { margin:0; }
.reflets-photo img { width:100%; height:440px; object-fit:cover; border-radius:4px; }
@media(max-width:1024px) { .reflets-projects { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .reflets-projects { grid-template-columns:1fr; gap:30px; } .reflets-photo img { height:310px; } .reflets-brand-logo { width:180px; height:74px; } .reflets-brand-logo--legacy .reflets-brand-image { width:304px; } }
/* Kadence renders its own brand element rather than WordPress's custom-logo filter. */
#masthead .site-branding .brand.has-logo-image { position:relative; display:block; width:200px; height:80px; overflow:hidden; padding:0; }
#masthead .site-branding .brand.has-logo-image img.custom-logo { position:static; display:block; width:100%; max-width:100%; height:100%; object-fit:contain; transform:none; filter:none; mix-blend-mode:normal; }
/* Only the original JPEG needs cropping and colour inversion. Respect replacement logos. */
#masthead .site-branding .brand.has-logo-image img.custom-logo[src*="reflets-dici-logo"] { position:absolute; width:350px; max-width:none; height:auto; left:50%; top:50%; transform:translate(-50%,-42%); filter:invert(1) hue-rotate(180deg) brightness(1.12) contrast(1.35); mix-blend-mode:multiply; }
.site-footer .widget_block p a { color:inherit; }
.site-footer .widget_block p a:hover { color:var(--global-palette1); }
.site-footer button.reflets-agency-credit { display:inline; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:var(--global-palette1); font:inherit; line-height:inherit; text-transform:none; letter-spacing:inherit; text-decoration:underline; cursor:pointer; }
.site-footer button.reflets-agency-credit:hover { color:var(--global-palette2); background:none; box-shadow:none; }
.site-footer button.reflets-agency-credit:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media(max-width:767px) { #masthead .site-branding .brand.has-logo-image { width:180px; height:74px; } #masthead .site-branding .brand.has-logo-image img.custom-logo[src*="reflets-dici-logo"] { width:314px; } }
/* Align the existing four commitment cards without cropping their illustrations. */
.reflets-commitments .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col { display:grid; grid-template-rows:220px minmax(50px,auto) auto; align-content:start; gap:16px; padding:0 12px !important; text-align:center; }
.reflets-commitments .kt-inside-inner-col > :is(figure,.wp-block-image) { width:100%; height:220px; margin:0 !important; }
.reflets-commitments .kt-inside-inner-col img { display:block; width:100% !important; height:220px !important; max-height:220px; object-fit:contain; }
.reflets-commitments .kt-inside-inner-col > :is(h3,h4) { margin:0 !important; font-size:20px !important; line-height:1.25 !important; align-self:center; text-align:center; }
.reflets-commitments .kt-inside-inner-col > :is(p,div) { margin:0 !important; }
/* Compact the three illustrations in the intervention-area sidebar. */
.reflets-area-photos > .kt-inside-inner-col > :is(figure,.wp-block-image) { width:min(100%,360px); margin:0 auto 28px; }
.reflets-area-photos > .kt-inside-inner-col img { display:block; width:100%; height:auto; max-height:320px; object-fit:contain; border-radius:4px; }

.reflets-commitments figure, .reflets-area-photos .wp-block-image figure { margin:0 !important; }

.reflets-commitments figure { width:100%; float:none; }
.reflets-google-reviews { max-width:1240px; margin:0 auto; padding:72px 24px; }
.reflets-google-reviews > h2 { margin:0 0 18px; }
.reflets-google-reviews > p { margin:0 0 32px; }
.reflets-google-reviews > p:last-child { margin:28px 0 0; }
@media(max-width:767px) { .reflets-google-reviews { padding:48px 20px; } }

/* The hero message is an editable Kadence caption on the opening photograph. */
.home .kb-gallery-id-73_80229c-7b .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
    padding:80px 8% 48px;
    font-family:var(--global-heading-font-family);
    font-size:clamp(20px,2.5vw,38px);
    font-weight:600;
    line-height:1.3;
    text-transform:none;
    text-wrap:balance;
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
    background:linear-gradient(0deg,rgba(8,30,40,.82),rgba(8,30,40,.3) 65%,transparent);
}
@media(max-width:767px) {
    .home .kb-gallery-id-73_80229c-7b .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption { padding:32px 36px 30px; font-size:clamp(16px,4.2vw,25px); }
}
