
/* X-Small devices (portrait phones, less than 576px)*/
/* No media query for `xs` since this is the default in Bootstrap*/


html, body {
  height: 100%; 
  font-size:16px;
  display:flex; /*The following CS is important to make sticky footer regardless of page     content height*/
  flex-direction:column;
  min-height:10%;
  margin:0;
  background-color: white;
  line-height:1.5rem;
}
body {
  padding-top: 52.8px; /* matches navbar height on mobile - differs on desktop */
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --navbar-height: 70px;
}

@font-face {
  font-family: "bootstrap-icons";
  font-display: swap;
}
/* 1. Mobile default css */


/* H1 — Property title */
.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #000;
  line-height: 1.25;
}

.page-title .prop-sep {
  margin: 0 0.35em;
  color: #666;
}

.page-title .prop-type {
  color: purple;
  font-weight: 600;
}

.page-title .prop-location {
  color: #555;
  font-weight: 400;
  margin-left: 0.35em;
  white-space: nowrap;
}
.type {
  color:purple;
  font-weight:600;
}
.map-info {
  margin-bottom:5px;
}
/* H2 — Major sections */
.property-page h2, .stage-page h2, .resources-page h2 {
  font-size: 1.55rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: .5rem;
  line-height: 1.3;
  color: #000;
}

/* H3 — Subsections */
.property-page h3, .stage-page h3, .resources-page h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: #000;
}
/* Minor labels */
.faqs h3, h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  color: #000;
}
.price-list{
  display: flex;
  gap: 1rem;

}
/* Map animation */
.property-map {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.property-map.expanded {
  max-height: 600px;
  padding-top: 1rem;
}


/* --- FOURTH SECTION (MAP + FILTERS) --- */


/* MOBILE BUTTONS */
.mobile-buttons {
  display: flex;
  display: flex;
  width: 100%;
  margin: 1.25rem 0rem;
}

/* Remove Bootstrap padding + borders so you can style cleanly */
.mobile-buttons .btn {
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 0.75rem 0;
  background: #fff;
  font-weight: 500;
}
/* Add the vertical separator */
.mobile-buttons .btn + .btn {
  border-left: 1px solid #ddd;
}

/* Optional: subtle hover for mobile */
.mobile-buttons .btn:active,
.mobile-buttons .btn:hover {
  background: #f7f7f7;
}


/* MAP CARD (desktop only) */
.map-card {
  position: relative;
  height: 120px;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  text-align: center;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,0.05);
}
.map-card img {
  width: 100%;
  height:120px;
  object-fit: cover;
  margin-bottom: 0.5rem;
  display: block;
  border-radius: 4px;
}
/* Overlay the button on the image */
.map-card .map-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  width: 120px;
  border-radius: .5rem;
  color: #fff;
  border: none;
  font-size: 0.85rem;
  backdrop-filter: blur(2px);
}

/* Hover effect */
.map-card .map-btn:hover {
  background: rgba(0,0,0,0.8);
}
.clear-filters {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.cs-resources-note {
  background: #eef7ff;          /* slightly stronger than your property tint */
  border-left: 4px solid #0a95ff;
  padding: 0.75rem 1rem;
  margin: .75rem 0;
  font-size: 0.95rem;
  color: #3a4a5a;               /* softer than pure black */
  border-radius: 4px;
}

.cs-resources-note a {
  color: #2a5db0;               /* your Camino blue link tone */
  text-decoration: underline;
}
.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: .5rem;
  font-weight: 600;
}
.icon-col {
  width: 40px;   /* pos 32px on mobile */
  white-space: nowrap;
  text-align: center; /* optional: keeps icons aligned */
}
.contact a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

.contact a[href^="tel:"]:hover {
  text-decoration: underline; /* optional */
}
.contact a {
  color: inherit;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}
.contact .btn-outline-primary {
  border-color: #0a95ff;
  color: #0a95ff;
}

.contact .btn-outline-primary:hover {
  background-color: #0a95ff;
  color: #fff;
}
.property-page .map-card {
    display: block;

}

.property-map .map-card {
  display: block;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,0.05);
}

/* FILTER PANEL */
.filters-panel {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}

/* Header */
.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.btn-unstyled {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font-size:.9rem;
  cursor: pointer;
}
.filter-group {
  padding-left: var(--space-3); /* 12px */
}

.filter-title {
  display:inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  width:90px;
}
.filter-buttons {
  display:inline-block;
  margin-top:0.5rem;
}
.filter-buttons .btn-filter,
.col-12 .btn-filter {
  margin-bottom: 0.25rem;
  margin-left: 0;
  border-radius: .5rem;
  padding: .15rem .75rem;
}
.filters-panel i.fa,
.filters-panel i.fas {
  font-size: 0.85rem;
  margin-right: 4px;
  opacity: 0.75;
}


/* FOOTER */
.footer {
  padding: var(--space-5) 0;
}
.last-updated {
  font-size: 0.85rem;
  color: #6c757d; /* Bootstrap muted grey */
  margin-top: 2rem;
  font-style: italic;
}

/* PROPERTY AND STAGE PAGE HERO */

.hero-image {
  position: relative;
  border-radius: .5rem;
  overflow: hidden;         /* keeps image + attrib neatly clipped */
}

/* Image fills the wrapper */
.hero-image img {
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  object-fit: cover;
  display: block;
}

.property-image img {
  cursor: pointer;
}
.stage {
  margin: 15px 0px;
}
.stage-image img {
  cursor: default;
}
/* PROPERTY PAGE — placeholder matches real image height */
.property-page .image-placeholder {
  height: 100px !important;
  width: 100%;
  padding: 0;                 /* remove vertical padding that inflated height */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
/* PROPERTY PAGE — prevent equal-height columns */
.property-page .property-hero .row, .stage-page .property-hero .row,
.property-page .property-hero .col-md-6, .stage-page .property-hero .col-md-6 {
  align-items: flex-start !important;
  align-self: flex-start !important;
}
.image-placeholder {
  width: 92%;              /* match your image container width */
  height:  100%;	    /* match your image container height */
  background-color: #f0f0f0; /* light neutral background */
  display: flex;
  flex-direction: column;   /* stack icon and text vertically */
  align-items: center;
  justify-content: center;
  margin:4% auto;
  padding: 15px 0px;
  color: #666;              /* subtle text/icon color */
  font-size: 14px;
  border: 1px solid #ddd;   /* optional border for definition */
  border-radius:1rem;
}

.image-placeholder i {
  font-size: 20px;    
  margin-bottom: 5px;       /* spacing between icon and text */
}
*/STAGE link on town page*/
.page-subtitle--hero .town-stage-link {
  color: white !important;
}

.page-subtitle--hero .town-stage-link,
.page-subtitle--hero .town-stage-link:visited,
.page-subtitle--hero .town-stage-link:active,
.page-subtitle--hero .town-stage-link:focus {
  color: white !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
}
.page-subtitle--hero .town-stage-link:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  opacity: 1;
}

