#serviamx .serviam-pastoral-tab {
  margin: clamp(0.5rem, 1.5vw, 1.25rem) 0;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#serviamx .serviam-pastoral-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

#serviamx .serviam-pastoral-art {
  display: grid;
  min-width: 0;
  min-height: 430px;
  margin: 0;
  place-items: center;
}

#serviamx .serviam-pastoral-art img {
  display: block;
  width: min(100%, 410px);
  height: 430px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  object-position: center;
  box-shadow: none;
}

#serviamx .serviam-pastoral-art figcaption {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
  margin-top: 0.75rem;
  color: #0a4a50;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

#serviamx .serviam-pastoral-art figcaption i {
  color: #f2cf7d;
}

#serviamx .serviam-pastoral-copy {
  min-width: 0;
}

#serviamx .serviam-pastoral-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

#serviamx .serviam-pastoral-eyebrow::before {
  width: 1.5rem;
  height: 2px;
  flex: 0 0 auto;
  background: #e8b84a;
  content: "";
}

#serviamx .serviam-pastoral-copy h2 {
  margin: 0 0 1rem;
  color: #0e2e31;
  font-family: "Figtree", sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

#serviamx .serviam-pastoral-copy h2 span {
  color: #0f766e;
}

#serviamx .serviam-pastoral-lead {
  max-width: 42ch;
  margin: 0 0 0.65rem;
  color: #244c4d;
  font-family: "Figtree", sans-serif;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
}

#serviamx .serviam-pastoral-description {
  max-width: 54ch;
  margin: 0;
  color: #4b6a6c;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

#serviamx .serviam-pastoral-quote {
  position: relative;
  margin: 1.35rem 0 1.15rem;
  padding: 1rem 1.15rem 1rem 1.3rem;
  border-left: 1px solid #e8b84a;
  border-radius: 0 16px 16px 0;
  background: #eef7f5;
}

#serviamx .serviam-pastoral-quote > span {
  position: absolute;
  top: 0.15rem;
  right: 0.9rem;
  color: rgba(15, 118, 110, 0.18);
  font-family: "Figtree", sans-serif;
  font-size: 3.2rem;
  line-height: 1;
}

#serviamx .serviam-pastoral-quote p {
  position: relative;
  margin: 0 0 0.55rem;
  color: #0a4a50;
  font-family: "Figtree", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
}

#serviamx .serviam-pastoral-quote cite {
  color: #4b6a6c;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
}

#serviamx .serviam-pastoral-details {
  margin-top: 0.25rem;
  padding: 0.7rem clamp(0.5rem, 1.5vw, 1rem) 0.5rem;
  border-top: 1px solid rgba(220, 232, 231, 0.8);
}

#serviamx .serviam-pastoral-details-lead {
  max-width: 78ch;
  margin: 0 0 1.8rem;
  color: #0a4a50;
  font-family: "Figtree", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.5;
}

#serviamx .serviam-pastoral-definition {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0.25rem 0.85rem;
  margin-bottom: 1.6rem;
  padding: 0.85rem 0.8rem;
  border: 1px solid #dce8e7;
  border-left: 1px solid #e8b84a;
  border-radius: 0 16px 16px 0;
  background: #f4f9f8;
}

#serviamx .serviam-pastoral-definition-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  grid-row: span 2;
  place-items: center;
  border-radius: 14px;
  color: #0a4a50;
  background: #cdede8;
}

#serviamx .serviam-pastoral-definition p {
  margin: 0;
  color: #0a4a50;
  font-family: "Figtree", sans-serif;
  font-size: 1.08rem;
  line-height: 1.5;
}

#serviamx .serviam-pastoral-definition cite {
  color: #4b6a6c;
  font-size: 0.8rem;
  font-style: normal;
}

#serviamx .serviam-pastoral-details-section-title {
  margin: 0.6rem 0 0.4rem;
  color: #0e2e31;
  font-family: "Figtree", sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
}

#serviamx .serviam-pastoral-elements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

#serviamx .serviam-pastoral-element {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-content: start;
  gap: 0.5rem;
  padding: 0.8rem;
  border: 1px solid #dce8e7;
  border-radius: 16px;
  background: #fff;
}

#serviamx .serviam-pastoral-element-number {
  color: #0f766e;
  font-family: "Figtree", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

#serviamx .serviam-pastoral-element h5 {
  margin: 0 0 0.3rem;
  color: #0a4a50;
  font-family: "Figtree", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

#serviamx .serviam-pastoral-element p {
  margin: 0;
  color: #4b6a6c;
  font-size: 0.88rem;
  line-height: 1.5;
}

#serviamx .serviam-pastoral-element strong {
  color: #0f766e;
}

#serviamx .serviam-pastoral-details-closing {
  margin: 0.9rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: #0a4a50;
  background: #eef7f5;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

#serviamx .serviam-pastoral-details-footer {
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid #dce8e7;
}

#serviamx .serviam-pastoral-details-footer > span {
  color: #4b6a6c;
  font-family: "Figtree", sans-serif;
  font-size: 0.84rem;
}

@media (max-width: 767.98px) {
  #serviamx .serviam-pastoral-tab {
    margin: 0.5rem 0;
    padding: 0.75rem;
  }

  #serviamx .serviam-pastoral-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: clamp(1.1rem, 4vw, 1.75rem);
  }

  #serviamx .serviam-pastoral-art {
    min-height: 0;
    padding: 0.65rem 0.85rem;
  }

  #serviamx .serviam-pastoral-art img {
    width: min(100%, 430px);
    height: clamp(250px, 68vw, 390px);
  }

  #serviamx .serviam-pastoral-copy {
    padding: 0 0.35rem 0.3rem;
  }

  #serviamx .serviam-pastoral-details {
    padding: 0.65rem 0.25rem 0.35rem;
  }

  #serviamx .serviam-pastoral-elements {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  #serviamx .serviam-pastoral-tab {
    padding: 0.6rem;
  }

  #serviamx .serviam-pastoral-panel {
    padding: 1rem 0.4rem;
  }

  #serviamx .serviam-pastoral-art img {
    height: clamp(235px, 78vw, 330px);
  }

  #serviamx .serviam-pastoral-copy h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  #serviamx .serviam-pastoral-definition {
    grid-template-columns: minmax(0, 1fr);
  }

  #serviamx .serviam-pastoral-definition-mark {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #serviamx .serviam-pastoral-tab,
  #serviamx .serviam-pastoral-panel {
    scroll-behavior: auto;
  }
}
