/*
 * Odnaleźć Sens 1.10.29
 * Ostateczne dopracowanie hero, kart, proporcji i czytelności.
 * Arkusz jest ładowany po wszystkich wcześniejszych stylach motywu.
 */

/* ==========================================================================
   OFERTA
   ========================================================================== */
.odns-offer-hero {
  padding-block: 3.25rem 3.4rem;
}

.odns-offer-hero-grid {
  grid-template-columns: .78fr 1.22fr;
  gap: 1.1rem;
}

.odns-offer-hero-art {
  z-index: 3;
  width: 118%;
  margin-left: -8%;
}

.odns-offer-hero-art img {
  width: 100%;
  max-width: none;
  mix-blend-mode: normal;
  filter: saturate(1.12) contrast(1.15) brightness(.99);
  -webkit-mask-image: none;
  mask-image: none;
}

.odns-offer-eyebrow {
  font-size: .78rem;
}

.odns-offer-hero-copy > p:not(.odns-offer-eyebrow) {
  max-width: 39rem;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.72;
}

.odns-offer-hero-notes {
  font-size: .76rem;
}

.odns-offer-section-title {
  max-width: 62rem;
}

.odns-offer-section-title p {
  max-width: 53rem;
  margin-top: .5rem;
  font-size: clamp(.98rem, 1.08vw, 1.08rem);
  line-height: 1.68;
}

.odns-offer-service-copy p {
  font-size: clamp(.88rem, .94vw, .96rem);
  line-height: 1.65;
}

.odns-offer-tags span {
  font-size: .67rem;
}

body.odns-site .odns-offer-text-link {
  font-size: .76rem;
}

.odns-offer-choice .odns-offer-section-title > p {
  font-size: 1rem;
}

.odns-offer-step {
  min-height: 290px;
  padding: 1rem 1.5rem 1.55rem;
}

.odns-offer-step img {
  width: 132px;
  height: 132px;
  margin: -4px auto 0;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: saturate(1.08) contrast(1.1);
  -webkit-mask-image: radial-gradient(ellipse, #000 58%, rgba(0, 0, 0, .72) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse, #000 58%, rgba(0, 0, 0, .72) 76%, transparent 100%);
}

.odns-offer-step small {
  margin-top: -4px;
  font-size: .68rem;
}

body.odns-site .odns-offer-step h3 {
  font-size: 1.8rem;
}

.odns-offer-step p {
  max-width: 31rem;
  margin-inline: auto;
  font-size: clamp(.86rem, .91vw, .93rem);
  line-height: 1.62;
}

.odns-offer-reassurance {
  padding-block: 2.6rem;
}

.odns-offer-reassurance-card {
  display: grid;
  min-height: 265px;
  padding: 1.5rem 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 330px) minmax(205px, .58fr);
  gap: 1.3rem;
}

body.odns-site .odns-offer-reassurance-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.55rem, 3.2vw, 3.15rem);
}

.odns-offer-reassurance-copy p {
  max-width: 47rem;
  font-size: clamp(.94rem, 1vw, 1rem);
  line-height: 1.68;
}

.odns-offer-reassurance-art {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.odns-offer-reassurance-art img {
  display: block;
  width: 118%;
  height: 225px;
  margin-left: -9%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: saturate(1.04) contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, #000 54%, rgba(0, 0, 0, .74) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, #000 54%, rgba(0, 0, 0, .74) 76%, transparent 100%);
}

.odns-offer-reassurance-actions {
  flex: none;
}

/* ==========================================================================
   O NAS
   ========================================================================== */
.odns-about-hero {
  padding-block: clamp(2.8rem, 4vw, 4.35rem);
}

.odns-about-hero-grid {
  grid-template-columns: minmax(330px, .7fr) minmax(620px, 1.45fr);
  gap: clamp(1.25rem, 3vw, 3rem);
}

.odns-about-hero-art {
  width: 110%;
  margin-left: -4%;
}

.odns-about-hero-art img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: saturate(1.04) contrast(1.1);
  -webkit-mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 55%, rgba(0, 0, 0, .78) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 55%, rgba(0, 0, 0, .78) 76%, transparent 100%);
}

.odns-about-cta {
  padding-block: 2.7rem;
}

.odns-about-cta-grid {
  grid-template-columns: minmax(290px, .95fr) minmax(250px, .8fr) minmax(350px, 430px);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.odns-about-cta-copy {
  max-width: none;
}

body.odns-site .odns-about-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 3.6vw, 3.7rem);
}

