/* ==========================================================================
   AFAMS GALLERY SUBMIT CTA BANNER WIDGET STYLES
   ========================================================================== */

.afam-gallery-cta-wrapper {
	width: 100%;
	margin-bottom: 50px;
}

.afam-gallery-cta-container {
	background: #0a192f;
	border-radius: 0px !important;
	padding: 40px 45px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	box-shadow: 0 15px 40px rgba(7, 19, 37, 0.25);
}

/* Decorative Dashed Accent Line */
.afam-cta-dash-accent {
	position: absolute;
	top: -50px;
	right: -50px;
	width: 250px;
	height: 250px;
	border: 2px dashed rgba(212, 175, 55, 0.35);
	border-radius: 50%;
	pointer-events: none;
}

/* Left Content Column */
.afam-cta-left-content {
	display: flex;
	align-items: center;
	gap: 30px;
	max-width: 620px;
	position: relative;
	z-index: 5;
}

/* Circle Badge */
.afam-cta-circle-badge {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	border: 2px solid #d4af37;
	color: #d4af37;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	flex-shrink: 0;
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
	overflow: hidden;
}

.afam-cta-circle-badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.afam-cta-text-block {
	display: flex;
	flex-direction: column;
}

.afam-cta-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #d4af37;
	margin: 0 0 6px 0;
	letter-spacing: -0.2px;
}

.afam-cta-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.afam-cta-desc {
	font-size: 14px;
	color: #cbd5e1;
	line-height: 1.6;
	margin: 0 0 22px 0;
}

/* CTA Button */
.afam-cta-gold-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #e5c05b 0%, #d4af37 100%);
	color: #071325;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	align-self: flex-start;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.afam-cta-gold-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
	color: #071325;
}

.afam-cta-gold-btn i {
	transition: transform 0.2s ease;
}

.afam-cta-gold-btn:hover i {
	transform: translateX(4px);
}

/* Right Polaroid Photo Stack */
.afam-cta-right-photos {
	position: relative;
	z-index: 5;
	flex-grow: 1;
}

.afam-polaroid-stack {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: -15px; /* Overlap effect */
}

.afam-polaroid-card {
	width: 170px;
	background: #ffffff !important;
	padding: 10px 10px 32px 10px !important;
	border-radius: 6px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), z-index 0.2s ease;
	margin-left: -20px;
	cursor: pointer;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	flex-shrink: 0;
}

.afam-polaroid-card:first-child {
	margin-left: 0;
}

.afam-polaroid-card:hover {
	transform: scale(1.12) rotate(0deg) !important;
	z-index: 20 !important;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.afam-polaroid-inner {
	width: 100% !important;
	aspect-ratio: 1 / 1 !important;
	overflow: hidden !important;
	border-radius: 3px !important;
	background: #e2e8f0 !important;
	position: relative !important;
}

.afam-polaroid-inner img {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* Responsive */
@media (max-width: 1100px) {
	.afam-gallery-cta-container {
		flex-direction: column;
		text-align: center;
	}
	.afam-cta-left-content {
		flex-direction: column;
		text-align: center;
		max-width: 100%;
	}
	.afam-cta-gold-btn {
		align-self: center;
	}
	.afam-polaroid-stack {
		justify-content: center;
		margin-top: 15px;
	}
}

@media (max-width: 640px) {
	.afam-gallery-cta-wrapper {
		overflow: hidden;
	}
	.afam-gallery-cta-container {
		padding: 30px 16px;
		overflow: hidden;
	}
	.afam-polaroid-stack {
		justify-content: center;
		margin-top: 15px;
		max-width: 100%;
		overflow: hidden;
	}
	.afam-polaroid-card {
		width: 110px;
		height: auto;
		padding: 8px 8px 24px 8px !important;
		margin-left: -18px;
	}
}

@media (max-width: 400px) {
	.afam-polaroid-card {
		width: 90px;
		margin-left: -14px;
	}
}
