/* Family Memorial Obituary - 기본 스타일 */

.fmo-form-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.fmo-form h3 {
	margin: 28px 0 12px;
	font-size: 18px;
}
.fmo-form h3:first-child {
	margin-top: 0;
}

.fmo-form label {
	display: block;
	margin-bottom: 16px;
	font-weight: 600;
	font-size: 14px;
}

.fmo-form input[type="text"],
.fmo-form input[type="email"],
.fmo-form input[type="password"],
.fmo-form input[type="date"],
.fmo-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-weight: 400;
	font-size: 15px;
	box-sizing: border-box;
}

.fmo-form input[type="file"] {
	display: block;
	margin-top: 6px;
}

.fmo-note {
	font-size: 13px;
	color: #666;
	margin: -6px 0 12px;
	font-weight: 400;
}

.fmo-submit-btn {
	background: #2c2c2a;
	color: #fff;
	padding: 12px 28px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	margin-top: 8px;
}
.fmo-submit-btn:hover {
	opacity: 0.85;
}

.fmo-errors {
	background: #fcebeb;
	border: 1px solid #e24b4a;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	color: #791f1f;
}
.fmo-errors ul {
	margin: 0;
	padding-left: 18px;
}

.fmo-success {
	background: #eaf3de;
	border: 1px solid #639922;
	padding: 16px;
	border-radius: 6px;
	color: #27500a;
}
.fmo-success a {
	color: #27500a;
	font-weight: 600;
	text-decoration: underline;
}

/* 목록 그리드 */
.fmo-list-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.fmo-card {
	text-decoration: none;
	color: inherit;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	display: block;
	transition: box-shadow 0.2s ease;
	background: #fff;
}
.fmo-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.fmo-card-photo img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.fmo-card-photo-placeholder {
	width: 100%;
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1efe8;
	color: #888780;
	font-size: 13px;
	text-align: center;
}

.fmo-card-name {
	font-weight: 600;
	padding: 10px 12px 0;
	font-size: 16px;
}

.fmo-card-years,
.fmo-card-loc {
	padding: 2px 12px 10px;
	font-size: 13px;
	color: #666;
}

/* 상세 페이지 메타 정보 */
.fmo-single-meta {
	background: #f7f7f5;
	padding: 16px 18px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 14px;
}
.fmo-single-meta p {
	margin: 4px 0;
}

.fmo-notice-block {
	border-left: 3px solid #ba7517;
	background: #faeeda;
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 24px;
	font-size: 14px;
	color: #412402;
}
.fmo-notice-block strong {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
}
.fmo-notice-block p {
	margin: 0;
}

/* 내 부고 목록 (수정용) */
.fmo-my-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fmo-my-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	margin-bottom: 10px;
}
.fmo-my-name {
	font-weight: 600;
	flex: 1;
}
.fmo-my-status {
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #f1efe8;
	color: #5f5e5a;
}
.fmo-status-publish {
	background: #eaf3de;
	color: #27500a;
}
.fmo-status-pending,
.fmo-status-draft {
	background: #faeeda;
	color: #633806;
}
.fmo-edit-link {
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #185fa5;
}

.fmo-current-photo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 10px;
}
.fmo-current-photo img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
}
.fmo-current-photo span {
	font-size: 12px;
	color: #666;
	font-weight: 400;
}
