.ronda-projects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.ronda-project-card {
	min-width: 0;
}

.ronda-project-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ronda-project-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #e5e5e5;
}

.ronda-project-card__image,
.ronda-project-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 260ms ease;
}

.ronda-project-card__placeholder {
	background: linear-gradient(135deg, #f4f4f4, #d8d8d8);
}

.ronda-project-card__title {
	display: block;
	margin-top: 14px;
	color: #000000;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.25;
}

.ronda-project-card__location {
	display: block;
	margin-top: 6px;
	color: #666666;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
}

.ronda-project-card__link:hover .ronda-project-card__image,
.ronda-project-card__link:focus-visible .ronda-project-card__image {
	transform: scale(1.04);
}

.ronda-project-gallery {
	position: relative;
}

.ronda-project-gallery.has-arrows {
	padding: 0 44px;
}

.ronda-project-gallery__viewport {
	overflow: hidden;
	scroll-behavior: smooth;
}

.ronda-project-gallery__track {
	display: flex;
	gap: 32px;
}

.ronda-project-gallery__slide {
	flex: 0 0 calc((100% - 96px) / 4);
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 0;
	cursor: zoom-in;
}

.ronda-project-gallery__slide img {
	display: block;
	width: 100%;
	height: 320px;
	object-fit: cover;
	object-position: center;
}

.ronda-project-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	padding: 0;
	border: 0;
	background: transparent;
	color: #777777;
	font-size: 68px;
	line-height: 0.7;
	transform: translateY(-50%);
	cursor: pointer;
}

.ronda-project-gallery__arrow:hover,
.ronda-project-gallery__arrow:focus-visible {
	color: #000000;
}

.ronda-project-gallery__arrow[disabled] {
	opacity: 0.28;
	cursor: default;
}

.ronda-project-gallery__arrow--prev {
	left: 0;
}

.ronda-project-gallery__arrow--next {
	right: 0;
}

.ronda-project-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
}

.ronda-project-lightbox.is-open {
	display: flex;
}

.ronda-project-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 92vw;
	max-height: 90vh;
	object-fit: contain;
}

.ronda-project-lightbox__close,
.ronda-project-lightbox__arrow {
	position: absolute;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.ronda-project-lightbox__close {
	top: 18px;
	right: 22px;
	font-size: 42px;
	line-height: 1;
}

.ronda-project-lightbox__arrow {
	top: 50%;
	font-size: 84px;
	line-height: 0.7;
	transform: translateY(-50%);
}

.ronda-project-lightbox__arrow--prev {
	left: 18px;
}

.ronda-project-lightbox__arrow--next {
	right: 18px;
}

.ronda-project-meta {
	margin: 0;
	color: #000000;
	font-size: 16px;
	line-height: 1.5;
}

.ronda-project-meta__row {
	margin: 0;
}

.ronda-project-meta__row + .ronda-project-meta__row {
	margin-top: 4px;
}

.ronda-project-meta__label {
	font-weight: 600;
}

.ronda-project-meta__link {
	color: inherit;
	text-decoration: none;
}

.ronda-project-meta__link:hover,
.ronda-project-meta__link:focus-visible {
	text-decoration: underline;
}

@media (min-width: 768px) {
	.ronda-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px;
	}
}

@media (min-width: 1024px) {
	.ronda-projects-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 72px;
	}
}

@media (max-width: 1100px) {
	.ronda-project-gallery__track {
		gap: 28px;
	}

	.ronda-project-gallery__slide {
		flex-basis: calc((100% - 28px) / 2);
	}
}

@media (max-width: 767px) {
	.ronda-project-gallery.has-arrows {
		padding: 0 30px;
	}

	.ronda-project-gallery__track {
		gap: 0;
	}

	.ronda-project-gallery__slide {
		flex-basis: 100%;
	}

	.ronda-project-gallery__slide img {
		height: 320px;
	}

	.ronda-project-gallery__arrow {
		font-size: 52px;
	}

	.ronda-project-lightbox__arrow {
		font-size: 58px;
	}
}
