/*@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");*/

/********** Template CSS **********/
:root {
  --primario: #009fe3;
  --secundario: #0dcfc9;
  --terciario: #d6d2f0;
  --cuatro: #003d5b;
  --cinco: #e6fafc;
  --seis: #b2a8d3;
  --white: #fff;
  --light: #f5f5f5;
  --dark: #333333;
  --sales: #ffc107;
  --greenCTA: #42d697;
}

body {
  color: var(--primario);
  font-family: "Open Sans";
}

.deco-0 {
  text-decoration: none !important;
}

a {
  text-decoration: none !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

/* TEXTO PALETA DE COLORES */
.text-primario {
  color: var(--primario) !important;
}

.text-secundario {
  color: var(--secundario) !important;
}

.text-terciario {
  color: var(--terciario) !important;
}

.text-cuatro {
  color: var(--cuatro) !important;
}

.text-cinco {
  color: var(--cinco) !important;
}

.text-seis {
  color: var(--seis) !important;
}

.text-sales {
  color: var(--sales) !important;
}

.text-greenCTA {
  color: var(--greenCTA) !important;
}

/* FONDO PALETA DE COLORES */
.bg-primario {
  background-color: var(--primario) !important;
}

.bg-secundario {
  background-color: var(--secundario) !important;
}

.bg-terciario {
  background-color: var(--terciario) !important;
}

.bg-cuatro {
  background-color: var(--cuatro) !important;
}

.bg-cinco {
  background-color: var(--cinco) !important;
}

.bg-seis {
  background-color: var(--seis) !important;
}

.bg-sales {
  background-color: var(--sales) !important;
}

.bg-greenCTA {
  background-color: var(--greenCTA) !important;
}

/* BOTONES FLOTANTES  */

.float-wsp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float-wsp {
  margin-top: 14px;
}

.float-wsp:hover {
  color: #fff;
  transition: 0.2s;
}

.float-insta {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 160px;
  right: 25px;
  background: #ea0c5f;
  background: linear-gradient(0deg, #f6ba00 0%, #c0007a 100%);
  color: #ffffffe2;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float-insta {
  margin-top: 16px;
}

.float-insta:hover {
  color: #fff;
  transition: 0.2s;
}

.float-phone {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 230px;
  right: 25px;
  background-color: var(--cuatro);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 27px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float-phone {
  margin-top: 18px;
}

.float-wsp:hover {
  -webkit-animation: headShake 1s;
  animation: headShake 1s;
}

.float-insta:hover {
  -webkit-animation: headShake 1s;
  animation: headShake 1s;
}

.float-phone:hover {
  -webkit-animation: headShake 1s;
  animation: headShake 1s;
}

/* ======================================================= */
/* ========== PAGINAS DE ERRORES Y DESARROLLO ============ */

/* ERROR 404 Y 500 */
.error-404 {
  min-height: 77vh;
}

.a-error {
  color: #4380b4;
}

.icon-404 {
  width: 22px !important;
  height: 22px !important;
  margin-left: 2px;
  margin-bottom: 4px;
}

.img-error {
  width: 100%;
}

/* ======== FIN PAGINAS DE ERRORES Y DESARROLLO =========== */
/* ======================================================== */

/*** Back to top ***/

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 500;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.img-spinner {
  width: 9rem;
  height: 9rem;
}

/*** Button ***/
.boton_primario {
  display: inline-block;
  transition: all 0.2s ease-in;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 18px;
  text-align: center;
  border-radius: 0.5em;
  background: var(--primario);
  border: 1px solid var(--primario);
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.boton_primario:active {
  color: #666;
  box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.boton_primario:before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(1) scaleX(1.25);
  top: 100%;
  width: 140%;
  height: 180%;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.boton_primario:after {
  content: "";
  position: absolute;
  left: 55%;
  transform: translateX(-50%) scaleY(1) scaleX(1.45);
  top: 180%;
  width: 160%;
  height: 190%;
  background-color: var(--secundario);
  border-radius: 50%;
  display: block;
  transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
  z-index: -1;
}

.boton_primario:hover {
  color: #ffffff;
  border: 1px solid var(--secundario);
}

.boton_primario:hover:before {
  top: -35%;
  background-color: var(--secundario);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.boton_primario:hover:after {
  top: -45%;
  background-color: var(--secundario);
  transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 0;
  bottom: 0;
  border-radius: 35px;
  transition: 0.5s;
  z-index: -1;
}

.icon-box-primary::before {
  background: var(--secundario);
}

.icon-box-light::before {
  background: var(--bs-light);
}

/*** Brand ***/

.logo-brand {
  width: 3rem;
}

/*** Navbar ***/
.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 20px 0;
  color: var(--bs-dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primario);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .sticky-top {
    margin-top: -34px;
  }

  .navbar {
    height: 68px;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.navbar-brand {
  width: 150px;
}

/*** Header ***/
@media (min-width: 992px) {

  .header-carousel,
  .page-header {
    margin-top: -34px;
  }
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(3, 27, 78, 0.3);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--primario);
  border: 15px solid var(--primario);
}

@media (max-width: 767.98px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonial.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--bs-white);
}

/* Separador */
.separador-blanco {
  position: relative;
  background: var(--white);
}

.separador-blanco::after {
  content: "";
  position: absolute;
  right: 0;
  left: -0%;
  z-index: 10;
  display: block;
  height: 15px;
  background-size: 15px 100%;
  background-image: linear-gradient(135deg, #fff 25%, transparent 25%),
    linear-gradient(225deg, #fff 25%, transparent 25%);
  background-position: 0 0;
}

.separador-secundario {
  position: relative;
  background: var(--primario);
}

.separador-secundario::after {
  content: "";
  position: absolute;
  right: 0;
  left: -0%;
  top: 100%;
  z-index: 10;
  display: block;
  height: 15px;
  background-size: 15px 100%;
  background-image: linear-gradient(135deg, #009fe3 25%, transparent 25%),
    linear-gradient(225deg, #009fe3 25%, transparent 25%);
  background-position: 0 0;
}

/*** Servicios ***/
.servicios-row {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-block: 2.5rem;
}

.servicios-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-inline: 3rem;
  width: 100%;
  min-height: 20rem;
  color: var(--white);
  border: none;
  border-radius: 1rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.servicios-item::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  content: "";
  z-index: 5;
}

.servicios-item-desc,
.servicios-item-cta {
  position: relative;
  z-index: 10;
}

.servicios-item-cta a {
  padding: 1rem 2rem;
  background-color: var(--primario);
  color: var(--white);
  border-radius: 0.5rem;
}

.bg-cpap {
  background-image: url(../img/bg-servicios/bg-cpap.webp);
}

.bg-poligrafia {
  background-image: url(../img/bg-servicios/bg-poligrafia.webp);
}

.bg-oxigenoterapia {
  background-image: url(../img/bg-servicios/bg-oxigenoterapia.webp);
}

.bg-consulta {
  background-image: url(../img/bg-servicios/bg-consulta.webp);
}

@media (max-width: 992px) {
  .servicios-row {
    grid-template-columns: 1fr;
  }

  .servicios-item {
    padding-inline: 1.5rem;
    height: 25rem !important;
  }
}

/*** Como trabajamos ***/
.container-comotrabajamos {
  position: relative;
}

.container-comotrabajamos::before {
  position: absolute;
  content: "";
  background: var(--bs-light);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
  z-index: -1;
}

.comotrabajamos-item {
  position: relative;
  height: 100%;
  padding: 45px 30px;
  background: var(--bs-white);
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.05);
}

.comotrabajamos-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  transition: 0.5s;
  background: var(--primario);
}

.comotrabajamos-item:hover::before {
  height: 100%;
  top: 0;
}

.comotrabajamos-item * {
  position: relative;
  transition: 0.5s;
  z-index: 1;
}

.comotrabajamos-item:hover h5,
.comotrabajamos-item:hover p {
  color: var(--bs-white);
}

.comotrabajamos-item:hover .icon-box-primary::before {
  background: var(--bs-dark);
}

.comotrabajamos-item:hover .icon-box-primary i {
  color: var(--bs-white) !important;
}

/* Regiones Examen */
.regiones-examen-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-inline: auto;
  padding: 2rem 3rem;
  gap: 5rem;
  background-color: var(--primario);
  border-radius: 3rem;
}

.regiones-examen-desc {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
  color: var(--white);
  text-align: center;
}

.regiones-examen-desc img {
  margin-inline: auto;
  margin-bottom: 1rem;
  width: 10rem;
  height: auto;
}

.regiones-examen-desc span {
  font-size: 1.25rem;
  font-weight: 500;
}

.regiones-examen-desc a {
  padding-block: 1rem;
  background-color: var(--white);
  color: var(--primario);
  text-align: center;
  border-radius: 0.5rem;
}

.regiones-examen-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 0.5rem;
  text-align: center;
}

.regiones-examen-list a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
}

.regiones-examen-list a:hover {
  text-decoration: underline !important;
}

@media (max-width: 992px) {
  .regiones-examen-container {
    grid-template-columns: 1fr;
  }
}

/*** Catalogo ***/
.boton_catalogo {
  border-radius: 4px !important;
  border-color: var(--dark) !important;
}

/*** Testimonial ***/
.testimonios {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/testimonios.jpg) left center no-repeat;
  background-size: cover;
}

.testimonios-item {
  margin: 1rem 1.5rem;
  padding: 2rem;
  border-radius: 3rem;
  box-shadow: 1px 1px 15px rgb(0, 0, 0, 0.15);
}

.testimonios-item img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 60px;
}

.testimonios-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}

