/*
    - Name: "featured_content.scss"
    - Description: "Add custom styles to Featured Content component"
*/
.micon.iconXs {
  width: var(--sizeXs);
  height: var(--sizeXs);
}

.micon.iconSm {
  width: var(--sizeSm);
  height: var(--sizeSm);
}

.micon.iconMd {
  width: var(--sizeMd);
  height: var(--sizeMd);
}

.micon.iconLg {
  width: var(--sizeLg);
  height: var(--sizeLg);
}

.micon.iconXl {
  width: var(--sizeXl);
  height: var(--sizeXl);
}

.micon.icon2xl {
  width: var(--size2xl);
  height: var(--size2xl);
}

.component-procedure-reference {
  display: flex;
  flex-direction: column;
  gap: var(--spacingSm);
  padding: var(--spacingSm);
  border: var(--spacing4xs) solid var(--colorGreys500);
  position: relative;
  box-sizing: border-box;
  height: 100%;
  container-name: procedure-container;
  container-type: inline-size;
}

.component-procedure-reference .field-title {
  font-family: var(--desktopH4BoldFontFamily), sans-serif;
  font-weight: var(--desktopH4BoldFontWeight);
  font-size: var(--mobileH4BoldFontWeight);
  line-height: var(--mobileH4BoldLineHeight);
  text-align: left;
  padding-right: var(--spacingLg);
}

@media all and (min-width: 62rem) {
  .component-procedure-reference .field-title {
    font-size: var(--desktopH4BoldFontSize);
    line-height: var(--desktopH4BoldLineHeight);
  }
}
.component-procedure-reference .field-title .micon {
  position: absolute;
  top: var(--spacingSm);
  right: var(--spacingSm);
}

.component-procedure-reference .field-title .micon:hover {
  color: var(--colorPrimaryDefault);
}

.component-procedure-reference .call-state-reference {
  display: flex;
  gap: var(--spacingLg);
  align-items: center;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
}

.component-procedure-reference .call-state-reference .field-reference {
  color: var(--colorGreys600);
  font-size: var(--smallDefaultFontSize);
}

.component-procedure-reference .call-state-reference .field-requiere {
  font-size: var(--smallDefaultFontSize);
}

@container procedure-container (max-width: 312px) {
  .component-procedure-reference .call-state-reference {
    gap: var(--spacingXs);
    flex-direction: column;
    align-items: self-start;
  }
}
.component-procedure-reference .field-status {
  display: flex;
  align-items: center;
  font-family: var(--smallBoldFontFamily), sans-serif;
  font-size: var(--xsmallDefaultFontSize);
  font-weight: var(--smallBoldFontWeight);
  line-height: var(--xsmallDefaultLineHeight);
  text-align: left;
  width: -moz-max-content;
  width: max-content;
}

@media all and (min-width: 62rem) {
  .component-procedure-reference .field-status {
    font-size: var(--smallBoldFontSize);
    line-height: var(--smallBoldLineHeight);
  }
}
.component-procedure-reference .field-status .closed .micon,
.component-procedure-reference .field-status .future_open .micon,
.component-procedure-reference .field-status .off_time .micon,
.component-procedure-reference .field-status .on_time .micon {
  width: var(--sizeMd);
  height: var(--sizeMd);
}

.component-procedure-reference .field-status .future_open,
.component-procedure-reference .field-status .off_time,
.component-procedure-reference .field-status .closed,
.component-procedure-reference .field-status .on_time {
  display: flex;
  align-items: center;
  gap: var(--spacing2xs);
}

.component-procedure-reference .field-status .future_open .micon,
.component-procedure-reference .field-status .off_time .micon,
.component-procedure-reference .field-status .closed .micon,
.component-procedure-reference .field-status .on_time .micon {
  border-radius: 50%;
  width: var(--sizeMd);
  height: var(--sizeMd);
}

.component-procedure-reference .field-status .on_time,
.component-procedure-reference .field-status .date-future-close {
  color: #126B30;
}

.component-procedure-reference .field-status .on_time .micon,
.component-procedure-reference .field-status .date-future-close .micon {
  fill: #126B30;
  stroke: #126B30;
}

.component-procedure-reference .field-status .off_time {
  color: var(--validationSummaryColorInfoTitle);
}

.component-procedure-reference .field-status .off_time .micon {
  fill: var(--validationSummaryColorInfoTitle);
  stroke: var(--validationSummaryColorInfoTitle);
}

