/**
 * LaMilka Tour 0.4.84 — focused mobile/home and hero clarity refinements.
 *
 * Scope:
 * - Keep the homepage WhatsApp outline hidden until the existing v0.4.83
 *   Private Tours threshold is reached.
 * - Prevent the two mobile hero action labels from clipping by reducing only
 *   their weight, icon size and stroke weight.
 * - Remove the local dark text backdrops from About and Private Tours heroes.
 * - Render Contact page communication icons as crisp inline vectors.
 */

/* --------------------------------------------------------------------------
   Homepage mobile hero actions: preserve geometry, refine visual weight.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action {
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding-inline: 6px !important;
    gap: 5px !important;
    font-size: clamp(12.5px, 3.55vw, 15px) !important;
    font-weight: 500 !important;
    letter-spacing: -0.012em !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action__label {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action__icon {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:nth-child(2) .lamilka-home-action__icon {
    flex-basis: 22px !important;
    width: 22px !important;
    height: 22px !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action__icon svg {
    width: 100% !important;
    height: 100% !important;
    stroke-width: 1.65 !important;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
  }

  /* Explicitly preserve the no-flash initial state from v0.4.83. */
  .lamilka-home-mobile-whatsapp:not(.is-visible) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* --------------------------------------------------------------------------
   About and Private Tours: remove dark overlays behind the hero text and let
   the source photography remain clear. Text shadows remain for legibility.
   -------------------------------------------------------------------------- */
.lamilka-about .lamilka-about__hero::before,
.lamilka-about .lamilka-about__hero::after,
.lamilka-about .lamilka-about__hero-copy::before,
.lamilka-about .lamilka-about__hero-copy::after {
  content: none !important;
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

.lamilka-private .lamilka-private__hero::before,
.lamilka-private .lamilka-private__hero::after,
.lamilka-private .lamilka-private__hero-title::before,
.lamilka-private .lamilka-private__hero-title::after {
  content: none !important;
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

/* Keep the actual source images clean and unfiltered. */
.lamilka-about .lamilka-about__hero img,
.lamilka-private .lamilka-private__hero img {
  filter: none !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   Contact page: crisp vector icons. No handset is used for WhatsApp; the
   approved outlined chat bubble is rendered instead.
   -------------------------------------------------------------------------- */
.lamilka-contact-source__option-icon svg,
.lamilka-contact-source__info-card > span svg,
.lamilka-contact-source__region svg {
  display: block !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  transform: translateZ(0);
}

.lamilka-contact-source__option-icon svg {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 1.75 !important;
}

.lamilka-contact-source__info-card > span svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.75 !important;
}

.lamilka-contact-source__region svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.75 !important;
}

@media (max-width: 767px) {
  .lamilka-contact-source__option-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.65 !important;
  }
}
