.hanly-map-card-wrap {
  --hmc-height: 560px;
  --hmc-card-bg: rgba(18, 18, 18, 0.72);
  --hmc-card-color: #ffffff;
  --hmc-accent: #c4933a;
  --hmc-card-radius: 18px;
  --hmc-card-blur: 14px;
  --hmc-card-border: rgba(255,255,255,.14);
  --hmc-card-shadow: 0 24px 70px rgba(0,0,0,.34);
  --hc-map-detail-color: rgba(255,255,255,.86);
  position: relative;
  min-height: var(--hmc-height);
  overflow: hidden;
  background: #111;
}

.hanly-map-card-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hanly-map-card-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #181818, #2a2a2a);
  text-align: center;
}

.hanly-map-card-pulse {
  position: absolute;
  left: var(--hmc-pin-x, 50%);
  top: var(--hmc-pin-y, 50%);
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background: var(--hmc-accent);
  border-radius: 999px;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 0 10px rgba(196,147,58,.25);
}

.hanly-map-card-pulse::before,
.hanly-map-card-pulse::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px solid var(--hmc-accent);
  border-radius: 999px;
  opacity: .55;
  animation: hmcPulse 2.4s ease-out infinite;
}

.hanly-map-card-pulse::after {
  animation-delay: 1.2s;
}

