/* Shared paragraph typography for all five pages in Polish and English. */
:root {
  --fly-description-size: 16px;
}
main p:not(.breadcrumb):not(.form-note) {
  font-size: var(--fly-description-size);
  line-height: 1.75;
}
@media (max-width: 680px) {
  :root {
    --fly-description-size: 14px;
  }
}

/* Desktop-only refinements: retain the approved mobile layout and sizes. */
@media (min-width: 681px) {
  #uslugi .service-card p,
  #podejscie .method p {
    font-size: 14px;
    line-height: 1.75;
  }
  #kontakt .contact-line {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    font-size: 18px;
    line-height: 1.75;
  }
  #kontakt .contact-line b {
    width: auto;
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: .04em;
  }
  #kontakt .contact-line a { overflow-wrap: anywhere; }

  /* Headings occupy the first rows; photo and description share row three. */
  .offer-row:has(.offer-photo) { row-gap: 0; }
  .offer-row:has(.offer-photo) > .offer-label { display: contents; }
  .offer-row:has(.offer-photo) > .offer-label > h2 {
    grid-column: 1;
    grid-row: 1;
  }
  .offer-row:has(.offer-photo) > .offer-label > .offer-subtitle {
    grid-column: 1;
    grid-row: 2;
  }
  .offer-row:has(.offer-photo) > .offer-label > .offer-photo {
    grid-column: 1;
    grid-row: 3;
    margin-top: 28px;
    align-self: start;
  }
  .offer-row:has(.offer-photo) > .offer-description {
    grid-column: 2;
    grid-row: 3;
    padding-top: 28px;
    align-self: start;
  }
}
