.ambition-poster-gallery {
	box-sizing: border-box;
	width: min(1140px, calc(100vw - 40px));
	max-width: 1140px;
	margin: 24px 0 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #002045;
	container-type: inline-size;
}

.ambition-poster-gallery__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.ambition-poster-gallery__intro {
	min-width: 0;
}

.ambition-poster-gallery__title {
	margin: 0 0 6px;
	padding: 0;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 700;
	line-height: 1.15;
}

.ambition-poster-gallery__description {
	max-width: 680px;
	margin: 0;
	padding: 0;
	color: #4a5568;
	line-height: 1.55;
}

.ambition-poster-gallery__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 8px 4px 12px;
	perspective: 850px;
	perspective-origin: center;
}

.ambition-poster-gallery__track {
	display: flex;
	align-items: stretch;
	gap: 24px;
	transform: translateX(0);
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
	will-change: transform;
}

.ambition-poster-gallery--fade .ambition-poster-gallery__track.is-changing {
	opacity: 0.35;
}

.ambition-poster-gallery__slide {
	--poster-angle: 0deg;
	--poster-depth: 0px;

	flex: 0 0 calc((100% - 48px) / 3);
	box-sizing: border-box;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	border: 4px solid #e9b949;
	border-radius: 19px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 32, 69, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
	transform: translateZ(var(--poster-depth)) rotateY(var(--poster-angle));
	transform-origin: center;
	transform-style: preserve-3d;
	backface-visibility: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ambition-poster-gallery__slide:hover,
.ambition-poster-gallery__slide:focus-within {
	transform: translateY(-8px) translateZ(20px) rotateY(0deg) scale(1.02);
	box-shadow: 0 17px 34px rgba(0, 32, 69, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.ambition-poster-gallery.is-two-columns .ambition-poster-gallery__slide {
	flex-basis: calc((100% - 24px) / 2);
}

.ambition-poster-gallery.is-one-column .ambition-poster-gallery__slide {
	flex-basis: min(360px, 100%);
	max-width: 360px;
}

.ambition-poster-gallery__poster-link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1.414;
	color: inherit;
	text-decoration: none;
}

.ambition-poster-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1.414;
	margin: 0;
}

.ambition-poster-gallery__image[hidden] {
	display: none !important;
}

.ambition-poster-gallery--contain .ambition-poster-gallery__image {
	object-fit: contain;
}

.ambition-poster-gallery--cover .ambition-poster-gallery__image {
	object-fit: cover;
}

.ambition-poster-gallery__poster-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 32, 69, 0.52);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ambition-poster-gallery__poster-overlay span {
	padding: 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	color: #002045;
	font-size: 0.86rem;
	font-weight: 700;
}

.ambition-poster-gallery__poster-link:hover .ambition-poster-gallery__poster-overlay,
.ambition-poster-gallery__poster-link:focus-visible .ambition-poster-gallery__poster-overlay {
	opacity: 1;
}

.ambition-poster-gallery__details {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 58px;
	box-sizing: border-box;
	padding: 14px 16px;
	border-top: 1px solid rgba(0, 32, 69, 0.08);
	background: #fff;
}

.ambition-poster-gallery__poster-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ambition-poster-gallery__kind {
	flex: 0 0 auto;
	padding: 3px 7px;
	border-radius: 999px;
	background: #fbe9e7;
	color: #9b2118;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.ambition-poster-gallery__pdf-preview {
	height: auto;
}

.ambition-poster-gallery__pdf-badge {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 999px;
	background: #b42318;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ambition-poster-gallery__pdf-fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	box-sizing: border-box;
	aspect-ratio: 1 / 1.414;
	padding: 24px 16px;
	background: linear-gradient(145deg, #fff 0%, #f2f5f8 100%);
	text-align: center;
}

.ambition-poster-gallery__pdf-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.ambition-poster-gallery__pdf-canvas {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	object-fit: contain;
}

.ambition-poster-gallery__pdf-canvas[hidden],
.ambition-poster-gallery__pdf-placeholder[hidden] {
	display: none !important;
}

.ambition-poster-gallery__pdf-client-preview.is-pdf-rendered {
	display: block;
	padding: 0;
}

.ambition-poster-gallery__pdf-client-preview.is-pdf-rendered .ambition-poster-gallery__pdf-canvas {
	display: block;
}

.ambition-poster-gallery__pdf-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 82px;
	border-radius: 8px;
	background: #b42318;
	box-shadow: 0 6px 16px rgba(180, 35, 24, 0.25);
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.ambition-poster-gallery__pdf-open {
	padding: 7px 12px;
	border-radius: 999px;
	background: #296b9f;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
}

.ambition-poster-gallery__poster-link:focus-visible {
	outline: 3px solid #002045;
	outline-offset: -3px;
}

.ambition-poster-gallery__arrow,
.ambition-poster-gallery__dot {
	appearance: none;
	border: 1px solid #296b9f;
	background: #fff;
	color: #002045;
	cursor: pointer;
}

.ambition-poster-gallery__arrow {
	position: absolute;
	top: 44%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-color: rgba(0, 32, 69, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 7px 20px rgba(0, 32, 69, 0.2);
	font-size: 1.35rem;
	line-height: 1;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur(5px);
}

.ambition-poster-gallery__previous {
	left: 13px;
}

.ambition-poster-gallery__next {
	right: 13px;
}

.ambition-poster-gallery__arrow:hover,
.ambition-poster-gallery__arrow:focus-visible {
	background: #002045;
	color: #fff;
	transform: translateY(-50%) scale(1.05);
}

.ambition-poster-gallery__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 15px;
}

.ambition-poster-gallery__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 3px;
}