.component-procedure-reference .field-status .future_open, .component-procedure-reference .field-status .date-future-open {
  color: var(--validationSummaryColorWarningTitle);
}

.component-procedure-reference .field-status .future_open .micon, .component-procedure-reference .field-status .date-future-open .micon {
  fill: var(--validationSummaryColorWarningTitle);
}

.component-procedure-reference .field-status .closed {
  color: var(--colorFeedbackError);
}

.component-procedure-reference .field-status .closed .micon {
  fill: var(--colorFeedbackError);
  stroke: var(--colorFeedbackError);
}

.component-procedure-reference .field-description {
  font-family: var(--baseDefaultFontFamily), sans-serif;
  font-size: var(--smallDefaultFontSize);
  font-weight: var(--baseDefaultFontWeight);
  line-height: var(--smallDefaultLineHeight);
  text-align: left;
}

.component-procedure-reference .field-description a {
  position: relative;
  z-index: 1;
  font-size: var(--linkBaseFontSize);
  font-weight: var(--linkBaseFontWeight);
  line-height: var(--linkBaseLineHeight);
  text-decoration: none;
  color: var(--linkColorDefault);
}

.component-procedure-reference .field-description a:hover {
  -webkit-text-decoration: var(--linkHoverTextDecoration);
          text-decoration: var(--linkHoverTextDecoration);
  color: var(--linkColorHover);
}

.component-procedure-reference .field-description a:visited {
  color: var(--linkColorVisited);
}

.component-procedure-reference .field-description p {
  margin: var(--spacing2xs) 0;
}

.component-procedure-reference .field-description p:first-child {
  margin-top: 0;
}

@media all and (min-width: 62rem) {
  .component-procedure-reference .field-description {
    font-size: var(--baseDefaultFontSize);
    line-height: var(--baseDefaultLineHeight);
  }
}
.component-procedure-reference .field-description ol li::marker {
  font-weight: 600;
}

.component-procedure-reference .field-description .list-style-type.lower-alpha, .component-procedure-reference .field-description .lower-alpha.list-style-type {
  list-style-type: lower-alpha;
}

.paragraph--type--process-reference .heading {
  font-family: var(--desktopH2BoldFontFamily), sans-serif;
  font-size: var(--mobileH2BoldFontSize);
  font-weight: var(--desktopH2BoldFontWeight);
  line-height: var(--mobileH2BoldLineHeight);
  text-align: left;
  margin-bottom: var(--spacingSm);
}

@media all and (min-width: 62rem) {
  .paragraph--type--process-reference .heading {
    font-size: var(--desktopH2BoldFontSize);
    line-height: var(--desktopH2BoldLineHeight);
  }
}
.paragraph--type--process-reference .splide {
  display: flex;
  flex-direction: column;
  gap: var(--spacingMd);
  position: static;
  visibility: visible;
}

.paragraph--type--process-reference .splide.is-initialized:not(.is-active) .splide__list {
  display: flex;
}

.paragraph--type--process-reference .splide__arrows {
  justify-content: flex-end;
}

@media all and (min-width: 50.0625rem) {
  .paragraph--type--process-reference .splide__arrows {
    display: none;
  }
}
.paragraph--type--process-reference .splide__arrow {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  align-self: center;
  width: var(--sizeLg);
  height: var(--sizeLg);
  margin-left: var(--spacingSm);
  border: none;
}

@media all and (min-width: 50.0625rem) {
  .paragraph--type--process-reference .splide__arrow {
    border: 2px solid var(--colorBlack);
  }
}
@media all and (max-width: 50.0625rem) {
  .paragraph--type--process-reference .splide__track {
    padding: 0 1.375rem !important;
  }
}
@media all and (max-width: 50.0625rem) {
  .paragraph--type--process-reference .splide__list {
    padding-right: 15% !important;
  }
}
.paragraph--type--process-reference .splide__slide {
  padding-left: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
}

.paragraph--type--process-reference .splide .procedure-references {
  flex-wrap: nowrap;
}

@media all and (min-width: 50.0625rem) {
  .paragraph--type--process-reference .splide .procedure-references {
    flex-wrap: wrap;
  }
}
.paragraph--type--process-reference .procedure-references {
  display: flex;
  flex-wrap: wrap;
  row-gap: var(--spacingMd);
  -moz-column-gap: var(--spacingMd);
       column-gap: var(--spacingMd);
}

.paragraph--type--process-reference .procedure-references .field--name-procedure-reference {
  width: 100%;
}

