/* KidsPact Fun-Fact — prototype layout, app type/spacing scale */

body.page-home.page-fun-fact {
  background: #fffdf8;
  color: var(--kp-text, #1f2937);
}

.funfact-page {
  min-height: 70vh;
  overflow-x: clip;
  font-family: var(--font);
  color: var(--kp-text, #1f2937);
}

.funfact-list[hidden],
.funfact-detail[hidden],
.funfact-article[hidden] {
  display: none !important;
}

.funfact-page a {
  color: inherit;
}

/* Match Find a Fit Useful Products / Topic Guide link colors (override inherit above). */
.funfact-page .topic-guide__item-title a,
.funfact-page .topic-guide__intro-title a,
.funfact-page .topic-guide__disclosure a,
.funfact-page .topic-guide__cta-related a {
  color: var(--color-primary);
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
}

.funfact-page .topic-guide__item-title a:hover,
.funfact-page .topic-guide__item-title a:focus-visible,
.funfact-page .topic-guide__intro-title a:hover,
.funfact-page .topic-guide__intro-title a:focus-visible,
.funfact-page .topic-guide__disclosure a:hover,
.funfact-page .topic-guide__disclosure a:focus-visible,
.funfact-page .topic-guide__cta-related a:hover,
.funfact-page .topic-guide__cta-related a:focus-visible {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
}

.funfact-page .topic-guide__badge {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}

.funfact-page .topic-guide__cta-primary {
  color: #fff !important;
}

.funfact-page .topic-guide__cta-primary:hover {
  color: #fff !important;
}

body.page-home.page-fun-fact .funfact-container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.funfact-hero {
  padding: 1.2rem 0 1.1rem;
  text-align: left;
  background: linear-gradient(135deg, #fff5cf 0%, #f2f7ff 100%);
  border-bottom: 1px solid var(--color-border);
}

.funfact-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #4f7cff;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funfact-hero h1 {
  margin: 0;
  font-size: var(--text-h1-home);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
  text-align: center;
}

.funfact-hero p {
  max-width: none;
  margin: 0.3rem 0 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-lead);
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
  text-align: center;
}

.funfact-section {
  padding: 1.35rem 0;
}

.funfact-section--alt {
  background: #f7f9fc;
}

.funfact-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.funfact-section-header h2 {
  margin: 0;
  font-size: var(--text-h1-compact);
  letter-spacing: -0.015em;
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-section-header p {
  margin: 0.2rem 0 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.funfact-show-all {
  flex-shrink: 0;
  color: #4f7cff;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
}

.funfact-show-all:hover {
  color: #4f7cff;
  text-decoration: underline;
}

.funfact-show-all[hidden] {
  display: none !important;
}

.funfact-featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funfact-featured:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.funfact-featured__image {
  min-height: 14rem;
  background: #f2f7ff;
}

.funfact-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funfact-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.15rem;
}

.funfact-tag {
  display: inline-flex;
  width: fit-content;
  padding: var(--pill-pad-y-sm) var(--pill-pad-x-sm);
  border-radius: var(--radius-pill);
  background: #edf3ff;
  color: #4f7cff;
  font-size: var(--pill-font-sm);
  font-weight: var(--pill-weight);
  letter-spacing: 0.04em;
  line-height: var(--pill-line);
  text-transform: uppercase;
}

.funfact-featured__content h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: var(--text-h1-compact);
  line-height: 1.3;
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-featured__content p {
  margin: 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.funfact-read-link {
  margin-top: 0.7rem;
  color: #4f7cff;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
}

.funfact-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.funfact-category {
  display: block;
  padding: 0.55rem 0.55rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funfact-category:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.funfact-category.is-active {
  border-color: #4f7cff;
  box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.2);
}

#fun-fact-ideas {
  scroll-margin-top: 5rem;
}

.funfact-category__icon {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.funfact-category h3 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25;
  color: var(--kp-text, #1f2937);
}

.funfact-category p {
  margin: 0.2rem 0 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-xs);
  line-height: 1.4;
}

.funfact-idea-grid,
.funfact-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.funfact-related-grid {
  gap: 0.65rem;
}

.funfact-idea-card[hidden],
.funfact-empty[hidden] {
  display: none !important;
}

.funfact-idea-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.funfact-idea-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.funfact-idea-card__image {
  height: 9.5rem;
  background: #f2f7ff;
}

.funfact-idea-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.funfact-idea-card__content {
  padding: 0.85rem 0.9rem 0.95rem;
}

.funfact-idea-card__content h3 {
  margin: 0.4rem 0 0.25rem;
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--kp-text, #1f2937);
}

.funfact-idea-card__content p {
  margin: 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.funfact-empty {
  margin: 0.65rem 0 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
}

.funfact-detail {
  padding: 1.15rem 0 2rem;
  animation: funfact-fade-in 0.25s ease;
}

@keyframes funfact-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.funfact-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  font-size: var(--text-sm);
  color: var(--kp-muted, #64748b);
}

.funfact-crumbs a {
  color: #4f7cff;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
}

.funfact-crumbs a:hover {
  text-decoration: underline;
}

.funfact-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f7cff;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
}

.funfact-back:hover {
  color: #4f7cff;
  text-decoration: none;
  opacity: 0.85;
}

.funfact-play-top {
  margin-bottom: 0.7rem;
}

.funfact-play-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.funfact-play-kicker .funfact-tag {
  flex-shrink: 0;
}

.funfact-play-top h1 {
  margin: 0.25rem 0 0.2rem;
  font-size: var(--text-h1-compact);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: var(--font-weight-semibold);
  color: var(--kp-text, #1f2937);
}

.funfact-play-lede {
  margin: 0;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.funfact-play-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: auto;
  flex: 0 1 auto;
}

.funfact-play-meta li {
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--kp-text, #1f2937);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
}

.funfact-play {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.funfact-play-main {
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 0.85rem 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid #d7e4ff;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 2.5rem);
  box-shadow: var(--shadow-sm);
}

.funfact-play-main__lead {
  margin: 0 0 0.65rem;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
}

.funfact-play-aside {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  min-height: 100%;
}

.funfact-play-aside > .funfact-acc:last-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.funfact-play-aside > .funfact-acc:last-child.is-open .funfact-acc__panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
}

.funfact-play-aside > .funfact-acc:last-child.is-open .funfact-acc__inner {
  flex: 1 1 auto;
}

.funfact-acc {
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.funfact-acc.is-open {
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.08);
}

.funfact-acc--mission { background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%); border-color: #d7e4ff; }
.funfact-acc--parent { background: linear-gradient(135deg, #f5f3ff 0%, #fbfaff 100%); border-color: #ddd6fe; }
.funfact-acc--faq,
.funfact-acc--note { background: #f8fafc; }
.funfact-acc--ottawa { background: linear-gradient(135deg, #ecfdf5 0%, #f7fffb 100%); border-color: #a7f3d0; }
.funfact-acc--need { background: linear-gradient(135deg, #fff7e8 0%, #fffdf6 100%); border-color: #f3e0b8; }
.funfact-acc--safety { background: linear-gradient(135deg, #fff1f2 0%, #fff8f8 100%); border-color: #fecdd3; }
.funfact-acc--further { background: linear-gradient(135deg, #f0f9ff 0%, #f8fcff 100%); border-color: #bae6fd; }
.funfact-acc--challenge { background: linear-gradient(135deg, #fff5cf 0%, #fffbeb 100%); border-color: #f6e08a; }

.funfact-acc__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.funfact-acc__trigger:hover {
  filter: brightness(0.99);
}

.funfact-acc__trigger:focus-visible {
  outline: 2px solid #4f7cff;
  outline-offset: -2px;
}

.funfact-acc__trigger h2 {
  margin: 0;
  flex: 1;
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-acc__chevron {
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.25rem;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}

.funfact-acc.is-open .funfact-acc__chevron {
  transform: translateY(0.12rem) rotate(225deg);
}

.funfact-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.funfact-acc.is-open .funfact-acc__panel {
  grid-template-rows: 1fr;
}

.funfact-acc__inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 0.85rem;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.28s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.35s ease;
}

.funfact-acc.is-open .funfact-acc__inner {
  padding: 0 0.75rem 0.75rem;
  opacity: 1;
  transform: translateY(0);
}

.funfact-acc__inner > p,
.funfact-acc__inner .funfact-faq {
  margin: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: var(--text-sm);
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.funfact-acc--mission .funfact-acc__inner > p { background: #f8fbff; color: #1e3a5f; }
.funfact-acc--parent .funfact-acc__inner > p { background: #faf8ff; color: #3b2f6b; }
.funfact-acc--ottawa .funfact-acc__inner > p { background: #f3fdf8; color: #14532d; }
.funfact-acc--need .funfact-acc__inner > p { background: #fffaf0; color: #7c4a03; }
.funfact-acc--safety .funfact-acc__inner > p { background: #fff7f7; color: #9f1239; }
.funfact-acc--further .funfact-acc__inner > p { background: #f5fbff; color: #0c4a6e; }
.funfact-acc--challenge .funfact-acc__inner > p { background: #fffbeb; color: #854d0e; }
.funfact-acc--faq .funfact-faq { background: #fff; }

.funfact-acc--faq .funfact-faq__item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.funfact-acc--faq .funfact-faq__q {
  color: #0f172a;
}

.funfact-acc--faq .funfact-faq__a {
  color: #475569;
}

@media (prefers-reduced-motion: reduce) {
  .funfact-acc,
  .funfact-acc__panel,
  .funfact-acc__inner,
  .funfact-acc__chevron {
    transition: none;
  }
}

.funfact-play-card {
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.funfact-play-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.funfact-play-card__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.funfact-play-card h2 {
  margin: 0;
  font-size: var(--text-h1-compact);
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-play-card p {
  margin: 0 0 0.45rem;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.5;
}

.funfact-play-card p:last-child {
  margin-bottom: 0;
}

.funfact-play-card--mission {
  background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
  border-color: #d7e4ff;
}

.funfact-play-card--need {
  background: linear-gradient(135deg, #fff7e8 0%, #fffdf6 100%);
  border-color: #f3e0b8;
}

.funfact-play-card--steps {
  background: #fff;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.funfact-play-card--safety {
  background: linear-gradient(135deg, #fff1f2 0%, #fff8f8 100%);
  border-color: #fecdd3;
}

.funfact-play-card--challenge {
  background: linear-gradient(135deg, #fff5cf 0%, #fffbeb 100%);
  border-color: #f6e08a;
}

.funfact-play-card--ottawa {
  background: linear-gradient(135deg, #ecfdf5 0%, #f7fffb 100%);
  border-color: #a7f3d0;
}

.funfact-play-card--parent {
  background: linear-gradient(135deg, #f5f3ff 0%, #fbfaff 100%);
  border-color: #ddd6fe;
}

.funfact-play-card--further {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fcff 100%);
  border-color: #bae6fd;
}

.funfact-play-card--faq,
.funfact-play-card--note {
  background: #f8fafc;
}

.funfact-steps {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.funfact-step__card {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid #e7e6e1;
  background: #fffdf8;
}

.funfact-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #4f7cff;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  flex-shrink: 0;
}

.funfact-steps li:nth-child(1) .funfact-step__num { background: #4f7cff; }
.funfact-steps li:nth-child(2) .funfact-step__num { background: #f59e0b; }
.funfact-steps li:nth-child(3) .funfact-step__num { background: #10b981; }
.funfact-steps li:nth-child(4) .funfact-step__num { background: #ec4899; }
.funfact-steps li:nth-child(5) .funfact-step__num { background: #8b5cf6; }
.funfact-steps li:nth-child(6) .funfact-step__num { background: #06b6d4; }
.funfact-steps li:nth-child(7) .funfact-step__num { background: #f97316; }
.funfact-steps li:nth-child(8) .funfact-step__num { background: #14b8a6; }
.funfact-steps li:nth-child(9) .funfact-step__num { background: #6366f1; }
.funfact-steps li:nth-child(10) .funfact-step__num { background: #e11d48; }

.funfact-step__text {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.45;
  color: var(--kp-text, #1f2937);
  padding-top: 0.12rem;
}

.funfact-faq {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.funfact-faq__item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  padding: 0.55rem 0.7rem;
}

.funfact-faq__q {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--kp-text, #1f2937);
}

.funfact-faq__a {
  margin: 0.35rem 0 0;
  font-size: var(--text-sm);
}

.funfact-related {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
}

.funfact-related h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: var(--text-h1-compact);
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-cta {
  padding: 1.35rem 0 1.6rem;
}

.funfact-detail .funfact-cta {
  padding: 1.25rem 0 0;
}

.funfact-cta-box {
  padding: 1.15rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  background: #fff1c7;
}

.funfact-cta-box h2 {
  margin: 0;
  font-size: var(--text-h1-compact);
  font-weight: var(--font-weight-bold);
  color: var(--kp-text, #1f2937);
}

.funfact-cta-box p {
  max-width: 34rem;
  margin: 0.35rem auto 0.85rem;
  color: var(--kp-muted, #64748b);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.funfact-primary-button {
  display: inline-flex;
  align-items: center;
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: var(--radius-pill);
  background: #4f7cff;
  color: #fff !important;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--pill-line);
}

.funfact-primary-button:hover {
  opacity: 0.9;
  color: #fff !important;
}

@media (max-width: 800px) {
  body.page-home.page-fun-fact .funfact-container {
    width: 100%;
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }

  .funfact-hero {
    padding: 1rem 0 0.9rem;
  }

  .funfact-section {
    padding: 1.1rem 0;
  }

  .funfact-featured {
    grid-template-columns: 1fr;
  }

  .funfact-featured__image {
    height: 10.5rem;
    min-height: 0;
  }

  .funfact-featured__content {
    padding: 0.85rem 0.9rem 1rem;
  }

  .funfact-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .funfact-idea-grid,
  .funfact-related-grid {
    grid-template-columns: 1fr;
  }

  .funfact-idea-card__image {
    height: 9.5rem;
  }

  .funfact-cta {
    padding: 1.1rem 0 1.35rem;
  }

  .funfact-play {
    grid-template-columns: 1fr;
  }

  .funfact-play-main,
  .funfact-play-aside {
    height: auto;
    min-height: 0;
  }

  .funfact-play-aside > .funfact-acc:last-child {
    flex: 0 1 auto;
  }

  .funfact-play-aside > .funfact-acc:last-child.is-open .funfact-acc__panel {
    flex: 0 1 auto;
    display: grid;
    grid-template-rows: 1fr;
  }

  .funfact-play-aside > .funfact-acc:last-child.is-open .funfact-acc__inner {
    flex: 0 1 auto;
  }
}

@media (max-width: 500px) {
  .funfact-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funfact-section-header {
    align-items: flex-start;
  }
}
