/* /pedagozi/ — code-gated page for teachers (Shturko_Educator_Access).
   Colours from docs/design/color-system-master.md. */
.shturko-educator-page .entry-hero,
.shturko-educator-page .entry-header { display: none; }

.edu {
	--edu-navy: #123B64;
	--edu-ink: #0D2D4C;
	--edu-muted: #2F4A63;
	--edu-orange: #f04d23;
	--edu-orange-dark: #B8380F;
	--edu-cream: #FFF6E9;
	--edu-soft: #F7E7D2;
	--edu-paper: #FFFDF8;
	max-width: 1100px;
	margin: 0 auto;
	padding: 32px 16px 72px;
	color: var(--edu-ink);
	display: flex;
	flex-direction: column;
	gap: 44px;
}
.edu h1, .edu h2, .edu h3 { color: var(--edu-navy); text-wrap: balance; margin: 0; }
.edu p { margin: 0; }
.edu__eyebrow { font-weight: 400; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--edu-orange-dark); }
.edu__title { font-size: clamp(28px, 4.2vw, 38px); line-height: 1.15; font-weight: 400; }
.edu__lead { font-size: 17px; line-height: 1.6; max-width: 680px; }
.edu h2 { font-size: clamp(21px, 2.6vw, 25px); font-weight: 400; line-height: 1.25; }
.edu h3 { font-size: 17px; font-weight: 400; }

.edu__hero { display: flex; flex-direction: column; gap: 16px; }
.edu__jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.edu__btn {
	display: inline-block;
}
.edu a:focus-visible, .edu button:focus-visible, .edu input:focus-visible { outline: 3px solid #F4A62A; outline-offset: 3px; }

.edu__section { display: flex; flex-direction: column; gap: 20px; }
.edu__section--narrow { max-width: 720px; }

.edu__closeup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: center; }
.edu__card { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(18, 59, 100, .12); display: block; }
.edu__notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.edu__notes li { padding-left: 14px; border-left: 4px solid var(--edu-orange); line-height: 1.55; }

.edu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edu__box { background: var(--edu-paper); border: 1px solid rgba(18, 59, 100, .12); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }
.edu__box a { color: var(--edu-orange-dark); font-weight: 400; }

.edu__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.edu__hint { color: var(--edu-muted); font-size: 15px; margin-bottom: -10px; }
.edu__toolbar { margin: 0; }
.edu__viewer { min-width: 0; }

.edu__questions { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; line-height: 1.55; }