.ambition-poster-gallery__dot {
	position: relative;
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
}

.ambition-poster-gallery__dot::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border: 1px solid #296b9f;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
	transition: width 0.2s ease, border-radius 0.2s ease, background-color 0.2s ease;
	content: "";
}

.ambition-poster-gallery__dot.is-active::before {
	width: 27px;
	border-radius: 999px;
	background: #296b9f;
}

.ambition-poster-gallery__arrow:focus-visible,
.ambition-poster-gallery__dot:focus-visible {
	outline: 3px solid #e9b949;
	outline-offset: 2px;
}

html.ambition-poster-modal-open {
	overflow: hidden;
}

.ambition-poster-modal[hidden],
.ambition-poster-modal [hidden] {
	display: none !important;
}

.ambition-poster-modal {
	width: min(980px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 10px;
	background: transparent;
	box-shadow: 0 16px 48px rgba(0, 10, 24, 0.42);
	color: #fff;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.ambition-poster-modal:not([open]) {
	display: none;
}

.ambition-poster-modal[open] {
	display: block;
	opacity: 1;
}

.ambition-poster-modal::backdrop {
	background: rgba(0, 32, 69, 0.76);
	backdrop-filter: blur(3px);
}

.ambition-poster-modal__panel {
	position: relative;
	display: block;
	height: min(900px, calc(100dvh - 32px));
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	border: 1px solid var(--orange-brand, #f2b300);
	border-radius: 10px;
	background: var(--marineblue-brand, #002045);
	transform: scale(1);
	transition: transform 0.2s ease;
}

@starting-style {
	.ambition-poster-modal[open] {
		opacity: 0;
	}

	.ambition-poster-modal[open] .ambition-poster-modal__panel {
		transform: translateY(12px) scale(0.98);
	}
}

.ambition-poster-modal__header,
.ambition-poster-modal__footer {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	pointer-events: none;
}

.ambition-poster-modal__header {
	top: 0;
	padding: 20px 24px 46px;
	background: linear-gradient(to bottom, rgba(0, 32, 69, 0.96) 0%, rgba(0, 32, 69, 0.68) 58%, transparent 100%);
}

.ambition-poster-modal__footer {
	bottom: 0;
	justify-content: flex-end;
	padding: 46px 24px 20px;
	background: linear-gradient(to top, rgba(0, 32, 69, 0.94) 0%, rgba(0, 32, 69, 0.56) 58%, transparent 100%);
}

.ambition-poster-modal__eyebrow {
	display: block;
	margin-bottom: 2px;
	color: var(--orange-brand, #f2b300);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ambition-poster-modal__title {
	max-width: min(720px, calc(100vw - 150px));
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: #fff;
	font-size: clamp(1.15rem, 3vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ambition-poster-modal__close,
.ambition-poster-modal__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(0, 32, 69, 0.78);
	color: #fff;
	cursor: pointer;
	font-size: 1.4rem;
	line-height: 1;
}

.ambition-poster-modal__close {
	flex: 0 0 auto;
	font-size: 1.75rem;
}

.ambition-poster-modal__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 0;
	box-sizing: border-box;
	padding: 112px 76px 110px;
	overflow: hidden;
	background: var(--marineblue-brand, #002045);
	overscroll-behavior: contain;
}

.ambition-poster-modal__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	border-radius: 3px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.46);
	cursor: zoom-in;
	transform-origin: 0 0;
	user-select: none;
	-webkit-user-drag: none;
	will-change: transform;
}

.ambition-poster-modal__image.is-zoomed {
	cursor: grab;
	touch-action: none;
}

.ambition-poster-modal__image.is-dragging {
	cursor: grabbing;
}

.ambition-poster-modal__zoom {
	position: absolute;
	left: 50%;
	bottom: 76px;
	z-index: 2;
	min-width: 54px;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: rgba(0, 12, 26, 0.82);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	text-align: center;
	transform: translateX(-50%);
	pointer-events: none;
}

.ambition-poster-modal__fallback {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	max-width: 380px;
	color: #fff;
	text-align: center;
}

.ambition-poster-modal__fallback p {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
}

.ambition-poster-modal__pdf-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 88px;
	border-radius: 9px;
	background: #b42318;
	box-shadow: 0 9px 24px rgba(0, 0, 0, 0.28);
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.ambition-poster-modal__arrow {
	position: absolute;
	top: 50%;
	z-index: 1;
	transform: translateY(-50%);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.ambition-poster-modal__previous {
	left: 18px;
}

.ambition-poster-modal__next {
	right: 18px;
}

.ambition-poster-modal__download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	padding: 10px 18px;
	border-radius: 6px;
	background: var(--clearblue, #1b6199);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
	color: var(--white, #fff) !important;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none !important;
	pointer-events: auto;
}

.ambition-poster-modal__close {
	pointer-events: auto;
}

.ambition-poster-modal__close:hover,
.ambition-poster-modal__arrow:hover,
.ambition-poster-modal__close:focus-visible,
.ambition-poster-modal__arrow:focus-visible {
	background: var(--orange-brand, #f2b300);
	color: var(--marineblue-brand, #002045);
}

.ambition-poster-modal__download:hover,
.ambition-poster-modal__download:focus-visible {
	background: var(--clearblue-darker, #134f80);
	color: var(--white, #fff) !important;
}

.ambition-poster-modal__close:focus-visible,
.ambition-poster-modal__arrow:focus-visible,
.ambition-poster-modal__download:focus-visible {
	outline: 3px solid var(--orange-brand, #f2b300);
	outline-offset: 3px;
}

@container (max-width: 600px) {
	.ambition-poster-gallery__track {
		gap: 20px;
	}

	.ambition-poster-gallery__slide,
	.ambition-poster-gallery.is-two-columns .ambition-poster-gallery__slide {
		flex-basis: calc((100% - 20px) / 2);
	}
}

@container (max-width: 420px) {
	.ambition-poster-gallery__header {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 17px;
	}

	.ambition-poster-gallery__track {
		gap: 16px;
	}

	.ambition-poster-gallery__slide,
	.ambition-poster-gallery.is-two-columns .ambition-poster-gallery__slide,
	.ambition-poster-gallery.is-one-column .ambition-poster-gallery__slide {
		flex-basis: 100%;
		max-width: none;
		border-width: 3px;
		border-radius: 15px;
	}

	.ambition-poster-gallery__details {
		padding: 12px 13px;
	}

	.ambition-poster-gallery__arrow {
		width: 42px;
		height: 42px;
	}

	.ambition-poster-gallery__previous {
		left: 8px;
	}

	.ambition-poster-gallery__next {
		right: 8px;
	}
}

@media (max-width: 600px) {
	.ambition-poster-modal {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 10px;
	}

	.ambition-poster-modal__panel {
		height: calc(100dvh - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 10px;
	}

	.ambition-poster-modal__header,
	.ambition-poster-modal__footer {
		padding-inline: 14px;
	}

	.ambition-poster-modal__header {
		padding-top: 14px;
		padding-bottom: 38px;
	}

	.ambition-poster-modal__footer {
		padding-top: 38px;
		padding-bottom: 14px;
	}

	.ambition-poster-modal__stage {
		min-height: 0;
		padding: 100px 50px 96px;
	}

	.ambition-poster-modal__close,
	.ambition-poster-modal__arrow {
		width: 42px;
		height: 42px;
	}

	.ambition-poster-modal__previous {
		left: 6px;
	}

	.ambition-poster-modal__next {
		right: 6px;
	}

	.ambition-poster-modal__zoom {
		bottom: 66px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ambition-poster-gallery__track,
	.ambition-poster-gallery__slide,
	.ambition-poster-gallery__poster-overlay,
	.ambition-poster-gallery__arrow,
	.ambition-poster-gallery__dot::before,
	.ambition-poster-modal,
	.ambition-poster-modal__panel,
	.ambition-poster-modal__image {
		transition: none;
	}

	.ambition-poster-gallery__slide:hover,
	.ambition-poster-gallery__slide:focus-within {
		transform: none;
	}

	.ambition-poster-gallery__slide {
		transform: none;
	}
}
