/* ── Specialty pages (Neurología) ─────────────────────────────────────────── */

.specialty-page a:not(.btn):not(.btn-reserva):not(.whatsapp-float):hover,
.specialty-page a:not(.btn):not(.btn-reserva):not(.whatsapp-float):focus {
  color: inherit;
  text-decoration: none;
}

/* Hero */
.specialty-hero {
  min-height: 620px;
}

.specialty-hero .overlay.specialty-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.08) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 1;
}

.specialty-hero__content {
  padding: 4rem 0 3rem;
}

.specialty-hero .slider-text h1.specialty-hero__title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8.5rem;
  text-transform: uppercase;
}

.specialty-hero .slider-text p.specialty-hero__subtitle {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

/* ── Sections 2 & 3: split band (mockup) ─────────────────────────────────── */

.specialty-band {
  background: #fff;
  width: 100%;
}

.specialty-band__inner {
  margin: 0 auto;
  max-width: 1320px;
  padding: 3.75rem 1.25rem;
  width: 100%;
}

.specialty-band--services .specialty-band__inner {
  padding-top: 2.5rem;
  padding-bottom: 3.75rem;
}

.specialty-services__row {
  align-items: stretch;
}

.specialty-services__row > [class*="col-"] {
  display: flex;
}

.specialty-services__media {
  flex-direction: column;
}

.specialty-services__media-frame {
  flex: 1 1 auto;
  min-height: 100%;
  position: relative;
  width: 100%;
}

.specialty-services__media-img {
  background-color: #f3f3f3;
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.specialty-services__media-img--placeholder {
  align-items: center;
  color: #8a8a8a;
  display: flex;
  font-size: 0.95rem;
  justify-content: center;
  min-height: 420px;
  position: relative;
  text-align: center;
}

.specialty-services__content {
  align-items: center;
  background: #fff;
}

.specialty-services__content-inner {
  padding: 3.5rem clamp(1.5rem, 5vw, 5rem);
  width: 100%;
}

.specialty-services__blocks {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.specialty-services__block-title {
  color: #111;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.specialty-services__block-text {
  color: #5a5a5a;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.specialty-band--alert .specialty-band__row {
  gap: 4rem;
}

.specialty-band--alert .specialty-band__inner {
  padding: 0;
}

.specialty-band__row {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
}

.specialty-band__media .specialty-media__frame {
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
  width: 100%;
}

.specialty-band__content {
  color: #404345;
  padding-top: 3.5rem;
}

.specialty-band__title {
  color: #111;
  font-size: clamp(1.65rem, 2vw, 2.125rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.22;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.specialty-band__title-line {
  display: block;
}

.specialty-band__title-line--bold {
  font-weight: 700;
}

.specialty-band__title--alert .specialty-band__title-line {
  color: #4a4a4a;
  font-weight: 400;
}

.specialty-band__title--alert .specialty-band__title-line--bold {
  color: #111;
  font-weight: 700;
}

.specialty-band__title--services,
.specialty-band__title--services .specialty-band__title-line {
  color: #4a4a4a;
}

.specialty-band__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specialty-band__checklist li {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.specialty-band__checklist li:last-child {
  margin-bottom: 0;
}

.specialty-band__check {
  align-items: center;
  background: #c8c8c8;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 1.1rem;
  height: 1.45rem;
  justify-content: center;
  margin-top: 0.2rem;
  width: 1.45rem;
}

.specialty-alert__list {
  margin-top: 0.25rem;
}

.specialty-alert__intro {
  color: #5a5a5a;
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.specialty-alert__item {
  align-items: flex-start;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.specialty-alert__item:last-child {
  margin-bottom: 0;
}

.specialty-alert__icon {
  display: inline-flex;
  flex-shrink: 0;
  height: 3rem;
  margin-top: 0.1rem;
  width: 3rem;
}

.specialty-alert__icon img {
  display: block;
  height: 100%;
  width: 100%;
}

.specialty-alert__text {
  color: #5a5a5a;
  font-size: 1.05rem;
  line-height: 1.6;
}

.specialty-alert__emphasis {
  color: #111;
  font-weight: 600;
}

.specialty-band__service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specialty-band__service-list li {
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.specialty-band__service-list li::before {
  background: #5f5f5f;
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.65em;
  width: 5px;
}

.specialty-band__service-list li:last-child {
  margin-bottom: 0;
}

.specialty-band__service-list strong {
  color: #111;
  font-weight: 700;
}

/* Shared media frame */
.specialty-media__frame {
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.specialty-media__photo {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.specialty-media__frame--placeholder {
  align-items: center;
  background: #ececec;
  border: 1px dashed #bdbdbd;
  color: #7a7a7a;
  display: flex;
  justify-content: center;
}

.specialty-media__placeholder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  text-align: center;
}

.specialty-media__placeholder-icon {
  color: #9a9a9a;
  font-size: 2.5rem;
  line-height: 1;
}

.specialty-media__placeholder-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  max-width: 12rem;
}

/* Shared section spacing */
.specialty-section {
  padding: 3.5rem 0;
  width: 100%;
}

.specialty-staff {
  overflow: visible;
}

/* Staff */
.specialty-staff {
  padding: 3.5rem 0;
}

.specialty-staff__title {
  color: rgba(0, 0, 0, 0.9);
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  font-weight: 700;
  text-transform: uppercase;
}

.specialty-faq__title {
  color: rgba(0, 0, 0, 0.9);
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: none;
}

.specialty-faq {
  padding-top: 0 !important;
}

.specialty-staff__row {
  margin-left: -12px;
  margin-right: -12px;
}

.specialty-staff__row--extra {
  margin-top: 0;
}

.specialty-staff__card {
  margin-bottom: 1.75rem;
}

.specialty-staff__photo-wrap {
  background: linear-gradient(to bottom, #fff 0%, #aad5f2 100%);
  padding: 0.75rem 0.75rem 0;
}

.specialty-staff__photo-wrap .specialty-media__frame {
  aspect-ratio: 4 / 5;
  background: transparent;
}

.specialty-staff__photo-wrap .specialty-media__photo {
  object-fit: contain;
  object-position: center bottom;
}

.specialty-staff__photo-wrap .specialty-media__frame--placeholder {
  background: rgba(255, 255, 255, 0.55);
  border-color: #9ebfd9;
}

.specialty-staff__meta {
  padding: 1rem 0.25rem 0;
  text-align: center;
}

.specialty-staff__meta h3 {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.specialty-staff__meta p {
  color: #767676;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

/* FAQ */
.specialty-faq__accordion .card {
  background: transparent;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  border-radius: 0;
}

.specialty-faq__accordion .card-header {
  background: transparent;
  border: none;
  padding: 0;
}

.specialty-faq__accordion .btn-link {
  align-items: center;
  color: rgba(0, 0, 0, 0.9);
  display: flex;
  font-size: 1.2rem;
  font-weight: 600;
  justify-content: center;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.specialty-faq__accordion .btn-link:hover,
.specialty-faq__accordion .btn-link:focus {
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.specialty-faq__toggle {
  color: rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.specialty-faq__toggle::before {
  content: "+";
}

.specialty-faq__accordion
  .btn-link:not(.collapsed)
  .specialty-faq__toggle::before {
  content: "−";
}

.specialty-faq__accordion .card-body {
  color: #5a5a5a;
  font-size: 1rem;
  line-height: 1.65;
  padding: 0 0 1.25rem;
  text-align: center;
}

.specialty-faq__accordion .card-body p {
  margin-bottom: 0;
}

/* CTA */
.specialty-cta__overlay {
  opacity: 0.65;
}

.specialty-cta__title {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.specialty-cta__detail {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.specialty-cta__note {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.specialty-cta__action {
  margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
  .specialty-band__inner {
    padding: 2.5rem 1rem;
  }

  .specialty-band--alert .specialty-band__inner {
    padding: 0;
  }

  .specialty-services__media-frame {
    flex: none;
    min-height: 320px;
  }

  .specialty-services__media-img--placeholder {
    min-height: 320px;
  }

  .specialty-services__content-inner {
    padding: 2.5rem 1.25rem;
  }

  .specialty-band__row {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .specialty-band__media .specialty-media__frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767.98px) {
  .specialty-hero {
    min-height: 520px;
  }

  .specialty-hero__content {
    padding-top: 3rem;
  }

  .specialty-section {
    padding: 2.5rem 0;
  }

  .specialty-staff {
    padding: 2.5rem 0;
  }

  .specialty-faq {
    padding-bottom: 2.5rem;
    padding-top: 0 !important;
  }
}

/* ── Páginas de especialidad (neurología / neuropediatría) ───────────────── */

.specialty-page--neurologia #doctor-section,
.specialty-page--neuropediatria #doctor-section {
  padding: 2.5em 0 !important;
}

.specialty-staff-section {
  background-color: #f2f2f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.specialty-staff-section__overlay {
  background: rgba(255, 255, 255, -0.3);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.specialty-staff-section__inner {
  position: relative;
  z-index: 1;
}

.specialty-staff-section .heading-section,
.specialty-staff-section .heading-section h2 {
  text-align: center;
}

.specialty-staff-grid .staff {
  height: 100%;
  max-width: 100%;
  width: 100%;
}

.specialty-staff__highlights {
  color: #404345;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  list-style: disc;
  margin: 0.85rem auto 1.15rem;
  max-width: 100%;
  padding-left: 1.15rem;
  text-align: left;
}

.specialty-staff__highlights li + li {
  margin-top: 0.45rem;
}

.specialty-staff__description {
  color: #404345;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  margin: 0.85rem 0 1.15rem;
}

@media (min-width: 992px) {
  .specialty-page--neurologia .top-bar-custom,
  .specialty-page--neuropediatria .top-bar-custom {
    display: none;
  }

  .specialty-page--neurologia .ftco-navbar-light:not(.scrolled),
  .specialty-page--neuropediatria .ftco-navbar-light:not(.scrolled) {
    top: 0;
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
  }

  .specialty-page--neurologia .ftco-navbar-light:not(.scrolled) .navbar-brand,
  .specialty-page--neurologia
    .ftco-navbar-light:not(.scrolled)
    .navbar-nav
    > .nav-item
    > .nav-link,
  .specialty-page--neurologia
    .ftco-navbar-light:not(.scrolled)
    .navbar-nav
    > .nav-item
    > .nav-link
    span,
  .specialty-page--neuropediatria
    .ftco-navbar-light:not(.scrolled)
    .navbar-brand,
  .specialty-page--neuropediatria
    .ftco-navbar-light:not(.scrolled)
    .navbar-nav
    > .nav-item
    > .nav-link,
  .specialty-page--neuropediatria
    .ftco-navbar-light:not(.scrolled)
    .navbar-nav
    > .nav-item
    > .nav-link
    span {
    color: #232222 !important;
  }

  .specialty-page--neurologia .specialty-hero--neurologia,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria {
    min-height: 700px;
    height: 700px;
  }

  .specialty-page--neurologia .specialty-hero--neurologia .slider-text,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria .slider-text {
    height: 700px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .specialty-hero__content,
  .specialty-page--neuropediatria
    .specialty-hero--neuropediatria
    .specialty-hero__content {
    padding: 0;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .overlay.specialty-hero__overlay,
  .specialty-page--neuropediatria
    .specialty-hero--neuropediatria
    .overlay.specialty-hero__overlay {
    display: none;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .slider-text
    h1.specialty-hero__title,
  .specialty-page--neuropediatria
    .specialty-hero--neuropediatria
    .slider-text
    h1.specialty-hero__title {
    font-size: clamp(2.35rem, 3.5vw, 3.5rem);
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .slider-text
    p.specialty-hero__subtitle,
  .specialty-page--neuropediatria
    .specialty-hero--neuropediatria
    .slider-text
    p.specialty-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 31rem;
  }
}

@media (max-width: 991.98px) {
  .specialty-page--neurologia .specialty-hero--neurologia .slider-text,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria .slider-text {
    min-height: 620px;
    padding-top: 2rem;
    padding-bottom: 3rem;
    align-items: center;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .specialty-hero__content,
  .specialty-page--neuropediatria
    .specialty-hero--neuropediatria
    .specialty-hero__content {
    padding-top: 0;
  }
}

/* Overlay mobile (sin div): ::before en neurología y neuropediatría */
@media (max-width: 991.98px) {
  .specialty-page--neurologia .specialty-hero--neurologia,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria {
    isolation: isolate;
    position: relative;
  }

  .specialty-page--neurologia .specialty-hero--neurologia::before,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria::before {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.4) 45%,
      rgba(0, 0, 0, 0.25) 100%
    );
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }

  .specialty-page--neurologia .specialty-hero--neurologia > .container,
  .specialty-page--neuropediatria .specialty-hero--neuropediatria > .container {
    position: relative;
    z-index: 1;
  }
}

/* Neurología hero — mobile (iPhone / ≤767): título e imagen más arriba */
@media (max-width: 767.98px) {
  .specialty-page--neurologia .specialty-hero--neurologia.hero-wrap {
    background-position: center 18% !important;
  }

  .specialty-page--neurologia .specialty-hero--neurologia .slider-text {
    align-items: flex-start !important;
    justify-content: flex-start;
    padding-top: 5.75rem !important;
    padding-bottom: 2rem !important;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .specialty-hero__content {
    padding-top: 0;
    padding-bottom: 1.5rem;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .slider-text
    h1.specialty-hero__title {
    margin-top: 3rem;
    margin-bottom: 10rem;
  }

  .specialty-page--neurologia
    .specialty-hero--neurologia
    .slider-text
    p.specialty-hero__subtitle {
    margin-bottom: 1.25rem;
  }
}

/* ── Servicios médicos: grid de tarjetas (mockup) ─────────────────────────── */

.specialty-services-cards {
  background-color: #f2f2f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 3.5rem 0 !important;
  position: relative;
  width: 100%;
}

.specialty-services-cards__overlay {
  background: rgba(255, 255, 255, 0.3);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.specialty-services-cards__inner {
  position: relative;
  z-index: 1;
}

.specialty-services-cards__header {
  margin: 0 auto 2.5rem;
  max-width: 980px;
  text-align: center;
}

.specialty-services-cards__title {
  color: #4a4a4a;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
}

.specialty-services-cards__intro {
  color: #5a5a5a;
  font-size: 1.25rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.specialty-services-cards__subtitle {
  color: #4a4a4a;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.specialty-services-cards__subtitle--exams {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.specialty-services-cards__conditions {
  color: #5a5a5a;
  column-gap: 3rem;
  display: grid;
  font-size: 1rem;
  grid-template-columns: 1fr 1fr;
  line-height: 1.55;
  list-style-position: inside;
  margin: 0 auto;
  max-width: 860px;
  padding: 0;
  row-gap: 0.7rem;
  text-align: left;
}

.specialty-services-cards__conditions li {
  padding-left: 0.15rem;
}

.specialty-services-cards__grid {
  column-gap: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 4.5rem;
  row-gap: calc(60px + 40px);
}

.specialty-services-cards__grid--three-two {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.specialty-services-cards__grid--three-two .specialty-services-cards__item {
  grid-column: span 2;
}

.specialty-services-cards__grid--three-two
  .specialty-services-cards__item:nth-child(4) {
  grid-column: 2 / 4;
}

.specialty-services-cards__grid--three-two
  .specialty-services-cards__item:nth-child(5) {
  grid-column: 4 / 6;
}

.specialty-services-cards__item {
  display: flex;
  min-width: 0;
}

.specialty-services-cards__card {
  background: #fff;
  border-radius: 28px 0 28px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding: calc(60px + 1.75rem) 1.15rem 1.5rem;
  position: relative;
  text-align: center;
  width: 100%;
}

.specialty-services-cards__badge {
  align-items: center;
  background: #d4e157;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 3.5rem;
  font-weight: 600;
  height: 120px;
  justify-content: center;
  left: 50%;
  line-height: 1;
  position: absolute;
  top: -60px;
  transform: translateX(-50%);
  width: 120px;
}

.specialty-services-cards__item:nth-child(even)
  .specialty-services-cards__badge {
  background: #7ec8e8;
}

.specialty-services-cards__card-title {
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.85rem;
}

.specialty-services-cards__card-text {
  color: #5a5a5a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991.98px) {
  .specialty-services-cards {
    padding: 2.75rem 0 !important;
  }

  .specialty-services-cards__header {
    margin-bottom: 2rem;
  }

  .specialty-services-cards__grid {
    column-gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: calc(60px + 40px);
  }

  .specialty-services-cards__grid--three-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialty-services-cards__grid--three-two .specialty-services-cards__item,
  .specialty-services-cards__grid--three-two
    .specialty-services-cards__item:nth-child(4),
  .specialty-services-cards__grid--three-two
    .specialty-services-cards__item:nth-child(5) {
    grid-column: auto;
  }

  .specialty-services-cards__grid--three-two
    .specialty-services-cards__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 575.98px) {
  .specialty-services-cards__conditions {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .specialty-services-cards__grid {
    column-gap: 0;
    grid-template-columns: 1fr;
    row-gap: calc(60px + 40px);
  }

  .specialty-services-cards__grid--three-two {
    grid-template-columns: 1fr;
  }

  .specialty-services-cards__grid--three-two
    .specialty-services-cards__item:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }

  .specialty-services-cards__card {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
