/* ==========================================================================
   AFAMS SINGLE EVENT PAGE STYLES
   ========================================================================== */

.afam-single-event-page {
	margin: 0;
	padding: 0;
	background-color: #f8fafc;
	font-family: 'Open Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #334155;
	line-height: 1.6;
}

.afam-single-event-wrapper {
	width: 100%;
	overflow-x: hidden;
	box-sizing: border-box;
}

.afam-single-event-wrapper * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   HERO HEADER BANNER
   -------------------------------------------------------------------------- */
.afam-event-hero {
	background-color: #071325 !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	color: #ffffff;
	padding: 40px 0 90px 0;
	position: relative;
}

.afam-event-hero-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: block;
}

/* Breadcrumbs */
.afam-event-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #94a3b8;
	margin-bottom: 20px;
}

.afam-event-breadcrumbs a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.afam-event-breadcrumbs a:hover {
	color: #d4af37;
}

.afam-event-breadcrumbs .sep {
	font-size: 10px;
	color: #64748b;
}

.afam-event-breadcrumbs .current {
	color: #d4af37;
	font-weight: 600;
}

/* Badge */
.afam-event-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #f1f5f9;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.afam-event-badge i {
	color: #d4af37;
	font-size: 13px;
}

/* Title & Subtitle */
.afam-event-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
	margin: 0 0 12px 0;
	letter-spacing: -0.5px;
}

.afam-event-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #d4af37;
	margin-bottom: 16px;
	letter-spacing: 0.2px;
}

.afam-event-description {
	font-size: 15px;
	color: #cbd5e1;
	line-height: 1.7;
	max-width: 600px;
}

.afam-event-description p {
	margin: 0;
}

/* Hero Right Image */
.afam-event-hero-image-box {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	border: 2px solid rgba(212, 175, 55, 0.3);
	aspect-ratio: 16 / 10;
}

.afam-event-hero-image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* --------------------------------------------------------------------------
   KEY INFO BAR
   -------------------------------------------------------------------------- */
.afam-event-infobar-container {
	max-width: 1200px;
	margin: -50px auto 40px auto;
	padding: 0 24px;
	position: relative;
	z-index: 10;
}

.afam-event-infobar {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	border: 1px solid #e2e8f0;
	padding: 24px 30px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.afam-infobar-item {
	display: flex;
	align-items: center;
	gap: 16px;
	border-right: 1px solid #f1f5f9;
	padding-right: 15px;
}

.afam-infobar-item:last-child {
	border-right: none;
	padding-right: 0;
}

.afam-infobar-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #0a192f;
	color: #d4af37;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

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

.afam-infobar-text .label {
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.afam-infobar-text .value {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.afam-infobar-text .sub {
	font-size: 12px;
	color: #64748b;
}

/* --------------------------------------------------------------------------
   MAIN LAYOUT (TWO COLUMNS)
   -------------------------------------------------------------------------- */
.afam-event-main-container {
	max-width: 1200px;
	margin: 0 auto 60px auto;
	padding: 0 24px;
}

.afam-event-layout {
	display: grid;
	grid-template-columns: 1fr 370px;
	gap: 40px;
	align-items: start;
}

/* Left Content Area */
.afam-event-content-left {
	min-width: 0;
}

/* Tabs Navigation Bar */
.afam-event-tabs-bar {
	display: flex;
	align-items: center;
	gap: 30px;
	border-bottom: 2px solid #e2e8f0;
	margin-bottom: 35px;
	overflow-x: auto;
	white-space: nowrap;
}

.afam-tab-link {
	padding: 12px 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
	position: relative;
	transition: color 0.2s ease;
}

.afam-tab-link:hover,
.afam-tab-link.active {
	color: #0a192f;
}

.afam-tab-link.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #d4af37;
	border-radius: 3px 3px 0 0;
}

/* Content Sections */
.afam-event-section {
	background: #ffffff;
	border-radius: 16px;
	padding: 35px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
	margin-bottom: 35px;
}

.afam-section-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #0a192f;
	margin: 0 0 24px 0;
}

.afam-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.afam-section-header .afam-section-heading {
	margin-bottom: 0;
}

.afam-view-all-link {
	font-size: 13px;
	font-weight: 700;
	color: #0a192f;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.2s ease, color 0.2s ease;
}

.afam-view-all-link:hover {
	color: #d4af37;
	gap: 10px;
}

/* Overview Section */
.afam-overview-grid {
	display: grid;
	grid-template-columns: 1fr 180px;
	gap: 30px;
	align-items: center;
}

.afam-post-content p {
	font-size: 15px;
	color: #475569;
	line-height: 1.7;
	margin-bottom: 20px;
}

.afam-offers-block h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 25px 0 15px 0;
}

.afam-offers-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.afam-offers-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

.afam-offers-list li i {
	color: #d4af37;
	font-size: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.afam-watermark-emblem {
	width: 140px;
	height: 140px;
	margin: 0 auto;
	border-radius: 50%;
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #cbd5e1;
	font-size: 60px;
}

/* Highlights Grid */
.afam-highlights-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.afam-highlight-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.afam-highlight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
	border-color: #cbd5e1;
}

.afam-hl-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #0a192f;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 16px;

}

.afam-highlight-card h4 {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 6px 0;
}

.afam-highlight-card p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

/* Featured Speakers */
.afam-speakers-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.afam-speaker-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 20px 16px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.afam-speaker-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
	background: #ffffff;
}

.afam-speaker-avatar {
	width: 86px;
	height: 86px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 14px auto;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.afam-speaker-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.afam-speaker-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.afam-speaker-country {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
}

/* Schedule at a Glance */
.afam-schedule-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.afam-schedule-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
}

