@font-face {
  font-family: 'Source-Serif-Regular';
  src: url('https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/fonts/Source-Serif-VF.woff2') format('woff2 supports variations'),
  url('https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/fonts/Source-Serif-VF.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto-Regular';
  src: url('https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/fonts/Roboto-VF.woff2') format('woff2 supports variations'),
  url('https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/fonts/Roboto-VF.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

header.header-main .header-primary svg {
  fill: #000 !important;
  stroke: #000 !important;
}
header.header-main .header-scroll-wrapper .header-primary .logo img {
  filter: invert(1);
}
header.header-main .header-primary .header-custom .header-custom-text {
  font-family: "Genos";
  font-size: 1.3rem !important;
  font-weight: 400;
  text-transform: uppercase;
  color: #000 !important;
}
header.header-main .header-primary .header-custom .header-custom-logo {
  padding: 0.5rem;
}
.header-scroll-wrapper {
  position: relative;
}
.header-scroll-wrapper:before {
  content: "";
  height: 0.3rem;
  background: #ccc;
  position: fixed;
  top: 6.7rem;
  left: 0;
  width: 100%;
  z-index: 3;
}
.header-scroll-wrapper:after {
  content: "";
  height: 0.3rem;
  background: #ffcd00;
  position: fixed;
  top: 6.7rem;
  left: 0;
  width: 100%;
  transform-origin: 0 50%;
  animation: scaleProgress auto linear;
  animation-timeline: scroll(root);
  z-index: 4;
}

#apertura-correos {
  width: 100vw;
  height: 100vh;
  margin: 0 0 5rem 0;
}

.special .article-content .trustproject_marca {
  display: none !important;
}
.special .special_header {
  margin: 0;
}
.special .special_header .special-main-media svg {
  display: none;
}
.special .article-content .content-modules .paragraph-special {
  max-width: 63rem !important;
  margin: 3rem auto !important;  
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
}
.special .article-content .content-modules .paragraph-special b {
  /* font-family: "Roboto-Regular" !important; */
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
}
.special .article-content .content-modules .paragraph-special a {
  color: #ffcd00 !important;
  background-image: none;
}
.special .article-content .content-modules .content-title-h1 {
  position: relative;
  max-width: 63rem !important;
  margin: 1.5rem auto !important;
  font-size: 2.8rem !important;
  line-height: 1.6 !important;
  color: #002453 !important;
  text-align: left !important;
}
.special .article-content .content-modules .content-title-h1:after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 0;
  width: 5rem;
  height: 1rem;
  background-color: #ffcd00;
}
article.special .composite-phrase {
  position: relative;
  width: 100% !important;
  padding: 4rem 25% 4rem 47% !important;
  margin: 0 0 4rem !important;
  font-size: 2.5rem !important;
  line-height: 1.3 !important;
  color: #002453 !important;
  background-color: #ffcd00 !important;
  background-image: none !important;
  text-align: left !important;
}
article.special .composite-phrase:before,
article.special .composite-phrase:after {
  display: none;
}
article.special .composite-phrase .content-title-phrase:before {
  content: "";
  position: absolute;
  left: 26%;
  top: 2rem;
  width: 25rem;
  height: 15rem;
  margin: auto;
  animation: izquierda 2s ease 0s 1 normal forwards;
  animation-timeline: view(block 50% auto);
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-1.svg)
    no-repeat 0 0;
  background-size: 25rem;
}
article.special .composite-phrase ~ .composite-phrase .content-title-phrase:before { 
    content: "";
    position: absolute;
    left: 26%;
    top: 1.5rem;
    width: 25rem;
    height: 16rem;
    margin: auto;
    animation: izquierda 2s ease 0s 1 normal forwards;
    animation-timeline: view(block 50% auto);
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-2.svg)
    no-repeat 0 0;
  background-size: 25rem;
}
article.special .composite-phrase ~ .composite-phrase{
  padding: 5rem 27% 7rem 47% !important;
}

/* .special
  .article-content
  .content-modules
  .content-title-phrase:first-of-type:before {
  content: "";
  position: absolute;
  left: 26%;
  top: 2rem;
  width: 25rem;
  height: 15rem;
  margin: auto;
  animation: izquierda 2s ease 0s 1 normal forwards;
  animation-timeline: view(block 50% auto);
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-1.svg)
    no-repeat 0 0;
  background-size: 25rem;
} */

/* article.special .composite-phrase:nth-of-type(2) {
  padding: 6rem 25% 6rem 45% !important;
} */
/* .special
  .article-content
  .content-modules
  .content-title-phrase:last-of-type:before {
    content: "";
    position: absolute;
    left: 26%;
    top: 1.5rem;
    width: 25rem;
    height: 16rem;
    margin: auto;
    animation: izquierda 2s ease 0s 1 normal forwards;
    animation-timeline: view(block 50% auto);
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-2.svg)
    no-repeat 0 0;
  background-size: 25rem;
} */

