/* ==========================================================================
   LOCAL PREVIEW ONLY — Highland coos map page
   NOT LIVE / NOT for IONOS push
   ========================================================================== */

.hc-coos-map-card {
  background: #fff;
  border: 2px solid var(--hc-gold, #C9A227);
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(10, 31, 61, 0.12);
  overflow: hidden;
  position: relative;
  /* LOCAL PREVIEW — side breathing room; not full-bleed stretched */
  max-width: min(44rem, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .hc-coos-map-wrap {
    padding-left: clamp(2.5rem, 8vw, 5.5rem);
    padding-right: clamp(2.5rem, 8vw, 5.5rem);
  }
}

@media (max-width: 991.98px) {
  .hc-coos-map-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.hc-coos-map-card::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--hc-navy, #0A1F3D) 0%, var(--hc-gold, #C9A227) 50%, var(--hc-navy, #0A1F3D) 100%);
}

#hc-coos-map {
  width: 100%;
  height: min(42vh, 380px);
  min-height: 260px;
  background: #e8eef4;
  z-index: 1;
}

.hc-coo-marker {
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--hc-gold, #C9A227);
  border: 3px solid var(--hc-navy, #0A1F3D);
  box-shadow: 0 2px 8px rgba(10, 31, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-coo-marker::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-navy, #0A1F3D);
}

.hc-coo-popup .leaflet-popup-content-wrapper {
  border-radius: 0.65rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 6px 18px rgba(10, 31, 61, 0.18);
}

.hc-coo-popup .leaflet-popup-content {
  margin: 0.75rem 0.9rem;
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--hc-navy, #0A1F3D);
  line-height: 1.4;
}

.hc-coo-popup-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  color: var(--hc-navy, #0A1F3D);
}

.hc-coo-popup-tip {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
}

.hc-coo-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.18);
  color: var(--hc-navy, #0A1F3D);
  border: 1px solid rgba(201, 162, 39, 0.45);
}

.hc-coo-list .place-panel {
  height: 100%;
}

.hc-coo-list .place-panel .coo-type-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hc-navy, #0A1F3D);
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.5rem;
}

.hc-coos-disclaimer {
  background: rgba(10, 31, 61, 0.04);
  border-left: 4px solid var(--hc-gold, #C9A227);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: #334;
}

.hc-coos-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.leaflet-container a {
  color: var(--hc-navy, #0A1F3D);
}


/* ==========================================================================
   LOCAL PREVIEW ONLY — Highland cattle page theme (sidebar = bull/coos clip)
   ========================================================================== */

body.hc-coos-theme {
  --hc-coo-heather: #6b3a5c;
  --hc-coo-moss: #3d5c45;
  --hc-coo-cream: #f4efe6;
}

body.hc-coos-theme .page-header.scenic-wash {
  background-color: #2a1a14;
}

body.hc-coos-theme .section-cream-deep {
  /* Solid cream — scenic photo band removed; wispy grass divider separates sections */
  background: #f4efe6;
}

body.hc-coos-theme .hc-coos-map-card {
  border-color: #a67c2d;
  box-shadow: 0 12px 32px rgba(42, 26, 20, 0.16);
}

body.hc-coos-theme .hc-coo-marker {
  background: #c4783a;
  border-color: #2a1a14;
}

body.hc-coos-theme .hc-coo-marker::after {
  background: #2a1a14;
}

body.hc-coos-theme .saltire-badge {
  border-color: rgba(196, 120, 58, 0.55);
}

/* Sidebar: force coos poster under video; frame cattle nicely */
@media (min-width: 992px) {
  body.hc-coos-theme.hc-past-hero .navbar-hc {
    background-image: url('../img/sidebar-coos-poster.jpg') !important;
    background-position: center 55% !important;
  }
  body.hc-coos-theme .sidebar-scenic-video {
    object-position: center 55% !important;
  }
  body.hc-coos-theme.hc-past-hero .sidebar-scenic-video.is-front {
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* Match site-wide transparent navy wash (consistent theme) */
  body.hc-coos-theme.hc-past-hero .navbar-hc::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    background: linear-gradient(
      180deg,
      rgba(10, 31, 61, 0.42) 0%,
      rgba(10, 31, 61, 0.50) 40%,
      rgba(10, 31, 61, 0.62) 100%
    ) !important;
  }
}


/* ==========================================================================
   LOCAL PREVIEW ONLY — fun peeking cartoon Highland coo (Chelsea's asset)
   ========================================================================== */

.hc-coos-header {
  position: relative;
  overflow: hidden;
}

.hc-coo-peek--header {
  position: absolute;
  right: clamp(0.5rem, 4vw, 3rem);
  bottom: -2.6rem;
  width: clamp(5.5rem, 12vw, 8.5rem);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
  transform: rotate(8deg);
  animation: hc-coo-bob 3.8s ease-in-out infinite;
}

.hc-coos-map-wrap {
  position: relative;
}

.hc-coo-peek-stage {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  /* peek from bottom-right behind/over the map card edge */
  right: clamp(-0.4rem, 1vw, 0.6rem);
  bottom: -1.1rem;
  width: clamp(7.5rem, 16vw, 11rem);
}

.hc-coo-peek--map {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(42, 26, 20, 0.35));
  transform-origin: 70% 100%;
  animation: hc-coo-peek-in 1.1s ease-out both, hc-coo-bob 4.2s ease-in-out 1.1s infinite;
}

@keyframes hc-coo-peek-in {
  from {
    opacity: 0;
    transform: translateY(1.6rem) rotate(12deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(6deg) scale(1);
  }
}

@keyframes hc-coo-bob {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-0.35rem) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hc-coo-peek--map,
  .hc-coo-peek--header {
    animation: none !important;
  }
}

@media (max-width: 575.98px) {
  .hc-coo-peek--header {
    width: 4.75rem;
    bottom: -2rem;
    right: 0.35rem;
  }
  .hc-coo-peek-stage {
    width: 6.25rem;
    bottom: -0.85rem;
  }
}


/* LOCAL PREVIEW ONLY — slim navy title band (not a big focal header) */
body.hc-coos-theme .hc-coos-header-band.page-header {
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  min-height: 0 !important;
}

body.hc-coos-theme .hc-coos-header-band.page-header-compact h1 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  color: #fff;
}

body.hc-coos-theme .hc-coos-band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 0.85rem;
  text-align: left;
}

