/* ============================================================
   Pladinum Icon List — pl-icon-list.css
   Scoped under .pil. Uses --pl-* tokens where relevant.
   ============================================================ */

.pil {
	--pil-icon-gap: 12px;
	width: 100%;
}

.pil__title {
	font-family: var(--pl-font-mono, 'IBM Plex Mono', monospace);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6b6b6f;
	margin-bottom: 24px;
}

.pil__items {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* ---------- Base item = icon left of text ---------- */
.pil__item {
	display: flex;
	align-items: flex-start;
	gap: var(--pil-icon-gap);
}

.pil__icon {
	flex: 0 0 auto;
	display: inline-flex;
	font-size: 16px;
	line-height: 1;
	color: #1a7a4c;
	transform: translateY(2px);
}
.pil__icon i   { display: block; }
.pil__icon svg { width: 16px; height: 16px; display: block; fill: currentColor; }

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

.pil__heading {
	font-family: var(--pl-font-sans, 'Inter', sans-serif);
	font-weight: 600;
	font-size: 1rem;
	color: #232222;
	line-height: 1.35;
}
.pil__heading a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

.pil__body {
	font-family: var(--pl-font-sans, 'Inter', sans-serif);
	font-weight: 400;
	font-size: 0.9375rem;
	color: #6b6b6f;
	line-height: 1.5;
	margin-top: 4px;
}
.pil__body a { color: var(--pl-accent, #09825D); }

/* ============================================================
   ICON POSITION MODES
   ============================================================ */

/* Right of text: reverse the row */
.pil--pos-right-text .pil__item {
	flex-direction: row-reverse;
}

/* Top variants: icon stacks above the text */
.pil--pos-top-left .pil__item,
.pil--pos-top-center .pil__item,
.pil--pos-top-right .pil__item {
	flex-direction: column;
}
.pil--pos-top-left .pil__icon   { align-self: flex-start; }
.pil--pos-top-center .pil__item { text-align: center; }
.pil--pos-top-center .pil__icon { align-self: center; }
.pil--pos-top-right .pil__item  { text-align: right; }
.pil--pos-top-right .pil__icon  { align-self: flex-end; }

/* Top variants: reset the icon nudge so it doesn't offset the stack */
.pil--pos-top-left .pil__icon,
.pil--pos-top-center .pil__icon,
.pil--pos-top-right .pil__icon {
	transform: none;
	margin-bottom: var(--pil-icon-gap);
}

/* ============================================================
   SUBHEADING ALIGNMENT (icon beside text only)
   sub-heading : subheading indented under the heading (default,
                 because subheading is inside .pil__text which
                 already sits past the icon).
   sub-icon    : subheading pulled full-left, under the icon.
   ============================================================ */
.pil--sub-icon.pil--pos-left-text .pil__body {
	margin-left: calc(-1 * (1em + var(--pil-icon-gap)));
}
/* keep heading where it is; only the body shifts left under the icon.
   1em approximates the icon width; combined with the gap it lands the
   subheading under the icon rather than under the heading. */

/* ============================================================
   CONTENT ALIGNMENT
   The responsive control sets justify-content on .pil__item and
   text-align on .pil__text / .pil__title (see widget selectors).
   For the icon-beside-text modes, the text block hugs its content
   so justify-content can position the whole icon+text unit.
   ============================================================ */
.pil--pos-left-text .pil__text,
.pil--pos-right-text .pil__text {
	flex: 0 1 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.pil__items { gap: 22px; }
}
@media (max-width: 767px) {
	.pil__items { gap: 20px; }
}

/* ============================================================================
   v1.3.0 — icons-row layout: horizontal icon strip, no text
   ========================================================================= */
.pil.pil--pos-icons-row .pil__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pil.pil--pos-icons-row .pil__item {
  width: auto;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
}
.pil.pil--pos-icons-row .pil__text {
  display: none;
}
.pil.pil--pos-icons-row .pil__icon,
.pil.pil--pos-icons-row .pil__icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pil.pil--pos-icons-row .pil__icon svg,
.pil.pil--pos-icons-row .pil__icon i {
  width: 20px;
  height: 20px;
  font-size: 20px;
}
.pil.pil--pos-icons-row .pil__icon-link {
  transition: opacity 200ms;
}
.pil.pil--pos-icons-row .pil__icon-link:hover {
  opacity: 0.7;
}
