/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --wrap-max: 1320px;
  --gutter-x: clamp(12px, 2vw, 24px);
  --header-h: 100px;
  --crumbs-pad-y: 0.15rem;
  --crumbs-fs: clamp(.65rem, .52rem + 0.38vw, .8rem);
}
@media (max-width: 992px) {
  :root { --header-h: 72px; }
}

/* =========================================================
   GLOBAL
   ========================================================= */
html, body { background: var(--body-bg, #000) !important; }
.site-grid,
.container-below-top { overflow: visible !important; }
body { padding-top: 0 !important; }

/* =========================================================
   HEADER — STICKY (not fixed)
   ========================================================= */
.header.container-header.full-width,
.container-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1100 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  background: transparent !important;
}

/* Inner header child — centered card */
.header.container-header.full-width > *,
.container-header > * {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter-x);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background-image: url('/images/banner.png');
  background-color: var(--headerbg, #001F4D);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .12);
  position: relative;
}

/* Lighting overlay */
.header.container-header.full-width > *::after,
.container-header > *::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.05));
}

/* Header title */
.container-header h1 {
  color: var(--headercolor, #fff);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  width: 100%;
  text-align: center;
  text-shadow: 0 0.8px 1.6px rgba(0, 0, 0, .25);
  margin: 0;
}

/* Logo left, menu right */
.header.container-header .container-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem;
  max-width: var(--wrap-max) !important;
  margin-inline: auto !important;
  padding-inline: var(--gutter-x) !important;
}
.header.container-header .container-nav .mod-custom {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.header.container-header .container-nav .mod-custom p { margin: 0; }
.header.container-header .container-nav .navbar {
  flex: 1 1 auto;
  display: flex !important;
  justify-content: flex-end !important;
  position: relative;
  z-index: 1;
}
.header.container-header .container-nav .navbar-collapse {
  flex-grow: 0 !important;
}
.header.container-header .container-nav .mod-menu {
  justify-content: flex-end;
}

/* Dropdown menus above overlays */
.mod-menu .nav-child { position: absolute; z-index: 1200; }

/* Hamburger icon size */
.container-nav .navbar-toggler {
  padding: 2px 6px !important;
}
.container-nav .navbar-toggler .icon-menu::before {
  font-size: 14px !important;
}

/* Mobile menu */
@media (max-width: 991.98px) {
  .header.container-header .container-nav {
    flex-wrap: wrap !important;
  }
  .header.container-header .container-nav .navbar {
    flex: 0 0 auto !important;
  }
  .header.container-header .container-nav .navbar-collapse {
    width: 100% !important;
    flex-basis: 100% !important;
  }
  .header.container-header .container-nav .navbar-collapse .mod-menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem;
    padding: 0.5rem 0 !important;
  }
  .header.container-header .container-nav .navbar-collapse a,
  .header.container-header .container-nav .navbar-collapse button {
    font-size: 9px !important;
    letter-spacing: 2px !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
}

/* =========================================================
   BREADCRUMB — in flow, sticky on desktop
   ========================================================= */
nav.mod-breadcrumbs,
.mod-breadcrumbs__wrapper {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: auto !important;
  width: 100% !important;
  background: transparent !important;
}

/* Inner breadcrumb bar */
nav.mod-breadcrumbs > *,
.mod-breadcrumbs__wrapper > * {
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: var(--crumbs-pad-y) var(--gutter-x) !important;
  background: #000 !important;
  color: #d9d9d9 !important;
  border-radius: 6px;
}

nav.mod-breadcrumbs .breadcrumb,
.mod-breadcrumbs__wrapper .breadcrumb,
ol.mod-breadcrumbs.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: var(--crumbs-pad-y) var(--gutter-x) !important;
  padding-left: calc(var(--gutter-x) + 160px) !important;
  list-style: none;
  background: #000 !important;
  color: #d9d9d9 !important;
  border-radius: 0;
  max-width: var(--wrap-max);
  margin-inline: auto;
}

/* Typography */
nav.mod-breadcrumbs,
nav.mod-breadcrumbs a,
.mod-breadcrumbs__wrapper,
.mod-breadcrumbs__wrapper a,
.mod-breadcrumbs__wrapper span,
.mod-breadcrumbs__wrapper li,
.mod-breadcrumbs__here {
  font-size: var(--crumbs-fs) !important;
  line-height: 1.5 !important;
}

/* Links */
nav.mod-breadcrumbs a,
.mod-breadcrumbs__wrapper a {
  color: #cfcfcf !important;
  text-decoration: none;
  transition: color .2s ease;
}
nav.mod-breadcrumbs a:hover,
.mod-breadcrumbs__wrapper a:hover {
  color: #fff !important;
  text-decoration: underline;
}

/* Current item */
nav.mod-breadcrumbs .active,
.mod-breadcrumbs__wrapper .current,
.mod-breadcrumbs__wrapper li:last-child span {
  color: #cfcfcf !important;
  font-weight: 400 !important;
}
.mod-breadcrumbs__wrapper strong,
nav.mod-breadcrumbs strong {
  color: #f0f0f0 !important;
  font-weight: 700 !important;
}

/* Separators */
nav.mod-breadcrumbs .breadcrumb-item + .breadcrumb-item::before,
.mod-breadcrumbs__wrapper .breadcrumb-item + .breadcrumb-item::before {
  content: none !important;
}
nav.mod-breadcrumbs .breadcrumb > li + li::before,
.mod-breadcrumbs__wrapper li + li::before {
  content: "/";
  color: #888;
  margin: 0 4px;
}

/* Hide separator before first real link (after "You are here") */
nav.mod-breadcrumbs .breadcrumb > li:first-child + li::before,
.mod-breadcrumbs__wrapper li:first-child + li::before {
  content: none !important;
}

/* Sticky breadcrumb — always fixed below header */
nav.mod-breadcrumbs,
.mod-breadcrumbs__wrapper {
  position: sticky !important;
  top: var(--header-h) !important;
  z-index: 1000 !important;
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */
.grid-child.container-component {
  background: #fff;
  color: #000;
  padding: 0 1.2rem 1.2rem 1.2rem;
  border-radius: 6px;
  position: relative;
  z-index: 0;
  margin-top: 0 !important;
}

/* Breadcrumb inside container-component — full viewport width bleed */
.grid-child.container-component > .mod-breadcrumbs__wrapper,
.grid-child.container-component > nav.mod-breadcrumbs {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.grid-child.container-component > .mod-breadcrumbs__wrapper .breadcrumb,
.grid-child.container-component > nav.mod-breadcrumbs .breadcrumb,
.grid-child.container-component > .mod-breadcrumbs__wrapper ol.mod-breadcrumbs {
  border-radius: 0 !important;
  max-width: var(--wrap-max) !important;
  margin-inline: auto !important;
}

/* Keep sliders/carousels under sticky bars */
.grid-child.container-component [class*="slider"],
.grid-child.container-component .carousel,
.grid-child.container-component .owl-carousel {
  position: relative;
  z-index: 1;
}

/* Remove gap between header and breadcrumb */
.header.container-header.full-width {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
}
.site-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
  row-gap: 0 !important;
}
.grid-child.container-component {
  margin-top: 0 !important;
}
.grid-child.container-component > :first-child {
  margin-top: 0 !important;
}

/* =========================================================
   BANNER POSITION (breadcrumbs live here)
   ========================================================= */
.container-banner.full-width {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* =========================================================
   CARDS
   ========================================================= */
.card {
  background: #000;
  border: none;
  border-radius: 6px;
  box-shadow:
    0 -6px 8px -4px rgba(0, 102, 255, 0.5),
    0  6px 8px -4px rgba(0, 102, 255, 0.5);
  border-bottom: none;
  overflow: hidden;
}

.card-body {
  padding: 1rem;
  background: #000;
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow:
    inset 0 -4px 6px -4px rgba(0, 102, 255, 0.3),
    inset 0  4px 6px -4px rgba(0, 102, 255, 0.3);
}

/* =========================================================
   TOP-B CARD (gallery grid)
   ========================================================= */
.top-b.card {
  box-shadow: none;
  padding: 0;
}
.top-b.card img,
.top-b.card .mod-jg-latestimages * {
  border-radius: 0;
}

.top-b.card .card-body .mod-jg-latestimages,
.mod-jg-latestimages .mod-jg-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(var(--thumb-min, 180px), 1fr));
  gap: var(--jg-gap, 24px);
  padding: var(--gallery-pad, 24px);
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  place-content: start;
  place-items: start;
}

