@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/marketplace/fredoka-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/marketplace/figtree-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/marketplace/figtree-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/marketplace/figtree-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/marketplace/figtree-latin-800-normal.woff2) format('woff2');
}
/* Resource Marketplace homepage (#6565). Every selector is scoped to .cce-mkt or named cce-mkt-*. */

.cce-mkt {
  --cce-mkt-navy: #1E3A63;
  --cce-mkt-navy-hero: #17304F;
  --cce-mkt-blue: #3970B7;
  --cce-mkt-link: #2F5F9E;
  --cce-mkt-green: #3D7F31;
  --cce-mkt-green-text: #2C6B22;
  --cce-mkt-green-brand: #55A145;
  --cce-mkt-orange: #F68521;
  --cce-mkt-orange-dark: #C2610E;
  --cce-mkt-orange-text: #1F2329;
  --cce-mkt-text: #2B3440;
  --cce-mkt-text-2: #3A4656;
  --cce-mkt-text-3: #5A6575;
  --cce-mkt-tab-text: #4A5666;
  --cce-mkt-star: #F2A20C;
  --cce-mkt-border: #DCE6F2;
  --cce-mkt-tab-track: #EEF2F7;
  --cce-mkt-intro: #D9E4F2;
  --cce-mkt-warm-bg: #FDF1E7;
  --cce-mkt-warm-timing: #8A3F0A;
  --cce-mkt-cool-bg: #EAF2FB;
  --cce-mkt-cool-timing: #2F5F9E;
  --cce-mkt-sell-bg: #FAE9E0;
  --cce-mkt-browseall-1: #E8740F;
  --cce-mkt-browseall-2: #D9680C;
  --cce-mkt-browseall-3: #B3540A;

  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--cce-mkt-text);
  background: #FFFFFF;
}

.cce-mkt [hidden] {
  display: none !important;
}

.cce-mkt a:focus-visible,
.cce-mkt button:focus-visible {
  outline: 3px solid #C2610E;
  outline-offset: 2px;
}

.cce-mkt a {
  color: var(--cce-mkt-link);
}

.cce-mkt-section-title,
.cce-mkt-hero-title,
.cce-mkt-event-title,
.cce-mkt-event-day,
.cce-mkt-stat-number,
.cce-mkt-sell-title,
.cce-mkt-card-placeholder {
  font-family: 'Fredoka', sans-serif;
}

/* Hero */

.cce-mkt-hero {
  padding: 28px 24px 0;
}

.cce-mkt-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--cce-mkt-navy-hero);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.cce-mkt-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.cce-mkt-hero-text {
  position: relative;
  flex: 0 1 520px;
  min-width: 0;
  padding: 48px 24px 48px 56px;
  box-sizing: border-box;
}

.cce-mkt-hero-title {
  margin: 0;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.cce-mkt-hero-intro {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cce-mkt-intro);
  max-width: 38ch;
}

.cce-mkt-hero-buttons {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
}

.cce-mkt-hero-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 22px 0 8px;
  box-sizing: border-box;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.cce-mkt-hero-btn--es {
  margin-top: 12px;
  max-width: 340px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
}

.cce-mkt-hero-btn--free {
  background: var(--cce-mkt-green);
  color: #FFFFFF;
}

.cce-mkt-hero-btn--shop {
  background: #FFFFFF;
  color: var(--cce-mkt-navy);
}

.cce-mkt-hero-btn--sell {
  background: var(--cce-mkt-orange);
  color: var(--cce-mkt-orange-text);
  font-weight: 800;
}

.cce-mkt-hero-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.cce-mkt-hero-btn--free .cce-mkt-hero-btn-icon {
  background: #FFFFFF;
  color: var(--cce-mkt-green);
}

.cce-mkt-hero-btn--shop .cce-mkt-hero-btn-icon {
  background: var(--cce-mkt-blue);
  color: #FFFFFF;
}

.cce-mkt-hero-btn--sell .cce-mkt-hero-btn-icon {
  background: #FFFFFF;
  color: var(--cce-mkt-orange-dark);
}