/*Property page - back to town link*/
.location-text a.back-link {
  color: #555;
  text-decoration: underline;     /* visible link cue */
  text-underline-offset: 2px;     /* cleaner underline */
  text-decoration-thickness: 1.5px;
  font-weight: 600;               /* slight emphasis */
}
.location-text a.back-link:hover {
  color: #222;
}

.stage-nav {
  padding: 0.75rem;
  background-color: #f6f8fa;
  border-radius:.25rem;
}
.first {
  background-color:white;
  border-bottom:1px solid #dee2e6;
}
.fifth {
   flex:5; /*Important to make sticky footer regardless of page content height - section wll grox x5 rate of hearder/footer*/
}
#logo {
  width:250px

}
#index-header{
  position: absolute; 
  top:10%;
  left:0;
  right:0;
  z-index:10;
  font-weight:600;
  color:white;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800;
  font-size: 2.15rem;
  letter-spacing: .5px;
  line-height: 1.2;
  font-optical-sizing: auto;
  font-style: normal;
  margin-bottom: var(--space-5);
  padding:0 15px;
}
.index-subheader {
  position: absolute;
  top: calc(25% + 2.6rem); /* pushes it just below the H1 */
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 15px;
  color: white;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: .3px;
  max-width: 700px;   /* prevents super-wide lines */
  margin: 0 auto;     /* centers the block */
}

.index-stg-btn {
  position: absolute;
  bottom: 15%;              /* distance from bottom of map */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%);
  z-index: 20;              /* above map, below navbar */
  padding: 0.75rem 1.5rem;  /* balanced button size */
  border-radius: .5rem;
  font-weight: 600;
  white-space: nowrap;      /* prevents wrapping on small screens */
}

#back-to-top {
  position: fixed;
  z-index:5;
  bottom: 25px;
  right: 25px;
  display: none;
  background-color:#ff9900;
  width:40px; 
  height:40px; 
  border:none;
  border-radius:20px;
  color:white;
  padding:5px;
}
#input-field {
  padding-left: var(--space-6);
}
#input-field.form-control {
  border: none;
  box-shadow: none;
}

input[type="text"], textarea {
  background-color: white; /*changes background color of input-field must do this way*/
}


#town-selectbox {
  position: relative;
  flex: 1;
  max-width: 300px;
 /* margin-right: 1rem;*/
  padding: var(--space-2) var(--space-3);
  margin: 0 auto;
  border: 1px solid #d0d7de;   /* subtle modern border */
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Inner input should be borderless */
#input-field.form-control {
  border: none;
  box-shadow: none;
  background-color: transparent;
}

.has-search {
  display: flex;
  align-items: center;
  position: relative;
}

.has-search .form-control {
  border-radius: var(--radius);
  padding-left: 2.5rem;
  border: 1px solid #ddd;
  height: 2rem;
  border-bottom: none;

}
.has-search .form-control-feedback {
  position: absolute;
  left: .75rem;
  color: #aaa;
  pointer-events: none;
}

#town_select_panel {
  list-style-type: none;
  width: 100%;
  display: none;
  position: absolute;          /* anchored to #town-selectbox */
  top: 100%;                   /* start right below the input */
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable; /* modern browsers */
  clip-path: inset(0 round 0 0 12px 12px); /* forces scrollbar inside the radius */
  border:1px solid #ddd;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: white;
  box-shadow: 0 .5rem 1rem #dee2e6;
  box-sizing: border-box;
  margin-top: var(--space-1);
  padding-left: 40px;
  padding-right: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;            /* override navbar centering */
  z-index: 1000;               /* ensure it sits above other elements */
  font-size: 1rem;   
  line-height: 1.4;        /* tighten vertical rhythm */
}
#town_select_panel li {
  margin: 0;
}
#town_select_panel li a {
  display: block;
  color: #212529;
  text-decoration: none;
  padding: 4px 0;        /* tighter to match input’s internal spacing */
  font-size: 1rem; 
  line-height: 1.4;      /* keep consistent */
  text-align: left;
}

#town_select_panel li a:hover {
  color: #337ab7;
  background-color: #f7f7f9;  /* subtle highlight, optional but very “finished” */
}
input:focus {
  outline:none;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #212529;
  opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #212529;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #212529;
}
#close-icon {
  display:none;
  position: absolute;
  z-index:1;
  right: .75rem;
  top: .5rem;
  background: transparent;
  border: none;
  color: #aaa;
}
/*Results page*/
/*Add background to top of image to make h1 visible*/
.town-hero picture {
  position: relative;
  display: block;
}

.town-hero picture::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%; /* adjust to taste */
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0));
  z-index: 2;
  pointer-events: none;
}
.img-twn {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0));
  background-size: cover;
  background-position: center;
}


/* TEST hero resources*/
.hero-banner {
    width: 100%;
    height: 40vh;        /* your chosen banner height */
    overflow: hidden;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fills banner without stretching */
    display: block;
}

.img-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
/* TEST hero resources END*/



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Container positioning */



/* Breadcrumb list */
ul.breadcrumb {
  padding: 12px 15px;
  margin: 0;
  list-style: none;
  font-weight: 600;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

/* Breadcrumb items */
ul.breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  color: #212529;
}

.breadcrumb-wrapper {
  /*  background: #f5f5f5;*/
    width: 100%;
}

ul.breadcrumb li + li::before {
  content: "/";
  display: inline-block;
  width: 0.4rem;
  margin: 0 4px;
  background: url('/assets/icons.svg#icon-chevron-right') no-repeat center;
  background-size: 100% 100%;
  font-size: .75rem;
  position: relative;
  top: 1px; /* adjust 1–2px depending on your font */
}

/* Links */
ul.breadcrumb li a {
  color: #212529;
  text-decoration: underline;
}

ul.breadcrumb li a:hover {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  color: #222;
}

ul.breadcrumb li:last-child a {
  text-decoration: none;
  cursor: default;
  pointer-events: none; /* optional: makes it non-clickable */
}

