/* ==========================================================================
   Site-specific overrides layered on top of the purchased Offshore template.
   The vendored template files (public/assets/vendor/offshore/**) are never
   edited directly — everything project-specific lives here instead, loaded
   after the template's own stylesheet so these rules win.
   ========================================================================== */

/* ---------- 1. Lovable-style header (replaces the template's own header
   visual treatment, per explicit client direction — the rest of the site
   stays on the fixed Offshore template) ---------- */

:root {
  /* Colors match the purchased template's own palette (.btn-primary / h2.color-title in
     vendor/offshore/css/style.css: #093EB6, hover #002D92) — the header's layout is Lovable-style,
     but it must read as part of the same site as every other (unmodified) template page. */
  --lv-navy: #071d47;
  --lv-text: #23303d;
  --lv-muted: #6b7686;
  --lv-blue: #093eb6;
  --lv-blue-dark: #002d92;
  --lv-border: #e6eaf1;
  --lv-bg: #ffffff;
}

.lv-header { position: sticky; top: 0; z-index: 999; }

/* Bootstrap's .container adds :before/:after clearfix pseudo-elements; on a flex
   container those become real (empty) flex items and throw off space-between,
   pulling the logo and nav actions in from the edges instead of flush to them. */
.lv-utility-inner::before, .lv-utility-inner::after,
.lv-header-inner::before, .lv-header-inner::after {
  display: none;
  content: none;
}

/* Tier 1: thin dark utility bar — tagline left, phone/email right */
.lv-utility-bar { background: var(--lv-navy); color: #c9d4e0; font-size: 13px; }
.lv-utility-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; gap: 16px; }
.lv-utility-tagline { opacity: .9; }
.lv-utility-contacts { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.lv-utility-contacts a { display: inline-flex; align-items: center; gap: 6px; color: #e3e9f1; text-decoration: none; }
.lv-utility-contacts a:hover { color: #fff; }
.lv-utility-contacts svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Tier 2: white main nav row */
/* Full-width white bar: the header is sticky, so it must be opaque edge to edge (not just
   container width) or the page content shows through on either side as it scrolls under. */
.lv-header-inner-wrap { position: relative; background: var(--lv-bg); border-bottom: 1px solid var(--lv-border); box-shadow: 0 2px 10px rgba(7,29,71,.06); }
.lv-header-inner { background: var(--lv-bg); display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 24px; }
.lv-logo { display: flex; align-items: center; flex-shrink: 0; }
.lv-logo img { height: 46px; width: auto; display: block; }

.lv-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: center; }
.lv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.lv-nav li { position: relative; }
.lv-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  color: var(--lv-text); font-size: 15px; font-weight: 500; text-decoration: none; transition: all .15s ease;
}
.lv-nav > ul > li > a:hover, .lv-nav > ul > li.lv-active > a { color: var(--lv-blue); background: #eef7fc; }
.lv-nav svg.lv-chevron { width: 10px; height: 10px; transition: transform .15s ease; }
.lv-nav li.lv-has-dropdown:hover svg.lv-chevron,
.lv-nav li.lv-has-dropdown.lv-open svg.lv-chevron { transform: rotate(180deg); }

.lv-nav .lv-dropdown {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 6px; background: #fff; min-width: 260px;
  border: 1px solid var(--lv-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(15,41,66,0.14);
  padding: 8px; list-style: none; z-index: 20;
}
.lv-nav li.lv-has-dropdown:hover .lv-dropdown,
.lv-nav li.lv-has-dropdown.lv-open .lv-dropdown { display: block; }
/* Invisible bridge over the gap between the menu item and its dropdown, so the pointer
   never leaves :hover while moving down to a child link (the 6px margin + any row padding). */
.lv-nav .lv-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}
.lv-dropdown li a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--lv-text); font-size: 14px; font-weight: 500; text-decoration: none; }
.lv-dropdown li a:hover { background: #eef7fc; color: var(--lv-blue); }

.lv-header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.lv-btn-quote {
  display: inline-flex; align-items: center; gap: 8px; background: var(--lv-blue); color: #fff !important;
  font-size: 14.5px; font-weight: 600; padding: 11px 22px; border-radius: 8px; text-decoration: none;
  white-space: nowrap; transition: background .15s ease;
}
.lv-btn-quote:hover { background: var(--lv-blue-dark); }
.lv-btn-quote.lv-btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); color: #fff !important; }
.lv-btn-quote.lv-btn-outline:hover { background: rgba(255,255,255,0.12); }

