/* RAB Products | Learning and Great Pyramid informational pages.
   Scoped to main content; the shared PHP components own header, footer and Chipper.
   General typography, width and spacing are in rab-page-standard.css. */

.rab-learning-page .learning-wrap { padding: 44px 0; }
.rab-learning-page .section-kicker,
.rab-gpe-page .gpe-status {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .8rem;
  line-height: 1.4;
  color: #173f67;
  font-weight: 800;
}
.rab-learning-page .learning-lede {
  color: #66727d;
  font-size: 1.2rem;
  max-width: 750px;
  margin: 14px 0 30px;
}
.rab-learning-page .learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.rab-learning-page .learning-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dfe5ea;
  background: #fff;
  border-radius: 18px;
  padding: 23px;
}
.rab-learning-page .learning-card h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.2;
  min-height: 2.4em;
  margin: 10px 0 18px;
}
.rab-learning-page .learning-card h2 a,
.rab-learning-page .learning-card .cta { text-decoration: none; }
.rab-learning-page .learning-card .cta { font-weight: 800; }
.rab-learning-page .learning-card p { line-height: 1.65; }
.rab-learning-page .learning-card p:last-child { margin-top: auto; }
.rab-learning-page .learning-card small {
  color: #66727d;
  font-size: .86rem;
  font-weight: 600;
}
.rab-standard-page .rab-learning-page .learning-image {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}
.rab-standard-page .rab-learning-page .learning-image.learning-chipper {
  object-fit: contain;
  background: #f8fbfe;
}

.rab-gpe-page { padding: 44px 0 54px; }
.rab-gpe-page .gpe-status { color: #17695c; }
.rab-gpe-page .lead {
  font-size: 1.27rem;
  font-weight: 650;
  max-width: 790px;
}
.rab-gpe-page .teaser {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 26px auto;
  border-radius: 14px;
}
.rab-gpe-page .game-button {
  display: inline-block;
  background: #0e6974;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 19px;
  border-radius: 11px;
}
.rab-standard-page .rab-main a.game-button,
.rab-standard-page .rab-main a.game-button:hover,
.rab-standard-page .rab-main a.game-button:focus-visible { color: #fff; }
@media(max-width:760px) {
  .rab-learning-page .learning-grid { grid-template-columns: 1fr; }
  .rab-learning-page .learning-card h2 { min-height: 0; }
  .rab-standard-page .rab-learning-page .learning-image {
    height: auto;
    max-height: 420px;
    object-fit: contain;
  }
}
