/* Atlas Community Spotlight */
.acs-panel {
	--acs-accent: #8A6D1F;
	--acs-ink: #222222;
	--acs-muted: #5E5E5E;
	--acs-bg: #FFFFFF;
	--acs-radius: 18px;
	--acs-per: 4;
	--acs-gap: 24px;
	--acs-ratio: 3 / 2;
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 40px 38px;
	background: var(--acs-bg);
	border-radius: var(--acs-radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
	color: var(--acs-ink);
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.acs-panel *, .acs-panel *::before, .acs-panel *::after { box-sizing: border-box; }

/* Header */
.acs-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.acs-brand { display: flex; align-items: center; gap: 28px; min-width: 0; }
.acs-logo img { display: block; width: 210px; height: auto; max-width: 100%; }
.acs-divider { width: 1px; height: 48px; background: #E2DCCF; flex: none; }
.acs-titles { display: flex; flex-direction: column; gap: 2px; }
.acs-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acs-accent); }
.acs-panel .acs-heading { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--acs-ink); }
.acs-actions { display: flex; align-items: center; gap: 12px; }
.acs-panel .acs-see-all { font-size: 16px; font-weight: 600; color: var(--acs-accent); text-decoration: none; margin-right: 12px; }
.acs-panel .acs-see-all:hover { text-decoration: underline; }
.acs-arrows { display: flex; gap: 12px; }
.acs-panel .acs-arrow {
	width: 46px; height: 46px; padding: 0; border-radius: 50%;
	border: 1.5px solid var(--acs-accent); background: transparent; color: var(--acs-accent);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
	transition: opacity .2s, background .2s, color .2s;
}
.acs-panel .acs-arrow.acs-next { background: var(--acs-accent); color: #FFFFFF; }
.acs-panel .acs-arrow:hover { background: var(--acs-accent); color: #FFFFFF; }
.acs-panel .acs-arrow:disabled { opacity: .35; cursor: default; }
.acs-panel .acs-arrow:focus-visible { outline: 2px solid var(--acs-accent); outline-offset: 3px; }
.acs--static .acs-arrows { display: none; }

/* Track */
.acs-track {
	display: flex; gap: var(--acs-gap);
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}
.acs-track::-webkit-scrollbar { display: none; }
.acs-track:focus-visible { outline: 2px solid var(--acs-accent); outline-offset: 4px; border-radius: 12px; }
.acs-item {
	flex: 0 0 calc((100% - (var(--acs-per) - 1) * var(--acs-gap)) / var(--acs-per));
	min-width: 0; scroll-snap-align: start;
}

/* Card */
.acs-panel .acs-card { display: flex; flex-direction: column; gap: 12px; color: var(--acs-ink); text-decoration: none; height: 100%; }
.acs-panel a.acs-card:focus-visible { outline: 2px solid var(--acs-accent); outline-offset: 4px; border-radius: 12px; }
.acs-media { position: relative; aspect-ratio: var(--acs-ratio); border-radius: 12px; overflow: hidden; background: #EEEEEE; }
.acs-panel .acs-img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.acs-panel a.acs-card:hover .acs-img { transform: scale(1.03); }

.acs-media--flyer { background: #1E2B4A; display: flex; align-items: center; justify-content: center; }
.acs-blur { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(16px); opacity: .85; }
.acs-panel .acs-media--flyer .acs-img {
	position: relative; width: auto; height: 100%; max-width: 100%;
	object-fit: contain; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.acs-panel a.acs-card:hover .acs-media--flyer .acs-img { transform: none; }

.acs-badge { position: absolute; top: 8px; left: 8px; background: #B42318; color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; }

.acs-body { display: flex; flex-direction: column; gap: 4px; }
.acs-tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acs-accent); }
.acs-panel .acs-card-title { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--acs-ink); }
.acs-sub { font-size: 15px; color: var(--acs-muted); }

/* Tablet */
@media (max-width: 1024px) {
	.acs-panel { padding: 28px 28px 32px; }
}

/* Mobile */
@media (max-width: 767px) {
	.acs-panel { padding: 22px 0 24px; border-radius: 16px; gap: 18px; }
	.acs-head { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
	.acs-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
	.acs-divider, .acs-arrows { display: none; }
	.acs-panel .acs-heading { font-size: 20px; }
	.acs-panel .acs-see-all { font-size: 15px; margin-right: 0; }
	.acs-track { padding: 0 20px 4px; scroll-padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.acs-track { scroll-behavior: auto; }
	.acs-panel .acs-img { transition: none; }
}