.lv-nav-toggle {
  display: none; background: none; border: 1px solid var(--lv-border); border-radius: 8px; padding: 9px 11px; cursor: pointer;
}
.lv-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--lv-navy); margin: 4px 0; border-radius: 1px; }

/* This CTA only belongs in the mobile slide-out panel — hidden in the desktop horizontal nav row. */
.lv-header-actions-mobile { display: none; }

@media (max-width: 860px) {
  .lv-utility-tagline { display: none; }
}
@media (max-width: 992px) {
  /* Compact dropdown panel anchored under the toggle button, like the
     purchased theme's own .navbar-collapse (a small box under the header),
     not a full-screen slide-in drawer. */
  .lv-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--lv-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 16px 32px rgba(15,41,66,0.16);
    padding: 10px;
    justify-content: flex-start;
    z-index: 998;
  }
  .lv-nav.lv-open { display: block; }
  .lv-nav ul { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .lv-nav > ul > li { border-bottom: 1px solid var(--lv-border); }
  .lv-nav > ul > li:last-child { border-bottom: none; }
  .lv-nav > ul > li > a { width: 100%; padding: 12px 10px; border-radius: 6px; justify-content: space-between; }
  .lv-dropdown { position: static; box-shadow: none; border: none; margin: 0 0 6px; display: none; }
  .lv-nav .lv-dropdown::before { display: none; }
  .lv-nav li.lv-has-dropdown:hover .lv-dropdown { display: none; }
  .lv-nav li.lv-has-dropdown.lv-open .lv-dropdown { display: block; }
  .lv-nav-toggle { display: inline-block; }
  .lv-utility-contacts a span.lv-contact-label { display: none; }
  .lv-header-actions-mobile { display: list-item; }
  .lv-header-actions > .lv-btn-quote { display: none; }
}
@media (max-width: 480px) {
  .lv-utility-contacts { gap: 12px; }
}

/* ---------- 2. Hero slider: equal-height slides regardless of source image
   aspect ratio, and center-aligned slide content (both requested fixes) ---------- */

.flexslider .slides > li {
  height: 560px;
  overflow: hidden;
}
.flexslider .slides > li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-content {
  text-align: center;
}
.slider-content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slider-content p {
  max-width: 720px;
}

/* The first slide's heading is an <h1> for SEO (one h1 per page); the theme only
   styles this via the `.slider-content h2` element selector, so mirror it for h1
   at every breakpoint the theme itself defines. */
.slider-content h1 {
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 30px;
}

@media all and (max-width: 991px) {
  .flexslider .slides > li { height: 500px; }
  .slider-content h1 { font-size: 44px; margin-bottom: 25px; }
}
@media all and (max-width: 767px) {
  .slider-content h1 { font-size: 40px; margin-bottom: 20px; }
}
@media all and (max-width: 600px) {
  .flexslider .slides > li { height: 420px; }
  .slider-content h1 { font-size: 36px; margin-bottom: 15px; }
}
@media all and (max-width: 480px) {
  .flexslider .slides > li { height: 450px; }
  .slider-content h1 { font-size: 30px; margin-bottom: 12px; }
}
@media all and (max-width: 400px) {
  .slider-content h1 { font-size: 24px; margin-bottom: 12px; }
}

/* ---------- 2b. Inner-page hero (.page-title): the template never wraps this in a
   .container or caps its width at all, so the description ran edge-to-edge on wide
   viewports. Cap and center it, and add safe side gutters on narrow ones. ---------- */

.page-title { padding-left: 24px; padding-right: 24px; }

/* The theme styles this heading via `.page-title h2.title` (element+class); since it's
   now an <h1> for SEO (one h1 per page), that selector no longer matches, so re-declare
   the same visual style here for h1.title. */
.page-title h1.title {
  margin: 0 0 25px;
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  line-height: 1.26;
}

