.bbfct-photos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.bbfct-photos-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bbfct-photos-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.bbfct-photos-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #f4f4f4;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bbfct-photos-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bbfct-photos-thumb-placeholder {
	font-size: 48px;
	opacity: 0.4;
}

.bbfct-photos-count {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.75em;
	padding: 3px 8px;
	border-radius: 10px;
}

.bbfct-photos-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.bbfct-photos-title {
	margin: 0 0 4px;
	font-size: 1.05em;
}

.bbfct-photos-date {
	margin: 0 0 8px;
	font-size: 0.85em;
	opacity: 0.65;
}

.bbfct-photos-desc {
	margin: 0 0 14px;
	font-size: 0.92em;
	line-height: 1.5;
	flex: 1;
}

.bbfct-photos-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.bbfct-photos-view {
	padding: 10px 16px;
	border-radius: 5px;
	background: #1a5f3f;
	color: #fff;
	border: none;
	font-weight: 600;
	font-size: 0.9em;
	cursor: pointer;
}

.bbfct-photos-view:hover {
	background: #124a30;
}

.bbfct-photos-share {
	display: flex;
	gap: 6px;
}

.bbfct-photos-share-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85em;
	border: none;
	cursor: pointer;
}

.bbfct-photos-share-icon.bbfct-share-fb {
	background: #1877f2;
}

.bbfct-photos-share-icon.bbfct-share-wa {
	background: #25d366;
}

.bbfct-photos-share-icon.bbfct-share-copylink {
	background: #2c3338;
	font-size: 0.9em;
}

/* Lightbox modal (View Photos) */
body.bbfct-photos-modal-open {
	overflow: hidden;
}

.bbfct-photos-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
}

.bbfct-photos-modal.is-open {
	display: block;
}

.bbfct-photos-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.bbfct-photos-modal-dialog {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	width: 94%;
	height: 88vh;
	margin: 4vh auto;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.bbfct-photos-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #e2e2e2;
	flex-shrink: 0;
}

.bbfct-photos-modal-title {
	font-weight: 600;
}

.bbfct-photos-modal-close {
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #555;
	padding: 0 4px;
}

.bbfct-photos-modal-close:hover {
	color: #000;
}

.bbfct-photos-modal-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
	background: #f4f4f4;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	align-content: start;
}

.bbfct-photos-modal-body img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

@media (max-width: 600px) {
	.bbfct-photos-modal-dialog {
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
	}

	.bbfct-photos-modal-body {
		grid-template-columns: 1fr;
	}
}