.top-b.card .card-body,
.top-b.card .card-body > * {
  justify-content: initial !important;
  align-content: initial !important;
  flex: 1 1 auto;
  min-width: 0;
}

.mod-jg-latestimages img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.grid-child.container-top-b,
.top-b.card .card-body {
  width: min(1400px, 95vw);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .mod-jg-latestimages,
  .mod-jg-latestimages .mod-jg-grid {
    --thumb-min: 160px;
    --jg-gap: 20px;
    --gallery-pad: 20px;
  }
}
@media (max-width: 600px) {
  .mod-jg-latestimages,
  .mod-jg-latestimages .mod-jg-grid {
    --thumb-min: 140px;
    --jg-gap: 16px;
    --gallery-pad: 16px;
  }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.collapse.navbar-collapse a { font-size: .93rem; }

/* =========================================================
   PAGINATION (global)
   ========================================================= */
.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  text-align: center;
  margin: 1rem auto;
  max-width: 100%;
  padding: 0 .5rem;
  box-sizing: border-box;
}
.pagination .page-item .page-link {
  border: none;
  box-shadow: none;
  background: transparent;
  color: #003399;
  margin: 0 3px;
  font-size: .8rem;
  padding: 0 .4rem;
  line-height: 1.6;
}
.pagination .page-item .page-link:hover {
  background: #e6e6e6;
  color: #001f66;
}
.pagination .page-item.active .page-link {
  background: #001f66;
  color: #fff;
  border-radius: 4px;
}
.pagination .page-item.disabled .page-link {
  color: #ccc;
}
@media (max-width: 600px) {
  .pagination .page-item:first-child,
  .pagination .page-item:last-child { display: none !important; }
  .pagination .page-item .page-link { font-size: .75rem; margin: 0 2px; padding: 0 .25rem; }
}

/* =========================================================
   JOOMGALLERY
   ========================================================= */
.com-joomgallery .jg-subcategories,
.com-joomgallery .jg-images,
.com-joomgallery .jg-image,
.com-joomgallery .jg-subcategory-card,
.com-joomgallery .jg-pagination,
.com-joomgallery .pagination,
.com-joomgallery .pagination-toolbar {
  background: #fff;
  color: #000;
}
.com-joomgallery .pagination a,
.com-joomgallery .pagination span { color: #000; }
.com-joomgallery .pagination .active > a,
.com-joomgallery .pagination .active > span {
  background: #0d6efd;
  color: #fff;
}

.com_joomgallery.view-category .jg-gallery { margin: .75em 0; }
.com_joomgallery.view-category .jg-images[class*=" columns-"],
.com_joomgallery.view-category .jg-images[class*=" masonry-"] { gap: .75em; }
.com_joomgallery.view-category .jg-images[class*=" columns-"] > .jg-image > .jg-image-thumbnail > a {
  padding-bottom: 66.666%;
}
.com_joomgallery.view-category .jg-image > .jg-image-thumbnail.boxed { padding: .35em; }
.com_joomgallery.view-category .jg-image > .jg-image-caption,
.com_joomgallery.view-category .jg-image-thumb + .jg-image-caption {
  padding: .25em 0;
  margin: 0;
}
.com_joomgallery.view-category .jg-image-caption,
.com_joomgallery.view-category .lg-sub-html > .jg-image-caption,
.com_joomgallery.view-category .lg-sub-html > .jg-image-desc {
  font-size: .8125rem;
  line-height: 1.25;
}
.com_joomgallery.view-category .jg-subcategories .jg-image-caption a.jg-link { font-size: .95rem; }
.com_joomgallery h1,
.com_joomgallery h2,
.com_joomgallery h3 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}
.com_joomgallery th,
.com_joomgallery td { font-size: 0.9rem; }

/* JoomGallery buttons */
.jg-link.btn.btn-outline-primary,
.btn.btn-outline-primary.no-more-images {
  border: none;
  box-shadow: none;
  background: transparent;
  color: #002d72;
  border-radius: 0;
  padding: 0;
  font-weight: normal;
}
.jg-link.btn.btn-outline-primary:hover,
.jg-link.btn.btn-outline-primary:focus,
.btn.btn-outline-primary.no-more-images:hover,
.btn.btn-outline-primary.no-more-images:focus {
  color: #0d6efd;
  background: transparent;
  text-decoration: underline;
}

/* LightGallery — push below sticky header */
.lg-outer {
  top: var(--header-h) !important;
  height: calc(100% - var(--header-h)) !important;
}
.lg-backdrop {
  top: var(--header-h) !important;
  height: calc(100% - var(--header-h)) !important;
}

/* =========================================================
   PHOCA GALLERY
   ========================================================= */
svg.ph-sr-only {
  display: none !important;
  width: 0;
  height: 0;
  overflow: hidden;
}

p a[href*="phoca.cz"],
div a[href*="phoca.cz"] { display: none !important; }

.phoca-gallery-poweredby,
#phocaGalleryPoweredBy,
.pg-poweredby,
.pg-copyright { display: none !important; }

div:has(> a[href*="phoca.cz"]),
p:has(> a[href*="phoca.cz"]) { display: none !important; }

.pg-top-icons { display: none !important; }
.ph-si.ph-si-image { display: none !important; }
.pg-item-box-info {
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}

body.com_phocagallery .pagination.pagination-centered {
  display: flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1rem auto;
  width: 100%;
}
body.com_phocagallery .pagination .counter,
body.com_phocagallery .pagination .page-counter { display: none !important; }

body.com_phocagallery .pg-msnr-container {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  body.com_phocagallery .pg-msnr-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  body.com_phocagallery .pg-msnr-container { grid-template-columns: repeat(3, 1fr); }
}

body.com_phocagallery .pg-item-box {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body.com_phocagallery .pg-item-box-info {
  font-size: .85rem;
  line-height: 1.2;
  text-align: center;
  color: #666;
}

/* =========================================================
   Prevent scrollbar layout shift
   ========================================================= */
html { scrollbar-gutter: stable; }

/* =========================================================
   PAGE-SPECIFIC: Home (dark content area, minimal height)
   ========================================================= */
body.itemid-101 .grid-child.container-component {
  background: #000 !important;
  color: #fff !important;
  padding: 0 1.2rem 0 1.2rem !important;
  min-height: 0 !important;
}
body.itemid-101 .grid-child.container-component main {
  display: none;
}
body.itemid-101 .grid-child.container-component #system-message-container:empty {
  display: none;
}

/* ---- Home: align bottom-a & bottom-b modules ---- */
body.itemid-101 .grid-child.container-bottom-a,
body.itemid-101 .grid-child.container-bottom-b {
  max-width: 1150px !important;
  width: 87vw !important;
  margin-inline: auto !important;
}

/* =========================================================
   LPH2O PREMIUM DARK — added 2026-04-02
   ONLY appended below. Nothing above was touched.
   ========================================================= */

/* Google Fonts moved to index.php <link> for faster loading — no more @import chain */

/* ---- NAV LINK COLORS ---- */
.container-header .mod-menu,
.container-header .mod-menu a,
.container-header .mod-menu button,
.container-header .navbar-nav .nav-link,
.container-header .metismenu > li > a,
.container-header .metismenu > li > button,
.container-header .metismenu .metismenu-item > a,
.collapse.navbar-collapse a {
  color: #1A6FB5 !important;
  font-family: 'Inter', sans-serif;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  transition: color .3s ease;
}
.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus,
.container-header .mod-menu button:hover,
.container-header .navbar-nav .nav-link:hover,
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li.active > a,
.container-header .metismenu .metismenu-item > a:hover,
.collapse.navbar-collapse a:hover {
  color: #FFFFFF !important;
}
.container-header .metismenu > li > a:hover:after,
.container-header .metismenu > li > button:hover:before,
.container-header .metismenu > li.active > a:after,
.container-header .metismenu > li.active > button:before {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  height: 1px !important;
}
.container-header .navbar-brand a {
  color: #fff !important;
}

