/**
 * AAA Online Event card styles.
 *
 * Renders the blue Zoom/Meet/Teams meeting card produced by the
 * [aaa_online_event] shortcode.
 *
 * @package AAA_Templates
 */

.aaa-online-event {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: 'Manrope', 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.aaa-online-event__card {
	display: flex;
	flex-direction: column;
	gap: 48px;
	padding: 20px 16px;
	background: #1685cd;
	border-radius: 10px;
	color: #fff;
	box-sizing: border-box;
}

.aaa-online-event__top {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

/* White date badge on the blue card */
.aaa-online-event__date-badge {
	flex-shrink: 0;
	width: 56px;
	height: 73px;
	background: #fff;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 7px 0;
	gap: 4px;
	box-sizing: border-box;
}

.aaa-online-event__day {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: #1685cd;
}

.aaa-online-event__month {
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: #1685cd;
	text-transform: capitalize;
}

.aaa-online-event__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Date + time line — primary text */
.aaa-online-event__datetime {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.27;
	color: #fff;
}

/* Event title — secondary */
.aaa-online-event__title {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.33;
	color: rgba(255, 255, 255, 0.85);
}

/* Host row */
.aaa-online-event__host {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
}

.aaa-online-event__host-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	background: rgba(255, 255, 255, 0.25);
	display: block;
	flex-shrink: 0;
}

.aaa-online-event__host-avatar--placeholder {
	background: rgba(255, 255, 255, 0.25);
}

.aaa-online-event__host-name {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.33;
	color: #fff;
}

/* Action row (two equal-width buttons) */
.aaa-online-event__actions {
	display: flex;
	gap: 12px;
}

.aaa-online-event__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 16px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.27;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aaa-online-event__btn--primary {
	background: #bf1d2d;
	color: #fff;
	border: 1px solid #bf1d2d;
}

.aaa-online-event__btn--primary:hover {
	background: #a0171f;
	border-color: #a0171f;
	color: #fff;
}

.aaa-online-event__btn--secondary {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.aaa-online-event__btn--secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Buttons stack vertically when the card is narrow */
@media (max-width: 520px) {
	.aaa-online-event__actions {
		flex-direction: column;
	}
}