.odns-about-cta-copy > p {
  max-width: 50ch;
  margin-top: .7rem;
  font-size: clamp(.94rem, 1vw, 1.02rem);
  line-height: 1.72;
}

.odns-about-cta-art {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.odns-about-cta-art img {
  display: block;
  width: 124%;
  max-width: none;
  height: 230px;
  margin-left: -12%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
  filter: saturate(1.04) contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 58%, rgba(0, 0, 0, .76) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 58%, rgba(0, 0, 0, .76) 78%, transparent 100%);
}

.odns-about-cta #znanylekarz-widget {
  margin-left: 0;
}

/* ==========================================================================
   TERAPIA RODZINNA — proporcjonalne zakończenie
   ========================================================================== */
@media (min-width: 981px) {
  .odns-family-final-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
  }

  .odns-family-team {
    grid-column: 1;
  }

  .odns-family-faq {
    grid-column: 2;
  }

  .odns-family-cta {
    display: flex;
    min-height: 245px;
    padding: 30px 48px;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
  }

  .odns-family-cta > div {
    width: min(100%, 720px);
  }

  body.odns-family .odns-family-cta h2 {
    font-size: clamp(2.8rem, 3.5vw, 3.55rem);
  }

  .odns-family-cta p {
    max-width: 520px;
    font-size: .94rem;
    line-height: 1.6;
  }

  .odns-family-cta-decor {
    width: 355px;
    height: 220px;
    bottom: -38px;
    opacity: .78;
  }

  .odns-family-cta-decor-left {
    left: -50px;
  }

  .odns-family-cta-decor-right {
    right: -55px;
  }
}

.odns-family-faq-list summary,
.odns-family-faq-list p {
  font-size: clamp(.8rem, .86vw, .88rem);
}

/* ==========================================================================
   AGNIESZKA OLEŚ
   ========================================================================== */
.odns-agnieszka-hero {
  background-color: #fbf8f1;
  background-image:
    linear-gradient(rgba(251, 248, 241, .3), rgba(251, 248, 241, .3)),
    url("../textures/cream-paper-seamless.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.odns-agnieszka-hero-art {
  mix-blend-mode: multiply;
  filter: contrast(1.09) saturate(1.02);
  -webkit-mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 58%, rgba(0, 0, 0, .76) 79%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 49% at 50% 50%, #000 58%, rgba(0, 0, 0, .76) 79%, transparent 100%);
}

.odns-agnieszka-work-card {
  display: grid;
  min-height: 245px;
  padding: 15px 22px 15px 16px;
  grid-template-columns: clamp(170px, 15vw, 210px) minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.odns-agnieszka-work-card > img {
  width: 100%;
  height: clamp(185px, 17vw, 220px);
  margin: 0;
  object-fit: cover;
}

.odns-agnieszka-work-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

body.odns-specialist-agnieszka .odns-agnieszka-work-copy h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 1.9vw, 1.95rem);
  text-align: left;
}

body.odns-specialist-agnieszka .odns-agnieszka-work-copy p {
  font-size: clamp(.88rem, .93vw, .96rem);
  line-height: 1.58;
  text-align: left;
}

/* ==========================================================================
   ZUZANNA KOWALSKA
   ========================================================================== */
.odns-zuzanna-hero-art {
  right: -58px;
  width: clamp(390px, 39vw, 530px);
  max-height: 490px;
  opacity: 1;
  mix-blend-mode: normal;
  filter: saturate(1.03) contrast(1.06);
  -webkit-mask-image: none;
  mask-image: none;
}

/* ==========================================================================
   TERAPIA ONLINE I PRAKTYKI — grafiki bez własnego prostokątnego tła
   ========================================================================== */
.odns-online-hero-art img,
.odns-practices-hero-art img {
  mix-blend-mode: normal;
  filter: saturate(1.04) contrast(1.06);
  -webkit-mask-image: none;
  mask-image: none;
}

.odns-online-hero-art {
  margin-right: -42px;
  margin-left: -30px;
}

.odns-practices-hero {
  padding-block: 5px 0;
}

.odns-practices-breadcrumbs {
  margin-bottom: .15rem;
}

.odns-practices-hero-grid {
  min-height: 392px;
  align-items: center;
}

.odns-practices-hero-copy {
  padding: 5px 18px 28px 0;
}

