/* Figma nodes 3145:570, 3145:824 and 3151:1213. */

.editorial-canvas {
  color: #111;
  background: #fff;
  font-family: "Geologica", sans-serif;
}

.editorial-canvas *,
.editorial-canvas *::before,
.editorial-canvas *::after {
  box-sizing: border-box;
}

.editorial-canvas a {
  color: inherit;
  text-decoration: none;
}

.editorial-kicker {
  margin: 0 0 18px;
  color: #513bfe;
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  text-transform: uppercase;
}

/* Sobre nosotros */
.about-page {
  width: 1246px;
  margin: 93px auto 0;
  padding-bottom: 156px;
}

.about-intro {
  width: 745px;
  margin: 0 auto;
}

.about-intro h1 {
  width: 680px;
  margin: 0;
  color: #111;
  font-size: 46px;
  line-height: 50px;
  font-weight: 300;
  letter-spacing: 0;
}

.about-intro p {
  width: 745px;
  margin: 29px 0 0;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 200;
}

.about-team {
  width: 1024px;
  height: 576px;
  margin: 72px auto 0;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.about-letter {
  width: 745px;
  margin: 52px auto 0;
  color: #111;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 200;
}

.about-letter p { margin: 0 0 20px; }
.about-letter .about-lead { margin-bottom: 31px; font-weight: 400; }

/* Blog */
.blog-page {
  width: 1246px;
  margin: 57px auto 0;
  padding-bottom: 155px;
}

.blog-featured {
  width: 1246px;
  height: 502px;
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
}

.blog-featured > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.blog-featured-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .22) 58%, rgba(0, 0, 0, .08) 100%);
}

