.crio-news,
.crio-news *,
.crio-modal,
.crio-modal * {
  box-sizing: border-box;
}

.crio-news {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: auto;
  color: #022A4C;
  font-family: Montserrat, Arial, sans-serif;
}

.crio-news-viewport {
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 6px 18px #0002;
}

.crio-news-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.crio-news-card {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 65% 35%;
  background: #fff;
  min-height: 585px;
}

.crio-news-info {
  padding: 38px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.crio-news-logo {
    width: 100px;
    height: auto !important;
    object-fit: contain;
    border-radius: 50% !important;
    padding: 15px;
    background: white;
    box-shadow: 0 2px 7px #0003 !important;
    margin-bottom: 19px;
}

.crio-news-title,
.crio-modal h2 {
  color: #022A4C;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 7px;
}

.crio-news-subtitle {
  color: #21BAB8;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 20px;
font-weight:500;
}

.crio-news-excerpt,
.crio-news-known {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 22px;
  color: #022A4C;
}

.crio-news-excerpt p,
.crio-news-known p {
  margin: 0;
}

.crio-news-known strong {
  color: #022A4C;
font-weight:600 !important;
}

.crio-news-more {
    border: 0 !important;
    border-radius: 30px !important;
    background: #21BAB8;
    color: #fff;
    font: 700 13px Montserrat, Arial, sans-serif;
    text-transform: uppercase;
    padding: 10px 23px;
    cursor: pointer;
    margin-top: auto;
}

.crio-news-more:hover,
.crio-news-more:focus-visible {
  background: #168e91;
  color: #fff;
border:0 !important;
}

.crio-news-image {
  min-width: 0;
  overflow: hidden;
}

.crio-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.crio-news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 0 !important;
  border-radius: 50% !important;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 2px 6px #0003;
  cursor: pointer !important;
  padding: 0;
  font-size: 0;
  color: transparent;
  transition: background-color 0.25s ease;
}

.crio-news-prev {
  left: -28px;
  background-image: url('./img/chevron-left.svg');
}

.crio-news-next {
  right: -28px;
  background-image: url('./img/chevron-right.svg');
}

.crio-news-arrow:hover,
.crio-news-arrow:focus-visible {
  background-color: #022A4C;
}

.crio-news-prev:hover,
.crio-news-prev:focus-visible {
  background-image: url('./img/chevron-left-w.svg');
}

.crio-news-next:hover,
.crio-news-next:focus-visible {
  background-image: url('./img/chevron-right-w.svg');
}
.crio-news-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.crio-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: Montserrat, Arial, sans-serif;
  color: #022A4C;
}

.crio-modal.is-open {
  display: flex;
}

.crio-modal-overlay {
  position: absolute;
  inset: 0;
  background: #0009;
}

.crio-modal-container {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 850px);
  background: #fff;
  border-radius: 27px;
  overflow: auto;
  box-shadow: 0 20px 50px #0004;
}

.crio-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 3;
  margin: 12px 15px -55px 0;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #022A4C;
  font-size: 30px;
  line-height: 30px;
  cursor: pointer;
padding: 0;
}

.crio-modal-layout {
  display: grid;
  grid-template-columns: 40% 60%;
}

.crio-modal-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid #a7d8d8;
}

.crio-modal-intro {
  padding: 28px 29px 14px;
}

.crio-modal-intro .crio-news-excerpt,
.crio-modal-intro .crio-news-known {
  font-size: 16px;
}

.crio-modal-image {
  margin-top: auto;
  height: 185px;
  overflow: hidden;
}

.crio-modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crio-modal-right {
  padding: 54px 20px 24px 15px;
}

.crio-modal-section {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 17px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.25;
}

.crio-modal-section h3 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 7px;
    color: #022A4C;
    font-weight: 600;
}

.crio-modal-section p {
  margin: 0;
}

.crio-modal-section a {
  display: block;
  color: #21BAB8;
  text-decoration: none;
}

.crio-modal-icon {
 display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  box-shadow: 0 2px 5px #0003;
  color: #21BAB8;
  font-size: 31px;
  overflow: hidden;
}

.crio-modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.crio-modal-extra {
  margin-left: 87px;
  font-size: 16px;
  line-height: 1.5;
}

.crio-modal-extra img {
  max-width: 100%;
  height: auto;
}

.crio-modal-loader {
  padding: 60px;
  text-align: center;
}

body.crio-modal-open {
  overflow: hidden;
}

.crio-modal-section-content ul,
.crio-modal-section-content ol {
  margin: 6px 0 0;
  padding-left: 20px;
}

.crio-modal-section-content p + p {
  margin-top: 8px;
}


.crio-modal-section-content a {
  overflow-wrap: anywhere;
  color: #20afb0;
  text-decoration: none !important;
}

.crio-modal-section-content a::after {
content: "↗";
  margin-left: 4px;
font-size: 16px;
    font-family: monospace;
    line-height: 1.5;
  display: inline-block;
  transform: translateY(-1px);
}

.crio-modal-section-content a:hover {
  transform: translateX(3px);
}

.crio-modal-section-content ul{
  list-style: none;
  padding: 0;
}

.crio-modal-section-content li {
  position: relative;
  padding-left: 22px;
padding-bottom: 5px;
}

.crio-modal-section-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 12px;
  background: url("./img/tik.svg") center / contain no-repeat;
}

/* Separación entre párrafos y saltos del resumen enriquecido. */
.crio-news-excerpt p + p {
  margin-top: 1em;
}

.crio-news-excerpt p {
  white-space: pre-line;
}

@media (max-width: 767px) {
  .crio-news {
    padding: 0;
  }

  .crio-news-card {
    display: flex;
    flex-direction: column-reverse;
  }

  .crio-news-image {
    height: 240px;
    flex: none;
  }

  .crio-news-info {
    padding: 24px 36px;
    min-height: 350px;
  }

  .crio-news-arrow {
    width: 40px;
    height: 40px;
  }

  .crio-news-prev {
    left: -16px;
  }

  .crio-news-next {
    right: -16px;
  }

  .crio-modal {
    padding: 12px;
  }

  .crio-modal-layout {
    display: block;
  }

  .crio-modal-intro {
    padding: 25px;
  }

  .crio-modal-left {
    border-right: 0;
  }

  .crio-modal-right {
    padding: 25px;
  }

  .crio-modal-section {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .crio-modal-icon {
    width: 44px;
    height: 44px;
    font-size: 23px;
  }

  .crio-modal-extra {
    margin-left: 0;
  }

  .crio-modal-close {
    margin: 8px 8px -44px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crio-news-track {
    transition: none;
  }
}