.odns-practices-hero-art {
  min-height: 385px;
  margin: -34px -72px -10px -72px;
  align-self: center;
}

.odns-practices-hero-art img {
  width: 112%;
  height: auto;
  max-height: 445px;
  object-fit: contain;
  object-position: center;
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 1100px) {
  .odns-offer-hero-grid {
    grid-template-columns: .9fr 1.1fr;
  }

  .odns-offer-hero-art {
    width: 112%;
    margin-left: -6%;
  }

  .odns-about-hero-grid {
    grid-template-columns: minmax(300px, .8fr) minmax(500px, 1.25fr);
  }

  .odns-about-cta-grid {
    grid-template-columns: minmax(270px, 1fr) minmax(220px, .75fr) minmax(320px, 380px);
  }

  .odns-about-cta-art img {
    height: 205px;
  }

  .odns-practices-hero-art {
    margin-left: -50px;
  }
}

@media (max-width: 980px) {
  .odns-offer-reassurance-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  }

  .odns-offer-reassurance-actions {
    grid-column: 1;
    justify-content: flex-start;
  }

  .odns-offer-reassurance-art {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .odns-about-hero-grid {
    grid-template-columns: 1fr;
  }

  .odns-about-hero-art {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .odns-about-cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  }

  .odns-about-cta-art {
    grid-column: 1;
  }

  .odns-about-cta-art img {
    width: min(100%, 430px);
    height: 175px;
    margin: 0;
  }

  .odns-about-cta #znanylekarz-widget {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .odns-practices-hero-grid {
    min-height: 365px;
  }

  .odns-practices-hero-art {
    min-height: 350px;
    margin-top: -24px;
  }
}

/* ==========================================================================
   TELEFON
   ========================================================================== */
@media (max-width: 767px) {
  .odns-offer-hero {
    padding-block: 2.2rem 2.5rem;
  }

  .odns-offer-hero-grid {
    grid-template-columns: 1fr;
  }

  .odns-offer-hero-art {
    width: 108%;
    margin: .5rem -4% 0;
  }

  .odns-offer-section-title p,
  .odns-offer-choice .odns-offer-section-title > p {
    font-size: .94rem;
  }

  .odns-offer-step {
    min-height: 0;
  }

  .odns-offer-step img {
    width: 112px;
    height: 112px;
  }

  .odns-offer-reassurance-card {
    display: flex;
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  body.odns-site .odns-offer-reassurance-copy h2 {
    max-width: none;
  }

  .odns-offer-reassurance-art img {
    width: 100%;
    height: 205px;
    margin: 0;
  }

  .odns-offer-reassurance-actions {
    justify-content: center;
  }

  .odns-about-hero-art {
    width: 112%;
    margin-left: -6%;
  }

  .odns-about-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.odns-site .odns-about-cta h2,
  .odns-about-cta-copy > p {
    max-width: none;
  }

  .odns-about-cta-copy .odns-about-heart-line {
    margin-inline: auto;
  }

  .odns-about-cta-art {
    grid-column: 1;
  }

  .odns-about-cta-art img {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .odns-about-cta #znanylekarz-widget {
    grid-column: 1;
    grid-row: auto;
    margin-inline: auto;
  }

  .odns-agnieszka-work-card {
    min-height: 0;
    padding: 14px;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .odns-agnieszka-work-card > img {
    width: 108px;
    height: 118px;
  }

  body.odns-specialist-agnieszka .odns-agnieszka-work-copy h3 {
    font-size: 1.48rem;
  }

  body.odns-specialist-agnieszka .odns-agnieszka-work-copy p {
    font-size: .86rem;
  }

  .odns-zuzanna-hero-art {
    right: -74px;
    width: 245px;
    opacity: .34;
  }

  .odns-online-hero-art {
    margin-inline: -16px;
  }

  .odns-practices-hero {
    padding-top: 3px;
  }

  .odns-practices-hero-grid {
    min-height: 0;
  }

  .odns-practices-hero-copy {
    padding-top: 4px;
  }

  .odns-practices-hero-art {
    min-height: 0;
    margin: -18px -22px 0;
  }

  .odns-practices-hero-art img {
    width: 108%;
    max-height: none;
    margin-left: -4%;
  }
}

@media (max-width: 430px) {
  .odns-agnieszka-work-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .odns-agnieszka-work-card > img {
    width: 94px;
    height: 104px;
  }
}
