/*
Theme Name: Scienlan Replica
Theme URI: https://www.scienlan.com/
Description: Route-compatible Scienlan adaptation of the supplied reference site.
Version: 1.0.0
Author: Scienlan
Text Domain: scienlan-replica
*/

:root {
  --scienlan-deep: #0a1621;
  --scienlan-bronze: #1e7f83;
  --var-scienlan-bronze: #1e7f83;
  --scienlan-slate: #3f5563;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body.scienlan-replica { margin: 0; }
.scienlan-brand-lockup { display:inline-flex; flex-direction:column; gap:2px; color:#fff; font:700 22px/1.05 Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.scienlan-brand-lockup small { color:var(--scienlan-bronze); font-size:8px; letter-spacing:.18em; }
.scienlan-brand-lockup--footer { color:#fff; }
.header-logo .scienlan-brand-lockup { position:relative; z-index:2; }
.header-logo > svg, .header-logo > img { display:none !important; }
.footer-logo .scienlan-brand-lockup { margin: 0 auto; }
.footer-logo > img { display:block; }
.scienlan-brand-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:196px;
  max-width:100%;
  padding:6px 10px;
  border:1px solid rgba(10,22,33,.08);
  border-radius:4px;
  background:transparent;
  box-sizing:border-box;
  line-height:0;
  text-decoration:none;
}
.scienlan-brand-link:focus-visible { outline:3px solid #f29413; outline-offset:4px; }
.scienlan-brand-link .scienlan-brand-logo { display:block; width:100%; height:auto; max-width:100%; max-height:none; object-fit:contain; }
.footer-logo > .scienlan-brand-link { margin:0 auto; }
.footer-right { width:196px; min-width:0; flex:0 0 196px; }
.footer-right > * { max-width:100%; }
.product-carousel-wrapper > .slick-prev { left:0 !important; }
.product-carousel-wrapper > .slick-next { right:0 !important; }
@media (min-width: 1025px) {
  .header-logo { min-height:72px; }
  .header-logo > .scienlan-brand-link { width:196px; flex:0 0 196px; }
}
@media (max-width: 768px) {
  .scienlan-brand-lockup { font-size:18px; }
}
@media (max-width: 1024px) {
  .header-logo > .scienlan-brand-link, .nav .scienlan-brand-link { width:160px; flex:0 0 160px; }
}
.scienlan-about-source{padding:72px 24px;background:#fff;color:#0a1621}
.scienlan-about-source-inner{max-width:960px;margin:0 auto}
.scienlan-about-source h2{margin:0 0 24px;color:#1e7f83}
.scienlan-about-source p{margin:0 0 18px;line-height:1.65}


/* Google Maps keyless embed fills the location finder map container. */
#Google-Map-Container iframe.scienlan-map-embed { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Locations finder: service-area map (Leaflet) and area cards. */
#Google-Map-Container .scienlan-leaflet, #Google-Map-Container .leaflet-container { width: 100%; height: 100%; min-height: 320px; background: #e8ecec; }
.scienlan-map-pin { background: transparent; border: 0; }
.scienlan-map-pin::before { content: ""; position: absolute; left: 50%; top: 2px; width: 24px; height: 24px; background: #1e7f83; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: translateX(-50%) rotate(-45deg); box-shadow: 0 2px 6px rgba(9, 43, 63, .35); }
.scienlan-map-pin::after { content: ""; position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px; background: #fff; border-radius: 50%; }
.scienlan-area-card { padding: 18px 20px; border-bottom: 1px solid #e2ecec; background: #fff; }
.scienlan-area-card h3 { margin: 0 0 6px; color: #10384d; font-size: 19px; }
.scienlan-area-meta { margin: 0 0 12px; color: #657785; font-size: 13px; }
.scienlan-area-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.scienlan-area-link { color: #1e7f83; font-size: 13px; font-weight: 700; text-decoration: none; }
.scienlan-area-link:hover { text-decoration: underline; }
.scienlan-area-cta { display: inline-block; padding: 7px 14px; border-radius: 4px; background: #1e7f83; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
#Google-Map-Container .leaflet-tile { filter: grayscale(1) contrast(.92) brightness(1.03); }

/* Locations finder: real company HQ card. */
.scienlan-area-card--hq { border-bottom: 2px solid #1e7f83; }
.scienlan-area-tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 99px; background: #e4f3f1; color: #1e7f83; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.scienlan-area-address { margin: 0 0 10px; color: #173243; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }

/* /locations/ directory module replaced with real scienlan.com contact info. */
.scienlan-hq-card { max-width: 720px; margin: 0 auto 40px; padding: 44px 40px; border: 1px solid #d8e6e4; border-radius: 10px; background: #fff; box-shadow: 0 14px 38px rgba(17, 49, 66, .07); text-align: center; }
.scienlan-hq-card h3 { margin: 0 0 16px; color: #1e7f83; font-size: 26px; }
.scienlan-hq-address { margin: 0 0 14px; color: #173243; font-size: 16px; line-height: 1.7; }
.scienlan-hq-line { margin: 0 0 10px; color: #526673; font-size: 14px; }
.scienlan-hq-line a { color: #1e7f83; font-weight: 700; text-decoration: none; }
.scienlan-hq-line a:hover { text-decoration: underline; }
.scienlan-hq-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 0; }
.scienlan-hq-actions .btn.v1 { display: inline-block; padding: 11px 22px; border-radius: 4px; background: #1e7f83; color: #fff; font-weight: 750; font-size: 14px; text-decoration: none; }
.scienlan-hq-actions .btn.v1:hover { background: #186a6e; }
.scienlan-hq-site { color: #1e7f83; font-weight: 700; font-size: 14px; text-decoration: none; }
.scienlan-hq-site:hover { text-decoration: underline; }

/* Schedule form: native date input was missing from the styled type list on the
   reference page; match it to the text fields so the component stops looking broken. */
.contact-right .sb-formfield input[type="date"],
.referral-right .sb-formfield input[type="date"] {
  display: block;
  width: 100%;
  height: 57px;
  border: 1px solid #666;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: #FAFAFA;
  color: #333;
  padding: 22px 16px 6px 16px;
  font-family: var(--var-font-paragraph);
  color-scheme: light;
}
.contact-right .sb-formfield--preferred-date label,
.referral-right .sb-formfield--preferred-date label {
  position: absolute;
  top: 9px;
  left: 16px;
  font-size: 12px;
  color: #333;
  z-index: 1;
}
.contact-right .sb-formfield input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* 轮播初始化前的预布局：与 slick 初始化后的 1400/1280/288x375 布局一致，避免大屏闪烁跳动。 */
.product-carousel-wrapper { min-height: 495px; overflow: hidden; }
.product-carousel:not(.slick-initialized) { display: flex; gap: 24px; overflow: hidden; min-height: 415px; align-items: flex-start; }
.product-carousel:not(.slick-initialized) > div { flex: 0 0 288px; width: 288px; }
.product-carousel:not(.slick-initialized) .product-card__link { display: block; height: 375px; }

/* 移动端底部 CTA 栏按钮：直角。 */
.mobile-sticky-cta .sticky-cta-btn { border-radius: 0 !important; }

/* Franchise enquiry: a readable introduction beside an owned, responsive form. */
#get-started.scienlan-franchise-contact { background:#edf3f0; padding:80px 0; scroll-margin-top:72px; }
#get-started .scienlan-franchise-contact-grid { width:calc(100% - 64px); max-width:1160px; padding:0; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:64px; align-items:start; }
#get-started .scienlan-franchise-copy { padding-top:24px; min-width:0; }
#get-started .section-title { text-align:left; font-size:clamp(38px,4vw,54px); line-height:1.12; margin:0 0 24px; }
#get-started .prose { max-width:none; }
#get-started .prose p { color:#425a64; font-size:16px; line-height:1.85; margin:0; }
#get-started .form-assurances { display:grid; gap:16px; margin:30px 0 0; padding:26px 0 0; border-top:1px solid #cbdad4; }
#get-started .form-assurances li { color:#425a64; font-size:14px; line-height:1.65; }
#get-started .form-assurances li::before { color:#1e7f83; }
#get-started .scienlan-franchise-card { width:auto; max-width:none; margin:0; padding:32px; background:#fff; border:1px solid #d9e3df; border-radius:10px; box-shadow:0 12px 36px #163f3420; min-width:0; }
#get-started .scienlan-franchise-form h3 { margin:0 0 8px; font-size:24px; line-height:1.3; color:#0a1621; }
#get-started .scienlan-franchise-form-note { font-size:12px; color:#60756e; margin:0 0 24px; }
#get-started .scienlan-franchise-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
#get-started .scienlan-franchise-field { min-width:0; }
#get-started .scienlan-franchise-full { grid-column:1/-1; }
#get-started .scienlan-franchise-field label { display:block; margin:0 0 8px; font-size:12px; font-weight:650; line-height:1.4; color:#243d45; }
#get-started .scienlan-franchise-field input,#get-started .scienlan-franchise-field select,#get-started .scienlan-franchise-field textarea { display:block; box-sizing:border-box; width:100%; min-width:0; height:46px; padding:10px 12px; border:1px solid #bfcfc8; border-radius:4px; background:#fff; font:inherit; font-size:16px; color:#0a1621; }
#get-started .scienlan-franchise-field textarea { height:106px; resize:vertical; }
#get-started .scienlan-franchise-field :is(input,select,textarea):focus-visible { outline:2px solid #1e7f83; outline-offset:2px; border-color:#1e7f83; }
#get-started .scienlan-franchise-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#get-started .scienlan-franchise-privacy { margin:20px 0; color:#60756e; font-size:12px; line-height:1.6; }
#get-started .scienlan-franchise-privacy a { color:#1e7f83; text-underline-offset:3px; }
#get-started .scienlan-franchise-submit { display:flex; justify-content:space-between; align-items:center; width:100%; padding:15px 18px; border:0; border-radius:4px; background:#1e7f83; color:#fff; font:inherit; font-size:14px; font-weight:700; cursor:pointer; }
#get-started .scienlan-franchise-submit:hover { background:#166b6f; }
#get-started .scienlan-franchise-submit:focus-visible { outline:3px solid #f29413; outline-offset:3px; }
#get-started .scienlan-franchise-submit:disabled { opacity:.65; cursor:wait; }
#get-started .scienlan-franchise-status { margin:16px 0 0; padding:12px; font-size:14px; line-height:1.6; background:#edf6f1; color:#174b37; border-radius:4px; }
#get-started .scienlan-franchise-status[hidden] { display:none; }
#get-started .scienlan-franchise-status[data-state="error"] { color:#a52a2a; background:#fff2f0; }
@media(max-width:900px) {
  #get-started .scienlan-franchise-contact-grid { gap:36px; grid-template-columns:1fr; max-width:650px; }
  #get-started .scienlan-franchise-copy { padding-top:0; }
}
@media(max-width:560px) {
  #get-started.scienlan-franchise-contact { padding:48px 0; }
  #get-started .scienlan-franchise-contact-grid { width:calc(100% - 40px); }
  #get-started .section-title { font-size:38px; }
  #get-started .scienlan-franchise-card { padding:24px 20px; }
  #get-started .scienlan-franchise-fields { grid-template-columns:1fr; gap:18px; }
}

/* Shared footer: three useful link groups with Scienlan company details. */
.scienlan-site-footer { background:#0a1621; color:#fff; padding:0; font-family:var(--var-font-paragraph,Arial,sans-serif); }
.scienlan-footer-grid { max-width:1344px; margin:0 auto; padding:64px 32px 48px; display:grid; grid-template-columns:200px minmax(0,1fr) 218px; gap:44px; text-align:left; }
.scienlan-footer-brand .footer-logo { margin:0 0 20px; text-align:left; }
.scienlan-footer-brand .footer-logo > .scienlan-brand-link { margin:0; padding-left:0; border-color:transparent; }
.scienlan-footer-brand p { color:#aebdc5; font-size:13px; line-height:1.7; margin:0 0 22px; }
.scienlan-site-footer a { color:#dbe4e9; text-decoration:none; }
.scienlan-site-footer a:hover { color:#fff; text-decoration:underline; text-underline-offset:5px; }
.scienlan-site-footer a:focus-visible { outline:2px solid #f29413; outline-offset:5px; }
.scienlan-footer-cta { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:12px 14px; border:1px solid #3d7478; font-size:12px; font-weight:700; }
.scienlan-footer-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.scienlan-link-group h2,.scienlan-footer-contact h2 { font-family:var(--var-font-accent,Arial,sans-serif); font-size:15px; line-height:1.3; font-weight:750; margin:0 0 20px; color:inherit; text-transform:none; }
.scienlan-link-group ul { list-style:none; padding:0; margin:0; }
.scienlan-link-group { padding:0; }
.scienlan-link-group li { margin:0 0 12px; font-size:13px; line-height:1.55; }
.scienlan-footer-contact > a { display:block; font-size:13px; margin:0 0 12px; overflow-wrap:anywhere; }
.scienlan-footer-company { margin:22px 0 10px; font-size:12px; line-height:1.6; color:#fff; }
.scienlan-footer-contact address { color:#aebdc5; font-size:12px; line-height:1.7; font-style:normal; }
.scienlan-footer-contact .scienlan-footer-location { margin-top:16px; }
.scienlan-footer-bottom { max-width:1280px; margin:0 auto; padding:22px 0; border-top:1px solid #34434e; display:flex; align-items:center; justify-content:space-between; gap:20px; font-size:12px; color:#aebdc5; }
.scienlan-footer-bottom p { margin:0; }
.scienlan-site-footer .scienlan-footer-bottom p { font-family:var(--var-font-paragraph,Arial,sans-serif); font-size:12px; line-height:1.5; }
.scienlan-footer-bottom nav { display:flex; flex-wrap:wrap; gap:24px; }
.scienlan-site-footer .mobile-sticky-cta { display:none; }

/* Destination pages use the same palette and shared header/footer as the site. */
.scienlan-info-page { background:#fdf9fd; color:#0a1621; padding-bottom:48px; font-family:var(--var-font-paragraph,Arial,sans-serif); }
.scienlan-info-page p,.scienlan-info-page li,.scienlan-info-page a,.scienlan-info-page summary,
.scienlan-site-footer p,.scienlan-site-footer li,.scienlan-site-footer a,.scienlan-site-footer address { font-family:var(--var-font-paragraph,Arial,sans-serif); }
.scienlan-info-hero,.scienlan-info-sections,.scienlan-related,.scienlan-info-faq { padding:0; }
.scienlan-info-hero { background:#edf2ef; border-bottom:1px solid #d9e4df; }
.scienlan-info-hero-inner { max-width:1280px; margin:0 auto; padding:48px 32px 56px; display:grid; grid-template-columns:1.05fr 1fr; align-items:center; gap:56px; }
.scienlan-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:12px; color:#586c74; margin:0 0 36px; }
.scienlan-breadcrumb a { color:#1e7f83; text-decoration:none; }
.scienlan-eyebrow { font-family:var(--var-font-accent,Arial,sans-serif); color:#1e7f83; font-size:12px; line-height:1.4; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin:0 0 16px; }
.scienlan-info-page h1 { color:#0a1621; font-family:var(--var-font-headline,Georgia,serif); font-size:clamp(34px,4.5vw,58px); line-height:1.08; font-weight:700; margin:0 0 24px; text-transform:none; }
.scienlan-info-intro { color:#425a64; font-size:16px; line-height:1.8; margin:0 0 28px; }
.scienlan-info-hero img { display:block; width:100%; height:390px; object-fit:cover; border-radius:4px; }
.scienlan-info-button { display:inline-flex; justify-content:space-between; align-items:center; gap:24px; background:#1e7f83; color:#fff; text-decoration:none; padding:15px 22px; font-size:13px; font-weight:750; }
.scienlan-info-button:hover { background:#17696d; color:#fff; }
.scienlan-info-page a:focus-visible,.scienlan-info-page summary:focus-visible { outline:3px solid #f29413; outline-offset:4px; }
.scienlan-info-sections { max-width:1216px; margin:48px auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.scienlan-info-card { background:#fff; padding:32px; border:1px solid #dce5e2; border-top:3px solid #1e7f83; }
.scienlan-info-card h2,.scienlan-related h2,.scienlan-contact-direct h2,.scienlan-contact-form h2 { font-family:var(--var-font-accent,Arial,sans-serif); color:#0a1621; font-size:23px; line-height:1.3; margin:0 0 18px; text-transform:none; }
.scienlan-info-card p,.scienlan-info-card li,.scienlan-contact-form > p { font-size:15px; color:#425a64; line-height:1.8; }
.scienlan-info-card p { margin:0; }
.scienlan-info-card ul { padding-left:22px; margin:0; }
.scienlan-info-card li + li { margin-top:8px; }
.scienlan-info-faq { max-width:960px; margin:48px auto; }
.scienlan-info-faq details { padding:24px 28px; background:#fff; border-bottom:1px solid #dce5e2; }
.scienlan-info-faq summary { font-size:18px; font-weight:700; cursor:pointer; line-height:1.5; }
.scienlan-info-faq p { font-size:15px; line-height:1.8; color:#425a64; margin:20px 0 0; }
.scienlan-related { max-width:1216px; margin:48px auto; }
.scienlan-related > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.scienlan-related a { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px; border:1px solid #d5e0dc; color:#1e7f83; background:#fff; font-size:15px; font-weight:700; text-decoration:none; line-height:1.6; }
.scienlan-related a:hover { border-color:#1e7f83; background:#edf5f1; }
.scienlan-sitemap { max-width:1216px; margin:48px auto; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; padding:32px; background:#fff; border:1px solid #dce5e2; }
.scienlan-sitemap .scienlan-link-group h2 { font-size:22px; color:#0a1621; }
.scienlan-sitemap .scienlan-link-group a { color:#1e7f83; text-decoration:none; }
.scienlan-contact-direct,.scienlan-contact-form { max-width:1216px; margin:48px auto; padding:32px; background:#fff; border:1px solid #dce5e2; }
.scienlan-contact-direct > a { display:inline-block; color:#1e7f83; font-size:17px; font-weight:700; margin:0 32px 12px 0; overflow-wrap:anywhere; }
.scienlan-contact-form .contact-right { width:100%; max-width:740px; }
.scienlan-info-cta { max-width:1216px; margin:48px auto 0; padding:44px; background:#0a1621; display:flex; justify-content:space-between; align-items:center; gap:32px; }
.scienlan-info-cta .scienlan-eyebrow { color:#8bc4c3; }
.scienlan-info-cta h2 { color:#fff; font-family:var(--var-font-headline,Georgia,serif); font-size:36px; line-height:1.2; margin:0 0 16px; text-transform:none; }
.scienlan-info-cta p:not(.scienlan-eyebrow) { color:#c2d0d7; font-size:15px; line-height:1.7; margin:0; }
.scienlan-info-cta .scienlan-info-button { flex-shrink:0; }
@media(max-width:1300px) { .scienlan-footer-bottom { margin:0 32px; } .scienlan-info-sections,.scienlan-related,.scienlan-sitemap,.scienlan-contact-direct,.scienlan-contact-form,.scienlan-info-cta { margin-left:32px; margin-right:32px; } }
@media(max-width:1100px) { .scienlan-footer-grid { grid-template-columns:180px minmax(0,1fr); gap:40px; } .scienlan-footer-contact { grid-column:2; max-width:500px; } .scienlan-info-hero-inner { gap:32px; } }
@media(max-width:768px) {
  .scienlan-footer-grid { grid-template-columns:1fr; padding:40px 24px 32px; gap:32px; }
  .scienlan-footer-brand { max-width:300px; } .scienlan-footer-contact { grid-column:auto; }
  .scienlan-footer-nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  .scienlan-footer-bottom { margin:0 24px; align-items:flex-start; flex-direction:column; padding:24px 0 84px; gap:16px; }
  .scienlan-footer-bottom nav { gap:16px; }
  .scienlan-site-footer .mobile-sticky-cta { position:fixed; left:0; right:0; bottom:0; display:grid; grid-template-columns:1fr 1fr; gap:0; background:#1e7f83; z-index:1000; }
  .scienlan-site-footer .mobile-sticky-cta .sticky-cta-btn { display:block; padding:16px 8px; text-align:center; font-size:12px; font-weight:700; color:#fff; line-height:1.4; border-right:1px solid rgba(255,255,255,.25); text-decoration:none; }
  .scienlan-info-hero-inner { grid-template-columns:1fr; padding:28px 24px 36px; gap:28px; }
  .scienlan-breadcrumb { margin-bottom:26px; } .scienlan-info-hero img { height:260px; }
  .scienlan-info-sections,.scienlan-related,.scienlan-sitemap,.scienlan-contact-direct,.scienlan-contact-form,.scienlan-info-cta,.scienlan-info-faq { margin:32px 24px; }
  .scienlan-info-sections,.scienlan-related > div { grid-template-columns:1fr; }
  .scienlan-info-card { padding:26px; } .scienlan-sitemap { grid-template-columns:repeat(2,minmax(0,1fr)); padding:24px; }
  .scienlan-info-faq details { padding:22px; } .scienlan-info-faq summary { font-size:16px; }
  .scienlan-info-cta { align-items:flex-start; flex-direction:column; padding:28px; }
  .scienlan-info-cta h2 { font-size:30px; } .scienlan-contact-direct,.scienlan-contact-form { padding:24px; }
}

/* Footer destinations reuse the reference module geometry and typography. */
.scienlan-reference-page { color:#0a1621; }
.scienlan-reference-page p,.scienlan-reference-page li { font-family:var(--var-font-paragraph); }
.scienlan-reference-page .st-container { box-sizing:border-box; max-width:1280px; margin-inline:auto; }
.scienlan-reference-page .jump-to-category { padding:60px 32px; text-align:center; }
.scienlan-reference-page .jump-title { width:100%; margin:0 0 40px; text-align:center; font-family:var(--var-font-headline); font-size:clamp(32px,3.5vw,48px); font-weight:700; line-height:1.1; }
.scienlan-reference-page .jump-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; }
.scienlan-reference-page .jump-link { display:inline-flex; align-items:center; justify-content:center; padding:12px 16px; background:#d9e9e7; color:#0a1621; font-family:var(--var-font-accent); font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; }
.scienlan-reference-page .jump-link:hover { background:#1e7f83; color:white; }
.scienlan-reference-page .hero-section { margin:32px; }
.scienlan-reference-page .hero-content { z-index:2; }
.scienlan-reference-page .hero-title { overflow-wrap:break-word; }
.scienlan-reference-page .hero-divider { color:#1e7f83; }
.scienlan-reference-page .hero-divider svg { flex-shrink:0; }
.scienlan-reference-page .hero-bottom { display:block; }
.scienlan-reference-page .hero-description { max-width:950px; }
.scienlan-reference-page .scienlan-layout-button { display:inline-flex; gap:20px; align-items:center; white-space:normal; text-decoration:none; margin-top:20px; }
.scienlan-reference-page .scienlan-layout-list { padding-left:22px; line-height:1.7; }
.scienlan-reference-page .scienlan-layout-list li { margin-bottom:12px; }
.scienlan-reference-page .scienlan-product-selection { padding:16px 32px 72px; }
.scienlan-reference-page .scienlan-product-grid { max-width:1280px; margin:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.scienlan-reference-page .product-card__link { position:relative; height:auto; min-width:0; text-decoration:none; overflow:hidden; display:block; border-radius:8px; background:#0a1621; color:white; }
.scienlan-reference-page .product-card__image { width:100%; height:260px; aspect-ratio:auto; }
.scienlan-reference-page .product-card__image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.scienlan-reference-page .product-card__link:hover img { transform:scale(1.03); }
.scienlan-reference-page .product-card__content { position:relative; inset:auto; padding:28px; min-height:210px; background:#0a1621; }
.scienlan-reference-page .product-card__title { font-family:var(--var-font-accent); font-size:24px; line-height:1.25; margin:0 0 14px; color:white; }
.scienlan-reference-page .product-card__content p,.scienlan-reference-page .product-card__content li { font-size:15px; line-height:1.6; color:#e6ecef; }
.scienlan-reference-page .scienlan-card-arrow { color:#b2d5d1; display:block; margin-top:18px; font-size:24px; }
.scienlan-reference-page .video-section-video > img { display:block; width:100%; height:100%; object-fit:cover; border-radius:8px; }
.scienlan-reference-page .video-section-wrap::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(10,22,33,.9),rgba(10,22,33,.35) 55%,transparent); pointer-events:none; }
.scienlan-reference-page .video-section-content { z-index:2; }
.scienlan-reference-page .features-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.scienlan-reference-page .feature-card { width:auto; min-width:0; scroll-margin-top:130px; }
.scienlan-reference-page .feature-card p,.scienlan-reference-page .feature-card li { line-height:1.65; }
.scienlan-reference-page .resources-flex { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.scienlan-reference-page .resources-flex-item { width:auto; min-width:0; }
.scienlan-reference-page .resource-card { display:block; height:300px; }
.scienlan-reference-page .resource-card-image { height:100%; }
.scienlan-reference-page .resource-card-image img { width:100%; height:100%; object-fit:cover; }
.scienlan-reference-page .resource-card-title { font-size:24px; line-height:1.25; }
.scienlan-reference-page .resources-title { margin-bottom:40px; }
.scienlan-reference-page .fullwidth-image-zipcode-title { font-size:clamp(32px,4vw,56px); }
.scienlan-reference-page .fullwidth-image-zipcode-image img { width:100%; height:100%; min-height:350px; object-fit:cover; }
.scienlan-reference-page .scienlan-company-container { padding:64px 96px; }
.scienlan-reference-page .scienlan-company-grid { max-width:1248px; margin:auto; display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:64px; align-items:start; }
.scienlan-reference-page .scienlan-company-column { min-width:0; }
.scienlan-reference-page .scienlan-company-column h2 { font-family:var(--var-font-accent); font-size:32px; line-height:1.15; margin:0 0 24px; }
.scienlan-reference-page .scienlan-company-column p { font-size:17px; line-height:1.5; }
.scienlan-reference-page .full-width-image-only { width:auto; margin:64px 32px; }
.scienlan-reference-page .full-width-image-only img { width:100%; height:400px; object-fit:cover; border-radius:12px; }
.scienlan-reference-page .contact-right-wrapper,.scienlan-reference-page .service-right-wrapper { min-width:0; }
.scienlan-reference-page .contact-right-wrapper > p { font-size:15px; line-height:1.7; margin-bottom:24px; }
.scienlan-reference-page .contact-container,.scienlan-reference-page .service-container { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; }
.scienlan-reference-page .contact-container,.scienlan-reference-page .service-container { max-width:1280px; margin-inline:auto; }
.scienlan-reference-page .contact-left,.scienlan-reference-page .contact-right-wrapper,.scienlan-reference-page .service-left,.scienlan-reference-page .service-right-wrapper { width:auto; max-width:100%; min-width:0; }
.scienlan-reference-page .contact-left h2 { margin-top:0; }
.scienlan-reference-page .contact-left h2:not(:first-child) { margin-top:36px; }
.scienlan-reference-page .contact-left p,.scienlan-reference-page .service-left p { line-height:1.75; }
.scienlan-reference-page .contact-right,.scienlan-reference-page .service-right { box-sizing:border-box; width:100%; max-width:100%; }
.scienlan-reference-page .service-right .sb-formfield:has(input[type="file"]) label { position:static; display:block; margin:0 0 12px; font-size:14px; line-height:1.5; }
.scienlan-reference-page .service-right input[type="file"] { height:auto; min-height:48px; padding:12px; }
.scienlan-reference-page .service-right .sb-formfield:has(input[type="checkbox"]) { display:grid; grid-template-columns:18px minmax(0,1fr); align-items:start; gap:12px; }
.scienlan-reference-page .service-right .sb-formfield:has(input[type="checkbox"]) label { position:static; grid-column:2; grid-row:1; font-size:14px; line-height:1.5; }
.scienlan-reference-page .service-right input[type="checkbox"] { grid-column:1; grid-row:1; width:18px; height:18px; padding:0; margin:3px 0 0; }
.scienlan-reference-page .service-right .sb-formfield--approximate-date-of-original-order label { position:static; display:block; font-size:14px; line-height:1.5; }
.scienlan-reference-page .service-right .input-group input { box-sizing:border-box; width:100%; min-height:57px; padding:14px 16px; border:1px solid #666; border-radius:4px; background:#fafafa; font:16px/1.5 var(--var-font-paragraph); }
.scienlan-reference-page .scienlan-resource-topic { padding:16px 32px 48px; scroll-margin-top:130px; }
.scienlan-reference-page .scienlan-resource-topic .st-container { max-width:1152px; }
.scienlan-reference-page .scienlan-topic-title { font-family:var(--var-font-accent); font-size:32px; line-height:1.2; margin:0 0 28px; }
.scienlan-reference-page .scienlan-resource-detail { border-bottom:1px solid #c5cece; }
.scienlan-reference-page .scienlan-resource-detail summary { display:flex; align-items:center; justify-content:space-between; gap:24px; cursor:pointer; list-style:none; padding:24px 0; font-family:var(--var-font-accent); font-size:20px; font-weight:700; }
.scienlan-reference-page .scienlan-resource-detail summary::-webkit-details-marker { display:none; }
.scienlan-reference-page .scienlan-resource-detail summary::after { content:'+'; font-size:28px; color:#1e7f83; flex-shrink:0; }
.scienlan-reference-page .scienlan-resource-detail[open] summary::after { content:'−'; }
.scienlan-reference-page .scienlan-resource-answer { padding:0 48px 24px 0; font-size:17px; line-height:1.75; }
.scienlan-reference-page a:focus-visible,.scienlan-reference-page summary:focus-visible { outline:3px solid #1e7f83; outline-offset:5px; }
/* Product selection: balance five cards and keep the copy/CTA aligned. */
.scienlan-reference-page .scienlan-product-selection .scienlan-product-grid { grid-template-columns:repeat(6,minmax(0,1fr)); grid-auto-rows:1fr; align-items:stretch; }
.scienlan-reference-page .scienlan-product-selection .product-card__link { grid-column:span 2; display:flex; flex-direction:column; box-shadow:0 8px 24px rgba(10,22,33,.12); }
.scienlan-reference-page .scienlan-product-selection .scienlan-product-grid:has(> .product-card__link:last-child:nth-child(5)) > .product-card__link:nth-child(4) { grid-column:2 / span 2; }
.scienlan-reference-page .scienlan-product-selection .product-card__image { flex:0 0 260px; }
.scienlan-reference-page .scienlan-product-selection .product-card__content { display:flex; flex-direction:column; flex:1; min-height:0; }
.scienlan-reference-page .scienlan-product-selection .product-card__title { min-height:2.5em; margin:0 0 16px; }
.scienlan-reference-page .scienlan-product-selection .product-card__subtitle { margin:0; }
.scienlan-reference-page .scienlan-product-selection .scienlan-card-arrow { margin-top:auto; padding-top:20px; line-height:1; }
@media(max-width:1024px) {
 .scienlan-reference-page .contact-container,.scienlan-reference-page .service-container { gap:32px; }
 .scienlan-reference-page .scienlan-product-grid,.scienlan-reference-page .resources-flex { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid:has(> .product-card__link:last-child:nth-child(5)) > .product-card__link:nth-child(4) { grid-column:span 2; }
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid:has(> .product-card__link:last-child:nth-child(5)) > .product-card__link:nth-child(5) { grid-column:2 / span 2; }
}
@media(max-width:600px) {
 .scienlan-reference-page .service-right .sb-fieldset { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; }
 .scienlan-reference-page .service-right .sb-formfield { float:none; width:100%; grid-column:1 / -1; margin:0; }
 .scienlan-reference-page .service-right .input-group { width:100%; max-width:100%; }
 .scienlan-reference-page .service-right .input-group input { width:100%; }
}
@media(max-width:768px) {
 .scienlan-reference-page .jump-to-category { padding:40px 16px; }
 .scienlan-reference-page .jump-title { margin-bottom:24px; }
 .scienlan-reference-page .scienlan-company-container { padding:48px 16px; }
 .scienlan-reference-page .scienlan-company-grid { grid-template-columns:minmax(0,1fr); gap:40px; }
 .scienlan-reference-page .full-width-image-only { margin:48px 16px; }
 .scienlan-reference-page .full-width-image-only img { height:300px; }
 .scienlan-reference-page .hero-section { margin:16px; }
 .scienlan-reference-page .hero-content { padding:28px 24px; }
 .scienlan-reference-page .hero-title { font-size:clamp(32px,8vw,44px); }
 .scienlan-reference-page .hero-description { font-size:16px; line-height:1.55; }
 .scienlan-reference-page .hero-section-small { min-height:440px; height:auto; }
 .scienlan-reference-page .scienlan-product-grid,.scienlan-reference-page .resources-flex,.scienlan-reference-page .features-grid { grid-template-columns:1fr; }
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid { grid-template-columns:minmax(0,1fr); grid-auto-rows:auto; }
 .scienlan-reference-page .scienlan-product-selection .product-card__link,
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid:has(> .product-card__link:last-child:nth-child(5)) > .product-card__link:nth-child(4),
 .scienlan-reference-page .scienlan-product-selection .scienlan-product-grid:has(> .product-card__link:last-child:nth-child(5)) > .product-card__link:nth-child(5) { grid-column:1; }
 .scienlan-reference-page .scienlan-product-selection .product-card__title { min-height:0; font-size:22px; }
 .scienlan-reference-page .scienlan-product-selection { padding:0 16px 48px; }
 .scienlan-reference-page .contact-container,.scienlan-reference-page .service-container { grid-template-columns:minmax(0,1fr); gap:40px; }
 .scienlan-reference-page .video-section-video > img { height:300px; }
 .scienlan-reference-page .video-section-video > img { position:static; }
 .scienlan-reference-page .video-section-wrap::after { display:none; }
 .scienlan-reference-page .scienlan-resource-topic { padding:16px 16px 32px; }
 .scienlan-reference-page .scienlan-resource-answer { padding-right:0; }
 .scienlan-reference-page .scienlan-resource-detail summary { font-size:18px; }
 .scienlan-reference-page .fullwidth-image-zipcode-image img { min-height:260px; }
 .scienlan-reference-page .contact-right,.scienlan-reference-page .service-right { padding:24px 16px; }
}

/* Shared form submit alignment - 2026-10-15 */
.scienlan-reference-page form.contact-form p.submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}
.scienlan-reference-page form.contact-form p.submit > input[type="submit"],
.scienlan-reference-page form.contact-form p.submit > button[type="submit"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  text-align: center !important;
}

/* Apply the same alignment on custom form routes outside reference page wrappers. */
form.contact-form .submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
}
form.contact-form .submit > input[type="submit"],
form.contact-form .submit > button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  text-align: center !important;
}
form.contact-form .submit-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
form.contact-form .submit-wrapper > input[type="submit"],
form.contact-form .submit-wrapper > button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 32px !important;
  text-align: center !important;
}
form.contact-form .submit-wrapper > svg {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Keep the service-request consent checkbox and its single associated label visible. */
.service-right form.contact-form .sb-formfield:has(input[type="checkbox"]) {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  flex: 0 0 100% !important;
}
.service-right form.contact-form .sb-formfield:has(input[type="checkbox"]) > input[type="checkbox"] {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
}
.service-right form.contact-form .sb-formfield:has(input[type="checkbox"]) > label[for] {
  display: block !important;
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  pointer-events: auto !important;
}