.view-map-link {
  margin-bottom:.5rem;
  font-size: 0.9rem;
  color: #0a95ff;
  text-decoration: none;
}

.view-map-link:hover {
  text-decoration: underline;
}

.town-hero {
  position:relative;
  z-index:0;
  overflow: hidden;
  animation: fadeIn .6s ease-out;
  border-radius:4px;
}
.txt-overlay-center {
  margin:auto;
  max-width:1140px;
}

.cs-container {
  position: relative;
  overflow-x: hidden;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  box-shadow:0 .5rem 1rem #dee2e6; 
  margin-bottom:1.25rem;
}

.insurance-box {
  background: #eef7ff;
  border-left: 4px solid #0a95ff;
}
.page-title--hero {
  letter-spacing: .5px;
  color: white;
  text-align:left;
  font-size:1.75rem;
  max-width:720px;
  margin:auto;
  margin-bottom:.5rem;
}

.page-subtitle--hero {
  text-align:left;
  max-width:720px;
  margin:auto;
  font-size: 1rem;
  text-transform: none; /* keep natural case */
  letter-spacing: .3px;
  opacity: .9;
  /*font-family: Apercu Mono, Courier, monospace;8*/
  color:white;
}

.town-intro {
  font-size: 1.75rem;
  font-weight: 600;
  color: #333;
  letter-spacing: .3px;
  margin: 1rem 0rem;
}
.town-summary {
  font-size: 1rem;
  color: #555;
}
.next-prev {
  position:absolute; 
  bottom:0; 
  z-index:2;
  padding:.375rem .75rem;
}
.prev, .next{
  text-align:center;
}
.stage-page .prev, .stage-page .next{
  text-align:center;
  width:50%;
}
.next-prev-link {
  background: rgba(255,255,255,0.85);
  color: #3a6ea5;
  font-size:.9rem;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background .2s ease;
  border: 1px solid rgba(0,0,0,0.1);
  display: inline-flex; 
  padding: .375rem .75rem;
  align-items: center;
  gap: 0.25rem; /* optional but nice */
  text-decoration:none;
  font-weight:600;
}
.next-prev-link:hover {
  background: rgba(255,255,255,0.95);
  text-decoration: none;
}

.next-prev-link.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.stage-nav .next .next-prev-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.attrib {
  position:absolute;
  z-index:2;
  bottom: 1px;
  right: -15px;
  opacity: .7;
  color:white;
  font-size:.9rem;
}
.attrib:hover {
  color:white;
}
.stage-page .next-prev-link {
  margin-bottom:0.5rem;
}
.hero-nav-buttons a {
    color: #3a6ea5;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

.hero-nav-buttons a:hover {
    text-decoration: underline;
}

.responsive {
   display: block; /* Ensures the image is a block-level element */
}
#map-canvas-container,
#map-container {
  position: relative;
}
#map-canvas-container{
  height:70vh;
  border:none;
  margin-top:15px;
}
#map-container {
  height: 80vh;
  width: 100%;
}
#map-canvas { 
  display:none; 
  position: relative;
  z-index: 1;
  height:100%;
  width:100%;
}
#map-btn {
  position:relative;
  z-index:0;
  top: 50%;
  left:0;
  -ms-transform: translate(0);
  transform: translate(0);
  width:100%;
  padding:1rem 0rem;
  text-decoration:none;
  border:none;
}

/* Adjust the position of the close button */
#map-canvas div[role="dialog"] button[title="Close"] {
  right: -15px !important;
  top: -5px !important;
  height: 28px !important;
}

#map-canvas div[role="dialog"] button[title="Close"] span {
   width: 18px !important;
   height: 18px !important;
   margin:10px !important;
}

#close-map-btn {
  display:none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  background: white;
  color: #0645AD;
  border: 1px solid #d0d7de;
  padding: 0.55rem 0.75rem;   /* slightly larger */
  border-radius: .5rem;
  font-weight: 700;
  font-size: 1.2rem;          /* slightly larger X */
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
}

#close-map-btn:hover,
#close-map-btn:hover i {
  background: #0645AD;
  color: white !important;
  border-color: #0645AD;
}


.img-map {
  display:none;
}
.btn:focus{
  box-shadow:none!important;
}

.map-filter-card {
  border: 1px solid #ccc;
  border-radius: 1rem;
  box-shadow: 0 .5rem 1rem #dee2e6;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background-color: white;
}


/* Base filter button */
.btn-filter{
  border: 1px solid #d0d7de;        /* soft neutral border */
  color: #0645AD;                   /* your brand blue */
  background-color: white;
  font-weight: 500;
  transition: all .15s ease;
  padding: .275rem .75rem;
  margin-bottom: .25rem;
  border-radius: .5rem;
  font-size: .9rem;
}
/* Hover */
.btn-filter:hover {
  background-color: #f0f6ff;        /* soft blue tint */
  border-color: #0645AD;            /* brand blue border */
  color: #0645AD;
}
/* Active / selected */
.btn-filter.active,
.btn-filter:active,
.btn-filter:not(:disabled):not(.disabled).active {
  background-color: #0645AD;
  color: white;
  border-color: #0645AD;
}

/* Disabled (toned down) */
.btn-filter:disabled {
  background-color: #fafbfc;   /* very soft neutral */
  border-color: #e5e7eb;       /* lighter, less contrasty border */
  color: #b6bcc4;              /* softer grey text */
  opacity: 1;                  /* keep consistent with your design */
}

.h-filter{
  padding: .375rem .0rem;
}
#filter-btn{
  display:inline-block;
  font-weight:500;
  width:100%;
  border:none;
  padding:1rem 0rem;
  text-decoration:none;
}
#filter-btn:hover, #map-btn:hover{
  border-bottom:2px solid #0645AD;
-webkit-appearance:none;
}
.filter-div {
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}
.buttonload {
  height:75vh;
  width:100%;
  z-index:3;
  border: none; 
  color: #212529;
  font-size:20px;
  text-align: center; 
  padding-left:40%;
}
#spinner{
  height:95px;
  position:relative;
  z-index:2;
} 
.map-key-btn,
.map-legend {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 20;
}
/* --- Map Key Button --- */
.map-key-btn {
  display:none;
  z-index: 10;
  pointer-events: auto;
  background: white;
  color: #0645AD;
  border: 1px solid #d0d7de;
  padding: 0.5rem 1rem;
  border-radius: .5rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s ease;
}
.map-key-btn:hover {
  text-decoration:underline;
}
.map-key-btn svg.icon-info-circle-filled * {
  fill: none;
}

