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

@font-face {
  font-family: 'Ford Antenna Cond';
  src: url('../fonts/antenna/AntennaCond-Regular.woff2'), url('../fonts/antenna/AntennaCond-Regular.woff');
}

@font-face {
  font-family: 'Ford Antenna Cond';
  src: url('../fonts/antenna/AntennaCond-Bold.woff');
  font-weight: 700;
}

@font-face {
  font-family: 'Ford Antenna Cond';
  src: url('../fonts/antenna/AntennaCond-Medium.woff2'), url('../fonts/antenna/AntennaCond-Medium.woff');
  font-weight: 500;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #f9f9f9;
}

body.home {
  background: #F9F9F9;
}

/* Header  */

header#site-header .custom-logo-link img {
  max-width: 308px;
}

header#site-header .header-inner {
  max-width: 1080px;
}

@media screen and (max-width: 767px) {

  header#site-header .custom-logo-link img {
    max-width: 257px;
  }

  header#site-header .toggle.search-toggle.mobile-search-toggle {
    display: none;
  }

  header#site-header .header-inner {
    margin: 0;
    width: 100%;
    padding: 16px;
  }

  header#site-header .header-titles-wrapper {
    padding: 0;
    justify-content: space-between;
    width: 100%;
  }

  header#site-header .header-inner .toggle {
    padding: 0;
  }

  header#site-header .header-inner .toggle-icon path {
    fill: #CD2B55;
  }

  header#site-header .header-inner .toggle-text {
    color: #CD2B55;
  }

  header#site-header .nav-toggle {
    position: relative;
    top: -8px;
    justify-content: flex-end;
  }

  .mobile-menu .sub-menu-toggle {
    pointer-events: none;
  }

  .menu-modal .sub-menu {
    display: block;
  }
}

img {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  line-height: normal;
  margin: 0;
  padding: 0;
}

/* Frontpage */
a.beneficios-link {
  border-radius: 25px;
  border: 1px solid #cd2b55;
  background: #fef4f9;
  padding: 8px 16px;
  color: #cd2b55;
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  a.beneficios-link.see-all {
    flex: 1;
  }
}

body .container {
  max-width: 1128px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 24px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 48px;
}

body .container .container__header {
  display: flex;
  align-items: flex-start;
  padding-bottom: 24px;
}

.container__header .title-and-desc {
  flex-grow: 1;
}

.container__header .title-and-desc h1 {
  color: #cd2b55;
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 3.2rem;
  font-weight: 500;
}

.container__header .title-and-desc p {
  color: #a4a4a4;
  font-family: "Inter", sans-serif;
  font-size: 1.8rem;
}

.container .grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 16px;
  grid-row-gap: 24px;
}



@media screen and (max-width: 767px) {
  .container .grid-cards {
    grid-template-columns: 1fr;
  }
}

.grid-cards .card {
  border-radius: 8px;
  border: 1px solid #757575;
  background: white;
  display: flex;
  height: 260px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.card .card__body {
  display: flex;
  padding: 16px;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.card .card__info {
  flex: 1;
}

.card .card__body a {
  width: 240px;
}

.card .card__body img {
  height: 100%;
  width: 240px;
  border-radius: 4px;
  object-position: center;
  object-fit: cover;
}

.card .card__title {
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card .card__title a {
  text-decoration: none;
  color: #2F2F2F;
}

.card .card__date {
  padding-top: 8px;
  border-top: 1px solid #EFEFEF;
}

.card .card__date,
.card .card__venue {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: #2F2F2F;
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 5px;
}

.card .card__venue {
  font-weight: 400;
}

.card .card__footer {
  border-top: 1px solid #D9D9D9;
  background: #F6F6F6;
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 16px;
  width: 100%;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.card .card__footer p {
  color: #757575;
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.card .card__footer a {
  margin-left: auto;
}

@media screen and (max-width: 767px) {
  body main {
    padding: 16px 8px;
  }

  body .container {
    padding: 16px;
  }


  body .container .container__header {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  .grid-cards .card {
    height: auto;
  }

  .card .card__body {
    flex-direction: column-reverse;
  }

  .card .card__body a,
  .card .card__body img {
    width: 100%;
  }

  .card .card__body img {
    height: 169px;
  }

  .card .card__footer p {
    flex: 1;
  }
}

/* footer */

footer {
  border-top: 1px solid #CD2B55;
  padding: 80px 0 40px;
}

footer ul {
  max-width: 1080px;
  margin: 0 auto 93px;
  list-style: none;
}

footer ul li {
  margin: 0;
  padding-bottom: 20px;
}

footer ul li a {
  color: #CD2B55;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

footer .footer__date {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;

}

footer .footer__date p,
footer .footer__date a {
  font-size: 1.8rem;
  color: #0B0C55;
  font-weight: 700;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  footer {
    padding: 40px 20px 16px;
  }

  footer ul {
    margin-bottom: 24px;
  }
}

/* Single post */
body.single-post footer {
  margin-top: 60px;
}

/* Category page */
main#category-page .container {
  max-width: 770px;
}

main#category-page .grid-cards .card {
  height: auto;
}

main#category-page .card__body {
  flex-direction: column;
}

main#category-page .card .card__body a,
main#category-page .card .card__body img {
  width: 100%;
}

main#category-page .card .card__footer p {
  flex: 1;
}

main#category-page .page-numbers {
  font-family: "Ford Antenna Cond", sans-serif;
  font-weight: 500;
  font-size: 2rem;
}

.pagination-container.pagination-category {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.pagination-container.pagination-category a,
.pagination-container.pagination-category span {
  text-decoration: none;
  padding: 20px;
}

.pagination-container.pagination-category a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {

  .pagination-container.pagination-category a,
  .pagination-container.pagination-category span {
    padding: 6px;
  }
}

/* Pagination */
.pagination-container {
  max-width: 770px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.pagination-container .pagination-wrapper {
  margin: 0;
  width: 100%;
}

/* Single post */

#site-content.single-post {
  background-color: #F9F9F9;
}

#site-content.single-post .container {
  margin-top: 43px;
  padding: 32px;
}

#site-content.single-post .container .wp-post-image {
  border-radius: 4px;
}

#site-content.single-post h1 {
  color: #2F2F2F;
  text-align: center;
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 700;
  padding-top: 13px;
}

#site-content.single-post .date,
#site-content.single-post .place {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #2F2F2F;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 5px;
}

#site-content.single-post .place {
  font-weight: 400;
}

#site-content.single-post .benefit {
  border-radius: 4px;
  border: 1px solid #E8E8E8;
  background: #FAFAFA;
  color: var(--757575, #757575);
  font-family: "Ford Antenna Cond", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  width: fit-content;
  padding: 4px 16px;
  margin: 5px auto;
}

#site-content.single-post .entry-content>*:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  font-family: "Ford Antenna Cond", sans-serif;
  max-width: 100%;
}

#site-content.single-post h2 {
  font-size: 2rem;
}

#site-content.single-post h3 {
  font-size: 1.9rem;
}

#site-content.single-post p,
#site-content.single-post a {
  font-size: 1.6rem;
}

#site-content.single-post .styled-separator {
  display: none;
}