@keyframes hmcPulse {
  0% { transform: scale(.65); opacity: .55; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hanly-map-card-panel {
  position: absolute;
  z-index: 5;
  width: min(var(--hmc-panel-width, 440px), calc(100% - 40px));
  color: var(--hmc-card-color);
}

.hanly-map-card-panel-inner {
  color: var(--hmc-card-color);
  background: var(--hmc-card-bg);
  border: 1px solid var(--hmc-card-border);
  border-radius: var(--hmc-card-radius);
  box-shadow: var(--hmc-card-shadow);
  padding: 34px;
  backdrop-filter: blur(var(--hmc-card-blur));
  -webkit-backdrop-filter: blur(var(--hmc-card-blur));
  will-change: transform, opacity;
}

.hmc-anim-left .hanly-map-card-panel-inner { animation: hmcSlideLeft .78s cubic-bezier(.2,.8,.2,1) both; }
.hmc-anim-right .hanly-map-card-panel-inner { animation: hmcSlideRight .78s cubic-bezier(.2,.8,.2,1) both; }
.hmc-anim-bottom .hanly-map-card-panel-inner { animation: hmcSlideBottom .78s cubic-bezier(.2,.8,.2,1) both; }

@keyframes hmcSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes hmcSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes hmcSlideBottom {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

.hmc-pos-left-center { left: 9%; top: 50%; transform: translateY(-50%); }
.hmc-pos-left-bottom { left: 9%; bottom: 9%; }
.hmc-pos-right-center { right: 9%; top: 50%; transform: translateY(-50%); }
.hmc-pos-right-bottom { right: 9%; bottom: 9%; }
.hmc-pos-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }

.hanly-map-card-eyebrow {
  color: var(--hmc-accent);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 14px;
}

.hanly-map-card-title {
  color: inherit;
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.hanly-map-card-details {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--hc-map-detail-color, rgba(255,255,255,.86));
  font-size: 15px;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hanly-map-card-detail strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
}

.hanly-map-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.hanly-map-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 0;
  border: 1px solid var(--hmc-accent);
  background: var(--hmc-accent);
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 12px;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.hanly-map-card-button:hover,
.hanly-map-card-button:focus {
  transform: translateY(-2px);
  color: #111;
}

.hanly-map-card-button.is-secondary {
  background: transparent;
  color: #fff;
}

.hanly-map-card-button.is-secondary:hover,
.hanly-map-card-button.is-secondary:focus {
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 767px) {
  .hanly-map-card-wrap { min-height: calc(var(--hmc-height) * .85); }
  .hanly-map-card-panel {
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    top: auto !important;
    transform: none !important;
    width: auto;
  }
  .hanly-map-card-panel-inner { padding: 24px; }
  .hanly-map-card-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hanly-map-card-panel-inner,
  .hanly-map-card-pulse::before,
  .hanly-map-card-pulse::after {
    animation: none !important;
  }
}

/* 0.1.2 marker + CTA refinements */
.hanly-map-card-wrap {
  --hmc-marker-size: 24px;
  --hmc-pulse-size: 88px;
  --hmc-pulse-speed: 2.4s;
  --hmc-marker-fill: var(--hmc-accent);
  --hmc-marker-border: #ffffff;
  --hmc-marker-icon: #ffffff;
  --hmc-marker-border-width: 2px;
  --hmc-marker-shadow-color: #000000;
  --hmc-marker-shadow-opacity: .28;
  --hmc-marker-shadow-blur: 18px;
  --hmc-pulse-color: var(--hmc-accent);
  --hmc-pulse-opacity: .42;
  --hmc-pulse-ring-width: 2px;
  --hmc-row-gap: 12px;
  --hmc-contact-icon-size: 18px;
  --hmc-contact-icon-color: var(--hmc-accent);
  --hmc-contact-icon-gap: 12px;
  --hmc-contact-row-align: start;
  --hmc-button-bg: var(--hmc-accent);
  --hmc-button-text: #111111;
  --hmc-button-border: var(--hmc-accent);
  --hmc-button-bg-hover: #ffffff;
  --hmc-button-text-hover: #111111;
  --hmc-button-border-hover: #ffffff;
  --hmc-button-radius: 0px;
}

.hanly-map-card-marker {
  position: absolute;
  left: var(--hmc-pin-x, 50%);
  top: var(--hmc-pin-y, 50%);
  width: var(--hmc-marker-size);
  height: var(--hmc-marker-size);
  transform: translate(var(--hmc-anchor-x-offset, -50%), var(--hmc-anchor-y-offset, -50%));
  z-index: 4;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.hanly-map-card-marker.hmc-marker-pop {
  animation: hmcMarkerPop .72s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .18s;
}

@keyframes hmcMarkerPop {
  0% { opacity: 0; transform: translate(var(--hmc-anchor-x-offset, -50%), var(--hmc-anchor-y-offset, -50%)) scale(.72); }
  62% { opacity: 1; transform: translate(var(--hmc-anchor-x-offset, -50%), var(--hmc-anchor-y-offset, -50%)) scale(1.08); }
  100% { opacity: 1; transform: translate(var(--hmc-anchor-x-offset, -50%), var(--hmc-anchor-y-offset, -50%)) scale(1); }
}

.hanly-map-card-marker .hanly-map-card-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  width: var(--hmc-marker-size);
  height: var(--hmc-marker-size);
  transform: translate(-50%, -50%);
  background: var(--hmc-pulse-color);
  border-radius: 999px;
  box-shadow: 0 0 0 calc(var(--hmc-marker-size) * .45) color-mix(in srgb, var(--hmc-pulse-color) 22%, transparent);
}

.hanly-map-card-marker .hanly-map-card-pulse::before,
.hanly-map-card-marker .hanly-map-card-pulse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hmc-pulse-size);
  height: var(--hmc-pulse-size);
  border: var(--hmc-pulse-ring-width) solid var(--hmc-pulse-color);
  border-radius: 999px;
  opacity: var(--hmc-pulse-opacity);
  transform: translate(-50%, -50%) scale(.35);
  animation: hmcMarkerPulse var(--hmc-pulse-speed) ease-out infinite;
}

.hanly-map-card-marker .hanly-map-card-pulse::after {
  animation-delay: calc(var(--hmc-pulse-speed) / 2);
}

