/* Terapia rodzinna — style odseparowane od zatwierdzonych stron motywu. */

body.odns-family .odns-family-main {
  --family-navy: #173b63;
  --family-sage: #71947f;
  --family-green: #4f7563;
  --family-pencil: #eaf1e7;
  --family-paper: #fbf8f1;
  --family-card: #fffdfa;
  --family-gold: #d6a652;
  --family-text: #33485a;
  overflow: clip;
  color: var(--family-text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.odns-family .odns-family-main *,
body.odns-family .odns-family-main *::before,
body.odns-family .odns-family-main *::after {
  box-sizing: border-box;
}

body.odns-family .odns-family-main h1,
body.odns-family .odns-family-main h2,
body.odns-family .odns-family-main h3,
body.odns-family .odns-family-main p,
body.odns-family .odns-family-main figure {
  margin-top: 0;
}

body.odns-family .odns-family-main h1,
body.odns-family .odns-family-main h2,
body.odns-family .odns-family-main h3 {
  color: var(--family-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.odns-family-wrap {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 128px));
  margin-inline: auto;
}

.odns-family-section {
  position: relative;
  padding-block: 82px;
}

.odns-family-sage,
.odns-family-paper {
  position: relative;
  isolation: isolate;
}

.odns-family-sage {
  background-color: var(--family-pencil);
  background-image: url("../textures/sage-paper-seamless.webp");
  background-position: center;
  background-size: 2508px auto;
}

.odns-family-paper {
  background-color: var(--family-paper);
  background-image: url("../textures/cream-paper-seamless.webp");
  background-position: center;
  background-size: 2508px auto;
}

.odns-family-sage::after,
.odns-family-paper::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("../textures/paper-overlay-seamless.webp");
  background-size: 2508px auto;
  content: "";
  opacity: 0.2;
  pointer-events: none;
}

.odns-family-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
  text-align: center;
}

body.odns-family .odns-family-heading h2 {
  margin-bottom: 2px;
  font-size: clamp(2.55rem, 3.45vw, 3.18rem);
  line-height: 1.03;
}

.odns-family-separator {
  display: block;
  width: clamp(220px, 22vw, 310px);
  height: 38px;
  margin: 2px auto 0;
  object-fit: contain;
}

.odns-family-card {
  border: 1px solid rgba(214, 166, 82, 0.42);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.88);
  box-shadow: 0 10px 24px rgba(56, 79, 65, 0.055);
}

.odns-family-button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--family-green);
  box-shadow: 0 7px 16px rgba(40, 76, 59, 0.16);
  color: var(--family-card) !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.odns-family-button:hover,
.odns-family-button:focus-visible {
  background: #436956;
  transform: translateY(-1px);
}

.odns-family-button-small {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12px;
}

.odns-family-decor,
.odns-family-cta-decor {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
}

/* Hero */
.odns-family-hero {
  position: relative;
  min-height: 570px;
  padding: 24px 0 48px;
}

.odns-family-breadcrumbs {
  display: flex;
  min-height: 24px;
  margin-bottom: 16px;
  align-items: center;
  gap: 9px;
  color: #5f746b;
  font-size: 11px;
  line-height: 1.4;
}

.odns-family-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.odns-family-breadcrumbs a:hover,
.odns-family-breadcrumbs a:focus-visible {
  color: var(--family-green);
  text-decoration: underline;
}

.odns-family-hero-grid {
  display: grid;
  min-height: 472px;
  grid-template-columns: minmax(510px, 0.86fr) minmax(600px, 1.14fr);
  align-items: center;
  gap: 20px;
}

.odns-family-hero-copy {
  position: relative;
  z-index: 3;
  padding-left: 40px;
}

