/* Stage 51.8: documented PDF alignment. No logo gutter if the banner has no logo. */
.eiva-site [data-eiva-banner-layout="side-511"]:not(:has(> .eiva51-banner-brand)) >
:is(.eiva21-hero-content,.eiva19-hero-content,.eiva23-hero-content,.eiva18-hero-inner,.container-x),
.eiva-site .eiva-page-hero[data-eiva-banner-layout="side-511"] > .container-x {
  padding-inline: clamp(16px, 3vw, 34px) !important;
}
.eiva-site .eiva21-hero.eiva21-hero { min-height: clamp(220px, 24vw, 290px); }
.eiva-site .eiva23-hero:has(+ .eiva54-department),
.eiva-site .eiva23-hero:has(+ .eiva54-urgent-wrap) { min-height: 230px; max-height: 300px; }
.eiva-site .eiva19-hero--departments h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.eiva21-panel-banner:not(:has(.eiva518-property-brand)) .eiva21-panel-banner-label {
  max-width: 100% !important; margin-inline: 0 !important;
}
/* Brand emblem stays physically to the right ONLY on the property request banner. */
.eiva-dashboard .eiva21-panel-banner .eiva518-property-brand {
  right: 14px !important; left: auto !important; width: 64px; height: 64px;
}
.eiva-dashboard .eiva21-panel-banner:has(.eiva518-property-brand) .eiva21-panel-banner-label {
  max-width: calc(100% - 110px) !important; margin-right: 90px;
}
.eiva518-eval-scope{line-height:1.95;margin-block:18px;}
.eiva518-eval-scope h2{color:#173f35;font-size:1.2rem;margin-top:1rem}
.eiva518-eval-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.eiva518-eval-grid article{border:1px solid #d6e4da;padding:15px;border-radius:14px;background:#f7faf8;min-width:0}
.eiva518-eval-grid h3{font-size:1rem;margin:0 0 7px;color:#173f35}
.eiva518-eval-grid p{margin:0;color:#40594d;font-size:.92rem}
.eiva518-output-list{columns:2;column-gap:30px;line-height:2.1;padding-right:23px}
.eiva518-output-list li{break-inside:avoid}
.eiva518-caution{border-right:3px solid #bf9b4c;background:#fffaf1;border-radius:8px;padding:10px 15px}
.eiva518-services-lead{color:#53675c;margin-bottom:13px}
.eiva54-department .eiva54-service-cards article{display:flex;flex-direction:column;min-width:0}
.eiva54-department .eiva54-service-cards article a{margin-top:auto;align-self:flex-start;min-height:40px;display:inline-flex;align-items:center}
.eiva54-department .eiva54-service-cards article a:focus-visible{outline:3px solid #b59a62;outline-offset:3px}
.eiva518-privacy{display:flex;align-items:flex-start;gap:8px;border:1px solid #cfdfd4;border-right:4px solid #173f35;border-radius:12px;background:#f3f8f4;color:#204638;line-height:1.85;padding:11px 14px;margin:15px 0;width:100%;max-width:100%;box-sizing:border-box;flex-wrap:wrap}
.eiva518-privacy strong{white-space:nowrap}
@media(max-width:700px){.eiva518-eval-grid{grid-template-columns:1fr}.eiva518-output-list{columns:1}.eiva-dashboard .eiva21-panel-banner .eiva518-property-brand{right:10px!important;left:auto!important;width:48px;height:48px}.eiva-dashboard .eiva21-panel-banner:has(.eiva518-property-brand) .eiva21-panel-banner-label{margin-right:72px;max-width:calc(100% - 86px)!important}}

.eiva518-live-tariff{border-radius:9px;background:#ecf4ef;color:#153c30;font-weight:700;padding:10px 14px;margin:12px 0;line-height:2}

.eiva518-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.eiva518-carousel-controls{display:flex;align-items:center;gap:8px;direction:ltr}
.eiva518-carousel-controls button{background:#f2f7f3;border:1px solid #d1e3d5;border-radius:10px;min-width:40px;min-height:40px;color:#173f35;font-size:1.25rem;cursor:pointer}
.eiva518-carousel-controls button:focus-visible{outline:3px solid #b59a62;outline-offset:2px}
.eiva54-rotating{overscroll-behavior-x:contain}
