/* Familienblatt Sync – dezentes Basis-Styling. Bewusst zurückhaltend,
   damit es sich in das Theme des Bestatters einfügt. */

.fb-gedenkseite {
	text-align: center;
	line-height: 1.6;
}
.fb-gedenkseite .fb-image {
	margin: 0 auto 1.5rem;
	max-width: 420px;
}
.fb-gedenkseite .fb-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.fb-gedenkseite .fb-verse {
	font-style: italic;
	color: #555;
	border: none;
	margin: 0 0 1.5rem;
	padding: 0;
}
.fb-gedenkseite .fb-name {
	font-size: 1.8rem;
	margin: 0 0 .25rem;
}
.fb-gedenkseite .fb-lifespan {
	color: #666;
	margin: 0 0 1.5rem;
}
.fb-gedenkseite .fb-family,
.fb-gedenkseite .fb-family-intro,
.fb-gedenkseite .fb-family-outro,
.fb-gedenkseite .fb-text,
.fb-gedenkseite .fb-location {
	margin: 0 0 1rem;
}

/* Kondolenzen */
.fb-kondolenzen {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}
.fb-kondolenzen h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}
.fb-kond-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.fb-kond-item {
	background: #f7f7f5;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: .75rem;
	text-align: left;
}
.fb-kond-sender {
	color: #777;
	font-size: .9rem;
	margin: .5rem 0 0;
}
.fb-kond-empty {
	color: #888;
}
.fb-button {
	display: inline-block;
	margin-top: 1rem;
	padding: .65rem 1.4rem;
	background: #224535;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
}
.fb-button:hover {
	background: #1a3526;
}

/* Seitenkopf (Hero) */
.fb-gedenkseite-page {
	max-width: 720px;
	margin: 0 auto;
	padding: 2rem 1rem;
}
.fb-hero {
	text-align: center;
	margin-bottom: 1.5rem;
}
.fb-hero-image {
	max-width: 220px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	overflow: hidden;
}
.fb-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}
.fb-hero-name {
	font-size: 1.9rem;
	margin: 0 0 .35rem;
}
.fb-hero-lifespan {
	color: #666;
	margin: 0;
}

/* Teilen */
.fb-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin: 1.5rem 0 2rem;
}
.fb-share-label {
	font-size: .82rem;
	color: #888;
	margin-right: .25rem;
}
.fb-share-btn {
	display: inline-block;
	padding: .4rem .9rem;
	border: 1px solid #ddd;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: .82rem;
	text-decoration: none;
	cursor: pointer;
}
.fb-share-btn:hover {
	border-color: #224535;
	color: #224535;
}

/* Boxen: Termine / Kondolenz-Formular */
.fb-box {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}
.fb-box h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}
.fb-termin-item {
	background: #f7f7f5;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: .75rem;
	text-align: left;
}
.fb-termin-type {
	font-weight: 600;
	margin: 0 0 .35rem;
}
.fb-termin-when,
.fb-termin-where {
	margin: 0 0 .25rem;
	color: #555;
}

/* Kondolenz-Formular */
.fb-candle-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: .5rem;
	margin-bottom: 1rem;
}
.fb-candle-choice {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	aspect-ratio: 1;
}
.fb-candle-choice img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fb-candle-choice.is-selected {
	border-color: #224535;
}
.fb-kondolenz-name {
	width: 100%;
	padding: .6rem .8rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 1rem;
	font-size: .9rem;
}
.fb-kondolenz-status {
	margin: .75rem 0 0;
	font-size: .85rem;
	color: #666;
}

/* [familienblatt_gedenkseiten]-Shortcode: Kachel-Raster für die Übersichtsseite */
.fb-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}
.fb-archive-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eee;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .15s ease;
}
.fb-archive-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.fb-archive-thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
}
.fb-archive-name {
	padding: .85rem 1rem .25rem;
	font-weight: 600;
}
.fb-archive-subtitle {
	padding: 0 1rem .85rem;
	color: #777;
	font-size: .88rem;
}
.fb-archive-empty {
	color: #888;
}
