/* GLOBEX homepage styles. Palette is limited to the six brand colours;
   soft surfaces and borders are tints (opacity) of those colours. */
:root {
  --gx-blue: #0067A4; --gx-sky: #008DD2; --gx-mid: #727271; --gx-light: #B2B3B3; --gx-dark: #4F4F4E; --gx-white: #FEFEFE;
  --gx-grad: linear-gradient(135deg, #0067A4, #008DD2);
  --gx-soft: rgba(178, 179, 179, .2);
  --gx-line: rgba(178, 179, 179, .7);
  --gx-radius: 4px;
  --bs-body-font-family: "Source Sans 3", system-ui, sans-serif;
  --bs-body-color: #4F4F4E; --bs-body-bg: #FEFEFE; --bs-link-color: #0067A4;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: hidden; }
h1, h2, h3, h4, .nav-link, .btn-gx { font-family: "Chakra Petch", system-ui, sans-serif; }
h1, h2, h3, h4 { color: var(--gx-dark); }
.text-muted-gx { color: var(--gx-mid); }
a { color: var(--gx-blue); }
:focus-visible { outline: 3px solid var(--gx-sky); outline-offset: 2px; }
.skip-link { position: absolute; z-index: 2000; left: 8px; top: 8px; background: var(--gx-white); padding: .5rem 1rem; }
.bg-soft { background: var(--gx-soft); }
.section { padding-block: 3.5rem; }
@media (min-width: 992px) { .section { padding-block: 5rem; } }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head h2, #about-title { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }

/* Buttons: text shift + gradient icon chip */
.btn-gx { --b: var(--gx-blue); display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 46px; padding: .4rem .5rem .4rem 1.25rem; border: 2px solid var(--b); border-radius: var(--gx-radius); font-weight: 600; text-decoration: none; background: var(--b); color: var(--gx-white); transition: background .3s, color .3s, border-color .3s; }
.btn-gx-text { transition: transform .3s; }
.btn-gx-ico { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; background: var(--gx-white); transition: background .3s, transform .3s; }
.btn-gx-ico i { background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; transition: transform .3s; }
.btn-gx:hover, .btn-gx:focus-visible { background: var(--gx-dark); border-color: var(--gx-dark); color: var(--gx-white); }
.btn-gx:hover .btn-gx-text, .btn-gx:focus-visible .btn-gx-text { transform: translateX(-3px); }
.btn-gx:hover .btn-gx-ico, .btn-gx:focus-visible .btn-gx-ico { background: var(--gx-grad); transform: scale(1.08); }
.btn-gx:hover .btn-gx-ico i, .btn-gx:focus-visible .btn-gx-ico i { background: none; color: var(--gx-white); -webkit-text-fill-color: var(--gx-white); transform: translateX(3px); }
.btn-gx-outline { --b: var(--gx-dark); background: transparent; color: var(--gx-dark); }
.btn-gx-outline .btn-gx-ico { background: var(--gx-soft); }
.btn-gx-outline:hover, .btn-gx-outline:focus-visible { background: var(--gx-blue); border-color: var(--gx-blue); }
.btn-gx-light { --b: var(--gx-white); background: var(--gx-white); color: var(--gx-blue); }
.btn-gx-light .btn-gx-ico { background: var(--gx-soft); }
.btn-gx-light:hover, .btn-gx-light:focus-visible { background: var(--gx-blue); border-color: var(--gx-blue); }
.btn-gx-ghost { --b: var(--gx-white); background: transparent; color: var(--gx-white); }
.btn-gx-ghost:hover, .btn-gx-ghost:focus-visible { background: var(--gx-white); color: var(--gx-blue); border-color: var(--gx-white); }
.btn-gx-ghost:hover .btn-gx-ico i { color: var(--gx-white); }
.btn-ctrl { width: 48px; height: 48px; border: 2px solid var(--gx-dark); border-radius: var(--gx-radius); color: var(--gx-dark); background: var(--gx-white); transition: background .3s, color .3s, border-color .3s; }
.btn-ctrl:hover:not(:disabled), .btn-ctrl:focus-visible { background: var(--gx-grad); border-color: var(--gx-blue); color: var(--gx-white); }
.btn-ctrl:disabled { opacity: .35; }

/* Social icons (slide-up fill + 360deg Y-axis flip) */
.social a { position: relative; overflow: hidden; display: inline-grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--gx-blue); border-radius: 50%; color: var(--gx-blue); text-decoration: none; transition: color .4s; }
.social a::before { content: ""; position: absolute; left: 0; top: 100%; width: 100%; height: 100%; background: var(--gx-blue); transition: top .4s; }
.social a i { position: relative; z-index: 1; transition: transform .6s; }
.social a:hover::before, .social a:focus-visible::before { top: 0; }
.social a:hover i, .social a:focus-visible i { transform: rotateY(360deg); color: var(--gx-white); }
.social-topbar .social a { width: 32px; height: 32px; font-size: .85rem; border-color: var(--gx-light); color: var(--gx-white); }
.social-topbar .social a::before { background: var(--gx-sky); }

/* Top bar + header */
.topbar { background: var(--gx-dark); color: var(--gx-white); font-size: .92rem; }
.topbar a { color: var(--gx-white); text-decoration: none; }
.topbar > .container-xl > div:first-child a:hover { color: var(--gx-light); }
.site-header { box-shadow: 0 4px 16px rgba(79, 79, 78, .12); z-index: 1030; }
.brand-logo { width: 150px; height: auto; display: block; }
@media (min-width: 576px) { .brand-logo { width: 175px; } }
@media (min-width: 992px) { .brand-logo { width: 200px; } }
.navbar-toggler { border: 0; padding: .25rem; color: var(--gx-dark); }
.nav-link { font-weight: 600; color: var(--gx-dark); position: relative; padding: .75rem .9rem !important; }
.nav-link:hover, .nav-link.show { color: var(--gx-blue); }
@media (min-width: 992px) {
  .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .35rem; height: 3px; background: var(--gx-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
  .dropdown-toggle::after { display: none; }
  .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu { border-radius: var(--gx-radius); border: 1px solid var(--gx-line); box-shadow: 0 10px 30px rgba(79, 79, 78, .15); }
.dropdown-item { color: var(--gx-dark); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--gx-soft); color: var(--gx-blue); }
#mainNav.show, #mainNav.collapsing { padding-bottom: 1rem; }

/* Popup */
.gx-modal { border: 0; border-radius: var(--gx-radius); overflow: hidden; background: var(--gx-white); }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 78svh; min-height: 78vh; overflow: hidden; background: var(--gx-dark) url("../assets/images/hero/hero-poster.jpg") center / cover; color: var(--gx-white); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .5) 100%); }
@media (max-width: 991.98px) { .hero-overlay { background: rgba(0, 0, 0, .65); } }
.hero-inner { position: relative; padding-block: 4rem; }
.hero-title { color: var(--gx-white); font-weight: 700; font-size: clamp(2.2rem, 7vw, 4.5rem); line-height: 1.05; max-width: 14ch; }
.hero-title, .hero-sub { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.hero-sub { font-size: clamp(1.05rem, 2.5vw, 1.4rem); max-width: 34rem; margin: 1.25rem 0 2rem; color: var(--gx-white); }

/* Glance */
.glance { height: 100%; background: var(--gx-white); border: 1px solid var(--gx-line); border-top: 4px solid var(--gx-blue); border-radius: var(--gx-radius); padding: 2rem 1.75rem; text-align: left; box-shadow: 0 4px 14px rgba(79, 79, 78, .08); transition: transform .4s, box-shadow .4s; }
.glance:hover { transform: scale(1.04); box-shadow: 0 16px 34px rgba(79, 79, 78, .2); }
.glance > i { font-size: 2.4rem; background: var(--gx-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.glance h3 { font-size: 1.3rem; font-weight: 700; margin: .75rem 0 .5rem; }
.glance p { color: var(--gx-mid); margin-bottom: 1.5rem; }

/* About */
.about-img { height: auto; aspect-ratio: 900 / 650; object-fit: cover; border-radius: var(--gx-radius); box-shadow: 12px 12px 0 var(--gx-light); }
.tick-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.tick-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; font-weight: 600; }
.tick-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--gx-blue); }