.odns-family-eyebrow {
  margin-bottom: 8px;
  color: var(--family-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

body.odns-family .odns-family-hero-copy h1 {
  margin-bottom: 8px;
  font-size: clamp(4rem, 5.1vw, 4.65rem);
  line-height: 0.98;
  white-space: nowrap;
}

.odns-family-hero-subtitle {
  margin-bottom: 17px;
  color: var(--family-navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.odns-family-hero-copy > p:not(.odns-family-eyebrow, .odns-family-hero-subtitle, .odns-family-values) {
  max-width: 515px;
  margin-bottom: 20px;
  font-size: 15px;
}

.odns-family-values {
  display: flex;
  margin: 18px 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--family-green);
  font-size: 12px;
  font-weight: 500;
}

.odns-family-values i {
  color: var(--family-gold);
  font-style: normal;
}

.odns-family-hero-art {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.odns-family-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 505px;
  object-fit: contain;
}

/* Z czym możecie się zgłosić */
.odns-family-concerns {
  padding-block: 66px 74px;
}

.odns-family-corner-left,
.odns-family-corner-right {
  bottom: -28px;
  width: 250px;
  height: 270px;
  opacity: 0.55;
}

.odns-family-corner-left {
  left: -52px;
}

.odns-family-corner-right {
  right: -48px;
}

.odns-family-concerns-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.odns-family-concern-card {
  position: relative;
  min-width: 0;
  padding: 12px 12px 18px;
  text-align: center;
}

.odns-family-concern-card > img {
  display: block;
  width: 100%;
  height: 165px;
  margin-bottom: 7px;
  object-fit: contain;
}

body.odns-family .odns-family-concern-card h3 {
  margin-bottom: 5px;
  font-size: 1.46rem;
  line-height: 1.05;
}

.odns-family-concern-card p {
  margin-bottom: 0;
  font-size: 11.5px;
  line-height: 1.48;
}

.odns-family-mobile-chevron {
  display: none;
}

/* Panele responsywne */
.odns-family-panel {
  min-width: 0;
}

.odns-family-panel > summary {
  display: none;
}

.odns-family-panel-content {
  min-width: 0;
}

.odns-family-guidance-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(620px, 1.18fr);
  gap: 48px;
}

.odns-family-guidance .odns-family-heading {
  min-height: 103px;
  margin-bottom: 12px;
}

body.odns-family .odns-family-guidance .odns-family-heading h2 {
  font-size: clamp(2.3rem, 3vw, 2.75rem);
}

.odns-family-panel-intro {
  max-width: 500px;
  margin: -2px auto 10px;
  font-size: 13px;
  text-align: center;
}

.odns-family-participants-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.odns-family-participants-grid article {
  min-width: 0;
  text-align: center;
}

.odns-family-participants-grid img {
  display: block;
  width: 100%;
  height: 142px;
  margin-bottom: 5px;
  object-fit: contain;
}

body.odns-family .odns-family-participants-grid h3 {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.15;
}

.odns-family-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.odns-family-process-connector {
  position: absolute;
  z-index: 0;
  top: 51px;
  left: 3%;
  width: 94%;
  height: 34px;
  object-fit: fill;
  opacity: 0.7;
}

.odns-family-process-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.odns-family-process-step > img {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: contain;
}

body.odns-family .odns-family-process-step h3 {
  margin-bottom: 4px;
  font-size: 1.23rem;
  line-height: 1.05;
}

.odns-family-process-step h3 span {
  color: var(--family-green);
}

.odns-family-process-step p {
  margin-bottom: 0;
  font-size: 10.8px;
  line-height: 1.48;
}

/* Rezultaty i system relacji */
.odns-family-results-grid {
  display: grid;
  grid-template-columns: minmax(650px, 1.08fr) minmax(430px, 0.92fr);
  align-items: stretch;
  gap: 34px;
}

.odns-family-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.odns-family-outcome-card {
  min-width: 0;
  padding: 10px 9px 14px;
  text-align: center;
}

.odns-family-outcome-card > img {
  display: block;
  width: 100%;
  height: 125px;
  margin-bottom: 4px;
  object-fit: contain;
}

body.odns-family .odns-family-outcome-card h3 {
  margin-bottom: 4px;
  font-size: 1.22rem;
  line-height: 1.05;
}

.odns-family-outcome-card p {
  margin-bottom: 0;
  font-size: 10.3px;
  line-height: 1.45;
}

.odns-family-relations-card {
  position: relative;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  padding: 24px 28px 8px;
  border: 1px solid rgba(214, 166, 82, 0.32);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.56);
  text-align: center;
}

body.odns-family .odns-family-relations-card .odns-family-heading h2 {
  font-size: clamp(2rem, 2.8vw, 2.45rem);
}

.odns-family-relations-card .odns-family-heading {
  margin-bottom: 0;
}

.odns-family-relations-card p {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin: 0 auto;
  font-size: 12.5px;
}

.odns-family-relations-art {
  display: block;
  width: 108%;
  height: 215px;
  margin: -18px -4% -16px;
  object-fit: contain;
}

/* Specjaliści, FAQ, CTA */
.odns-family-final {
  padding-block: 62px 54px;
}

.odns-family-final-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(450px, 1.13fr) minmax(320px, 0.82fr);
  align-items: stretch;
  gap: 24px;
}