body.hc-coos-theme .hc-coos-band-badge.saltire-badge {
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
}

body.hc-coos-theme .hc-coo-peek--header {
  width: clamp(3.25rem, 6vw, 4.5rem) !important;
  bottom: -1.35rem !important;
  right: clamp(0.4rem, 3vw, 2rem) !important;
}

body.hc-coos-theme .hc-coos-header-band.page-header::after {
  display: none !important;
}


/* LOCAL PREVIEW ONLY — fixed bottom-right coo popping out of page bottom */
.hc-coo-corner {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  /* tuck lower body under the viewport — head + shoulders peek up */
  bottom: calc(-3.15rem - env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  width: clamp(8rem, 15vw, 11.5rem);
  pointer-events: none;
  line-height: 0;
  overflow: visible;
}


.hc-coo-chew {
  position: relative;
  width: 100%;
  line-height: 0;
  transform: translateY(0) rotate(1deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transform-origin: 50% 100%;
  animation: hc-coo-taskbar-bob 3.6s ease-in-out infinite;
}

.hc-coo-corner-img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes hc-coo-taskbar-bob {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-0.28rem) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hc-coo-chew { animation: none !important; }
}

@media (max-width: 575.98px) {
  .hc-coo-corner {
    width: 6.5rem;
    right: 0.55rem;
    bottom: calc(-2.55rem - env(safe-area-inset-bottom, 0px));
  }
  .hc-coo-chew {
    transform: translateY(0) rotate(1deg);
  }
}

/* Hide old map/header peekers if any leftover markup */
.hc-coo-peek--header,
.hc-coo-peek-stage,
.hc-coo-peek--map {
  display: none !important;
}


/* LOCAL PREVIEW ONLY — chewing mouth loop (grass) */
.hc-coo-chew-frame {
  display: block;
  width: 100%;
  height: auto;
}

.hc-coo-chew-frame--open {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: hc-coo-chew-mouth 0.55s steps(1, end) infinite;
}

.hc-coo-chew-frame--closed {
  position: relative;
  opacity: 1;
  animation: hc-coo-chew-mouth-closed 0.55s steps(1, end) infinite;
}

@keyframes hc-coo-chew-mouth {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes hc-coo-chew-mouth-closed {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hc-coo-chew-frame--open { animation: none !important; opacity: 0 !important; }
  .hc-coo-chew-frame--closed { animation: none !important; opacity: 1 !important; }
}


.hc-coos-herds-note {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: #3a4550;
  font-size: 0.95rem;
  text-align: center;
}

body.hc-coos-theme .hc-coos-disclaimer {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.hc-coos-theme .hc-coos-cta-row {
  justify-content: center;
}

/* LOCAL PREVIEW ONLY — Back to home: lift off cream (depth, not flat outline) */
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy {
  background: linear-gradient(180deg, #ffffff 0%, #f7f2ea 100%) !important;
  border: 1.5px solid rgba(10, 31, 61, 0.55) !important;
  color: var(--hc-navy, #0A1F3D) !important;
  box-shadow:
    0 8px 20px rgba(42, 26, 20, 0.12),
    0 2px 4px rgba(10, 31, 61, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy i {
  color: inherit !important;
}
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy:hover,
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy:focus-visible {
  background: linear-gradient(180deg, #0f2748 0%, #0A1F3D 100%) !important;
  border-color: #0A1F3D !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 12px 26px rgba(10, 31, 61, 0.22),
    0 3px 6px rgba(10, 31, 61, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  outline: none;
}
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy:hover i,
body.hc-coos-theme .hc-coos-cta-row .btn-outline-navy:focus-visible i {
  color: #fff !important;
}


/* LOCAL PREVIEW ONLY — this page: nest login box inside the slim blue band */
body.hc-coos-theme .hc-coos-header-band {
  position: relative;
  overflow: visible;
}

@media (min-width: 992px) {
  body.hc-coos-theme .portal-login-cluster--coos-band.portal-login-cluster--desktop {
    position: absolute !important;
    top: 50% !important;
    right: clamp(0.75rem, 2vw, 1.35rem) !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    margin: 0 !important;
    gap: 0.35rem !important;
    padding: 0.2rem 0.3rem !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 0.45rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
    max-width: none !important;
  }

  body.hc-coos-theme .portal-login-cluster--coos-band .btn,
  body.hc-coos-theme .portal-login-cluster--coos-band .btn-sm {
    height: 1.55rem !important;
    min-height: 1.55rem !important;
    padding: 0 0.5rem !important;
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }

  /* Leave room on the right for the in-band login box */
  body.hc-coos-theme .hc-coos-header-band .container {
    padding-right: min(22rem, 42vw) !important;
    padding-left: 1rem !important;
  }
}


/* LOCAL PREVIEW ONLY — mascot ducks away at Places section */
.hc-coo-corner {
  transition: opacity 0.35s ease, transform 0.4s ease, visibility 0.35s ease;
}
.hc-coo-corner.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(1.25rem) !important;
}


/* LOCAL PREVIEW ONLY — longer page air + clear section break before Places */
body.hc-coos-theme .hc-coos-map-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem) !important;
  padding-bottom: 0.5rem !important;
}

body.hc-coos-theme .hc-coos-places-section {
  padding-top: 0.65rem !important;
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem) !important;
}

body.hc-coos-theme .hc-coos-map-wrap {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem !important;
}

body.hc-coos-theme .hc-coos-disclaimer {
  margin-top: 0.5rem;
  /* Keep the split air symmetric: section padding + separator margins provide it. */
  margin-bottom: 0 !important;
}

/* Short elegant navy rule — line removed; margins kept for spacing */
.hc-coos-navy-sep {
  display: block;
  width: 5.5rem;
  height: 0;
  margin: 2rem auto 2.25rem;
  border: 0;
  border-top: 1.5px solid transparent; /* was navy — spacing unchanged */
  opacity: 0;
  visibility: hidden;
  position: relative;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

/* LOCAL PREVIEW ONLY — scenic image band removed; grass divider used instead */
.hc-coos-navy-sep.hc-coos-navy-sep--in {
  display: none !important;
}

/* Match content column centre (not full main-wrapper width with odd padding) */
.container > .hc-coos-navy-sep,
.hc-coos-navy-sep--in {
  margin-left: auto;
  margin-right: auto;
}

.hc-coos-navy-sep::before,
.hc-coos-navy-sep::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 992px) {
  body.hc-coos-theme #hc-coos-map {
    height: min(38vh, 360px);
    min-height: 280px;
  }
}

/* bootstrap has no py-lg-6 — approximate */
.py-lg-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}
@media (max-width: 991.98px) {
  .py-lg-6 {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }
}


/* LOCAL PREVIEW ONLY — highland cows video band (taller than deer strip) */
body.hc-coos-theme .hc-coos-scenic-strip.scenic-strip--video {
  height: clamp(180px, 28vw, 280px);
}
body.hc-coos-theme .hc-coos-scenic-strip .scenic-strip-video {
  object-position: center 45%;
}
@media (max-width: 575.98px) {
  body.hc-coos-theme .hc-coos-scenic-strip.scenic-strip--video {
    height: 140px;
  }
}


/* LOCAL PREVIEW ONLY — scrollable Highland coo video gallery */
.hc-coo-gallery-wrap {
  margin-left: calc(50% - 50vw + max(var(--hc-sidebar-width, 0px), 0px) / 2);
  margin-right: calc(50% - 50vw);
  padding-left: max(1rem, calc((100vw - min(100vw, 1140px)) / 2 + 0.75rem));
  /* simpler: stay in container flow with overflow */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

.hc-coo-gallery {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0.25rem 1rem;
  scrollbar-color: var(--hc-navy, #0A1F3D) rgba(10, 31, 61, 0.08);
}

.hc-coo-gallery::-webkit-scrollbar {
  height: 8px;
}
.hc-coo-gallery::-webkit-scrollbar-thumb {
  background: rgba(10, 31, 61, 0.35);
  border-radius: 999px;
}

.hc-coo-gal-card {
  flex: 0 0 min(78vw, 22rem);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(10, 31, 61, 0.1);
  border-radius: 0.85rem;
  box-shadow: 0 8px 22px rgba(10, 31, 61, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hc-coo-gal-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a1f3d;
  cursor: default;
}

.hc-coo-gal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-coo-gal-play { display: none !important; }

.hc-coo-gal-card.is-playing {
  box-shadow: 0 10px 26px rgba(10, 31, 61, 0.16);
  border-color: rgba(201, 162, 39, 0.45);
}

.hc-coo-gal-body {
  padding: 0.9rem 1rem 1.05rem;
}

.hc-coo-gal-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hc-navy, #0A1F3D);
  margin: 0 0 0.3rem;
}

.hc-coo-gal-body p {
  font-size: 0.88rem;
  color: #4a5a6a;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .hc-coo-gal-card {
    flex-basis: 20.5rem;
  }
}


/* LOCAL PREVIEW ONLY — Baby Coos! feature photo + gallery arrows */
.hc-baby-coos {
  margin: 2.75rem 0 2.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background: #FEF9F3;
  border-radius: 14px;
  border: 1px solid #E8D9C5;
  box-shadow: 0 8px 24px rgba(42, 26, 20, 0.08);
}

.hc-baby-coos-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1.35rem);
  margin: 0 auto 1rem;
  max-width: min(52rem, 100%);
}

.hc-baby-coos-hero {
  margin: 0;
  flex: 1 1 auto;
  max-width: 42rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1.5px solid #C9A227;
  box-shadow: 0 8px 22px rgba(10, 31, 61, 0.1);
  background: #0a1f3d;
  line-height: 0;
  padding: 0;
}

.hc-baby-coos-hero img,
.hc-baby-coos-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(58vh, 440px);
  object-fit: cover;
  object-position: center 32%;
  border-radius: 0;
}

.hc-baby-coos-nav {
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(10, 31, 61, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hc-navy, #0A1F3D);
  box-shadow: 0 4px 14px rgba(10, 31, 61, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.hc-baby-coos-nav span {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1;
  margin-top: -0.12em;
}

.hc-baby-coos-nav:hover:not(:disabled),
.hc-baby-coos-nav:focus-visible {
  background: var(--hc-navy, #0A1F3D);
  border-color: var(--hc-navy, #0A1F3D);
  color: #fff;
  outline: none;
}

.hc-baby-coos-nav:active:not(:disabled) {
  transform: scale(0.96);
}

.hc-baby-coos-nav:disabled,
.hc-baby-coos-gallery.is-single .hc-baby-coos-nav {
  opacity: 0.42;
  cursor: default;
}

.hc-baby-coos-note {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.98rem;
  color: var(--hc-navy, #0A1F3D);
}

.hc-baby-coos-note strong {
  color: var(--hc-navy, #0A1F3D);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .hc-baby-coos-gallery {
    gap: 0.45rem;
  }
  .hc-baby-coos-nav {
    width: 2.25rem;
    height: 2.25rem;
  }
  .hc-baby-coos-nav span {
    font-size: 1.55rem;
  }
}


/* LOCAL PREVIEW ONLY — Saltire as a clear corner flag on subtle cream boxes */
/* LOCAL PREVIEW ONLY — very transparent Saltire, bottom-left of Places/Baby Coos section */
body.hc-coos-theme section.section-cream-deep::after,
body.hc-coos-theme section.section-white::after,
body.hc-coos-theme section.section-light::after,
body.hc-coos-theme section.bg-light-hc::after,
body.hc-coos-theme section:not(.section-navy):not(.cta-band):not(.hero):not(.trust-strip)::after {
  display: none !important;
  content: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

body.hc-coos-theme .hc-coos-places-section {
  position: relative !important;
  overflow: hidden !important;
}

body.hc-coos-theme .hc-coos-places-section::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 88px !important;
  right: auto !important;
  top: auto !important;
  width: clamp(9rem, 22vw, 14rem) !important;
  height: clamp(6rem, 14.7vw, 9.35rem) !important; /* ~3:2 */
  background: url('../img/saltire.svg') center / 100% 100% no-repeat !important;
  opacity: 0.08 !important; /* very transparent */
  border-radius: 0 0.45rem 0 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: 0 !important;
}


/* LOCAL PREVIEW ONLY — sidebar CTAs flex-pinned OUTSIDE scrolling nav
   (regression fix 2026-09-19: conflicting position:fixed + last-btn margin-bottom:88px
   made the CTA strip overlap FAQ/Contact and draw a seam through the nav) */
@media (min-width: 992px) {
  body.hc-coos-theme .navbar-hc {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    /* sit flush to bottom — no empty band under CTAs */
    padding-bottom: 0.75rem !important;
    box-sizing: border-box !important;
  }
  body.hc-coos-theme .navbar-hc > .container-fluid {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 0 !important; /* was 9.5rem for fixed CTAs — not needed in-flow */
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  body.hc-coos-theme .sidebar-brand-box {
    flex: 0 0 auto !important;
    margin-bottom: 0.35rem !important;
  }
  body.hc-coos-theme .sidebar-logo {
    max-width: 110px !important;
  }
  body.hc-coos-theme .sidebar-title {
    font-size: 1.12rem !important;
  }
  body.hc-coos-theme .navbar-hc .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  body.hc-coos-theme .navbar-hc .navbar-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    gap: 0.35rem !important;
    /* breathing room above CTA strip (sibling below) */
    padding-bottom: 0.65rem !important;
    scrollbar-width: thin;
  }
  body.hc-coos-theme .navbar-hc .navbar-nav .nav-link {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 0.55rem 0.75rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.01em;
  }
  body.hc-coos-theme .navbar-hc .navbar-nav .nav-link i {
    font-size: 1.05rem !important;
  }

/* LOCAL PREVIEW ONLY — Coo Map active: same weight as other links, quiet gold cue */
body.hc-coos-theme .navbar-hc .navbar-nav .nav-link.active {
  font-weight: 600 !important;
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 3px 0 0 var(--hc-gold, #C9A227);
}
body.hc-coos-theme .navbar-hc .navbar-nav .nav-link.active i {
  font-weight: normal !important;
  -webkit-text-stroke: 0 !important;
}

  /* CTA strip: in-flow sibling under nav, pinned to bottom of flex column */
  body.hc-coos-theme #hc-coos-sidebar-ctas,
  body.hc-coos-theme .navbar-hc .sidebar-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0.35rem 0 0 !important;
    padding: 0.55rem 0.15rem 0.35rem !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    background: linear-gradient(180deg, rgba(10, 31, 61, 0.08) 0%, rgba(10, 31, 61, 0.55) 28%, rgba(10, 31, 61, 0.92) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.22) !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas .sidebar-dual-book {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn,
  body.hc-coos-theme #hc-coos-sidebar-ctas a.btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 2.15rem !important;
    margin: 0 !important;
    padding: 0.4rem 0.55rem !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    border-radius: 0.35rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas a.btn:last-child {
    margin-bottom: 0 !important; /* undo prior 88px emergency pad that caused overlap */
  }
  /* Book Now — brand gold gradient */
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-book {
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    color: #fff !important;
    background-color: var(--hc-gold, #C9A227) !important;
    background-image: linear-gradient(
      180deg,
      var(--hc-gold-bright, #D4AF37) 0%,
      var(--hc-gold, #C9A227) 48%,
      var(--hc-gold-deep, #A8841A) 100%
    ) !important;
    border: 1px solid var(--hc-gold-deep, #A8841A) !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 4px 14px rgba(201, 162, 39, 0.45) !important;
    text-shadow: 0 1px 1px rgba(10, 31, 61, 0.45), 0 0 1px rgba(10, 31, 61, 0.35) !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-book i { color: #fff !important; }
  /* Phone + Tyre — navy tiles */
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-sidebar-phone,
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-book-service {
    color: #fff !important;
    background-image: linear-gradient(
      180deg,
      #163a5c 0%,
      var(--hc-navy, #0A1F3D) 45%,
      var(--hc-navy-dark, #071628) 100%
    ) !important;
    background-color: var(--hc-navy, #0A1F3D) !important;
    border: 2px solid #fff !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22) inset,
      0 4px 12px rgba(0, 0, 0, 0.35) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25) !important;
    text-transform: none !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-sidebar-phone i,
  body.hc-coos-theme #hc-coos-sidebar-ctas .btn-book-service i { color: #fff !important; }
}

/* Mobile / narrow: keep CTAs visible in collapse, never fixed-over-content */
body.hc-coos-theme #hc-coos-sidebar-ctas {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 991.98px) {
  body.hc-coos-theme #hc-coos-sidebar-ctas,
  body.hc-coos-theme .navbar-hc .sidebar-footer {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0.75rem 0 0 !important;
    padding: 0.65rem 0 0.25rem !important;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
  }
  body.hc-coos-theme #hc-coos-sidebar-ctas a.btn:last-child {
    margin-bottom: 0 !important;
  }
}

/* === Place card photos (local preview) === */
.hc-coo-list .place-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

.hc-coo-list .place-panel .place-body {
  flex: 1 1 auto;
}

.hc-coo-list .place-photo {
  margin: 0;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  max-height: 160px;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  background: #1a2438;
  border-radius: 0; /* flush into panel — panel clips outer radius */
  position: relative;
}

.hc-coo-list .place-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.hc-coos-theme .hc-coo-list .place-panel {
  box-shadow: 0 10px 28px rgba(42, 26, 20, 0.14);
  border: 1px solid rgba(166, 124, 45, 0.28);
}

body.hc-coos-theme .hc-coo-list .place-photo {
  border-top-color: rgba(201, 162, 39, 0.42);
}



/* LOCAL PREVIEW ONLY — Did you know? fun facts (colour + cartoon + light play) */
.hc-didyouknow {
  margin: 2rem 0 2.5rem;
  padding: 1.35rem 1.15rem 1.5rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 50% at 92% 80%, rgba(0, 94, 184, 0.1), transparent 50%),
    linear-gradient(165deg, rgba(255, 248, 240, 0.95), rgba(244, 239, 230, 0.88));
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 12px 32px rgba(42, 26, 20, 0.08);
}

.hc-didyouknow-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.hc-didyouknow-titles {
  flex: 1 1 16rem;
  max-width: 34rem;
  text-align: center;
}

.hc-dyk-kicker {
  display: inline-block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b3a5c;
  background: rgba(107, 58, 92, 0.1);
  border: 1px solid rgba(107, 58, 92, 0.22);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.hc-didyouknow .section-title-wrap h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hc-didyouknow-coo {
  position: relative;
  flex: 0 0 auto;
  width: clamp(5.5rem, 14vw, 7.25rem);
  height: clamp(5.5rem, 14vw, 7.25rem);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.hc-didyouknow-coo:hover,
.hc-didyouknow-coo:focus-visible {
  transform: scale(1.06) rotate(-3deg);
  outline: none;
}

.hc-didyouknow-coo:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.55);
}

.hc-dyk-coo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 0.2s ease;
  filter: drop-shadow(0 6px 12px rgba(42, 26, 20, 0.18));
}

.hc-dyk-coo-img.is-open { opacity: 0; }
.hc-didyouknow-coo.is-chewing .hc-dyk-coo-img.is-closed { opacity: 0; }
.hc-didyouknow-coo.is-chewing .hc-dyk-coo-img.is-open { opacity: 1; }

.hc-dyk-coo-hint {
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hc-navy, #0A1F3D);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10, 31, 61, 0.25);
  opacity: 0.92;
}

.hc-fact-card {
  position: relative;
  height: 100%;
  padding: 1.35rem 1.15rem 1.25rem 1.2rem;
  background: #fffdf9;
  border: 1px solid rgba(166, 124, 45, 0.22);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(42, 26, 20, 0.08);
  border-left: 5px solid #c9a227;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.hc-fact-card::after {
  content: '';
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.07;
  pointer-events: none;
}

.hc-fact-card:hover,
.hc-fact-card:focus-visible {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 14px 30px rgba(42, 26, 20, 0.14);
  outline: none;
}

.hc-fact-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1.15rem;
  line-height: 1;
  border-radius: 0.65rem;
  margin-bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(10, 31, 61, 0.08);
  box-shadow: 0 2px 6px rgba(42, 26, 20, 0.06);
}

.hc-fact-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--hc-navy, #0A1F3D);
  margin: 0.1rem 0 0.5rem;
  padding-right: 2.6rem;
  line-height: 1.25;
}

.hc-fact-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #3a4654;
}

.hc-fact-card em {
  font-style: italic;
  color: var(--hc-navy, #0A1F3D);
}

.hc-fact-num {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--hc-navy, #0A1F3D);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.hc-fact-card--rain {
  border-left-color: #3d6e9c;
  background: linear-gradient(155deg, #f4f8fc 0%, #eef4fa 100%);
  color: #3d6e9c;
}
.hc-fact-card--rain .hc-fact-num { background: #3d6e9c; }

.hc-fact-card--paint {
  border-left-color: #c4783a;
  background: linear-gradient(155deg, #fff8f1 0%, #fceede 100%);
  color: #c4783a;
}
.hc-fact-card--paint .hc-fact-num { background: #c4783a; }

.hc-fact-card--horn {
  border-left-color: #6b3a5c;
  background: linear-gradient(155deg, #faf4f8 0%, #f3e8ef 100%);
  color: #6b3a5c;
}
.hc-fact-card--horn .hc-fact-num { background: #6b3a5c; }

.hc-fact-card--fringe {
  border-left-color: #3d5c45;
  background: linear-gradient(155deg, #f3f7f3 0%, #e7efe8 100%);
  color: #3d5c45;
}
.hc-fact-card--fringe .hc-fact-num { background: #3d5c45; }

.hc-fact-card--crown {
  border-left-color: #0A1F3D;
  background: linear-gradient(155deg, #f2f5fa 0%, #e6ecf5 100%);
  color: #0A1F3D;
}
.hc-fact-card--crown .hc-fact-num { background: #0A1F3D; }

.hc-fact-card--heart {
  border-left-color: #c9a227;
  background: linear-gradient(155deg, #fffbeb 0%, #f7efd2 100%);
  color: #a67c2d;
}
.hc-fact-card--heart .hc-fact-num { background: #a67c2d; }

@media (max-width: 575.98px) {
  .hc-didyouknow { padding: 1.1rem 0.85rem 1.25rem; }
  .hc-didyouknow-coo { width: 5rem; height: 5rem; }
}



/* LOCAL PREVIEW ONLY — no scotland-hero peek between sections (was the “image band”) */
body.hc-coos-theme {
  background-color: #f4efe6 !important;
}
body.hc-coos-theme::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
body.hc-coos-theme .main-wrapper {
  background-color: #f4efe6;
}

/* LOCAL PREVIEW ONLY — wispy grass divider between coos sections
   Full-bleed cream band so scotland-hero never shows through gaps;
   spacious air matches other section dividers. */
.hc-coos-grass-band {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(0.85rem, 2vw, 1.35rem) 1rem;
  background: #f4efe6;
  box-sizing: border-box;
}

.hc-coos-grass-sep {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
}

.hc-grass-svg {
  display: block;
  width: 8.5rem;
  height: 2rem;
  overflow: visible;
}

.hc-grass-blade {
  fill: #5a7a52;
  opacity: 0.72;
}

.hc-grass-blade--a { fill: #6b8f62; opacity: 0.55; }
.hc-grass-blade--b { fill: #4e6b47; opacity: 0.78; }
.hc-grass-blade--c { fill: #7a9a6e; opacity: 0.5; }
.hc-grass-blade--d { fill: #556f4c; opacity: 0.7; }
.hc-grass-blade--e { fill: #6d8a64; opacity: 0.58; }

.hc-grass-stem {
  stroke: rgba(90, 122, 82, 0.35);
  stroke-width: 1.1;
}

body.hc-coos-theme .hc-coos-grass-band {
  background: #f4efe6;
}
body.hc-coos-theme .hc-coos-grass-sep {
  margin: 0 auto;
}


/* LOCAL PREVIEW ONLY — restore normal content column (undo full-bleed regression) */
body.hc-coos-theme .main-wrapper > section > .container,
body.hc-coos-theme .main-wrapper > .container {
  max-width: 1140px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: max(1rem, var(--bs-gutter-x, 0.75rem)) !important;
  padding-right: max(1rem, var(--bs-gutter-x, 0.75rem)) !important;
  box-sizing: border-box !important;
}
/* If an old :has full-bleed rule is cached, override it hard */
body.hc-coos-theme .container:has(> .hc-coos-grass-sep) {
  max-width: 1140px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: max(1rem, var(--bs-gutter-x, 0.75rem)) !important;
  padding-right: max(1rem, var(--bs-gutter-x, 0.75rem)) !important;
  background: transparent !important;
}
body.hc-coos-theme .container:has(> .hc-coos-grass-sep) > .hc-coos-grass-sep {
  padding: 0.5rem 0 !important;
  margin: 0.75rem auto !important;
}
/* Grass band between sections stays full-bleed cream only — not content cards */
body.hc-coos-theme .hc-coos-grass-band {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* removed: .container:has(> .hc-coos-grass-sep) full-bleed — broke Places/Did you know column width */



/* LOCAL PREVIEW ONLY — Did you know scroll pop-up coo (one-shot) */
.hc-dyk-popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  padding: 0 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  visibility: hidden;
  opacity: 0;
}

.hc-dyk-popup.is-on {
  visibility: visible;
  opacity: 1;
}

.hc-dyk-popup-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(0, calc(100% + 2.5rem), 0);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.18, 0.9, 0.28, 1.08),
    opacity 0.35s ease;
  will-change: transform, opacity;
}

.hc-dyk-popup.is-in .hc-dyk-popup-inner {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.hc-dyk-popup.is-out .hc-dyk-popup-inner {
  transform: translate3d(0, calc(100% + 3rem), 0);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.55, 0.05, 0.85, 0.25),
    opacity 0.35s ease;
}

.hc-dyk-popup-coo {
  width: min(42vw, 17rem);
  height: auto;
  max-height: 42vh;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(42, 26, 20, 0.35));
  user-select: none;
}

.hc-dyk-bubble {
  position: relative;
  margin: 0 0 0.65rem;
  max-width: min(16rem, 78vw);
  padding: 0.7rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--hc-navy, #0A1F3D);
  text-align: center;
  background: #fffdf8;
  border: 2px solid rgba(201, 162, 39, 0.65);
  border-radius: 1.1rem;
  box-shadow: 0 10px 24px rgba(10, 31, 61, 0.18);
}

.hc-dyk-bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  transform: translateX(-50%);
  border-width: 0.55rem 0.55rem 0;
  border-style: solid;
  border-color: #fffdf8 transparent transparent;
  filter: drop-shadow(0 2px 0 rgba(201, 162, 39, 0.45));
}

.hc-dyk-popup audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 575.98px) {
  .hc-dyk-popup-coo {
    width: min(58vw, 13.5rem);
    max-height: 36vh;
  }
}


/* LOCAL PREVIEW ONLY — place card type icon (top-right) */
.hc-coo-list .place-body {
  position: relative;
  padding-right: 2.75rem !important;
}

.hc-coo-list .place-type-icon {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 2.05rem;
  height: 2.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(10, 31, 61, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--hc-navy, #0A1F3D);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.hc-coo-list .place-type-icon .bi-signpost-2-fill { color: #3d6e9c; }
.hc-coo-list .place-type-icon .bi-tree-fill { color: #3d5c45; }
.hc-coo-list .place-type-icon .bi-house-heart-fill { color: #6b3a5c; }


/* LOCAL PREVIEW ONLY — map intro air (layout/map size unchanged) */
body.hc-coos-theme .hc-coos-map-intro {
  margin-bottom: 2rem !important;
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
}
body.hc-coos-theme .hc-coos-map-intro h2 {
  margin-bottom: 0.85rem;
}
body.hc-coos-theme .hc-coos-map-intro .lead-soft {
  margin-bottom: 0.65rem !important;
  line-height: 1.55;
}
body.hc-coos-theme .hc-coos-map-intro .hc-coos-herds-note {
  margin-top: 0.35rem;
}


/* LOCAL PREVIEW ONLY — subtle cream section tabs (beige depth + hairlines) */
.hc-coos-tabs {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.55rem 0.75rem 0.6rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.72) 0%, transparent 42%),
    linear-gradient(180deg, #f5efe4 0%, #f3eadc 100%);
  border-top: 1px solid rgba(166, 124, 45, 0.22);
  border-bottom: 1px solid rgba(166, 124, 45, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 6px 16px rgba(42, 26, 20, 0.06);
}
.hc-coos-tabs-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.hc-coos-tabs-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.hc-coos-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(10, 31, 61, 0.7);
  padding: 0.55rem 2.15rem 0.65rem;
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(166, 124, 45, 0.16);
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hc-coos-tab:last-child {
  border-right: none;
}
.hc-coos-tab i {
  font-size: 0.92rem;
  color: rgba(166, 124, 45, 0.72);
  filter: none;
}
.hc-coos-tab::after {
  content: "";
  position: absolute;
  left: 2.15rem;
  right: 2.15rem;
  bottom: 0.2rem;
  height: 1.5px;
  border-radius: 1px;
  background: transparent;
  transition: background 0.18s ease;
}
.hc-coos-tab:hover,
.hc-coos-tab:focus-visible {
  color: rgba(10, 31, 61, 0.92);
  background: transparent;
  border-color: rgba(166, 124, 45, 0.16);
  outline: none;
  transform: none;
}
.hc-coos-tab:hover::after,
.hc-coos-tab:focus-visible::after {
  background: rgba(166, 124, 45, 0.35);
}
.hc-coos-tab:hover i,
.hc-coos-tab:focus-visible i {
  color: rgba(166, 124, 45, 0.9);
}
.hc-coos-tab.is-active {
  color: #0A1F3D;
  font-weight: 600;
  background: transparent;
  border-color: rgba(166, 124, 45, 0.16);
  box-shadow: none;
}
.hc-coos-tab.is-active::after {
  background: rgba(166, 124, 45, 0.72);
}
.hc-coos-tab.is-active i {
  color: rgba(166, 124, 45, 0.95);
}
#hc-coo-map-section,
#hc-coo-places,
#hc-coo-places-section,
#hc-coo-didyouknow,
#hc-coo-gallery,
#baby-coos {
  scroll-margin-top: 4rem;
}
@media (max-width: 575.98px) {
  .hc-coos-tabs { padding: 0.4rem 0.35rem 0.45rem; }
  .hc-coos-tabs-inner { justify-content: flex-start; }
  .hc-coos-tab { font-size: 0.72rem; padding: 0.48rem 1.55rem 0.58rem; }
  .hc-coos-tab::after { left: 1.55rem; right: 1.55rem; }
  .hc-coos-tab span { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; }
}



/* LOCAL PREVIEW ONLY — place cards → Google Maps directions */
a.place-panel-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
}
a.place-panel-link:hover .place-panel--link,
a.place-panel-link:focus-visible .place-panel--link {
  transform: translateY(-6px);
  box-shadow:
    0 18px 36px rgba(42, 26, 20, 0.22),
    0 0 0 1px rgba(201, 162, 39, 0.55),
    0 0 18px rgba(201, 162, 39, 0.22);
  border-color: rgba(201, 162, 39, 0.75);
  outline: none;
}
a.place-panel-link:hover .place-photo img,
a.place-panel-link:focus-visible .place-photo img {
  filter: brightness(0.88);
  transform: scale(1.02);
}
a.place-panel-link:hover .place-directions-hint,
a.place-panel-link:focus-visible .place-directions-hint {
  background: linear-gradient(135deg, #0f2a4d 0%, #163a66 100%);
  border-color: rgba(227, 197, 106, 0.75);
  box-shadow: 0 4px 12px rgba(10, 31, 61, 0.35);
  color: #fff;
}
a.place-panel-link:hover .place-directions-hint .bi,
a.place-panel-link:focus-visible .place-directions-hint .bi {
  color: #f0d78a;
}
.place-panel--link {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.hc-coo-list .place-photo img {
  transition: filter 0.22s ease, transform 0.35s ease;
}
.place-directions-hint {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 7px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 248, 235, 0.95);
  background: linear-gradient(135deg, rgba(10, 31, 61, 0.88) 0%, rgba(22, 58, 102, 0.88) 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 2px 8px rgba(10, 31, 61, 0.28);
  pointer-events: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.place-directions-hint .bi {
  font-size: 0.7rem;
  color: #e3c56a;
  line-height: 1;
}

/* LOCAL PREVIEW ONLY — coos page footer: phoenix under brand, tight cols, depth */
body.hc-coos-theme footer.site-footer {
  padding: 2.6rem 0 1.4rem !important;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(201, 162, 39, 0.14) 0%, transparent 50%),
    radial-gradient(80% 60% at 88% 100%, rgba(22, 58, 102, 0.55) 0%, transparent 55%),
    linear-gradient(165deg, #102a4a 0%, #0A1F3D 42%, #071526 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -12px 40px rgba(0, 0, 0, 0.18);
}
body.hc-coos-theme footer.site-footer::before {
  height: 2px !important;
  margin: -2.6rem 0 1.7rem !important;
  opacity: 1 !important;
  background-image: none !important;
  background: #C9A227 !important;
  box-shadow: none !important;
}
body.hc-coos-theme footer.site-footer > .container {
  max-width: 1100px !important;
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-row.row.g-4 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-row > [class*="col-"] {
  float: none !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
/* one line: brand | links | contact */
body.hc-coos-theme footer.site-footer .hc-coos-footer-brand {
  flex: 1 1 40% !important;
  max-width: 40% !important;
  width: 40% !important;
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-links {
  flex: 0 0 22% !important;
  max-width: 22% !important;
  width: 22% !important;
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-contact {
  flex: 1 1 36% !important;
  max-width: 36% !important;
  width: 36% !important;
}
@media (max-width: 991.98px) {
  body.hc-coos-theme footer.site-footer .hc-coos-footer-row.row.g-4 {
    flex-wrap: wrap !important;
  }
  body.hc-coos-theme footer.site-footer .hc-coos-footer-brand,
  body.hc-coos-theme footer.site-footer .hc-coos-footer-links,
  body.hc-coos-theme footer.site-footer .hc-coos-footer-contact {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 0.75rem !important;
  }
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-brand,
body.hc-coos-theme footer.site-footer .hc-coos-footer-links,
body.hc-coos-theme footer.site-footer .hc-coos-footer-contact {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  min-height: 100%;
  padding: 1.1rem 1.15rem 1.15rem !important;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* phoenix stays under brand copy, pinned toward bottom of left panel */

body.hc-coos-theme footer.site-footer .hc-coos-footer-extra {
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  margin: 0 0 1rem !important;
  max-width: none;
  color: #b8c6d4 !important;
  font-style: italic;
}

body.hc-coos-theme footer.site-footer .hc-coos-footer-phoenix.phoenix-footer-brand {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  align-self: flex-start !important;
  margin: auto 0 0 !important;
  font-size: 0.8rem !important;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)) !important;
  border: 2px solid #9B111E !important;
  border-color: #9B111E !important;
  outline: 1px solid rgba(155, 17, 30, 0.55);
  outline-offset: 0;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
body.hc-coos-theme footer.site-footer h5 {
  font-size: 1.05rem !important;
  margin-bottom: 0.85rem !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
body.hc-coos-theme footer.site-footer .d-flex.align-items-center.gap-2.mb-3 {
  margin-bottom: 0.75rem !important;
  gap: 0.65rem !important;
}
body.hc-coos-theme footer.site-footer img[alt*="logo"] {
  height: 40px !important;
  width: auto !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
body.hc-coos-theme footer.site-footer p {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.85rem !important;
  max-width: none;
  color: #cfd9e2 !important;
}
body.hc-coos-theme footer.site-footer .hc-coos-footer-phoenix .phoenix-icon {
  width: 34px !important;
  height: 34px !important;
  max-height: 34px !important;
}

body.hc-coos-theme footer.site-footer .phoenix-footer-brand.hc-coos-footer-phoenix strong,
body.hc-coos-theme footer.site-footer .hc-coos-footer-phoenix strong {
  color: var(--hc-gold, #C9A227) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.hc-coos-theme footer.site-footer .list-unstyled {
  margin-bottom: 0 !important;
}
body.hc-coos-theme footer.site-footer .list-unstyled li {
  margin-bottom: 0.4rem !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}
body.hc-coos-theme footer.site-footer .list-unstyled a {
  font-size: inherit !important;
}
body.hc-coos-theme footer.site-footer .list-unstyled a:hover {
  color: #e3c56a !important;
}
body.hc-coos-theme footer.site-footer .footer-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem !important;
}
body.hc-coos-theme footer.site-footer .footer-facts li i {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05em;
  margin-right: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem !important;
  color: #dce6ef !important;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.4rem;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
body.hc-coos-theme footer.site-footer .footer-facts .me-2 {
  margin-right: 0 !important;
}
body.hc-coos-theme footer.site-footer .list-unstyled .small,
body.hc-coos-theme footer.site-footer .small {
  font-size: 0.85rem !important;
}
body.hc-coos-theme footer.site-footer .footer-bottom {
  margin-top: 1.35rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
body.hc-coos-theme footer.site-footer .footer-copy {
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  color: #9aadb8 !important;
}