/* Flip cards (scoped .gx- classes; no external dependencies for WordPress/Elementor HTML widgets) */
.gx-flip { perspective: 1200px; height: 500px; }
.gx-flip-inner { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.4, .2, .2, 1); transform-style: preserve-3d; }
.gx-flip.is-flipped .gx-flip-inner { transform: rotateY(180deg); }
.gx-face { position: absolute; inset: 0; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); overflow: hidden; box-shadow: 0 6px 18px rgba(79, 79, 78, .15); background: var(--gx-white); }
.gx-front img { width: 100%; height: 55%; object-fit: cover; background: var(--gx-soft); flex-shrink: 0; }
.gx-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; min-height: 0; }
.gx-body h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.gx-body p { margin: 0; color: var(--gx-mid); font-size: .95rem; }
.gx-body .btn-gx { margin-top: auto; align-self: flex-start; min-height: 40px; }
.gx-back { transform: rotateY(180deg); background: var(--gx-blue); color: var(--gx-white); }
.gx-back h3, .gx-back h4 { color: var(--gx-white); }
.gx-back h4 { font-size: .95rem; margin: .5rem 0 .25rem; border-bottom: 1px solid var(--gx-light); padding-bottom: .2rem; }
.gx-back p { color: var(--gx-white); }
.gx-back ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.gx-back li { padding-left: 1.4rem; position: relative; margin-bottom: .15rem; }
.gx-back li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--gx-light); }
.gx-back .gx-scroll { overflow-y: auto; flex: 1; min-height: 0; }
.gx-back .gx-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .5rem; }
.gx-back .btn-gx { margin-top: 0; }
.gx-back .btn-gx-ghost { color: var(--gx-white); }
@media (max-width: 575.98px) { .gx-flip { height: 540px; } }