/* ---- LOGO SIZE ---- */
.container-header img,
.container-header .navbar-brand img,
.container-header .mod-custom img {
  max-height: 70px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

/* ---- HEADER: black bg, no banner, no box ---- */
.header.container-header.full-width,
.container-header {
  background: #000 !important;
  background-color: #000 !important;
  background-image: none !important;
  border-color: transparent !important;
  border-bottom: none !important;
}
.header.container-header.full-width > *::before,
.container-header > *::before {
  content: '' !important;
  position: absolute;
  bottom: 0;
  left: var(--gutter-x);
  right: var(--gutter-x);
  height: 1px;
  background: rgba(26, 111, 181, 0.08);
  z-index: 2;
}
.header.container-header.full-width > *,
.container-header > * {
  background: #000 !important;
  background-color: #000 !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.header.container-header.full-width > *::after,
.container-header > *::after {
  background: none !important;
  border-radius: 0 !important;
}

/* ---- PARENT MENU ITEMS (Menu Heading / non-clickable) ---- */
.container-header .mod-menu .parent > .nav-link,
.container-header .mod-menu .nav-item.menu-heading > .nav-link,
.container-header .mod-menu .nav-item.dropdown > .nav-link {
  background: transparent !important;
}

/* ---- DROPDOWN MENUS ---- */
.container-header .mod-menu .nav-child,
.container-header .dropdown-menu,
.container-header .mod-menu__sub,
.container-header .mod-menu :where(.mod-menu__sub:not(.mod-menu__sub *)) {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.container-header .mod-menu .nav-child a,
.container-header .dropdown-menu .dropdown-item,
.container-header .mod-menu__sub a {
  color: #8A8A8A !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
}
.container-header .mod-menu .nav-child a:hover,
.container-header .dropdown-menu .dropdown-item:hover,
.container-header .mod-menu__sub a:hover {
  color: #fff !important;
  background: rgba(26, 111, 181, 0.12) !important;
}

/* ---- CARDS: remove blue glow only ---- */
.card {
  box-shadow: none !important;
}
.card-body {
  box-shadow: none !important;
}

/* ---- FOOTER DARK ---- */
.container-footer {
  background: transparent !important;
  background-image: none !important;
  border-top: none !important;
}
.container-footer,
.container-footer a {
  color: #555 !important;
}
.container-footer a:hover {
  color: #1A6FB5 !important;
}
/* LPH2O footer content */
.container-footer .grid-child {
  max-width: 1150px !important;
  width: 87vw !important;
  margin-inline: auto !important;
  padding: 1rem var(--gutter-x) !important;
  display: block !important;
}
.container-footer,
.container-footer .mod-custom,
.container-footer .card,
.container-footer .card-body {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.container-footer hr,
.container-footer .separator {
  display: none !important;
}
.lph2o-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.2rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.lph2o-footer__copy {
  margin: 0;
  color: #555;
  font-weight: 400;
}
.lph2o-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
}
.lph2o-footer__nav a {
  color: #555 !important;
  text-decoration: none;
  font-weight: 500;
}
.lph2o-footer__nav a:hover {
  color: #1A6FB5 !important;
}
.lph2o-footer__copy {
  color: #555 !important;
}
@media (max-width: 768px) {
  .lph2o-footer {
    flex-direction: column;
    text-align: center;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .lph2o-footer__nav {
    justify-content: center;
  }
  .lph2o-footer__nav a {
    font-size: 9px !important;
  }
}

/* ---- mod_joomimages_js SLIDESHOW ---- */
[class$="_main"] .swiper { background: #000; }
[class$="_main"] .swiper-slide { background: #000; }
[class$="_main"] .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
[class$="_main"] .joomimg-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 60%, transparent 100%) !important;
  color: #fff !important; font-family: 'Montserrat', sans-serif;
  font-size: 16px !important; font-weight: 600;
  padding: 32px 48px !important; opacity: 1 !important;
  height: auto !important; min-height: 80px;
}
.swiper-pagination-progressbar { background: rgba(255,255,255,.1) !important; }
.swiper-pagination-progressbar-fill { background: #1A6FB5 !important; }

/* ---- mod_joomimages_js GRID ---- */
[class$="_img"] img { transition: transform .8s cubic-bezier(.25,.46,.45,.94); }
[class$="_imgct"]:hover [class$="_img"] img { transform: scale(1.04); }
[class$="_txt"] strong { font-family: 'Montserrat', sans-serif !important; color: #fff !important; }

/* ---- mod_joomimages_js JUSTIFIED ---- */
.joomimg-justified-item img { transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.joomimg-justified-item:hover img { transform: scale(1.05); }
.joomimg-justified-caption {
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, transparent 100%) !important;
  color: #fff !important; font-family: 'Montserrat', sans-serif;
  font-size: 13px !important; font-weight: 600;
  padding: 24px 14px 10px !important; opacity: 0;
  transition: opacity .35s ease;
}
.joomimg-justified-item:hover .joomimg-justified-caption { opacity: 1; }

/* ---- mod_joomimages_js PAGINATION ---- */
[class$="_paglink"] {
  background: #111 !important; color: #8A8A8A !important;
  border: 1px solid #222 !important; border-radius: 4px;
  padding: 8px 12px !important; font-size: 12px !important;
  cursor: pointer; transition: .3s ease;
}
[class$="_paglink"]:hover { color: #1A6FB5 !important; border-color: #1A6FB5 !important; }
[class$="_paglinkactive"] {
  background: #1A6FB5 !important; color: #000 !important;
  border: 1px solid #1A6FB5 !important; border-radius: 4px;
  padding: 8px 12px !important; font-size: 12px !important;
}


/* =========================================================
   OPTION A — PREMIUM GOLD ACCENTS ON PHOTOS
   Menu stays blue, photo details/captions use gold #1A6FB5
   ========================================================= */

/* ---- Photo containers: spacing + hover gold border ---- */
[class$="_imgct"] {
  position: relative;
  transition: .4s ease;
}

[class$="_imgct"] [class$="_img"] {
  position: relative;
  overflow: hidden;
  border: 1px solid #1A1A1A;
  transition: border-color .4s ease;
}

[class$="_imgct"]:hover [class$="_img"] {
  border-color: #B0B8C1;
}

[class$="_imgct"]:hover [class$="_img"] {
  border-color: #B0B8C1;
}

/* ---- Photo hover: dark overlay ---- */
[class$="_imgct"] [class$="_img"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}

[class$="_imgct"]:hover [class$="_img"]::after {
  opacity: 1;
}

/* ---- Photo captions ---- */
[class$="_txt"] {
  padding: 12px 6px 8px !important;
  text-align: left !important;
}

[class$="_txt"] strong {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  display: block !important;
  margin-bottom: 2px !important;
  letter-spacing: 2.5px;
}

[class$="_txt"] br { display: none; }

[class$="_txt"] span,
[class$="_txt"] .joomimg-cat,
[class$="_txt"] a {
  font-size: 10px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1A6FB5 !important;
}

/* ---- Gold thin separator line between sections ---- */
.container-banner.full-width,
.grid-child.container-top-a,
.grid-child.container-top-b {
  border-bottom: 1px solid rgba(138, 138, 138, 0.12) !important;
}

/* ---- Breadcrumb active item: gold ---- */
nav.mod-breadcrumbs .active,
.mod-breadcrumbs__wrapper .current,
.mod-breadcrumbs__wrapper li:last-child span,
.mod-breadcrumbs__wrapper strong,
nav.mod-breadcrumbs strong {
  color: #1A6FB5 !important;
}

/* ---- Justified gallery: gold caption accent ---- */
.joomimg-justified-caption {
  border-top: 1px solid rgba(138, 138, 138, 0.15) !important;
}

/* ---- Swiper caption: gold category text ---- */
[class$="_main"] .joomimg-caption {
  border-top: 1px solid rgba(138, 138, 138, 0.15) !important;
}

/* ---- Footer: gold accent on titles ---- */
.container-footer h3,
.container-footer .module-title {
  color: #1A6FB5 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---- Pagination active: blue ---- */
[class$="_paglinkactive"] {
  background: #1A6FB5 !important;
  color: #000 !important;
  border-color: #1A6FB5 !important;
}
[class$="_paglink"]:hover {
  color: #1A6FB5 !important;
  border-color: #1A6FB5 !important;
}

/* ---- Thin blue line below bottom-b ---- */
.grid-child.container-bottom-b {
  position: relative;
}
.grid-child.container-bottom-b::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--gutter-x);
  right: var(--gutter-x);
  height: 1px;
  background: rgba(26, 111, 181, 0.10);
}

/* ---- Menu: shift left ---- */
#mod-menu1 {
  margin-right: 4rem !important;
}


/* =========================================================
   JOOMGALLERY — Premium Dark Theme
   ========================================================= */

/* Dark background + match homepage width */
body.com_joomgallery .grid-child.container-component {
  background: #000 !important;
  color: #F0F0F0 !important;
}
body.com_joomgallery .grid-child.container-component {
  display: block !important;
}
body.com_joomgallery .grid-child.container-component main {
  max-width: 1150px !important;
  width: 87vw !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Headings */
body.com_joomgallery h2 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #F0F0F0 !important;
}

/* Links */
body.com_joomgallery .jg-image-caption a,
body.com_joomgallery a.jg-link:not(.btn) {
  color: #1A6FB5 !important;
}
body.com_joomgallery .jg-image-caption a:hover,
body.com_joomgallery a.jg-link:not(.btn):hover {
  color: #fff !important;
}

/* Image hover — shadow lift */
body.com_joomgallery .jg-image {
  transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}
body.com_joomgallery .jg-image:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(26, 111, 181, 0.25) !important;
}

/* Boxed thumbnail border */
body.com_joomgallery .jg-image > .jg-image-thumbnail.boxed {
  border-color: #1A1A1A !important;
}
body.com_joomgallery .jg-image:hover > .jg-image-thumbnail.boxed {
  border-color: #B0B8C1 !important;
}

/* Caption text */
body.com_joomgallery .jg-image-caption,
body.com_joomgallery .jg-image-caption.center,
body.com_joomgallery .jg-image-caption.left,
body.com_joomgallery .jg-image-caption.right {
  color: #fff !important;
  font-size: 0.8rem !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
body.com_joomgallery .jg-image-caption a,
body.com_joomgallery .jg-image-caption.center a,
body.com_joomgallery .jg-image > .jg-image-caption a,
body.com_joomgallery a.jg-link {
  color: #fff !important;
  font-size: 0.8rem !important;
}
/* Disable breadcrumb "Images" link (view=images requires admin) */
.mod-breadcrumbs a[href*="view=images"] {
  pointer-events: none;
  cursor: default;
  color: inherit !important;
  text-decoration: none !important;
}

body.com_joomgallery .jg-image-caption a:hover,
body.com_joomgallery .jg-image-caption.center a:hover,
body.com_joomgallery .jg-image > .jg-image-caption a:hover,
body.com_joomgallery a.jg-link:hover {
  color: #1A6FB5 !important;
}

/* Pagination dark */
body.com_joomgallery .pagination .page-item .page-link {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.75rem !important;
}
body.com_joomgallery .pagination .page-item .page-link:hover {
  color: #1A6FB5 !important;
  border-color: #1A6FB5 !important;
}
body.com_joomgallery .pagination .page-item.active .page-link {
  background: #1A6FB5 !important;
  color: #000 !important;
  border-color: #1A6FB5 !important;
}

/* Browse Images button — hidden */
body.com_joomgallery a.jg-link.btn[href*="view=gallery"] {
  display: none !important;
}
/* Back to parent / other jg buttons */
body.com_joomgallery .jg-link.btn.btn-outline-primary {
  color: #1A6FB5 !important;
  border-color: #1A1A1A !important;
  background: transparent !important;
}
body.com_joomgallery .jg-link.btn.btn-outline-primary:hover {
  border-color: #1A6FB5 !important;
  background: #1A6FB5 !important;
  color: #000 !important;
}


/* JoomGallery — Image detail view (view=image) */
body.com_joomgallery.view-image .jg-link.btn.btn-outline-primary {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
}
body.com_joomgallery.view-image .item_fields h3 {
  display: none !important;
}
body.com_joomgallery.view-image .item_fields {
  width: fit-content;
  margin-inline: auto;
}
body.com_joomgallery.view-image .item_fields .table {
  border: none !important;
  background: transparent !important;
}
body.com_joomgallery.view-image .item_fields .table tr {
  border-color: rgba(138, 138, 138, 0.08) !important;
}
body.com_joomgallery.view-image .item_fields .table th,
body.com_joomgallery.view-image .item_fields .table td {
  color: #888 !important;
  background: transparent !important;
  border-color: rgba(138, 138, 138, 0.08) !important;
  font-size: 0.75rem;
  padding: 6px 10px;
}
body.com_joomgallery.view-image .item_fields .table th {
  color: #555 !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.65rem;
}
body.com_joomgallery.view-image .item_fields .table td a {
  color: #1A6FB5 !important;
}
body.com_joomgallery.view-image .item_fields .table td a:hover {
  color: #fff !important;
}
body.com_joomgallery.view-image figure {
  margin: 1.5rem auto;
}
body.com_joomgallery.view-image figure img {
  border-radius: 4px;
  border: 1px solid #1A1A1A;
}
body.com_joomgallery.view-image .figure-caption {
  color: #888;
  font-size: 0.72rem;
  margin-top: 0.5rem;
}

/* Gallery statistics footer */
body.com_joomgallery .jg-stats {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(26, 111, 181, 0.08);
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}
body.com_joomgallery .jg-stats-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
body.com_joomgallery .jg-stats-tab {
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
body.com_joomgallery .jg-stats-tab:hover {
  color: #fff;
}
body.com_joomgallery .jg-stats-tab.active {
  color: #1A6FB5;
  border-bottom-color: #1A6FB5;
}
body.com_joomgallery .jg-stats-panel {
  display: none;
}
body.com_joomgallery .jg-stats-panel.active {
  display: block;
}
body.com_joomgallery .jg-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
body.com_joomgallery .jg-stats-thumb {
  text-align: center;
}
body.com_joomgallery .jg-stats-thumb a {
  display: block;
}
body.com_joomgallery .jg-stats-thumb img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #1A1A1A;
  transition: border-color 0.2s, transform 0.2s;
}
body.com_joomgallery .jg-stats-thumb img:hover {
  border-color: #B0B8C1;
  transform: scale(1.03);
}
body.com_joomgallery .jg-stats-thumb-caption {
  font-size: 0.6rem;
  color: #999;
  margin-top: 0.3rem;
  line-height: 1.3;
}
body.com_joomgallery .jg-stats-detail {
  color: #555;
  font-size: 0.65rem;
  white-space: nowrap;
}
body.com_joomgallery .jg-stats-tab {
  text-decoration: none;
}
/* Modal overlay */
.jg-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: flex-start;
  padding: 15vh 2rem 2rem;
}
.jg-modal-overlay.active {
  display: flex;
}
.jg-modal {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.jg-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(138, 138, 138, 0.15);
}
.jg-modal-title {
  color: #1A6FB5;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.jg-modal-close {
  background: none;
  border: none;
  color: #666;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
}
.jg-modal-close:hover {
  color: #fff;
}
body.com_joomgallery .jg-stats-totals {
  margin-top: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: none;
  color: #555;
  font-size: 0.65rem;
}
body.com_joomgallery .jg-stats-totals strong {
  color: #999;
}

/* Gallery search trigger */
#jg-search-btn {
  background: none;
  border: none;
  color: rgba(26, 111, 181, 0.75);
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s;
  line-height: 1;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
#jg-search-btn:hover {
  color: #1A6FB5;
}

/* Search modal */
.jg-search-modal {
  max-width: 950px;
}
.jg-search-modal .jg-modal-header {
  gap: 1rem;
}
#jg-search-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #222;
  color: #ccc;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  padding: 6px 0;
  flex: 1;
  outline: none;
  transition: border-color 0.2s;
}
#jg-search-input::placeholder {
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 9px;
}
#jg-search-input:focus {
  border-bottom-color: #1A6FB5;
}
#jg-search-results {
  display: none;
  margin-top: 1rem;
}
#jg-search-results.active {
  display: block;
}
.jg-search-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.jg-search-thumb {
  text-align: center;
}
.jg-search-thumb a {
  display: block;
}
.jg-search-thumb img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #1A1A1A;
  transition: border-color 0.2s, transform 0.2s;
}
.jg-search-thumb img:hover {
  border-color: #B0B8C1;
  transform: scale(1.03);
}
.jg-search-caption {
  font-size: 0.6rem;
  color: #999;
  margin-top: 0.3rem;
  line-height: 1.3;
}
.jg-search-cat {
  display: block;
  font-size: 0.55rem;
  color: #1A6FB5 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
.jg-search-cat:hover {
  color: #B0B8C1 !important;
}
.jg-search-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: sticky;
  bottom: -1.5rem;
  background: #111 !important;
  margin: 0 -1.5rem;
  padding: 12px 1.5rem;
  border-top: 1px solid #222;
}
.jg-search-total {
  width: 100%;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 4px;
}
.jg-search-page {
  background: transparent !important;
  border: 1px solid #333 !important;
  color: #aaa !important;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  line-height: 1;
}
.jg-search-page:hover {
  color: #fff !important;
  border-color: #1A6FB5 !important;
  background: rgba(26, 111, 181, 0.15) !important;
}
.jg-search-page.active {
  background: #1A6FB5 !important;
  border-color: #1A6FB5 !important;
  color: #fff !important;
}
.jg-search-ellipsis {
  color: #555;
  font-size: 11px;
}
.jg-search-empty {
  color: #555;
  font-size: 0.7rem;
  text-align: center;
  padding: 1rem 0;
}

