/* Local concept preview — vocabulary title section only. */
.c2-app-header {
  color-scheme: light;
  position: relative;
  background: #f5efe4;
  border-bottom: 5px solid #153b52;
  padding: 0 0 28px;
  overflow: hidden;
}
.c2-app-header::before {
  content: 'Aa';
  position: absolute;
  right: max(4%, calc((100% - 1180px) / 2));
  bottom: -70px;
  font: 500 290px/1 Georgia, serif;
  letter-spacing: -.09em;
  color: rgba(170, 104, 57, .10);
  pointer-events: none;
}
.c2-app-header .c2-app-crumb {
  position: relative;
  padding: 15px 0 14px;
  margin: 0 auto;
  gap: 10px;
  color: #756956;
  font: 400 12px/1.5 Inter, system-ui, sans-serif;
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
  border-bottom: 1px solid rgba(103, 81, 50, .16);
}
.c2-app-header .c2-app-crumb a { color: #4c5360; text-decoration: none; }
.c2-app-header .c2-app-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.c2-app-header .c2-app-crumb .back { font-weight: 650; }
.c2-app-header .c2-app-title {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 27px;
  padding: 29px 0 5px;
}
.c2-app-header .c2-app-icon {
  width: 82px;
  height: 82px;
  padding: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 10px 24px rgba(27, 68, 54, .14);
  transform: rotate(-5deg);
}
.c2-app-header .c2-app-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font: 750 11px/1.4 Inter, system-ui, sans-serif;
  letter-spacing: .14em;
  color: #965a32;
}
.c2-app-header .c2-app-eyebrow::before { content: ''; width: 22px; height: 3px; background: #ad6135; }
.c2-app-header .c2-app-title h1 {
  margin: 0 0 12px;
  font: 700 clamp(30px, 3.7vw, 46px)/1.12 Sora, Inter, system-ui, sans-serif;
  letter-spacing: -.045em;
  color: #153b52;
  max-width: 960px;
}
.c2-app-header .c2-app-title p {
  max-width: 730px;
  margin: 0;
  font: 400 15px/1.65 Inter, system-ui, sans-serif;
  color: #5e6267;
}
.c2-app-header .c2-app-tags { display: flex; flex-wrap: wrap; gap: 0; margin-top: 17px; }
.c2-app-header .c2-app-tags span {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #665b4d;
  font: 650 11px/1.7 Inter, system-ui, sans-serif;
}
.c2-app-header .c2-app-tags span + span::before { content: '·'; margin: 0 11px; color: #8b582f; }
/* A visible white interval separates the title section from the working app. */

@media(max-width: 600px) {
  .c2-app-header { padding-bottom: 23px; }
  .c2-app-header::before { font-size: 220px; bottom: -44px; right: -20px; }
  .c2-app-header .c2-app-crumb { font-size: 11px; gap: 7px; padding: 12px 0; }
  .c2-app-header .c2-app-crumb > span { display: none; }
  .c2-app-header .c2-app-title { grid-template-columns: 47px minmax(0, 1fr); align-items: start; gap: 15px; padding: 25px 0 3px; }
  .c2-app-header .c2-app-icon { width: 47px; height: 47px; margin-top: 27px; border-radius: 13px; }
  .c2-app-header .c2-app-eyebrow { font-size: 9px; letter-spacing: .1em; gap: 7px; }
  .c2-app-header .c2-app-eyebrow::before { width: 15px; }
  .c2-app-header .c2-app-title h1 { font-size: clamp(25px, 6.5vw, 32px); }
  .c2-app-header .c2-app-title p { font-size: 14px; line-height: 1.6; }
  .c2-app-header .c2-app-tags { margin-top: 13px; }
  
}

/* Watercolour concept: illustration stays behind a white text-safe fade. */
.c2-app-header { background: #fff; border-bottom: 2px solid #d9e5ef; isolation: isolate; }
.c2-app-header::before { content: ''; inset: 0; width: auto; height: auto; background: url('../assets/images/learning-lab/header-watercolour-v1.png') right bottom / auto 100% no-repeat; opacity: .28; z-index: -2; }
.c2-app-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 32%, rgba(255,255,255,.76) 58%, rgba(255,255,255,.08) 85%); z-index: -1; pointer-events: none; }
.c2-app-header .c2-app-crumb { border-bottom-color: #e9edf2; color: #637184; }
.c2-app-header .c2-app-tags span { color: #526477; }
@media(max-width:600px) {
 .c2-app-header::before { inset: 0; background-size: auto 75%; opacity: .18; }
 .c2-app-header::after { background: linear-gradient(90deg, #fff, rgba(255,255,255,.85) 70%, rgba(255,255,255,.5)); }
}
/* Carry the watercolour palette across the full header without obscuring copy. */
.c2-app-header {
  background: radial-gradient(ellipse at 3% 100%, rgba(91,164,225,.15), transparent 47%), radial-gradient(ellipse at 30% 115%, rgba(244,157,146,.13), transparent 43%), radial-gradient(ellipse at 55% 110%, rgba(247,202,111,.12), transparent 39%), #fff;
  border-bottom-color: #cfdfec;
}
.c2-app-header::after {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.48) 43%, transparent 100%);
}
@media(max-width:600px) {
 .c2-app-header::after { background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.5) 65%, rgba(255,255,255,.1)); }
}

.c2-app-header .c2-app-title h1 em { color: inherit; font-style: normal; }
.c2-app-header .c2-app-icon { flex-shrink: 0; }
.c2-app-header .c2-app-icon img { max-width: 100%; height: auto; }
.c2-app-header + section { padding-top: 36px; }
.c2-app-header.test-hero { padding: 32px 0; }
.c2-app-header.test-hero .test-hero-grid { position: relative; }
@media(max-width:600px) { .c2-app-header + section { padding-top:24px; } }
