/* ==========================================================================
   Page: Gallery  (scope: .rks-gallery)
   Matches design system of page-coaching / page-about / page-university
   - CSS vars (--rks-*)
   - Cream base, mint + red blob accents
   - clamp() font sizes
   - Compact paddings · NO IMAGE CROP · scoped lightbox
   ========================================================================== */

.rks-gallery {
	font-family: var(--rks-font-body);
	background: var(--rks-cream);
	color: var(--rks-text);
}

.rks-gallery h1,
.rks-gallery h2,
.rks-gallery h3 {
	font-family: var(--rks-font-heading);
	color: var(--rks-teal-dark);
	margin: 0;
}

/* ---------- Section head shared ---------- */
.rks-gallery__eyebrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rks-red);
	background: rgba(230, 57, 70, 0.10);
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 600;
	margin-bottom: 12px;
}
.rks-gallery__eyebrow svg {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.rks-gallery__hero {
	background: linear-gradient(180deg, #fff 0%, var(--rks-cream) 100%);
	padding: 40px 0 60px;
	border-bottom: 1px solid rgba(44, 104, 123, 0.08);
	position: relative;
	overflow: hidden;
}
.rks-gallery__hero-bg { position: absolute; inset: 0; pointer-events: none; }
.rks-gallery__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	opacity: 0.55;
}
.rks-gallery__blob--a {
	top: -80px; right: -80px;
	width: 320px; height: 320px;
	background: radial-gradient(circle, var(--rks-mint) 0%, transparent 70%);
}
.rks-gallery__blob--b {
	bottom: -120px; left: -120px;
	width: 280px; height: 280px;
	background: radial-gradient(circle, rgba(230, 57, 70, 0.28) 0%, transparent 70%);
}

/* ---------- Crumb ---------- */
.rks-gallery__crumb {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12.5px;
	color: rgba(44, 104, 123, 0.7);
	margin-bottom: 18px;
	position: relative; z-index: 2;
}
.rks-gallery__crumb a { color: var(--rks-teal); font-weight: 500; text-decoration: none; }
.rks-gallery__crumb a:hover { color: var(--rks-red); }
.rks-gallery__crumb > span:not([aria-current]) { display: inline-flex; align-items: center; color: rgba(44, 104, 123, 0.45); }
.rks-gallery__crumb span[aria-current] { color: var(--rks-teal-dark); font-weight: 600; }

/* ---------- Hero intro (centered text above polaroid grid) ---------- */
.rks-gallery__hero-intro {
	position: relative; z-index: 2;
	text-align: center;
	max-width: 740px;
	margin: 0 auto 36px;
}
.rks-gallery__hero-intro .rks-gallery__crumb { justify-content: center; }
.rks-gallery__hero-intro .rks-gallery__eyebrow { margin-bottom: 14px; }

.rks-gallery__hero-intro h1 {
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	margin: 6px 0 14px;
	letter-spacing: -0.01em;
	line-height: 1.12;
}
.rks-gallery__hero-intro h1 span {
	color: var(--rks-red);
	font-style: italic;
}
.rks-gallery__hero-intro p {
	color: var(--rks-muted);
	font-size: 16px;
	max-width: 580px;
	margin: 0 auto 22px;
	line-height: 1.6;
}

.rks-gallery__hero-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.rks-gallery__hero-stats {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 0;
	justify-content: center;
}
.rks-gallery__hero-stats li {
	display: flex; flex-direction: column; gap: 2px;
	padding: 0 22px;
	border-right: 1px solid rgba(44, 104, 123, 0.18);
}
.rks-gallery__hero-stats li:last-child { border-right: 0; }
.rks-gallery__hero-stats li:first-child { padding-left: 0; }
.rks-gallery__hero-stats strong {
	font-family: var(--rks-font-heading);
	font-size: 24px;
	color: var(--rks-teal-dark);
	line-height: 1;
}
.rks-gallery__hero-stats li:nth-child(2) strong { color: var(--rks-red); }
.rks-gallery__hero-stats li:nth-child(3) strong { color: #d4951b; }
.rks-gallery__hero-stats li:only-child strong { color: #d4951b; }
.rks-gallery__hero-stats small {
	font-size: 11px;
	color: var(--rks-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.rks-gallery__hero-ticks {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
	justify-content: center;
}
.rks-gallery__hero-ticks li {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--rks-teal-dark);
	background: #fff;
	border: 1px solid rgba(44, 104, 123, 0.14);
	padding: 5px 11px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(44, 104, 123, 0.06);
}
.rks-gallery__hero-tick-ic {
	display: inline-flex;
	color: var(--rks-red);
}

/* ==========================================================================
   POLAROID GRID HERO — 8 photos scattered on a "table"
   ========================================================================== */
.rks-gallery__polaroids {
	position: relative; z-index: 1;
	margin: 18px auto 0;
	max-width: 1140px;
	height: 460px;
}

.rks-gallery__polaroid {
	position: absolute;
	margin: 0;
	background: #fff;
	padding: 10px 10px 14px;
	border-radius: 4px;
	box-shadow:
		0 1px 0 rgba(0,0,0,0.04),
		0 10px 22px rgba(31, 77, 91, 0.14),
		0 22px 40px rgba(31, 77, 91, 0.10);
	width: 200px;
	transition: transform 0.35s cubic-bezier(.21,.7,.32,1), box-shadow 0.35s ease, z-index 0s linear 0.35s;
}
.rks-gallery__polaroid:hover {
	z-index: 20;
	transform: translateY(-6px) rotate(0deg) scale(1.04) !important;
	box-shadow:
		0 18px 36px rgba(31, 77, 91, 0.22),
		0 32px 60px rgba(31, 77, 91, 0.18);
	transition-delay: 0s;
}

.rks-gallery__polaroid-pin {
	position: absolute;
	top: -6px; left: 50%;
	transform: translateX(-50%);
	width: 12px; height: 12px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #ff8a93 0%, var(--rks-red) 55%, #a8202b 100%);
	box-shadow:
		0 1px 0 rgba(255,255,255,0.5) inset,
		0 4px 8px rgba(168, 32, 43, 0.4);
	z-index: 2;
}

.rks-gallery__polaroid-media {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rks-cream);
	border-radius: 2px;
}
.rks-gallery__polaroid-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.rks-gallery__polaroid-caption {
	position: absolute;
	bottom: 8px;
	left: 0; right: 0;
	text-align: center;
	font-family: var(--rks-font-heading);
	font-size: 13px;
	color: var(--rks-teal-dark);
	letter-spacing: 0.01em;
}

/* Polaroid scatter positions — 8 photos arranged like a real photo collection on a desk.
   Each has its own rotation, size variant, and absolute position. */
.rks-gallery__polaroid--1 { top: 2%;   left: 4%;   width: 200px; transform: rotate(-7deg);  z-index: 4; animation: rks-pol-float 9s ease-in-out infinite; }
.rks-gallery__polaroid--2 { top: 16%;  left: 22%;  width: 220px; transform: rotate(4deg);   z-index: 6; animation: rks-pol-float 10s ease-in-out -1s infinite; }
.rks-gallery__polaroid--3 { top: 4%;   left: 44%;  width: 190px; transform: rotate(-3deg);  z-index: 5; animation: rks-pol-float 11s ease-in-out -2s infinite; }
.rks-gallery__polaroid--4 { top: 14%;  left: 64%;  width: 215px; transform: rotate(6deg);   z-index: 7; animation: rks-pol-float 9s  ease-in-out -3s infinite; }
.rks-gallery__polaroid--5 { top: 2%;   right: 4%;  width: 200px; transform: rotate(-5deg);  z-index: 3; animation: rks-pol-float 10s ease-in-out -4s infinite; }
.rks-gallery__polaroid--6 { bottom: 4%; left: 8%;  width: 210px; transform: rotate(5deg);   z-index: 5; animation: rks-pol-float 11s ease-in-out -1.5s infinite; }
.rks-gallery__polaroid--7 { bottom: 2%; left: 36%; width: 200px; transform: rotate(-4deg);  z-index: 7; animation: rks-pol-float 9s  ease-in-out -2.5s infinite; }
.rks-gallery__polaroid--8 { bottom: 6%; right: 10%; width: 220px; transform: rotate(7deg);  z-index: 4; animation: rks-pol-float 10s ease-in-out -3.5s infinite; }

@keyframes rks-pol-float {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 -6px; }
}


/* ==========================================================================
   GRID — TRUE MASONRY, NO CROP
   ========================================================================== */
.rks-gallery__section {
	padding: 60px 0;
	background: #fff;
}

.rks-gallery__section-head {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 30px;
}
.rks-gallery__section-head h2 {
	font-size: 28px;
	margin: 6px 0 6px;
}
.rks-gallery__section-head p {
	color: var(--rks-muted);
	font-size: 14.5px;
	margin: 0;
}

.rks-gallery__grid {
	column-count: 4;
	column-gap: 14px;
}
@media (max-width: 1100px) { .rks-gallery__grid { column-count: 3; } }
@media (max-width: 768px)  { .rks-gallery__grid { column-count: 2; column-gap: 12px; } }
@media (max-width: 480px)  { .rks-gallery__grid { column-count: 1; } }

.rks-gallery__card {
	display: block;
	position: relative;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin: 0 0 14px;
	border-radius: var(--rks-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--rks-shadow);
	transition: transform 0.3s cubic-bezier(.21,.7,.32,1), box-shadow 0.3s ease;
	text-decoration: none;
	border: 1px solid rgba(44, 104, 123, 0.08);

	/* Scroll fade-in */
	opacity: 0;
	transform: translateY(22px);
	animation: rks-gal-card-pop 0.5s cubic-bezier(.21,.7,.32,1) forwards;
	animation-play-state: paused;
}
.rks-gallery__card.is-in { animation-play-state: running; }

@keyframes rks-gal-card-pop {
	to { opacity: 1; transform: translateY(0); }
}

.rks-gallery__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(44, 104, 123, 0.18);
	border-color: rgba(142, 201, 196, 0.6);
}

/* No-op modifier classes (legacy from PHP) */
.rks-gallery__card--tall,
.rks-gallery__card--wide,
.rks-gallery__card--big { /* masonry handles size naturally */ }

.rks-gallery__card-media {
	display: block;
	position: relative;
	width: 100%;
	background: var(--rks-cream);
	overflow: hidden;
}
.rks-gallery__card-media img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
	/* NO CROP — natural aspect ratio */
}
.rks-gallery__card:hover .rks-gallery__card-media img {
	transform: scale(1.04);
}