@keyframes hmcMarkerPulse {
  0% { transform: translate(-50%, -50%) scale(.35); opacity: var(--hmc-pulse-opacity); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.hanly-map-card-marker-dot {
  position: relative;
  width: calc(var(--hmc-marker-size) * .62);
  height: calc(var(--hmc-marker-size) * .62);
  border-radius: 999px;
  background: var(--hmc-marker-fill);
  border: var(--hmc-marker-border-width) solid var(--hmc-marker-border);
  box-shadow: 0 8px var(--hmc-marker-shadow-blur) rgba(0,0,0,.28);
  box-shadow: 0 8px var(--hmc-marker-shadow-blur) rgb(from var(--hmc-marker-shadow-color) r g b / var(--hmc-marker-shadow-opacity));
  z-index: 2;
}

.hanly-map-card-marker-image {
  position: relative;
  width: var(--hmc-svg-width, var(--hmc-marker-size));
  height: var(--hmc-marker-size);
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 8px var(--hmc-marker-shadow-blur) rgba(0,0,0,.28));
  filter: drop-shadow(0 8px var(--hmc-marker-shadow-blur) rgb(from var(--hmc-marker-shadow-color) r g b / var(--hmc-marker-shadow-opacity)));
}

.hanly-map-card-marker-image.hmc-svg-preserve-aspect {
  height: auto;
  max-height: var(--hmc-marker-size);
}

.hanly-map-card-marker-svg-mask {
  position: relative;
  z-index: 3;
  display: block;
  width: var(--hmc-svg-width, var(--hmc-marker-size));
  height: var(--hmc-marker-size);
  background: var(--hmc-marker-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 8px var(--hmc-marker-shadow-blur) rgba(0,0,0,.28));
  filter: drop-shadow(0 8px var(--hmc-marker-shadow-blur) rgb(from var(--hmc-marker-shadow-color) r g b / var(--hmc-marker-shadow-opacity)));
}

.hmc-marker-glyph {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--hmc-marker-size);
  height: var(--hmc-marker-size);
  color: var(--hmc-marker-icon);
  background: var(--hmc-marker-fill);
  border: var(--hmc-marker-border-width) solid var(--hmc-marker-border);
  border-radius: 999px;
  box-shadow: 0 8px var(--hmc-marker-shadow-blur) rgba(0,0,0,.28);
  box-shadow: 0 8px var(--hmc-marker-shadow-blur) rgb(from var(--hmc-marker-shadow-color) r g b / var(--hmc-marker-shadow-opacity));
}

.hmc-marker-glyph svg {
  display: block;
  width: 62%;
  height: 62%;
  overflow: visible;
  fill: currentColor;
}