.map-key-btn svg.icon-info-circle-filled .info-bg {
  fill: #0645AD;
  stroke: none;
}

.map-key-btn svg.icon-info-circle-filled .info-glyph {
  fill: white;
}
.map-key-btn:hover svg.icon-info-circle-filled .info-bg {
  fill: white;
  stroke: #0645AD;
  stroke-width: 1.5; /* looks crisp at 16×16 */
}
.map-key-btn:hover svg.icon-info-circle-filled .info-glyph  {
  fill: #0645AD;
}

.map-key-btn svg.icon-info-circle-filled {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.125em;
}

/* --- Legend Panel --- */
.map-legend {
  display: none;
  width: 220px;
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,0.15);
  font-size: 0.85rem;
  z-index: 30;
  border: 1px solid #eaeaea;
}
/* Legend header */
.legend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Legend rows */
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.legend-row span {
  text-align: left !important;
}

.legend-row img {
  width: 20px;
  height: 20px;
}

#close-lgd-btn {
  background: none;
  border: none;
  color: #777;
  font-size: 1rem;
  padding: 0;
  cursor: pointer;
}

#close-lgd-btn:hover {
  color: #0645AD;
}
.route-icon {
  font-size: 12px;
  color: black;
}


.tr-dist{
  background-color:white;/*stages page responsive table ensure white distance row when col 1 sticky*/
}

/*
#booking-btn{
  width:80%;
  font-weight:700;
  font-size:1.1rem;
  background-color:#0645AD;
  color:white;
  border-radius:1.5rem;
}
#booking-btn:hover{
  text-decoration:underline;
}
*/
.btn-outline-primary:hover {
  color:#0645AD;
  background-color:inherit;
}
.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
  color:#0645AD;
  background-color: inherit;
}
.reorder{
  order:13;
  flex-direction: column;
}
a.disabled {
  pointer-events:none; /* to prevent empty FaceBook links triggering pageload again*/
  cursor: default;
}

.bi-star-fill{
  color:#FFD700;
}
.row-border{
   border-bottom: 1px solid #dee2e6;
}
.container-index {
  max-width:none;
}
.heading-primary {
  font-size: 1.6rem;
  font-weight:600;
  margin-top: 1rem;
  margin-bottom:.5rem;
}

.property-category-overlay, .stg-overlay{
  position:absolute;
  top:0; 
  z-index:2;
  background-color:purple; 
  color:white;
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  padding:.275rem .5rem;
}

.reservation-div {
  display:inline-block;
  background-color:#f3f5f9;
  border-radius:.25rem;
  margin:15px 0px;
  padding:10px 5px;
}
.reservation-collapse {
  background-color:#e8f4f8;
  border-radius:5px;
  height:100px;
}
.alt-res-txt{
  font-size:80%;
  line-height:normal;
}
.hidden {
  display:none!important;
}

/* Town page - property img */
picture {
  display: block;
}
.thumb-img {
  display: block;
  width: 92%;
  height: 170px;
  margin: 4% auto;
  border-radius: 1rem;
  object-fit: cover; /* Edge needs this to respect fixed height */
}

/* Style the Image Used to Trigger the Modal */
.tbl-img {
  display: block;
  height:176px;
  width:94%;
  margin: 4% auto;
  border-radius:.5rem;
  cursor: pointer;
  transition: 0.3s;
}
.located-in {
  font-size: 90%;
}
.stage-page-all .tbl-img:hover {
  opacity: 1 !important;
}
.stage-page {
  opacity:1;
}


.tooltip {
  position: relative;
  display: inline-block;
  opacity:1;
}
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: white;
  color: black;
  text-align: center;
  border:1px solid black;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}
/* --------------------------------------------- */
/* STAGE PAGE — TABLE LAYOUT + SPACING REWRITE   */
/* --------------------------------------------- */

.stage-table-wrapper {
  margin: 2rem 0 2.5rem;
}
/* Base table reset for stage pages */
.stage-page .table {
  width: 100%;
  margin-bottom: 0;
  background-color: white;
  border-collapse: separate;
  border-spacing: 0;
}

/* Header cells */
.stage-page .table thead th {
  text-align: center;
  padding: .65rem .25rem;
  border-top: none;
  font-weight: 600;
  vertical-align: middle;
  z-index:2;
}

/* First column header (Town) aligns left */
.stage-page .table thead th:first-child {
  text-align: left;
}

/* Town column */
.stage-page .tbl-col-town {
  min-width: 182px;
  white-space: nowrap;
  text-align: left;
}

/* Standard table cells */
.stage-page .table tbody td {
  padding-top: .75rem;
  padding-bottom: .75rem;
  padding-left: .25rem;
  padding-right: .25rem;
  vertical-align: middle;
  text-align: left;
}

/* Checkmark columns */
.stage-page .table td.tbl-col-check {
  text-align: center;
}

/* Tick styling */
.stage-page .tick {
  padding: 0;
  font-family: Arial;
  color: green;
}

/* --------------------------------------------- */
/* DISTANCE ROWS                                 */
/* --------------------------------------------- */

.stage-page .tr-dist td {
  background-color: #f6f8fa;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: none;
}

.stage-page .tr-dist i {
  margin-right: .35rem;
  opacity: .8;
}

.stage-page .td-dist {
  margin-left: .35rem;
  font-weight: 600;
}

.stage-page .td-last-dist {
  text-align: left;
}

/* --------------------------------------------- */
/* OPTIONAL: subtle separators between town rows */
/* --------------------------------------------- */

.stage-page .table tbody tr:not(.tr-dist) td {
  border-bottom: 1px solid #eee;
}

/* --------------------------------------------- */
/* OPTIONAL: improve icon alignment in headers   */
/* --------------------------------------------- */

.stage-page .table thead i {
  opacity: .9;
  vertical-align: middle;
}
.stage-page .table td.tbl-col-check { min-width: 48px; }
.stage-page .tbl-col-town { min-width: 160px; }


/* Toggle text logic */
.btn-more b { display: inline }
.btn-more:not(.collapsed) span { display: none }
.btn-more.collapsed b { display: none }

