/* Base styles for the ACF callout block */
.tmdr-acf-callout-block {
	display: flex;
	align-items: flex-start; /* Align icon and text at the top */
	gap: 1em; /* Space between icon and text */
	padding: 20px;
	border-radius: 8px;
	font-family: 'Inter', sans-serif; /* Using Inter font */
	margin-bottom: 20px;
	line-height: 1.4;
}

/* Icon styling */
.tmdr-acf-callout-block .tmdr-acf-callout-icon {
	flex-shrink: 0; /* Prevent icon from shrinking */
	width: 1.4em; /* Fixed width for the icon container */
	height: 1.5em; /* Fixed height for the icon container */
	display: flex;
	align-items: center;
	justify-content: center;
}

.tmdr-acf-callout-block .tmdr-acf-callout-icon svg {
	width: 100%; /* Make SVG fill its container */
	height: 100%;
	fill: currentColor; /* Inherit color from parent (text color) */
}

/* Fallback dashicon styling */
.tmdr-acf-callout-block .tmdr-acf-callout-icon .dashicons {
	font-size: 30px;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	color: currentColor; /* Inherit color */
}

/* Message text styling */
.tmdr-acf-callout-block .tmdr-acf-callout-message {
	flex-grow: 1; /* Allow text to take remaining space */
	font-size: 1.1em;
	font-weight: 500;
	margin: 0; /* Remove default paragraph margin */
	padding: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.tmdr-acf-callout-block {
		/* align-items: center; */
		gap: 10px;
		padding: 15px;
	}

	.tmdr-acf-callout-block .tmdr-acf-callout-icon {
		margin-bottom: 5px;
	}
}
