/*
 * Investor - Debentures.
 *
 * Read from cp-all-designer investor/debenture/debenture-information/ and
 * css/investor.css:339-383 (.invbnd, #dbnList) over 617-788 (.invacc) and
 * 1045-1065 (.invlist).
 *
 * The band and the head are the investor parent's, and so is the way a line
 * folds. Every measure a Style control states is stated on the control for
 * each tier, and not here.
 */

/* What a Style control names: each state's own colour. The rules below say which is showing. */
.custom-investor-debentures {
	--custom-debentures-rule: #EEF2F7;
	--custom-debentures-year-ink: #FFFFFF;
	--custom-debentures-year-a: #16418C;
	--custom-debentures-year-b: #3474B2;
	--custom-debentures-ink: #16418C;
	--custom-debentures-odd: #F0F9FD;
	--custom-debentures-even: #FFFFFF;
	--custom-debentures-lit-a: #DCEDF7;
	--custom-debentures-lit-b: #A8D1EA;
	--custom-debentures-table-odd: #FFFFFF;
	--custom-debentures-table-even: #F5F8FC;
	--custom-debentures-table-first: #16418C;
	--custom-debentures-table-ink: #475569;
}

/* investor.css:1045 */
.custom-investor-debentures .custom-investor-debentures__list {
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 0;
	border-top: 2px solid var(--custom-debentures-rule);   /* investor.css:1045 measures 1px */
}

/* investor.css:1048 */
.custom-investor-debentures .custom-investor-debentures__group {
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 0;
	border-bottom: 2px solid var(--custom-debentures-rule);   /* investor.css:1048 measures 1px */
}

.custom-investor-debentures .custom-investor-debentures__group:first-child {
	margin-top: 0;
}

/* investor.css:1049-1053 — the year's head carries the ramp at all times */
.custom-investor-debentures .custom-investor-debentures__year {
	margin: 0;
	background: linear-gradient(90deg, var(--custom-debentures-year-a) 0%, var(--custom-debentures-year-b) 100%);
	color: var(--custom-debentures-year-ink);
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

.custom-investor-debentures .custom-investor-debentures__item,
.custom-investor-debentures .custom-investor-debentures__bonds {
	margin: 0;
	padding: 0;
}

.custom-investor-debentures .custom-investor-debentures__item-head {
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: 0;
	text-transform: none;
}

/* investor.css:628-640, 354-356 — a debenture's line: square, and tinted every other one */
.custom-investor-debentures .custom-investor-debentures__toggle {
	--custom-press-ink: var(--custom-debentures-ink);
	--custom-press-ground: var(--custom-debentures-even);
	--custom-press-edge: transparent;
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	gap: 20px;                             /* investor.css:631 (20.16) */
	margin: 0;
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-investor-debentures .custom-investor-debentures__item:nth-child(odd) .custom-investor-debentures__toggle {
	--custom-press-ground: var(--custom-debentures-odd);
}

.custom-investor-debentures .custom-investor-debentures__toggle:focus-visible {
	outline: 4px solid #50A3D5;            /* investor.css:635 measures 3px */
	outline-offset: 2px;
}

/* investor.css:641-645, 365-368 — the fill: 2995C at a fifth, running to a half */
.custom-investor-debentures .custom-investor-debentures__toggle::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--custom-debentures-lit-a) 0%, var(--custom-debentures-lit-b) 100%);
	opacity: 0;
	transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* investor.css:637, 361 */
.custom-investor-debentures .custom-investor-debentures__name {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	line-height: 1.4;
}

