/* ==========================================================================
   Industries Grid widget  (Figma: Industries Hub · "Seven industries")
   ========================================================================== */

.av-ind-section {
	background: #f2f2f2;
	/* Same gutter as the site's Elementor container (aligns with header logo/hamburger). */
	padding: 80px max(15px, calc((100% - 1570px) / 2));
}

/* ---- Section head -------------------------------------------------------- */
.av-ind-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0 auto 42px;
}
.av-ind-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 16px;
}
.av-ind-eyebrow::before {
	content: "";
	display: block;
	width: 26px;
	height: 2px;
	background: #13a8c8;
}
.av-ind-eyebrow span {
	font-family: "Outfit", "Poppins", sans-serif;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 1.1px;
	line-height: 19px;
	text-transform: uppercase;
	color: #13a8c8;
}
.av-ind-title {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 50px;
	letter-spacing: -0.3px;
	color: #202f60;
	margin: 0;
}
.av-ind-subtitle {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 16.5px;
	line-height: 29px;
	color: #555;
	max-width: 720px;
	margin: 14px auto 0;
}

/* ---- Grid ---------------------------------------------------------------- */
.av-ind-grid {
	--av-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--av-cols), 1fr);
	gap: 24px;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

/* ---- Card ---------------------------------------------------------------- */
.av-ind-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e6ec;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 10px 28px -4px rgba(15, 31, 77, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.av-ind-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -6px rgba(15, 31, 77, 0.16);
}

.av-ind-photo {
	position: relative;
	display: block;
	height: 300px;
	overflow: hidden;
}
.av-ind-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.av-ind-card:hover .av-ind-photo img {
	transform: scale(1.05);
}
.av-ind-photo--empty {
	background: linear-gradient(135deg, #dfe4ec, #eef1f6);
}

/* Accelerator pill (top-left) */
.av-ind-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	background: #fff;
	border-radius: 100px;
	box-shadow: 0 4px 12px rgba(15, 31, 77, 0.15);
	font-family: "Outfit", "Poppins", sans-serif;
	font-weight: 600;
	font-size: 11.5px;
	line-height: 15px;
	color: #2655a9;
	white-space: nowrap;
}

.av-ind-body {
	display: flex;
	flex-direction: column;
	flex: 1 0 0;
	padding: 24px 26px;
}
.av-ind-name {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 27px;
	letter-spacing: -0.2px;
	color: #202f60;
	margin: 0;
}
.av-ind-name a {
	color: inherit;
	text-decoration: none;
}
.av-ind-desc {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-size: 14.5px;
	line-height: 24px;
	color: #555;
	margin: 8px 0 0;
	flex: 1 0 0;
}
.av-ind-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 14px;
	font-family: "Outfit", "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 21px;
	color: #2655a9;
	text-decoration: none;
	white-space: nowrap;
}
.av-ind-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}
.av-ind-link:hover svg {
	transform: translateX(4px);
}

/* ---- Responsive (breakpoints match the theme) ----------------------------
   NOTE: the widget prints the column count as an inline style (--av-cols),
   so these overrides need !important to win over it. */
@media (max-width: 1199px) {
	.av-ind-grid { --av-cols: 3 !important; }
	.av-ind-section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 991px) {
	.av-ind-grid { --av-cols: 2 !important; }
	.av-ind-title { font-size: 30px; line-height: 40px; }
}
@media (max-width: 767px) {
	.av-ind-section { padding-top: 52px; padding-bottom: 52px; }
	.av-ind-title { font-size: 26px; line-height: 34px; }
	.av-ind-photo { height: 220px; }
}
@media (max-width: 575px) {
	.av-ind-grid { --av-cols: 1 !important; }
	.av-ind-title { font-size: 25px; line-height: 33px; }
	.av-ind-photo { height: 200px; }
}

/* Override Elementor kit-7 bare h1-h6 / a typography (specificity .av-ind-section .x = 0,2,0). */
.av-ind-section .av-ind-title    { font-family:"Poppins",sans-serif; font-weight:700; font-size:40px; line-height:50px; color:#202f60; }
.av-ind-section .av-ind-name     { font-family:"Poppins",sans-serif; font-weight:700; font-size:20px; line-height:27px; color:#202f60; }
.av-ind-section .av-ind-name a   { font-size:inherit; line-height:inherit; color:inherit; }
.av-ind-section .av-ind-link     { font-size:15px; line-height:21px; color:#2655a9; }
@media (max-width:991px){ .av-ind-section .av-ind-title{ font-size:30px; line-height:40px; } }
@media (max-width:575px){ .av-ind-section .av-ind-title{ font-size:25px; line-height:33px; } }