/* Base button styling */
.btn-more {
    position: relative;
    background-color: #f7f7f9;
    border: 1px solid rgba(0,0,0,0.15); /* soft grey */
    color: #4a5a7a;  /* muted blue-grey */
    padding: 2px 6px;
margin-bottom:15px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    transition: all .2s ease;
    overflow: visible !important;
}
.btn-more span,
.btn-more b {
    font-weight: normal;
}
/* Hover */
.btn-more:hover {
    background-color: rgba(0,0,0,0.18);
    cursor: pointer;
}


/* Base: show chevron DOWN when filters collapsed */
.rotate-angle .icon {
    width: 1em;
    height: 1em;
    margin-left: .25rem;
    transition: transform .2s ease;
    transform-origin: center;
    transform: rotate(0deg);      /* down */
}

/* When NOT collapsed (expanded): rotate UP */
.rotate-angle:not(.collapsed) .icon {
    transform: rotate(180deg);    /* up */
}


.btn-block{
  line-height:1;
}
.table.tbl-attrib td, .table.tbl-attrib th{
  text-align:left;
}
button:disabled{
  background-color: white;
  pointer-events:none; /*disabled hover*/
}
/*Stages page read more button*/
#read-more-btn, #dots{
  display:inline-block;
}
#read-more-btn {
  margin-bottom: 1rem;
}
#more {
  display:none;
}
.cs-section-break {
  margin-top: 2.5rem;
}
#search-container { 
  padding:10px 15px;
}
.search-wrap {
  padding: 30px 15px;
  max-height:40vh;
}
.img-camino-boot {
  background-image:url('../images/camino-frances-pilgrim-shell.jpg');
  background-size: cover; /*make the image fit the div*/
}
.img-camino-stages-banner {
  background-image:url('../images/pilgrim-hiking-md.jpg');
}
.img-camino-accommodation-banner {
  background-image:url('../images/camino-frances-albergue-sm.jpg');
}
#read-more-btn, #dots{
  display:inline-block;
}
.text-muted 
  display:none;
  line-height:1rem;
}
/* NAV BAR — clean + minimal */
.navbar {
  background: var(--nav-bg);
  padding: var(--space-4) 0;
  box-shadow: var(--nav-shadow);
  height: var(--navbar-height);
}
.navbar.navbar-expand-lg.navbar-light {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
/*  gap: .35rem;*/
}

.navbar-light .navbar-nav .nav-link {
    color: #333; /* passes contrast */
}
.navbar-nav .nav-link {
  padding: .5rem 1rem !important;
  border-left: none !important;
  border-radius: var(--radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  background-color: rgba(0,0,0,0.05);
}

.navbar-light .navbar-toggler {
  border: none;
}
.navbar-toggler {
    display: flex;
    align-items: center;   /* vertical centering */
    justify-content: center; /* horizontal centering */
    gap: .5rem;           /* optional spacing between SVG + hamburger */
}
.navbar-toggler .icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}
.active {
  border-bottom:none; /*IMP to remove border from ive nav*/
}
.dropdown-menu {
  border:none;
}
#collapsibleNavbar{
  text-align:center;
  margin-top:15px;
  background-color:white;
}

/* Keep the toggle highlighted on hover */
.nav-item.dropdown:hover .nav-link {
  color: #000; /* adjust to your theme */
}
.nav-item.dropdown .dropdown-item {
  text-align:center;
}
.dropdown-menu .dropdown-item:nth-child(4),
.dropdown-menu .dropdown-item:nth-child(5) {
    display: none !important;
}
.navbar .dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: .35em;
  margin-top:-5px;
  vertical-align: middle;
  border: none;

  /* this draws the chevron */
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg); /* points down-right, reads as a chevron down */
}

#map-btn { 
  position:relative;
  z-index-1;
  top: 50%;
  left:0;
  -ms-transform: translate(0);
  transform: translate(0);
  width:100%;
  padding:1rem 0rem;
  text-decoration:none;
  border-radius:0;
}
.tbl-header {
  display:block;
  font-size:1.5rem; 
  font-weight:600;
}
.header-3{ 
  font-size:1.25rem;
  margin:1rem 0rem;
}
.reservation-text {
  font-weight:600;
  margin-top:-5px;
}
.contact-info {
  font-size: 12px;
  padding-top: 0%;
}
.panel-index{
  padding: var(--space-5);
}
.panel-index i {
  margin-bottom: var(--space-3);
}

.panel-index h2 {
  margin-bottom: var(--space-2);
}
.display-2{
  font-size: 1.4rem;
  font-weight:600;
}
#geared-icon { 
  width:18px; 
  height:18px;
  border-radius:20px;  
  vertical-align: -3px; /* adjust between -2px and -4px depending on font */
  margin: 0px 5px 0px 0px;
}
.geared-wrapper {
  display:inline-block; 
  padding-top:10px;
}
.viewMap {
  font-weight:500;
}
a.viewMap:link {
  text-decoration: none; 
  color: #3366ff;
}
a.viewMap:hover {
  text-decoration:underline;
}

.small-text {
  margin-bottom:10px;
}
.property-details-link {
  margin-bottom: 15px;
}
.details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: #2f6f3e; /* softer green */
  border: 1px solid rgba(47, 111, 62, 0.35); /* subtle outline */
  border-radius: .5rem;
  background: transparent;
  text-decoration: none;
  transition: all .2s ease;
}

.details-link:hover,
.details-link:focus {
  border-color: #2f6f3e;
  color: #2f6f3e;
  background-color: rgba(47, 111, 62, 0.08); /* very light tint */
  outline: none;
}
.details-link .info-icon {
  margin-left: 6px;
  font-size: 1rem;
  color: #004d00; /* match hover color for icon */
}

.details-link--external {
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
  margin: 0;
  padding: 0;
  cursor: default;
  user-select: none;
  line-height: normal;
}
.details-link--stage {
  margin-bottom: 15px;
}
.results-tbl{
  border:1px solid #dee2e6;
  border-radius:1rem;
  background-color:white;
  box-shadow:0 .5rem 1rem #dee2e6; 
  margin-bottom:1.25rem;
  padding: 0.75rem 1.25rem;
}

.price-item {
  display: inline-flex;
  align-items: center;   /* vertical centering */
  gap: 0.25rem;          /* optional: spacing between icon and text */
}

.quick-facts {
  flex: 1 1 auto;
  width: 100%;
}
.quick-facts li {
  display: flex;
  align-items: flex-start;
}
.property-page .fact-label {
  flex: 0 0 140px;   /* fixed label column width */
  font-weight: 600;
  width: 30%;
}
.property-page .fact-value {
  flex: 1 1 auto;    /* expands to fill remaining space */
  min-width: 0;      /* prevents overflow */
}
.stage-page .quick-facts .fact-label {
  width: 30%;
}
.stage-page .quick-facts .fact-value {
  width: 70%;
}
.facts-row{
  margin-top:5px;
  margin-left: auto;
  margin-right: auto;
}