/* Stats */
.stats { background: var(--gx-blue); color: var(--gx-white); padding-block: 3.5rem; }
.stat-num { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; color: var(--gx-white); }
.stat-label { font-weight: 700; margin-top: .6rem; color: var(--gx-white); font-size: clamp(.95rem, 2.5vw, 1.1rem); }
@media (min-width: 992px) { .stats .col + .col { border-left: 1px solid rgba(254, 254, 254, .35); } }

/* Reviews */
.review { height: 100%; background: var(--gx-white); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 1.5rem; box-shadow: 0 4px 14px rgba(79, 79, 78, .08); display: flex; flex-direction: column; gap: 1rem; }
.review-head { display: flex; align-items: center; gap: 1rem; }
.review-logo { width: 72px; height: 54px; object-fit: contain; flex-shrink: 0; }
.review-co { font-weight: 700; margin: 0; font-size: 1.05rem; color: var(--gx-dark); }
.review-date { margin: 0; font-size: .85rem; color: var(--gx-mid); }
.review blockquote { margin: 0; border-left: 4px solid var(--gx-sky); padding-left: 1rem; }

/* Sliders (carousel + logo slider share this) */
.s-track { display: flex; gap: 1.25rem; margin: 0; padding: .5rem .25rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.s-track::-webkit-scrollbar { display: none; }
.card-gx { display: block; background: var(--gx-white); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); overflow: hidden; color: inherit; text-decoration: none; height: 100%; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card-gx:hover, .card-gx:focus-visible { box-shadow: 0 12px 28px rgba(79, 79, 78, .2); transform: translateY(-3px); border-color: var(--gx-blue); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gx-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-gx:hover .card-img img, .card-gx:focus-visible .card-img img { transform: scale(1.06); }
.card-body-gx { padding: 1rem 1.25rem 1.25rem; }
.card-body-gx h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .3rem; }
.card-body-gx p { margin: 0; color: var(--gx-mid); font-size: .95rem; }
.card-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; color: var(--gx-blue); font-weight: 600; }
.card-more i { transition: transform .25s; }
.card-gx:hover .card-more i, .card-gx:focus-visible .card-more i { transform: translateX(5px); }
.iso-item { flex: 0 0 calc((100% - 1.25rem) / 2); scroll-snap-align: start; }
@media (min-width: 576px) { .iso-item { flex-basis: calc((100% - 2.5rem) / 3); } }
@media (min-width: 768px) { .iso-item { flex-basis: calc((100% - 3.75rem) / 4); } }
@media (min-width: 1200px) { .iso-item { flex-basis: calc((100% - 6.25rem) / 6); } }
.iso-box { display: grid; place-items: center; height: 110px; padding: .75rem; background: var(--gx-white); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); }
.iso-box img { width: 100%; height: 100%; object-fit: contain; } /* SVG logos have a small intrinsic size; fill the box, keep aspect ratio */

/* Banner */
.banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(180px, 24vw, 300px); padding-block: 2rem; overflow: hidden; background: var(--gx-light) url("../assets/images/banner/separator-banner-section-background-banner-image.png") center center / cover no-repeat; } /* image is 14:3: cover keeps it undistorted and crops only the sides on narrow screens */
.banner .container-xl { width: 100%; }
.banner-overlay { position: absolute; inset: 0; background: rgba(192, 192, 192, 0.82); }
.banner-inner { position: relative; }
.banner-tag { font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: clamp(1.3rem, 4vw, 2.2rem); color: var(--gx-dark); margin: 0; }
.banner-tag::after { content: ""; display: block; width: 90px; height: 4px; margin: 1rem auto 0; background: var(--gx-grad); }