/* Locked state */
.edu--locked { min-height: 50vh; justify-content: center; }
.edu__lock { max-width: 520px; display: flex; flex-direction: column; gap: 16px; background: var(--edu-paper); border-radius: 22px; padding: clamp(24px, 5vw, 40px); box-shadow: 0 10px 30px rgba(18, 59, 100, .10); }
.edu__form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.edu__label { font-weight: 400; color: var(--edu-navy); }
.edu__row { display: flex; gap: 10px; flex-wrap: wrap; }
.edu__input { flex: 1 1 200px; min-width: 0; padding: 12px 16px; font-size: 18px; border: 2px solid rgba(18, 59, 100, .25); border-radius: 12px; background: #fff; color: var(--edu-ink); }
.edu__error { color: #A12F23; font-weight: 400; }

@media (max-width: 820px) {
	.edu__closeup { grid-template-columns: 1fr 1fr; }
	.edu__notes { grid-column: 1 / -1; }
	.edu__grid { grid-template-columns: 1fr; }
}

/* Feedback: two tabs (CSS-only radios) — form and quick survey */
.edu__tabsbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.edu__tabradio { position: absolute; opacity: 0; pointer-events: none; }
/* Tabs read as buttons: white, outlined, hover lifts; the chosen one is filled. */
.edu__tab, .edu__tablabel {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
	background: #fff; border: 1.5px solid rgba(18, 59, 100, .28); color: var(--edu-navy);
	font-weight: 400; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
	box-shadow: 0 1px 2px rgba(18, 59, 100, .08); transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.edu__tab:hover, .edu__tablabel:hover { border-color: var(--edu-orange); color: var(--edu-orange-dark); background: var(--edu-cream); box-shadow: 0 3px 8px rgba(18, 59, 100, .12); }
.edu__tab.is-active, .edu__tabradio:checked + .edu__tablabel { background: var(--edu-navy); border-color: var(--edu-navy); color: #fff; box-shadow: none; cursor: default; }
.edu__tab.is-active::before, .edu__tabradio:checked + .edu__tablabel::before { content: "✓"; font-size: 13px; }
.edu__tabradio:focus-visible + .edu__tablabel { outline: 3px solid #F4A62A; outline-offset: 3px; }
.edu__panel { display: none; flex-basis: 100%; flex-direction: column; gap: 8px; background: var(--edu-paper); border: 1px solid rgba(18, 59, 100, .12); border-radius: 18px; padding: clamp(18px, 4vw, 28px); margin-top: 8px; }
/* Any tab box: the Nth radio shows the Nth panel (panels in one box share one tag). */
.edu__tabsbox > .edu__tabradio:nth-of-type(1):checked ~ .edu__panel:nth-of-type(1),
.edu__tabsbox > .edu__tabradio:nth-of-type(2):checked ~ .edu__panel:nth-of-type(2),
.edu__tabsbox > .edu__tabradio:nth-of-type(3):checked ~ .edu__panel:nth-of-type(3) { display: flex; }
.edu__panel--plain { background: transparent; border: 0; padding: 12px 0 0; }
.edu__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edu__grid--1 { grid-template-columns: 1fr; }
.edu__trust { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.edu__trustcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 820px) {
	.edu__grid--2 { grid-template-columns: 1fr; }
	.edu__trust { grid-template-columns: 1fr; }
	.edu__trustcards { max-width: 360px; }
}
.edu__panel textarea.edu__input { font-size:inherit;font-weight:inherit;line-height:inherit; resize: vertical; }
.edu__panel select.edu__input { font-size:inherit;font-weight:inherit;line-height:inherit; }
.edu__opt, .edu__small { color: var(--edu-muted); font-weight: 400; font-size: 15px; }
.edu__note { color: var(--edu-muted); font-size: 12px; line-height: 1.4; margin: 16px auto 0; max-width: 640px; text-align: center; opacity: .85; }
.edu__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edu__q { border: 0; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.edu__q legend { font-weight: 400; color: var(--edu-navy); margin-bottom: 6px; width: 100%; }
.edu__choice { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.edu__ok { color: #3E6B1F; font-weight: 400; }
/* Form fields size to their content (the code field's flex-basis must not apply here). */
.edu__panel .edu__input { flex: none; width: 100%; }
.edu__panel select.edu__input { height: auto; max-width: 560px; padding: 10px 14px; font-size: 17px; line-height: 1.3; }

.edu__list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }

/* The theme header is sticky: keep the title and anchor jumps clear of it. */
.shturko-educator-page .edu { padding-top: 120px; }
.edu__section, .edu__hero { scroll-margin-top: 120px; }
.edu__closeup { align-items: start; }
@media (max-width: 820px) { .shturko-educator-page .edu { padding-top: 96px; } }

/* Printable worksheets */
.edu__sheets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.edu__sheet { display: flex; flex-direction: column; background: var(--edu-paper); border: 1px solid rgba(18, 59, 100, .12); border-radius: 18px; overflow: hidden; }
.edu__sheet-img { display: block; width: 100%; height: auto; aspect-ratio: 420 / 593; object-fit: cover; background: #fff; border-bottom: 1px solid rgba(18, 59, 100, .08); }
.edu__sheet-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1 1 auto; line-height: 1.5; }
.edu__sheet-body h3 { margin: 0; font-size: 1.05rem; }
.edu__sheet-body p { margin: 0; flex: 1 1 auto; }
.edu__sheet-btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1000px) { .edu__sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .edu__sheets { grid-template-columns: 1fr; } }

/* Worksheets are a bonus: one button in the hero, the files on ?view=sheets. */
.edu__bonus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--edu-muted); font-size: 15px; }
.edu__link { color: var(--edu-orange-dark); font-weight: 400; }
.edu__notes li.edu__notes-cta { border-left: 0; padding-left: 0; }