.odns-family-final .odns-family-heading {
  min-height: 92px;
  margin-bottom: 12px;
}

body.odns-family .odns-family-final .odns-family-heading h2 {
  font-size: clamp(2rem, 2.55vw, 2.42rem);
}

.odns-family-final .odns-family-separator {
  width: 205px;
  height: 30px;
}

.odns-family-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.odns-family-team-card {
  min-width: 0;
  padding: 11px 11px 14px;
  text-align: center;
}

.odns-family-team-card > img {
  display: block;
  width: 100%;
  height: 178px;
  margin-bottom: 8px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
}

body.odns-family .odns-family-team-card h3 {
  margin-bottom: 2px;
  font-size: 1.3rem;
  line-height: 1.06;
}

.odns-family-team-card p {
  min-height: 35px;
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1.35;
}

.odns-family-faq-list {
  overflow: hidden;
  border: 1px solid rgba(214, 166, 82, 0.34);
  border-radius: 14px;
  background: rgba(255, 253, 250, 0.88);
}

.odns-family-faq-list details + details {
  border-top: 1px solid rgba(214, 166, 82, 0.3);
}

.odns-family-faq-list summary {
  position: relative;
  padding: 12px 42px 12px 15px;
  color: var(--family-navy);
  cursor: pointer;
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.odns-family-faq-list summary::-webkit-details-marker {
  display: none;
}

.odns-family-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--family-green);
  content: "+";
  font-size: 17px;
  font-weight: 500;
  transform: translateY(-50%);
}

.odns-family-faq-list details[open] summary::after {
  content: "−";
}

.odns-family-faq-list p {
  padding: 0 15px 14px;
  margin-bottom: 0;
  font-size: 11.2px;
  line-height: 1.55;
}

.odns-family-cta {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  padding: 35px 24px;
  border: 1px solid rgba(214, 166, 82, 0.34);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.6);
  text-align: center;
}

.odns-family-cta > div {
  position: relative;
  z-index: 3;
}

body.odns-family .odns-family-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3vw, 2.85rem);
  line-height: 1;
}

.odns-family-cta .odns-family-separator {
  width: 190px;
  height: 31px;
}

.odns-family-cta p {
  max-width: 260px;
  margin: 5px auto 18px;
  font-size: 12px;
}

.odns-family-cta-decor {
  bottom: -15px;
  width: 190px;
  height: 130px;
  opacity: 0.72;
}

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

.odns-family-cta-decor-right {
  right: -52px;
  transform: scaleX(-1);
}

/* 1024 px */
@media (max-width: 1180px) {
  .odns-family-wrap {
    width: calc(100% - 80px);
  }

  .odns-family-hero-grid {
    grid-template-columns: minmax(395px, 0.86fr) minmax(480px, 1.14fr);
    gap: 20px;
  }

  .odns-family-hero-copy {
    padding-left: 10px;
  }

  body.odns-family .odns-family-hero-copy h1 {
    font-size: clamp(3.35rem, 5.55vw, 3.75rem);
  }

  .odns-family-concerns-grid {
    gap: 12px;
  }

  .odns-family-concern-card > img {
    height: 142px;
  }

  body.odns-family .odns-family-concern-card h3 {
    font-size: 1.28rem;
  }

  .odns-family-guidance-grid {
    grid-template-columns: minmax(330px, 0.78fr) minmax(500px, 1.22fr);
    gap: 32px;
  }

  .odns-family-participants-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .odns-family-participants-grid img {
    height: 104px;
  }

  .odns-family-process-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .odns-family-process-connector {
    display: none;
  }

  .odns-family-process-step {
    display: grid;
    min-height: 92px;
    padding: 8px 12px 8px 94px;
    align-content: center;
    border: 1px solid rgba(214, 166, 82, 0.33);
    border-radius: 14px;
    background: rgba(255, 253, 250, 0.68);
    text-align: left;
  }

  .odns-family-process-step > img {
    position: absolute;
    top: 50%;
    left: 8px;
    width: 78px;
    height: 78px;
    margin: 0;
    transform: translateY(-50%);
  }

  .odns-family-results-grid {
    grid-template-columns: 1fr;
  }

  .odns-family-relations-card {
    min-height: 310px;
  }

  .odns-family-relations-art {
    height: 190px;
  }

  .odns-family-final-grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(470px, 1.15fr);
  }

  .odns-family-cta {
    min-height: 175px;
    padding: 30px 180px;
    grid-column: 1 / -1;
  }

  .odns-family-cta p {
    max-width: none;
  }

  .odns-family-cta-decor {
    width: 300px;
    height: 175px;
  }
}

