/**
 * TWB Footer Contact Widget — CSS
 *
 * Chỉ chứa structural styles (flexbox layout, icon sizing, transition).
 * Màu sắc, font, spacing đều được Elementor Selectors override trực tiếp
 * qua {{WRAPPER}} → không cần !important, không xung đột theme.
 *
 * @package TrustWeb_Builder
 * @since   3.3.1
 */

/* ── Wrapper ─────────────────────────────────────────────────── */

.twb-fc-wrap {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.6;
}

.twb-fc-list {
	flex-direction: column;
	row-gap: 12px; /* default — bị override bởi Elementor selector */
}

.twb-fc-horizontal {
	flex-direction: row;
	gap: 12px;       /* default — bị override */
	align-items: flex-start;
}

/* ── Item ────────────────────────────────────────────────────── */

.twb-fc-item {
	display: flex;
	align-items: flex-start; /* default — Elementor selector override */
	gap: 10px;               /* default — Elementor selector override */
	min-width: 0;            /* cho phép text wrap trong flex child */
}

/* ── Icon ────────────────────────────────────────────────────── */

.twb-fc-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;      /* default — Elementor selector override */
	height: 18px;
	min-width: 18px;
	line-height: 1;
	/* color + fill được set bởi Elementor selector (currentColor pattern) */
	transition: color 0.2s ease, background-color 0.2s ease;
}

.twb-fc-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	/* fill="currentColor" trong SVG → kế thừa color từ .twb-fc-icon */
}

/* Icon fonts (Elementor Icons / Font Awesome) */
.twb-fc-icon i,
.twb-fc-icon .eicon {
	display: block;
	line-height: 1;
}

/* ── Content ─────────────────────────────────────────────────── */

.twb-fc-content {
	flex: 1 1 auto;
	min-width: 0;
	word-break: break-word;
}

.twb-fc-label {
	font-weight: 600;
	/* color được set bởi Elementor selector */
}

.twb-fc-value {
	/* color được set bởi Elementor selector */
}

.twb-fc-link {
	text-decoration: none; /* default — Elementor selector override */
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

/* ── Responsive: horizontal → dọc khi màn hình nhỏ ─────────── */

@media (max-width: 767px) {
	.twb-fc-horizontal {
		flex-direction: column;
	}
}