/* =========================================================
   PHOCA GALLERY — Premium Dark Theme
   ========================================================= */

/* Dark background */
body.com_phocagallery .grid-child.container-component {
  background: #000 !important;
  color: #fff !important;
  border-radius: 6px !important;
}
body.com_phocagallery .grid-child.container-component,
body.com_phocagallery .grid-child.container-component p,
body.com_phocagallery .grid-child.container-component span,
body.com_phocagallery .grid-child.container-component a,
body.com_phocagallery .grid-child.container-component li {
  color: #fff !important;
}
body.com_phocagallery .grid-child.container-component a:hover {
  color: #1A6FB5 !important;
}

/* Headings */
body.com_phocagallery h2,
body.com_phocagallery h3 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  color: #F0F0F0 !important;
}

/* Category/image names */
body.com_phocagallery .pg-item-box-info,
body.com_phocagallery .pg-item-box-info a {
  color: #fff !important;
  font-size: 0.8rem !important;
}
body.com_phocagallery .pg-item-box-info a:hover {
  color: #1A6FB5 !important;
}

/* Links (exclude footer) */
body.com_phocagallery a:not(.lph2o-footer__nav a) {
  color: #fff !important;
}
body.com_phocagallery a:not(.lph2o-footer__nav a):hover {
  color: #1A6FB5 !important;
}
body.com_phocagallery .lph2o-footer__nav a {
  color: #555 !important;
}
body.com_phocagallery .lph2o-footer__nav a:hover {
  color: #1A6FB5 !important;
}

