/* ══════════════════════════════════════════════
   CIRCLE GRID BLOCK
   ══════════════════════════════════════════════ */

/* ── SECTION ── */
.cg-section {
	padding: 58px 0;
	overflow: hidden;
}

/* ── HEADER (eyebrow + heading + separator) ── */
.cg-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	margin-bottom: 53px;
}

/* ── EYEBROW ── */
.cg-eyebrow {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	line-height: 19.2px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--clr-primary);
	text-align: center;
	display: block;
}

/* ── HEADING ── */
.cg-heading {
	font-family: var(--font-main);
	font-size: 50px;
	font-weight: 700;
	line-height: 57px;
	letter-spacing: -1.86px;
	color: var(--clr-white);
	text-align: center;
	margin-bottom: 0;
	max-width: 780px;
}

/* ── GRID ROW ── */
.row.cg-grid {
	--bs-gutter-x: 2rem;
	--bs-gutter-y: 3rem;
}

/* ── SINGLE ITEM ── */
.cg-item {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ── CIRCLE IMAGE ── */
.cg-image-wrap {
	width: 102px;
	height: 102px;
	border-radius: 50%;
	border: 2px solid var(--clr-primary);
	overflow: hidden;
	flex-shrink: 0;
}

.cg-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.cg-image-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(3, 207, 255, 0.08);
}

/* ── ITEM TEXT GROUP ── */
.cg-item-text {
	display: flex;
	flex-direction: column;
	gap: 21px;
}

/* ── ITEM TITLE (H3) ── */
.cg-item-title {
	font-family: var(--font-body);
	font-size: 30px;
	font-weight: 700;
	line-height: 28.9px;
	color: var(--clr-primary);
	margin-bottom: 0;
	overflow-wrap: break-word;
}

/* ── ITEM BODY ── */
.cg-item-body {
	font-family: var(--font-body);
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
	color: var(--clr-white);
	word-wrap: break-word;
}

.cg-item-body p {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 30px;
	font-size: 20px;
	font-weight: 300;
}

.cg-item-body strong,
.cg-item-body b {
	font-weight: 800;
}

/* ══════════════════════════════════════════════
   LAYOUT MODIFIERS
   ══════════════════════════════════════════════ */

/* ── Centred grid — last-row items stay centred instead of left-aligning ── */
.row.cg-grid--center {
	justify-content: center;
}

/* ── Centred item — image, title and body all centred ── */
.cg-item--center {
	align-items: center;
}

.cg-item--center .cg-image-wrap {
	margin-left: auto;
	margin-right: auto;
}

.cg-item--center .cg-item-title {
	text-align: center;
}

.cg-item--center .cg-item-body,
.cg-item--center .cg-item-body p {
	text-align: center;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 991.98px) {
	.cg-section { padding: 48px 0; }
	.cg-heading {
		font-size: 40px;
		line-height: 1.1;
		letter-spacing: -1px;
	}
}

@media (max-width: 767.98px) {
	.cg-section { padding: 40px 0; }
	.cg-header { margin-bottom: 40px; gap: 20px; }
	.cg-heading { font-size: 32px; }
	.cg-item { align-items: center; }
	.cg-item-title { font-size: 26px; text-align: center; }
	.cg-item-body { font-size: 18px; text-align: center; }
	.cg-item-body p { text-align: center; }
}

@media (max-width: 575.98px) {
	.cg-section { padding: 32px 0; }
	.cg-heading {
		font-size: 28px;
		letter-spacing: -0.5px;
		line-height: 1.15;
	}
	.cg-item-title { font-size: 26px; }
	.cg-item-body { font-size: 16px; line-height: 26px; }
	.cg-item-body p { line-height: 26px; font-size: 16px; }
}
