/* Base — mirrors Tailwind preflight + app theme */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #ffffff;
  color: #030213;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  margin: 0;
}

input {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

/* ----- Layout (Layout.tsx) ----- */
.layout-root {
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-footer {
  background-color: #0c121d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  color: #e5e7eb;
}

.footer-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem 3.25rem;
}

@media (min-width: 640px) {
  .footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(18rem, 1.6fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-col-brand .footer-heading--accent {
  white-space: nowrap;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-heading--accent::after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  margin-top: 0.625rem;
  margin-bottom: 0.125rem;
  background-color: #e6942e;
}

.footer-heading--accent-nav {
  display: inline-block;
}

.footer-heading--accent-nav::after {
  width: 50%;
}

.footer-heading--highlight {
  color: #e6942e;
}

.footer-heading-orange {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ff9933;
}

.footer-heading-blue {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #6699cc;
}

.footer-text {
  font-size: 0.875rem;
  color: #d1d5db;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #d1d5db;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* ----- Icons (Lucide stroke icons) ----- */
.icon {
  display: block;
  flex-shrink: 0;
}

.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----- Interactive Map page (InteractiveMap.tsx) ----- */
.map-page {
  width: 100%;
}

.map-content {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

@media (min-width: 640px) {
  .map-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .map-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.toolbar-wrap {
  margin-bottom: 1.5rem;
}

.toolbar-card {
  background-color: #ffffff;
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.toolbar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .toolbar-grid {
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
  }
}

/* Search bar (inspired by example.png) */
.search-bar {
  display: flex;
  align-items: stretch;
  gap: none;
  border: 3px solid #ff9933; 
  border-radius: 0.75rem;
}

.search-bar-icon {
  width: 3.25rem;
  min-width: 3.25rem;
  border-radius: none;
  background-color: #ff9933;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-wrap {
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.9rem 2.75rem 0.9rem 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

.search-input:focus {
  outline: none;
  /* box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.25); */
}

.search-clear {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear:hover {
  color: #111827;
}

.search-results {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  max-height: 20rem;
  overflow-y: auto;
  z-index: 1000;
}

.search-result-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
}

.search-result-btn:last-child {
  border-bottom: none;
}

.search-result-btn:hover {
  background-color: #f9fafb;
}

.search-result-title {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.search-result-sub {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #4b5563;
}

.toolbar-card--filters {
  padding: 0;
}

.filters-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .filters-inline {
    flex-wrap: nowrap;
  }
}

.segmented {
  display: inline-flex;
  align-items: center;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 3px solid #ff9933;
  overflow: hidden;
}

.segmented--type {
  background: #ff9933;
}

.segmented--type .filter-btn {
  color: #ffffff;
}

.segmented--type .filter-btn:hover {
  background-color: #fbb773;
  color: #374151;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
  background-color: #f3f4f6;
  color: #374151;
}

.segmented .filter-btn {
  border-radius: 0;
  background: transparent;
  padding: 0.65rem 1rem;
}

.segmented .filter-btn + .filter-btn {
  border-left: 1px solid rgba(17, 24, 39, 0.12);
}

.filter-btn:hover {
  background-color: #e5e7eb;
}

.filter-btn--active {
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.filter-btn--active:hover {
  filter: brightness(0.95);
}

/* Map card */
.map-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid #e5e7eb;
}

#map-container {
  width: 100%;
  height: 600px;
  min-height: 600px;
  background-color: #f2f0eb;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
}

/* Keep Leaflet tiles at fixed pixel size (global img rules can break the tile grid) */
.leaflet-container img.leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  padding: 0;
  border: none;
}

.leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

/* Amervisie mode: frosted map, only overlay lines/icons stay sharp */
.leaflet-container .amervisie-frost {
  position: absolute;
  inset: 0;
  z-index: 350;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.63);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.leaflet-container .amervisie-frost.is-active {
  opacity: 1;
  visibility: visible;
}

.map-card--amervisie .leaflet-tile-pane {
  filter: blur(1px);
  opacity: 0.69;
  transform: translateZ(0);
}

.leaflet-container img.leaflet-tile:not(.leaflet-tile-loaded) {
  opacity: 0;
}

.map-card--amervisie .leaflet-overlay-pane,
.map-card--amervisie .leaflet-marker-pane {
  filter: none;
  opacity: 1;
}

.map-legend {
  padding: 1rem;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
}

.legend-dot--research {
  border-radius: 0;
  clip-path: polygon(50% 8%, 92% 92%, 8% 92%);
}

.legend-dot--existing {
  border-radius: 0;
  clip-path: none;
}

.legend-row span {
  color: #374151;
}

/* Info sections */
.info-sections {
  margin-top: 3rem;
}

.info-sections > * + * {
  margin-top: 2rem;
}

.info-h2 {
  margin: 0 0 2rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
}

.info-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .info-card {
    transition: none;
  }
  .info-card:hover {
    transform: none;
  }
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-icon--emoji {
  font-size: 1.5rem;
  line-height: 2rem;
}

.info-card-titles h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.info-card-titles p {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.subcard {
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
}

.subcard-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.subcard-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.subcard h4 {
  margin: 0;
  font-weight: 600;
}

.subcard-h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.subcard-h4-sm {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.subcard .text-sm {
  margin: 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.subcard .text-xs {
  margin: 0;
  font-size: 0.75rem;
  color: #4b5563;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.info-p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #374151;
}

.info-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #4b5563;
}

.info-foot-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.75rem;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.context-item .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #9ca3af;
  flex-shrink: 0;
}

.context-item span {
  color: #4b5563;
}

.connections-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.conn-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.conn-line {
  width: 3rem;
  height: 2px;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.conn-text {
  font-size: 0.75rem;
  color: #374151;
}

/* ----- Leaflet / popups (from InteractiveMap.tsx <style>) ----- */
.custom-marker {
  background: none !important;
  border: none !important;
}

.oldman-marker {
  background: none !important;
  border: none !important;
}

.running-marker {
  background: none !important;
  border: none !important;
}

.lorry-marker {
  background: none !important;
  border: none !important;
}

.car-marker {
  background: none !important;
  border: none !important;
}

.thunder-marker {
  background: none !important;
  border: none !important;
}

.badge-marker {
  background: none !important;
  border: none !important;
}

.map-text-marker {
  background: none !important;
  border: none !important;
}

.location-pin-marker {
  background: none !important;
  border: none !important;
}

.route-line-arrow {
  background: none !important;
  border: none !important;
}

.route-line-arrow svg {
  display: block;
  pointer-events: none;
}

/* Planned status filter: lemon highlight behind planned markers */
.leaflet-marker-icon.planned-highlight {
  /* Keep Leaflet's absolute positioning unchanged */
}

.leaflet-marker-icon.planned-highlight::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 34px;
  background: rgba(217, 255, 0, 0.55);
  border: 3px solid rgba(163, 255, 18, 0.95);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  z-index: -1;
  pointer-events: none;
}

.custom-tooltip {
  background: white !important;
  border: 1px solid #e5e7eb !important;
  color: #1f2937 !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.custom-tooltip::before {
  border-top-color: white !important;
}

.leaflet-popup-content-wrapper {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.leaflet-popup-content {
  margin: 1rem 1.25rem;
  min-width: 260px;
}

.popup-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.popup-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.popup-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.popup-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  display: inline-block;
  background: rgba(102, 153, 204, 0.2);
  color: #6699cc;
}

.popup-badge.existing {
  background: rgba(63, 185, 80, 0.2);
  color: #3fb950;
}

.popup-badge.planned {
  background: rgba(255, 153, 51, 0.2);
  color: #ff9933;
}

.popup-badge.research {
  background: rgba(163, 113, 247, 0.2);
  color: #a371f7;
}

.popup-info {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

.popup-metrics {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid #e5e7eb;
}

.popup-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.popup-metric span {
  color: #6b7280;
  margin-right: 0.5rem;
}

.popup-metric strong {
  color: #1f2937;
}

.popup-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6699cc;
  text-decoration: none;
}

.popup-link:hover {
  text-decoration: underline;
}

.popup-pipeline strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #1f2937;
}

.popup-pipeline .popup-metric {
  margin-bottom: 0.25rem;
}

.leaflet-overlay-pane .clickable-polyline {
  cursor: pointer;
}

.leaflet-overlay-pane .clickable-polyline:hover {
  filter: brightness(1.12);
}

/* =========================
   Responsive (consolidated)
   ========================= */

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .header-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .map-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

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






@media (min-width: 1680px) {

  .toolbar-wrap {
    margin-bottom: 2.2rem;
  }

  .toolbar-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e5e7eb;
  }

  .map-content {
    max-width: 110rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
  }

  #map-container {
    width: 100%;
    height: 800px;
    min-height: 600px;
  }

  .search-wrap {
    width: min(100%, 32rem);
    justify-self: start;
    margin-left: 0;
  }

}

/* City image directly under header */
.city-banner {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.city-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* ============================================================
   WordPress header (from wordpressHEader/styles.css)
   ============================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0px;
    width: 100%;
}

.ml-auto { margin-left: auto; }

.cspt-main-header {
    background: #fff;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.65s ease;
}

.cspt-main-header.cspt-sticky {
    position: fixed;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

#header-spacer {
    height: 0;
    transition: height 0.65s ease;
}

@keyframes cspt-nav-drop {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.cspt-sticky .cspt-header-top-area {
    position: absolute;
    left: 0;
    right: 0;
    max-height: 0;
    opacity: 0;
    padding: 0;
    border-bottom-color: transparent;
}

.cspt-header-top-area {
    padding: 29.5px 0;
    border-bottom: 1px solid #e5e5e5;
    max-height: 143px;
    overflow: hidden;
    transition: max-height 0.65s ease, opacity 0.55s ease, padding 0.65s ease;
}

.cspt-infostack-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cspt-logo-area {
    margin-left: -35px;
}

.cspt-logo-area .wrap { display: flex; align-items: center; }

.cspt-main-logo {
    height: 52px;
    width: auto;
    display: block;
}

.cspt-header-info { display: flex; align-items: center; }

.cspt-header-info-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.cspt-header-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cspt-header-box-icon {
    color: #E8821A;
    flex-shrink: 0;
    padding-top: 2px;
}

.cspt-header-box-title {
    display: block;
    font-weight: 700;
    font-size: 15.5px;
    color: #111;
    line-height: 1.45;
}

.cspt-header-box-content {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 3px;
    line-height: 1.4;
}

.nav-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #333;
    align-items: center;
}

@media (max-width: 900px) {
    .nav-menu-toggle { display: flex; }
}

.nav-menu-toggle-sticky { display: none; }

@media (max-width: 900px) {
    .cspt-sticky .nav-menu-toggle-sticky { display: flex; }
}

.cspt-header-menu-area { background: #fff; }

.cspt-sticky .cspt-header-menu-area {
    animation: cspt-nav-drop 0.65s ease forwards;
}

.cspt-header-menu-area-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cspt-sticky-logo {
    display: none;
    align-items: center;
    margin-left: 36px;
}

.cspt-main-logo-sticky {
    height: 52px;
    width: auto;
    display: block;
}

.cspt-sticky .cspt-sticky-logo { display: flex; }

.main-navigation { flex: 1; }

.main-navigation ul {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 24px 26px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #222;
    border-right: 1px solid #ddd;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.main-navigation ul li:first-child a {
    border-left: 1px solid #ddd;
}

.main-navigation ul li a:hover { color: #E8821A; }

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.menu-item-home > a {
    color: #E8821A;
}

.cspt-sticky .main-navigation {
    display: flex;
    justify-content: flex-end;
}

.cspt-sticky .main-navigation ul li a {
    border-left: none;
    border-right: none;
    padding: 33px 20px;
}

@media (max-width: 900px) {
    .cspt-header-info { display: none; }
    .cspt-header-menu { display: none; }
    .cspt-main-header.cspt-sticky { position: static; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
    .cspt-sticky .cspt-header-top-area {
        position: static;
        max-height: 143px;
        opacity: 1;
        padding: 29.5px 0;
    }

    #header-spacer {
        height: 0 !important;
        transition: none;
    }

    .cspt-sticky .cspt-header-menu-area {
        animation: none;
    }
}

@media (max-width: 480px) {
    .cspt-main-logo { height: 48px; }
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay--open {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 360px;
    background: #fff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.mobile-drawer--open {
    transform: translateX(0);
}

.mobile-drawer-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.mobile-drawer-close {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #222;
    padding: 4px;
    transition: color 0.2s;
}

.mobile-drawer-close:hover { color: #E8821A; }

.mobile-drawer-nav { flex: 1; }

.mobile-drawer-nav ul { list-style: none; margin: 0; padding: 0; }

.mobile-drawer-nav ul li a {
    display: block;
    padding: 22px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.mobile-drawer-nav ul li:first-child a {
    border-top: 1px solid #eee;
}

.mobile-drawer-nav ul li a:hover { color: #E8821A; }

.mobile-drawer-socials {
    display: flex;
    gap: 14px;
    padding: 28px 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    color: #333;
    transition: border-color 0.2s, color 0.2s;
}

.social-icon:hover {
    border-color: #E8821A;
    color: #E8821A;
}