.paragraph--type--process-reference .procedure-references .field--name-procedure-reference .views-element-container {
  height: 100%;
  position: relative;
}

.paragraph--type--process-reference .procedure-references .field--name-procedure-reference .views-element-container .view-pg-process-reference {
  height: 100%;
}

.paragraph--type--process-reference .procedure-references .field--name-procedure-reference .views-element-container .view-pg-process-reference .views-row {
  height: 100%;
}

.paragraph--type--process-reference.col-1 .field-button .btn::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media all and (max-width: 50.0625rem) {
  .paragraph--type--process-reference.col-1 .splide:has(.splide__list > li:only-child) .splide__arrows {
    display: none;
  }
  .paragraph--type--process-reference.col-1 .splide:has(.splide__list > li:only-child) .splide__list {
    padding-right: 0 !important;
  }
}
@media all and (min-width: 36rem) {
  .paragraph--type--process-reference.col-2 .field--name-procedure-reference {
    width: calc(50% - 12px);
  }
}
@media all and (min-width: 36rem) {
  .paragraph--type--process-reference.col-3 .field--name-procedure-reference {
    width: calc(50% - 12px);
  }
}
@media all and (min-width: 50.0625rem) {
  .paragraph--type--process-reference.col-3 .field--name-procedure-reference {
    width: calc(33% - 15px);
  }
}
.paragraph--type--process-reference.col-3 .field--name-procedure-reference .btn-primary {
  width: auto;
}

.paragraph--type--process-reference.col-3 .field--name-procedure-reference .btn-primary span {
  flex: 1;
}

.paragraph--type--process-reference.col-4 .views-row {
  aspect-ratio: 1/1;
}

@media all and (min-width: 50.0625rem) {
  .paragraph--type--process-reference.col-4 .field--name-procedure-reference {
    width: calc(50% - 12px);
  }
}
@media all and (min-width: 62rem) {
  .paragraph--type--process-reference.col-4 .field--name-procedure-reference {
    width: calc(25% - 18px);
  }
}
.paragraph--type--process-reference.col-4 .field--name-procedure-reference .btn-primary {
  width: auto;
}

.paragraph--type--process-reference.col-4 .field--name-procedure-reference .btn-primary span {
  flex: 1;
}

.paragraph--type--process-reference.col-2, .paragraph--type--process-reference.col-3, .paragraph--type--process-reference.col-4 {
  min-height: 0;
}

.paragraph--type--process-reference.col-2 .views-element-container:hover, .paragraph--type--process-reference.col-3 .views-element-container:hover, .paragraph--type--process-reference.col-4 .views-element-container:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.paragraph--type--process-reference.col-2 .views-element-container:hover .field-title, .paragraph--type--process-reference.col-3 .views-element-container:hover .field-title, .paragraph--type--process-reference.col-4 .views-element-container:hover .field-title {
  text-decoration: underline;
}

.paragraph--type--process-reference.col-2 .field-button .btn, .paragraph--type--process-reference.col-3 .field-button .btn, .paragraph--type--process-reference.col-4 .field-button .btn {
  position: absolute;
  inset: 0;
  width: 100%;
  background-color: transparent;
}