/* Tablet 820 i 768 px */
@media (max-width: 900px) {
  .odns-family-wrap {
    width: calc(100% - 64px);
  }

  .odns-family-section {
    padding-block: 62px;
  }

  .odns-family-hero {
    min-height: 505px;
    padding-bottom: 36px;
  }

  .odns-family-hero-grid {
    min-height: 405px;
    grid-template-columns: minmax(320px, 0.9fr) minmax(350px, 1.1fr);
    gap: 12px;
  }

  body.odns-family .odns-family-hero-copy h1 {
    font-size: clamp(2.72rem, 5.55vw, 2.95rem);
  }

  .odns-family-eyebrow {
    font-size: 10px;
  }

  .odns-family-hero-subtitle {
    font-size: 16px;
  }

  .odns-family-hero-copy > p:not(.odns-family-eyebrow, .odns-family-hero-subtitle, .odns-family-values) {
    font-size: 13.5px;
  }

  .odns-family-hero-art img {
    max-height: 390px;
  }

  body.odns-family .odns-family-heading h2 {
    font-size: clamp(2.15rem, 4.6vw, 2.5rem);
  }

  .odns-family-concerns-grid {
    gap: 8px;
  }

  .odns-family-concern-card {
    padding: 8px 7px 12px;
  }

  .odns-family-concern-card > img {
    height: 112px;
  }

  body.odns-family .odns-family-concern-card h3 {
    font-size: 1.1rem;
  }

  .odns-family-concern-card p {
    font-size: 9.5px;
  }

  .odns-family-guidance-grid {
    grid-template-columns: minmax(280px, 0.8fr) minmax(370px, 1.2fr);
    gap: 24px;
  }

  body.odns-family .odns-family-guidance .odns-family-heading h2 {
    font-size: 2.05rem;
  }

  .odns-family-panel-intro {
    font-size: 11.8px;
  }

  .odns-family-process-step {
    min-height: 83px;
    padding-left: 84px;
  }

  .odns-family-process-step > img {
    width: 68px;
    height: 68px;
  }

  body.odns-family .odns-family-process-step h3 {
    font-size: 1.12rem;
  }

  .odns-family-process-step p {
    font-size: 9.7px;
  }

  .odns-family-outcome-card > img {
    height: 112px;
  }

  .odns-family-final-grid {
    grid-template-columns: minmax(300px, 0.82fr) minmax(375px, 1.18fr);
    gap: 18px;
  }

  .odns-family-team-card > img {
    height: 158px;
  }

  .odns-family-cta {
    padding-inline: 130px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .odns-family-wrap {
    width: calc(100% - 36px);
  }

  .odns-family-section {
    padding-block: 46px;
  }

  .odns-family-hero {
    min-height: 0;
    padding: 16px 0 32px;
    text-align: center;
  }

  .odns-family-breadcrumbs {
    margin-bottom: 14px;
    justify-content: center;
    font-size: 8.5px;
  }

  .odns-family-hero-grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 10px;
  }

  .odns-family-hero-copy {
    padding-left: 0;
  }

  .odns-family-eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  body.odns-family .odns-family-hero-copy h1 {
    margin-bottom: 5px;
    font-size: clamp(2.6rem, 12vw, 3.05rem);
  }

  .odns-family-hero-subtitle {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.35;
  }

  .odns-family-hero-copy > p:not(.odns-family-eyebrow, .odns-family-hero-subtitle, .odns-family-values) {
    max-width: 360px;
    margin: 0 auto 13px;
    font-size: 11px;
    line-height: 1.55;
  }

  .odns-family-button {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 12px;
  }

  .odns-family-values {
    margin-top: 11px;
    justify-content: center;
    gap: 5px;
    font-size: 9px;
  }

  .odns-family-hero-art {
    width: 100%;
  }

  .odns-family-hero-art img {
    width: 100%;
    max-height: 305px;
  }

  body.odns-family .odns-family-heading h2 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
  }

  .odns-family-heading {
    margin-bottom: 18px;
  }

  .odns-family-separator {
    width: 165px;
    height: 28px;
  }

  .odns-family-concerns {
    padding-block: 36px 40px;
  }

  .odns-family-corner-left,
  .odns-family-corner-right {
    display: none;
  }

  .odns-family-concerns-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .odns-family-concern-card {
    display: grid;
    min-height: 70px;
    padding: 7px 12px 7px 7px;
    grid-template-columns: 76px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 9px;
    text-align: left;
  }

  .odns-family-concern-card > img {
    width: 76px;
    height: 58px;
    margin: 0;
  }

  body.odns-family .odns-family-concern-card h3 {
    margin: 0;
    font-size: 1.18rem;
  }

  .odns-family-concern-card p {
    display: none;
  }

  .odns-family-mobile-chevron {
    display: block;
    color: var(--family-green);
    font-size: 22px;
    text-align: right;
  }

  .odns-family-guidance,
  .odns-family-results,
  .odns-family-final {
    padding-block: 28px;
  }

  .odns-family-guidance-grid,
  .odns-family-results-grid,
  .odns-family-final-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .odns-family-panel {
    overflow: hidden;
    border: 1px solid rgba(214, 166, 82, 0.38);
    border-radius: 13px;
    background: rgba(255, 253, 250, 0.78);
  }

  .odns-family-panel > summary {
    display: flex;
    min-height: 48px;
    padding: 11px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--family-navy);
    cursor: pointer;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.1;
    list-style: none;
  }

  .odns-family-panel > summary::-webkit-details-marker {
    display: none;
  }

  .odns-family-panel > summary i {
    color: var(--family-green);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
  }

  .odns-family-panel[open] > summary i {
    transform: rotate(45deg);
  }

  .odns-family-panel > .odns-family-panel-content {
    padding: 2px 12px 14px;
  }

  .odns-family-desktop-heading {
    display: none;
  }

  .odns-family-panel-intro {
    margin: 2px auto 12px;
    font-size: 11px;
  }

  .odns-family-participants-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odns-family-participants-grid img {
    height: 112px;
  }

  .odns-family-process-grid {
    gap: 7px;
  }

  .odns-family-process-step {
    min-height: 78px;
    padding: 8px 8px 8px 78px;
  }

  .odns-family-process-step > img {
    left: 6px;
    width: 64px;
    height: 64px;
  }

  .odns-family-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .odns-family-outcome-card > img {
    height: 110px;
  }

  .odns-family-relations-card {
    min-height: 0;
    padding: 30px 16px 5px;
  }

  body.odns-family .odns-family-relations-card .odns-family-heading h2 {
    font-size: 2rem;
  }

  .odns-family-relations-card p {
    font-size: 10.5px;
  }

  .odns-family-relations-art {
    width: 118%;
    height: 170px;
    margin: -8px -9% -12px;
  }

  .odns-family-final {
    padding-bottom: 32px;
  }

  .odns-family-team-grid {
    gap: 9px;
  }

  .odns-family-team-card > img {
    height: 175px;
  }

  .odns-family-faq-list summary {
    font-size: 10.8px;
  }

  .odns-family-cta {
    min-height: 210px;
    padding: 40px 28px;
    grid-column: auto;
  }

  body.odns-family .odns-family-cta h2 {
    font-size: 2.45rem;
  }

  .odns-family-cta-decor {
    width: 200px;
    height: 125px;
  }
}