.page-title h1.title,
.page-title p.description {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- 3. Stats row: keep the icon and counter on the same line even
   with longer real captions (was wrapping to the next line) ---------- */

/* .stats-info { max-width: calc(100% - 60px); } */
.stats-info{
  max-width: 100%;
}
.stats-info p { white-space: normal; }

/* ---------- 4. Core Values icons (About page) ---------- */

/* ---------- 5. Product/service detail pages: the theme's generic `section`
   rule adds 80px top+bottom padding meant for full-width homepage blocks.
   Stacked back-to-back here (Applications/Features/Benefits/Specifications),
   that compounds into ~160px of dead space between each. Match the theme's
   own tighter pattern already used for .about-innovations. ---------- */

.services-content section.services-vision,
.services-content section.services-specifications {
  padding: 0 0 40px;
}

.lv-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef7fc;
  color: var(--lv-blue);
  font-size: 24px;
  margin-bottom: 16px;
}

.footer_links{
    color: #fff;
}


.footer_links:hover{
  color: #ffd943;
}

/* ---------- 6. Product/service pages — Lovable-inspired layout (two-column
   technical overview + sticky spec/CTA sidebar, checklist applications, related
   grid), kept in the theme's own fonts and colors: Roboto/Roboto Condensed,
   --lv-blue (#093eb6, matches .btn-primary), --lv-navy, and the theme's own
   yellow accent (#ffda43, matches .list-unstyled li i / h2.color-title). PREVIEW
   — only referenced by the *-preview.php templates for now, not the live pages. ---------- */

/* Safety net: the theme itself never styles .rich-text (it relies entirely on
   the <p> tag inside it: font-size 16px, line-height 1.688). When a stored
   intro/section body happens to be plain text with no <p> wrapper, it fell
   through to the theme's own `body` rule instead (font-size 14px, line-height
   1 — a squished, unreadable block). Setting it here directly makes rich-text
   content render correctly regardless of whether the saved HTML wraps it. */
.rich-text {
  font-size: 16px;
  line-height: 1.688;
  color: #677078;
}

/* Images inserted through the admin editor (Media library): responsive, never overflow. */
.rich-text img { max-width: 100%; height: auto; border-radius: 6px; }
.rich-text figure.image { margin: 20px 0; }
.rich-text figure.image img { display: block; height: 300px;}

/* "Technical Overview" — matches the theme's own h4.subtitle (used for the
   equivalent .chemicals-subtitle heading before this redesign): Roboto, 20px,
   bold, blue, not the invented small-caps eyebrow this replaced. */
.lv-eyebrow {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
  color: var(--lv-blue);
  margin: 0 0 20px;
}
.lv-eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ffda44;
  border-radius: 2px;
  margin-top: 12px;
}
/* The "Related" label sits directly above its own h2 (which already gets the
   underline accent below it) — a second one right above would be redundant. */
.lv-eyebrow--plain { margin-bottom: 6px; }
.lv-eyebrow--plain::after { display: none; }

/* Major section headings ("Specifications" table, "Complete the setup") —
   matches the theme's own h2.title-2, plus the same yellow underline accent
   (kept to a single solid color — no text gradient/two-tone). */
.lv-h2 {
  font-family: "Roboto";
  font-weight: bold;
  color: var(--lv-blue);
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 25px;
}
.lv-h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #ffda44;
  border-radius: 2px;
  margin-top: 14px;
}
@media (max-width: 767px) {
  .lv-h2 { font-size: 30px; }
}

/* Subsection headings (Applications/Features/Benefits/etc.) — same Roboto
   Condensed/#2a2a2a/size the theme's own generic h1-h6 rule gives an h3, plus
   a small icon badge for a more modern feel. Generous top margin (36px) is
   the real fix for the heading-stuck-to-the-list-above-it bug: the previous
   version zeroed this out for headings inside .lv-two-col, which left zero
   gap since the <ul> above has no bottom margin of its own. */
.lv-h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Roboto Condensed";
  font-weight: 500;
  color: #2a2a2a;
  font-size: 24px;
  line-height: 1.1;
  margin: 36px 0 20px;
}
.lv-h3-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #dceafc;
  color: var(--lv-blue);
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(9,62,182,0.18);
}

.lv-product { margin-top: 10px; margin-bottom: 60px; }
.lv-product-main { padding-right: 10px; }

.lv-callout {
  position: relative;
  border-left: 4px solid var(--lv-blue);
  background: #eef7fc;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 18px 52px;
  font-family: "Roboto";
  font-size: 16px;
  font-weight: bold;
  color: #2a2a2a;
  margin: 28px 0 10px;
}
.lv-callout .fa-quote-left,
.lv-callout .fa-info-circle {
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--lv-blue);
  opacity: 0.35;
  font-size: 16px;
}