.hmc-marker-ring .hmc-marker-glyph,
.hmc-marker-location_circle .hmc-marker-glyph {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.hmc-marker-glyph--dot::before {
  content: "";
  width: 62%;
  height: 62%;
  border-radius: 999px;
  background: var(--hmc-marker-fill);
}

.hanly-map-card-actions.hmc-buttons-full,
.hanly-map-card-actions.hmc-buttons-full .hanly-map-card-button {
  width: 100%;
}

.hanly-map-card-button {
  border-radius: var(--hmc-button-radius);
  border-color: var(--hmc-button-border);
  background: var(--hmc-button-bg);
  color: var(--hmc-button-text);
  gap: .65em;
}

.hanly-map-card-button::after {
  content: "";
  display: none;
  width: .55em;
  height: .55em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .22s ease;
}

.hmc-button-motion-arrow-slide .hanly-map-card-button::after { display: inline-block; }
.hmc-button-motion-arrow-slide .hanly-map-card-button:hover::after,
.hmc-button-motion-arrow-slide .hanly-map-card-button:focus::after { transform: translateX(4px) rotate(45deg); }

.hanly-map-card-button:hover,
.hanly-map-card-button:focus {
  background: var(--hmc-button-bg-hover);
  color: var(--hmc-button-text-hover);
  border-color: var(--hmc-button-border-hover);
}

.hmc-button-motion-none .hanly-map-card-button:hover,
.hmc-button-motion-none .hanly-map-card-button:focus { transform: none; }
.hmc-button-motion-lift .hanly-map-card-button:hover,
.hmc-button-motion-lift .hanly-map-card-button:focus { transform: translateY(-2px); }
.hmc-button-motion-soft-scale .hanly-map-card-button:hover,
.hmc-button-motion-soft-scale .hanly-map-card-button:focus { transform: scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  .hanly-map-card-marker,
  .hanly-map-card-marker .hanly-map-card-pulse::before,
  .hanly-map-card-marker .hanly-map-card-pulse::after {
    animation: none !important;
  }
}

/* 0.1.4: map-ready entrance timing + stronger custom marker support */
.hanly-map-card-panel-inner {
  animation-delay: var(--hmc-card-delay, 250ms) !important;
}

.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-left .hanly-map-card-panel-inner,
.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-right .hanly-map-card-panel-inner,
.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-bottom .hanly-map-card-panel-inner {
  opacity: 0;
  animation: none !important;
}

.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-left .hanly-map-card-panel-inner { transform: translateX(-36px); }
.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-right .hanly-map-card-panel-inner { transform: translateX(36px); }
.hanly-map-card-wrap:not(.hmc-map-ready) .hmc-anim-bottom .hanly-map-card-panel-inner { transform: translateY(34px); }

.hanly-map-card-wrap.hmc-map-ready .hmc-anim-left .hanly-map-card-panel-inner { animation: hmcSlideLeft .78s cubic-bezier(.2,.8,.2,1) both; }
.hanly-map-card-wrap.hmc-map-ready .hmc-anim-right .hanly-map-card-panel-inner { animation: hmcSlideRight .78s cubic-bezier(.2,.8,.2,1) both; }
.hanly-map-card-wrap.hmc-map-ready .hmc-anim-bottom .hanly-map-card-panel-inner { animation: hmcSlideBottom .78s cubic-bezier(.2,.8,.2,1) both; }

.hmc-map-overlay-marker {
  position: absolute !important;
  width: var(--hmc-marker-size, 24px);
  height: var(--hmc-marker-size, 24px);
  overflow: visible;
}

.hmc-map-overlay-marker.hmc-marker-custom {
  width: calc(var(--hmc-marker-size, 24px) * 1.25);
  height: calc(var(--hmc-marker-size, 24px) * 1.25);
}

.hmc-map-overlay-marker .hanly-map-card-marker-image {
  display: block;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 0.1.5: marker layering + Safari-safe coordinate overlay */
.hanly-map-card-marker {
  overflow: visible;
}

.hanly-map-card-marker .hanly-map-card-pulse {
  z-index: 1;
  pointer-events: none;
}

.hanly-map-card-marker .hanly-map-card-marker-dot,
.hanly-map-card-marker .hanly-map-card-marker-image {
  z-index: 3;
}

.hanly-map-card-marker.hmc-marker-custom .hanly-map-card-pulse {
  background: transparent;
  box-shadow: none;
}

.hanly-map-card-marker.hmc-marker-custom .hanly-map-card-marker-image {
  width: var(--hmc-marker-size, 40px);
  height: var(--hmc-marker-size, 40px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

.hmc-map-overlay-marker {
  position: absolute !important;
  width: var(--hmc-marker-size, 24px) !important;
  height: var(--hmc-marker-size, 24px) !important;
  overflow: visible !important;
  transform: translate(var(--hmc-anchor-x-offset, -50%), var(--hmc-anchor-y-offset, -50%)) !important;
}

.hmc-map-overlay-marker.hmc-marker-custom {
  width: var(--hmc-marker-size, 40px) !important;
  height: var(--hmc-marker-size, 40px) !important;
}

.hmc-map-overlay-marker.hmc-marker-custom .hanly-map-card-pulse {
  z-index: 1;
}

.hmc-map-overlay-marker.hmc-marker-custom .hanly-map-card-marker-image {
  position: relative;
  z-index: 3;
  width: var(--hmc-marker-size, 40px) !important;
  height: var(--hmc-marker-size, 40px) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

/* 0.1.8: responsive card composition controls */
.hanly-map-card-wrap {
  --hmc-card-bg-mobile: var(--hmc-card-bg);
  --hmc-card-blur-mobile: var(--hmc-card-blur);
  --hmc-mobile-inset: 20px;
}

@media (max-width: 767px) {
  .hanly-map-card-wrap { min-height: var(--hmc-height); }

  .hanly-map-card-panel {
    left: var(--hmc-mobile-inset) !important;
    right: var(--hmc-mobile-inset) !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  .hmc-mobile-width-full .hanly-map-card-panel {
    left: 0 !important;
    right: 0 !important;
  }

  .hmc-mobile-width-compact .hanly-map-card-panel {
    left: 50% !important;
    right: auto !important;
    width: min(360px, calc(100% - (var(--hmc-mobile-inset) * 2))) !important;
    transform: translateX(-50%) !important;
  }

  .hmc-mobile-pos-bottom .hanly-map-card-panel {
    top: auto !important;
    bottom: var(--hmc-mobile-inset) !important;
  }

  .hmc-mobile-pos-center .hanly-map-card-panel {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  .hmc-mobile-width-compact.hmc-mobile-pos-center .hanly-map-card-panel {
    transform: translate(-50%, -50%) !important;
  }

  .hmc-mobile-pos-top .hanly-map-card-panel {
    top: var(--hmc-mobile-inset) !important;
    bottom: auto !important;
  }

  .hanly-map-card-panel-inner {
    background: var(--hmc-card-bg-mobile);
    backdrop-filter: blur(var(--hmc-card-blur-mobile));
    -webkit-backdrop-filter: blur(var(--hmc-card-blur-mobile));
  }
}


/* 0.1.9: Map Atmosphere + experimental tilt */
.hanly-map-card-wrap {
  --hmc-map-brightness: 100%;
  --hmc-map-contrast: 100%;
  --hmc-map-saturation: 100%;
  --hmc-map-warmth: 0;
  --hmc-map-fade-height: 0px;
  --hmc-map-fade-strength: 0;
  --hmc-map-vignette: 0;
  --hmc-map-tilt: 0deg;
}

.hanly-map-card-map {
  filter: brightness(var(--hmc-map-brightness)) contrast(var(--hmc-map-contrast)) saturate(var(--hmc-map-saturation));
  transform-origin: center center;
  transition: filter .3s ease;
}

.hanly-map-card-wrap.hmc-map-tilt {
  perspective: 1000px;
}

.hanly-map-card-wrap.hmc-map-tilt .hanly-map-card-map {
  transform: rotateX(var(--hmc-map-tilt)) scale(1.045);
  transform-origin: center bottom;
}

.hanly-map-card-wrap::before,
.hanly-map-card-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hanly-map-card-wrap::before {
  background:
    linear-gradient(135deg,
      rgb(166 112 44 / calc(var(--hmc-map-warmth) * .012)) 0%,
      rgb(196 147 58 / calc(var(--hmc-map-warmth) * .006)) 48%,
      rgb(0 0 0 / 0) 100%
    );
  mix-blend-mode: soft-light;
}

.hanly-map-card-wrap::after {
  background:
    linear-gradient(to top,
      rgb(0 0 0 / calc(var(--hmc-map-fade-strength) * .012)) 0,
      rgb(0 0 0 / calc(var(--hmc-map-fade-strength) * .006)) calc(var(--hmc-map-fade-height) * .45),
      rgb(0 0 0 / 0) var(--hmc-map-fade-height)
    ),
    radial-gradient(circle at center,
      rgb(0 0 0 / 0) 46%,
      rgb(0 0 0 / calc(var(--hmc-map-vignette) * .01)) 100%
    );
}

.hanly-map-card-panel,
.hanly-map-card-marker,
.hmc-map-overlay-marker {
  z-index: 5;
}

.hanly-map-card-panel { z-index: 8; }


/* 0.2.0: Destination CTA hierarchy + fixed atmosphere alpha controls */
.hanly-map-card-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hanly-map-card-actions.hmc-buttons-full .hanly-map-card-button:not(.is-secondary) {
  width: 100%;
}

.hanly-map-card-actions.hmc-secondary-text_arrow .hanly-map-card-button.is-secondary {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--hmc-secondary-text, #ffffff);
  letter-spacing: .14em;
  box-shadow: none;
}

.hanly-map-card-actions.hmc-secondary-text_arrow .hanly-map-card-button.is-secondary:hover,
.hanly-map-card-actions.hmc-secondary-text_arrow .hanly-map-card-button.is-secondary:focus {
  background: transparent;
  color: var(--hmc-secondary-text-hover, var(--hmc-accent));
  transform: none;
}

.hanly-map-card-button.is-secondary .hmc-secondary-arrow {
  display: inline-block;
  margin-left: .35em;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
  opacity: .9;
}

.hanly-map-card-button.is-secondary:hover .hmc-secondary-arrow,
.hanly-map-card-button.is-secondary:focus .hmc-secondary-arrow {
  transform: translateX(6px);
  opacity: 1;
}

.hanly-map-card-actions.hmc-secondary-outline .hanly-map-card-button.is-secondary {
  background: transparent;
  color: var(--hmc-secondary-text, #ffffff);
  border-color: var(--hmc-accent);
}

.hanly-map-card-actions.hmc-secondary-outline .hanly-map-card-button.is-secondary:hover,
.hanly-map-card-actions.hmc-secondary-outline .hanly-map-card-button.is-secondary:focus {
  color: var(--hmc-secondary-text-hover, var(--hmc-accent));
  border-color: var(--hmc-secondary-text-hover, var(--hmc-accent));
  background: rgb(255 255 255 / .045);
}

/* 0.2.1: Contact Mode */
.hanly-map-card-wrap.hmc-mode-contact .hanly-map-card-panel-inner {
  padding: 36px;
  background: var(--hmc-contact-card-bg, var(--hmc-card-bg));
  border-color: var(--hmc-contact-card-border, var(--hmc-card-border));
}

.hanly-map-card-wrap.hmc-mode-contact .hanly-map-card-title {
  color: var(--hmc-contact-heading-color, var(--hmc-card-color));
}

.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hanly-map-card-panel {
  left: 50%;
  right: auto;
}

.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hmc-pos-left-center,
.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hmc-pos-right-center,
.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hmc-pos-center {
  transform: translate(-50%, -50%);
}

.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hmc-pos-left-bottom,
.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-center .hmc-pos-right-bottom {
  transform: translateX(-50%);
}

.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-right .hanly-map-card-panel {
  left: auto;
  right: 9%;
}

.hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-left .hanly-map-card-panel {
  left: 9%;
  right: auto;
}

.hanly-map-card-wrap.hmc-mode-contact .hanly-map-card-title {
  margin-bottom: 24px;
}

.hmc-contact-rows {
  gap: var(--hmc-row-gap);
}

.hmc-contact-row {
  display: grid;
  grid-template-columns: var(--hmc-contact-icon-size) minmax(0, 1fr);
  gap: var(--hmc-contact-icon-gap);
  align-items: var(--hmc-contact-row-align);
}

.hmc-contact-row--no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.hmc-contact-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--hmc-contact-icon-size);
  min-height: 1.45em;
  color: var(--hmc-contact-icon-color);
  font-size: var(--hmc-contact-icon-size);
  line-height: 1;
}

.hmc-contact-row__icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.hmc-contact-row__content,
.hmc-contact-row__link {
  min-width: 0;
  color: var(--hmc-contact-value-color, var(--hc-map-detail-color, inherit));
  text-decoration: none;
}

.hmc-contact-row__content {
  display: grid;
  gap: 2px;
}

.hmc-contact-row__link {
  display: block;
  color: var(--hmc-contact-link-color, var(--hmc-contact-value-color, var(--hc-map-detail-color, inherit)));
}

.hmc-contact-row__link:hover,
.hmc-contact-row__link:focus {
  color: var(--hmc-contact-link-hover-color, #fff);
}

.hmc-contact-row strong {
  color: var(--hmc-contact-label-color, var(--hmc-card-color, #fff));
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}

.hmc-custom-text {
  color: var(--hmc-custom-text-color, var(--hmc-contact-value-color, var(--hc-map-detail-color, inherit)));
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hmc-custom-text > :first-child {
  margin-top: 0;
}

.hmc-custom-text > :last-child {
  margin-bottom: 0;
}

.hmc-custom-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.hmc-custom-text a:hover,
.hmc-custom-text a:focus {
  color: var(--hmc-accent);
}

.hmc-button-icon,
.hmc-social-link svg {
  display: inline-flex;
  width: 1em;
  height: 1em;
}

.hmc-button-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.hmc-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hmc-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.hmc-social-link:hover,
.hmc-social-link:focus {
  color: var(--hmc-accent);
  transform: translateY(-1px);
}

.hmc-card-align-center .hanly-map-card-panel-inner {
  text-align: center;
}

.hmc-card-align-center .hmc-contact-row {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hmc-card-align-center .hanly-map-card-actions,
.hmc-card-align-center .hmc-social-links {
  align-items: center;
  justify-content: center;
}

.hmc-card-align-right .hanly-map-card-panel-inner {
  text-align: right;
}

.hmc-card-align-right .hmc-contact-row {
  grid-template-columns: minmax(0, 1fr) var(--hmc-contact-icon-size);
}

.hmc-card-align-right .hmc-contact-row--no-icon {
  grid-template-columns: minmax(0, 1fr);
}

.hmc-card-align-right .hmc-contact-row__icon {
  grid-column: 2;
  grid-row: 1;
}

.hmc-card-align-right .hmc-contact-row__content,
.hmc-card-align-right .hmc-contact-row__link {
  grid-column: 1;
  grid-row: 1;
}

.hmc-card-align-right .hanly-map-card-actions,
.hmc-card-align-right .hmc-social-links {
  align-items: flex-end;
  justify-content: flex-end;
}

/* Coordinated light hospitality/editorial themes. */
.hanly-map-card-wrap.hmc-theme-light {
  background: #f3efe5;
}

.hmc-theme-light .hanly-map-card-panel-inner {
  padding: 34px;
}

.hmc-theme-light .hanly-map-card-eyebrow {
  color: var(--hmc-accent);
  letter-spacing: .22em;
}

.hmc-theme-light .hanly-map-card-title {
  color: var(--hmc-contact-heading-color, var(--hmc-card-color));
  text-transform: none;
}

.hmc-theme-light .hmc-social-link {
  color: var(--hc-map-detail-color);
}

.hmc-theme-light .hanly-map-card-detail strong,
.hmc-theme-light .hmc-contact-row strong {
  color: var(--hmc-contact-label-color, var(--hmc-card-color));
}

.hmc-theme-light .hmc-contact-row__link:hover,
.hmc-theme-light .hmc-contact-row__link:focus {
  color: var(--hmc-contact-link-hover-color, var(--hmc-accent));
}

.hmc-theme-light .hmc-social-link:hover,
.hmc-theme-light .hmc-social-link:focus {
  color: var(--hmc-accent);
}

.hmc-theme-light .hanly-map-card-button:focus-visible,
.hmc-theme-light .hmc-contact-row__link:focus-visible,
.hmc-theme-light .hmc-social-link:focus-visible {
  outline: 3px solid var(--hmc-accent);
  outline: 3px solid color-mix(in srgb, var(--hmc-accent) 42%, white);
  outline-offset: 3px;
}

.hmc-theme-light .hanly-map-card-button {
  text-transform: none;
  letter-spacing: .04em;
}

.hmc-theme-light .hanly-map-card-fallback {
  color: #30372f;
  background: linear-gradient(135deg, #f3efe5, #e7e3d8);
}

@media (max-width: 767px) {
  .hanly-map-card-wrap.hmc-theme-light .hanly-map-card-panel-inner {
    padding: 24px;
  }

  .hanly-map-card-wrap.hmc-theme-light .hanly-map-card-button {
    min-height: 48px;
  }
}

/* Final marker overrides keep custom SVG sizing independent from legacy images. */
.hmc-map-overlay-marker.hmc-marker-custom_svg,
.hanly-map-card-marker.hmc-marker-custom_svg {
  width: var(--hmc-marker-size, 24px) !important;
  height: var(--hmc-marker-size, 24px) !important;
}

.hmc-map-overlay-marker.hmc-marker-custom_svg .hanly-map-card-marker-image,
.hanly-map-card-marker.hmc-marker-custom_svg .hanly-map-card-marker-image {
  width: var(--hmc-svg-width, var(--hmc-marker-size)) !important;
  height: var(--hmc-marker-size) !important;
  max-width: none !important;
  max-height: var(--hmc-marker-size) !important;
  object-fit: contain;
}

.hmc-map-overlay-marker.hmc-marker-custom_svg .hanly-map-card-marker-image.hmc-svg-preserve-aspect,
.hanly-map-card-marker.hmc-marker-custom_svg .hanly-map-card-marker-image.hmc-svg-preserve-aspect {
  height: auto !important;
}

/* Desktop XL composition: wide viewport, intentionally bounded content. */
.hanly-map-card-wrap {
  --hmc-height-xl: clamp(600px, 36vw, 700px);
  --hmc-panel-width-xl: 440px;
  --hmc-inset-x-xl: clamp(48px, 4vw, 96px);
  --hmc-inset-y-xl: clamp(48px, 3vw, 72px);
  --hmc-marker-xl-offset-x: 0px;
  --hmc-marker-xl-offset-y: 0px;
  --hmc-marker-xl-scale: 1.15;
  --hmc-grid-inset-xl: max(
    var(--hmc-inset-x-xl),
    calc(
      (100vw - var(--hc-ac-xl-max-width, var(--hc-ac-max-width, 1560px))) / 2
      + var(--hc-ac-xl-gutter, var(--hc-ac-gutter, 72px))
    )
  );
}

@media (min-width: 1800px) and (min-aspect-ratio: 8/5) {
  .hanly-map-card-wrap {
    min-height: var(--hmc-height-xl);
  }

  .hanly-map-card-panel {
    width: min(var(--hmc-panel-width-xl), calc(100% - (var(--hmc-inset-x-xl) * 2)));
  }

  .hanly-map-card-wrap .hmc-pos-left-center,
  .hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-left .hanly-map-card-panel {
    left: var(--hmc-inset-x-xl);
  }

  .hanly-map-card-wrap .hmc-pos-right-center,
  .hanly-map-card-wrap.hmc-mode-contact.hmc-card-align-right .hanly-map-card-panel {
    right: var(--hmc-inset-x-xl);
  }

  .hanly-map-card-wrap .hmc-pos-left-bottom {
    left: var(--hmc-inset-x-xl);
    bottom: var(--hmc-inset-y-xl);
  }

  .hanly-map-card-wrap .hmc-pos-right-bottom {
    right: var(--hmc-inset-x-xl);
    bottom: var(--hmc-inset-y-xl);
  }

  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid .hmc-pos-left-center,
  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid .hmc-pos-left-bottom,
  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid.hmc-mode-contact.hmc-card-align-left .hanly-map-card-panel {
    left: auto;
    right: auto;
    inset-inline-start: var(--hmc-grid-inset-xl);
    inset-inline-end: auto;
  }

  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid .hmc-pos-right-center,
  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid .hmc-pos-right-bottom,
  .hanly-map-card-wrap.hmc-xl-align-adaptive-grid.hmc-mode-contact.hmc-card-align-right .hanly-map-card-panel {
    left: auto;
    right: auto;
    inset-inline-start: auto;
    inset-inline-end: var(--hmc-grid-inset-xl);
  }

  .hanly-map-card-wrap.hmc-xl-align-centered .hanly-map-card-panel {
    left: 50%;
    right: auto;
  }

  .hanly-map-card-wrap.hmc-xl-align-centered .hmc-pos-left-center,
  .hanly-map-card-wrap.hmc-xl-align-centered .hmc-pos-right-center,
  .hanly-map-card-wrap.hmc-xl-align-centered .hmc-pos-center {
    transform: translate(-50%, -50%);
  }

  .hanly-map-card-wrap.hmc-xl-align-centered .hmc-pos-left-bottom,
  .hanly-map-card-wrap.hmc-xl-align-centered .hmc-pos-right-bottom {
    transform: translateX(-50%);
  }

  .hanly-map-card-marker,
  .hmc-map-overlay-marker {
    margin-left: var(--hmc-marker-xl-offset-x);
    margin-top: var(--hmc-marker-xl-offset-y);
    scale: var(--hmc-marker-xl-scale);
  }
}

@media (max-width: 767px) {
  .hanly-map-card-wrap.hmc-mode-contact .hanly-map-card-panel {
    left: var(--hmc-mobile-inset) !important;
    right: var(--hmc-mobile-inset) !important;
    transform: none !important;
  }

  .hanly-map-card-wrap.hmc-mode-contact .hanly-map-card-panel-inner {
    padding: 26px;
  }
}