.special .article-content .content-modules .composite-richtext .column-richtext {
  max-width: 63rem;
  margin: 0 auto;
}
.special .article-content .content-modules .composite-incolumns .content-title {
  max-width: 90rem;
  margin-bottom: 5rem !important;
  font-family: 'Roboto-Regular' !important;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.4;
  text-transform: none;
  color: #000 !important;
  border: none;
  text-align: center !important;
}
.special .article-content .content-modules .composite-incolumns .content-title:after {
  display: none;
}

.special .article-content .content-modules .composite-richtext .column-richtext.special-fs.fs-big {
  max-width: 85rem;
  text-align: center;
}
.special .article-content .content-modules .composite-richtext .column-richtext.cap-big p:first-of-type:first-letter {
  margin: 0 0 0 -10rem;
  font-family: 'Roboto-Regular' !important;
  font-weight: 700;
  font-size: 12rem;
  line-height: 7rem;
  color: #ffcd00;
  border-left: .1rem solid #002453;
  border-top: .1rem solid #002453;
  padding: 2rem 0 1rem .6rem;
}
.special .article-content .content-modules .composite-richtext .column-richtext.cap-big p {
  position: relative;
  font-size: 1.8rem !important;
  line-height: 1.6 !important;
}
.special .article-content .content-modules .composite-richtext .column-richtext.cap-big p:before {
  content: '';
  position: absolute;
  top: 3rem;
  left: -115.5%;
  width: 100%;
  height: 7rem;
  background: transparent url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/lineas.svg) repeat-x 0 0;
  background-size: 30rem;
}
article.special .composite-captioned-image {
  max-width: 99rem !important;
  margin: 0 auto 3rem !important;
  position: relative !important;
}
article.special .composite-captioned-image img {
  position: relative;
}
article.special .composite-captioned-image:has(img[src="https://imagenes.heraldo.es/files/image_990_556/uploads/imagenes/2024/12/18/retirar-e-ingresar-dinero-es-muy-sencillo-gracias-a-correos-cash.jpeg"]):after,
article.special .composite-captioned-image:has(img[src="https://imagenes.heraldo.es/files/image_990_556/uploads/imagenes/2024/12/18/los-carteros-rurales-llegan-a-todos-los-rincones.jpeg"]):after {
  content: '';
  position: absolute;
  top: 40%;
  left: 100%;
  width: 100%;
  height: 7rem;
  background: transparent url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/lineas.svg) repeat-x 0 0;
  background-size: 30rem;
}
article.special .composite-captioned-image:has(img[src="https://imagenes.heraldo.es/files/image_990_556/uploads/imagenes/2024/12/18/no-necesitas-internet-para-realizar-tus-operaciones.jpeg"]):after {
  content: '';
  position: absolute;
  top: 40%;
  right: 100%;
  width: 100%;
  height: 7rem;
  background: transparent url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/lineas.svg) repeat-x 0 0;
  background-size: 30rem;
}
article.special .composite-captioned-image:nth-of-type(4):after {
  right: 100%;
  left: unset;
}

article.special .content-modules .special-free-html-ad {
  position: relative;
  max-width: 100%;
  width: 100% !important;
  margin: 0 auto !important;
}
article.special .content-modules .special-free-html-ad:last-of-type {
  width: 100% !important;
  max-width: 100% !important;
}
.illustration {
  position: relative;
  margin: 0 auto;
}
#cartero {
  position: absolute;
  left: 5%;
  top: -35rem;
  width: 20rem;
  height: 14rem;
  margin: auto;
  animation: cartero 2s ease 0s 1 normal forwards;
  animation-timeline: view(block auto);
  background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/circulos.svg)
    no-repeat 0 0;
  background-size: 20rem;
}
.cartero-2 {
  top: -20rem !important;
  left: unset !important;
  right: 5%;
}
#triangulos {
  position: absolute;
  right: 5%;
  top: -40rem;
  width: 20rem;
  height: 12rem;
  animation: cartero 2s ease 0s 1 normal forwards;
  animation-timeline: view(block auto);
  background: transparent url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/triangulos.svg) no-repeat 0 0;
  background-size: 20rem;
}
.triangulos-2 {
  right: unset;
  left: 5%;
}