.paragraph--type--process-reference.col-2 .field-button .btn span, .paragraph--type--process-reference.col-2 .field-button .btn svg, .paragraph--type--process-reference.col-3 .field-button .btn span, .paragraph--type--process-reference.col-3 .field-button .btn svg, .paragraph--type--process-reference.col-4 .field-button .btn span, .paragraph--type--process-reference.col-4 .field-button .btn svg {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -0.0625rem;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.paragraph--type--process-reference.col-1 .field-description, .paragraph--type--process-reference.col-2 .field-description, .paragraph--type--process-reference.col-3 .field-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.paragraph--type--process-reference.col-1 .field-description.show, .paragraph--type--process-reference.col-2 .field-description.show, .paragraph--type--process-reference.col-3 .field-description.show {
  display: block;
  -webkit-line-clamp: initial;
}

.paragraph--type--process-reference.col-4 .field-description {
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.paragraph--type--process-reference.col-4 .field-description:not(.has-ellipsis) {
  clip-path: inset(0 0 4px 0);
}

.paragraph--type--process-reference .last-act {
  display: none;
}

.paragraph--type--process-reference .last-act .title {
  padding: var(--spacing4xs) var(--spacing2xs);
  text-transform: uppercase;
  background-color: var(--colorGreys100);
  width: -moz-fit-content;
  width: fit-content;
  font-weight: var(--smallBoldFontWeight);
  font-size: var(--smallBoldFontSize);
  line-height: var(--smallBoldLineHeight);
}

.paragraph--type--process-reference .last-act .content {
  padding: var(--spacingXs) 0 var(--spacingSm) var(--spacingLg);
  position: relative;
}

.paragraph--type--process-reference .last-act .content .hito-detalle {
  display: flex;
  flex-direction: column;
}

.paragraph--type--process-reference .last-act .content .hito-detalle .hito-fecha {
  order: 2;
  margin-bottom: var(--spacing2xs);
}

.paragraph--type--process-reference .last-act .content .hito-detalle .field--name-field-titulo {
  order: 1;
  margin-bottom: var(--spacing3xs);
  font-weight: var(--baseBoldFontWeight);
}

.paragraph--type--process-reference .last-act .content .hito-detalle .field--name-field-descripcion {
  order: 3;
}

.paragraph--type--process-reference .last-act .content .hito-detalle .field--name-field-descripcion a {
  font-size: var(--linkBaseFontSize);
  font-weight: var(--linkBaseFontWeight);
  line-height: var(--linkBaseLineHeight);
  text-decoration: none;
  color: var(--linkColorDefault);
}

.paragraph--type--process-reference .last-act .content .hito-detalle .field--name-field-descripcion a:hover {
  -webkit-text-decoration: var(--linkHoverTextDecoration);
          text-decoration: var(--linkHoverTextDecoration);
  color: var(--linkColorHover);
}

.paragraph--type--process-reference .last-act .content .hito-detalle .field--name-field-descripcion a:visited {
  color: var(--linkColorVisited);
}

.paragraph--type--process-reference .last-act .content::before {
  content: "";
  display: block;
  width: 1px;
  background: var(--colorBlack);
  position: absolute;
  height: 100%;
  left: var(--spacingXs);
  top: var(--spacing3xs);
}

.paragraph--type--process-reference .last-act .content .icon {
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--colorWhite);
  left: 5px;
  top: 16px;
  border: 6px solid var(--colorBlack);
}

.paragraph--type--process-reference .last-act .others-acts {
  padding: 0 0 0 var(--spacingLg);
  position: relative;
}

.paragraph--type--process-reference .last-act .others-acts .icon {
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  left: 0;
  top: 0px;
}

.paragraph--type--process-reference .read-more {
  display: none;
  z-index: 1;
}

.paragraph--type--process-reference .read-more .content-read {
  max-height: 25px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: relative;
}

.paragraph--type--process-reference .read-more .content-read::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
  pointer-events: none;
}

.paragraph--type--process-reference .read-more .content-read .field-call .link {
  display: inline !important;
}

.paragraph--type--process-reference .read-more .read-more-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing2xs);
  font-family: var(--linkBaseFontFamily), sans-serif;
  font-size: var(--linkBaseFontSize);
  font-weight: var(--linkBaseFontWeight);
  line-height: var(--linkBaseLineHeight);
  text-align: left;
  background: none;
  color: var(--linkColorDefault);
  padding: 0;
  border: none;
  padding: var(--spacingXs) 0;
  cursor: pointer;
}

.paragraph--type--process-reference .read-more .read-more-btn .more {
  display: flex;
}

.paragraph--type--process-reference .read-more .read-more-btn .less {
  display: none;
}

.paragraph--type--process-reference .read-more.show .content-read {
  overflow: hidden;
  max-height: 100%;
}

.paragraph--type--process-reference .read-more.show .content-read::after {
  display: none;
}

.paragraph--type--process-reference .read-more.show .read-more-btn .more {
  display: none !important;
}

.paragraph--type--process-reference .read-more.show .read-more-btn .less {
  display: flex !important;
}

.paragraph--type--process-reference.col-1 .last-act {
  display: block;
}

.paragraph--type--process-reference.col-1 .last-act a {
  position: relative;
  z-index: 1;
}

.paragraph--type--process-reference.col-1 .read-more {
  display: block;
}

@media all and (min-width: 50.0625rem) {
  .layout--twocol-section--25-75 .layout__region--second .paragraph--type--process-reference.col-3 .procedure-references .field--name-procedure-reference {
    width: calc(50% - 12px);
  }
}
@media all and (min-width: 78rem) {
  .layout--twocol-section--25-75 .layout__region--second .paragraph--type--process-reference.col-3 .procedure-references .field--name-procedure-reference {
    width: calc(33% - 15px);
  }
}