/**
 * Callout Component
 *
 * Left-border accent block for highlighting key information.
 * Used for local context, guarantees, important notes, pull quotes.
 *
 * Classes:
 *   .callout          - Main callout container
 *   .callout--subtle  - Lighter variant (gray border, no background)
 */

/* ==========================================================================
   Callout Base
   ========================================================================== */

.callout {
	position: relative;
	padding: 1.5rem 1.5rem 1.5rem 1.25rem;
	background: #faf9f9;
	border-left: 4px solid var(--wp--preset--color--primary);
	border-radius: 0 0 8px 0;
}

/* Top-left notch accent */
.callout::before {
	content: '';
	position: absolute;
	top: 0;
	left: -4px;
	width: 12px;
	height: 12px;
	background: var(--wp--preset--color--primary);
}

/* ==========================================================================
   Callout Content
   ========================================================================== */

.callout p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--wp--preset--color--text);
}

.callout p + p {
	margin-top: 1rem;
}

/* Strong text within callout */
.callout strong {
	color: var(--wp--preset--color--contrast);
}

/* ==========================================================================
   Subtle Variant
   ========================================================================== */

.callout--subtle {
	background: transparent;
	border-left-color: var(--wp--preset--color--border);
}

.callout--subtle::before {
	background: var(--wp--preset--color--border);
}

/* ==========================================================================
   Icon Variants
   ========================================================================== */

.callout--local,
.callout--guarantee,
.callout--info {
	padding-left: 2.5rem;
}

.callout--local::before,
.callout--guarantee::before,
.callout--info::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 14px;
	color: var(--wp--preset--color--base);
	border-radius: 4px;
	top: 1rem;
	left: -4px;
}

.callout--local::before {
	content: '⌂';
}

.callout--guarantee::before {
	content: '✓';
}

.callout--info::before {
	content: 'i';
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
}

/* ==========================================================================
   Mobile Styles
   ========================================================================== */

@media (max-width: 767px) {
	.callout {
		padding: 1.25rem 1.25rem 1.25rem 1rem;
	}

	.callout::before {
		width: 10px;
		height: 10px;
	}

	.callout p {
		font-size: 0.9375rem;
		line-height: 1.65;
	}
}