.cce-mkt-hero-btn--es .cce-mkt-hero-btn-icon {
  width: 36px;
  height: 36px;
  color: #FFFFFF;
}

/* The site's own link colors (a, a:hover, a:visited) outrank a single class; the buttons keep the design's colors. */
.cce-mkt a.cce-mkt-hero-btn--free,
.cce-mkt a.cce-mkt-hero-btn--es {
  color: #FFFFFF;
}

.cce-mkt a.cce-mkt-hero-btn--shop {
  color: var(--cce-mkt-navy);
}

.cce-mkt a.cce-mkt-hero-btn--sell,
.cce-mkt a.cce-mkt-sell-cta {
  color: var(--cce-mkt-orange-text);
}

/* Shared section layout */

.cce-mkt-events,
.cce-mkt-ages,
.cce-mkt-browseall {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 0;
  box-sizing: border-box;
}

.cce-mkt-section-title {
  margin: 0;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--cce-mkt-navy);
}

/* Coming up on the calendar */

.cce-mkt-event-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cce-mkt-event {
  flex: 1 1 520px;
  min-width: 0;
  border-radius: 20px;
  padding: 24px;
  box-sizing: border-box;
}

.cce-mkt-event--warm {
  background: var(--cce-mkt-warm-bg);
}

.cce-mkt-event--cool {
  background: var(--cce-mkt-cool-bg);
}

.cce-mkt-event-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cce-mkt-event-date {
  flex: none;
  width: 68px;
  border-radius: 12px;
  overflow: hidden;
  background: #FFFFFF;
  text-align: center;
  box-shadow: 0 2px 6px rgba(30, 58, 99, 0.12);
}

.cce-mkt-event-month {
  display: block;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 0;
}

.cce-mkt-event--warm .cce-mkt-event-month {
  background: var(--cce-mkt-orange-dark);
}

.cce-mkt-event--cool .cce-mkt-event-month {
  background: var(--cce-mkt-blue);
}

.cce-mkt-event-day {
  display: block;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--cce-mkt-navy);
}

.cce-mkt-event-info {
  flex: 1 1 0;
  min-width: 0;
}

.cce-mkt-event-title {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--cce-mkt-navy);
}

.cce-mkt-event-timing {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.cce-mkt-event--warm .cce-mkt-event-timing {
  color: var(--cce-mkt-warm-timing);
}

.cce-mkt-event--cool .cce-mkt-event-timing {
  color: var(--cce-mkt-cool-timing);
}

.cce-mkt-event-seeall {
  flex: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.cce-mkt-event-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Resource card (every section) */

.cce-mkt-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--cce-mkt-text);
}

.cce-mkt-card-media {
  position: relative;
  display: block;
}

.cce-mkt-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 283 / 400;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(30, 58, 99, 0.12);
}

.cce-mkt-card-placeholder {
  width: 100%;
  aspect-ratio: 283 / 400;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 58, 99, 0.12);
  box-sizing: border-box;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 10px solid var(--cce-mkt-orange);
}

.cce-mkt-card-placeholder--warm {
  border-top-color: var(--cce-mkt-orange);
}

.cce-mkt-card-placeholder--cool {
  border-top-color: var(--cce-mkt-blue);
}

.cce-mkt-card-placeholder-title {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--cce-mkt-navy);
}

.cce-mkt-card-placeholder-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--cce-mkt-text-3);
}

.cce-mkt-card-free {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--cce-mkt-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 6px;
}

.cce-mkt-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--cce-mkt-navy);
}

.cce-mkt-card:hover .cce-mkt-card-title {
  text-decoration: underline;
}

.cce-mkt-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.cce-mkt-card-stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  color: #D5DCE6;
  white-space: nowrap;
}

.cce-mkt-card-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--cce-mkt-star);
}

.cce-mkt-card-rating-text {
  font-weight: 700;
  color: var(--cce-mkt-text);
}

