html {
  --lightGray: #FAFAFA;
  --gray: #666666;
  --black: #232323;
  --green: #A0CC3A;
  --full-width: 1 / 2;
}

.title h1 {
  text-transform: capitalize;
}

header {
  border-bottom: 1px solid #eaeaea;
}

h1.page-title {
  font-family: 'Open Sans';
  font-weight: 700;
  font-size: 42px;
  padding: 0;
  margin: 0 0 50px 0;
}

.arrow {
  border: solid var(--green);
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  vertical-align: 1px;
}

.arrow.right {
  transform: scale(0.7, 0.8) rotate(-45deg);
}

.arrow.left {
  transform: scale(0.7, 0.8) rotate(135deg);
}

.arrow.up {
  transform: scale(0.7, 0.8) rotate(-135deg);
}

.arrow.down {
  transform: scale(0.7, 0.8) rotate(45deg);
}

main .container {
  max-width: 1440px;
  width: 100%;
  padding: 0 15px;
}

@media screen and (min-width: 390px) {
  main .container {
    padding: 0 32px;
  }
}

main {
  background-color: #eaeaea;
  padding-top: 54px;
}

.post_content,
.archive .post {
  text-align: left;
}

.posts.latest {
  margin-bottom: 25px;
}

.posts.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
}

.posts.grid .category-name {
  margin-bottom: 0;
}

.posts .post {
  transition: all .3s ease-out;
  background-color: #fff;
  padding: 0;
  text-decoration: none;
}

.posts .post:nth-child(3n+2) .post-thumbnail {
  background-color: #186188;
}

.posts .post:nth-child(3n+3) .post-thumbnail {
  background-color: #173542;
}

.posts .post:hover {
  cursor: pointer;
}

.posts .post a {
  text-decoration: none;
}

.grid .posts .post a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.posts .post.big a {
  display: flex;
  flex-wrap: wrap;
}

.posts .post.big .details {
  flex-basis: 100%;
}

.post .post-thumbnail {
  height: 202px;
  background-image: url('../images/cps-logo-min-white.svg');
  background-color: #0275b3;
  background-size: 77px 46px;
  background-position: center;
  background-repeat: no-repeat;
}

.posts .post.big .post-thumbnail {
  flex-grow: 1;
  flex-basis: 100%;
  background-size: 120px 72px;
}

.post .details {
  padding: 16px;
  background: #fff;
}

.grid .post .details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post .posted {
  font-family: 'Open Sans';
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.post .author {
  font-size: 12px;
  color: var(--gray);
  margin: 0 0 10px;
}

.post .post-title {
  font-family: 'Normalidad Wide';
  font-weight: 900;
  color: #000;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.post.big .post-title {
  letter-spacing: 0.02em;
}

.posts .post img.featured-image {
  display: block;
  max-width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  font-family: 'Normalidad Wide';
  font-size: 18px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  gap: 0 18px;
  margin: 0;
  padding: 53px 0 55px 0;
}

.pagination a {
  color: #000;
  text-decoration: none;
}

.pagination .current {
  color: var(--light-blue);
  text-decoration: underline;
}

.email-signup {
  padding: 30px 15px 0px 15px;
  margin: 0;
  position: relative;
  background-color: #fff;
  grid-column: var(--full-width);
  overflow: hidden;
  align-items: center;
}

.email-signup .image {
  padding-bottom: 25px;
  display: none;
}

.email-signup .image img {
  max-width: 153px;
  height: auto;
}

.email-signup .title {
  text-transform: uppercase;
  margin-bottom: 45px;
}

.email-signup input[type="email"] {
  background: #fafafa;
  border: 1px solid #C8C8C8;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border-right: 0;
  line-height: 40px;
  text-indent: 10px;
  padding: 0;
  margin: 0px 0 0 -4px;
  font-family: 'Open Sans';
  font-weight: 600;
  font-size: 14px;
  color: #666666;
  max-width: calc(100% - 114px);
}

.email-signup input[type="submit"] {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background: var(--light-blue);
  color: #fff;
  text-transform: uppercase;
  font-family: 'Montserrat';
  font-size: 12px;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 42px;
  padding: 0;
  width: 113px;
  text-align: center;
  top: -1px;
  position: relative;
  border: 0;
}

.email-signup span.wpcf7-not-valid-tip {
  font-size: 17px;
  bottom: -40px;
  text-align: left;
}

@media screen and (min-width: 620px) {
  .posts.grid {
    grid-template-columns: repeat(2, 1fr);
  }

  html {
    --full-width: 1 / 3;
  }
}

@media screen and (min-width: 768px) {
  .posts .post.big .details {
    padding: 38px 36px 30px 36px;
  }

  .posts .post.big a {
    min-height: 369px;
  }

  .posts .post {
    background-color: transparent;
    border: none;
  }

  .posts .post .details {
    padding: 39px 16px 37px 38px;
  }

  .posts .post.big .post-thumbnail {
    flex-basis: unset;
    height: auto;
  }

  .posts .post.big .details {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .posts .post.big .post-title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 46px;
  }

  .grid .post .post-title {
    min-height: 128px;
  }

  .email-signup {
    padding: 30px 15px 39px 15px;
  }

  .email-signup input[type="email"] {
    font-size: 18px;
  }
}

@media screen and (min-width: 992px) {
  .posts.grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 29px 16px;
  }

  .posts .post.big {
    min-height: 369px;
  }

  .posts .post.big .posted {
    font-size: 16px;
  }

  html {
    --full-width: 1 / 4;
  }

  .posts .post.big .details {
    flex-basis: 560px;
  }

  .email-signup {
    padding: 55px 77px;
  }

  .email-signup .image img {
    max-width: unset;
  }

  .email-signup input[type="email"] {
    font-size: 24px;
    max-width: 61% !important;
    text-indent: 26px;
    line-height: 54px;
    max-width: calc(100% - 160px);
    height: 56px;
  }

  .email-signup input[type="submit"] {
    top: -4px;
    left: -10px;
    font-size: 14px;
    line-height: 56px;
    width: 153px;
    height: 100%;
  }
}

