/*
 * Shared styles for blocks converted from Elementor HTML widgets to native widgets
 * (includes/convert-html-widgets.php). Each converted widget's own CSS is stored with its page
 * and printed only there; this file holds what every converted block needs, plus reusable components.
 */

/* ── Base for every converted block (root container carries .gak-hw) ─────
 * Containers flow as plain blocks so margins collapse exactly as in the original HTML
 * (flex items never collapse margins); Elementor's default container padding/gap are cleared.
 */
.e-con.gak-hw,
.gak-hw .e-con {
	display: block;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
}

/* .elementor-heading-title resets margin/line-height; restore the theme's h-tag values (egovt theme.css). */
.gak-hw h1.elementor-heading-title { line-height: 1.2727272727; margin: 0.696969697em 0 15px; }
.gak-hw h2.elementor-heading-title { line-height: 1.25; margin: 1em 0 15px; }
.gak-hw h3.elementor-heading-title { line-height: 1.2173913043; margin: 1.4347826087em 0 15px; }
.gak-hw h4.elementor-heading-title,
.gak-hw h5.elementor-heading-title,
.gak-hw h6.elementor-heading-title { line-height: 1.1052631579; margin: 1.9473684211em 0 15px; }

/* ── Component: info box ──────────────────────────────────────────────────
 * The central service's look for gak-info-box, reusable on any site: a Container or Text Editor
 * with the classes "gak-ui gak-info-box" (subsites get "gak-ui" from "2. Central style on subsites").
 */
.gak-ui.gak-info-box {
	background: #f4f8ff;
	border-left: 4px solid #143466;
	padding: 18px 20px;
	border-radius: 10px;
	font-size: 16px;
	line-height: 1.8;
	text-align: justify;
}

.gak-ui.gak-info-box .gak-link {
	color: #143466;
	font-weight: 600;
	text-decoration: underline;
}

.gak-ui.gak-info-box .gak-link:hover {
	color: #08377a;
}
