/* Discovery is a learning playground, with normal page scrolling. */
.learn-hero {
  background: #f1f8fc;
  border-bottom: 1px solid #dfedf4;
}
.learn-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 54px 72px;
}
.learn-hero h1 {
  font-size: 52px;
  line-height: 1.35;
  margin-bottom: 20px;
}
.learn-hero h1 em {
  font-style: normal;
  color: var(--blue-text);
}
.learn-hero-copy > p {
  font-size: 19px;
  line-height: 1.9;
  max-width: 530px;
}
.learn-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.learning-numbers {
  display: flex;
  gap: 25px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 12px;
}
.learning-numbers strong {
  display: block;
  font-size: 23px;
  color: var(--blue-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.curiosity-card {
  border: 1px solid #d0e4ef;
  border-radius: 23px;
  background: white;
  box-shadow: 0 14px 35px #0e577708;
  overflow: hidden;
}
.curiosity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fbfcf4;
  border-bottom: 1px solid #edf0dc;
  padding: 17px 24px;
  color: #637039;
  font-size: 14px;
  font-weight: 700;
}
.curiosity-top > span {
  display: flex;
  gap: 9px;
  align-items: center;
}
.curiosity-top app-icon {
  font-size: 20px;
}
.shuffle-fact {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e0e8c6;
  background: white;
  border-radius: 8px;
  color: #53622b;
  padding: 7px 11px;
  font-size: 12px;
  min-height: 38px;
}
.shuffle-fact:hover {
  background: #eff5df;
}
.shuffle-fact app-icon {
  font-size: 15px;
}
.curiosity-body {
  padding: 29px 27px;
}
.curiosity-body h2 {
  font-size: 27px;
  line-height: 1.55;
  margin-bottom: 15px;
}
.curiosity-body p {
  font-size: 17px;
  line-height: 1.95;
  min-height: 85px;
}
.curiosity-source {
  padding: 17px 25px 19px;
  background: #f7fbfd;
  border-top: 1px solid #e2eef3;
}
.curiosity-source > .inline-sources {
  font-size: 12px;
}
.curiosity-source > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 10px;
}
.learn-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #d7e7ef;
  border-radius: 14px;
  background: white;
  margin-top: -25px;
  position: relative;
  box-shadow: 0 5px 18px #173d4e04;
}
.learn-shortcuts a {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  min-height: 70px;
}
.learn-shortcuts a + a {
  border-inline-start: 1px solid #e2edf3;
}
.learn-shortcuts a:hover {
  background: #f1f8fc;
  color: var(--blue-text);
}
.learn-shortcuts app-icon {
  color: var(--blue-text);
  font-size: 23px;
}
.learning-play-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-block: 55px 65px;
  align-items: start;
}
.idea-challenge,
.food-lab {
  border-radius: 22px;
  padding: 31px;
}
.idea-challenge {
  background: #103f58;
  color: white;
  border: 1px solid #103f58;
}
.widget-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  margin-bottom: 23px;
}
.widget-kicker > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.widget-kicker app-icon {
  font-size: 19px;
}
.idea-challenge .widget-kicker {
  color: #b7dce9;
}
.idea-challenge h2 {
  font-size: 28px;
  margin-bottom: 21px;
}
.challenge-prompt {
  font-size: 23px;
  line-height: 1.7;
  color: white;
  margin-bottom: 22px;
}
.challenge-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.challenge-answers button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: right;
  padding: 17px 18px;
  background: #ffffff0a;
  border: 1px solid #6791a3;
  border-radius: 12px;
  color: #f4faff;
  font-size: 17px;
  line-height: 1.7;
  min-height: 62px;
}
.challenge-answers button:not(:disabled):hover {
  background: #ffffff16;
  border-color: #b6e2f1;
}
.challenge-answers button.correct-answer {
  background: #e2f3e8;
  border-color: #acd8b8;
  color: #23513a;
}
.challenge-answers button.chosen:not(.correct-answer) {
  border-color: #edc692;
  background: #ffffff12;
}
.challenge-answers button > app-icon {
  font-size: 21px;
}
.challenge-hint {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #b1d1df;
  font-size: 12px;
  margin: 22px 0 0;
}
.challenge-reveal {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-top: 20px;
  color: var(--navy);
}
.challenge-reveal > strong {
  font-size: 17px;
}
.challenge-reveal > p {
  font-size: 16px;
  line-height: 1.9;
  margin-block: 10px 18px;
}
.challenge-reveal > div:last-child {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}
.challenge-reveal .button {
  padding: 10px 13px;
  font-size: 13px;
  min-height: 42px;
}
.challenge-reveal .text-link {
  font-size: 13px;
}
.food-lab {
  background: #f3f8f4;
  border: 1px solid #d9e7dd;
}
.food-lab .widget-kicker {
  color: #487456;
}
.food-lab h2 {
  font-size: 27px;
  margin-bottom: 12px;
}
.food-lab > p {
  font-size: 15px;
  line-height: 1.9;
}
.sample-label {
  border: 1px solid #cfded4;
  background: white;
  border-radius: 14px;
  padding: 22px;
  margin-top: 20px;
}
.sample-label > div:first-child {
  border-bottom: 1px solid #dfe9e2;
  padding-bottom: 15px;
}
.sample-label > div:first-child > strong {
  font-size: 17px;
  display: block;
}
.sample-label > div:first-child > span {
  font-size: 12px;
  color: var(--muted);
}
.sample-label > label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}
.sample-label output {
  background: #e9f4ec;
  border-radius: 7px;
  color: #356342;
  min-width: 32px;
  text-align: center;
  padding: 2px 7px;
}
.sample-label input[type='range'] {
  width: 100%;
  margin: 16px 0 2px;
  accent-color: #407958;
  min-height: 24px;
  cursor: pointer;
  direction: rtl;
}
.serving-ticks {
  display: flex;
  justify-content: space-between;
  color: #6f8977;
  font-size: 11px;
  padding-inline: 3px;
}
.label-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid #e2ebe5;
  margin-top: 18px;
  padding-top: 17px;
}
.label-results strong {
  display: block;
  font-size: 33px;
  color: #326045;
  line-height: 1.4;
}
.label-results strong small {
  font-size: 15px;
  font-weight: 400;
}
.label-results > div > span {
  display: block;
  font-size: 11px;
  color: #57715f;
}
.sample-label .label-equation {
  text-align: center;
  color: #587461;
  font-size: 12px;
  margin: 17px 0 0;
}
.food-lab .food-boundary {
  font-size: 11px;
  margin-block: 17px;
  color: #5a7563;
}
.food-lab-bottom {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.food-lab-bottom > a:last-child {
  font-size: 11px;
  color: #496b55;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.food-lab-bottom .text-link {
  font-size: 14px;
}
.discovery-journeys {
  padding-bottom: 65px;
}
.journey-choices {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.journey-choices button {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfdfe8;
  border-radius: 10px;
  min-height: 49px;
  padding: 10px 18px;
  background: white;
  color: #547283;
  font-size: 15px;
}
.journey-choices button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.journey-choices button:not(.active):hover {
  border-color: var(--blue);
  color: var(--blue-text);
}
.journey-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border: 1px solid #d5e6ef;
  border-radius: 20px;
  overflow: hidden;
}
.journey-overview {
  background: #eff7fb;
  padding: 31px;
}
.journey-overview h3 {
  font-size: 28px;
  margin-block: 20px 13px;
}
.journey-overview > p {
  font-size: 16px;
  line-height: 1.9;
}
.journey-progress {
  margin-block: 23px;
}
.journey-progress label {
  font-size: 12px;
  color: var(--muted);
}
.journey-progress progress {
  margin-block: 10px 0;
  height: 7px;
}
.journey-preview {
  list-style: none;
  padding: 25px 30px;
  margin: 0;
  background: white;
}
.journey-preview li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-block: 17px;
  border-bottom: 1px solid #e5eef3;
}
.journey-preview .journey-step {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf6fb;
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 700;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  flex-shrink: 0;
  margin-top: 5px;
}
.journey-preview li > a {
  position: relative;
  display: block;
  width: 100%;
  padding-inline-end: 25px;
}
.journey-preview small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.journey-preview strong {
  display: block;
  font-size: 18px;
  line-height: 1.6;
}
.journey-preview li > a > app-icon {
  position: absolute;
  left: 0;
  top: 22px;
  color: var(--blue-text);
  font-size: 17px;
}
.journey-preview li > a:hover {
  color: var(--blue-text);
}
.journey-preview .journey-more {
  border: 0;
  padding-top: 20px;
  font-size: 13px;
  color: var(--blue-text);
  font-weight: 700;
}
.journey-preview .journey-more > a > app-icon {
  top: 5px;
}
.knowledge-library {
  background: #f6fafc;
  border-block: 1px solid #e5eff4;
}
.knowledge-library .section {
  padding-block: 60px;
}
.library-count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.library-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c8dce7;
  border-radius: 11px;
  padding: 11px 17px;
  background: white;
  max-width: 620px;
  margin-bottom: 21px;
}
.library-search app-icon {
  font-size: 21px;
  color: var(--blue-text);
}
.library-search input {
  border: 0;
  background: transparent;
  outline-offset: 0;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  color: var(--navy);
  padding: 4px;
}
.library-search input::placeholder {
  font-size: 14px;
  color: #526e7d;
}
.library-topics {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 27px;
}
.library-topics button {
  border: 1px solid #d8e6ee;
  border-radius: 7px;
  background: white;
  padding: 7px 12px;
  min-height: 38px;
  color: #536e7e;
  font-size: 12px;
}
.library-topics button.active {
  background: #dceff8;
  color: var(--blue-dark);
  border-color: #a7d0e3;
  font-weight: 700;
}
.library-topics button:hover {
  border-color: var(--blue);
}
.library-more {
  text-align: center;
  margin-top: 32px;
}
.library-more > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.learning-story-invite {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-block: 48px;
}
.story-invite-icon {
  background: #edf7fb;
  border-radius: 15px;
  color: var(--blue-text);
  font-size: 31px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.learning-story-invite .eyebrow {
  font-size: 12px;
  margin-bottom: 7px;
}
.learning-story-invite h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.learning-story-invite p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 690px;
  margin: 0;
}
.learning-story-invite > .button {
  margin-inline-start: auto;
  flex-shrink: 0;
  font-size: 14px;
}
.learning-session {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 21px 30px;
  color: var(--muted);
  font-size: 12px;
}
.learning-session > app-icon {
  font-size: 21px;
  color: var(--blue-text);
}
.learning-session > .clear-button {
  margin-inline-start: auto;
  font-size: 12px;
}
.learning-session > small {
  width: 100%;
  font-size: 11px;
  padding-inline-start: 31px;
}
.reference-facts {
  background: #f3f9fc;
  border: 1px solid #d8e9f1;
  border-radius: 17px;
  padding: 27px;
}
.reference-facts > p {
  font-size: 14px !important;
}
.reference-fact {
  background: white;
  border: 1px solid #e0ebf1;
  border-radius: 12px;
  padding: 20px;
  margin-top: 15px;
}
.reference-fact h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.reference-fact > p {
  font-size: 17px !important;
  margin-bottom: 15px;
}
.reference-fact .inline-sources {
  font-size: 12px;
}
.reference-fact > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 11px;
}
@media (max-width: 1000px) {
  .learn-hero-grid {
    gap: 35px;
  }
  .learn-hero h1 {
    font-size: 44px;
  }
  .learning-numbers {
    gap: 18px;
  }
  .learn-hero-copy > p {
    font-size: 17px;
  }
  .learn-hero-actions {
    gap: 15px;
  }
  .learn-shortcuts a {
    font-size: 14px;
    padding: 18px 12px;
  }
  .learning-play-grid {
    gap: 20px;
  }
  .idea-challenge,
  .food-lab {
    padding: 25px;
  }
  .idea-challenge h2,
  .food-lab h2 {
    font-size: 25px;
  }
  .challenge-prompt {
    font-size: 21px;
  }
  .journey-overview,
  .journey-preview {
    padding: 25px;
  }
  .journey-overview h3 {
    font-size: 25px;
  }
  .journey-preview strong {
    font-size: 16px;
  }
  .learning-story-invite {
    gap: 18px;
    flex-wrap: wrap;
  }
  .learning-story-invite > .button {
    margin-inline-start: 83px;
  }
}
@media (max-width: 700px) {
  .learn-hero-grid {
    grid-template-columns: 1fr;
    padding-block: 35px 58px;
    gap: 30px;
  }
  .learn-hero h1 {
    font-size: 43px;
    line-height: 1.4;
  }
  .learn-hero-copy > p {
    font-size: 17px;
  }
  .learn-hero-actions .button {
    font-size: 14px;
    padding-inline: 17px;
  }
  .learn-hero-actions .text-link {
    font-size: 13px;
  }
  .learning-numbers {
    gap: 25px;
    font-size: 11px;
    margin-top: 23px;
  }
  .learning-numbers strong {
    font-size: 22px;
  }
  .curiosity-top {
    padding: 15px 20px;
  }
  .curiosity-body {
    padding: 23px;
  }
  .curiosity-body h2 {
    font-size: 25px;
  }
  .curiosity-body p {
    font-size: 17px;
    min-height: 0;
  }
  .curiosity-source {
    padding: 15px 21px;
  }
  .learn-shortcuts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -23px;
  }
  .learn-shortcuts a {
    font-size: 13px;
    padding: 17px 12px;
    min-height: 60px;
    justify-content: flex-start;
    gap: 10px;
  }
  .learn-shortcuts a:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid #e2edf3;
  }
  .learn-shortcuts a:nth-child(4) {
    border-top: 1px solid #e2edf3;
  }
  .learn-shortcuts app-icon {
    font-size: 22px;
  }
  .learning-play-grid {
    grid-template-columns: 1fr;
    padding-block: 35px 43px;
    gap: 20px;
  }
  .idea-challenge,
  .food-lab {
    padding: 24px 22px;
    border-radius: 17px;
  }
  .widget-kicker {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .idea-challenge h2,
  .food-lab h2 {
    font-size: 24px;
  }
  .challenge-prompt {
    font-size: 21px;
  }
  .challenge-answers button {
    font-size: 16px;
    padding: 15px;
  }
  .challenge-reveal {
    padding: 19px;
  }
  .challenge-reveal > p {
    font-size: 16px;
  }
  .challenge-reveal > div:last-child {
    gap: 14px;
  }
  .challenge-reveal .button {
    font-size: 12px;
  }
  .food-lab > p {
    font-size: 14px;
  }
  .sample-label {
    padding: 18px;
  }
  .sample-label > div:first-child > span {
    font-size: 11px;
  }
  .label-results strong {
    font-size: 31px;
  }
  .food-lab .food-boundary {
    font-size: 11px;
  }
  .food-lab-bottom {
    gap: 12px;
  }
  .food-lab-bottom .text-link {
    font-size: 13px;
  }
  .journey-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .journey-choices button {
    padding: 10px;
    font-size: 12px;
    min-height: 47px;
    gap: 7px;
  }
  .journey-panel {
    grid-template-columns: 1fr;
  }
  .journey-overview,
  .journey-preview {
    padding: 24px;
  }
  .journey-overview h3 {
    font-size: 25px;
  }
  .journey-overview > p {
    font-size: 15px;
  }
  .journey-preview {
    border-top: 1px solid #d5e6ef;
  }
  .journey-preview strong {
    font-size: 17px;
  }
  .journey-progress label {
    font-size: 11px;
  }
  .discovery-journeys {
    padding-bottom: 43px;
  }
  .knowledge-library .section {
    padding-block: 42px;
  }
  .library-count {
    display: block;
    margin-top: 13px;
    font-size: 12px;
  }
  .library-search {
    padding: 11px 13px;
    gap: 9px;
  }
  .library-search input::placeholder {
    font-size: 11px;
  }
  .library-search input {
    font-size: 16px;
  }
  .library-topics {
    gap: 7px;
    margin-bottom: 23px;
  }
  .library-topics button {
    font-size: 11px;
    padding: 7px 10px;
    min-height: 36px;
  }
  .learning-story-invite {
    display: block;
    padding-block: 35px;
  }
  .story-invite-icon {
    width: 50px;
    height: 50px;
    font-size: 26px;
    margin-bottom: 18px;
  }
  .learning-story-invite h2 {
    font-size: 24px;
  }
  .learning-story-invite .eyebrow {
    font-size: 11px;
  }
  .learning-story-invite p {
    font-size: 14px;
  }
  .learning-story-invite > .button {
    margin: 20px 0 0;
    font-size: 14px;
  }
  .learning-session {
    font-size: 11px;
    gap: 8px;
    padding-block: 18px 27px;
  }
  .learning-session > span {
    flex: 1;
  }
  .learning-session > .clear-button {
    min-height: 34px;
    font-size: 11px;
    margin-inline-start: 28px;
  }
  .learning-session > small {
    padding-inline-start: 0;
    font-size: 10px;
  }
  .reference-facts {
    padding: 21px 17px;
  }
  .reference-facts h2 {
    font-size: 23px !important;
  }
  .reference-facts > p {
    font-size: 13px !important;
  }
  .reference-fact {
    padding: 18px 15px;
  }
  .reference-fact h3 {
    font-size: 19px;
  }
  .reference-fact > p {
    font-size: 16px !important;
  }
  .reference-fact .inline-sources {
    font-size: 11px;
  }
}
@media print {
  .learn-shortcuts,
  .shuffle-fact,
  .learn-hero-actions,
  .challenge-answers,
  .library-topics,
  .library-search,
  .learning-session {
    display: none !important;
  }
  .learn-hero-grid,
  .learning-play-grid,
  .journey-panel {
    display: block;
  }
  .idea-challenge {
    background: white;
    color: black;
  }
  .challenge-prompt {
    color: black;
  }
  .reference-facts {
    break-inside: auto;
    background: white;
  }
  .reference-fact {
    break-inside: avoid;
  }
  .reference-fact .inline-sources a:after {
    content: ' (' attr(href) ')';
    display: block;
    direction: ltr;
    unicode-bidi: isolate;
    font-size: 8pt;
  }
  .learning-story-invite {
    display: block;
  }
}

.article-lesson-link {
  padding: 22px;
  border-inline-start: 4px solid #a53660;
  background: #fff5f8;
  border-radius: 8px;
  margin-block: 24px;
}
.article-lesson-link p {
  font-size: 1rem;
  margin: 8px 0 12px;
}
.article-lesson-link a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