/* No hover effect / no borders on Phoca images */
body.com_phocagallery .pg-item-box {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

/* Ordering/Display selects — no border, native arrow */
body.com_phocagallery select,
body.com_phocagallery .form-select {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 0.75rem !important;
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
}
body.com_phocagallery .pagination.pagination-centered,
body.com_phocagallery .pagination.pagination-centered * {
  font-size: 0.75rem !important;
  color: #fff !important;
}
body.com_phocagallery .pg-item-box-title,
body.com_phocagallery .pg-item-box-title a {
  color: #fff !important;
  background: transparent !important;
  margin-top: 10px !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
body.com_phocagallery .pg-item-box a:hover .pg-item-box-image-over,
body.com_phocagallery .pg-item-box .pg-item-box-image-over,
body.com_phocagallery .pg-item-box a .pg-image-overlay,
body.com_phocagallery .pg-item-box .pg-overlay,
body.com_phocagallery .pg-item-box a span {
  display: none !important;
  opacity: 0 !important;
}

/* Pagination */
body.com_phocagallery .pagination .page-item .page-link,
body.com_phocagallery .pagination a,
body.com_phocagallery .pagination span {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
}
body.com_phocagallery .pagination .page-item .page-link:hover,
body.com_phocagallery .pagination a:hover {
  color: #1A6FB5 !important;
}
body.com_phocagallery .pagination .page-item.active .page-link,
body.com_phocagallery .pagination .active > a,
body.com_phocagallery .pagination .active > span {
  background: #1A6FB5 !important;
  color: #000 !important;
}

/* Thumbnail images */
body.com_phocagallery .pg-item-box img {
  border-radius: 4px;
}
body.com_phocagallery .pg-item-box-image,
body.com_phocagallery .pg-item-box-image a,
body.com_phocagallery .pg-item-box-image img {
  box-shadow: none !important;
  border: none !important;
  text-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Category view */
body.com_phocagallery .pg-category-view.pg-cv {
  background: #000 !important;
  border-radius: 8px !important;
  padding: 1rem !important;
}
body.com_phocagallery .pg-category-view.pg-cv,
body.com_phocagallery .pg-category-view.pg-cv *,
body.com_phocagallery .pg-category-view.pg-cv a,
body.com_phocagallery .grid-child.container-component [style],
body.com_phocagallery .grid-child.container-component [style] * {
  color: #1A6FB5 !important;
}
body.com_phocagallery .pg-category-view.pg-cv a:hover {
  color: #fff !important;
}

/* Phoca pagination inside pg-cv */
body.com_phocagallery .pg-category-view.pg-cv .pagination a,
body.com_phocagallery .pg-category-view.pg-cv .pagination span,
body.com_phocagallery .pg-category-view.pg-cv .pagination .page-link {
  color: #fff !important;
  background: transparent !important;
}
body.com_phocagallery .pg-category-view.pg-cv .pagination a:hover {
  color: #1A6FB5 !important;
}
body.com_phocagallery .pg-category-view.pg-cv .pagination .active a,
body.com_phocagallery .pg-category-view.pg-cv .pagination .active span,
body.com_phocagallery .pg-category-view.pg-cv .pagination .active .page-link {
  color: #000 !important;
  background: #1A6FB5 !important;
  border-radius: 4px;
}

/* Phoca Gallery search */
.pg-stats {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(26, 111, 181, 0.08);
  text-align: center;
}
.pg-stats-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
#pg-search-btn {
  background: none;
  border: none;
  color: rgba(26, 111, 181, 0.75);
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s;
  line-height: 1;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}
#pg-search-btn:hover {
  color: #1A6FB5;
}
#pg-search-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #222;
  color: #ccc;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  padding: 6px 0;
  flex: 1;
  outline: none;
  transition: border-color 0.2s;
}
#pg-search-input::placeholder {
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 9px;
}
#pg-search-input:focus {
  border-bottom-color: #1A6FB5;
}
#pg-search-results {
  display: none;
  margin-top: 1rem;
}
#pg-search-results.active {
  display: block;
}

