/* ============================================================
   Immigence — About Owner Widget  (about-owner-widget.css)
   Add this to your widgets-style.css or enqueue separately.
   Uses same CSS vars as the main theme.
   ============================================================ */

/* Section wrapper */
.imm-about-owner-section {
	padding: 5rem 2rem;
	background: var(--cream, #FAFAF5);
}

.imm-ao-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 5rem;
	align-items: center;
}

/* ── LEFT: TEXT ──────────────────────────────────────────── */

.imm-ao-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gold, #C8983C);
	border-bottom: 2px solid var(--gold, #C8983C);
	padding-bottom: 0.25rem;
	margin-bottom: 0.85rem;
}

.imm-ao-heading {
	font-family: var(--font-display, 'Libre Baskerville', Georgia, serif);
	font-size: 2.4rem;
	line-height: 1.3;
	color: var(--navy, #0B1D3A);
	margin-bottom: 1.25rem;
}

.imm-ao-body {
	font-size: 1rem;
	color: var(--slate, #4A5568);
	line-height: 1.75;
	margin-bottom: 1.75rem;
}

.imm-ao-body p { margin: 0; }

/* Credential bullet list */
.imm-ao-points {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.imm-ao-points li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.93rem;
	font-weight: 500;
	color: var(--navy, #0B1D3A);
}

.imm-ao-points li svg {
	width: 18px;
	height: 18px;
	fill: var(--gold, #C8983C);
	flex-shrink: 0;
}

/* CTA Button */
.imm-ao-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--gold, #C8983C);
	color: var(--navy, #0B1D3A);
	padding: 0.85rem 1.75rem;
	border-radius: 4px;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 2px solid var(--gold, #C8983C);
	transition: all 0.3s ease;
}

.imm-ao-cta svg {
	width: 17px;
	height: 17px;
	fill: var(--navy, #0B1D3A);
	transition: fill 0.3s ease;
}

.imm-ao-cta:hover {
	background: transparent;
	color: var(--gold, #C8983C);
}

.imm-ao-cta:hover svg {
	fill: var(--gold, #C8983C);
}

/* ── RIGHT: PHOTO ────────────────────────────────────────── */

.imm-ao-photo-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.imm-ao-photo-wrap {
	position: relative;
	width: 100%;
	max-width: 380px;
}

/* Decorative gold border accent behind photo */
.imm-ao-photo-wrap::before {
	content: '';
	position: absolute;
	top: 14px;
	left: 14px;
	right: -14px;
	bottom: -14px;
	border: 2px solid var(--gold, #C8983C);
	border-radius: 10px;
	opacity: 0.3;
	z-index: 0;
	pointer-events: none;
}

.imm-ao-photo {
	position: relative;
	z-index: 1;
	width: 100%;
	display: block;
	border-radius: 8px;
	border: 3px solid rgba(200, 152, 60, 0.45);
	box-shadow: 0 24px 56px rgba(11, 29, 58, 0.22);
	object-fit: cover;
	aspect-ratio: 3 / 4;
}

/* Placeholder when no photo */
.imm-ao-photo-placeholder {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 8px;
	background: var(--navy-light, #132B52);
	border: 3px solid rgba(200, 152, 60, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
}

.imm-ao-photo-placeholder svg {
	width: 80px;
	height: 80px;
	fill: rgba(200, 152, 60, 0.4);
}

/* Name card — bottom overlay */
.imm-ao-namecard {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(11, 29, 58, 0.92) 0%, rgba(11, 29, 58, 0.6) 60%, transparent 100%);
	padding: 2rem 1.25rem 1rem;
	border-radius: 0 0 6px 6px;
}

.imm-ao-namecard-name {
	font-family: var(--font-display, 'Libre Baskerville', Georgia, serif);
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.imm-ao-namecard-title {
	font-size: 0.78rem;
	color: var(--gold, #C8983C);
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-top: 0.2rem;
	text-transform: uppercase;
}

/* Floating CICC badge — top-right corner */
.imm-ao-badge {
	position: absolute;
	z-index: 3;
	top: -12px;
	right: -12px;
	background: var(--white, #fff);
	color: var(--navy, #0B1D3A);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.45rem 0.7rem;
	border-radius: 6px;
	border-left: 3px solid var(--red-maple, #C1272D);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	display: flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 160px;
	line-height: 1.3;
}

.imm-ao-badge svg {
	width: 14px;
	height: 14px;
	fill: var(--red-maple, #C1272D);
	flex-shrink: 0;
}

/* CICC verify row below photo */
.imm-ao-cicc-row {
	text-align: center;
}

.imm-ao-cicc-row img {
	height: 48px;
	width: auto;
}

.imm-ao-verify-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--gold, #C8983C);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}

.imm-ao-verify-link:hover {
	border-bottom-color: var(--gold, #C8983C);
}

.imm-ao-verify-link svg {
	width: 13px;
	height: 13px;
	fill: var(--gold, #C8983C);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
	.imm-ao-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.imm-ao-heading {
		font-size: 1.9rem;
	}

	.imm-ao-photo-col {
		order: -1; /* photo appears on top on mobile */
	}

	.imm-ao-photo-wrap {
		max-width: 300px;
		margin: 0 auto;
	}
}