.blog-featured-copy {
  width: 690px;
  position: absolute;
  left: 74px;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-featured-category {
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  text-transform: uppercase;
}

.blog-featured-copy strong {
  color: #fff;
  font-size: 42px;
  line-height: 47px;
  font-weight: 300;
  letter-spacing: 0;
}

.blog-featured-copy > span:last-child {
  width: 610px;
  margin-top: 18px;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  font-weight: 200;
}

.blog-index { margin-top: 86px; }

.blog-toolbar {
  height: 50px;
  display: grid;
  grid-template-columns: 1fr 274px 274px;
  align-items: center;
  gap: 24px;
}

.blog-toolbar h1,
.article-related > h2 {
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.blog-search,
.blog-category {
  width: 274px;
  height: 40px;
  position: relative;
  display: block;
}

.blog-search svg {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 12.5px;
  left: 15px;
  z-index: 1;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.blog-search input,
.blog-category select {
  width: 100%;
  height: 40px;
  border: 1px solid #d1d1d1;
  border-radius: 100px;
  outline: 0;
  background-color: #fff;
  color: #111;
  font-size: 13px;
  line-height: 16px;
  font-weight: 200;
}

.blog-search input { padding: 0 18px 0 42px; }
.blog-search input::placeholder { color: #868686; opacity: 1; }

.blog-category select {
  appearance: none;
  padding: 0 46px 0 18px;
  background-image: url("/static/img/figma/select-chevron.svg?v=20260804");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 9px;
}

.blog-search input:focus,
.blog-category select:focus { border-color: #513bfe; }

.editorial-grid {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(3, 395px);
  column-gap: 31px;
  row-gap: 65px;
}

.editorial-card { width: 395px; }
.editorial-card[hidden] { display: none; }

.editorial-card-image {
  width: 395px;
  height: 222px;
  display: block;
  overflow: hidden;
}

.editorial-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editorial-card-title {
  min-height: 45px;
  margin-top: 19px;
  display: block;
  color: #111;
  font-size: 18px;
  line-height: 22.5px;
  font-weight: 400;
}

.editorial-card-title:hover,
.editorial-card-title:focus { color: #513bfe; }

.editorial-card p {
  min-height: 60px;
  margin: 12px 0 0;
  color: #111;
  font-size: 14px;
  line-height: 20px;
  font-weight: 200;
}

.editorial-card-meta {
  margin-top: 15px;
  color: #868686;
  font-size: 11px;
  line-height: 15px;
  font-weight: 300;
}

.editorial-load {
  width: 200px;
  height: 45px;
  margin: 79px auto 0;
  border: 0;
  border-radius: 100px;
  display: block;
  background: #513bfe;
  color: #fff;
  font-size: 15px;
  line-height: 19px;
  font-weight: 400;
  cursor: pointer;
}

.editorial-load:hover,
.editorial-load:focus-visible { background: var(--ribele-button-hover); }
.editorial-load[hidden] { display: none; }
.blog-empty { margin: 80px 0; color: #868686; text-align: center; font-size: 16px; }

/* Article */
.article-page {
  width: 1246px;
  margin: 91px auto 0;
  padding-bottom: 151px;
}

.article-shell { width: 1024px; margin: 0 auto; }
.article-header { width: 745px; margin: 0 auto; }

.article-header h1 {
  margin: 0;
  color: #111;
  font-size: 46px;
  line-height: 50px;
  font-weight: 300;
  letter-spacing: 0;
}

.article-meta {
  margin-top: 27px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #868686;
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
}

.article-meta img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.article-meta span + span::before { content: "|"; margin-right: 14px; color: #d1d1d1; }

.article-hero {
  width: 1024px;
  height: 576px;
  margin-top: 63px;
  display: block;
  object-fit: cover;
}

.article-body {
  width: 745px;
  margin: 53px auto 0;
  color: #111;
  font-size: 15px;
  line-height: 24px;
  font-weight: 200;
}

.article-body p { margin: 0 0 24px; }
.article-body h2 { margin: 46px 0 20px; font-size: 24px; line-height: 30px; font-weight: 400; }
.article-body ol { margin: 22px 0 42px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }

.article-project {
  width: 745px;
  min-height: 150px;
  margin: 49px 0;
  padding: 18px;
  border: 1px solid #d1d1d1;
  display: grid;
  grid-template-columns: 160px 1fr 112px;
  align-items: center;
  gap: 22px;
}

.article-project > img { width: 160px; height: 112px; object-fit: cover; }
.article-project span { display: block; color: #513bfe; font-size: 11px; line-height: 15px; text-transform: uppercase; }
.article-project strong { margin-top: 7px; display: block; font-size: 17px; line-height: 22px; font-weight: 400; }
.article-project p { margin: 8px 0 0; font-size: 13px; line-height: 18px; }
.article-project > a { color: #513bfe; font-size: 13px; line-height: 17px; font-weight: 400; text-align: right; }

.article-video {
  width: 1024px;
  height: 576px;
  margin: 53px 0 53px -139.5px;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.article-video > img { width: 100%; height: 100%; object-fit: cover; }
.article-play {
  width: 58px;
  height: 58px;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #513bfe;
  font-size: 20px;
  padding-left: 3px;
}

.article-gallery {
  margin-top: 49px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.article-gallery img { width: 100%; height: 112px; object-fit: cover; }

.article-pagination {
  width: 1024px;
  margin-top: 72px;
  padding-top: 31px;
  border-top: 1px solid #d1d1d1;
  display: flex;
  justify-content: space-between;
}

.article-pagination a { display: flex; align-items: center; gap: 13px; font-size: 13px; line-height: 17px; font-weight: 300; }
.article-pagination span { font-size: 27px; line-height: 1; }
.article-pagination a:hover { color: #513bfe; }

.article-related {
  width: 1246px;
  margin-top: 91px;
  padding-top: 59px;
  border-top: 1px solid #d1d1d1;
}

.article-related .editorial-grid { margin-top: 43px; }

/* Help, pricing and rules: Figma nodes 3231:624, 3234:883 and 3239:1151. */
.public-page-header {
  width: 820px;
}

.public-page-header .editorial-kicker {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 400;
}

.public-page-header h1 {
  margin: 0;
  font-size: 46px;
  line-height: 50.6px;
  font-weight: 400;
}

.public-page-header > p:last-child {
  margin: 19px 0 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 200;
}

/* Sección de Ayuda */
.help-page {
  width: 1064px;
  margin: 103.81px 0 0 347px;
  padding-bottom: 151px;
  display: grid;
  grid-template-columns: 289px 745px;
  column-gap: 30px;
  align-items: start;
}

.help-sidebar {
  position: sticky;
  top: 28px;
  padding-top: 5px;
}

.help-sidebar h1 {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 200;
}

.help-sidebar nav {
  display: flex;
  flex-direction: column;
}

.help-sidebar a {
  width: 224.5px;
  min-height: 42.5px;
  margin-left: 17px;
  padding: 7px 13px;
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 200;
}

.help-sidebar a:hover,
.help-sidebar a:focus-visible,
.help-sidebar a.is-active {
  background: #edebfd;
}

.help-section {
  padding-bottom: 76px;
  border-bottom: 1px solid #d1d1d1;
  scroll-margin-top: 24px;
}

.help-section + .help-section {
  padding-top: 76px;
}

.help-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.help-section:nth-child(1) { height: 622.12px; }
.help-section:nth-child(2) { height: 487px; }
.help-section:nth-child(3) { height: 844px; }
.help-section:nth-child(4) { height: 1035px; }
.help-section:nth-child(5) { height: 926px; }
.help-section:nth-child(6) { height: 683.27px; }
.help-section:nth-child(7) { height: 425.73px; }
.help-section:nth-child(8) { height: 852.5px; }
.help-section:nth-child(9) { height: 2866.5px; }
.help-section:nth-child(10) { height: 1460.08px; }
.help-section:nth-child(11) { height: 1173.99px; }
.help-section:nth-child(12) { height: 557px; }

.help-section h2 {
  width: 714px;
  margin: 0 0 39px .5px;
  font-size: 32px;
  line-height: 35px;
  font-weight: 300;
}

.help-section:last-child h2 {
  margin-bottom: 63px;
}

.help-section-body {
  width: 715px;
  color: #111;
  font-size: 18px;
  line-height: 27px;
  font-weight: 200;
}

.help-section-body p,
.help-section-body ol {
  margin: 0 0 15px;
}

.help-section-body ol {
  padding-left: 25px;
}

.help-section-body li {
  padding-left: 3px;
}

.help-section-body h3 {
  margin: 30px 0 15px;
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
}

.help-section-body > :last-child {
  margin-bottom: 0;
}

/* Nuestros precios */
.pricing-page {
  width: 820px;
  margin: 113.2px auto 0;
  padding-bottom: 160.03px;
}

.pricing-grid {
  margin-top: 45.37px;
  display: grid;
  grid-template-columns: 395px 395px;
  gap: 30px;
}

.pricing-card {
  width: 395px;
  height: 647.34px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f6f5fe;
}

.pricing-card h2 {
  height: 81.34px;
  margin: 0;
  padding: 27px 35px 0;
  background: #edebfd;
  font-size: 18px;
  line-height: 22.5px;
  font-weight: 500;
}

.pricing-copy {
  width: 327px;
  margin: 45.33px 35px 0;
  font-size: 18px;
  line-height: 25px;
  font-weight: 200;
}

.pricing-copy p {
  margin: 0 0 25px;
}

.pricing-amount {
  height: 210px;
  position: absolute;
  inset: auto 0 0;
  padding-top: 33.13px;
  background: linear-gradient(135deg, #513bfe 0%, #302398 100%);
  color: #fff;
  text-align: center;
}

.pricing-amount strong {
  width: 289px;
  margin: 0 auto;
  display: block;
  font-size: 84px;
  line-height: 105px;
  font-weight: 200;
  letter-spacing: -4.2px;
}

.pricing-amount span,
.pricing-amount small {
  display: block;
  font-size: 18px;
  line-height: 22.5px;
  font-weight: 200;
}

.pricing-amount.is-business {
  padding-top: 33.13px;
}

.pricing-amount.is-business small {
  position: absolute;
  top: 47.79px;
  left: 57px;
}

.pricing-note {
  width: 820px;
  margin: 29px 0 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 200;
}

/* Nuestras reglas */
.rules-page {
  width: 820px;
  margin: 113.2px auto 0;
  padding-bottom: 217px;
}

.rules-content {
  margin-top: 72.78px;
}

.rules-section {
  padding-bottom: 82px;
  border-bottom: 1px solid #d1d1d1;
  font-size: 18px;
  line-height: 27px;
  font-weight: 200;
}

.rules-section + .rules-section {
  padding-top: 84px;
}

.rules-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rules-section:nth-child(1) { height: 379.93px; }
.rules-section:nth-child(2) { height: 632px; padding-top: 85px; }
.rules-section:nth-child(3) { height: 742px; padding-top: 97px; }

.rules-section h2 {
  margin: 0 0 23px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 300;
}

.rules-section p,
.rules-section ol {
  margin: 0 0 15px;
}

.rules-section ol {
  padding-left: 25px;
}

.rules-section li {
  padding-left: 3px;
}

.rules-section > :last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .help-section:nth-child(n),
  .rules-section:nth-child(n) {
    height: auto;
  }

  .editorial-canvas {
    --figma-full-bleed-width: 100%;
    --figma-full-bleed-offset: 0px;
    width: 100%;
    zoom: 1;
  }

  .editorial-canvas .figma-footer {
    width: 100%;
    margin-left: 0;
  }

  .editorial-canvas .figma-footer-inner {
    width: calc(100vw - 48px);
    min-height: 0;
    margin: 0 auto;
    padding: 42px 0 36px;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .editorial-canvas .figma-footer-mark,
  .editorial-canvas .figma-footer-social { grid-column: 1 / -1; }
  .editorial-canvas .figma-footer-social { justify-content: flex-start; }
  .editorial-canvas .figma-footer-bottom-inner {
    width: calc(100vw - 48px);
    min-height: 0;
    padding: 24px 0;
    flex-wrap: wrap;
  }

  .about-page,
  .blog-page,
  .article-page,
  .pricing-page,
  .rules-page {
    width: calc(100vw - 48px);
    margin-top: 48px;
    padding-bottom: 80px;
  }

  .about-intro,
  .about-intro h1,
  .about-intro p,
  .about-team,
  .about-letter,
  .article-shell,
  .article-header,
  .article-hero,
  .article-body,
  .article-project,
  .article-video,
  .article-pagination,
  .article-related,
  .blog-featured {
    width: 100%;
  }

  .article-video { margin-left: 0; }

  .about-intro h1,
  .article-header h1 { font-size: 34px; line-height: 39px; }
  .about-team,
  .article-hero,
  .article-video { height: auto; aspect-ratio: 16 / 9; }

  .blog-featured { height: auto; aspect-ratio: 1 / 1; }
  .blog-featured-copy { width: calc(100% - 48px); left: 24px; bottom: 28px; }
  .blog-featured-copy strong { font-size: 30px; line-height: 35px; }
  .blog-featured-copy > span:last-child { width: 100%; }

  .blog-toolbar { height: auto; grid-template-columns: 1fr; }
  .blog-search,
  .blog-category { width: 100%; }

  .editorial-grid { grid-template-columns: 1fr; gap: 48px; }
  .editorial-card,
  .editorial-card-image { width: 100%; }
  .editorial-card-image { height: auto; aspect-ratio: 395 / 222; }

  .article-project { grid-template-columns: 120px 1fr; }
  .article-project > img { width: 120px; height: 90px; }
  .article-project > a { grid-column: 2; text-align: left; }
  .article-gallery { grid-template-columns: 1fr 1fr; }
  .article-meta { flex-wrap: wrap; }
  .article-related { margin-top: 72px; }

  .help-page {
    width: calc(100vw - 48px);
    margin: 48px 24px 0;
    padding-bottom: 80px;
    grid-template-columns: 1fr;
  }

  .help-sidebar {
    position: static;
    margin-bottom: 52px;
  }

  .help-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .help-sidebar a {
    width: auto;
    min-height: 38px;
    margin-left: 0;
    padding: 8px 12px;
  }

  .help-section h2,
  .help-section-body,
  .public-page-header,
  .pricing-note {
    width: 100%;
  }

  .help-section h2,
  .rules-section h2 {
    font-size: 28px;
    line-height: 35px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    width: min(395px, 100%);
    margin: 0 auto;
  }

  .pricing-card h2 {
    padding-right: 30px;
    padding-left: 30px;
  }

  .pricing-copy {
    width: auto;
    margin-right: 30px;
    margin-left: 30px;
  }

  .pricing-amount strong {
    width: 100%;
    font-size: 72px;
    letter-spacing: 0;
  }

  .pricing-amount.is-business small {
    position: static;
    margin-bottom: -22.5px;
    text-align: left;
    padding-left: 48px;
  }

  .public-page-header h1 {
    font-size: 36px;
    line-height: 42px;
  }
}
