/* ALAS Business Card Widget — Frontend CSS */

.alas-card-wrapper {
	display: flex;
	width: 100%;
}

.alas-card {
	width: 100%;
	background: #1a1714;
	border: 1px solid #2c2823;
	border-radius: 18px;
	overflow: hidden;
}

/* TWO COLUMN LAYOUT */
.alas-card.layout-two-col {
	display: grid;
	grid-template-columns: 40% 1fr;
}

/* ONE COLUMN LAYOUT */
.alas-card.layout-one-col {
	display: flex;
	flex-direction: column;
}

/* ── PHOTO COLUMN ── */
.alas-photo-col {
	position: relative;
	overflow: hidden;
	background: #111;
	min-height: 500px;
}

.alas-card.layout-one-col .alas-photo-col {
	min-height: 0;
	height: 55vw;
	max-height: 420px;
}

.alas-photo-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	filter: brightness(0.95) contrast(1.03);
}

.alas-photo-fade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.layout-two-col .alas-photo-fade {
	background: linear-gradient(to right, transparent 55%, #1a1714 100%);
}

.layout-one-col .alas-photo-fade {
	background: linear-gradient(to bottom, transparent 50%, #1a1714 100%);
}

/* ── BADGE ── */
.alas-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(15, 13, 11, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 20px;
	padding: 5px 11px 5px 8px;
	font-size: 10px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	font-family: 'Inter', sans-serif;
}

.alas-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e8520a;
	box-shadow: 0 0 7px rgba(232, 82, 10, 0.6);
	flex-shrink: 0;
}

/* ── INFO COLUMN ── */
.alas-info-col {
	padding: 32px 32px 28px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.alas-info-col::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #e8520a;
	border-radius: 0 18px 0 0;
}

.layout-one-col .alas-info-col::before {
	border-radius: 0;
}

/* ── TOP BAR ── */
.alas-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-top: 6px;
}

.alas-topbar-left {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ── LOGO ── */
.alas-logo-wrap {
	margin-bottom: 8px;
	display: flex;
	align-items: center;
}

.alas-logo-img {
	width: 80px;
	height: auto;
	display: block;
	object-fit: contain;
}

.alas-logo-svg {
	max-width: 100%;
}

/* ── BRAND / MONOGRAM ── */
.alas-brand {
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.28);
	font-weight: 400;
	font-family: 'Inter', sans-serif;
}

.alas-monogram {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-size: 18px;
	color: #e8520a;
	letter-spacing: 0.05em;
}

/* ── NAME ── */
.alas-name-block {
	margin-bottom: 10px;
}

.alas-name {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(38px, 4.8vw, 54px);
	font-weight: 500;
	line-height: 0.9;
	color: #f0ebe4;
	letter-spacing: -0.01em;
	margin: 0;
}

.alas-name em {
	font-style: italic;
	color: #e8520a;
	display: block;
	margin-top: 3px;
}

/* ── ROLE ── */
.alas-role {
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.35);
	margin-bottom: 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	font-family: 'Inter', sans-serif;
}

/* ── CONTACTS ── */
.alas-contacts {
	flex: 1;
	margin-bottom: 24px;
}

.alas-c-row {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 12px 10px;
	margin: 0 -10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.055);
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease;
}

.alas-c-row:last-child {
	border-bottom: none;
}

.alas-c-row:hover {
	background: rgba(232, 82, 10, 0.07);
}

.alas-c-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(232, 82, 10, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.alas-c-icon svg {
	width: 15px;
	height: 15px;
	stroke: #e8520a;
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.alas-c-meta {
	flex: 1;
	min-width: 0;
}

.alas-c-lbl {
	font-size: 9px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.27);
	margin-bottom: 2px;
	font-family: 'Inter', sans-serif;
}

.alas-c-val {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.82);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-family: 'Inter', sans-serif;
}

.alas-c-arr {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.16);
	flex-shrink: 0;
}

/* ── FOOTER ── */
.alas-footer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.alas-btn-save {
	flex: 1;
	background: transparent;
	border: 1px solid rgba(232, 82, 10, 0.5);
	color: #e8520a;
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 12px 16px;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.18s ease;
}

.alas-btn-save:hover {
	background: #e8520a;
	color: #fff;
	border-color: #e8520a;
}

.alas-btn-share {
	width: 42px;
	height: 42px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.18s ease;
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.32);
}

.alas-btn-share:hover {
	border-color: rgba(255, 255, 255, 0.28);
	color: rgba(255, 255, 255, 0.72);
}

.alas-footer-meta {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.18);
	line-height: 1.8;
	text-align: right;
	flex-shrink: 0;
	font-family: 'Inter', sans-serif;
}

/* ── TOAST ── */
.alas-toast {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #1c1815;
	border-left: 2px solid #e8520a;
	padding: 10px 18px;
	font-size: 12px;
	font-family: 'Inter', sans-serif;
	color: rgba(255, 255, 255, 0.78);
	border-radius: 4px;
	opacity: 0;
	transform: translateY(8px);
	transition: all 0.28s ease;
	pointer-events: none;
	z-index: 99999;
	letter-spacing: 0.04em;
}

.alas-toast.alas-toast-show {
	opacity: 1;
	transform: translateY(0);
}

/* ── RESPONSIVE — Tablet (768px) ── */
@media (max-width: 768px) {
	.alas-card.layout-two-col {
		grid-template-columns: 38% 1fr;
	}

	.alas-info-col {
		padding: 24px 24px 22px 20px;
	}

	.alas-name {
		font-size: clamp(32px, 8vw, 46px);
	}
}

/* ── RESPONSIVE — Mobile (600px) ── */
@media (max-width: 600px) {
	.alas-card.layout-two-col,
	.alas-card.layout-one-col {
		display: flex;
		flex-direction: column;
		border-radius: 14px;
	}

	.alas-photo-col {
		min-height: 0 !important;
		height: 72vw;
		max-height: 320px;
	}

	.layout-two-col .alas-photo-fade {
		background: linear-gradient(to bottom, transparent 50%, #1a1714 100%);
	}

	.alas-info-col {
		padding: 22px 20px 20px 20px;
	}

	.alas-info-col::before {
		border-radius: 0;
	}

	.alas-name {
		font-size: clamp(34px, 10vw, 48px);
	}

	.alas-topbar {
		margin-bottom: 16px;
	}

	.alas-contacts {
		margin-bottom: 16px;
	}

	.alas-c-row {
		padding: 10px 8px;
		margin: 0 -8px;
	}

	.alas-footer {
		gap: 8px;
	}
}

@media (max-width: 360px) {
	.alas-name {
		font-size: 32px;
	}

	.alas-info-col {
		padding: 18px 16px;
	}

	.alas-c-val {
		font-size: 12.5px;
	}
}