.testimonios-carousel .owl-nav .owl-prev,
.testimonios-carousel .owl-nav .owl-next {
  margin-left: 15px;
  color: var(--primario);
  font-size: 30px;
  line-height: 0;
  transition: 0.5s;
}

.testimonios-carousel .owl-nav .owl-prev:hover,
.testimonios-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

/*** Footer ***/
.footer {
  color: #999999;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #999999;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #999999;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .copyright a:hover {
  color: var(--primary);
}

/* Comuna Servicios */
.comunas-servicios-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-block: 1rem 5rem;
  padding: 2rem 4rem;
  row-gap: 2rem;
  border: 1px solid var(--primario);
  border-radius: 1rem;
}

.comunas-servicios-container h2 {
  font-size: 1.5rem;
  text-align: center;
}

.comunas-servicios-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
}

.comunas-servicios-list span {
  color: var(--cuatro);
  font-weight: 600;
}

.comunas-servicios-container p {
  color: var(--dark);
  text-align: center;
  font-weight: 500;
}

.comunas-servicios-container p a {
  color: var(--primario);
  text-decoration: underline !important;
}

.comunas-servicios-list a:hover {
  text-decoration: underline !important;
}

/* OXIGENOTERAPIA */
/* Estilos para dispositivos móviles */
@media (max-width: 576px) {
  .my-custom-order {
    order: -1;
  }

  .my-custom-order-lg {
    order: 2;
  }
}

