/**
 * Farm Location Map widget styles.
 *
 * Purpose: Port of style.css "Map Card" (L1164–1177: rounded card, 320px iframe) plus the
 *          click-to-load placeholder and the "Buka di Google Maps" footer link (PRD additions).
 * Dependencies: assets/css/base.css (.acfarm_media_play).
 * Consumers: Widget acfarm_map.
 * Since: 0.1.0 Initial introduction; see CHANGELOG.md.
 */

.acfarm_map_card {
	border-radius: var(--acfarm_radius_card);
	overflow: hidden;
	border: 1px solid var(--acfarm_color_line);
	background: var(--acfarm_color_paper);
	box-shadow: var(--acfarm_shadow_sm);
}

.acfarm_map_frame {
	height: 320px;
	position: relative;
}

.acfarm_map_frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}

.acfarm_map_placeholder {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--acfarm_color_sand_light);
	text-align: center;
	padding: 16px;
}

.acfarm_map_consent {
	font-size: 0.8rem;
	color: var(--acfarm_color_muted);
}

.acfarm_map_footer {
	padding: 14px 20px;
	border-top: 1px solid var(--acfarm_color_line);
}

.acfarm_map_link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--acfarm_color_blue);
}

.acfarm_map_link:hover {
	text-decoration: underline;
}