.facts-row .fact-item {
  display: flex;
  align-items: center;
  gap: 6px;              /* perfect spacing */
}

.fact-icon .icon {
  width: 18px;
  height: 18px;
  vertical-align: top;
}

.town-page .fact-value {
  flex-grow: 1;          /* THIS makes it stretch */
}

.fact-label, .fact-value {
  display:block;
  padding-bottom: .5rem;
  display: flex;
  align-items: center;   /* vertical centering */
  gap: 0.25rem;          /* optional: spacing between icon and text */
}
.fact-label{
  font-weight:500;
  width:30%;
}
.price-item .from {
  font-size: 0.85em;      /* slightly smaller */
  opacity: 0.75;          /* visually secondary */
  margin-left: 1px;       /* move closer or further */
  position: relative;
  left:-.35em;
}
ul li {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.floating-review-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #0066cc;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.floating-review-btn:hover {
  background: #004c99;
}

.rating-block {
  display: flex;
  align-items: center;
  margin-top:15px;
}

/*Ratings - CaminoSleeps*/
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0rem;
  font-family: system-ui, sans-serif;
}
.rating-score {
  position: relative;
  background: #9aa3b1; /* grey or #003580; deep blue */
  color: white;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.3rem;
  border-radius: 5px;
  min-width: 2rem;
  text-align: center;
}

.rating-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.rating-label {
  font-size: 0.85rem;
  color: #111;
}

.rating-count {
  font-size: 0.8rem;
  color: #555;
}
.rating-badge.no-reviews .rating-score {
  background: #9aa3b1;
}

.reviews-disclaimer {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.review-guidelines {
  border: 1px solid #ddd;
  background: #f9f9f9;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.review-guidelines h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.review-guidelines ul {
  margin: 0;
  padding-left: 1.2rem;
}
.btn-b {
    background-color: white;
    border: 1px solid #003580;
    border-left: 10px solid #003580;
    color: #003580;
    display: inline-block;
    transition: all .2s ease;
    margin-top:15px;
  border-radius: .5rem;
}
.btn-b:hover {
    background-color: rgba(0, 53, 128, 0.08); /* subtle tint */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    color: #003580;
}
.btn-e {
    background-color: white;
    border: 1px solid #003580;
    border-left: 10px solid #F7C948;
    color: #00355F;
    display: inline-block;
    transition: all .2s ease;
    margin-top:15px;
  border-radius: .5rem;
}
.btn-e:hover {
    background-color: rgba(0, 53, 128, 0.08); /* subtle tint */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    color: #003580;
}
/* REQUIRED FOR WCAG ACCESSIBILITY */
.btn-b:focus,
.btn-e:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.35);
}

.row-border{
   border-bottom: 1px solid #dee2e6;
}

#booking-btn{
  width:80%;
}
.contact-info {
  font-size: 12px;
  padding-top: 0%;
}
.bunk-icon {
  width:18px; 
  height:18px;
  vertical-align:-2px;
}
#amenities-bunk-icon {
  width:20px; 
  height:20px;
}

/*ICONS*/
.icon {
  width: 1.5em;
  height: 1.5em;
  fill: #595959;   /* ← this forces the fill color */
  color: #595959;
  vertical-align: -0.125em;
  font-weight:600;
}
/*Force icons to be a set color*/
.tbl-value svg.icon, .price-item svg.icon {
  color: #595959;
}
.icon-bed-logo {
  width: 26px;
  height: 26px;
  background-color:#0645AD;
  color:#ffcc00;
  border-radius:25px;
}
.icon-bed {
  width: 20px;
  height: 20px;
}
.icon-chevron-right {
  width: 14px;
  height: 14px;
}
.icon-arrow-left, .icon-arrow-right, .icon-arrow-down { 
  color:#ffcc00;
  font-size:20px;
}
.icon-box-arrow-up-right {
  width: 1em;
  height: 1em;
  fill: #003580;
  color: #003580;
}
.resources-page .icon-box-arrow-up-right {
  fill: #0059b3;
  color: #0059b3;
}
.icon-distance, .icon-difficulty-scale, .icon-stage {
  width: 2em;
  height: 2em;
}
.icon-location-dot {
  color:#007bff;
}
.index-stg-btn .icon-chevron-right {
  color: white;
}
.back-link .icon-arrow-left {
  color: #595959;
  width: .8em;
  height: .8em;
}
.icon-col .icon-location-dot {
  color:#595959;
}
#stage-bed-icon{
  font-size:18px;
  color:#212529;
}
i.fa-spinner {
  font-size:30px;
  padding:10px;
  color:#212529;
}
/*REVIEWS - modal and review form*/
.reviews-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 9999;
}
.reviews-modal.show {
  display: flex;
}
.reviews-modal-inner {
  background: #fff;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.reviews-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.review-block {
  margin-bottom: 20px;
}
.review-block strong {
  font-size: 18px;
}
.reviews-tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  cursor: pointer;
  border-radius: 6px;
  font-size: 15px;
}
.tab-btn.active {
  background: #fff;
  border-color: #999;
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


/* Footer*/
.footer{
  background-color:#595959;
  flex:1; /*Important to make sticky footer regardless of page content height*/
  padding: var(--space-5) 0;
}
.panel-footer{
  padding:15px;
  color:white;
  background-color:#595959;
  font-size:0.9rem;
}
.footer-link{
  color:white;
}
a.footer-link:hover {
  color:white;
}
.index-icon{
  font-size: 2rem;
  font-weight:600;
  color: #212529;
  -webkit-text-stroke: 1px white; 
}
.icon-circle-check {
  font-size: 1.8rem;
}
.img-overlay-bottom {
  position:absolute;
  bottom:15px;
  left:0;
  z-index:2; 
  width:100%;
  max-width:720px;
  padding: 0px 15px;
  margin: 0px ;
  margin:auto;
}

.affiliate-disclosure {
  background: #f8f9fa;
  border-left: 4px solid #ffc107;
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.85rem; 
  line-height: 1.45;
  color: #444;
}
.affiliate-disclosure p {
  margin: 0 0 0.6rem;
}
.affiliate-disclosure strong {
  font-size: 0.9rem;    
  color: #222;
}
.hero-wrap {
  width: 100%;
  margin: 0 0 20px 0;
}

.hero-img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
}

