/* TRC IR Documents — year anchor bar + year accordions + download list.
   Brand tokens from the live site: DM Sans (inherited), green #009165, maroon #7F0C07. */

.trc-ir {
	max-width: 1180px;
	margin: 0 auto;
}

/* ---- Year anchor bar ---- */
.trc-ir-years {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	padding: 0 4px 10px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 28px;
}

.trc-ir-years__link {
	padding: 6px 12px;
	color: #888;
	text-decoration: none;
	font-size: 1.05rem;
	border-radius: 4px;
	transition: color 0.15s ease, background 0.15s ease;
}

.trc-ir-years__link:hover,
.trc-ir-years__link.is-active {
	color: #009165;
	font-weight: 700;
}

/* ---- Year accordion ---- */
.trc-ir-year {
	margin-bottom: 18px;
	scroll-margin-top: 90px; /* so anchor jumps clear a sticky header */
}

.trc-ir-year__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 16px 6px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #e2e2e2;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	color: #1a1a1a; /* explicit — theme buttons default to white text */
	text-align: left;
}

/* Neutralise the theme's <button> hover (it paints the bar green). */
.trc-ir-year__head:hover,
.trc-ir-year__head:focus,
.trc-ir-year__head:active {
	background: transparent;
	color: #1a1a1a;
	box-shadow: none;
	outline: none;
}

.trc-ir-year__head:hover .trc-ir-year__label {
	color: #009165; /* subtle brand accent on hover, still visible */
}

.trc-ir-year__label {
	color: inherit;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

/* +/- toggle circle */
.trc-ir-year__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #ccc;
	position: relative;
}

.trc-ir-year__icon::before,
.trc-ir-year__icon::after {
	content: "";
	position: absolute;
	background: #333;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.trc-ir-year__icon::before { /* horizontal bar (always present) */
	width: 14px;
	height: 2px;
}

.trc-ir-year__icon::after { /* vertical bar — hidden when open => minus */
	width: 2px;
	height: 14px;
}

.trc-ir-year__head[aria-expanded="true"] .trc-ir-year__icon {
	background: #222;
	border-color: #222;
}

.trc-ir-year__head[aria-expanded="true"] .trc-ir-year__icon::before {
	background: #fff;
}

.trc-ir-year__head[aria-expanded="true"] .trc-ir-year__icon::after {
	display: none; /* minus */
}

.trc-ir-year__panel {
	padding-top: 6px;
}

/* ---- Document rows ---- */
.trc-ir-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trc-ir-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 18px 4px;
	border-bottom: 1px solid #eee;
}

.trc-ir-item__main {
	flex: 1 1 320px;
	color: #555;
}

.trc-ir-item__date {
	color: #999;
	margin-right: 6px;
}

.trc-ir-item__title {
	color: #444;
}

.trc-ir-item__dl {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.trc-ir-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	padding: 9px 16px;
	border-radius: 999px;
	background: #009165;
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
}

.trc-ir-btn:hover {
	background: #00734f;
}

.trc-ir-btn--alt {
	background: #1f9d72;
}

.trc-ir-empty {
	text-align: center;
	color: #777;
}
