.plantary-gallery {
	--plantary-gallery-ink: #18382c;
	--plantary-gallery-muted: #627568;
	--plantary-gallery-line: #dbe7dd;
	--plantary-gallery-surface: #ffffff;
	--plantary-gallery-accent: #2f7d4f;
	--plantary-gallery-like: #d74763;
	margin: clamp(32px, 6vw, 72px) auto;
	max-width: 1180px;
	padding: 0 16px;
}

.plantary-gallery__header {
	margin: 0 0 20px;
	max-width: 720px;
}

.plantary-gallery__title {
	color: var(--plantary-gallery-ink);
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 8px;
}

.plantary-gallery__description {
	color: var(--plantary-gallery-muted);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

.plantary-gallery__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.plantary-gallery__item {
	background: var(--plantary-gallery-surface);
	border: 1px solid var(--plantary-gallery-line);
	border-radius: 8px;
	color: var(--plantary-gallery-ink);
	display: grid;
	overflow: hidden;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.plantary-gallery__item--linked:focus-visible,
.plantary-gallery__item--linked:hover {
	border-color: rgba(47, 125, 79, 0.45);
	box-shadow: 0 14px 34px rgba(24, 56, 44, 0.12);
	outline: none;
	transform: translateY(-2px);
}

.plantary-gallery__item--linked {
	cursor: pointer;
}

.plantary-gallery__media {
	aspect-ratio: 4 / 3;
	background: #edf5ee;
	display: block;
	overflow: hidden;
}

.plantary-gallery__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.plantary-gallery__content {
	display: grid;
	gap: 8px;
	padding: 14px;
}

.plantary-gallery__meta {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 22px;
}

.plantary-gallery__social,
.plantary-gallery__stats,
.plantary-gallery__stat {
	align-items: center;
	display: inline-flex;
	line-height: 1;
}

.plantary-gallery__social {
	background: #eef7f0;
	border: 1px solid rgba(47, 125, 79, 0.18);
	border-radius: 999px;
	color: var(--plantary-gallery-accent);
	height: 22px;
	justify-content: center;
	width: 22px;
}

.plantary-gallery__social svg,
.plantary-gallery__stat svg {
	display: block;
	flex: 0 0 auto;
	height: 12px;
	max-height: 12px;
	max-width: 12px;
	width: 12px;
}

.plantary-gallery__social svg {
	fill: currentColor;
}

.plantary-gallery__social--instagram svg,
.plantary-gallery__social--website svg {
	fill: none;
}

.plantary-gallery__social--instagram svg circle:last-child {
	fill: currentColor;
	stroke: none;
}

.plantary-gallery__stats {
	align-items: center;
	display: inline-flex;
	flex-wrap: nowrap;
	gap: 10px;
	justify-content: flex-end;
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

.plantary-gallery__stat {
	color: var(--plantary-gallery-muted);
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 700;
	gap: 4px;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
}

.plantary-gallery .plantary-gallery__stat svg,
.plantary-gallery .plantary-gallery__views svg,
.plantary-gallery .plantary-gallery__likes svg {
	height: 12px !important;
	max-height: 12px !important;
	max-width: 12px !important;
	min-height: 12px !important;
	min-width: 12px !important;
	width: 12px !important;
}

.plantary-gallery__likes svg {
	color: var(--plantary-gallery-like);
	fill: currentColor;
}

.plantary-gallery__views svg {
	color: var(--plantary-gallery-muted);
	fill: currentColor;
}

.plantary-gallery__item-title {
	color: var(--plantary-gallery-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

@media (min-width: 782px) {
	.plantary-gallery {
		padding: 0 24px;
	}

	.plantary-gallery__grid {
		gap: 20px;
	}
}
