/* OMNISHIELD – wpisy w Bazie wiedzy (PL). Ładowany po home.css i service.css. Prefiks osa-. */

.osa-hero { min-height: 460px; }
.osh .osa-hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.15; }
.osa-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.78); font-size: 15px; text-decoration: none; }
.osa-back:hover { color: #fff; }
.osa-back svg { width: 16px; height: 16px; }

.osa-section { padding-top: 72px; }
.osa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

.osa-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: var(--osh-shadow-lg); margin-bottom: 40px; }

/* treść wpisu: nadpisuje style Framera */
.osa-body { max-width: 760px; }
.osa-body .framer-text,
.osa-body p, .osa-body li {
  font-family: "Inter", "Inter Placeholder", sans-serif !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
  color: var(--osh-text) !important;
  --framer-text-color: var(--osh-text) !important;
}
.osa-body p { margin: 0 0 18px !important; }
.osa-body h2, .osa-body h2.framer-text {
  margin: 44px 0 16px !important;
  font-family: "Inter Display Medium", "Inter Display Medium Placeholder", "Inter", sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(24px, 2.6vw, 30px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
  color: var(--osh-ink) !important;
  --framer-text-color: var(--osh-ink) !important;
}
.osa-body h3, .osa-body h3.framer-text, .osa-body h4.framer-text {
  margin: 32px 0 12px !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  color: var(--osh-ink) !important;
  --framer-text-color: var(--osh-ink) !important;
}
.osa-body > :first-child { margin-top: 0 !important; }
.osa-body strong, .osa-body strong.framer-text { color: var(--osh-ink) !important; font-weight: 600 !important; }
.osa-body a, .osa-body a.framer-text { color: var(--osh-accent) !important; --framer-text-color: var(--osh-accent) !important; text-decoration: underline; text-underline-offset: 3px; }
.osa-body a strong { color: inherit !important; }
.osa-body ul, .osa-body ol { margin: 0 0 22px !important; padding-left: 0 !important; list-style: none !important; display: grid; gap: 10px; }
.osa-body li { position: relative; padding-left: 30px !important; margin: 0 !important; }
.osa-body li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--osh-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c56e6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.osa-body li > p { margin: 0 !important; }
.osa-body img { max-width: 100%; height: auto; border-radius: 16px; }
.osa-body br.trailing-break { display: none; }

/* pływający baner usługi */
.osa-aside { position: sticky; top: 104px; }
.osa-promo {
  position: relative; overflow: hidden;
  padding: 32px 28px 30px;
  border-radius: 26px;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(140, 150, 255, 0.4) 0%, rgba(140, 150, 255, 0) 60%),
    linear-gradient(150deg, #4c56e6 0%, #3841be 50%, #1c2275 100%);
  box-shadow: 0 30px 60px -30px rgba(30, 40, 140, 0.65);
  color: rgba(255, 255, 255, 0.84);
}
.osa-promo-shield { position: absolute; right: -70px; bottom: -60px; width: 220px; opacity: 0.16; pointer-events: none; }
.osa-promo-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 32px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.osh .osa-promo h3 { position: relative; margin-top: 16px; color: #fff; font-family: "Inter Display Medium", "Inter", sans-serif; font-weight: 400; font-size: 25px; line-height: 1.25; }
.osh .osa-promo h3 span { color: #c9cdff; }
.osa-promo > p { position: relative; margin-top: 12px; font-size: 15px; line-height: 1.6; }
.osa-promo ul { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.osa-promo li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #fff; }
.osa-promo li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #c9cdff; }
.osa-promo .osh-btn { position: relative; width: 100%; justify-content: center; margin-top: 24px; gap: 10px; }
.osa-promo .osh-btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.osa-promo .osh-btn:hover svg { transform: translateX(3px); }

@media (max-width: 1023px) {
  .osa-grid { grid-template-columns: 1fr; gap: 40px; }
  .osa-aside { position: static; }
  .osa-body { max-width: none; }
}
@media (max-width: 767px) {
  .osa-hero { min-height: 0; }
  .osa-section { padding-top: 40px; }
  .osa-cover { border-radius: 18px; margin-bottom: 28px; }
  .osa-body .framer-text, .osa-body p, .osa-body li { font-size: 16px !important; }
}

/* poprawki: sticky baner (Framer ustawia overflow:hidden na korzeniu), zdjęcie, wyrównanie śródtytułów */
[data-framer-root]:has(> .osa) { overflow: clip !important; }
.osa-cover { height: auto; }
.osa-body .framer-text, .osa-body h2, .osa-body h3, .osa-body p { text-align: left !important; --framer-text-alignment: left !important; }

/* bez kropek Framera przy punktach listy */
.osa-body li { list-style: none !important; }
.osa-body li::marker { content: "" !important; font-size: 0 !important; }
.osa-body li::before { content: "" !important; color: transparent !important; font-size: 0 !important; }