@media (max-width: 430px) {
  .odns-family-wrap {
    width: calc(100% - 32px);
  }

  .odns-family-hero-art img {
    max-height: 280px;
  }

  .odns-family-team-card > img {
    height: 158px;
  }
}

@media (max-width: 390px) {
  .odns-family-wrap {
    width: calc(100% - 30px);
  }

  body.odns-family .odns-family-hero-copy h1 {
    font-size: 2.7rem;
  }

  .odns-family-hero-subtitle {
    font-size: 14px;
  }

  .odns-family-concern-card {
    grid-template-columns: 68px minmax(0, 1fr) 18px;
  }

  .odns-family-concern-card > img {
    width: 68px;
    height: 54px;
  }

  .odns-family-panel > summary {
    font-size: 1.28rem;
  }

  .odns-family-team-card > img {
    height: 146px;
  }
}

@media (max-width: 375px) {
  .odns-family-wrap {
    width: calc(100% - 28px);
  }

  .odns-family-values {
    font-size: 8.5px;
  }

  .odns-family-team-grid {
    grid-template-columns: 1fr;
  }

  .odns-family-team-card > img {
    height: 225px;
  }
}

@media (max-width: 360px) {
  body.odns-family .odns-family-hero-copy h1 {
    font-size: 2.55rem;
  }

  .odns-family-hero-art img {
    max-height: 255px;
  }

  body.odns-family .odns-family-concern-card h3 {
    font-size: 1.1rem;
  }
}