.lv-check-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.lv-check-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #677078;
  line-height: 1.5;
  transition: background 0.2s ease;
}
.lv-check-grid li:hover {
  background: #f4f8fc;
}
.lv-check-grid li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef7fc;
  color: var(--lv-blue);
  font-size: 12px;
  flex-shrink: 0;
}

/* Applications — bordered card variant (the plain "list_heading" checklist
   right below it deliberately stays the flat style above, per design). */
.lv-check-grid--cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lv-check-grid--cards li {
  background: #fff;
  border: 1px solid var(--lv-border);
  align-items: flex-start;
}
.lv-check-grid--cards li:hover {
  background: #fff;
  border-color: #d7e6f5;
  box-shadow: 0 10px 24px rgba(15,41,66,0.08);
}
@media (max-width: 991px) {
  .lv-check-grid--cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lv-check-grid--cards { grid-template-columns: 1fr; }
}

/* Supporting photo + pull-quote banner — replaces a plain photo-with-caption,
   shown on every product page. Image left, solid blue quote panel right,
   stacking on narrow screens. */
.lv-banner {
  display: flex;
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15,41,66,0.10);
  min-height: 260px;
}
.lv-banner-image { flex: 1 1 58%; }
.lv-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lv-banner-quote {
  flex: 1 1 42%;
  background: var(--lv-blue);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lv-banner-quote .fa-quote-left {
  font-size: 28px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.lv-banner-quote p {
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}
.lv-banner-underline {
  display: block;
  width: 40px;
  height: 3px;
  background: #ffda44;
  border-radius: 2px;
  margin-top: 18px;
}
@media (max-width: 767px) {
  .lv-banner { flex-direction: column; min-height: 0; }
  .lv-banner-image img { height: 220px; }
  .lv-banner-quote { padding: 26px; }
}

/* Features / Benefits / extra_sections — paired two-at-a-time into a soft
   panel, matching whatever combination a given product actually has. */
.lv-panel {
  background: #f4f8fc;
  border-radius: 12px;
  padding: 32px;
  margin: 36px 0;
}
.lv-panel--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.lv-panel--pair .lv-panel-col:first-child {
  border-right: 1px solid var(--lv-border);
  padding-right: 40px;
}
.lv-panel--pair .lv-panel-col:last-child {
  padding-left: 0;
}
.lv-panel .lv-h3 { margin-top: 0; }
@media (max-width: 767px) {
  .lv-panel--pair { grid-template-columns: 1fr; gap: 30px 0; }
  .lv-panel--pair .lv-panel-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--lv-border);
    padding-right: 0;
    padding-bottom: 30px;
  }
}

