/* One consistent guide, with three expressions from the same illustration. */
.guide {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  margin: 26px 0 34px;
  min-width: 0;
}
.guide-art {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3.1;
  overflow: hidden;
  border-radius: 30% 30% 20% 20%;
  flex: none;
  isolation: isolate;
}
.guide-art img {
  display: block;
  position: absolute;
  top: -18%;
  left: 0;
  width: 300%;
  max-width: none;
  height: auto;
  pointer-events: none;
}
.guide-art--point img { left: -100%; }
.guide-art--think img { left: -200%; }
.guide-bubble {
  position: relative;
  min-width: 0;
  border: 1px solid #c7dbe8;
  border-radius: 18px 18px 18px 4px;
  background: #eef6fb;
  padding: 20px 24px;
}
.guide-bubble::before {
  content: '';
  position: absolute;
  top: 45%;
  left: -8px;
  width: 14px;
  height: 14px;
  background: inherit;
  border-left: 1px solid #c7dbe8;
  border-bottom: 1px solid #c7dbe8;
  transform: rotate(45deg);
}
.guide-name {
  display: block;
  color: #386647;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.guide-title {
  display: block;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 8px;
}
.guide .guide-bubble p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 400;
  margin: 0;
  overflow-wrap: anywhere;
}
.guide.voice {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.guide--checkpoint {
  grid-template-columns: 100px minmax(0, 1fr);
  margin-block: 32px;
}
.guide--checkpoint .guide-bubble {
  background: #f2f7ec;
  border-color: #c9d9bf;
}
.guide--checkpoint .guide-bubble::before { border-color: #c9d9bf; }
.guide--lesson {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
}
.guide--lesson .guide-bubble { background: white; padding: 18px 22px; }
.guide--hero {
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0;
}
.guide--hero .guide-art { transform: rotate(-3deg); }
.guide--hero .guide-bubble {
  border: 0;
  background: #f2f8ec;
  padding: 21px;
  box-shadow: 0 8px 30px #00000014;
}
.guide--hero .guide-bubble::before { border: 0; }
.guide--hero .guide-title { font-size: 1.5rem; line-height: 1.5; }
.guide--hero .guide-name { color: #386647; }
.home-hero .hero-split { grid-template-columns: 1.2fr 1fr; gap: 45px; }
.hub-hero .hero-split { grid-template-columns: 1.15fr 1fr; gap: 45px; }
.hub-hero .guide { grid-template-columns: 118px minmax(0, 1fr); gap: 18px; }
.hub-hero .guide-bubble { background: white; }
.guide--closing { max-width: 830px; margin: 0 0 30px; }
.guide--closing .guide-bubble { background: white; }
@media (max-width: 1080px) {
  .home-hero .hero-split, .hub-hero .hero-split { gap: 28px; }
  .guide--hero { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .guide--hero .guide-bubble { padding: 17px; }
  .guide--hero .guide-title { font-size: 1.25rem; }
  .hub-hero .guide { grid-template-columns: 90px minmax(0, 1fr); gap: 15px; }
}
@media (max-width: 820px) {
  .home-hero .hero-split, .hub-hero .hero-split { grid-template-columns: 1fr; gap: 30px; }
  .guide--hero { grid-template-columns: 150px minmax(0, 1fr); max-width: 560px; }
  .guide--hero .guide-title { font-size: 1.5rem; }
  .guide--hero .guide-bubble { padding: 24px; }
  .hub-hero .guide { grid-template-columns: 112px minmax(0, 1fr); max-width: 650px; }
}
@media (max-width: 540px) {
  .guide { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; margin-block: 24px; align-items: start; }
  .guide-art { margin-top: 12px; }
  .guide-bubble { padding: 16px; border-radius: 14px 14px 14px 4px; }
  .guide-bubble::before { top: 46px; }
  .guide-name { font-size: .875rem; }
  .guide-title { font-size: 1rem; }
  .guide .guide-bubble p { font-size: 1rem; line-height: 1.85; }
  .guide--hero { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; margin: 0; align-items: center; }
  .guide--hero .guide-art { margin-top: 0; }
  .guide--hero .guide-bubble { padding: 17px; }
  .guide--hero .guide-title { font-size: 1.25rem; }
  .guide--hero .guide-bubble::before { top: 45%; }
  .hub-hero .guide { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .guide--lesson { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .guide--lesson .guide-bubble { padding: 16px; }
  .guide--closing { margin-top: 0; }
}
@media (max-width: 359px) {
  .guide, .hub-hero .guide { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .guide-bubble, .guide--hero .guide-bubble { padding: 13px; }
  .guide--hero { grid-template-columns: 74px minmax(0, 1fr); }
}
@media print {
  .guide { display: block; }
  .guide-art { display: none; }
  .guide-bubble { background: white !important; border: 1px solid #aaa; break-inside: avoid; }
  .guide-bubble::before { display: none; }
}