.rks-gallery__card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(44, 104, 123, 0) 50%, rgba(31, 77, 91, 0.68) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 12px;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.rks-gallery__card:hover .rks-gallery__card-overlay { opacity: 1; }
.rks-gallery__card-ic {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 36px; height: 36px;
	background: var(--rks-red);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 6px 14px rgba(230, 57, 70, 0.32);
}

.rks-gallery__card-num {
	position: absolute;
	left: 10px; top: 10px;
	background: rgba(31, 77, 91, 0.78);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	letter-spacing: 0.04em;
	opacity: 0;
	transform: translateY(-3px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}
.rks-gallery__card:hover .rks-gallery__card-num {
	opacity: 1; transform: translateY(0);
}

/* Empty state */
.rks-gallery__empty {
	text-align: center;
	padding: 60px 24px;
	background: #fff;
	border: 2px dashed rgba(44, 104, 123, 0.22);
	border-radius: var(--rks-radius);
	color: var(--rks-muted);
}
.rks-gallery__empty-ic {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 56px; height: 56px;
	background: rgba(230, 57, 70, 0.10);
	color: var(--rks-red);
	border-radius: 999px;
	margin-bottom: 14px;
}
.rks-gallery__empty h3 {
	margin: 0 0 6px;
	font-size: 18px;
}
.rks-gallery__empty p { margin: 0; font-size: 14px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.rks-gallery__cta-section {
	padding: 0 0 70px;
	background: #fff;
}

.rks-gallery__cta {
	background: linear-gradient(135deg, var(--rks-mint) 0%, var(--rks-teal) 100%);
	border-radius: 16px;
	padding: 40px 44px;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	align-items: center;
	gap: 32px;
	color: #fff;
	box-shadow: 0 18px 40px rgba(44, 104, 123, 0.22), 0 2px 6px rgba(31, 77, 91, 0.08);
	position: relative;
	overflow: hidden;
}
/* decorative blobs */
.rks-gallery__cta-bg {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}
.rks-gallery__cta-bg--tr {
	top: -60px; right: -60px;
	width: 220px; height: 220px;
	background: rgba(255, 255, 255, 0.12);
}
.rks-gallery__cta-bg--bl {
	bottom: -90px; left: -60px;
	width: 260px; height: 260px;
	background: radial-gradient(circle, var(--rks-cream) 0%, transparent 70%);
	opacity: 0.35;
	filter: blur(8px);
}
.rks-gallery__cta-art {
	position: absolute;
	right: 18px; bottom: 14px;
	color: #fff;
	opacity: 0.14;
	pointer-events: none;
	z-index: 0;
}
.rks-gallery__cta-text { position: relative; z-index: 1; }
.rks-gallery__cta-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	border-radius: 10px;
	margin-bottom: 12px;
}
.rks-gallery__cta h2 {
	font-size: clamp(1.5rem, 2.6vw, 1.85rem);
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.22;
	letter-spacing: -0.01em;
}
.rks-gallery__cta p {
	margin: 0 0 16px;
	font-size: 14.5px;
	opacity: 0.94;
	line-height: 1.6;
	max-width: 520px;
}
.rks-gallery__cta-ticks {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.rks-gallery__cta-ticks li {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}
.rks-gallery__cta-tick-ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px;
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	border-radius: 50%;
}

.rks-gallery__cta-actions {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; gap: 10px;
	align-items: stretch;
}
.rks-gallery__cta-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 600;
	font-size: 14px;
	padding: 13px 22px;
	border-radius: var(--rks-radius);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
	line-height: 1;
}
.rks-gallery__cta-btn--primary {
	background: var(--rks-red);
	color: #fff;
	box-shadow: 0 12px 24px rgba(230, 57, 70, 0.28);
}
.rks-gallery__cta-btn--primary:hover {
	background: var(--rks-red-dark);
	transform: translateY(-2px);
	color: #fff;
}
.rks-gallery__cta-btn--ghost {
	background: rgba(255, 255, 255, 0.96);
	color: var(--rks-teal-dark);
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.rks-gallery__cta-btn--ghost:hover {
	background: #fff;
	color: var(--rks-red);
	transform: translateY(-2px);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.rks-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(15, 24, 28, 0.92);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 36px;
	animation: rks-lb-fade 0.2s ease;
}
.rks-lightbox.is-open { display: flex; }
@keyframes rks-lb-fade { from { opacity: 0; } to { opacity: 1; } }

.rks-lightbox__stage {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.rks-lightbox__img {
	max-width: min(92vw, 1200px);
	max-height: 82vh;
	width: auto; height: auto;
	border-radius: var(--rks-radius);
	box-shadow: 0 26px 70px rgba(0,0,0,0.55);
	background: #1f2d33;
	animation: rks-lb-pop 0.22s cubic-bezier(.2,.8,.3,1);
}
@keyframes rks-lb-pop {
	from { opacity: 0; transform: scale(0.94); }
	to   { opacity: 1; transform: scale(1); }
}
.rks-lightbox__caption {
	color: rgba(255,255,255,0.78);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.rks-lightbox__btn {
	position: absolute;
	background: rgba(255,255,255,0.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.18);
	width: 44px; height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center; justify-content: center;
	cursor: pointer;
	transition: background 0.18s ease, transform 0.18s ease;
	backdrop-filter: blur(6px);
}
.rks-lightbox__btn:hover {
	background: var(--rks-red);
	border-color: var(--rks-red);
	transform: scale(1.06);
}
.rks-lightbox__close { top: 22px; right: 22px; }
.rks-lightbox__prev  { left: 22px;  top: 50%; transform: translateY(-50%); }
.rks-lightbox__next  { right: 22px; top: 50%; transform: translateY(-50%); }
.rks-lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.rks-lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
	.rks-gallery__polaroids { height: 420px; }
	.rks-gallery__polaroid { width: 175px !important; }
	.rks-gallery__polaroid--1 { left: 2%; }
	.rks-gallery__polaroid--5 { right: 2%; }
	.rks-gallery__polaroid--8 { right: 4%; }
}

@media (max-width: 860px) {
	.rks-gallery__polaroids {
		position: relative;
		height: auto;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		max-width: 520px;
		padding: 10px 6px 20px;
	}
	.rks-gallery__polaroid {
		position: static !important;
		width: 100% !important;
		transform: rotate(-2deg) !important;
		animation: none !important;
	}
	.rks-gallery__polaroid:nth-child(even) { transform: rotate(2deg) !important; }
	.rks-gallery__polaroid:hover { transform: translateY(-4px) rotate(0deg) !important; }
}

@media (max-width: 768px) {
	.rks-gallery__hero { padding: 32px 0 48px; }
	.rks-gallery__hero-intro h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
	.rks-gallery__hero-intro p { font-size: 15px; }
	.rks-gallery__hero-stats li { padding: 0 14px; }
	.rks-gallery__hero-stats strong { font-size: 20px; }

	.rks-gallery__section { padding: 44px 0; }

	.rks-lightbox { padding: 14px; }
	.rks-lightbox__close { top: 10px; right: 10px; }
	.rks-lightbox__prev  { left: 6px; }
	.rks-lightbox__next  { right: 6px; }
}

@media (max-width: 480px) {
	.rks-gallery__polaroids { grid-template-columns: 1fr; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
	.rks-gallery__card { opacity: 1; transform: none; animation: none; }
	.rks-gallery__polaroid { animation: none !important; }
}

/* ==========================================================================
   HIGHLIGHTS STATS STRIP
   ========================================================================== */
.rks-gallery__highlights {
	padding: 60px 0;
	background: var(--rks-cream);
}
.rks-gallery__highlights-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.rks-gallery__hl-tile {
	background: #fff;
	border-radius: var(--rks-radius);
	padding: 24px 22px;
	box-shadow: var(--rks-shadow);
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-top: 3px solid transparent;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.rks-gallery__hl-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(44, 104, 123, 0.15);
	border-top-color: var(--rks-mint);
}
.rks-gallery__hl-ic {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 12px;
}
.rks-gallery__hl-ic--red   { background: rgba(230, 57, 70, 0.12);  color: var(--rks-red); }
.rks-gallery__hl-ic--mint  { background: rgba(142, 201, 196, 0.28); color: var(--rks-teal-dark); }
.rks-gallery__hl-ic--teal  { background: rgba(44, 104, 123, 0.14); color: var(--rks-teal); }
.rks-gallery__hl-ic--gold  { background: rgba(212, 149, 27, 0.16); color: #d4951b; }
.rks-gallery__hl-tile strong {
	font-family: var(--rks-font-heading);
	font-size: clamp(1.6rem, 3vw, 2rem);
	color: var(--rks-teal-dark);
	line-height: 1;
}
.rks-gallery__hl-label {
	font-size: 12.5px;
	color: var(--rks-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.rks-gallery__categories {
	padding: 60px 0;
	background: #fff;
}
.rks-gallery__categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 8px;
}
.rks-gallery__cat-card {
	background: var(--rks-cream);
	border-radius: var(--rks-radius);
	padding: 22px 20px;
	border: 1px solid rgba(44, 104, 123, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.rks-gallery__cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(44, 104, 123, 0.14);
	background: #fff;
}
.rks-gallery__cat-chip {
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 40px; height: 40px;
	border-radius: 10px;
	margin-bottom: 12px;
}
.rks-gallery__cat-chip--red  { background: rgba(230, 57, 70, 0.12);  color: var(--rks-red); }
.rks-gallery__cat-chip--mint { background: rgba(142, 201, 196, 0.30); color: var(--rks-teal-dark); }
.rks-gallery__cat-chip--gold { background: rgba(212, 149, 27, 0.16); color: #d4951b; }
.rks-gallery__cat-chip--teal { background: rgba(44, 104, 123, 0.14); color: var(--rks-teal); }
.rks-gallery__cat-card h3 {
	font-size: 17px;
	margin: 0 0 6px;
	line-height: 1.3;
}
.rks-gallery__cat-card p {
	margin: 0;
	font-size: 13.5px;
	color: var(--rks-muted);
	line-height: 1.55;
}

/* ==========================================================================
   VOICES (mini testimonials)
   ========================================================================== */
.rks-gallery__voices {
	padding: 60px 0;
	background: var(--rks-cream);
}
.rks-gallery__voices-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 8px;
}
.rks-gallery__voice-card {
	background: #fff;
	border-radius: var(--rks-radius);
	padding: 24px 22px 20px;
	margin: 0;
	box-shadow: var(--rks-shadow);
	border: 1px solid rgba(44, 104, 123, 0.08);
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rks-gallery__voice-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(44, 104, 123, 0.16);
}
.rks-gallery__voice-mark {
	display: inline-flex;
	color: var(--rks-red);
	opacity: 0.85;
	margin-bottom: 6px;
}
.rks-gallery__voice-card blockquote {
	margin: 0 0 14px;
	font-style: italic;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--rks-text);
}
.rks-gallery__voice-card figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-top: 1px solid rgba(44, 104, 123, 0.10);
	padding-top: 12px;
}
.rks-gallery__voice-card figcaption strong {
	font-family: var(--rks-font-heading);
	font-size: 14.5px;
	color: var(--rks-teal-dark);
}
.rks-gallery__voice-card figcaption span {
	font-size: 11.5px;
	color: var(--rks-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE — new sections
   ========================================================================== */
@media (max-width: 900px) {
	.rks-gallery__highlights-grid { grid-template-columns: repeat(2, 1fr); }
	.rks-gallery__categories-grid { grid-template-columns: repeat(2, 1fr); }
	.rks-gallery__voices-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.rks-gallery__highlights,
	.rks-gallery__categories,
	.rks-gallery__voices { padding: 50px 0; }
	.rks-gallery__categories-grid { grid-template-columns: 1fr; }
	.rks-gallery__hl-tile { padding: 20px 18px; }
}