.lv-dot-list { list-style: none; margin: 0; padding: 0; }
.lv-dot-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: #677078;
  line-height: 1.6;
}
.lv-dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lv-dot-blue li::before { background: var(--lv-blue); }
.lv-dot-yellow li::before { background: #ffda43; }

.lv-table th, .lv-table td { color: #677078; }
.lv-table thead th { background: #f4f5f8; color: #2a2a2a; }

/* The theme's .wrapper has overflow:hidden, which silently disables position:sticky for
   everything inside it. overflow:clip hides overflow the same way without making the
   wrapper a scroll container, so the product sidebar can stay pinned while scrolling. */
.wrapper { overflow: hidden; overflow: clip; }

/* Sticky: pins below the header while the long left column scrolls past. If the sidebar is
   taller than the screen, site-overrides.js lowers `top` so its bottom edge pins instead. */
.lv-product-aside { position: sticky; top: 122px; overflow-y: hidden; }
.lv-product-aside .lv-aside-card { margin-bottom: 16px; }
.lv-product-aside .lv-spec-row { padding: 8px 0; }

/* Service pages: the left-hand service list + "Talk to our team" box stay pinned below the
   header the same way (top is refined by site-overrides.js). */
.row.services-sidebar > .sidebar.left { position: sticky; top: 122px; overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 991px) {
  .row.services-sidebar > .sidebar.left { position: relative; top: auto; max-height: none; overflow: visible; }
}

/* Sidebars shrink in steps until they fit under the sticky header (site-overrides.js adds
   .lv-fit-1, then .lv-fit-2, only as far as needed — normal size is untouched when there's room). */
.lv-product-aside.lv-fit-1 .lv-aside-card { padding: 18px 20px; margin-bottom: 14px; }
.lv-product-aside.lv-fit-1 .lv-aside-nav { padding: 8px; }
.lv-product-aside.lv-fit-1 .lv-aside-nav ul li a { padding: 7px 14px; line-height: 1.3; }
.lv-product-aside.lv-fit-1 .lv-spec-row { padding: 6px 0; }
.lv-product-aside.lv-fit-1 .lv-aside-cta { padding: 20px 20px; margin-bottom: 14px; }
.lv-product-aside.lv-fit-1 .lv-aside-cta p { margin-bottom: 14px; }

.lv-product-aside.lv-fit-2 .lv-aside-card { padding: 12px 16px; margin-bottom: 8px; }
.lv-product-aside.lv-fit-2 .lv-aside-nav { padding: 5px; }
.lv-product-aside.lv-fit-2 .lv-aside-nav ul li a { padding: 5px 12px; font-size: 14px; line-height: 1.3; }
.lv-product-aside.lv-fit-2 .lv-aside-nav ul li a i { font-size: 16px; }
.lv-product-aside.lv-fit-2 .lv-aside-card-title { margin-bottom: 4px; font-size: 18px; }
.lv-product-aside.lv-fit-2 .lv-aside-card-title .lv-h3-icon { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
.lv-product-aside.lv-fit-2 .lv-spec-row { padding: 4px 0; font-size: 13px; }
.lv-product-aside.lv-fit-2 .lv-aside-cta { padding: 14px 16px; margin-bottom: 8px; }
.lv-product-aside.lv-fit-2 .lv-aside-cta h3 { font-size: 18px; margin-bottom: 6px; }
.lv-product-aside.lv-fit-2 .lv-aside-cta h3 .lv-h3-icon { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
.lv-product-aside.lv-fit-2 .lv-aside-cta p { font-size: 13px; line-height: 1.4; margin-bottom: 10px; }
.lv-product-aside.lv-fit-2 .lv-aside-cta .btn { height: 40px; line-height: 40px; padding: 0 16px; font-size: 14px; }

/* Service pages: the theme adds 80px of padding above and below this column — trim it first. */
.row.services-sidebar > .sidebar.left.lv-fit-1 { padding-top: 50px; padding-bottom: 20px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 { padding-top: 30px; padding-bottom: 10px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 .sidebar-blog-categories { margin-bottom: 24px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 .sidebar-blog-categories ul li a { padding: 16px 26px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 .sidebar-fact { padding: 16px 22px 20px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 .sidebar-fact h3 { margin-bottom: 12px; }
.row.services-sidebar > .sidebar.left.lv-fit-2 .sidebar-fact p { margin-bottom: 14px; }

/* "All products" list — same idea as the left-hand nav on the service pages. */
.lv-aside-nav { padding: 10px; margin-top:20px; }
.lv-aside-nav ul { list-style: none; margin: 0; padding: 0; }
.lv-aside-nav ul li { margin: 0; padding: 0; }
.lv-aside-nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 8px;
  font-family: "Roboto";
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #2a2a2a;
  transition: background .15s, color .15s;
}
.lv-aside-nav ul li a i { color: #9aa5b8; font-size: 18px; transition: color .15s, transform .15s; }
.lv-aside-nav ul li a:hover { background: #eef3fc; color: var(--lv-blue); }
.lv-aside-nav ul li a:hover i { color: var(--lv-blue); transform: translateX(2px); }
.lv-aside-nav ul li.is-active a { background: var(--lv-blue); color: #fff; font-weight: 700; }
.lv-aside-nav ul li.is-active a i { color: #ffda43; }
.lv-aside-image {
  width: 90%;
  /* Same frame for every product photo; the whole picture is shown (never cropped) and any
     leftover space is filled with a soft neutral, so all pages line up at one height. */
  /*aspect-ratio: 3 / 2;*/
  height: auto;
  object-fit: contain;
  /*background: #f4f6fa;*/
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15,41,66,0.10);
  margin-bottom: 24px;
}

.lv-aside-card {
  background: #fff;
  border: 1px solid var(--lv-border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.lv-aside-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Roboto";
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--lv-blue);
}
.lv-aside-card-title .lv-h3-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
}
.lv-spec-list { margin: 0; }
.lv-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--lv-border);
  font-size: 14px;
}
.lv-spec-row:first-child { border-top: none; }
.lv-spec-row dt { color: var(--lv-muted); margin: 0; }
.lv-spec-row dd { color: #2a2a2a; font-weight: 500; margin: 0; text-align: right; }

.lv-aside-cta {
  background: var(--lv-blue);
  border-radius: 10px;
  padding: 28px 24px;
  color: #dbe7f9;
}
.lv-aside-cta h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Roboto";
  font-weight: bold;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 15px;
}
.lv-aside-cta h3 .lv-h3-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.lv-aside-cta p { color: #c9d4e0; font-size: 14px; margin: 0 0 20px; }

/* Same yellow as the theme's own .sidebar-fact a.btn (the original
   "Request this product" / "Request a Quote" button color), scoped so it
   doesn't affect .btn-primary elsewhere (e.g. the header's quote button). */
.lv-aside-cta .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffda44;
  color: #544d33;
}
.lv-aside-cta .btn.btn-primary:hover {
  background: #f7cd22;
  color: #544d33;
}

/* Icon badge on a colored background (sidebar CTA heading) — translucent
   white circle instead of the light-blue one used everywhere else, since the
   badge sits on the blue box itself. */
.lv-h3-icon--onblue {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.lv-related { margin: 40px 0 20px; text-align: left; }
.lv-related-grid, .lv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.lv-card-grid { margin-top: 40px; margin-bottom: 40px; }

.lv-related-card, .lv-card {
  display: block;
  background: #fff;
  border: 1px solid var(--lv-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,41,66,0.05);
  transition: 0.25s ease all;
}
.lv-related-card:hover, .lv-card:hover {
  box-shadow: 0 18px 44px rgba(15,41,66,0.14);
  transform: translateY(-3px);
}
.lv-related-card img, .lv-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.lv-related-card-body, .lv-card-body { padding: 20px 22px 24px; }
.lv-related-card-body h4, .lv-card-body h4 {
  font-family: "Roboto";
  font-weight: bold;
  color: var(--lv-blue);
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 8px;
}
.lv-related-card-body p, .lv-card-body p {
  color: #677078;
  font-size: 14px;
  margin: 0 0 14px;
}
/* Matches the theme's own a.link ("Read More") styling. */
.lv-related-link {
  font-family: "Roboto";
  color: #ffbe00;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}
.lv-related-link i { margin-left: 4px; font-size: 12px; }
.lv-related-card:hover .lv-related-link,
.lv-card:hover .lv-related-link { color: #194ABA; }

@media (max-width: 991px) {
  .lv-product-aside { margin-top: 40px; position: static; }
  .lv-related-grid, .lv-card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lv-check-grid { grid-template-columns: 1fr; }
  .lv-related-grid, .lv-card-grid { grid-template-columns: 1fr; }
}


/* ---------- 7. Industries page — card grid in the same style as the product "Related"
   cards (image on top, blue title, the theme's own yellow-dot gas list), three across,
   with "Others" as a second group. Content/photos come from the previous live site. ---------- */

.lv-ind-intro { max-width: 900px; margin: 10px 0 8px; }
.lv-ind-intro .lv-h2 { font-size: 34px; }
@media (max-width: 767px) {
  .lv-ind-intro .lv-h2 { font-size: 26px; }
}

.lv-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 30px 0 10px;
}
.lv-ind-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--lv-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,41,66,0.05);
  transition: 0.25s ease all;
}
.lv-ind-card:hover {
  box-shadow: 0 18px 44px rgba(15,41,66,0.14);
  transform: translateY(-3px);
}
.lv-ind-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 175;
  object-fit: cover;
}
.lv-ind-body { padding: 20px 22px 24px; flex: 1; }
.lv-ind-body h4 {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
  color: var(--lv-blue);
  margin: 0 0 14px;
}
.lv-ind-body .vision ul li {
  padding: 9px 0 9px 30px;
  font-size: 15px;
  line-height: 1.5;
}
.lv-ind-body .vision ul li:first-child { padding-top: 0; }
.lv-ind-body .vision ul li i.fa { line-height: 1.5; font-size: 16px; }
.lv-ind-group { margin-top: 46px; }
.lv-ind-more {
  margin: 6px 0 0;
  text-align: right;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: var(--lv-blue);
}

@media (max-width: 991px) {
  .lv-ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lv-ind-grid { grid-template-columns: 1fr; }
}


/* Careers page: a single team photo fills the whole framed box (the theme's fixed
   230px height was sized for two side-by-side photos and would crop one wide photo). */
.company-images--single .company-image-one img {
  height: auto;
  max-height: 440px;
  object-fit: cover;
}


/* ---------- 8. Custom icon sets ---------- */

/* Home "Products & Services": the SVGs carry their own 78px yellow frame, so the theme's
   border on .img-box would double it up. */
.services-other .img-box--svg { border: 0; line-height: 0; }
.services-other .img-box--svg img { display: block; width: 78px; height: 78px; }

/* About -> Quality Policy: two-column cards, round icon on the left. */
.lv-qp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
.lv-qp-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--lv-border);
  border-radius: 10px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15,41,66,0.05);
  transition: 0.25s ease all;
}
.lv-qp-card:hover {
  box-shadow: 0 18px 44px rgba(15,41,66,0.14);
  transform: translateY(-3px);
}
.lv-qp-icon { flex-shrink: 0; width: 78px; height: 78px; }
.lv-qp-card h4 {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 19px;
  line-height: 1.3;
  color: var(--lv-blue);
  margin: 4px 0 8px;
}
.lv-qp-card p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 767px) {
  .lv-qp-grid { grid-template-columns: 1fr; }
}

.lv-aside-img-ovr{
    height: 240px;
    object-fit: contain;
}

/* ---------- 9. "Inquire Now" side tab + slide-in contact panel ---------- */

.lv-inquiry-tab {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 900;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: var(--lv-blue);
  color: #fff;
  border: 0;
  border-radius: 0 8px 8px 0; /* rotated 180deg, so this lands on the outer (left) side */
  padding: 22px 12px;
  font-family: "Roboto Condensed";
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(7,29,71,0.28);
  transition: background .2s ease, padding .2s ease;
}
.lv-inquiry-tab:hover, .lv-inquiry-tab:focus { background: var(--lv-blue-dark); padding-left: 16px; outline: none; }

.lv-inquiry-overlay {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(7,29,71,0.55);
  opacity: 0;
  transition: opacity .3s ease;
}
.lv-inquiry-overlay.lv-open { opacity: 1; }

/* Centered popup (modal) with a soft fade/scale-in. */
.lv-inquiry-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2000;
  width: 860px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -46%) scale(.96);
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  box-shadow: 0 24px 70px rgba(7,29,71,0.35);
}
.lv-inquiry-panel.lv-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  transition: opacity .25s ease, transform .25s ease;
}
body.lv-inquiry-active { overflow: hidden; }

.lv-inquiry-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: #677078;
  cursor: pointer;
}
.lv-inquiry-close:hover { color: var(--lv-blue); }
.lv-inquiry-panel h2 {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 30px;
  color: var(--lv-blue);
  margin: 0 0 6px;
}
.lv-inquiry-panel h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ffda44;
  border-radius: 2px;
  margin-top: 12px;
}
.lv-inquiry-lead { margin: 16px 0 22px; font-size: 15px; }

