/* Classroom sunlight and the cover's ink-blue lettering. */
.theme-rocco {
  --classroom-heading: ui-rounded, "Avenir Next", system-ui, sans-serif;
}
.theme-rocco .resource-header {
  background: radial-gradient(ellipse at 74% 42%, #fffaf0 4%, transparent 51%),
    linear-gradient(120deg, #f7d990, #fff0c7 45%, #f8dfb9 79%, #eac8b5);
}
.theme-rocco #resource-main {
  background: linear-gradient(155deg, #fff4d9, #fffbf1 28%, #f7e4cf 56%, #fffae9 79%, #e8efea);
}
.theme-rocco :is(.rocco-story-content, .rocco-read-together, .rocco-details) {
  background: transparent;
}
.theme-rocco .resource-hero h1,
.theme-rocco main :is(h2, h3),
.theme-rocco .resource-hero .rocco-subtitle {
  font-family: var(--classroom-heading);
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.025em;
}
.theme-rocco .resource-hero h1 .resource-title-lead {
  font: inherit;
  font-size: .76em;
  margin-bottom: .16em;
}
.theme-rocco .resource-hero h1 em {
  font: inherit;
  color: #14568a;
}
.theme-rocco .resource-hero .rocco-subtitle {
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  font-weight: 550;
  line-height: 1.4;
}
.theme-rocco .vsta-child-artwork .vsta-book-artwork-copy h3 {
  font-family: Schoolbell, var(--classroom-heading);
  font-weight: 400;
}

/* A quiet echo of the updated cover subtitle, without changing the classroom identity. */
.theme-rocco .resource-hero .rocco-subtitle {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: .42em .85em;
  border-radius: .9em;
  background: #d1edf0;
  color: #163849;
  text-wrap: balance;
}
.theme-rocco .resource-hero h1 { font-weight: 700; }

@font-face {
  font-family: Nunito;
  src: url("fonts/nunito-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
.theme-rocco .resource-hero h1,
.theme-rocco .resource-hero h1 em,
.theme-rocco .resource-hero .rocco-subtitle {
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  font-weight: 900;
  font-style: normal;
}