/* Footer */
.site-footer { background: var(--gx-white); border-top: 4px solid var(--gx-blue); }
.footer-logo { width: 200px; max-width: 100%; height: auto; }
.foot-h { font-size: 1.05rem; font-weight: 700; margin-bottom: .9rem; }
.foot-links li { margin-bottom: .45rem; }
.foot-links a { color: var(--gx-dark); text-decoration: none; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--gx-blue); text-decoration: underline; }
.foot-links i { color: var(--gx-blue); }
.foot-base { background: var(--gx-dark); color: var(--gx-white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .glance:hover, .card-gx:hover { transform: none; }
}

/* Nested product sub-menus */
.dropdown-item { white-space: normal; }
.submenu-toggle { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.submenu-toggle i { transition: transform .25s; }
.submenu-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.dropdown-submenu .submenu { padding-left: 1rem; border: 0; box-shadow: none; }
.dropdown-submenu .submenu.show { display: block; }
@media (min-width: 992px) {
  .products-menu { min-width: 22rem; }
  .dropdown-submenu { position: relative; }
  .dropdown-submenu .submenu { position: absolute; right: 100%; left: auto; top: -.5rem; min-width: 24rem; max-height: 75vh; overflow-y: auto; padding: .5rem 0; border: 1px solid var(--gx-line); box-shadow: 0 10px 30px rgba(79, 79, 78, .15); }
  .dropdown-submenu:hover > .submenu, .dropdown-submenu:focus-within > .submenu { display: block; }
  .submenu-toggle i, .submenu-toggle[aria-expanded="true"] i { transform: rotate(90deg); }
}

/* Product carousel (Bootstrap Carousel, grouped slides) */
#prodCarousel { --pv: 1; }
#prodCarousel .carousel-inner { padding: .5rem .25rem 1rem; }
.p-row { display: flex; gap: 1.25rem; }
.p-card { flex: 0 0 calc((100% - (var(--pv) - 1) * 1.25rem) / var(--pv)); min-width: 0; }
.r-item { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; display: flex; }
@media (min-width: 768px) { .r-item { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 1200px) { .r-item { flex-basis: calc((100% - 2.5rem) / 3); } }
.r-item .review { width: 100%; }

/* Our Locations: holographic cards on dark grey */
.locations { position: relative; overflow: hidden; background: var(--gx-dark); padding-block: 4rem; }
.locations::before { content: ""; position: absolute; right: -6%; top: -20%; width: 34%; height: 150%; background: linear-gradient(135deg, rgba(0, 103, 164, .4), rgba(0, 141, 210, .1)); transform: skewX(-28deg); pointer-events: none; }
.locations h2 { color: var(--gx-white); }
.locations .section-head h2::after { content: ""; display: block; width: 80px; height: 4px; margin-top: .75rem; background: var(--gx-grad); }
.holo { --mx: 50%; --my: 0%; --rx: 0deg; --ry: 0deg; position: relative; height: 100%; padding: 1.5rem; border-radius: 6px; overflow: hidden; color: var(--gx-white); background: linear-gradient(145deg, rgba(254, 254, 254, .13), rgba(254, 254, 254, .03)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease, box-shadow .3s; }
.holo > * { position: relative; z-index: 1; }
.holo::before { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; background: linear-gradient(135deg, #008DD2, #B2B3B3 45%, #0067A4); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.holo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(0, 141, 210, .3), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(254, 254, 254, .14) 45%, rgba(0, 141, 210, .2) 52%, transparent 66%); background-size: 100% 100%, 260% 100%; background-position: 0 0, 120% 0; transition: background-position .9s; }
.holo:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.holo:hover::after { background-position: 0 0, -20% 0; }
.loc-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(178, 179, 179, .5); }
.loc-head > i { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--gx-white); color: var(--gx-blue); font-size: 1.4rem; }
.loc-name { font-size: 1.3rem; font-weight: 700; letter-spacing: .06em; margin: 0; color: var(--gx-white); }
.loc-place { margin: .1rem 0 0; color: var(--gx-white); }
.holo address { margin: 0; font-size: .97rem; overflow-wrap: anywhere; }
.holo address p:last-child { margin-bottom: 0; }
.holo a { color: var(--gx-white); text-decoration: none; }
.holo a:hover, .holo a:focus-visible { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .holo { transform: none !important; } }

/* ===== Revision 4 ===== */
/* Offer popup: image always fits the screen (no stretching, no cropping) */
#offerModal .modal-dialog { --bs-modal-margin: .75rem; max-width: min(800px, calc(100vw - 1.5rem)); }
.gx-modal { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); }
.popup-img { display: block; width: 100%; height: auto; min-height: 0; max-height: calc(100vh - 10.5rem); max-height: calc(100dvh - 10.5rem); object-fit: contain; background: var(--gx-white); }
.popup-actions .btn-gx { width: 100%; }
@media (min-width: 576px) { .popup-actions .btn-gx { width: auto; min-width: 150px; } .popup-img { max-height: calc(100dvh - 9rem); } }

/* About Us text alignment */
.about-copy h2 { margin-bottom: 1rem; }
.about-copy h2::after { content: ""; display: block; width: 80px; height: 4px; margin-top: .75rem; background: var(--gx-grad); }
.about-copy p { line-height: 1.75; text-align: left; }
@media (min-width: 768px) { .about-copy p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; } }
.tick-list li { line-height: 1.5; }

/* Flip card links */
.gx-title-link { color: inherit; text-decoration: none; }
.gx-title-link:hover, .gx-title-link:focus-visible { color: var(--gx-blue); text-decoration: underline; }
.gx-front > a { display: block; flex-shrink: 0; height: 55%; }
.gx-front > a img { height: 100%; }
.gx-back .gx-actions .btn-gx { padding-left: 1rem; }

/* Location buttons */
.holo { display: flex; flex-direction: column; }
.holo address { flex: 1; }
.loc-btn { align-self: flex-start; margin-top: 1.25rem; }

/* Products page */
.page-hero { position: relative; overflow: hidden; background: var(--gx-dark); color: var(--gx-white); padding-block: 3rem; }
.page-hero::before { content: ""; position: absolute; right: -6%; top: -30%; width: 34%; height: 170%; background: linear-gradient(135deg, rgba(0, 103, 164, .45), rgba(0, 141, 210, .1)); transform: skewX(-28deg); pointer-events: none; }
.page-hero .container-xl { position: relative; }
.page-hero h1 { color: var(--gx-white); font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 700; }
.page-hero p { color: var(--gx-white); max-width: 40rem; margin: .5rem 0 0; }
.crumbs { font-size: .9rem; margin-bottom: .75rem; }
.crumbs a { color: var(--gx-white); }
.cat-jump { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2.5rem; list-style: none; }
.cat-jump a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--gx-line); border-radius: 999px; color: var(--gx-dark); text-decoration: none; font-size: .92rem; transition: background .3s, color .3s, border-color .3s; }
.cat-jump a:hover, .cat-jump a:focus-visible { background: var(--gx-blue); border-color: var(--gx-blue); color: var(--gx-white); }
.cat-section { padding-block: 2rem; border-top: 1px solid var(--gx-line); }
.cat-section:first-child { border-top: 0; padding-top: 0; }
.cat-section h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 700; }
.cat-subs { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); margin: 1rem 0 1.5rem; }
.cat-subs li { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem 1rem; background: var(--gx-soft); border-left: 4px solid var(--gx-blue); border-radius: var(--gx-radius); font-weight: 600; font-size: .95rem; }
.cat-subs i { color: var(--gx-blue); margin-top: .15rem; }
.card-gx:target, .cat-subs li:target, .cat-section:target { outline: 3px solid var(--gx-sky); outline-offset: 3px; }

/* View Location button: default text #0067A4 (the generic ".holo a" white link rule was overriding it); hover/focus unchanged */
.holo a.loc-btn:not(:hover):not(:focus-visible) { color: #0067A4; }
.holo a.loc-btn, .holo a.loc-btn:hover, .holo a.loc-btn:focus-visible { text-decoration: none; }

/* Approved By logos on tablet/desktop: the logo's height:100% could not resolve inside the grid box (auto row),
   so the 4:3 logo grew taller than the 110px box and its bottom was clipped. A flex box with a fixed height
   gives the image a definite height. Phones (below 576px) keep the existing layout. */
@media (min-width: 576px) {
  .iso-box { display: flex; align-items: center; justify-content: center; padding: .5rem; }
  .iso-box img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
}
