/**
 * Student Guided Article — visual composition aligned to Human-approved authority.
 * Radius 0 · --color-red accent (not mockup blue flood) · editorial article-builder.
 * Logic unchanged; presentation only.
 */

.page-student-orientation,
.page-student-write {
	background: #f4f5f7;
	color: var(--color-text, #23272a);
}

/* —— Orientation pages (preserve) —— */
.student-orient-hero {
	padding: 2rem 1.25rem 1.5rem;
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
}

.student-orient-eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--color-muted, #687076);
}

.student-orient-title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.6rem, 4vw, 2.35rem);
	line-height: 1.22;
	font-weight: 700;
	color: var(--color-charcoal, #221f1c);
}

.student-orient-lead {
	margin: 0 0 0.65rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--color-charcoal, #221f1c);
}

.student-orient-note {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--color-muted, #687076);
}

.student-orient-actions { margin: 0; }

.student-orient-section {
	padding: 1.5rem 1.25rem 2rem;
	max-width: 960px;
	margin: 0 auto;
	background: #fafafa;
	border-top: 1px solid var(--color-line, #e2ddd0);
}

.student-orient-section:nth-of-type(even) { background: #fff; }

.student-orient-section-title { margin: 0 0 0.75rem; font-size: 1.25rem; }
.student-orient-section-lead { margin: 0 0 1.25rem; color: var(--color-muted, #687076); }

.student-orient-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.student-orient-card {
	background: #fff;
	border: 1px solid var(--color-line, #e2ddd0);
	border-radius: 0;
	padding: 1rem 1rem 1rem 3rem;
	position: relative;
}

.student-orient-step-num {
	position: absolute;
	left: 0.85rem;
	top: 1rem;
	width: 1.5rem;
	height: 1.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-red, #c81e3a);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.student-orient-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.student-orient-card p { margin: 0; line-height: 1.65; font-size: 0.95rem; }
.student-orient-demos { display: grid; gap: 1rem; }

@media (min-width: 768px) {
	.student-orient-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.student-orient-demos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.student-demo-card {
	background: #fff;
	border: 1px dashed var(--color-line, #e2ddd0);
	border-radius: 0;
	padding: 1rem;
}

.student-demo-badge {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.15rem 0.45rem;
	border: 1px solid var(--color-red, #c81e3a);
	color: var(--color-red, #c81e3a);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.student-demo-category { margin: 0 0 0.25rem; font-size: 0.8rem; color: var(--color-muted, #687076); }
.student-demo-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.student-demo-body { font-size: 0.9rem; line-height: 1.65; }
.student-orient-cta { text-align: center; }

.student-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-charcoal, #221f1c);
	background: #fff;
	color: var(--color-charcoal, #221f1c);
	padding: 0.85rem 1.4rem;
	font-size: 1rem;
	line-height: 1.2;
	border-radius: 0;
	cursor: pointer;
	text-decoration: none;
	min-height: 48px;
}

.student-btn--primary {
	background: var(--color-red, #c81e3a);
	border-color: var(--color-red, #c81e3a);
	color: #fff;
}

.student-btn--wide {
	width: 100%;
	margin-top: 0.35rem;
}

.student-btn--ghost {
	border-style: dashed;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	padding: 0.45rem 0.75rem;
	min-height: 40px;
}

.student-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.student-btn[hidden] { display: none; }

/* =========================================================
   WRITE PAGE — Human-approved Visual authority (3-column)
   STUDENT_FORM visual restore 2026-09-15
   Radius 0 · navy/blue + mint · red only for status/CTA
   ========================================================= */

.page-student-write {
	--student-blue: #386cf3;
	--student-navy: #1a2a4a;
	--student-mint: #e7f3ea;
	--student-mint-edge: #cfe5d6;
	--student-border: #d5dae3;
	--student-muted: #8b93a3;
	background: #fff;
}

/* A. Hero — shallow scenic band; DOM text only (no baked JP asset) */
.page-student-write .student-write-hero {
	max-width: none;
	margin: 0;
	padding: 0;
	min-height: 0;
	height: 158px;
	display: flex;
	align-items: center;
	background-color: #9eb8d4;
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.18) 36%, rgba(255, 255, 255, 0) 70%),
		var(--student-hero-image);
	background-size: cover;
	background-position: center 30%;
	border-bottom: 1px solid #dde3ea;
}

.page-student-write .student-write-hero__inner {
	width: min(1160px, calc(100% - 2rem));
	margin: 0 auto;
	padding: 0.85rem 0;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(120px, 0.55fr);
	gap: 0.75rem;
	align-items: center;
}

.page-student-write .student-write-hero .student-orient-eyebrow {
	margin: 0 0 0.25rem;
	color: var(--student-navy);
	opacity: 0.7;
	font-size: 0.68rem;
}

.page-student-write .student-write-hero .student-orient-title {
	max-width: 22ch;
	margin: 0 0 0.3rem;
	color: var(--student-navy);
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	line-height: 1.18;
	font-weight: 800;
	text-shadow: none;
}

.page-student-write .student-write-hero .student-orient-lead {
	max-width: 34rem;
	margin: 0;
	color: var(--color-charcoal, #221f1c);
	font-size: 0.82rem;
	line-height: 1.4;
	opacity: 0.88;
}

.student-write-hero__script {
	margin: 0;
	justify-self: end;
	align-self: start;
	padding-top: 0.2rem;
	font-family: 'Segoe Script', 'Brush Script MT', 'Apple Chancery', cursive;
	font-size: clamp(0.95rem, 1.8vw, 1.35rem);
	line-height: 1.2;
	color: var(--student-blue);
	opacity: 0.78;
	transform: rotate(-6deg);
	text-align: right;
	pointer-events: none;
	user-select: none;
}

/* B. App shell + true 3-column geometry */
.student-guided-app {
	max-width: 1160px;
	margin: 0 auto;
	padding: 1.1rem 1rem 2.75rem;
}

.student-guided-loading {
	padding: 0.75rem 0;
	color: var(--student-muted);
}

.student-guided-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(260px, 0.92fr);
	gap: 0 1.15rem;
	align-items: start;
	position: relative;
}

.student-guided-col {
	min-width: 0;
}

.student-guided-col--left,
.student-guided-col--mid {
	padding-right: 0.35rem;
	border-right: 1px solid #e2e7f0;
	padding-bottom: 1rem;
}

.student-guided-col--mid {
	padding-left: 0.15rem;
}

.student-guided-col--preview {
	border-right: 0;
	padding-right: 0;
}

.student-form-head {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
	margin: 0 0 0.65rem;
}

.student-form-head__icon {
	flex: 0 0 auto;
	margin-top: 0.15rem;
	color: var(--student-navy);
}

.student-form-head__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--student-navy);
}

.student-form-head__lead {
	margin: 0.3rem 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #6b7385;
}

.student-review-callout {
	margin: 0 0 0.9rem;
	padding: 0.55rem 0.7rem;
	border: 0;
	background: #fff0f3;
	color: #d9485f;
	font-size: 0.78rem;
	line-height: 1.4;
}

/* Suppress CMS horizontal tabs — numbered step grammar instead */
.page-student-write .student-guided-steps {
	display: none !important;
}

.student-guided-panel {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0 0 0.95rem;
	margin: 0 0 0.55rem;
	border-radius: 0;
}

.student-step-heading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.55rem;
	font-size: 0.92rem;
	line-height: 1.25;
	color: #1f2937;
	font-weight: 700;
}

.student-step-heading .student-badge,
.student-step-heading em.student-badge {
	font-style: normal;
	font-weight: 500;
}

.student-step-num {
	flex: 0 0 auto;
	width: 1.55rem;
	height: 1.55rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--student-blue);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 50%;
	line-height: 1;
}

.student-panel-lead {
	margin: -0.15rem 0 0.65rem;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--student-muted);
}

/* C. Compact controls */
.student-field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
}

.student-field {
	display: block;
	margin-bottom: 0.5rem;
}

.student-field > span,
.student-question-title {
	display: block;
	margin-bottom: 0.2rem;
	font-weight: 500;
	font-size: 0.78rem;
	color: #4b5563;
	line-height: 1.3;
}

.student-field--question .student-question-title {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--student-navy);
	margin-bottom: 0.25rem;
}

.student-field input,
.student-field textarea,
.student-field select {
	width: 100%;
	border: 1px solid var(--student-border);
	border-radius: 0;
	padding: 0 0.65rem;
	font-size: 0.88rem;
	font-family: inherit;
	background: #fff;
	min-height: 36px;
	height: 36px;
	color: var(--color-charcoal, #221f1c);
}

.student-field textarea {
	min-height: 56px;
	height: auto;
	padding: 0.5rem 0.65rem;
	line-height: 1.4;
	resize: vertical;
}

.student-field input:focus,
.student-field textarea:focus,
.student-field select:focus {
	outline: 2px solid rgba(56, 108, 243, 0.25);
	outline-offset: 1px;
	border-color: var(--student-blue);
}

.student-example,
.student-soft-len {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	color: var(--student-muted);
	line-height: 1.35;
}

.student-badge {
	display: inline;
	margin-left: 0.3rem;
	padding: 0;
	font-size: 0.68rem;
	border: 0;
	font-weight: 500;
	font-style: normal;
	vertical-align: middle;
	color: var(--student-muted);
	letter-spacing: 0;
}

.student-badge--req {
	color: var(--student-muted);
}

/* Category 3×2 — blue/white grammar */
.student-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.45rem;
}

.student-category-card {
	text-align: center;
	border: 1px solid var(--student-border);
	background: #fff;
	border-radius: 0;
	padding: 0.55rem 0.35rem 0.5rem;
	cursor: pointer;
	min-height: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	transition: border-color 0.12s ease, background 0.12s ease;
}

.student-category-card__icon {
	display: inline-flex;
	width: 1.35rem;
	height: 1.35rem;
	color: #6b7385;
}

.student-category-card__icon svg {
	width: 100%;
	height: 100%;
}

.student-category-card strong {
	display: block;
	font-size: 0.72rem;
	line-height: 1.3;
	font-weight: 600;
	color: var(--color-charcoal, #221f1c);
}

.student-category-card.is-selected {
	border-color: var(--student-blue);
	background: #eef3ff;
	box-shadow: inset 0 0 0 1px var(--student-blue);
}

.student-category-card.is-selected .student-category-card__icon,
.student-category-card.is-selected strong {
	color: var(--student-blue);
}

.student-keyword-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-top: 0.55rem;
}

.student-chip {
	border: 1px solid var(--student-border);
	background: #f7f8fa;
	border-radius: 0;
	padding: 0.25rem 0.45rem;
	font-size: 0.75rem;
	cursor: pointer;
	min-height: 30px;
}

/* Photos */
.student-photo-notes {
	margin: 0 0 0.4rem;
	padding-left: 1.1rem;
	line-height: 1.45;
	font-size: 0.78rem;
}

.student-photo-rules {
	font-size: 0.72rem;
	color: var(--student-muted);
	line-height: 1.4;
	margin-bottom: 0.55rem;
}

.student-photo-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	min-height: 110px;
	padding: 0.9rem;
	border: 1.5px dashed #c5ccd8;
	background: #fafbfc;
	cursor: pointer;
	text-align: center;
	color: #6b7385;
}

.student-photo-dropzone input[type='file'] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.student-photo-dropzone__icon {
	display: inline-flex;
	color: var(--student-muted);
}

.student-photo-dropzone__title {
	font-weight: 650;
	font-size: 0.85rem;
	color: var(--color-charcoal, #221f1c);
}

.student-photo-dropzone__hint {
	font-size: 0.72rem;
	color: var(--student-muted);
}

.student-photo-list {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.4rem;
}

.student-photo-list img {
	display: block;
	width: 100%;
	height: 64px;
	object-fit: cover;
	border: 1px solid #e3e7ed;
}

/* v2: guide hints, free body, photo controls, restore */
.student-guide-hints {
	margin: 0;
	padding-left: 1.15rem;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #3d4450;
}

.student-guide-hints li {
	margin-bottom: 0.35rem;
}

.student-field--body textarea {
	min-height: 180px;
	width: 100%;
	font-size: 1rem;
	line-height: 1.55;
	padding: 0.75rem;
}

.student-field-hint {
	margin: 0.2rem 0 0.35rem;
	font-size: 0.78rem;
	color: var(--student-muted);
	line-height: 1.4;
}

.student-photo-heic-note {
	margin: 0 0 0.45rem;
	font-size: 0.74rem;
	color: #7a5a1e;
	line-height: 1.4;
}

.student-photo-item {
	position: relative;
	border: 1px solid #e3e7ed;
	background: #fff;
	padding: 0;
}

.student-photo-item.is-main {
	border-color: var(--color-red, #c8102e);
	box-shadow: inset 0 0 0 1px var(--color-red, #c8102e);
}

.student-photo-item img,
.student-photo-fallback {
	display: block;
	width: 100%;
	height: 88px;
	object-fit: cover;
}

.student-photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f4f6;
	font-size: 0.75rem;
	color: #6b7280;
}

.student-photo-main-badge,
.student-photo-index {
	position: absolute;
	top: 4px;
	left: 4px;
	background: rgba(34, 31, 28, 0.85);
	color: #fff;
	font-size: 0.65rem;
	line-height: 1.2;
	padding: 0.2rem 0.35rem;
	border-radius: 0;
}

.student-photo-item.is-main .student-photo-main-badge {
	background: var(--color-red, #c8102e);
}

.student-photo-controls {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	padding: 2px;
	background: #f7f8fa;
}

.student-photo-btn {
	min-height: 36px;
	border: 1px solid #d5d9e0;
	background: #fff;
	font-size: 0.95rem;
	line-height: 1;
	cursor: pointer;
	color: #221f1c;
}

.student-photo-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.student-photo-btn--danger {
	color: var(--color-red, #c8102e);
	font-weight: 700;
}

.student-restore-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0.75rem 0;
	padding: 0.75rem;
	border: 1px solid #c5ccd8;
	background: #f7faf8;
	font-size: 0.88rem;
}

.student-restore-banner[hidden] {
	display: none;
}

.student-autosave-note {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	color: #5b7366;
}

/* CTA */
.page-student-write .student-btn {
	min-height: 40px;
	padding: 0.55rem 1rem;
	font-size: 0.9rem;
}

.student-guided-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.35rem;
}

.page-student-write .student-btn--wide {
	flex: 1 1 100%;
	margin-top: 0.15rem;
}

.student-cta-note {
	margin: 0.55rem 0 0;
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--student-muted);
}

.student-guided-error {
	margin-top: 0.55rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--color-red, #c81e3a);
	color: var(--color-red, #c81e3a);
	background: #fff;
	font-size: 0.85rem;
}

/* D. Preview — pale mint shell, white article card */
.student-guided-live-preview {
	position: sticky;
	top: 72px;
	background: transparent;
	border: 0;
	padding: 0;
}

.student-preview-shell {
	background: var(--student-mint);
	border: 1px solid var(--student-mint-edge);
	padding: 0.85rem 0.8rem 0.95rem;
}

.student-preview-head {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
	margin-bottom: 0.65rem;
}

.student-preview-head__icon {
	flex: 0 0 auto;
	margin-top: 0.1rem;
	color: var(--student-navy);
}

.student-preview-head__label {
	margin: 0 0 0.15rem;
	font-size: 0.68rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4d6b5a;
}

.student-guided-live-preview h2 {
	margin: 0 0 0.2rem;
	font-size: 0.95rem;
	color: var(--student-navy);
}

.student-preview-head__hint {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.4;
	color: #5b7366;
}

.student-preview-card {
	background: #fff;
	border: 1px solid #dde5df;
	box-shadow: 0 8px 22px rgba(27, 58, 92, 0.06);
	overflow: hidden;
}

.student-preview-hero {
	background: #ebe7df;
	min-height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.student-preview-hero img {
	display: block;
	width: 100%;
	height: 154px;
	object-fit: cover;
}

.student-preview-hero__placeholder {
	padding: 1rem;
	text-align: center;
	color: var(--student-muted);
	font-size: 0.8rem;
}

.student-preview-thumbs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.25rem;
	padding: 0.35rem 0.45rem 0;
}

.student-preview-thumbs[hidden] { display: none; }

.student-preview-thumbs img {
	width: 100%;
	height: 48px;
	object-fit: cover;
	border: 1px solid #e3e7ed;
}

.student-preview-content {
	padding: 0.75rem 0.85rem 0.95rem;
}

.student-preview-pill {
	display: inline-block;
	margin: 0 0 0.4rem;
	padding: 0.15rem 0.45rem;
	background: #eef3ff;
	border: 1px solid var(--student-blue);
	color: var(--student-blue);
	font-size: 0.65rem;
	font-weight: 650;
}

.student-preview-pill:empty,
.student-preview-pill[hidden] { display: none; }

.student-preview-card h3 {
	margin: 0 0 0.4rem;
	font-size: 1.12rem;
	line-height: 1.25;
	font-weight: 800;
	color: var(--student-navy);
}

.student-preview-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	margin: 0 0 0.55rem;
	color: var(--student-muted);
	font-size: 0.72rem;
}

.student-preview-body {
	line-height: 1.55;
	color: var(--color-charcoal, #221f1c);
	font-size: 0.85rem;
	margin-bottom: 0.55rem;
}

.student-preview-facts {
	list-style: none;
	margin: 0.55rem 0 0;
	padding: 0.55rem 0 0;
	border-top: 1px solid #e8eee9;
}

.student-preview-facts[hidden] { display: none; }

.student-preview-facts li {
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr);
	gap: 0.35rem;
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	line-height: 1.35;
}

.student-preview-facts .student-fact__label {
	color: var(--student-muted);
}

.student-preview-facts .student-fact__value {
	color: var(--color-charcoal, #221f1c);
	word-break: break-word;
}

.student-dup-warn {
	margin-top: 0.55rem;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--color-gold-line, #e8c76a);
	background: var(--color-gold-soft, #fff6d8);
	font-size: 0.8rem;
}

.student-preview-review-flow {
	margin: 0.65rem 0 0;
	padding-top: 0.55rem;
	border-top: 1px solid var(--student-mint-edge);
	font-size: 0.7rem;
	line-height: 1.45;
	color: #5b7366;
}

/* E/F. Responsive — stack on tablet/mobile */
@media (max-width: 1024px) {
	.student-guided-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0.85rem 1rem;
	}

	.student-guided-col--preview {
		grid-column: 1 / -1;
		position: static;
		order: 3;
	}

	.student-guided-col--left {
		order: 1;
	}

	.student-guided-col--mid {
		order: 2;
		border-right: 0;
	}
}

@media (max-width: 800px) {
	.page-student-write .student-write-hero {
		height: auto;
		min-height: 132px;
	}

	.page-student-write .student-write-hero__inner {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.page-student-write .student-write-hero .student-orient-title {
		max-width: none;
		font-size: 1.25rem;
	}

	.student-write-hero__script {
		justify-self: start;
		transform: rotate(-4deg);
		font-size: 0.95rem;
		opacity: 0.55;
	}

	.student-guided-layout {
		grid-template-columns: 1fr;
		gap: 0.85rem;
	}

	.student-guided-col--left,
	.student-guided-col--mid {
		border-right: 0;
		padding-right: 0;
	}

	.student-guided-live-preview {
		position: static;
	}

	.student-field-row,
	.student-category-grid {
		grid-template-columns: 1fr 1fr;
	}

	.student-photo-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.student-preview-hero img { height: 140px; }

	.page-student-write .student-btn,
	.page-student-write .student-btn--primary {
		width: 100%;
	}

	.student-guided-actions {
		flex-direction: column;
	}

	.student-field--body textarea {
		min-height: 220px;
	}

	.student-photo-btn {
		min-height: 40px;
	}

	.student-restore-banner {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 420px) {
	.page-student-write .student-write-hero {
		min-height: 120px;
		height: auto;
	}

	.student-category-grid {
		grid-template-columns: 1fr;
	}

	.student-category-card {
		min-height: 72px;
		padding: 0.65rem 0.5rem;
	}

	.student-category-card strong {
		font-size: 0.8rem;
	}

	.student-preview-card h3 {
		font-size: 1.02rem;
	}

	.student-preview-facts li {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}

	.student-photo-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.student-photo-item img,
	.student-photo-fallback {
		height: 110px;
	}
}