@media (max-width: 769px) {
  .my-custom-order {
    order: -1;
  }

  .my-custom-order-lg {
    order: 2;
  }
}

.banner-vertical {
  background-color: yellowgreen;
  background-image: linear-gradient(135deg, #fff 50%, transparent 50%),
    linear-gradient(225deg, #fff 50%, transparent 50%),
    linear-gradient(45deg, #fff 50%, transparent 50%),
    linear-gradient(-45deg, #fff 50%, transparent 50%);
  background-position: top left, top left, bottom left, bottom left;
  background-size: 12px 12px;
  background-repeat: repeat-x;
}

/* POLIGRAFIA RESPIRATORIA */
.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url("../img/carrusel/hero.webp") center center no-repeat;
  background-size: cover;
}

#faq .accordion-button:not(.collapsed) {
  background-color: var(--primario) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  padding-block: 50px;
  transition: 0.2s;
}

/* apnea del sueno */
ul.i-list {
  padding-left: 0;
  list-style: none;
}

ul.i-list .list-title {
  display: inline-block;
  position: absolute;
}

ul.i-list li {
  padding: 2px 0px;
}

ul.i-list i.fa {
  margin-right: 7px;
}

ul.i-list .list-item {
  margin-top: 3px;
  display: inline-block;
}

ul.i-list.filled i.fa {
  color: white;
  font-size: 9px;
  padding: 5px;
  border-radius: 50%;
}

ul.e-icon-list.filled li {
  padding: 2px 0px;
  line-height: 24px;
}

ul.i-list.underline li {
  padding: 6px 0px;
  border-bottom: 1px solid #eee;
}

ul.i-list.medium li {
  padding-bottom: 25px;
  position: relative;
}

ul.i-list.medium .icon {
  margin-right: 25px;
  color: white;
  font-size: 25px;
  text-align: center;
  line-height: 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

ul.i-list.medium .icon i.fa {
  margin: 0;
}

ul.i-list.medium.bordered .icon {
  background: white;
  color: inherit;
  border: 2px solid #8fc135;
  font-size: 26px;
  color: #8fc135;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

ul.i-list.medium .list-item {
  text-transform: uppercase;
}

ul.i-list.large .icon {
  margin-right: 30px;
  background: #d0d0d0;
  color: white;
  font-size: 30px;
  text-align: center;
  line-height: 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

ul.i-list.large .icon i.fa {
  margin: 0;
}

ul.i-list.large.bordered .icon {
  background: inherit;
  color: inherit;
  border: 2px solid #8fc135;
  font-size: 30px;
  color: #8fc135;
}

ul.i-list.large .list-item {
  text-transform: uppercase;
}

ul.i-list .icon {
  float: left;
}

ul.i-list.right {
  text-align: right;
}

ul.i-list.right .icon {
  float: right;
}

ul.i-list.right .icon {
  float: right;
  margin-right: 0;
  margin-left: 25px;
}

ul.i-list.large.right .icon {
  float: right;
  margin-right: 0;
  margin-left: 30px;
}

ul.i-list.large li {
  margin-bottom: 25px;
}

ul.i-list .icon-content {
  overflow: hidden;
}

ul.i-list .icon-content .title {
  margin-top: 5px;
  margin-bottom: 10px;
}

.left-line .iconlist-timeline {
  left: auto;
  right: 35px;
}

.iconlist-timeline {
  position: absolute;
  top: 1%;
  left: 32px;
  width: 1px;
  height: 99%;
  border-right-width: 1px;
  border-right-style: dashed;
  height: 100%;
  border-color: #ccc;
}

.icon {
  background-color: #0cb4ce;
}

.testimonial-two,
.exp-separator-inner {
  border-color: #0cb4ce;
}

.exp-separator {
  border-color: #0cb4ce;
  border-top-width: 2px;
  margin-top: 10px;
  margin-bottom: 2px;
  width: 100%;
  max-width: 55px;
  border-top-style: solid;
  height: auto;
  clear: both;
  position: relative;
  z-index: 11;
}

.section-sub-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: Poppins;
}

.section-title h1 {
  font-size: 32px;
  font-weight: 600;
  margin-top: 0.45em;
  margin-bottom: 0.35em;
  color: #303133;
  letter-spacing: -0.02em;
}

.pb-20 {
  padding-bottom: 20px !important;
}

.text-center {
  text-align: center !important;
}

.center-separator .exp-separator-inner,
.center-separator.exp-separator {
  margin-left: auto;
  margin-right: auto;
}

.sintomas-icons {
  width: 100px;
}

/*** STOP BANG ***/
.stop-bang-logo {
  width: 150px !important;
}

/* BLOG */
/* Estilos para el artículo */
.blog-article {
  background-color: #f8f9fa;
  border-radius: 0.125rem;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Imagen del artículo */
.post-img {
  width: 100%;
  overflow: hidden;
}

.img-custom {
  width: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

/* Cuerpo del artículo */
.article-body {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0;
  height: 100%;
}

.title {
  font-size: 1.25rem;
}

.article-link {
  text-decoration: none;
  color: var(--primario);
}

.article-link:hover {
  text-decoration: underline;
}

/* Metadatos */
.meta-top ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
  padding: 0;
  gap: 0.5rem;
  list-style: none;
}

.meta-top li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.meta-top li i {
  margin-right: 0.25rem;
}

/* Contenido del artículo */
.article-content {
  flex: 1;
  font-size: 0.875rem;
  color: var(--dark);
}

/* Botón personalizado */
.btn-custom {
  display: inline-block;
  padding: 10px 15px;
  background-color: var(--primario);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #0056b3;
}

/* Recientes */
.search-container {
  position: relative;
  width: 100%;
  border-radius: 50px;
  background: linear-gradient(135deg,
      rgb(218, 232, 247) 0%,
      rgb(214, 229, 247) 100%);
  display: flex;
  align-items: center;
}

.search-container::after,
.search-container::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: absolute;
}

.search-container::before {
  top: -1px;
  left: -1px;
  background: linear-gradient(0deg,
      rgb(218, 232, 247) 0%,
      rgb(255, 255, 255) 100%);
  z-index: -1;
}

.search-container::after {
  bottom: -1px;
  right: -1px;
  background: linear-gradient(0deg,
      rgb(163, 206, 255) 0%,
      rgb(211, 232, 255) 100%);
  box-shadow: rgba(0, 159, 227, 0.7019607843) 3px 3px 5px 0px,
    rgba(0, 159, 227, 0.7019607843) 5px 5px 20px 0px;
  z-index: -2;
}

.input {
  padding: 10px;
  width: 100%;
  background: linear-gradient(135deg,
      rgb(218, 232, 247) 0%,
      rgb(214, 229, 247) 100%);
  border: none;
  color: #9ebcd9;
  font-size: 20px;
  border-radius: 50px;
}

.input:focus {
  outline: none;
  background: linear-gradient(135deg,
      rgb(239, 247, 255) 0%,
      rgb(214, 229, 247) 100%);
}

.search__icon {
  width: 50px;
  aspect-ratio: 1;
  border-left: 2px solid white;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 50%;
  padding-left: 12px;
  margin-right: 10px;
}

.search__icon:hover {
  border-left: 3px solid white;
}

.search__icon path {
  fill: white;
}

/* Detalle Blog */
.post-img {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  color: var(--white);
}

#blog-content p,
a {
  color: var(--dark);
}

/* Page Generator */
#pagegen-carousel .carousel-item {
  height: 70vh;
}

#pagegen-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  #pagegen-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #pagegen-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Mapa de regiones */
.region {
  fill: var(--secundario) !important;
  stroke: var(--dark);
  stroke-width: 1;
  transition: fill 0.3s;
}

.region path:hover {
  fill: var(--white);
}

/* Banner Telemedicina */
#banner-telemedicina {
  margin-block: 1rem;
}

.banner-telemedicina {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url("../img/apnea/banner-telemedicina.webp");
  background-size: cover;
  background-position: center;
  padding: 2rem;
  min-height: 20rem;
  border-radius: 1rem;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.15);
}

.banner-telemedicina::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
      rgba(0, 61, 91, 1),
      rgba(0, 61, 91, .1));
}

.banner-telemedicina>* {
  position: relative;
  color: var(--white);
  z-index: 2;
}

.banner-telemedicina-cta {
  display: flex;
  column-gap: 1rem;
  margin-top: 1rem;
}

.banner-telemedicina-cta a {
  padding: 0.5rem 1rem;
  color: var(--white);
  border-radius: 0.5rem;
}

.banner-telemedicina-cta a:nth-child(1) {
  background-color: var(--dark);
}

.banner-telemedicina-cta a:nth-child(2) {
  background-color: var(--primario);
}


/* Whitelist S11 */
#whitelist-s11 {
  padding-block: 3rem;
}

.whitelist-s11-banner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg,
      rgb(6, 35, 66),
      rgb(33, 132, 185));
  color: var(--white);
  border: 1px solid var(--primario);
  border-radius: 2rem;
}

.whitelist-s11-banner-desc h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.whitelist-s11-banner-desc a {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--primario);
  color: var(--white);
  text-decoration: none;
  border-radius: 2rem;
}

.whitelist-s11-banner-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.whitelist-s11-banner-img img {
  /* width: 250px; */
  border-radius: 50%;
}



@media (max-width: 767.98px) {
  .whitelist-s11-banner {
    text-align: center;
  }
}