/* Resources Table container */

.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.gear-table {
    table-layout: fixed;
    width: 600px; /* forces overflow on mobile */
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

/* Header row */
.gear-table thead th {
    text-align: left;
    font-weight: 600;
    padding: 8px 6px;
    border-bottom: 2px solid #e0e0e0;
}

/* Body cells */
.gear-table td {
    padding: 8px 6px;
    vertical-align: top;
    border-bottom: 1px solid #f0f0f0;
}

.gear-table th,
.gear-table td {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tier column */
.gear-table td:first-child {
  font-weight: 600;
  max-width:200px;
}


.gear-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gear-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.gear-thumb {
  display:none;
  width: 120px;
  height: auto;
  margin-right: 12px;
  border-radius: 4px;
}
.gear-title {
  color: #0066c0;
  text-decoration: none;
}
.gear-title:hover {
  text-decoration: underline;
}

.tier-heading {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.6rem 0 0.4rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f2f2f2;
    padding: 0.25rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
}

/* Separator spacing */
.sep {
    padding: 0 0.4rem;
    color: #999;
}

.soft-bold {
  font-weight:500;
}

.gear-cta {
    margin-top: 1rem;
}
.internal-link {
    color: #0059b3;        
    text-decoration: underline; 
    letter-spacing: 0.2px;
    text-underline-offset: 2px;
}
.internal-link:hover {
    color:#0a95ff;
    text-underline-offset: 3px;
}
.affiliate-link {
    color: #0059b3;        
    text-decoration: none; 
    letter-spacing: 0.2px;
}
.affiliate-link:hover {
    color:#0a95ff;
    text-decoration: underline; 
    text-underline-offset: 3px;
}

.sep {
    padding: 0 0.4rem;
    color: #999;
}

}


/* 2. Small screens css (landscape phones, 576px and up)*/
@media (min-width: 576px){

.breadcrumb-wrapper .breadcrumb { 
  max-width: 540px; 
  margin: 0 auto;
}
#town-selectbox {
  width: calc(220px + 7.5vw);
  margin-bottom:0rem;
}

.property-page h2, .stage-page h2 {
  font-size: 1.35rem;
}
.property-page h3, .stage-page h3 {
  font-size: 1.05rem;
}
.page-title .prop-location {
  display: block;
  margin-left: 0;
  margin-top: 0.25rem;
}
.next {
  text-align:right;
  display:inline-block;
}
.prev {
  text-align:left;
  display:inline-block;
}
.gear-table td:first-child,
.gear-table td:nth-child(2) {
    min-width: auto;
  }
}


/* 3. MOBILE: hide entire panel until expanded */
@media (max-width: 767px) {
.hero-image img {
  object-fit: cover;
  aspect-ratio: auto; /* resets the desktop rule */
}
.hero-image {
  height: 40vh; 
}
.town-hero picture {
  display: block;
  width: 100%;
}
.town-hero picture img {
  display: block;
  width: 100%;
  border-radius: .5rem;
}
.town-hero {
  position: relative;
  overflow: hidden;
  min-height: 1px; /* forces clipping container to exist */
}
.img-twn {
  height: 40vh;
  object-fit: cover;
}
.img-overlay-top {
  position:absolute;
  top:0;
  left:0;
  z-index:2; 
  max-height: 30vh;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0rem 1rem;
  border-radius: 0; /* optional but cleaner */
  box-sizing: border-box;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

  .stage-hero-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .5rem;
  }

  .stage-hero-nav .next-prev-link {
    background: rgba(255,255,255,0.85);
    color: #3a6ea5;
    font-size: .9rem;
    border-radius: 25px;
    padding: .35rem .9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    white-space: nowrap;
  }

  .stage-hero-nav .next-prev-link:hover {
    background: white;
  }

  #filters-panel-mobile:not(.show) .filters-panel {
    display: none;
  }
.section-filters-map {
  padding:0.5rem 0;
  background: white;
}
/* Remove extra Bootstrap column padding */
.section-filters-map .row > [class*="col-"] {
  padding-top: 0;
  padding-bottom: 0;
}
  .map-card {
    display: none;
  }
.nav-stage-name{
  font-size:.9rem;
}
}

/* 4. Medium devices css  (≥768px) */
@media (min-width: 768px) {

.breadcrumb-wrapper .breadcrumb { 
  max-width: 720px; 
  padding:12px 0px;
}

#map-canvas-container{
  margin-top:0px;
}

.town-hero {
  margin-bottom:1rem;
}
.img-twn {
  height: 45vh;
  max-height: 480px;
  border-radius: .5rem;
}
.img-overlay-top {
  position:absolute;
  top:0;
  left:0;
  z-index:2; 
  width:100%;
  margin: 0px;
  padding: 0rem 1.5rem;
  border-radius: 0;
}
.img-overlay-bottom {
  bottom:35px;
  padding: .75px 15px;
}
.next {
  float: right;
  display:inline-block;
  text-align:right;
}
.prev {
  float: left;
  display:inline-block;
  text-align:left;
}
.next-prev-link {
  font-size:1rem;
}

.stage-nav .next {
 text-align:right;
}
.stage-nav .prev {
 text-align:left;
}
.fact-label{
  width:auto;
}
.btn-primary .icon-location-dot-alt circle {
  fill: none !important;
  stroke: none !important;
}
.map-btn .icon-location-dot-outline {
  color:white;
}

.mobile-buttons {
    display: none;
}

.map-key-btn,
.map-legend {
  right: 3.75rem;
}

/* DESKTOP: always show */

  #filters-panel-mobile {
    display: block !important;
    height: auto !important;
  }

  .filters-panel {
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.05);
  }
.btn-filter {
   padding: 0.2rem 0.5rem;
   font-size: 0.8rem;
}
.li{
break-inside: avoid;
}

.btn-b, .btn-e {
    margin-top:0px;
}
.btn-more {
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin: revert; /* restore browser default */
}

.page-title--hero {
  font-size:2rem;
}
#index-header {
  top:18%;
  font-size: 3.25rem;
  margin-bottom: var(--space-5);
}
.display-2{
  font-size: 1.6rem;
  padding-top:15px;
}

#collapsibleNavbar{
  margin-top:0px;
}

