/* Original photographs, native navigation and calm contact layouts. */
.site-header { background: linear-gradient(90deg,#102319d9,#102319a8),var(--header-photo) center 46% / cover; }
.has-cover-header .site-header { position: absolute; inset: 0 0 auto; z-index: 40; padding-bottom: 28px; background: linear-gradient(#08190edf,#08190e70 68%,transparent); }
.admin-bar.has-cover-header .site-header { top: 32px; }
.has-cover-header .header-inner { border-bottom: 1px solid #ffffff29; }
.has-cover-header .page-content .elstar-hero { padding-top: 200px; }
.has-cover-header .elstar-hero .hero-background { opacity: .62; }
.page-content .elstar-section.elstar-page-hero,.page-cover { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; padding: 190px 0 80px; display: flex; align-items: center; background: #10271a; color: #fff; }
.elstar-page-hero::after,.page-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0b2118a8,#0b211854); }
.elstar-page-hero .wp-block-image.hero-background,.page-cover .page-cover-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; margin: 0; }
.elstar-page-hero .hero-background img,.page-cover .page-cover-image { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.elstar-page-hero h1,.page-cover h1 { margin: 0; max-width: 100%; color: #fff; }
.elstar-page-hero p,.page-cover p { margin: 20px 0 0; max-width: 620px; color: #fff; }
.page-cover .eyebrow { margin: 0 0 16px; color: #ffce64; }
.page-content .elstar-section.contact-content { padding-block: 80px; }
.contact-content .contact-columns { gap: 72px; align-items: flex-start; }
.contact-details > h2 { font-size: clamp(1.7rem,2.7vw,2.3rem); max-width: 20ch; }
.contact-intro { max-width: 46ch; color: var(--muted); }
.contact-methods { display: grid; gap: 0; margin-block: 32px; }
.contact-method { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-method:first-child { padding-top: 0; }
.contact-method .contact-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.contact-method a { font-size: 1.12rem; font-weight: 500; }
.contact-method p { margin-bottom: 6px; }
.contact-method .map-link { font-size: .9rem; }
.contact-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.contact-person { padding: 24px 20px; border-radius: 12px; background: var(--pale); }
.contact-people > .contact-person { margin: 0; }
.contact-content .contact-person h3 { font-size: 1rem; margin: 0 0 14px; }
.contact-person a { display: block; font-size: .95rem; margin-top: 8px; }
.contact-content .wp-block-column { min-width: 0; }
.product-contact { padding-block: 80px; }
.product-contact .contact-panel { align-items: start; gap: 72px; }
.product-contact .contact-panel > div:first-child { padding-top: 20px; }
.elstar-form-card { padding: 36px; background: #fff; border: 1px solid #dbe2dc; border-radius: 16px; box-shadow: 0 10px 36px #14261c08; }
.elstar-form-card .frm_forms { margin: 0 !important; width: 100%; }
.elstar-form-card .frm_form_title { margin: 0 0 24px !important; font-size: 1.5rem !important; color: var(--ink) !important; }
.elstar-form-card .frm_form_field { margin-bottom: 22px !important; }
.elstar-form-card .frm_form_field > label { margin-bottom: 8px !important; color: var(--ink) !important; font-size: .9rem !important; font-weight: 500 !important; }
.elstar-form-card .frm_forms :is(input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea) { min-height: 50px; padding: 12px 14px !important; border: 1px solid #c9d4cc !important; border-radius: 10px !important; background: #fbfcfb !important; color: var(--ink) !important; box-shadow: none !important; font-size: 16px !important; line-height: 1.5 !important; }
.elstar-form-card .frm_forms textarea { min-height: 160px; resize: vertical; }
.elstar-form-card .frm_forms :is(input,textarea,select):focus { border-color: #06752e !important; outline: 3px solid #06752e26; outline-offset: 1px; }
.elstar-form-card .frm_forms [aria-invalid=true] { border-color: #b42318 !important; }
.elstar-form-card .frm_forms .frm_error { color: #b42318; }
.elstar-form-card .frm_submit { margin-top: 12px; }
.elstar-form-card .frm_submit button { min-height: 50px; padding: 13px 28px !important; border-radius: 100px !important; font-weight: 500 !important; background: var(--green-dark) !important; color: #fff !important; box-shadow: none !important; }
.gallery-main { cursor: zoom-in; }
html.elstar-lightbox-open { overflow: hidden; }
.product-lightbox:not([open]) { display: none; }
.product-lightbox { width: min(1100px,calc(100vw - 40px)); height: min(820px,calc(100dvh - 40px)); max-width: none; max-height: none; padding: 24px; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #0005; }
.product-lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 18px; }
.product-lightbox::backdrop { background: #06150ee6; }
.lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; }
.lightbox-close { display: flex; align-items: center; gap: 12px; background: var(--pale); border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px; min-height: 44px; color: var(--ink); }
.lightbox-close span { font-size: 1.5rem; line-height: 1; }
.lightbox-stage { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 16px; min-height: 0; }
.lightbox-stage figure { display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 16px; margin: 0; height: 100%; min-height: 0; }
.lightbox-image { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox-prev,.lightbox-next { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--pale); color: var(--ink); font-size: 2rem; line-height: 1; }
.lightbox-prev[hidden],.lightbox-next[hidden] { visibility: hidden; display: block; }
.lightbox-prev:hover,.lightbox-next:hover { background: #ffbe2d; border-color: #ffbe2d; }
.lightbox-counter { text-align: center; font-size: .9rem; color: var(--muted); }
.lightbox-help { text-align: center; margin: 0; font-size: .8rem; color: var(--muted); }
@media(max-width:900px) {
    .contact-content .contact-columns { flex-direction: column; gap: 40px; }
    .contact-content .contact-columns > .wp-block-column { width: 100%; }
    .contact-people { max-width: 650px; }
    .product-contact .contact-panel { gap: 36px; }
}
@media(max-width:640px) {
    .has-cover-header .page-content .elstar-hero { padding-top: 144px; }
    .page-content .elstar-section.elstar-page-hero,.page-cover { min-height: 330px; padding-block: 150px 60px; }
    .page-content .elstar-section.contact-content { padding-block: 40px; }
    .contact-person { padding: 20px 16px; }
    .contact-people { grid-template-columns: 1fr; }
    .elstar-form-card { padding: 24px 18px; border-radius: 12px; }
    .elstar-form-card .frm_submit button { width: 100%; }
    .product-contact { padding-block: 48px; }
    .product-lightbox { width: calc(100vw - 16px); height: calc(100dvh - 24px); padding: 16px 10px; border-radius: 12px; }
    .lightbox-header { padding-inline: 6px; font-size: .9rem; }
    .lightbox-stage { grid-template-columns: 40px minmax(0,1fr) 40px; gap: 4px; }
    .lightbox-prev,.lightbox-next { width: 40px; height: 44px; }
    .lightbox-close { padding-inline: 12px; }
}
@media(max-width:782px) {
    .admin-bar.has-cover-header .site-header { top: 46px; }
}

/* Catalogue-like lead paragraphs: a little larger and heavier than body copy. */
.archive-description { max-width: 820px; margin-top: 28px; }
.archive-description p { max-width: 68ch; margin: 0 0 20px; line-height: 1.75; }
.archive-description > p:first-child,
.catalog-description > p:first-child,
.catalog-head .intro,
.hepa-lead { font-size: clamp(1.12rem,1.6vw,1.35rem); line-height: 1.6; font-weight: 400; }
.archive-description a { overflow-wrap: anywhere; }

/* Fixed HEPA composition; the diagram stays complete inside a square canvas. */
.page-content .elstar-section.elstar-hepa { padding-block: 80px; }
.elstar-hepa .hepa-columns { align-items: center; gap: clamp(32px,5vw,76px); }
.elstar-hepa .wp-block-column { min-width: 0; }
.elstar-hepa .hepa-copy h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin: 0 0 24px; }
.elstar-hepa .hepa-copy p { margin: 0 0 24px; }
.elstar-hepa .hepa-copy .eyebrow { margin-bottom: 16px; }
.elstar-hepa .wp-block-image.hepa-symbol { width: 100px; margin: 32px 0 0; }
.elstar-hepa .hepa-symbol img { width: 100%; height: auto; }
.elstar-hepa .wp-block-image.hepa-diagram { margin: 0; aspect-ratio: 1; width: 100%; display: grid; align-items: center; overflow: hidden; border-radius: 16px; background: #292b2c; }
.elstar-hepa .hepa-diagram img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.elstar-hepa .hepa-uvc { margin-top: 48px; padding: 36px 40px; border-radius: 16px; background: #f2f6f2; border: 1px solid #e0e8e1; }
.elstar-hepa .hepa-uvc .wp-block-columns { align-items: start; gap: 48px; }
.elstar-hepa .hepa-uvc h3 { margin: 0 0 18px; font-size: 1.3rem; }
.elstar-hepa .hepa-uvc p:last-child { margin-bottom: 0; }
.elstar-hepa .hepa-note { border-left: 3px solid #06752e; padding-left: 20px; margin-top: 24px; }
@media(max-width:781px) {
    .page-content .elstar-section.elstar-hepa { padding-block: 48px; }
    .elstar-hepa .hepa-columns { gap: 32px; }
    .elstar-hepa .hepa-uvc { margin-top: 32px; padding: 28px 24px; }
    .elstar-hepa .hepa-uvc .wp-block-columns { gap: 24px; }
}

/* Homepage: give the person her own image area, clear of the headline. */
.site-header { position: relative; z-index: 40; }
.nav-disclosure { position: relative; }
.nav .nav-disclosure > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; border-radius: 0; list-style: none; cursor: pointer; color: #fff; white-space: nowrap; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.nav-chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 2px 0 0; }
.nav-disclosure[open] > summary .nav-chevron { transform: rotate(225deg); margin-top: 4px; }
.nav-disclosure[open] > summary { color: #ffce64; }
.nav-submenu { position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 12px; border: 1px solid #dbe4dd; border-top: 3px solid #ffbe2d; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px #0003; max-height: min(65vh,560px); overflow-y: auto; }
.nav .nav-submenu a { display: block; padding: 11px 14px; min-height: 44px; color: #10251a; font-size: .9rem; font-weight: 400; line-height: 1.4; border-radius: 6px; text-decoration: none; }
.nav .nav-submenu a:hover,.nav .nav-submenu a:focus-visible,.nav .nav-submenu a[aria-current=page] { background: #eff5ef; color: #056b2b; }
.nav .nav-submenu .nav-overview { font-weight: 600; border-bottom: 1px solid #e0e8e1; border-radius: 0; margin-bottom: 6px; }
.nav .nav-submenu .nav-subcategory { padding-left: 30px; font-size: .85rem; }
@media(max-width:900px) {
    .mobile-menu > .nav { max-height: calc(100dvh - 150px); overflow-y: auto; width: min(320px,calc(100vw - 36px)); gap: 10px; border-radius: 12px; }
    .mobile-menu .nav-disclosure > summary { justify-content: space-between; }
    .mobile-menu .nav-submenu { position: static; min-width: 0; margin: 4px 0 8px; max-height: none; box-shadow: none; }
}
.has-cover-header .front-page .elstar-hero { padding-block: 180px 72px; min-height: 740px; background: #10251a; }
.front-page .elstar-hero .wp-block-image.hero-background { left: 45%; width: 55%; opacity: 1; mask-image: linear-gradient(90deg,transparent,#000 18%); }
.front-page .elstar-hero .hero-background img { object-position: 53% center; }
.front-page .elstar-hero .elstar-inner > .wp-block-columns { display: block; }
.front-page .elstar-hero .elstar-inner > .wp-block-columns > .wp-block-column:empty { display: none; }
.front-page .elstar-hero .elstar-inner > .wp-block-columns > .wp-block-column:not(:empty) { width: 44%; max-width: 540px; }
.front-page .elstar-hero h1 { font-size: clamp(2rem,3.25vw,3.15rem); margin-bottom: 24px; }
.front-page .elstar-hero h4 { font-size: 1.1rem; font-weight: 400; line-height: 1.6; text-transform: none; margin-bottom: 28px; }
.front-page .elstar-hero h4 br { display: none; }
@media(max-width:900px) {
    .has-cover-header .front-page .elstar-hero { display: block; min-height: 0; padding: 0 0 44px; }
    .front-page .elstar-hero .wp-block-image.hero-background { position: relative; inset: auto; width: 100%; height: clamp(340px,60vw,520px); z-index: 0; margin: 0 0 8px; mask-image: linear-gradient(#000 80%,transparent); }
    .front-page .elstar-hero .hero-background img { object-position: 53% center; }
    .front-page .elstar-hero .elstar-inner { padding-top: 24px; }
    .front-page .elstar-hero .elstar-inner > .wp-block-columns > .wp-block-column:not(:empty) { width: 100%; max-width: 640px; }
    .front-page .elstar-hero h1 { font-size: clamp(1.9rem,4.7vw,2.6rem); }
}