/* Articles/Weblinks — match content width to homepage, dark theme */
body.com_content .grid-child.container-component {
  max-width: 1150px;
  width: 87vw;
  margin-inline: auto;
  background: #000;
  color: #fff;
}
body.com_content .grid-child.container-component a {
  color: #1A6FB5;
}
body.com_content .grid-child.container-component a:hover {
  color: #fff;
}
body.com_content .com-content-category__table.table-striped tbody tr,
body.com_content .com-content-category__table.table-bordered,
body.com_content .com-content-category__table.table-bordered th,
body.com_content .com-content-category__table.table-bordered td {
  background: transparent !important;
  border-color: rgba(138,138,138,0.12) !important;
  color: #fff;
}
body.com_content .com-content-category__table.table-hover tbody tr:hover {
  background: rgba(26,111,181,0.08) !important;
}
body.view-article .item-page table {
  margin-inline: auto;
}
body.view-article .item-page h2,
body.view-article .page-header h1 {
  font-size: 1.1rem;
  font-family: Montserrat, sans-serif;
  text-align: center;
}
body.view-article .item-page table td {
  text-align: left;
}
/* Article prev/next navigation — transparent */
body.com_content .pager,
body.com_content .pagination,
body.com_content .article-nav,
body.com_content nav[aria-label] ul,
body.com_content .com-content-article__navigation {
  background: transparent !important;
}
body.com_content .pager li a,
body.com_content .pager li span,
body.com_content .com-content-article__navigation a,
body.com_content .com-content-article__navigation span,
body.com_content nav.article-nav a {
  background: transparent !important;
  border: none !important;
  color: #1A6FB5 !important;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
body.com_content .pager li a:hover,
body.com_content .com-content-article__navigation a:hover,
body.com_content nav.article-nav a:hover {
  color: #B0B8C1 !important;
}
body.com_content .com-content-category__pagination.btn-group {
  background: transparent;
}
body.com_content .com-content-category__pagination .form-select {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231A6FB5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.5rem center / 0.75rem !important;
  color: #1A6FB5;
  border: none;
  box-shadow: none;
  font-size: 0.75rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 1.5rem;
}
body.com_content .com-content-category__pagination .form-select option {
  background: #111;
  color: #fff;
}

/* =========================================================
   OSMap — dark premium layout
   ========================================================= */
body.com_osmap .grid-child.container-component {
  max-width: 1150px;
  width: 87vw;
  margin-inline: auto;
  background: #000;
  color: #F0F0F0;
  padding: 0 1.2rem 1.2rem 1.2rem;
}
body.com_osmap .grid-child.container-component,
body.com_osmap .grid-child.container-component li {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
body.com_osmap .osmap-items h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F0F0F0;
}
body.com_osmap .grid-child.container-component a {
  color: #fff;
  transition: color .3s ease;
}
body.com_osmap .grid-child.container-component a:hover {
  color: #B0B8C1;
}
/* Photos (level_2+) blue */
body.com_osmap .grid-child.container-component .osmap-items ul.level_2 a,
body.com_osmap .grid-child.container-component .osmap-items ul.level_3 a {
  color: #1A6FB5 !important;
}
body.com_osmap .grid-child.container-component .osmap-items ul.level_2 a:hover,
body.com_osmap .grid-child.container-component .osmap-items ul.level_3 a:hover {
  color: #B0B8C1 !important;
}
/* Airline Paint Scheme (Phoca) — level_1 items are photos, make blue */
body.com_osmap #osmap-ul-uid-menuitem-161 > li > a {
  color: #1A6FB5 !important;
}
body.com_osmap #osmap-ul-uid-menuitem-161 > li > a:hover {
  color: #B0B8C1 !important;
}
body.com_osmap .osmap-items > ul {
  list-style: none;
  padding-left: 0;
  columns: 2;
  column-gap: 2.5rem;
  column-rule: 1px solid rgba(255,255,255,0.07);
  max-width: 900px;
  margin-inline: auto;
}
body.com_osmap .osmap-items ul {
  list-style: none;
  padding-left: 1rem;
}
body.com_osmap .osmap-items ul > li {
  padding: 0.3rem 0;
  break-inside: avoid;
}

/* =========================================================
   CONTACT FORM — Premium Dark Theme
   ========================================================= */