.afam-schedule-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 16px;
}

.afam-schedule-header .day-num {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.afam-schedule-header .day-date {
	font-size: 12px;
	color: #64748b;
	display: block;
	margin-top: 2px;
}

.afam-schedule-header .day-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.afam-schedule-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.afam-schedule-list li {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	display: flex;
	align-items: center;
	gap: 10px;
}

.afam-schedule-list li .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #94a3b8;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   RIGHT SIDEBAR COLUMN
   -------------------------------------------------------------------------- */
.afam-event-sidebar-right {
	display: flex;
	flex-direction: column;
	gap: 30px;
	position: sticky;
	top: 30px;
}

.afam-sidebar-widget {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Register Card (Dark Blue) */
.afam-register-card {
	background: #0b1e36;
	color: #ffffff;
	border: none;
	box-shadow: 0 10px 30px rgba(11, 30, 54, 0.2);
}

.afam-register-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 20px 0;
}

.afam-pricing-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.afam-pricing-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.afam-pricing-option.active,
.afam-pricing-option:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #d4af37;
}

.afam-pricing-option input[type="radio"] {
	display: none;
}

.afam-pricing-option .radio-custom {
	color: #64748b;
	font-size: 16px;
	margin-right: 12px;
}

.afam-pricing-option.active .radio-custom {
	color: #d4af37;
}

.afam-pricing-option .pricing-info {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.afam-pricing-option .pricing-info .title {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
}

.afam-pricing-option .pricing-info .validity {
	font-size: 11px;
	color: #94a3b8;
}

.afam-pricing-option .price-val {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	white-space: nowrap;
}

/* Actions CTAs */
.afam-register-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.afam-btn-gold-cta {
	display: flex;
	align-items: center;
	justify-content: 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: 14px 20px;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.afam-btn-outline-brochure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffffff;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.afam-btn-outline-brochure:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #ffffff;
	color: #ffffff;
}

/* Have Questions Card */
.afam-questions-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px 0;
}

.afam-questions-card p {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 16px 0;
	line-height: 1.5;
}

.afam-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 10px;
}

.afam-contact-item:last-child {
	margin-bottom: 0;
}

.afam-contact-item i {
	color: #0a192f;
	font-size: 16px;
}

.afam-contact-item a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s ease;
}

.afam-contact-item a:hover {
	color: #d4af37;
}

/* Share This Event */
.afam-share-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
}

.afam-social-share-buttons {
	display: flex;
	align-items: center;
	gap: 12px;
}

.share-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	font-size: 15px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-btn:hover {
	transform: translateY(-3px);
	opacity: 0.9;
}

.share-btn.fb {
	background: #1877f2;
}

.share-btn.li {
	background: #0a66c2;
}

.share-btn.tw {
	background: #000000;
}

.share-btn.wa {
	background: #25d366;
}

.share-btn.em {
	background: #0a192f;
}

/* Add to Calendar */
.afam-calendar-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
}

.afam-calendar-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.calendar-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.calendar-link:hover {
	border-color: #cbd5e1;
	background: #ffffff;
	color: #0a192f;
}

.calendar-link i {
	font-size: 14px;
	color: #94a3b8;
}

/* --------------------------------------------------------------------------
   STAY UPDATED NEWSLETTER BAR
   -------------------------------------------------------------------------- */
.afam-event-newsletter-bar {
	background: #fffdf5;
	border-top: 1px solid #fef3c7;
	border-bottom: 1px solid #fef3c7;
	padding: 50px 0;
	margin-top: 30px;
}

.afam-newsletter-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.afam-newsletter-left {
	display: flex;
	align-items: center;
	gap: 20px;
}

.afam-newsletter-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fef3c7;
	color: #d4af37;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.afam-newsletter-text h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.afam-newsletter-text p {
	font-size: 14px;
	color: #64748b;
	margin: 0;
}

.afam-newsletter-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 440px;
	max-width: 100%;
}

.afam-newsletter-form input {
	flex-grow: 1;
	padding: 14px 18px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	font-size: 14px;
	outline: none;
}

.afam-newsletter-form input:focus {
	border-color: #d4af37;
}

.afam-newsletter-btn {
	background: #d4af37;
	color: #ffffff;
	border: none;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 14px;
	padding: 14px 24px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.afam-newsletter-btn:hover {
	background: #c59b27;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.afam-event-hero-container {
		grid-template-columns: 1fr;
	}

	.afam-event-infobar {
		grid-template-columns: repeat(2, 1fr);
	}

	.afam-infobar-item:nth-child(2) {
		border-right: none;
	}

	.afam-event-layout {
		grid-template-columns: 1fr;
	}

	.afam-speakers-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.afam-schedule-grid {
		grid-template-columns: 1fr;
	}

	.afam-newsletter-container {
		flex-direction: column;
		text-align: center;
	}

	.afam-newsletter-left {
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.afam-event-title {
		font-size: 28px;
	}

	.afam-event-infobar {
		grid-template-columns: 1fr;
	}

	.afam-infobar-item {
		border-right: none;
		border-bottom: 1px solid #f1f5f9;
		padding-bottom: 15px;
	}

	.afam-highlights-grid {
		grid-template-columns: 1fr;
	}

	.afam-speakers-grid {
		grid-template-columns: 1fr;
	}

	.afam-overview-grid {
		grid-template-columns: 1fr;
	}

	.afam-newsletter-form {
		flex-direction: column;
		width: 100%;
	}

	.afam-newsletter-btn {
		width: 100%;
	}
}