@keyframes scaleProgress {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes cartero {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes fundido {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes izquierda {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
    transform: translateX(-250px);
  }
  100% {
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes derecha {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
    transform: translateX(250px);
  }
  100% {
    animation-timing-function: ease-out;
    opacity: 1;
    transform: translateX(0);
  }
}

footer {
  display: none;
}

.pie {
  width: 100%;
  background: #ffcd00;
  color: #000;
  margin: 3rem auto -5rem;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pie p {
  width: 80% !important;
  text-align: center !important;
  font-size: 1.5rem !important;
  color: #002453 !important;
  font-family: "Roboto-Regular";
}
.pie p strong {
  font-family: "Roboto-Regular" !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}
.pie img {
  width: 23rem !important;
  margin-top: 2rem;
  filter: brightness(0);
}
@media only screen and (min-width: 280px) and (max-width: 767px) {
    header.cabecera {
        justify-content: center;
    }
    header.cabecera .logo {
        margin: auto;
        grid-column: 2 / 4;
    }
  .header .logo img {
    filter: invert(1);
  }
  .header .menu svg,
  .header .login svg {
    fill: #000;
    stroke: #000;
  }
  .header .header-custom .header-custom-text {
    font-size: 1rem;
    font-weight: 290;
    color: #000;
    text-transform: uppercase;
  }
  .header .header-custom .header-custom-logo {
    max-width: 6rem;
  }
  header.cabecera.header-custom-container {
    height: 12rem;
}
  header.cabecera.header-custom-container .header-custom {
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    grid-column: 2 / 4;
    align-items: center;
    flex-direction: column;
    gap: 0;
    margin-bottom: .9rem;
  }
  .header-scroll-section:before {
    content: "";
    height: 0.3rem;
    background: #ccc;
    position: fixed;
    top: 12.55rem;
    left: 0;
    width: 100%;
    z-index: 3;
  }
  .header-scroll-section:after {
    content: "";
    height: 0.3rem;
    background: #ffcd00;
    position: fixed;
    top: 12.55rem;
    left: 0;
    width: 100%;
    transform-origin: 0 50%;
    animation: scaleProgress auto linear;
    animation-timeline: scroll(root);
    z-index: 4;
  }
  main.mainmedia-hidden.main-container {
    padding-top: 3rem;
  }
  .main-container main.especiales .article-content .content-modules .image-container {
        margin: 0;
        padding: 0;
    }
  .main-container .especiales .article-content .content-modules a {
    background-image: none;
  }
  #apertura-correos {
    height: 85vh;
    margin: 8rem 0 3rem 0 !important;
  }
  .special .special_header {
    margin-top: 3rem;
  }
  .special .article-content .content-modules .paragraph {
    max-width: 100% !important;
    margin: 0 3rem 2rem !important;
  }
  .special .article-content .content-modules .paragraph-special {
        margin: 0 3rem 3rem !important;
    }
  .special .article-content .content-modules .composite-richtext {
    margin: 0 3rem 2rem !important;
  }
  .special .article-content .content-modules .composite-richtext .column-richtext.cap-big p {
    margin-top: 8rem;
  }
  .special .article-content .content-modules .composite-richtext .column-richtext.cap-big p:first-of-type:first-letter {
    margin: -9rem 0 0 0 !important;
    font-size: 10rem !important;
    line-height: 8rem !important;
    padding: .5rem 0 0 .6rem !important;
  }
  .special .article-content .content-modules .composite-richtext .column-richtext.cap-big p:before {
    top: -5.5rem;
    left: -100%;
    width: 100%;
    height: 5rem;
    background-size: 20rem;
  }
  .special .article-content .content-modules .composite-incolumns .content-title {
    max-width: 81%;
    margin: auto;
    font-size: 2.2rem !important;
  }
  article.special .composite-captioned-image {
    width: 81%;
  }
  article.special .composite-captioned-image:after {
    top: 30% !important;
    width: 12% !important;
    height: 5rem !important;
    background-size: 20rem !important;
  }
  article.special .composite-captioned-image img {
    margin-bottom: .5rem;
  }
  .special .article-content .content-modules .article-picture figcaption {
    display: inline !important;
    line-height: 1.25 !important;
  }
  .special .article-content .content-modules .content-title-h1 {
    margin: 1.5rem 3rem 3rem !important;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .special .article-content .content-modules .content-title-phrase {
    padding: 2.5rem 10% !important;
    margin-top: 5rem;
    font-size: 2.5rem !important;
    text-align: center !important;
  }
  article.special .composite-phrase {
        padding: 4rem 0 4rem 0 !important;
        text-align: center !important;
    }
  article.special .composite-phrase ~ .composite-phrase {
        padding: 4rem 0 4rem 0 !important;
    }
    .special .article-content .content-modules .composite-phrase .cita:before {
        content: '';
        display: block;
        position: unset !important;
        width: 25rem !important;
        height: 17rem !important;
        margin: auto !important;
        background-size: 25rem !important;
        animation: cartero 2s ease 0s 1 normal forwards !important;
        animation-timeline: view(block auto) !important;
        background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-1.svg)
    no-repeat 0 0;
        background-size: 25rem;
      }
  .special .article-content .content-modules .composite-phrase ~ .composite-phrase .cita:before { 
        content: '';    
        display: block;
        position: unset !important;
        width: 25rem !important;
        height: 17rem !important;
        margin: auto !important;
        background-size: 25rem !important;
        animation: cartero 2s ease 0s 1 normal forwards !important;
        animation-timeline: view(block auto) !important;
        background: url(https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/correos/img/correos-icon-2.svg)
    no-repeat 0 0;
  background-size: 25rem;
    }
  .illustration {
    width: 100%!important;
    max-width: 100% !important;
  }
  #triangulos,
  #cartero {
    display: none;
  }
  footer {
    display: none;
  }
}