@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

html {
  color: var(--text-color);
  font: normal 10px/1.45rem "Montserrat", sans-serif;
  font-weight: normal;
  font-style: normal;
}

/* FONTS */

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 3rem;
  line-height: 4.5rem;
}

h2 {
  font-size: 2.2rem;
  line-height: 4rem;
}

h3 {
  font-size: 1.8rem;
  line-height: 3.5rem;
}

p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
}
a {
  font-family: "Montserrat", sans-serif;
}

/* COLOR 

:root {
  --primary-color: #705ced;
  --medium-primary-color: #9089f7;
  --light-primary-color: #eae7ff;
  --secondary-color: #47bafb;
  --text-color: #23173d;
  --ok-color: #33d2ac;
  --ko-color: #f30645;
  --grey0-color: #f0f0f0;
  --grey1-color: #c1d3dd;
  --grey2-color: #b3d4e7;
  --grey3-color: #5485a0;
}*/

/* COLOR */

:root {
  --white-color: #ffffff;
  --text-color: var(--dark-blue);
  --primary-color: var(--cyan-blue);

  --cadmium-yellow: #f3a744;
  --orange: #dc8a4e;
  --cyan-blue: #0e8bff;
  --shappire-blue: #4369e6;
  --cobalt-blue: #3359d3;
  --ultramarine-blue: #1d347d;
  --dark-blue: rgb(2, 24, 57);

  --grey-0: #eef4fc;
  --grey-1: #cdd9e9;
  --grey-2: #b5c3d6;
  --grey-3: #738cae;

  --ok-color: #3a9e98;
  --ko-color: #dc4e5c;
  --alert-color: var(--orange);
}

/* GENERAL */
.highlight {
  color: var(--shappire-blue);
}