/* investor.css:660-666 */
.custom-investor-debentures .custom-investor-debentures__sign {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	border: 2px solid #EEF2F7;             /* investor.css:663 measures 1px */
	border-radius: 50%;
	background-color: transparent;
	transition: background-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            border-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-investor-debentures .custom-investor-debentures__sign svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* investor.css:654, 668-670, 369 — open: the fill holds, the sign turns over on a white disc */
.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__toggle::before {
	opacity: 1;
}

.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__sign {
	border-color: #FFFFFF;
	background-color: #FFFFFF;
}

.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__sign svg {
	transform: rotate(180deg);
}

/* investor.css:646-651, 370-375 */
@media (hover: hover) {
	.custom-investor-debentures .custom-investor-debentures__toggle:hover::before,
	.custom-investor-debentures .custom-investor-debentures__toggle:focus-visible::before {
		opacity: 1;
	}
	.custom-investor-debentures .custom-investor-debentures__toggle:hover .custom-investor-debentures__sign,
	.custom-investor-debentures .custom-investor-debentures__toggle:focus-visible .custom-investor-debentures__sign {
		border-color: var(--custom-debentures-ink);
		background-color: transparent;
	}
	.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__toggle:hover .custom-investor-debentures__sign,
	.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__toggle:focus-visible .custom-investor-debentures__sign {
		border-color: #FFFFFF;
		background-color: #FFFFFF;
	}
}

@media (hover: none) {
	.custom-investor-debentures .custom-investor-debentures__toggle:active::before {
		opacity: 1;
	}
	.custom-investor-debentures .custom-investor-debentures__toggle:active .custom-investor-debentures__sign {
		border-color: var(--custom-debentures-ink);
		background-color: transparent;
	}
	.custom-investor-debentures .custom-investor-debentures__item.is-open .custom-investor-debentures__toggle:active .custom-investor-debentures__sign {
		border-color: #FFFFFF;
		background-color: #FFFFFF;
	}
}

/* investor.css:341-345 — what is said of a debenture: its label, then its value */
.custom-investor-debentures .custom-investor-debentures__facts {
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-investor-debentures .custom-investor-debentures__fact {
	display: grid;
	grid-template-columns: minmax(180px, 280px) 1fr;
	box-sizing: border-box;
	gap: 4px 24px;
	margin: 0;
	list-style: none;
	letter-spacing: 0;
}

.custom-investor-debentures .custom-investor-debentures__fact-label {
	min-width: 0;
	font-weight: 600;
	line-height: 1.6;                      /* app.css:174 body, which the design leaves it to */
	overflow-wrap: anywhere;               /* a title is the client's: a long one turns a line inside its column */
}

.custom-investor-debentures .custom-investor-debentures__fact-value {
	min-width: 0;
	font-weight: 400;
	line-height: 1.6;
	white-space: pre-line;
	overflow-wrap: anywhere;
}

/* A table of boxes made rows. The design draws none: it takes the facts' measures and colours. */
.custom-investor-debentures .custom-investor-debentures__table-wrap {
	margin: 0;
	padding: 0;
}

.custom-investor-debentures .custom-investor-debentures__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: auto;
	letter-spacing: 0;
}

.custom-investor-debentures .custom-investor-debentures__table-cell {
	min-width: 0;
	border: 0;
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

/*
 * A row of the table stands on the facts' own lines: its first cell in the
 * label's column (investor.css:341, minmax(180px, 280px)), its values sharing
 * what is left, the same gap and the same padding round the row — so a box
 * made a row lines up with the facts above and below it.
 */
@media (min-width: 768px) {
	.custom-investor-debentures .custom-investor-debentures__table tbody {
		display: block;
	}
	.custom-investor-debentures .custom-investor-debentures__table tr {
		display: grid;
		grid-template-columns: minmax(180px, 280px);
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		gap: 4px 24px;
		padding: var(--custom-debentures-cell-top, 14px) var(--custom-debentures-cell-right, 20px) var(--custom-debentures-cell-bottom, 14px) var(--custom-debentures-cell-left, 20px);
	}
	.custom-investor-debentures .custom-investor-debentures__table-cell {
		padding: 0;
	}
}

.custom-investor-debentures .custom-investor-debentures__table-row:nth-child(odd) {
	background-color: var(--custom-debentures-table-odd);
}

.custom-investor-debentures .custom-investor-debentures__table-row:nth-child(even) {
	background-color: var(--custom-debentures-table-even);
}

.custom-investor-debentures .custom-investor-debentures__table-cell {
	background-color: transparent;
	color: var(--custom-debentures-table-ink);
	font-weight: 400;
}

.custom-investor-debentures th.custom-investor-debentures__table-cell {
	color: var(--custom-debentures-table-first);
	font-weight: 600;
}

/* Tablet — 768px to 1024px */
@media (max-width: 1024px) {
	.custom-investor-debentures .custom-investor-debentures__toggle {
		gap: 12px;                         /* investor.css:631 (12.88) */
	}
}

/* Mobile — up to 767px (investor.css:346-349, 978-982) */
@media (max-width: 767px) {
	.custom-investor-debentures .custom-investor-debentures__toggle {
		gap: 10px;
	}
	.custom-investor-debentures .custom-investor-debentures__sign {
		width: 30px;
		height: 30px;
	}
	.custom-investor-debentures .custom-investor-debentures__sign svg {
		width: 18px;
		height: 18px;
	}
	.custom-investor-debentures .custom-investor-debentures__fact {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}
	/* a row of the table reads down: its first cell, then each cell, a line to each */
	.custom-investor-debentures .custom-investor-debentures__table,
	.custom-investor-debentures .custom-investor-debentures__table tbody,
	.custom-investor-debentures .custom-investor-debentures__table-row,
	.custom-investor-debentures .custom-investor-debentures__table-cell {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.custom-investor-debentures .custom-investor-debentures__table-cell {
		padding: var(--custom-debentures-cell-top, 4px) var(--custom-debentures-cell-right, 18px) var(--custom-debentures-cell-bottom, 4px) var(--custom-debentures-cell-left, 18px);
	}
	.custom-investor-debentures .custom-investor-debentures__table-row {
		padding: 8px 0;                    /* with the cells' own 4px, a row stands 12px in, as a fact does */
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-investor-debentures .custom-investor-debentures__toggle,
	.custom-investor-debentures .custom-investor-debentures__toggle::before,
	.custom-investor-debentures .custom-investor-debentures__sign,
	.custom-investor-debentures .custom-investor-debentures__sign svg {
		transition: none;
	}
}

/* ------------------------------------------------------------------ */
/* The section on nested elements: its items, each a container on the page */
/* ------------------------------------------------------------------ */
/* investor.css:354-356 — tinted every other one within its heading: each is the first of its own widget, so the widgets are counted */
.elementor-widget-investor-debentures [data-custom-slot] .elementor-widget:nth-child(odd) .custom-investor-debentures__toggle {
	--custom-press-ground: var(--custom-debentures-odd);
}

.elementor-widget-investor-debentures [data-custom-slot] .elementor-widget:nth-child(even) .custom-investor-debentures__toggle {
	--custom-press-ground: var(--custom-debentures-even);
}