body.com_contact .grid-child.container-component {
  max-width: 1150px;
  width: 87vw;
  margin-inline: auto;
  background: #000;
  color: #F0F0F0;
}
body.com_contact .page-header h1,
body.com_contact .contact-category h2,
body.com_contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
}
body.com_contact .contact-form legend {
  display: none;
}
/* Hide info fields we don't need */
body.com_contact .com-contact__info,
body.com_contact .contact-misc,
body.com_contact .contact-image {
  display: none;
}
/* Form container */
body.com_contact .com-contact__form {
  max-width: 600px;
  margin-inline: auto;
  padding: 1rem 0;
}
/* Labels */
body.com_contact .com-contact__form label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 0.3rem;
}
/* Inputs & textarea */
body.com_contact .com-contact__form input[type="text"],
body.com_contact .com-contact__form input[type="email"],
body.com_contact .com-contact__form textarea,
body.com_contact .com-contact__form select {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #333 !important;
  border-radius: 0 !important;
  color: #F0F0F0 !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 0.5rem 0;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}
body.com_contact .com-contact__form input:focus,
body.com_contact .com-contact__form textarea:focus {
  border-bottom-color: #1A6FB5 !important;
  box-shadow: none !important;
}
body.com_contact .com-contact__form textarea {
  min-height: 120px;
  resize: vertical;
}
/* Placeholder */
body.com_contact .com-contact__form input::placeholder,
body.com_contact .com-contact__form textarea::placeholder {
  color: #444;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Submit button */
body.com_contact .com-contact__form button[type="submit"],
body.com_contact .com-contact__form .btn-primary {
  background: #1A6FB5 !important;
  border: none !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 1rem;
}
body.com_contact .com-contact__form button[type="submit"]:hover,
body.com_contact .com-contact__form .btn-primary:hover {
  background: #B0B8C1 !important;
  color: #000 !important;
}
/* Links */
body.com_contact a {
  color: #1A6FB5;
}
body.com_contact a:hover {
  color: #B0B8C1;
}

/* Article page navigation (prev/next) — dark theme */
.pagenavigation .btn-secondary {
  background: transparent !important;
  border-color: transparent !important;
  color: #1A6FB5 !important;
}
.pagenavigation .btn-secondary:hover {
  color: #B0B8C1 !important;
}

/* Social share module in footer */
.container-footer .card,
.container-footer .card-body,
.container-footer .mod-custom {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.container-footer .lph2o-share {
  justify-content: flex-end;
  padding: 6px 0 0 0;
  gap: 12px;
}
.container-footer .lph2o-share__btn svg {
  opacity: 0.4;
}
.container-footer .lph2o-share__btn:hover svg {
  opacity: 1;
}

/* =========================================================
   SMART SEARCH — NAV SEARCH BOX
   ========================================================= */
.container-search {
  display: flex;
  align-items: center;
}
.container-search label.finder {
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #fff;
  margin: 0 8px 0 0;
  white-space: nowrap;
}
.container-search .js-finder-search-query {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
  font-family: Inter, sans-serif;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
  width: 160px;
  transition: border-color 0.2s, width 0.3s;
}
.container-search .js-finder-search-query::placeholder {
  color: rgba(255,255,255,0.35);
}
.container-search .js-finder-search-query:focus {
  outline: none;
  border-color: #1A6FB5 !important;
  background: rgba(255,255,255,0.12) !important;
  width: 220px;
}
/* Awesomplete dropdown dark theme — nav and results page */
.container-search .awesomplete > ul,
body.com_finder .awesomplete > ul {
  background: #111 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #fff !important;
}
.container-search .awesomplete > ul > li,
body.com_finder .awesomplete > ul > li {
  background: #111 !important;
  color: #ccc !important;
}
.container-search .awesomplete > ul > li:hover,
.container-search .awesomplete > ul > li[aria-selected="true"],
body.com_finder .awesomplete > ul > li:hover,
body.com_finder .awesomplete > ul > li[aria-selected="true"] {
  background: #333 !important;
  color: #fff !important;
}
body.com_finder .awesomplete mark,
.container-search .awesomplete mark {
  background: transparent !important;
  color: #1A6FB5 !important;
}

/* =========================================================
   SMART SEARCH — RESULTS PAGE
   ========================================================= */
/* Force Inter font on search page — exclude icons and breadcrumbs */
body.com_finder .grid-child.container-component p,
body.com_finder .grid-child.container-component a,
body.com_finder .grid-child.container-component li,
body.com_finder .grid-child.container-component label,
body.com_finder .grid-child.container-component input,
body.com_finder .grid-child.container-component button,
body.com_finder .grid-child.container-component cite,
body.com_finder .grid-child.container-component div,
body.com_finder .grid-child.container-component figcaption {
  font-family: 'Inter', sans-serif !important;
}
/* Footer on search page — match other pages */
body.com_finder .lph2o-footer,
body.com_finder .lph2o-footer__copy,
body.com_finder .lph2o-footer__nav,
body.com_finder .lph2o-footer__nav a {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}

/* Dark container matching site theme */
body.com_finder .grid-child.container-component {
  background: #000 !important;
  color: #ccc !important;
  max-width: 1150px !important;
  width: 87vw !important;
  margin-inline: auto !important;
}

/* Search form on results page */
body.com_finder .js-finder-searchform {
  background: transparent !important;
  border: none !important;
  padding: 0 0 24px 0;
  max-width: 500px;
}
body.com_finder .js-finder-searchform .form-control {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  border-radius: 4px;
  padding: 8px 14px !important;
}
body.com_finder .js-finder-searchform .form-control:focus {
  border-color: #1A6FB5 !important;
  background: rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
  outline: none;
}
body.com_finder .js-finder-searchform .form-control::placeholder {
  color: rgba(255,255,255,0.30);
}
body.com_finder .js-finder-searchform .btn-primary {
  background: #333 !important;
  border-color: #333 !important;
  color: #ccc !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 18px !important;
}
body.com_finder .js-finder-searchform .btn-primary:hover {
  background: #444 !important;
  color: #fff !important;
}
body.com_finder .js-finder-searchform label.me-2 {
  color: #999 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

/* "Assuming X is required, N results found" */
body.com_finder .com-finder__explained,
body.com_finder .com-finder__explained p,
body.com_finder #search-query-explained,
body.com_finder #search-query-explained p {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.com_finder .search-results-description,
body.com_finder .result-text,
body.com_finder .result__description {
  color: #999 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.com_finder .com-finder__explained a,
body.com_finder #search-query-explained a {
  color: #1A6FB5 !important;
}
body.com_finder .com-finder__counter,
body.com_finder .search-pages-counter {
  color: #999 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Result list — remove default bullets */
.com_finder .search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each result — horizontal card */
.com_finder .result__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.com_finder .result__item:last-child {
  border-bottom: none;
}

/* Thumbnail */
.com_finder .result__image {
  flex-shrink: 0;
  margin: 0;
  width: 200px;
}
.com_finder .result__image img {
  width: 200px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}
.com_finder .result__image a {
  display: block;
}

/* Title */
.com_finder .result__title {
  margin: 0 0 4px 0;
}
.com_finder .result__title-link {
  text-decoration: none !important;
}
body.com_finder .result__title-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1A6FB5 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: color 0.2s;
}
.com_finder .result__title-link:hover .result__title-text {
  color: #B0B8C1;
}

/* Hide URL in results */
.com_finder .result__title-url {
  display: none;
}

/* Description */
.com_finder .result__description {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #888;
  margin: 4px 0 0 0;
  line-height: 1.5;
}
.com_finder .result__date {
  color: #666;
  margin-right: 6px;
}

/* Highlight — search term match */
.com_finder mark {
  background: rgba(26,111,181,0.3);
  color: #fff;
  padding: 1px 3px;
  border-radius: 2px;
}

/* Taxonomy badges */
.com_finder .result__taxonomy {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0 0;
}
body.com_finder .result__taxonomy-item {
  font-family: Inter, sans-serif !important;
  font-size: 10px !important;
  color: #666 !important;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.com_finder .result__taxonomy-item span {
  color: #666 !important;
  margin-right: 3px;
}

/* Pagination */
.com_finder .pagination {
  margin-top: 20px;
}
.com_finder .pagination .page-link {
  background: transparent !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #1A6FB5 !important;
  font-family: Inter, sans-serif;
  font-size: 12px;
}
.com_finder .pagination .page-link:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}
.com_finder .pagination .active .page-link {
  background: #1A6FB5 !important;
  border-color: #1A6FB5 !important;
  color: #fff !important;
}

/* Separator lines — kill all borders/lines between results */
body.com_finder hr,
body.com_finder .grid-child.container-component hr {
  display: none !important;
}
body.com_finder .com-finder__results-list,
body.com_finder .com-finder__results-list li,
body.com_finder .com-finder__results-list .result__item {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
body.com_finder .com-finder__results-list {
  border-bottom: none !important;
}
body.com_finder .com-finder__results-list li:last-child {
  border-bottom: none !important;
}

/* Responsive — stack on mobile */
@media (max-width: 600px) {
  .com_finder .result__item {
    flex-direction: column;
    gap: 10px;
  }
  .com_finder .result__image,
  .com_finder .result__image img {
    width: 100%;
  }
  .container-search .js-finder-search-query {
    width: 120px;
  }
  .container-search .js-finder-search-query:focus {
    width: 160px;
  }
}

/* Header dropdown — solid white on all pages (2026-04-18) */
/* Menu uses metismenu (.mm-collapse) on Collapsible Dropdown layout */
/* High specificity: .header.container-header .container-nav .mod-menu .mm-collapse (0,5,0) */
.header.container-header .container-nav .mod-menu ul.mm-collapse,
.header.container-header .container-nav .mod-menu .mm-collapse,
.header.container-header .container-nav .mod-menu .nav-child,
.header.container-header .container-nav .mod-menu .dropdown-menu,
.header.container-header .container-nav .mod-menu .mod-menu__sub {
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.header.container-header .container-nav .mod-menu .mm-collapse a,
.header.container-header .container-nav .mod-menu .mm-collapse li > a,
.header.container-header .container-nav .mod-menu .nav-child a,
.header.container-header .container-nav .mod-menu .dropdown-menu .dropdown-item,
.header.container-header .container-nav .mod-menu .mod-menu__sub a {
  color: #333 !important;
}
.header.container-header .container-nav .mod-menu .mm-collapse a:hover,
.header.container-header .container-nav .mod-menu .mm-collapse li > a:hover,
.header.container-header .container-nav .mod-menu .nav-child a:hover,
.header.container-header .container-nav .mod-menu .dropdown-menu .dropdown-item:hover,
.header.container-header .container-nav .mod-menu .mod-menu__sub a:hover {
  color: #1A6FB5 !important;
  background: rgba(26, 111, 181, 0.08) !important;
}
/* Nested submenu (e.g. Resources > Spotting Guides > LPPT/LPMA/…): flat,
   no border/shadow — otherwise the inner .mm-collapse stacks its own
   frame on top of the outer dropdown and reads as an inset/embossed box. */
.header.container-header .container-nav .mod-menu .mm-collapse .mm-collapse,
.header.container-header .container-nav .mod-menu .mm-collapse .nav-child,
.header.container-header .container-nav .mod-menu .mm-collapse .dropdown-menu,
.header.container-header .container-nav .mod-menu .mm-collapse .mod-menu__sub {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Menu Heading items (e.g. Spotting Guides grouping) render as
     <button class="mod-menu__heading nav-header mm-toggler mm-toggler-nolink">
   inside <li class="metismenu-item … active parent mm-active">.
   Line ~671 (`.container-header .mod-menu button:hover`) + line ~674
   (`.metismenu > li.active > a`) paint them white on hover / active.
   On a white dropdown that's invisible. Override the button variant
   across every state combination (rest, hover, active, mm-active). */
body .header.container-header .container-nav .mod-menu .mm-collapse button,
body .header.container-header .container-nav .mod-menu .mm-collapse .metismenu-item > button,
body .header.container-header .container-nav .mod-menu .mm-collapse li.active > button,
body .header.container-header .container-nav .mod-menu .mm-collapse li.mm-active > button,
body .header.container-header .container-nav .mod-menu .mm-collapse button.mod-menu__heading,
body .header.container-header .container-nav .mod-menu .mm-collapse button.mm-toggler,
body .header.container-header .container-nav .mod-menu .mm-collapse .nav-header {
  color: #333 !important;
  background: transparent !important;
  border: 0 !important;
}
body .header.container-header .container-nav .mod-menu .mm-collapse button:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse .metismenu-item > button:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse li.active > button:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse li.mm-active > button:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse button.mod-menu__heading:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse button.mm-toggler:hover,
body .header.container-header .container-nav .mod-menu .mm-collapse .nav-header:hover {
  color: #1A6FB5 !important;
  background: rgba(26, 111, 181, 0.08) !important;
}

/* =========================================================
   ACCESSIBILITY FIXES — Lighthouse mobile 2026-04-18
   ========================================================= */

/* Contrast: footer copyright + legal links (#555 → #999 ≈ 7.4:1 on dark) */
.container-footer .lph2o-footer__copy,
.container-footer .lph2o-footer__nav a {
  color: #999 !important;
}

/* Contrast: breadcrumb active/current item (#1A6FB5 → #4A9CE0 ≈ 7:1 on dark) */
nav.mod-breadcrumbs .active,
.mod-breadcrumbs__wrapper .current,
.mod-breadcrumbs__wrapper li:last-child span,
.mod-breadcrumbs__wrapper strong,
nav.mod-breadcrumbs strong {
  color: #4A9CE0 !important;
}

/* Main landmark: keep homepage <main> in a11y tree without visual footprint */
body.itemid-101 .grid-child.container-component main {
  display: block !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

/* Tap targets: footer legal links ≥24×24 px */
.lph2o-footer__nav a {
  display: inline-block;
  padding: 12px 6px;
}
@media (max-width: 768px) {
  .lph2o-footer__nav {
    gap: 0.6rem 1.2rem !important;
  }
}

/* mod_joomimages_js — mobile responsive override
   Module 123 (Latest grid, 12 imgs): 3-5 cols for density
   Module 125 (Featured, 2 imgs): 2 cols (bigger on mobile, prominent) */
@media (max-width: 768px) {
  /* 123 = top featured (2 imgs) — keep prominent, 2 cols */
  body .joomimg123_main .joomimg123_imgct {
    width: 50% !important;
    padding: 6px !important;
  }
  /* 125 = bottom grid (12 imgs) — smaller, more cols */
  body .joomimg125_main .joomimg125_imgct {
    width: 33.33% !important;   /* 3 cols tablet */
    padding: 5px !important;
  }
}
@media (max-width: 480px) {
  body .joomimg123_main .joomimg123_imgct {
    width: 50% !important;      /* 2 cols mobile — prominent */
    padding: 4px !important;
  }
  body .joomimg125_main .joomimg125_imgct {
    width: 33.33% !important;   /* 3 cols mobile — smaller thumbs */
    padding: 3px !important;
  }
}

/* mod_joomimages_js — smaller caption text on mobile */
@media (max-width: 768px) {
  [class^="joomimg"][class$="_txt"] strong,
  [class*=" joomimg"][class$="_txt"] strong {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
  }
  [class^="joomimg"][class$="_txt"] span,
  [class^="joomimg"][class$="_txt"] a,
  [class*=" joomimg"][class$="_txt"] span,
  [class*=" joomimg"][class$="_txt"] a {
    font-size: 9px !important;
  }
}

/* =========================================================
   PHOCA MAPS — dark theme, standard site width
   ========================================================= */
/* Page container: dark bg, 1150/87vw to match site standard (covers
   both standalone Phoca Maps pages and pages where the map is embedded
   via the Phoca content plugin inside an article). */
body.com_phocamaps .grid-child.container-component {
  max-width: 1150px;
  width: 87vw;
  margin-inline: auto;
  background: #000;
  color: #F0F0F0;
  padding: 0 1.2rem 1.2rem 1.2rem;
}

/* Phoca Maps wrapper + map canvas — span the container, not the inline
   hardcoded width from component config. Leaflet/OSM tiles honour the
   parent size so forcing 100% makes each map align with the rest of the
   site. */
#phocamaps {
  background: transparent !important;
  color: #F0F0F0;
  width: 100%;
  max-width: 100%;
}
#phocamaps h1,
#phocamaps h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F0F0F0;
  text-align: center;
  margin: 1.5rem 0 1rem 0;
}
#phocamaps .pm-desc {
  color: #F0F0F0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  max-width: 900px;
  text-align: left;
}
#phocamaps .phocamaps-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center;
}
#phocamaps .phocamaps-box > [id^="phocaMap"],
#phocamaps .phocamaps-map,
[id^="phocaMap"] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 4px;
  box-shadow: none !important;
  background: #111;
}

/* Leaflet popup — dark bubble */
.leaflet-popup-content-wrapper {
  background: #111 !important;
  color: #F0F0F0 !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6) !important;
}
.leaflet-popup-content-wrapper .pmMarkerTitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A6FB5;
  margin-bottom: 6px;
}
.leaflet-popup-content {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #F0F0F0 !important;
  margin: 10px 14px !important;
}
.leaflet-popup-content a {
  color: #1A6FB5 !important;
}
.leaflet-popup-content a:hover {
  color: #B0B8C1 !important;
}
.leaflet-popup-tip {
  background: #111 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6) !important;
}
.leaflet-popup-close-button {
  color: #B0B8C1 !important;
}
.leaflet-popup-close-button:hover {
  color: #fff !important;
}

/* Leaflet controls and attribution — keep original native styling so
   sprite icons (fullscreen, search, print, locate, zoom) stay visible. */

/* Mobile */
@media (max-width: 768px) {
  #phocamaps .phocamaps-box > [id^="phocaMap"],
  #phocamaps .phocamaps-map,
  [id^="phocaMap"] {
    height: 380px !important;
  }
  #phocamaps .pm-desc {
    font-size: 12px;
  }
}

