/* ---------- Shared ---------- */
.story-sub-form-wrap,
.story-sub-latest,
.story-sub-card {
	box-sizing: border-box;
}
.story-sub-form-wrap *,
.story-sub-latest *,
.story-sub-card * {
	box-sizing: border-box;
}

/* ---------- Submission form ---------- */
.story-sub-form-wrap {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	max-width: 480px;
}
.story-sub-form-title {
	margin: 0 0 20px;
	font-size: 22px;
}
.story-sub-field {
	margin-bottom: 18px;
}
.story-sub-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}
.story-sub-field input[type="text"],
.story-sub-field textarea,
.story-sub-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e2e2ea;
	border-radius: 8px;
	background: #f8f7fc;
	font-size: 14px;
}
.story-sub-upload-box {
	position: relative;
	border: 2px dashed #d9d6ef;
	border-radius: 10px;
	padding: 24px;
	text-align: center;
	background: #f8f7fc;
}
.story-sub-upload-box input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}
.story-sub-upload-label {
	font-size: 13px;
	color: #6b6b7b;
}
.story-sub-media-preview {
	margin-top: 10px;
}
.story-sub-media-preview img,
.story-sub-media-preview video {
	max-width: 100%;
	max-height: 160px;
	border-radius: 8px;
}
.story-sub-submit-btn {
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(90deg, #c99a2e, #8a5a1a);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
}
.story-sub-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.story-sub-notice {
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}
.story-sub-notice.success { background: #e6f6ea; color: #1f7a37; }
.story-sub-notice.error { background: #fdeaea; color: #a12222; }

/* ---------- Media (shared by hero + card) ---------- */
.story-sub-media {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #eee;
}
.story-sub-media img,
.story-sub-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.story-sub-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	font-size: 16px;
	pointer-events: none;
}

/* ---------- [latest_story] hero ---------- */
.story-sub-latest {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: center;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.story-sub-latest-media .story-sub-media {
	aspect-ratio: 4/3;
}
.story-sub-latest-content h2 {
	margin: 0 0 12px;
	font-size: 26px;
}
.story-sub-latest-excerpt {
	color: #555;
	font-size: 15px;
	line-height: 1.6;
}
.story-sub-quote {
	margin-top: 14px;
	padding: 10px 16px;
	background: #f6efe0;
	border-radius: 8px;
	color: #8a5a1a;
	font-style: italic;
	display: inline-block;
}
@media (max-width: 700px) {
	.story-sub-latest { grid-template-columns: 1fr; }
}

/* ---------- [latest_stories] grid ---------- */
.story-sub-grid {
	display: grid;
	grid-template-columns: repeat(var(--story-sub-columns, 4), 1fr);
	gap: 20px;
}
.story-sub-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.story-sub-card .story-sub-media {
	aspect-ratio: 1/1;
	border-radius: 0;
}
.story-sub-card-body {
	padding: 12px 14px;
}
.story-sub-card-body h3 {
	margin: 0 0 6px;
	font-size: 15px;
}
.story-sub-card-body p {
	margin: 0;
	font-size: 13px;
	color: #666;
}
@media (max-width: 900px) {
	.story-sub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
	.story-sub-grid { grid-template-columns: 1fr; }
}