@media screen and (max-width: 992px) {
  .email-signup input[type="submit"] {
    height:46px;
    left:-10px;
    top:-3px;
  }
}

@media screen and (max-width: 576px) {
  .email-signup input[type="submit"] {
    top:-1px;
  }
}

.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}

.category-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d5d5d5;
  padding-bottom: 7px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  grid-column: var(--full-width);
}

.category-name p {
  font-size: 24px;
  color: #000;
  font-family: 'Open Sans';
  font-weight: 700;
  margin: 0;
  flex-basis: 100%;
}

.category-name a {
  color: var(--green);
  font-size: 16px;
  font-family: 'motiva_sansbold';
  margin: 0;
}

@media screen and (min-width: 480px) {
  .category-name {
    flex-wrap: nowrap;
  }

  .category-name p {
    flex-basis: unset;
  }
}

@media screen and (min-width: 390px) {}

@media screen and (min-width: 480px) {
  .formstyle-1 .gform_confirmation_message {
    max-width: unset;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .email-signup {
    display: flex;
    gap: 0 70px;
    justify-content: space-between;
  }

  .email-signup .signup-title {
    max-width: unset;
  }

  .email-signup .signup-text {
    flex: 1 0 285px;
  }

  .email-signup .signup-image {
    position: relative;
    right: 0;
    top: 0;
  }

  .email-signup .signup-image>* {
    max-width: 200px;
    height: auto;
  }
}

@media screen and (min-width: 567px) {
  .email-signup .image {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .formstyle-1 .gform_confirmation_message {
    font-size: 28px;
    margin-top: 50px;
  }

  .email-signup {
    border: 1px solid #EAEAEA;
    padding: 55px 36px 55px 36px;
  }

  .email-signup .signup-text {
    flex: 1 0 285px;
    max-width: 563px;
  }

  .email-signup .big {
    font-size: 48px;
    line-height: 58px;
  }

  .email-signup .small {
    font-size: 24px;
    line-height: 36px;
  }

  .email-signup .signup-image>* {
    max-width: 240px;
  }

  .email-signup #gform_submit_button_37 {
    font-size: 16px;
    max-width: 168px;
    height: 57px;
    line-height: 57px;
    padding: 0 38px !important;
  }

  .email-signup .gform_wrapper {
    margin-top: 38px;
  }

  .gform_wrapper .gform_footer {
    margin-top: 7px;
  }
}

@media screen and (min-width: 1200px) {
  .email-signup {
    padding: 56px 163px 39px 70px;
  }
}

@media screen and (max-width: 580px) {
  main {
    padding-top: 20px;
  }

  h1.page-title {
    font-size: 32px;
    margin: 0 0 30px 0;
  }

  .email-signup span.wpcf7-not-valid-tip {
    font-size: 10px;
    line-height: 1.2;
  }
}