/* ====================================================
   EXIF METADATA STRIP — image detail page
   2026-04-24
   ==================================================== */
.lph2o-meta {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
}

.lph2o-meta__sep {
  color: #1A6FB5;
  margin: 0 6px;
  font-weight: 700;
}

.lph2o-meta__sub {
  color: #666;
  font-size: 0.9em;
  margin-left: 2px;
}

/* =========================================================
   DATA BROWSER (com_lph2odatabrowser) — Premium Dark Theme
   ========================================================= */
body.com_lph2odatabrowser .grid-child.container-component {
  max-width: 1150px;
  width: 87vw;
  margin-inline: auto;
  background: #000;
  color: #F0F0F0;
  padding: 1rem 1.2rem 1.6rem;
}
body.com_lph2odatabrowser .lph2o-databrowser {
  max-width: none;
  padding: 0;
}
body.com_lph2odatabrowser .ldb-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid #1A6FB5;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}
body.com_lph2odatabrowser .ldb-btn {
  background: #1A6FB5;
}
body.com_lph2odatabrowser .ldb-btn:hover {
  background: #2784d6;
}
body.com_lph2odatabrowser .ldb-search:focus,
body.com_lph2odatabrowser .ldb-filter:focus,
body.com_lph2odatabrowser .ldb-btn-clear:hover {
  border-color: #1A6FB5;
}
body.com_lph2odatabrowser .ldb-table thead th a:hover,
body.com_lph2odatabrowser .ldb-arrow,
body.com_lph2odatabrowser .ldb-pagination ul.pagination li a:hover {
  color: #1A6FB5;
}
body.com_lph2odatabrowser .ldb-pagination ul.pagination li.active span {
  background: #1A6FB5;
  border-color: #1A6FB5;
}

/* Data Browser — center pagination wrapper */
body.com_lph2odatabrowser .ldb-pagination {
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
body.com_lph2odatabrowser .ldb-pagination .pagination__wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
body.com_lph2odatabrowser .ldb-pagination ul.pagination {
  justify-content: center;
}
body.com_lph2odatabrowser .ldb-counter {
  margin-top: 0.4rem;
  text-align: center;
}

/* Data Browser — softer underline under the page title */
body.com_lph2odatabrowser .ldb-title {
  border-bottom-color: rgba(26, 111, 181, 0.3);
}

/* Data Browser — pagination without boxes (text-only numbers/arrows) */
body.com_lph2odatabrowser .ldb-pagination ul.pagination li a,
body.com_lph2odatabrowser .ldb-pagination ul.pagination li span {
  border: none;
  background: transparent;
  padding: 0.3rem 0.55rem;
}
body.com_lph2odatabrowser .ldb-pagination ul.pagination li.active span {
  background: transparent;
  color: #1A6FB5;
  font-weight: 700;
}
body.com_lph2odatabrowser .ldb-pagination ul.pagination li a:hover {
  color: #1A6FB5;
  text-decoration: underline;
}

/* Data Browser — keep page title in original case */
body.com_lph2odatabrowser .ldb-title {
  text-transform: none;
}

/* Data Browser — reduce page title size */
body.com_lph2odatabrowser .ldb-title {
  font-size: 1.25rem;
}

/* Data Browser — smaller page title */
body.com_lph2odatabrowser .ldb-title {
  font-size: 1rem;
}

/* Data Browser — smaller page title (final) */
body.com_lph2odatabrowser .ldb-title {
  font-size: 0.9rem;
}

/* Data Browser — bump page title back up */
body.com_lph2odatabrowser .ldb-title {
  font-size: 1.1rem;
}
