/* ========== 202603 BASE TYPOGRAPHY (NO CHANGES) ========== */
body,
.main { 
	 font-family: Segoe UI, Roboto, Open Sans, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2a33;
  text-align: left; 
  margin: 0;
  padding: 0;
}
p {
  font-size: 1rem; 
  line-height: 1.7;
  margin: 0 0 1rem 0;
  color: #374151;
}

.tiny { font-size: 10px; }
.seminar { font-size: 10px; color: #000; }
.seminarbody { font-size: 10px; color: #333; }
.heading { font-size: 24px; font-weight: bold; }
.heading2, .subheading { font-size: 16px; font-weight: bold; }
.subheading3 { font-size: 10px; font-weight: bold; color: #666; }
.subheading2 { font-size: 14px; font-weight: bold; font-family: Roboto, Open Sans; }
.mainW { font-size: 12px; color: #fff; }

/* existing class updates */
.tableHeading {
  background-color: #f3f4f6;
  color: #111827;
  font-weight: 600;
}

.thead1 {
  font-weight: bold;
  color: #fff;
  background-color: #283c50;
}

.thead2 {
  font-weight: bold;
  color: #111827;
  background-color: #e5e7eb;
}

/* improve legacy table presentation */
table.main {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table.main td,
table.main th {
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

table.main td {
  border-bottom: 1px solid #eee;
}

/* make class-based header cells feel like modern headers */
table.main .thead1,
table.main .thead1 td,
table.main .thead1 th {
  background-color: #283c50;
  color: #fff;
}

table.main .thead2,
table.main .thead2 td,
table.main .thead2 th,
table.main .tableHeading,
table.main .tableHeading td,
table.main .tableHeading th {
  color: #111827;
}

/* links inside dark headers stay readable */
table.main .thead1 a,
table.main .thead1 td a,
table.main .thead1 th a {
  color: #fff;
}

/* ========== LINK STYLES (NO CHANGES) ========== */
a:link { text-decoration: none; color: #283c50; }
a:visited { text-decoration: none; color: #003366; }
a:hover { text-decoration: underline; }
a.mm, a.mm:visited { font-size: 10px; font-weight: bold; color: #fff; }
a.mm:hover { color: #fff; }
a.sm, a.sm:visited { font-size: 10px; color: #000; }
a.sm:hover { color: #283c50; }
a.i, a.i:visited { font-size: 12px; font-weight: bold; color: #ff4650; }
a.i:hover { text-decoration: underline; font-size: 14px; }
a.seminar, a.seminar:visited { font-size: 12px; font-weight: bold; color: #ff4650; }
a.seminar:hover { text-decoration: underline; }
a.register, a.register:visited { font-size: 12px; font-weight: bold; color: #283c50; }
a.register:hover { text-decoration: underline; }

/* ========== LAYOUT STYLES - TOP NAV ========== */
.top-nav {
    background-color: #283c50;
    padding: 0.5rem 0;
    position: relative;
    min-height: 60px;
}
.top-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    --header-height: 60px;
}
.top-nav .logo {
    margin-right: auto;
    flex-shrink: 0;
    max-width: 200px;
}
.top-nav .logo img {
    width: 100%;
    height: auto;
    display: block;
}
.top-nav nav {
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}
.nav-menu > li {
    position: relative;
}
.nav-menu > li > a {
    display: block;
    padding: 1rem 1rem;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}
.nav-menu > li:hover > a {
    background-color: #ff4650;
}

/* Dropdowns */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #D3D3D3;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 9999;
    top: 100%;
    left: 0;
    min-width: 400px;
    gap: 2rem;
    cursor: default;
    flex-direction: row;
    /* FIX: Prevent overflowing on smaller desktops */
    max-width: 100vw; /* don't exceed viewport width */
    overflow-x: auto; /* allow horizontal scroll inside dropdown if absolutely needed */
    box-sizing: border-box; /* include padding in width */
}
/* === FIX FOR SMALLER DESKTOPS/TABLETS === */
@media (max-width: 1023px) {
    .dropdown-content {
        min-width: unset;           /* remove fixed min-width */
        flex-wrap: wrap;            /* allow columns to wrap instead of overflow */
        justify-content: flex-start;
        max-width: calc(100vw - 20px); /* small padding from viewport edge */
        overflow-x: hidden;         /* no horizontal scroll bar on page */
    }
    .dropdown-content .column {
        flex: 1 1 200px; /* columns adapt to space */
    }
}

.dropdown-content h4 {
    margin-bottom: 0.5rem;
    color: #000; /* Keep this as #000 for the first column's H4 */
    font-size: 1rem;
    font-weight: normal; /* Removed bolding */
    display: inline;    /* Changed display to inline */
}
.dropdown-content a {
    color: #000; /* Keep this as #000 for the first column's links */
    padding: 0.25rem 0;
    text-decoration: none;
    font-size: 0.75rem;
}

/* === NEW RULES FOR MANUFACTURER COLUMN ONLY === */
.js-manufacturer-column h4 {
    color: #333; /* Specific color for H4 in manufacturer column */
}
.js-manufacturer-column a {
    color: #333; /* Specific color for links in manufacturer column */
}
.two-column .column {
    display: flex;

}
.dropdown-content a:hover {
    text-decoration: underline;
}

/* Toggle icon for dropdowns (hidden by default on desktop) */
.dropdown > a .toggle-icon,
.mobile-secondary-toggle .toggle-icon {
    display: none;
}
/* Desktop dropdown columns */
@media (min-width: 769px) {
  .dropdown-content.two-column .column {
    display: flex;
    flex-direction: column;
    min-width: 220px;
  }

  .dropdown-content.two-column a {
    display: block;
    white-space: normal;
  }
}

/* ========== SECONDARY BAR ========== */
.secondary-bar {
    background-color: #949EA8;
    padding: 0.9rem 0;
}
.secondary-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}
.secondary-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.secondary-links a {
    color: #000;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.secondary-links a:hover {
    text-decoration: underline;
}
/* Contact Us button style */
.secondary-links .secondary-cta{
    background: #ffffff;
    color: #283c50;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Hover state */
.secondary-links .secondary-cta:hover{
    background: #ff4650;
    color: #ffffff;
}
.secondary-links .secondary-cta{
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.secondary-links .secondary-cta:hover{
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.secondary-phone-numbers {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}
.secondary-phone-numbers .phone-number {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}
.secondary-phone-numbers .phone-number:hover {
    text-decoration: underline;
}

/* ========== MAIN + FOOTER  ========== */
.main-content {
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}
.main-content .container {
    padding: 0;
    margin: 0;
    width: 100%;
}
.footer-office p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.footer {
    width: 100%;
    background-color: #283C50;
    color: #fff;
}
.footer-inner {
    margin: 0 auto;
    padding: 2.5rem 1rem;
    box-sizing: border-box;
    text-align: center;
}

/* ========== RESPONSIVE RULES ========== */

/* Desktop Styles (min-width: 1024px) */
@media (min-width: 1024px) {
    .top-nav-inner,
    .secondary-bar-inner,
    .main-content,
    .footer-inner {
        max-width: calc(100% - 400px); /* 200px margins on larger screens */
    }

    .nav-menu {
        display: flex !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    /* Hide the mobile-only secondary sections on desktop */
    .nav-menu .mobile-secondary-section {
        display: none !important;
    }

    /* Desktop dropdowns: show on hover */
    .dropdown:hover > .dropdown-content { /* Added > for direct child */
        display: flex;
    }
    /* Ensure it's hidden if .open class lingers from mobile state */
    .dropdown.open > .dropdown-content {
        display: none;
    }

    /* Manufacturer column specific changes for desktop */
    .dropdown-content .js-manufacturer-column {
        display: none; /* Hidden by default on desktop within the opened dropdown */
        /* You can add a subtle transition here if you want it to fade in/out */
        /* transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out; */
        opacity: 0;
        visibility: hidden;
    }
    .dropdown-content .js-manufacturer-column.manufacturers-visible {
        display: flex !important; /* Force it to show when trigger is hovered (via JS) */
        opacity: 1;
        visibility: visible;
    }
}

/* General Desktop (larger than mobile, smaller than 1024px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .top-nav-inner,
    .secondary-bar-inner,
    .main-content,
    .footer-inner {
        max-width: 960px;
        padding: 0 1rem;
    }
    /* Hide the mobile-only secondary sections on this range too */
    .nav-menu .mobile-secondary-section {
        display: none !important;
    }

    /* Desktop dropdowns for this range: show on hover, hide when 'open' */
    .dropdown:hover > .dropdown-content {
        display: flex;
    }
    .dropdown.open > .dropdown-content {
        display: none;
    }
    
    /* Manufacturer column specific changes for mid-desktop */
    .dropdown-content .js-manufacturer-column {
        display: none; /* Hidden by default on desktop within the opened dropdown */
        opacity: 0;
        visibility: hidden;
    }
    .dropdown-content .js-manufacturer-column.manufacturers-visible {
        display: flex !important;
        opacity: 1;
        visibility: visible;
    }
}
/* Smart max-height + scroll for tall dropdowns on desktop */
@media (min-width: 769px) {
 .dropdown-content {
  max-height: none;
  overflow: visible;
}
	.js-manufacturer-column{
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
	.js-manufacturer-column::-webkit-scrollbar{
  width:6px;
}

.js-manufacturer-column::-webkit-scrollbar-thumb{
  background:#bbb;
  border-radius:6px;
}

  /* Flip dropdown to open upwards when needed */
  .dropdown .dropdown-content.drop-up {
    top: auto;
    bottom: 100%; /* anchor to top of trigger */
  }

.top-nav .dropdown-content strong,
.top-nav .dropdown-content .column > strong {
  color: #fff !important;
  display: block;            /* optional, improves spacing on mobile */
  margin: 0.5rem 0;          /* optional */
  font-size: 0.8rem;
}

  /* Flip dropdown to open upwards when needed */
  .dropdown .dropdown-content.drop-up {
    top: auto;
    bottom: 100%; /* anchor to top of trigger */
  }
}
/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
  /* Force Contact Phones to the top in mobile view */
.contact-phones {
    order: -1; /* Puts it at the very top of nav-menu */
}

.nav-menu { display: flex; flex-direction: column; }

/* Give everything a neutral order first */
.nav-menu > li { order: 0; }

/* Put Contact Phones right at the top */
.nav-menu > li.mobile-secondary-section.contact-phones { order: -1000; }

/* Keep "Quick Links" at the bottom without changing HTML:
   if you can add class="mobile-secondary-section quick-links" in HTML, use this: */
.nav-menu > li.mobile-secondary-section.quick-links { order: 1000; }

/* If you can't change HTML for Quick Links, this fallback keeps it below others by default */
.nav-menu > li.mobile-secondary-section:not(.contact-phones) { order: 1000; }

  .secondary-bar { display: none !important; }

  .top-nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    min-height: var(--header-height, 60px);
  }

  .top-nav .logo { max-width: 150px; margin: 0; }

  .mobile-menu-toggle {
    display: block;
    font-size: 36px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    margin: 0;
    line-height: 1;
    z-index: 10001;
    position: relative;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    display: none;
    position: absolute;
    top: var(--header-height, 60px);
    left: 0;
    background-color: #000;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 10000;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height, 60px));
  }
  .nav-menu.show { display: flex; }

  .nav-menu > li > a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: white;
    border-bottom: 1px solid #222;
    box-sizing: border-box;
  }
  .nav-menu > li:hover > a { background-color: #333; }

  .nav-menu > li.dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }

  /* Dropdown content on mobile */
  .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
    flex-direction: column;
    background-color: #222;
    border-top: 1px solid #333;
    display: none; /* shown when parent .dropdown has .open */
    width: auto;
    min-width: unset;
    gap: 0;
    padding: 0.5rem 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dropdown-content strong {
    color: #fff;
  }
  .dropdown-content .column { flex: 1 1 100%; flex-direction: column; }
  .dropdown-content h4 { color: #fff; padding: 0.5rem 0; margin-bottom: 0; }
  .dropdown-content a { color: #ddd; padding: 0.25rem 0.5rem; }
  .dropdown-content a:hover { background-color: #383838; }

  /* Disable desktop hover behavior on mobile */
  .dropdown:hover > .dropdown-content { display: none; }
  .dropdown.open > .dropdown-content { display: flex; }

  /* Toggle icon on mobile */
  .dropdown > a .toggle-icon,
  .mobile-secondary-toggle .toggle-icon {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 1em;
    text-align: center;
  }
  .dropdown.open > a .toggle-icon,
  .mobile-secondary-section.open .mobile-secondary-toggle .toggle-icon {
    transform: rotate(45deg);
  }

  /* Manufacturer column visible on mobile */
  .dropdown-content .js-manufacturer-column {
    display: flex !important;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-content .js-manufacturer-column.manufacturers-visible {
    display: flex !important;
  }


  /* Merged Secondary Menu Items Styling (mobile only) */
  .nav-menu .mobile-secondary-section {
    display: block;
    border-top: 1px solid #222;
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .mobile-secondary-section:last-child { border-bottom: none; }
  .mobile-secondary-section .mobile-secondary-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: white;
    padding: 0.75rem 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
  }
  .mobile-secondary-section .mobile-secondary-toggle:hover {
    background-color: #333;
    text-decoration: none;
  }
  .mobile-secondary-section .mobile-secondary-content {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #222;
    border-top: 1px solid #333;
    display: none;
  }
  .mobile-secondary-section.open .mobile-secondary-content { display: block; }
  .mobile-secondary-section .mobile-secondary-content li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #ddd;
    text-decoration: none;
  }
  .mobile-secondary-section .mobile-secondary-content li a:hover {
    background-color: #383838;
    text-decoration: underline;
  }
} /* <-- properly close the mobile block */

/* Desktop/Tablet — anchor right-edge menus to the right so they never overflow */
@media (min-width: 769px) {
  .dropdown--right .dropdown-content {
    left: auto;
    right: 0;
  }
}

/* Prevent long labels from forcing overflow (all sizes) */
.dropdown-content { white-space: normal; }

/* (Optional) final safety guard if any layout still pushes width */
html, body { overflow-x: hidden; }

/* Prevent footer from floating up the page */
.main-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Remove blue background from H1s */
.main-content h1 {
  background: transparent !important;
  color: #000 !important;
}

/* template transition fixes */
.legacy-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.legacy-header-right img{
  max-width: 100%;
  height: auto;
  padding: 12px;
}

.legacy-description,
.legacy-specs{
  margin-bottom: 16px;
}
/* =========================================================
   HOMEPAGE (2025 template) — Flexbox/Module Layout
   Add to bottom of css-2025.css
   ========================================================= */

/* Hide legacy template header blocks on the homepage only */
.page-home .legacy-header,
.page-home .legacy-description,
.page-home .legacy-specs,
.page-home .intro > .heading,
.page-home .intro > .tiny {
  display: none !important;
}

/* Base homepage sizing (your global body is 12px; bump homepage readability) */
.home-page {
  font-size: 16px;
  line-height: 1.5;
  padding: 0 0 3rem 0; /* keep main-content padding working as-is */
}

/* Constrain homepage content nicely inside existing main-content max widths */
.home-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 0;
}

/* Headings */
.home-page h1,
.home-page h2,
.home-page h3 {
  margin: 0 0 0.75rem 0;
  color: #111;
  line-height: 1.15;
}

.home-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.home-page h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.home-page h3 { font-size: 1.125rem; }

/* Links */
.home-page a { color: inherit; }
.text-link {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}
.text-link:hover { text-decoration: underline; }

/* Section spacing + dividers */
.home-section {
  border-top: 1px solid #e8e8e8;
  margin-top: 2rem;   /* space above divider */
}

/* First content section after hero */
.home-hero + .home-section {
  margin-top: 2.5rem;  /* slightly stronger separation */
}
.home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: #ff4650;
  color: #fff;
}
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary {
  background: #fff;
  border-color: #d0d0d0;
  color: #ffffff;
}
.btn-secondary:hover { background: #EAECF0; }

/* HERO */
.home-hero {
  background: linear-gradient(180deg, #EAECF0 0%, #ffffff 70%);
}
.home-hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.75rem 0;
}
.home-hero-copy { flex: 1 1 55%; }
.home-hero-media { flex: 1 1 45%; }

/* HERO rotator */
.hero-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 520; /* keeps layout stable while images load */
  border-radius: 18px;
  overflow: hidden;
}

.hero-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* change to contain if you prefer */
  opacity: 0;
  transition: opacity 450ms ease;
  display: block;
}

.hero-rotator img.is-active {
  opacity: 1;
  z-index: 1;
}
/* Make hero inner a stacked layout: top row + bottom row */
.home-hero-inner{
  display: block; /* ensures bottom row sits under main row */
}

/* TOP ROW layout: copy + image */
.home-hero-main{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

/* BOTTOM ROW boxes (same list, new positioning) */
.home-quickfacts--bottom{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid #e8e8e8;
}

/* Box styling (only for the bottom-row quickfacts) */
.home-quickfacts--bottom li{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.home-quickfacts--bottom strong{
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.home-quickfacts--bottom span{
  display: block;
  color: #555;
  font-size: 1.50rem;
}

/* Responsive */
@media (max-width: 900px){
  .home-hero-main{
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-quickfacts--bottom{
    grid-template-columns: 1fr;
  }
}
/* Quickfact item layout: icon left, text right */
.home-quickfacts--bottom .qf{
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.home-quickfacts--bottom .qf-icon{
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(40,60,80,0.08); /* subtle */
}

.home-quickfacts--bottom .qf-icon-img{
  width:30px;
  height:30px;
  display:block;
}
/* If you want headings and text aligned nicely */
.home-quickfacts--bottom .qf strong{
  display: block;
  line-height: 1.15;
}
.home-quickfacts--bottom .qf span{
  line-height: 1.25;
}

/* About section (text only) */
.home-about {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.home-about .container {
  /* Keeps it aligned with the rest of the homepage */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  box-sizing: border-box;
}

.home-about__inner {
  width: 100%;
  max-width: 1100px;              /* increase width (was 900px) */
  margin: 0 auto;                 /* center the card */
  background: rgba(40, 60, 80, 0.7);
  border-radius: 28px;            /* rounded edges */
  padding: clamp(1.75rem, 3vw, 2.75rem);
  color: #fff;                    /* force white text */
}

.home-about h2 {
  margin: 0 0 1rem 0;
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.home-about p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
}

.home-about p.home-about__lead {
  font-size: 1.125rem;            /* slightly larger first paragraph */
  line-height: 1.65;
  color: rgba(255,255,255,0.98);
}

.home-about__actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;      /* bottom-right */
}
/* Mobile: button drops below text, no absolute positioning */
@media (max-width: 700px) {
  .home-about {
    padding: 2.25rem 0;
  }

  .home-about__content {
    padding-right: 0;
  }

  .home-about__actions {
    position: static;
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-rotator img { transition: none; }
}


.home-eyebrow {
  color: #444;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.home-hero-subtitle {
  color: #333;
  margin: 0 0 1.25rem 0;
  max-width: 58ch;
}
.home-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
}

.home-quickfacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-quickfacts li {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  min-width: 180px;
}
.home-quickfacts strong { display: block; font-size: 1rem; }
.home-quickfacts span { display: block; color: #555; font-size: 0.9rem; }

/* 2-col content blocks */
.home-two-col {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.home-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.home-content { flex: 1; }
.home-media { flex: 1; }

.home-inline-cta {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Grids */
.home-grid {
  display: grid;
  gap: 1rem;
}


.home-grid-6 {
  grid-template-columns: repeat(6, 1fr);
}
.home-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.card-category {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 140px;
}
.card-category:hover { border-color: #d0d0d0; transform: translateY(-1px); }

/* Category cards with product images */
.card-category {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
/* Newsletter CTA section */
.home-newsletter {
  background: #697785;
  border-top: none;        /* no divider line here */
  margin-top: 3rem;
}

.home-newsletter .home-wrap {
  padding: 1rem 0;        /* reduced height vs other sections */
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.newsletter-copy {
  flex: 1 1 45%;
  color: #fff;
}

.newsletter-copy h2 {
  max-width: 30ch;   /* controls where it wraps */
  color: #fff;
  margin-bottom: 0.5rem;
}

.newsletter-copy p {
  color: rgba(255,255,255,0.9);
  max-width: 42ch;
}

/* --- Campaign Monitor form layout overrides --- */

/* Put Name + Email side-by-side */
#subForm .sc-cSHVUG.jZSLFe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Remove the per-field bottom margin when in a row */
#subForm .sc-cSHVUG.kXIIFK {
  margin-bottom: 0;
}

/* Keep a little spacing below the row before the button */
#subForm .sc-cSHVUG.jZSLFe {
  margin-bottom: 1.25rem; /* tweak as needed */
}

/* Stack on mobile */
@media (max-width: 640px) {
  #subForm .sc-cSHVUG.jZSLFe {
    grid-template-columns: 1fr;
  }

  #subForm .sc-cSHVUG.kXIIFK {
    margin-bottom: 1rem;
  }
}

/* --- Button restyle --- */
#subForm .js-cm-submit-button.fClqPV {
  background: #fff !important;
  border: 1px solid #d0d0d0 !important;
  color: #283c50 !important;            /* change if you want pure black */
  border-radius: 3px;
}

/* Hover */
#subForm .js-cm-submit-button.fClqPV:hover {
  background: #EAECF0 !important;
  cursor: pointer;
}
/* Remove white container around Campaign Monitor form */
.iIDDUy {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  box-shadow: none !important;
}
#subForm {
  margin-top: 1rem;
}

#subForm input {
  background: #fff; /* keep inputs readable */
}

.card-category .card-image {
  width: 100%;
  aspect-ratio: 4 / 3;      /* consistent image height */
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Remove Campaign Monitor divider line */
.kGKhzg {
  display: none !important;
}
/* Strengthen form field labels */
#subForm label.sc-gzVnrw {
  font-size: 0.95rem;       /* slightly larger */
  font-weight: 600;         /* stronger */
  color: #ffffff;           /* white on grey background */
  letter-spacing: 0.01em;
}

.card-category .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* product-friendly */
  padding: 0.5rem;         /* breathing room */
  transition: transform 0.25s ease;
}

.card-category:hover .card-image img {
  transform: scale(1.04);
}


.card-article img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body { padding: 1rem; }
.meta {
  margin: 0 0 0.5rem 0;
  color: #666;
  font-size: 0.9rem;
}
.card-article h3 { margin-bottom: 0.5rem; }
.card-article h3 a { text-decoration: none; }
.card-article h3 a:hover { text-decoration: underline; }

.card-article {
  display: flex;
  flex-direction: column;
}

.card-article .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.card-article .card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Feature blocks */
.feature-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #EAECF0;
  border: 1px solid #ededed;
  border-radius: 20px;
  padding: 1.25rem;
}
.feature-copy {
  flex: 1 1 55%;
  padding-right: 1rem;
}
/* Add internal spacing for text inside feature blocks */
.feature-block .feature-copy {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.feature-product .feature-copy {
  padding-right: 0;
  padding-left: 1rem;
}
.feature-media { flex: 1 1 45%; }

.feature-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Space feature blocks away from section divider */
.home-section > .home-wrap.feature-block {
  margin-top: 2rem;
}

.kicker {
  margin: 0 0 0.5rem 0;
  color: #555;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.spec-list {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
}
.spec-list li { margin: 0.35rem 0; }

/* Add vertical separation between stacked feature blocks */
.home-section + .home-section .feature-block {
  margin-top: 2rem;
}


.home-grid-6 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

/* Responsive */
@media (max-width: 1023px) {
  .home-wrap { padding: 1.75rem 0; }
  .home-hero-inner,
  .home-two-col,
  .feature-block {
    flex-direction: column;
    align-items: stretch;
  }
  .home-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .home-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .home-page { font-size: 15px; }
  .home-quickfacts li { min-width: unset; width: 100%; }
}

/* The template's .main-content already adds side padding.
   Keep homepage wrappers aligned by not adding extra horizontal padding. */
.page-home .home-wrap {
  padding-left: 0;
  padding-right: 0;
}
/* Force white text on primary buttons */
.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  color: #fff !important;
}
/* FORCE the hero wrapper to stack rows (prevents the quickfacts sitting in left column) */
.home-hero .home-hero-inner{
  display: flex;
  flex-direction: column;
}

/* Keep your top row (copy + image) as a 2-col grid */
.home-hero .home-hero-main{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

/* Bottom row: make it span full width and sit ABOVE the separator line */
.home-hero .home-quickfacts--bottom{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;

  /* remove the old "line above boxes" */
  border-top: 0;
  padding-top: 0;

  /* put the separator line UNDER the boxes instead */
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 1.25rem;

  margin: 1.5rem 0 0;
  list-style: none;
}

/* If your CSS still treats it as a grid item somewhere, force full-span */
.home-hero .home-quickfacts--bottom{
  grid-column: 1 / -1;
}
.home-hero .home-hero-main{
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 900px){
  .home-hero .home-hero-main{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-hero .home-quickfacts--bottom{
    grid-template-columns: 1fr;
  }
}
/* ---------- Read More ---------- */
.read-more-block[data-collapsed="true"] .read-more-content {
  display: none;
}

.read-more-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.75rem;
  color: #ff4650;
  font-weight: 600;
  cursor: pointer;
}

.read-more-toggle:hover {
  text-decoration: underline;
}

/* ---------- Right column structure for this section ---------- */
.home-two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.home-side .home-inline-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.home-side .home-media {
  margin-top: 1.25rem;
}

.home-side .home-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 900px) {
  .home-two-col {
    grid-template-columns: 1fr;
  }

  .home-side .home-inline-cta {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}
html {
  scroll-behavior: smooth;
}
/* ===============================
   2025 Footer Layout
   =============================== */

.footer {
  background: #1f2937;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-grid{
  display:flex;
  gap:3rem;
  align-items:flex-start;
}
/* Each column */
.footer-col {
  flex: 1 1 33.333%;
  min-width: 0;    /* prevents content forcing wider columns */
}

.footer-office h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #ffffff;
}

.footer-office p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-logos img {
  max-height: 50px;
  width: auto;
}

.footer-social a{
  display: flex;           /* icon + text on one line */
  align-items: center;     /* vertically align */
  gap: 0.6rem;
}

.footer-social-icon{
  height: 42px;
  width: 42px;             /* keeps icons consistent */
  flex: 0 0 42px;          /* prevents stretching/shrinking */
  display: block;          /* OK now because parent is flex */
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #cbd5e1;
}
/* Brand column alignment */
.footer-brand {
  display: flex;
  justify-content: flex-end;   /* pushes logo to far right */
  align-items: flex-start;
}

.footer-brand-inner {

  max-width: 260px;   /* constrain logo size, not column width */
  margin-left: auto;  /* push logo to the right within its 1/3 */
}

.footer-brand-logo {
  width: 100%;
  height: auto;
  display: block;
}
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
/* Fix desktop dropdown column layout */
@media (min-width: 769px) {
  .dropdown-content.two-column {
    display: none;
    align-items: flex-start;
    gap: 2rem;
  }

  .dropdown:hover > .dropdown-content.two-column {
    display: flex;
  }

  .dropdown-content.two-column .column {
    display: flex;
    flex-direction: column;
    min-width: 220px;
  }

  .dropdown-content.two-column a {
    display: block;
    white-space: normal;
  }

  .dropdown-content strong,
  .dropdown-content .column > strong {
    color: #000 !important;
  }
}
/* =========================================
   CONTACT PAGE REFRESH
   ========================================= */

.contact-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 24px 72px;
}

.contact-hero {
  margin-bottom: 40px;
}

.contact-hero h1 {
  margin: 0 0 12px;
  font-size: 2.3rem;
  line-height: 1.15;
  color: #1f2f46;
}

.contact-hero p {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.contact-form-card,
.office-card {
  background: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.contact-form-card {
  padding: 32px;
}

.contact-form-card h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #1f2f46;
}

.contact-form-intro {
  margin: 0 0 24px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

.at-privacy-note {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
}

.at-required {
  color: #c62828;
  font-weight: 600;
}

.at-form-section {
  margin-bottom: 28px;
}

.at-form-section-title {
  display: block;
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2f46;
}

.at-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.at-form-group {
  display: flex;
  flex-direction: column;
}

.at-form-group.full-width {
  grid-column: 1 / -1;
}

.at-form-group label {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #24364d;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 0.96rem;
  line-height: 1.4;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #c7d2de;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-card input[type="text"]:focus,
.contact-form-card input[type="email"]:focus,
.contact-form-card input[type="tel"]:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #1f4f82;
  box-shadow: 0 0 0 3px rgba(31, 79, 130, 0.12);
}

.at-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.at-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.at-checkbox-item input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1.05);
}

.at-checkbox-item label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
  color: #334155;
}

.at-newsletter {
  margin-top: 8px;
}

.at-newsletter label {
  font-weight: 500;
}

.form-actions {
  margin-top: 28px;
}
.at-form-actions {
  margin-top: 28px;
}

.contact-form-card input[type="submit"],
.contact-form-card input[type="button"],
.contact-form-card button,
.at-submit-btn {
  display: inline-block;
  min-width: 180px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  background: #ff4650;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form-card input[type="submit"]:hover,
.contact-form-card input[type="button"]:hover,
.contact-form-card button:hover,
.at-submit-btn:hover {
  background: #173b61;
  transform: translateY(-1px);
}

.contact-form-card input[type="submit"]:focus,
.contact-form-card input[type="button"]:focus,
.contact-form-card button:focus,
.at-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 79, 130, 0.18);
}

.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-card {
  padding: 24px;
}

.office-card h3 {
  margin: 0 0 10px;
  font-size: 1.0rem;
  line-height: 1.2;
  color: #1f2f46;
}

.office-card p {
  margin: 0 0 8px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #4b5563;
}

.office-card a {
  color: #1f4f82;
  text-decoration: none;
}

.office-card a:hover {
  text-decoration: underline;
}

.office-map {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d9e1ea;
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

/* Optional subtle page background */
.contact-page-wrap,
.contact-page-bg {
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

/* Responsive */
@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .office-card {
    padding: 24px;
  }
}

@media (max-width: 700px) {
  .contact-page {
    padding: 40px 16px 56px;
  }

  .contact-hero {
    margin-bottom: 28px;
  }

  .contact-hero h1 {
    font-size: 1.9rem;
  }

  .at-form-grid,
  .at-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .office-card {
    padding: 20px;
    border-radius: 14px;
  }

  .office-map iframe {
    height: 220px;
  }

  .contact-form-card input[type="submit"],
  .contact-form-card input[type="button"],
  .contact-form-card button,
  .at-submit-btn {
    width: 100%;
  }
}.contact-form-wrap,
.location-card {
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.contact-form-wrap {
  padding: 32px;
}

.location-card {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #24364d;
}

.at-contact-form input[type="text"],
.at-contact-form input[type="email"],
.at-contact-form select,
.at-contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 0.96rem;
  line-height: 1.4;
  color: #1f2937;
  background: #fff;
  border: 1px solid #c7d2de;
  border-radius: 10px;
  box-sizing: border-box;
}

.at-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #334155;
}
.location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.location-header h3 {
  margin: 0;
}

/* phone link */
.office-phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1f4f82;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* phone icon */
.office-phone::before {
  content: "☎";
  font-size: 0.9rem;
  color: #1f4f82;
}
@media (max-width: 768px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col {
    width: 100%;
    flex: 0 0 auto;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .footer-brand-inner {
    margin-left: 0;
    max-width: 220px; /* adjust if needed */
  }
}

/* =========================================
   LEGACY TABLE NORMALISATION
   ========================================= */

.main-content table:not([cellpadding="0"]):not([cellspacing="0"]) {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.main-content table td,
.main-content table th {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.main-content table tr:not([bgcolor]) td {
  border-bottom: 1px solid #e5e7eb;
}

/* blue header rows */
.main-content table tr[bgcolor="#3366FF"] td,
.main-content table tr[bgcolor="#0066FF"] td,
.main-content table tr[bgcolor="#0000FF"] td,
.main-content table tr[style*="#3366FF"] td,
.main-content table tr[style*="#0066FF"] td, 
.main-content table tr[style*="#0000FF"] td {
  background-color: #283c50 !important;
  color: #ffffff !important;
}
.main-content table td[style*="background-color:#3366FF"],
.main-content table td[style*="background-color:#0066FF"],
.main-content table td[style*="background-color:#0000FF"] {
  background-color: #283c50 !important;
  color: #ffffff !important;
}
.main-content table td[style*="background-color:#3366FF"] a,
.main-content table td[style*="background-color:#0066FF"] a,
.main-content table td[style*="background-color:#0000FF"] a,
.main-content table td[style*="background-color:#3366FF"] font,
.main-content table td[style*="background-color:#0066FF"] font,
.main-content table td[style*="background-color:#0000FF"] font {
  color: #ffffff !important;
}

/* blue header cells */
.main-content table td[bgcolor="#3366FF"],
.main-content table td[bgcolor="#0066FF"],
.main-content table td[bgcolor="#0000FF"] {
  background-color: #283c50 !important;
  color: #ffffff !important;
}

/* keep header links and old font tags white */
.main-content table tr[bgcolor="#3366FF"] a,
.main-content table tr[bgcolor="#0066FF"] a,
.main-content table tr[bgcolor="#0000FF"] a,
.main-content table tr[style*="#3366FF"] a,
.main-content table tr[style*="#0066FF"] a,
.main-content table tr[style*="#0000FF"] a,
.main-content table td[bgcolor="#3366FF"] a,
.main-content table td[bgcolor="#0066FF"] a,
.main-content table td[bgcolor="#0000FF"] a,
.main-content table tr[bgcolor="#3366FF"] font,
.main-content table tr[bgcolor="#0066FF"] font,
.main-content table tr[bgcolor="#0000FF"] font,
.main-content table tr[style*="#3366FF"] font,
.main-content table tr[style*="#0066FF"] font,
.main-content table tr[style*="#0000FF"] font,
.main-content table td[bgcolor="#3366FF"] font,
.main-content table td[bgcolor="#0066FF"] font,
.main-content table td[bgcolor="#0000FF"] font {
  color: #ffffff !important;
}

/* pale yellow section rows/cells */
.main-content table tr[bgcolor="#FFFFCC"] td,
.main-content table td[bgcolor="#FFFFCC"],
.main-content table tr[bgcolor="#FFFF99"] td,
.main-content table td[bgcolor="#FFFF99"] {
  background-color: #f3f4f6 !important;
  color: #111827 !important;
  font-weight: 600;
}

/* grey alternate rows */
.main-content table tr[bgcolor="#CCCCCC"] td {
  background-color: #f8fafc !important;
}

/* remove old table borders */
.main-content table[border="1"] {
  border: none;
}

.main-content table[border="1"] td,
.main-content table[border="1"] th {
  border: none;
}

/* fix inline white text only on normal cells */
.main-content table td[style*="color:#FFFFFF"],
.main-content table td[style*="color: #FFFFFF"] {
  color: #111827 !important;
}

/* =========================================
   CAMERA CATEGORY PAGE
   ========================================= */


.camera-category-page .home-grid {
  margin-bottom: 5rem;
}

.camera-category-page .camera-category-jump-links {
  margin-top: 1rem;
}
.camera-category-page .home-section-head{
  align-items: flex-start;
}
.home-section.camera-category-page {
  margin-top: 0;
  padding-top: 1px;
}

.camera-category-page .home-section-head h1{
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.camera-category-page .home-section-head p{
  max-width: 95ch;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}
.category-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .home-section-head {
    display: block;
  }

  .category-hero-side {
    margin-top: 1.5rem;
    align-items: flex-start;
  }

  .category-hero-logo {
    max-width: 220px;
    width: 100%;
    height: auto;
  }
}

.category-hero-logo {
  max-width: 280px;
  height: auto;
}

.camera-grid-5{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.8rem;
  margin-top: 1.5rem;
}

.camera-category-page .card-category{
  min-height: 100%;
  padding: 1rem;
  gap: 0.5rem;
  justify-content: flex-start;
}

.camera-category-page .card-category h3{
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.camera-category-page .card-category p{
  margin: 0;
  color: #475467;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}
.camera-category-page{
  border-top: none;
}
.camera-category-page .card-image{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px; /* controls vertical space */
  margin-bottom: 0.75rem;
}

.camera-category-page .card-image img{
  max-height: 110px;   /* controls actual image size */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.camera-card-specs{
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  line-height: 1.55;
  flex-grow: 1;
}

.camera-card-specs li{
  margin-bottom: 0.3rem;
}

.camera-category-page .card-category .btn{
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  text-align: center;
  border-radius: 8px;
}

.camera-category-jump-links{
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
  margin-right: -0.75rem;
  margin-bottom: -0.75rem;
}
.camera-category-jump-links a{
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  margin-right: 0.55rem;
  margin-bottom: 0.75rem;
  border: 1px solid #d9e1ea;
  border-radius: 999px;
  background: #fff;
  color: #283c50;
  font-size: 0.92rem;
  text-decoration: none;
}

.camera-category-jump-links a:hover{
  background: #EAECF0;
  text-decoration: none;
}

.camera-page-copy{
  margin-top: 3rem;
  border-top: 1px solid #e8e8e8;
  padding-top: 2rem;
}

.camera-page-copy h2{
  margin-bottom: 1rem;
}

.camera-page-copy p{
  color: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 980px){
  .camera-grid-5{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px){
  .camera-grid-5{
    grid-template-columns: 1fr;
  }
}
.camera-category-page .home-wrap{
  max-width: 1200px;
}

/* Category cards with product images */
.card-category {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.main-content table tr[bgcolor="#FFFF99"] td,
.main-content table tr[bgcolor="#ffff99"] td {
  background-color: #283c50 !important;
  color: #ffffff !important;
  font-weight: 700;
}
.main-content table tr[bgcolor="#FFFF99"] a,
.main-content table tr[bgcolor="#ffff99"] a,
.main-content table tr[bgcolor="#FFFF99"] font,
.main-content table tr[bgcolor="#ffff99"] font {
  color: #ffffff !important;
}
.main-content table tr[bgcolor="#283c50"] td,
.main-content table td[bgcolor="#283c50"] {
  background-color: #283c50 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.main-content table tr[bgcolor="#283c50"] td,
.main-content table td[bgcolor="#283c50"] {
  background-color: #283c50 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.main-content table tr[bgcolor="#283c50"] a,
.main-content table tr[bgcolor="#283c50"] font,
.main-content table td[bgcolor="#283c50"] a,
.main-content table td[bgcolor="#283c50"] font {
  color: #ffffff !important;
}

.main-content table td[bgcolor="#CCCCCC"] {
  background-color: #f8fafc !important;
  color: #111827 !important;
}

.main-content table td[bgcolor="#FFFFFF"] {
  background-color: #ffffff !important;
  color: #111827 !important;
}

.table-button-row td {
  border-bottom: none !important;
  background: #ffffff;
  text-align: right;
  padding: 12px 0 18px 0;
}
.table-subheading {
    font-size: 1.2rem;
    margin: 0;
}
.product-table-heading {
  padding: 1.5rem 1.5rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #d9e1ea;
}

.product-table-heading h2 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  line-height: 1.2;
}

.product-table-subheading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #526170;
}

table.main tr.spec-header-row th,
.main-content table.main tr.spec-header-row th {
  background-color: #e9eef3 !important;
  color: #283c50 !important;
  font-weight: 700;
}
/* =========================
   2-COLUMN CATEGORY GRID
========================= */
.camera-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Override the general camera category card stretch */
.camera-category-page .camera-grid-2 .card-category {
  min-height: auto;
  height: auto;
  display: flex;
  flex-direction: column;
}

/* Keep buttons normal on 2-column category pages */
.camera-category-page .camera-grid-2 .card-category .btn {
  margin-top: auto;
}

/* Direct images inside cards only, not logo images inside .card-image */
.camera-grid-2 .card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-top: 1rem;
  border-radius: 6px;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .camera-grid-2 {
    grid-template-columns: 1fr;
  }
}


/* ENQUIRE BUTTON ON TABLES */
/* TABLE ACTION BUTTON ROW */
.table-button-row td {
  border-bottom: none !important;
  background: #ffffff !important;
  padding: 16px 0 32px 0 !important;
  vertical-align: middle;
}

.table-button-left {
  text-align: center;
}

.table-button-right {
  text-align: right;
  }
.table-button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* ENQUIRE BUTTON */
.enquire-btn,
.enquire-btn:link,
.enquire-btn:visited {
  display: inline-block;
  background: #ff4650;
  color: #ffffff !important;
  padding: 8px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 6px;
}

.enquire-btn:hover,
.enquire-btn:active {
  background: #e13a44;
  color: #ffffff !important;
  text-decoration: none;
}

/* BACK TO TOP BUTTON */
.back-to-top-btn,
.back-to-top-btn:link,
.back-to-top-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid #d9e1ea;
  border-radius: 999px;
  background: #ffffff;
  color: #283c50 !important;
  font-size: 0.92rem;
  text-decoration: none;
  font-weight: 500;
}

.back-to-top-btn:hover,
.back-to-top-btn:active {
  background: #EAECF0;
  color: #283c50 !important;
  text-decoration: none;
}

.enquire-btn,
.back-to-top-btn {
  transition: background 0.2s ease, color 0.2s ease;
}

/* PRODUCT HEADER */
.product-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-header-img {
  width: 160px;
  max-width: 160px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}

.product-image-wrap {
  width: 180px;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-header-row td {
  padding-top: 16px !important;
}
.supplier-logo {
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.supplier-header-row .product-header {
  display: flex;
  align-items: center;
}

.supplier-header-row .product-image-wrap {
  margin-left: auto;
}

/* PRODUCT IMAGE */
.product-image-wrap {
  position: relative;
  padding-top: 16px;
}

.product-hover-img {
  position: absolute;
  top: 0;
  left: 70px;
  width: 500px;
  height: auto;
  display: none;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  z-index: 100;
}

.product-image-wrap:hover .product-hover-img {
  display: block;
}
/* PRODUCT PAGE STYLING -------------------------- */

.product-hero {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.product-hero-copy {
  flex: 2;
  max-width: 850px;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* KEY */
}
.product-hero-copy {
  align-items: flex-start;
}
.product-hero-copy p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #1f2a33;
  font-weight: 400;
}
.product-back-links {
  margin-bottom: 15px;
}
.product-inline-right-img {
  float: right;
  width: 209px;
  height: auto;
  margin: 0 0 1rem 2rem;
}

.product-hero-image {
  flex: 0 0 350px;
  width: 350px;
  max-width: 350px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.product-hero-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-divider {
  border-top: 4px solid #ff4650;
  margin: 30px 0;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.product-feature-grid h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
  }
}

.product-app-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .product-app-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-app-grid-3 {
    grid-template-columns: 1fr;
  }
}

.product-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 36px;
  align-items: stretch;
}
.product-app-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.product-app-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-app-card .btn,
.product-app-card .btn-primary {
  margin-top: auto;
}

.product-app-card p:last-of-type {
  margin-bottom: 1.5rem;
}

@media (max-width: 700px) {
  .product-app-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-app-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-app-grid-4 {
    grid-template-columns: 1fr;
  }
}

.product-app-card {
  padding: 24px 22px;
  background: #f9f9f9;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-app-card img {
  display: block;
  max-width: 100%;
  max-height: 115px;
  width: auto;
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
}

.product-app-card .app-title {
  display: block;
  margin: 0 0 10px;
  color: #283c50;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.product-app-card p {
  margin: 0;
  color: #475467;
  line-height: 1.55;
}
.summary-image-float {
  float: right;
  max-width: 320px;
  width: 38%;
  height: auto;
  margin: 0 0 12px 28px;
}

.article-summary-item::after {
  content: "";
  display: block;
  clear: both;
}
.product-content-text .article-summary-item {
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .product-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-app-grid {
    grid-template-columns: 1fr;
  }
}

.product-legacy-box {
  background: #fff3f3;
  border-left: 4px solid #ff4650;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 6px;
  max-width: 520px;
}

.product-legacy-text {
  margin: 0 0 0.75rem 0;
  font-size: 0.95rem;
  color: #1f2a33;
}

.product-legacy-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.product-resource-toggle {
  margin: 30px 0;
}

.product-resource-toggle details {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f9f9f9;
  overflow: hidden;
}

/* Header (collapsed/expanded bar) */
.product-resource-toggle summary {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #283c50;
  cursor: pointer;
  list-style: none;

  display: flex;
  align-items: center;
  gap: 8px;
}
/* Arrow BEFORE text */
.product-resource-toggle summary::before {
  content: "▸";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

/* Rotate when open */
.product-resource-toggle details[open] summary::before {
  transform: rotate(90deg);
}



/* Rotate arrow when open */
.product-resource-toggle details[open] summary::after {
  transform: rotate(90deg);
}

/* Content area */
.product-resource-toggle .resource-links {
  padding: 12px 16px 16px;
  border-top: 1px solid #e6e6e6;
}

/* Links */
.product-resource-toggle .resource-links a {
  display: block;
  margin-bottom: 6px;
  color: #ff4650;
  font-weight: 600;
  text-decoration: none;
}

.product-resource-toggle .resource-links a:hover {
  text-decoration: underline;
}
.product-media-card {
  display: flex;
  justify-content: center;
  background: #EAECEE;
  padding: 1.5rem;
  border: 1px solid #e1e1e1;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
}

.product-media-card iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.product-media-split {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.product-media-split > div {
  flex: 1 1 0;
  min-width: 0;
}

.product-media-split .product-media-card {
  width: 100%;
  max-width: 100%;
}

.product-media-split .product-media-card iframe {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
}

@media (max-width: 900px) {
  .product-media-split {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* PRODUCT CTA PANEL  */

.product-cta-panel {
  margin: 50px 0;
  padding: 40px 20px;
  border: 1px solid #e1e1e1;
  background: #fff;
  text-align: center;
}

.product-cta-panel h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.75rem;
  color: #283c50;
}

.product-cta-panel p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* Button container */
.product-cta-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
table.main th {
  background: #283c50;
  color: #fff;
  font-weight: bold;
}
.product-cta-panel { margin: 40px auto; }
.product-cta-panel { max-width: 1100px !important; }
.product-cta-panel p { max-width: none; }

.product-page-content {
  width: 100%;
  color: #283c50;
  line-height: 1.5;
}
/* Article/product CTA panel refinements */
.product-cta-panel {
  background: #f8fafd;
  padding: 28px 24px;
  border: 1px solid #dbe3ec;
  margin: 40px auto;
}

.product-cta-panel h2,
.product-cta-panel h3 {
  margin: 0 0 14px 0;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #283c50;
}

.product-cta-panel p {
  margin: 0 auto 22px;
}
/* =========================================
   NEWS / ARTICLE PAGE
   ========================================= */
/* Responsive centred article video */
.article-page .article-video {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 2rem auto;
  padding: 20px;
  box-sizing: border-box;
  float: none;
  clear: both;
}

.article-page .article-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* Article page title treatment */
.article-page-title {
  background-color: #ffffff;
  color: #000;
  font-size: 34px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1.2;
}

/* Floated article image with card styling */
.article-img-wrap {
  float: right;
  margin: 0 0 20px 20px;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  width: 300px;
  max-width: 42%;
}

.article-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional red accent on floated article image */
.article-img-wrap--red-left {
  border-left: 4px solid #ff4650;
  padding-left: 15px;
}

.article-clear {
  clear: both;
}

/* Article callout cards */
.article-callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.article-callout-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  background: #fff;
}

.article-callout-card strong {
  display: block;
  color: #ff4650;
  margin-bottom: 8px;
}

/* Optional full-width feature box for articles */
.article-feature-box {
  background-color: #f8fafd;
  border-left: 4px solid #ff4650;
  padding: 20px;
  margin: 30px 0;
  clear: both;
}

@media (max-width: 600px) {
  .article-img-wrap {
    float: none;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 300px;
  }

  .article-nav-links a {
    display: inline-block;
    margin-bottom: 8px;
  }
}


.article-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  font-size: 16px;
}

.article-page h1 {
  margin: 0 0 1rem 0;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: #1f2a33;
}

.article-page h2 {
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 700;
  color: #283C50;
  margin: 3rem 0 1rem;
  letter-spacing: -0.02em;
}

.article-page h3 {
  margin: 1.75rem 0 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #1f2a33;
}
.article-inline-logo {
  float: right;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 0 1rem 2rem;
  object-fit: contain;
}

.article-page p.product-section-subheading {
  margin: 0 0 1.25rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #283c50;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.article-nav a {
  color: #3366FF;
  text-decoration: none;
  font-size: 0.95rem;
}

.article-nav a:hover {
  text-decoration: underline;
}

.article-lead-image {
  float: right;
  width: min(320px, 100%);
  margin: 0 0 1.5rem 2rem;
  padding: 1rem;
  background: #ffffff;
  border-left: 4px solid #ff4650;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
}


.article-lead-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.article-figure img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
}

.article-figure--narrow img {
  max-width: 450px;
}

.article-figure--wide img {
  max-width: 900px;
}

.article-figure--caption-match img {
display: block;
width: 100%;
max-width: 600px;
height: auto;
margin: 0 auto;
}

.article-figure--caption-match figcaption {
max-width: 600px;
margin: 0.6rem auto 0;
text-align: left;
font-size: 0.85rem;
line-height: 1.5;
color: #555; 
}

.article-caption {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
  font-style: italic;
  text-align: center;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.article-card {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.article-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #ff4650;
}
.article-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 3rem;
}
.article-summary-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.article-summary-item {
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}

.article-summary-item h3 {
  color: #ff4650;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-summary-item p {
  margin-bottom: 0.75rem;
}

.article-summary-item ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.article-summary-item li {
  margin-bottom: 0.45rem;
}

.article-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #d9e1ea;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.article-product-card .article-figure {
  height: 270px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  overflow: hidden;
  box-sizing: border-box;
}

.article-product-card .article-figure img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.article-product-card .article-figure--icon {
  height: 160px;
}

.article-product-card .article-figure--icon img {
  max-width: 75%;
  max-height: 75%;
}
.article-image-stack {
  display: grid;
  gap: 1.5rem;
}

.article-cta {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: #f8fafd;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.article-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-btn-primary,
.article-btn-primary:link,
.article-btn-primary:visited {
  display: inline-block;
  background: #ff4650;
  color: #fff !important;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.article-btn-secondary,
.article-btn-secondary:link,
.article-btn-secondary:visited {
  display: inline-block;
  background: #fff;
  color: #333 !important;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.article-btn-primary:hover,
.article-btn-secondary:hover {
  text-decoration: none;
}

.article-page::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 700px) {
  .article-lead-image {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
  }

  .article-cta {
    padding: 2rem 1.25rem;
  }
}
.article-kicker {
  margin: 0 0 0.75rem 0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.article-feature-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.article-feature-panel {
  background: #FBFCFC;
  border: 1px solid #283C50 ;
  border-radius: 24px;
  padding: 1.5rem 1.75rem;
}

.article-feature-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.article-feature-panel li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #283c50;
  font-size: 1.08rem;
	  font-weight: 550;
}

.article-feature-panel li:last-child {
  margin-bottom: 0;
}
.article-feature-panels-three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .article-feature-panels-three {
    grid-template-columns: 1fr;
  }
}
.article-callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 30px 0;
}

@media (max-width: 700px) {
  .article-callout-grid {
    grid-template-columns: 1fr;
  }
}
.article-page .article-video-figure {
max-width: 960px;
margin: 2rem auto;
padding: 1.5rem;
box-sizing: border-box;
}

.article-page .article-video-figure .feature-video {
display: block;
width: 100%;
max-width: 900px;
height: auto;
aspect-ratio: 16 / 9;
margin: 0 auto;
background: #000;
border: 0;
border-radius: 8px;
object-fit: contain;
}

@media (max-width: 768px) {
.article-page .article-video-figure {
padding: 1rem;
}
}
@media (max-width: 900px) {
  .article-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .article-product-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   GLOBAL BREADCRUMB / BACK LINK STYLING
   ========================================= */

.legacy-header .tiny,
.product-back-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;

  margin: 0.75rem 0 1.25rem;
  padding-bottom: 0;

  border-bottom: none;

  font-size: 0;
  line-height: 1.4;
}

/* Remove old line breaks */
.legacy-header .tiny br,
.product-back-links br {
  display: none;
}

/* =========================================
   STANDARD LINK-ONLY BREADCRUMBS
   ========================================= */

.legacy-header .tiny a,
.product-back-links > a {
  display: inline-flex;
  align-items: center;

  font-size: 0.82rem !important;
  font-weight: 400;

  color: #5b6b7f !important;
  text-decoration: none !important;

  white-space: nowrap;
}

/* Separator */
.legacy-header .tiny a:not(:last-child)::after,
.product-back-links > a:not(:last-child)::after {
  content: "›";
  display: inline-block;
  margin: 0 0.45rem;
  color: #b8c0ca;
  font-size: 0.82rem;
  font-weight: 400;
}

/* Hover */
.legacy-header .tiny a:hover,
.product-back-links > a:hover {
  color: #283c50 !important;
  text-decoration: none !important;
}

/* =========================================
   UL / LI LEGACY BREADCRUMBS
   ========================================= */

.product-back-links ul.tiny {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;

  margin: 0;
  padding: 0;

  list-style: none;

  font-size: 0;
  line-height: 1.4;
}

.product-back-links ul.tiny li {
  display: inline-flex;
  align-items: center;

  margin: 0;
  padding: 0;
}

/* Separator */
.product-back-links ul.tiny li:not(:last-child)::after {
  content: "›";
  display: inline-block;
  margin: 0 0.45rem;
  color: #b8c0ca;
  font-size: 0.82rem;
  font-weight: 400;
}

/* Links */
.product-back-links ul.tiny a {
  display: inline-flex;
  align-items: center;

  font-size: 0.82rem !important;
  font-weight: 400;

  color: #5b6b7f !important;
  text-decoration: none !important;

  white-space: nowrap;
}

/* Hover */
.product-back-links ul.tiny a:hover {
  color: #283c50 !important;
  text-decoration: none !important;
}

/* =========================================
  CAMERA CATEGORY TABS
   Add near the bottom of the global CSS file
   ========================================= */
.gige-tabs {
  margin-top: 0;
}

.gige-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  border-bottom: 1px solid #d9e1ea;
}

.gige-tab-button {
  appearance: none;
  border: 1px solid #d9e1ea;
  border-bottom: none;
  background: #EAECF0;
  color: #283c50;
  padding: 1rem 2.5rem;
  min-width: 390px;
  border-radius: 14px 14px 0 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gige-tab-button:hover {
  background: #BFC5CB;
}

.gige-tab-button.is-active {
  background: #283c50;
  color: #fff;
  border-color: #283c50;
}

.gige-tab-panel {
  display: none;
}

.gige-tab-panel.is-active {
  display: block;
}

.gige-tab-panel > h2 {
  margin-top: 1.5rem;
}

.gige-tab-panel .camera-category-jump-links {
  margin-bottom: 2rem;
}

.gige-tab-panel .product-table-wrap {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .gige-tab-list {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: none;
  }

  .gige-tab-button {
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    text-align: left;
  }
}
.product-hero-copy p.product-section-subheading {
  margin: 0 0 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #283c50;
}
.camera-category-page p.product-section-subheading {
  margin: 0 0 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #283c50;
}
/* ========== SITE SEARCH RESULTS ========== */

.site-search-results {
  width: 100%;
  margin-top: 2rem;
}

.site-search-results .gsc-control-cse,
.site-search-results .gsc-results-wrapper-visible,
.site-search-results .gsc-results-wrapper-nooverlay,
.site-search-results .gsc-wrapper,
.site-search-results .gsc-resultsbox-visible,
.site-search-results .gsc-results,
.site-search-results .gsc-resultsRoot,
.site-search-results .gsc-control-cse .gsc-table-result,
.site-search-results .gsc-webResult.gsc-result {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.site-search-results .gsc-control-cse {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.gs-per-result-labels {
  display: none !important;
}
/* ========== SITE SEARCH FORM ========== */

.site-search-form {
  max-width: 760px;
  margin: 1.75rem 0 2.5rem;
}

.site-search-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #283c50;
}

.site-search-form-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.site-search-input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  font-family: Segoe UI, Roboto, Open Sans, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #1f2a33;
  background: #ffffff;
  border: 1px solid #c7d2de;
  border-radius: 6px;
  box-sizing: border-box;
}

.site-search-input:focus {
  outline: none;
  border-color: #283c50;
  box-shadow: 0 0 0 2px rgba(40, 60, 80, 0.12);
}

.site-search-submit {
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: #283c50;
  color: #ffffff;
  font-family: Segoe UI, Roboto, Open Sans, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.site-search-submit:hover,
.site-search-submit:focus {
  background: #ff4650;
  color: #ffffff;
}

@media (max-width: 600px) {
  .site-search-form-row {
    flex-direction: column;
  }

  .site-search-submit {
    width: 100%;
  }
}