.cce-mkt-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.cce-mkt-card-ages {
  font-size: 12px;
  color: var(--cce-mkt-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.cce-mkt-card-price {
  flex: none;
  font-weight: 800;
  font-size: 15px;
  color: var(--cce-mkt-text);
}

.cce-mkt-card-price--free {
  color: var(--cce-mkt-green-text);
}

/* Info row */

.cce-mkt-info {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px 24px 0;
  box-sizing: border-box;
}

.cce-mkt-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1.5px solid var(--cce-mkt-border);
  border-radius: 16px;
}

.cce-mkt-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 14px;
  padding: 22px 28px;
  text-decoration: none;
  color: inherit;
}

.cce-mkt-stat:first-child {
  border-right: 1.5px solid var(--cce-mkt-border);
}

.cce-mkt-stat-number {
  font-weight: 600;
  font-size: 38px;
  line-height: 1.1;
}

.cce-mkt-stat-number--catalogue {
  color: var(--cce-mkt-blue);
}

.cce-mkt-stat-number--providers {
  color: var(--cce-mkt-orange-dark);
}

.cce-mkt-stat-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--cce-mkt-text);
}

/* Browse by age group */

.cce-mkt-ages-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.cce-mkt-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--cce-mkt-tab-track);
}

.cce-mkt-tab {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cce-mkt-tab-text);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: none;
}

.cce-mkt-tab[aria-selected='true'] {
  background: #FFFFFF;
  color: var(--cce-mkt-navy);
  box-shadow: 0 1px 4px rgba(30, 58, 99, 0.18);
}

.cce-mkt-ages-seeall {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
}

.cce-mkt-panel {
  margin-top: 20px;
}

.cce-mkt-panel-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

/* Seller section */

.cce-mkt-sell {
  padding: 56px 24px 72px;
  box-sizing: border-box;
}

.cce-mkt-sell-inner {
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--cce-mkt-sell-bg);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.cce-mkt-sell-media {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
}

.cce-mkt-sell-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 40% center;
  display: block;
}

.cce-mkt-sell-body {
  flex: 1 1 460px;
  min-width: 0;
  padding: 44px 48px;
  box-sizing: border-box;
}

.cce-mkt-sell-title {
  margin: 0;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.12;
  color: var(--cce-mkt-navy);
}

.cce-mkt-sell-lead {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cce-mkt-text-2);
  max-width: 48ch;
}

.cce-mkt-sell-lead strong,
.cce-mkt-sell-text strong {
  color: var(--cce-mkt-navy);
}

.cce-mkt-sell-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cce-mkt-sell-step {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cce-mkt-sell-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--cce-mkt-orange-dark);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cce-mkt-sell-text {
  font-size: 16px;
}

.cce-mkt-sell-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cce-mkt-sell-cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  background: var(--cce-mkt-orange);
  color: var(--cce-mkt-orange-text);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}

.cce-mkt-sell-how {
  font-weight: 700;
  font-size: 16px;
  padding: 0 8px;
}

/* Browse all */

.cce-mkt-browseall {
  text-align: center;
  padding-bottom: 56px;
}

.cce-mkt .cce-mkt-browseall-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 40px;
  border: 0;
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, var(--cce-mkt-browseall-1), var(--cce-mkt-browseall-2) 50%, var(--cce-mkt-browseall-3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 12px rgba(179, 84, 10, 0.35);
}

.cce-mkt .cce-mkt-browseall-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.cce-mkt .cce-mkt-browseall-btn:hover::after {
  transform: translateX(400%);
}

@media (prefers-reduced-motion: reduce) {
  .cce-mkt .cce-mkt-browseall-btn::after {
    transition: none;
  }
}

/* Below 900px (design decision 22) */

@media (max-width: 899px) {
  .cce-mkt-hero {
    padding-top: 20px;
  }

  .cce-mkt-hero-img {
    display: none;
  }

  .cce-mkt-hero-title {
    font-size: 36px;
  }

  .cce-mkt-event {
    flex-basis: 100%;
  }

  .cce-mkt-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cce-mkt-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cce-mkt-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .cce-mkt-stat:first-child {
    border-right: 0;
    border-bottom: 1.5px solid var(--cce-mkt-border);
  }
}