.img-map{
  display:block;
  position:relative;
  height:auto;
  width:100%;
  border-radius:1rem;
  border-right:1px solid #dee2e6;
}
#map-btn {
  position: absolute;
  top: 65%;
  left: 50%;
  z-index:10;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: pointer;
  background-color:white; 
  font-weight:500;
  width:auto;
  border: 1px solid #007bff;
  border-radius: .5rem;
  padding:.375rem .75rem;
}

#filter-btn{
  width:50%;
}
ul.breadcrumb li {
    font-size: .95rem;
  }

ul.breadcrumb li + li::before {
    font-size: .85rem;
  }

#read-more-btn, #dots {
  display:none;
}
#more {
  display:inline;
}

.breadcrumb {
  max-width:720px;
  margin:auto!important;
}
.vertical-bar{
  display:inline-block;
  padding:0px 5px;
}
.row-border{
border-bottom: none;
}


/* PROPERTY PAGE*/
.property-page .image-placeholder {
  height: 400px !important;
}
.property-page .image-placeholder, .property-page .tbl-img {
  border-radius: 1rem;
}
/* Remove table border on contact section of property page*/
table.table.table-fixed td,
table.table.table-fixed th {
  border:none;
}
/* TOWN PAGE*/
.image-placeholder {
  padding: 60px 0px;
  text-align:center;
}
.image-placeholder svg.icon-camera  {
    width: 32px; /* larger camera icon */
    height: 32px;
    margin-bottom: 8px; /* spacing between icon and text */      
}
.contact-info {
  font-size: 14px;
  padding:5px;
}
.reorder{
  flex-grow: 1;
  order:unset;
  flex-direction: row;
  align-items:center;
}

.card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 1;
}
.floating-review-btn {
  left: max(0px, calc((100vw - 1140px) / 2));
  transform: none; /* resets the mobile centering */
}

}



/* 5. IPADS:*/
@media (min-width: 768px) and (max-width: 1024px) {
  .cs-container .row.mx-0 > [class*="col-md"] {
    padding-left: .25rem !important;
    padding-right: .25rem !important;
  }

}
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    border: none !important;
  }
  #collapsibleNavbar {
    background: white;
    margin-top: 0.85rem; 
    padding: 1rem 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0645AD;
    text-align: center;
    border-radius: 8px;
    margin: 0.25rem 1rem;
    transition: background 0.2s ease;
  }

  .navbar-nav .nav-link:hover {
  color: #2a5db0;   
  }
.navbar-light .navbar-toggler {
  border: none;
  padding: 0.35rem 0.5rem;
}

.navbar-light .navbar-toggler-icon {
  filter: brightness(0.3);
}

}


/* 6. LARGE DEVICES css (desktops, 992px and up)*/
@media (min-width: 992px) {

body {
  padding-top: 66.6px; /* matches navbar height */
}

.dropdown-menu {
  border:1px solid #dee2e6;
}
.breadcrumb-wrapper .breadcrumb { 
  max-width: 960px; 
  padding:12px 0px;
}

/* Open dropdown on hover -Resources tab */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu {
  display: none;
  margin-top: 0;
  transition: opacity 0.15s ease;
  opacity: 0;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  display: block;
  opacity: 1;
}
.nav-item.dropdown .dropdown-item {
  text-align:left;
}

.hero-image {
  height: 50vh;   /*IMP - if remove it impacts second image in modal on property page*/
}
.property-image-wrapper.hero-image {
    aspect-ratio: 4 / 3; /* IMP to maintain sam width onf img 2 */
    width: 100%;
}

.order-md-2{
  display:flex;
  justify-content: flex-end;
}

.tbl-img, .image-placeholder, .thumb-img {
  width:100%;
  height: 200px; 
  margin: 0;
  border-top-right-radius:0px;
  border-bottom-right-radius:0px;
}
.stage-page-all .tbl-img {
  height: 180px; 
}
.property-details-link {
  margin:0px;
}
.property-image {
  position: relative;
}

/* Resources table */

.gear-table {
  table-layout:auto;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  width: 100%; /* desktop full width */
}

.gear-table td:first-child {
  min-width:130px;
}

.gear-table td:nth-child(2) {
  min-width:200px;
}


/*START of CARETS IN MODAL*/

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,0.45);
  color: white;
  border: none;
  font-size: 1.8rem;
  width: 2.4rem;
  height: 2.4rem;
  line-height: 2.4rem;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
}

.property-image-wrapper {
  position: relative;
}

.img-prev,
.img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 2.75rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  height:45px;
}

.img-prev { left: 10px; }
.img-next { right: 10px; }

.img-prev:hover,
.img-next:hover {
  background: rgba(0,0,0,0.65);
}


.img-nav:hover {
  background: rgba(0,0,0,0.65);
}
/*END of CARETS IN MODAL*/


/* PROPERTY PAGES Inner layout: vertical stack, centered */

/* Single-image case */
#modal-img-2[style*="display: none"],
#modal-img-1[style*="display: none"] {
  max-width: 80%;
  margin: 0 auto;
}

/* Caption + footer */

#modal-caption,
#modal-footer {
  width: 80%;
  max-width: 650px;
  margin: 0 auto;
}

.page-title--hero {
    font-size: 2.3rem;
    letter-spacing: .5px; /* adds polish */
}
.geared-wrapper {  
  margin-top:-2px;
}
.txt-overlay-center {
  max-width:960px;
}
.page-title--hero, .page-subtitle--hero, .breadcrumb, .img-overlay-bottom {
  max-width:960px;
}
.card-columns {
        -webkit-column-count: 2;
        -moz-column-count: ;
        column-count: 3;
}

.page-title {
  font-size: 2rem !important;
}

.property-page .rating-block {
  margin-left:0px;
  margin-top:15px;
}
.rating-block {
  margin-top:0px;
}
.btn-b {
  margin-bottom:5px;
}
.property-page .btn-b {
  margin-bottom:0px;
}
.icon-pricetag, .icon-calendar, .icon-paw, .icon-person-full {
  display:none;
}
.details-link--stage {
  margin-bottom: 0px;
}
.facts-row {
  margin-left: -6px; /*the value of the gap in fact-item*/
}
  
}
/* 8. X-Large devices css (large desktops, 1200px and up)*/
@media (min-width: 1200px) { 

.breadcrumb-wrapper .breadcrumb { 
  max-width: 1140px; 
  padding:12px 0px;
}
.page-title--hero, .page-subtitle--hero, .breadcrumb, .img-overlay-bottom {
  max-width:1140px;
}
 }

