/* SEOX-2518: info-page cluster (Parazitism) — farmacin.ro */

/* header: 6th nav item (Figma 46034:355 — gap 64, items overflow 680) */
.header__nav-container { max-width: none; }
.header__link.is-active { color: #ff1839; }
.header__logo-link { display: inline-flex; }

.pz-skip {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 12px 16px; background: #fff; color: #151d4c;
}
.pz-skip:focus { left: 12px; top: 12px; }

.pz { color: #151d4c; }
.pz section { position: relative; padding: 100px 0; }
.pz .container { display: flex; flex-direction: column; gap: 48px; }
.pz h1 { font-size: 60px; font-weight: 700; line-height: normal; }
.pz h2 { font-size: 50px; font-weight: 700; line-height: normal; text-align: center; }
.pz h3 { font-size: 32px; font-weight: 600; line-height: normal; }
.pz p { font-size: 22px; font-weight: 400; line-height: 1.4; }
.pz img { display: block; }

.pz-head { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.pz-text { display: flex; flex-direction: column; gap: 24px; }
.pz-text--16 { gap: 16px; }
.pz-h3 { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pz-h3 hr { height: 1px; margin: 0; border: 0; background: #151d4c; }
.pz-row { display: flex; align-items: center; gap: 25px; }
.pz-row > .pz-h3, .pz-row > .pz-text, .pz-row > .pz-list { flex: 1 1 0; }
.pz-media { position: relative; flex: 0 0 485px; width: 485px; height: 363px; overflow: hidden; }
.pz-media img { width: 100%; height: 100%; object-fit: cover; }

/* bl1 hero */
.pz-hero { background: #151d4c; color: #fff; }
.pz section.pz-hero { padding: 120px 0; }
.pz-hero .container { flex-direction: row; align-items: center; gap: 64px; }
.pz-hero__copy { display: flex; flex-direction: column; gap: 24px; flex: 1 1 0; min-width: 0; }
.pz-hero .pz-media { height: 400px; }

/* bl2 */
.pz-cols { display: flex; align-items: flex-start; gap: 48px; }
.pz-cols > .pz-h3 { flex: 1 1 0; }

/* bl3 */
.pz-sources { background: #90f0ff; }

/* bl4 table */
.pz-table {
  width: 100%; border: 1px solid #151d4c; border-radius: 4px;
  border-collapse: separate; border-spacing: 0; overflow: hidden;
  font-size: 22px; line-height: 1.4; text-align: left;
}
.pz-table th, .pz-table td { padding: 20px 0; vertical-align: top; }
.pz-table th:first-child, .pz-table td:first-child { width: 260px; padding-left: 32px; padding-right: 24px; }
.pz-table th:last-child, .pz-table td:last-child { padding-right: 32px; }
.pz-table thead th { background: #151d4c; color: #fff; font-weight: 700; }
.pz-table tbody th { font-weight: 600; }
.pz-table tbody tr:nth-child(odd) { background: #fff; }
.pz-table tbody tr:nth-child(even) { background: #e9fdff; }

/* bl5 */
.pz-signs { background: #06ffd1; }

/* bl6 */
.pz-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pz-bg img, .pz-bg picture { width: 100%; height: 100%; object-fit: cover; }
.pz section > .container { position: relative; z-index: 1; }
.pz .pz-list {
  display: flex; flex-direction: column; gap: 24px; min-width: 0;
  margin: 0; padding: 32px; list-style: none; background: #fff; border-radius: 4px;
}
.pz-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 22px; line-height: 1.4; }
.pz-list li img { flex: 0 0 32px; width: 32px; height: 32px; }
.pz-cards { display: flex; align-items: stretch; gap: 24px; }
.pz-card {
  flex: 1 1 0; display: flex; flex-direction: column; gap: 16px;
  padding: 32px; border-radius: 4px; background: #151d4c; color: #fff;
}

/* bl7 summary */
.pz-summary { color: #fff; text-align: center; }
.pz-summary .container { align-items: center; gap: 32px; }
.pz-summary h2, .pz-summary p { max-width: 900px; }
.pz-btn {
  display: inline-flex; padding: 16px 64px; background: #90f0ff; color: #151d4c;
  font-size: 20px; font-weight: 700; line-height: normal; text-decoration: none;
  transition: filter .2s ease;
}
.pz-btn:hover { filter: brightness(.93); }

/* ---------- tablet ---------- */
@media (max-width: 1200px) {
  .pz section, .pz section.pz-hero { padding: 80px 0; }
  .pz .container { gap: 40px; }
  .pz h1 { font-size: 48px; }
  .pz h2 { font-size: 42px; }
  .pz h3 { font-size: 28px; }
  .pz p, .pz-list li, .pz-table { font-size: 20px; }
  .pz-media { flex-basis: 40%; width: 40%; height: auto; aspect-ratio: 485 / 363; }
  .pz-hero .pz-media { height: auto; aspect-ratio: 485 / 400; }
  .pz-hero .container { gap: 40px; }
  .pz-table th:first-child, .pz-table td:first-child { width: 200px; }
}

@media (max-width: 700px) {
  .pz section { padding: 72px 0; }
  .pz section.pz-hero { padding: 72px 0; }
  .pz .container { gap: 32px; }
  .pz-hero .container, .pz-row, .pz-cols, .pz-cards { flex-direction: column; align-items: stretch; }
  .pz-hero .container { gap: 24px; }
  .pz-row, .pz-cols, .pz-cards { gap: 32px; }
  .pz-row > .pz-h3, .pz-row > .pz-text, .pz-row > .pz-list, .pz-cols > .pz-h3, .pz-card { flex: 0 0 auto; }
  .pz-media, .pz-hero .pz-media {
    flex: 0 0 auto; width: 100%; max-width: 560px; margin-inline: auto;
    aspect-ratio: 485 / 363;
  }
  .pz-hero .pz-media { aspect-ratio: 485 / 400; }
  /* mobile order: image after text (Figma Mob bl3) */
  .pz-sources .pz-media { order: 2; }
}

/* ---------- mobile (Figma Mob Parazitism, 360) ---------- */
@media (max-width: 700px) {
  .pz section, .pz section.pz-hero { padding: 60px 0; }
  .pz .container { padding-inline: 10px; }
  .pz h1 { font-size: 40px; }
  .pz h2 { font-size: 32px; }
  .pz h3 { font-size: 26px; }
  .pz p, .pz-list li { font-size: 18px; }
  .pz .pz-list { padding: 16px; gap: 16px; }
  .pz-list li { gap: 8px; }
  .pz-card { padding: 16px; }
  .pz-cards { gap: 32px; }
  .pz-table { font-size: 16px; }
  .pz-table th, .pz-table td { padding: 12px 0; }
  .pz-table th:first-child, .pz-table td:first-child { width: 100px; padding-left: 12px; padding-right: 12px; }
  .pz-table th:last-child, .pz-table td:last-child { padding-right: 12px; }
  /* frames: first photo 300, others 220 */
  .pz-media { aspect-ratio: auto; height: 220px; max-width: 420px; }
  .pz-hero .pz-media { aspect-ratio: auto; height: 300px; max-width: 480px; }
}

/* header: logo is a link, burger is a <button> on info pages */
.header__logo-link { width: 100%; max-width: 160px; }
.header__logo-link .header__logo { height: auto; }
button.header__hamburger { background: none; border: 0; color: inherit; }

/* footer: copyright overflowed at <=414 (pre-existing on the main page too) */
@media (max-width: 700px) {
  .footer__container { flex-wrap: wrap; justify-content: center; }
}