.btn--primary {
  padding: 19px 0;
  background: var(--cadmium-yellow);
  background: linear-gradient(
    94.23deg,
    var(--orange) 9.4%,
    var(--cadmium-yellow) 94.67%
  );
  box-shadow: 0px 6px 6px rgb(2 24 57 / 10%);
  border-radius: 50px;
  font-size: 1.8rem;
  font-family: "Montserrat", "Helvetica Neue", monospace;
  color: var(--white-color);
  font-weight: 600;
  min-width: 260px;
  width: auto;
  margin: 0 auto;
  border: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn--primary:hover {
  transition: all 0.5s ease-in;
  background: var(--cadmium-yellow);
  background: linear-gradient(
    144deg,
    rgba(243, 167, 68, 1) 0%,
    rgba(220, 138, 78, 1) 100%
  );
}

.btn--secondary {
  background: var(--white-color);
  box-shadow: 0px 6px 6px rgb(2 24 57 / 25%);
  border-radius: 50px;
  padding: 19px 0;
  text-align: center;
  font-size: 1.8rem;
  font-family: "Montserrat", "Helvetica Neue", monospace;
  font-weight: 600;
  min-width: 260px;
  width: auto;
  color: var(--shappire-blue);
  font-weight: 600;
  border: 2px solid var(--shappire-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.btn--secondary img {
  width: 14px;
  height: 14px;
}

.btn--secondary:hover {
  transition: all 0.5s ease-in;
  background-color: var(--cobalt-blue);
  background: linear-gradient(
    267.31deg,
    var(--shappire-blue) 0%,
    var(--cyan-blue) 57.73%
  );
  color: var(--white-color);
  border: 2px solid transparent;
}

/* HEADER */
.header {
  padding: 20px 150px;
  box-shadow: 0px 3px 3px rgba(2, 24, 57, 0.2);
  display: block;
}

.header .navbar {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

.header .navbar .logo {
  height: 50px;
}

.header .navbar h1,
.header .navbar h1 span {
  font-family: "Caveat", cursive;
}

/* NEWSPAGE*/
.news {
  position: relative;
}
.breadcrumbs {
  height: 38px;
  width: 100%;
  padding: 0 150px;
  box-shadow: inset 0px 4px 4px rgba(112, 92, 237, 0.2);
  background-color: #eef4fc;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.breadcrumbs ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
}

.breadcrumbs ul li {
  padding: 0 0 0 1rem;
}

.breadcrumbs ul li a {
  font-size: 1.4rem;
  color: var(--medium-primary-color);
}
.breadcrumbs ul li span {
  font-size: 1.4rem;
  color: var(--medium-primary-color);
  padding: 0 0 0 1rem;
  display: inline;
}

.breadcrumbs ul li a:hover,
.breadcrumbs ul li:last-child a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

.breadcrumbs ul li:last-child a {
  color: var(--primary-color);
}

.news .articles {
  padding: 40px 150px 90px 150px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.news .articles .article {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 71%;
}

.news .articles .article ul {
  list-style: disc;
  padding-left: 30px;
}

.news .articles .article img {
  width: 100%;
  height: auto;
}

.news .articles .aside {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 26%;
}

.news .articles .aside .news-banner {
  -webkit-box-shadow: 0px 5px 10px 6px rgba(2, 24, 57, 0.08);
  box-shadow: 0px 5px 10px 6px rgba(2, 24, 57, 0.08);
  border-radius: 20px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.news .articles .aside .news-banner div {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 40px 20px;
}

.news .articles .aside .news-banner div h3 {
  color: var(--dark-blue);
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 2.5rem;
  margin-bottom: 20px;
}

.news .articles .aside .news-banner img {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0 0;
}

.news .articles .aside .asesor-cya {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

.news .articles .aside .asesor-cya .copy,
.news .articles .aside .asesor-cya .copy span {
  font-size: 2.8rem;
  line-height: 3.5rem;
  text-align: center;
  color: var(--text-color);
  font-family: "Caveat", cursive;
  margin-bottom: 10px;
}
.news .articles .aside .asesor-cya .copy span {
  color: var(--cobalt-blue);
}

.news .articles .article .article__image {
  height: auto;
  width: 100%;
}

.news .articles .article .article__title {
  font-family: "Montserrat", sans-serif;
  font-size: 4.8rem;
  line-height: 6rem;
  font-weight: bold;
  padding: 50px 0 40px 0;
}

.news .articles .article .article__intro {
  font-size: 1.8rem;
  line-height: 2.6rem;
  text-align: justify;
  font-weight: bold;
  margin-bottom: 15px;
}
.news .articles .article .article__intro a {
  font-size: 1.8rem;
  line-height: 2.6rem;
  text-align: justify;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--cobalt-blue);
}
.news .articles .article .article__intro a:hover {
  color: var(--cyan-blue);
}

.news .articles .article .article__subtitle {
  font-family: "Montserrat", sans-serif;
  color: var(--cyan-blue);
  font-size: 2.2rem;
  line-height: 2.8rem;
  font-weight: bold;
  padding: 30px 0 20px 0;
}

.news .articles .article .article__subtitle-2 {
  font-family: "Montserrat", sans-serif;
  color: var(--cyan-blue);
  font-size: 2rem;
  line-height: 2.4rem;
  font-weight: bold;
  padding: 20px 0 15px 0;
}

.news .articles .article .article__text {
  color: var(--dark-blue);
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: justify;
  margin-bottom: 15px;
}
.news .articles .article .article__text a {
  color: var(--cobalt-blue);
}
.news .articles .article .article__text a:hover {
  transition: all 0.5s ease-in;
  color: var(--cyan-blue);
}

/* RELATED NEWS widget*/

.newsWidget {
  padding: 80px 150px;
  background-color: var(--grey-0);
}

.newsWidget__title {
  color: var(--text-color);
  font-size: 4rem;
  font-weight: bold;
  line-height: 4.4rem;
  margin-bottom: 40px;
  text-align: center;
}

.newsWidget__wrap {
  padding: 0px;
}

.newsWidget__card {
  background: white;
  -webkit-box-shadow: 0px 5px 10px 6px rgba(2, 24, 57, 0.08);
  box-shadow: 0px 5px 10px 6px rgba(2, 24, 57, 0.08);
  border-radius: 20px;
  min-width: 245px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}

.newsWidget__card:hover .newsWidget__card__pic {
  transition: all ease 300ms;
  filter: brightness(1);
  transform: scale(1.04);
}

.newsWidget__card:hover .newsWidget__card__text {
  transition: all ease 300ms;
  color: var(--primary-color);
}

.newsWidget__card__pic {
  width: 100%;
  height: auto;
  border-radius: 15px 15px 0px 0px;
  filter: brightness(0.9);
}

.newsWidget__card__wrap {
  padding: 25px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: var(--text-color);
}

.newsWidget__card__text {
  padding: 25px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: var(--text-color);
}

.newsWidget__card__calendar {
  padding: 0 25px 15px 25px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.newsWidget__card__calendar__pic {
  width: 20px !important;
}

.newsWidget__card__calendar__date {
  color: var(--cyan-blue);
  font-size: 16px;
  font-weight: 600;
}

.owl-item {
  margin-bottom: 40px;
}

.owl-dots {
  display: flex;
  width: 50px;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 50%;
  margin-left: -25px;
}

.owl-carousel button.owl-dot {
  display: block;
  background: var(--grey-1);
  margin-top: 30px;
  height: 15px;
  width: 15px;
  border-radius: 40px;
}

.owl-carousel button.owl-dot.active {
  display: block;
  background: var(--cyan-blue);
  margin-top: 30px;
  height: 15px;
  width: 15px;
  border-radius: 40px;
}

/* section footer start */

.footer__description {
  background: linear-gradient(
    112.57deg,
    var(--ultramarine-blue) 3.25%,
    var(--cobalt-blue) 99.43%
  );
}

.footer__wrap {
  padding: 45px 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  height: 71px;
}
.contacts__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: var(--white-color);
  margin-bottom: 25px;
}

.footer__dir-wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.contacts__desc {
  font-size: 14px;
  color: var(--white-color);
  font-weight: 600;
}

.footer__redes {
  background-color: var(--ultramarine-blue);
}

.footer__redes-wrap {
  padding: 15px 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#contacto:hover {
  color: var(--cadmium-yellow);
}

.redes__about {
  font-size: 13px;
  line-height: 15px;
  color: var(--white-color);
}

.redes__about a {
  color: var(--white-color);
}

.redes__about a:hover {
  color: var(--cadmium-yellow);
}

.redes__icons-wrap {
  display: flex;
  gap: 15px;
}

/* hide in desktop */

.mobile {
  display: none;
}
.desktop {
  display: block;
}

/************** RESPONSIVE STYLES START */

@media (max-width: 1200px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  .header {
    padding: 15px;
  }
  .news .articles {
    padding: 40px 15px;
  }
  .newsWidget {
    padding: 40px 15px;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 15px;
  }

  .breadcrumbs {
    display: none;
  }
  .news .articles {
    padding: 40px 15px;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
  }
  .news .articles .article {
    margin-bottom: 50px;
  }
  .news .articles .article,
  .news .articles .aside {
    width: 100%;
  }
  .newsWidget {
    padding: 40px 15px;
  }
  .news .articles .article .article__title {
    font-size: 3rem;
    line-height: 3.4rem;
    padding: 40px 0 25px 0;
  }

  .owl-dots {
    width: 50%;
    position: relative;
    margin-left: -25%;
  }

  /* footer start */

  .footer__wrap {
    padding: 35px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .footer__redes-wrap {
    padding: 30px;
    flex-direction: column-reverse;
    gap: 30px;
  }
}
