/* ==========================================================================
   GEMTech Callout with Icons

   .gemtech-callout (--columns | --rows)
     └ .__item            icon beside text
         ├ .__icon
         └ .__content
             ├ .__title
             └ .__text

   Columns shares the width between --gtc-columns callouts (set per device by the
   Columns control); Rows is a single column. Everything else (gaps, icon size
   and position, colours, type) comes from the widget's controls.
   ========================================================================== */

.gemtech-callout {
	--gtc-columns: 3;

	display: grid;
	grid-template-columns: repeat(var(--gtc-columns), minmax(0, 1fr));
	column-gap: 32px;   /* defaults; overridden per-widget via Elementor */
	row-gap: 32px;
	width: 100%;
}

.gemtech-callout--rows {
	grid-template-columns: minmax(0, 1fr);
}

.gemtech-callout__item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	box-sizing: border-box;
}

/* The icon: a font icon takes its size from font-size, an SVG from width and height. */
.gemtech-callout__icon {
	--gtc-icon-size: 64px;

	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--gtc-icon-size);
	line-height: 1;
}

.gemtech-callout__icon i,
.gemtech-callout__icon svg {
	display: block;
	width: var(--gtc-icon-size);
	height: var(--gtc-icon-size);
	font-size: var(--gtc-icon-size);
	line-height: 1;
}

.gemtech-callout__icon i {
	width: auto;
	height: auto;
}

.gemtech-callout__content {
	flex: 1 1 auto;
	min-width: 0;
}

.gemtech-callout__title {
	margin: 0 0 6px;
}

.gemtech-callout__title a {
	color: inherit;
	text-decoration: none;
}

.gemtech-callout__text {
	margin: 0;
}