.lv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lv-inq-field { margin-bottom: 16px; }
.lv-inq-field label { display: block; font-size: 14px; color: #2a2a2a; font-weight: 500; margin-bottom: 6px; }
.lv-inq-field label span { color: var(--lv-muted); font-weight: 400; }
.lv-inq-field input, .lv-inq-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #d5dde8;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 15px;
  color: #23303d;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lv-inq-field input:focus, .lv-inq-field textarea:focus {
  outline: none;
  border-color: var(--lv-blue);
  box-shadow: 0 0 0 3px rgba(9,62,182,0.12);
}
.lv-inq-field textarea { resize: vertical; min-height: 96px; }
.lv-inq-error { display: block; color: #b3261e; font-size: 13px; margin-top: 4px; }
.lv-inq-field.lv-has-error input, .lv-inq-field.lv-has-error textarea { border-color: #b3261e; }

.lv-inq-status { margin: 0 0 12px; font-size: 14px; }
.lv-inq-status--error { color: #b3261e; background: #fdecea; border-radius: 6px; padding: 10px 14px; }
.lv-inq-submit { min-width: 140px; }
.lv-inq-submit:disabled { opacity: .7; cursor: wait; }

.lv-inq-done { text-align: center; padding: 50px 10px 10px; }
.lv-inq-done .fa { font-size: 54px; color: #1e9e4a; margin-bottom: 14px; }
.lv-inq-done h3 { font-family: "Roboto"; font-weight: bold; color: var(--lv-blue); font-size: 26px; margin: 0 0 10px; }
.lv-inq-done p { margin-bottom: 24px; }
.lv-inquiry-panel [hidden] { display: none !important; }

@media (max-width: 600px) {
  .lv-inquiry-tab { padding: 16px 10px; font-size: 14px; }
}


/* ---------- 10. Footer credit line ---------- */
.lv-credit {
  margin-top: 4px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.lv-credit a { color: #ffda44; font-weight: bold; }
.lv-credit a:hover { color: #fff; }
.lv-credit a { display: inline-block; vertical-align: middle; margin-left: 6px; line-height: 0; }
.lv-credit img { display: block; width: 75px; height: auto; opacity: .95; transition: opacity .2s ease; }
.lv-credit a:hover img { opacity: 1; }


/* Popup, two-part layout: photo panel on the left, form on the right. */
.lv-inq-media {
  position: relative;
  background: var(--lv-navy);
  color: #fff;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
}
.lv-inq-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.lv-inq-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,29,71,0.25) 0%, rgba(7,29,71,0.92) 100%);
}
.lv-inq-media-body { position: relative; z-index: 1; padding: 34px 30px 30px; }
.lv-inq-eyebrow {
  display: inline-block;
  background: #ffda44;
  color: #544d33;
  font-family: "Roboto Condensed";
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.lv-inq-media h3 {
  font-family: "Roboto";
  font-weight: bold;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 18px;
}
.lv-inq-media ul { list-style: none; margin: 0 0 22px; padding: 0; }
.lv-inq-media li { color: #e3ecfa; font-size: 14px; line-height: 1.5; margin-bottom: 9px; padding-left: 24px; position: relative; }
.lv-inq-media li i { position: absolute; left: 0; top: 3px; color: #ffda44; font-size: 13px; }
.lv-inq-contact { border-top: 1px solid rgba(255,255,255,0.22); padding-top: 16px; }
.lv-inq-contact a { display: block; color: #fff; font-size: 14px; margin-bottom: 6px; word-break: break-all; }
.lv-inq-contact a:hover { color: #ffda44; }
.lv-inq-contact i { width: 20px; color: #ffda44; }

.lv-inq-main { padding: 36px 36px 30px; max-height: calc(100vh - 32px); overflow-y: auto; }

@media (max-width: 767px) {
  .lv-inquiry-panel { width: 480px; grid-template-columns: 1fr; }
  .lv-inq-media { display: none; }
  .lv-inq-main { padding: 30px 22px 26px; }
}

/* Product page: Features/Benefits/extra sections are individual boxes in the main column. */
.lv-product-main .lv-panel { margin: 28px 0 0; padding: 26px 28px; }

/* Careers: the application form sits beside the "Our Team" text. */
.careers-apply h2.title-2 { font-size: 30px; line-height: 1.1; margin: 0 0 25px; }
.careers-apply .alert { margin-bottom: 20px; }

/* Customer logos (components/customer-logos.php) — home page + About page */
.lv-customers { padding: 60px 0; background: #f7f9fc; }
.lv-customers .section-title { margin-bottom: 34px; }
.lv-customers-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.lv-customers-grid li {
  flex: 0 0 calc(16.666% - 15px); /* 6 per row on desktop (11 logos = 6 + 5) */
  height: 110px; padding: 20px 24px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--lv-border); border-radius: 8px;
  transition: box-shadow .2s, transform .2s;
}
.lv-customers-grid li:hover { box-shadow: 0 6px 18px rgba(7,29,71,.10); transform: translateY(-2px); }
.lv-customers-grid img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .75; transition: filter .2s, opacity .2s;
}
.lv-customers-grid li:hover img { filter: none; opacity: 1; }
@media (max-width: 991px) { .lv-customers-grid li { flex-basis: calc(25% - 14px); } }
@media (max-width: 767px) { .lv-customers { padding: 44px 0; } .lv-customers-grid { gap: 12px; } .lv-customers-grid li { flex-basis: calc(33.333% - 8px); height: 90px; padding: 14px 16px; } }
@media (max-width: 480px) { .lv-customers-grid li { flex-basis: calc(50% - 6px); } }
