/* ==========================================================================
   Style własne strony EASYWEB24 (wersja offline)
   ========================================================================== */

html {
  hyphens: manual;
  -webkit-hyphens: manual;
  overflow-wrap: break-word;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, blockquote, figcaption, dt, dd, li, summary {
  text-wrap: pretty;
}

summary::-webkit-details-marker {
  display: none;
}

/* Ikony SVG (Lucide) */
i[data-lucide],
span[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

:where(i[data-lucide], span[data-lucide]) {
  width: 1em;
  height: 1em;
  fill: none;
}

i[data-lucide] > svg,
span[data-lucide] > svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: inherit;
}

i[data-lucide].hidden,
span[data-lucide].hidden {
  display: none;
}

/* Karta lokalnej mapy (zastępuje zewnętrzny iframe Google Maps w trybie offline) */
.offline-map-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background-color: #f5f7fa;
  text-decoration: none;
}

.offline-map-img {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .offline-map-img {
    height: 20rem;
  }
}

.offline-map-link:hover .offline-map-img {
  transform: scale(1.02);
}

.offline-map-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.title{
  font-size: 2.125rem;
  line-height: 2.75rem;
}
@media screen and (max-width: 767px) {
  .title{
    font-size: 1.2rem;
    line-height: 1.65rem;
  }
}
