/* Oryginalny komponent wizualizacji z archiwum. Style i fonty ograniczone do tego elementu. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../assets/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.archived-profile {
  --ink:#1f2a33; --ink-soft:#46545f; --ink-mute:#5d6b76; --line-soft:#eef1f0;
  --green-ink:#0c6b2a; --red:#e1231b; --yellow:#f6b212; --blue:#4275ba;
  --radius-s:10px; --radius-l:24px;
  --shadow-m:0 2px 6px rgba(31,42,51,.06),0 12px 32px rgba(31,42,51,.10);
  --shadow-l:0 8px 24px rgba(31,42,51,.10),0 24px 64px rgba(31,42,51,.14);
  --font-head:'Sora','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --font-body:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  margin:0; font-family:var(--font-body); font-size:1rem; font-weight:400; line-height:1.65; color:var(--ink);
}
.archived-profile p { margin:0 0 1rem; max-width:none; }
.archived-profile p:last-child { margin-bottom:0; }
.archived-profile svg { max-width:100%; height:auto; display:block; }

.archived-profile { max-width: 26rem; justify-self: center; width: 100%; }
.archived-profile .gbp-wrap { position: relative; }
.archived-profile .gbp-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.archived-profile .gbp-card__photo {
  position: relative;
  aspect-ratio: 16 / 8.5;
  background:
    radial-gradient(14rem 9rem at 78% 0%, #d6e8f7 0%, transparent 60%),
    linear-gradient(135deg, #e8f3ea 0%, #d9edde 45%, #cfe3f0 100%);
}
.archived-profile .gbp-card__photo .map-roads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.archived-profile .gbp-card__pin {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -100%;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--red);
  filter: drop-shadow(0 6px 8px rgba(225, 35, 27, 0.35));
}
.archived-profile .gbp-card__body { padding: 1.25rem 1.4rem 1.4rem; }
.archived-profile .gbp-card__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}
.archived-profile .gbp-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.archived-profile .gbp-card__rating strong { color: var(--ink); }
.archived-profile .stars { display: inline-flex; gap: 0.1rem; color: var(--yellow); }
.archived-profile .stars svg { width: 1rem; height: 1rem; }
.archived-profile .gbp-card__meta { margin-top: 0.35rem; font-size: 0.9rem; color: var(--ink-soft); }
.archived-profile .gbp-card__meta .open { color: var(--green-ink); font-weight: 600; }
.archived-profile .gbp-card__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.archived-profile .gbp-card__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.25rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: #fbfcfd;
}
.archived-profile .gbp-card__action svg { width: 1.25rem; height: 1.25rem; }

.archived-profile .float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-m);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.archived-profile .float-chip svg { flex: none; }
.archived-profile .float-chip--tl { top: -1.1rem; left: -0.9rem; }
.archived-profile .float-chip--r { top: 38%; right: -1.4rem; }
.archived-profile .float-chip--b { bottom: -1.2rem; left: 12%; }
.archived-profile .float-chip .up { color: var(--green-ink); }
@media (prefers-reduced-motion: no-preference) {
  .archived-profile .float-chip { animation: wmapsach-profile-float 5.5s ease-in-out infinite; }
  .archived-profile .float-chip--r { animation-delay: 1.2s; }
  .archived-profile .float-chip--b { animation-delay: 2.4s; }
  @keyframes wmapsach-profile-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }
}
.archived-profile .hero__caption {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-mute);
}

@media (min-width:900px) { .archived-profile { justify-self:end; } }
@media (max-width:899.98px) { .archived-profile .float-chip--r { right:-.4rem; } }
