/*
 * HTA Core — dynamic module styles
 * Cards, grids, filters, timeline, counters and the opportunities board.
 *
 * Tokens come from the hta-child theme; every var() carries a literal
 * fallback so these modules still render correctly on their own.
 */

/* ------------------------------------------------------------------ *
 * Layout primitives
 * ------------------------------------------------------------------ */

.hta-grid {
	display: grid;
	gap: clamp(20px, 2.2vw, 30px);
	grid-template-columns: repeat(var(--hta-cols, 3), minmax(0, 1fr));
}

.hta-grid--2 { --hta-cols: 2; }
.hta-grid--3 { --hta-cols: 3; }
.hta-grid--4 { --hta-cols: 4; }

@media (max-width: 1100px) {
	.hta-grid--3,
	.hta-grid--4 { --hta-cols: 2; }
}

@media (max-width: 767px) {
	.hta-grid { --hta-cols: 1 !important; gap: 20px; }
}

/* ------------------------------------------------------------------ *
 * Card shell
 * ------------------------------------------------------------------ */

.hta-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--hta-white, #fff);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius, 10px);
	overflow: hidden;
	box-shadow: var(--hta-shadow, 0 1px 2px rgba(23,32,42,.04), 0 8px 24px -12px rgba(23,32,42,.16));
	transition: transform .45s cubic-bezier(.2, .8, .2, 1),
	            box-shadow .45s cubic-bezier(.2, .8, .2, 1),
	            border-color .45s ease;
}

.hta-card:hover,
.hta-card:focus-within {
	transform: translateY(-6px);
	border-color: rgba(7, 59, 117, .28);
	box-shadow: var(--hta-shadow-hi, 0 2px 6px rgba(23,32,42,.06), 0 22px 44px -18px rgba(23,32,42,.26));
}

.hta-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--hta-light-grey, #f2f4f5);
}

.hta-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.hta-card:hover .hta-card__media img { transform: scale(1.03); }

.hta-card__placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--hta-navy, #073b75) 0%, var(--hta-teal, #078a96) 100%);
	opacity: .92;
}

/* Date chip on event cards */
.hta-card__datechip {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 62px;
	padding: 9px 11px;
	border-radius: var(--hta-radius-sm, 6px);
	background: var(--hta-gold, #FEEC59);
	color: var(--hta-text, #171717);
	line-height: 1;
	box-shadow: 0 6px 18px -8px rgba(23, 32, 42, .6);
}

.hta-card__day {
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: 24px;
	font-weight: 600;
}

.hta-card__mon {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-top: 4px;
}

.hta-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(20px, 1.9vw, 26px);
	flex: 1 1 auto;
}

/* Eyebrow / meta line */
.hta-card__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hta-navy, #073b75);
}

.hta-card__eyebrow .hta-card__loc,
.hta-card__eyebrow time {
	color: var(--hta-muted, #667085);
	font-weight: 600;
}

.hta-card__eyebrow > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 10px;
	vertical-align: middle;
	border-radius: 50%;
	background: currentColor;
	opacity: .5;
}

.hta-card__title {
	margin: 0;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: clamp(20px, 1.5vw, 24px);
	line-height: 1.22;
	font-weight: 600;
	color: var(--hta-text, #171717);
}

.hta-card__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .4s cubic-bezier(.2, .8, .2, 1), color .3s ease;
}

.hta-card:hover .hta-card__title a,
.hta-card__title a:focus-visible {
	background-size: 100% 1px;
	color: var(--hta-navy, #073b75);
}

.hta-card__meta,
.hta-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--hta-muted, #667085);
}

.hta-dot { margin: 0 6px; opacity: .6; }

.hta-card__presenter {
	margin: -2px 0 0;
	font-size: 14px;
	font-style: italic;
	color: var(--hta-muted, #667085);
}

/*
 * Labelled DATE / TIME / COST block, following the PIA reference. Labels sit
 * in a narrow fixed column so values line up down the card.
 */
.hta-event-meta {
	margin: 6px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--hta-line, #e3e7ea);
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 14.5px;
}

.hta-event-meta__row {
	display: grid;
	grid-template-columns: 78px 1fr;
	gap: 12px;
	align-items: baseline;
}

.hta-event-meta dt {
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--hta-muted, #667085);
}

.hta-event-meta dd {
	margin: 0;
	color: var(--hta-text, #171717);
	font-weight: 500;
}

.hta-event-meta__row--cost dd {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
}

.hta-cost { display: inline-flex; align-items: baseline; gap: 7px; }

.hta-cost__who {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hta-green, #268a35);
}

.hta-cost__val { font-weight: 600; color: var(--hta-text, #171717); }

@media (max-width: 400px) {
	.hta-event-meta__row { grid-template-columns: 64px 1fr; gap: 10px; }
	.hta-event-meta__row--cost dd { flex-direction: column; gap: 4px; }
}

.hta-card__body > .hta-link,
.hta-card__body > .hta-btn {
	margin-top: auto;
	padding-top: 8px;
	align-self: flex-start;
}

/* ------------------------------------------------------------------ *
 * Links and buttons
 * ------------------------------------------------------------------ */

.hta-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--hta-navy, #073b75);
	transition: color .3s ease;
}

.hta-link:hover,
.hta-link:focus-visible { color: var(--hta-green, #268a35); }

.hta-link--muted { color: var(--hta-muted, #667085); opacity: .7; }

.hta-arrow { display: inline-block; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }

.hta-link:hover .hta-arrow,
.hta-card:hover .hta-arrow,
.hta-btn:hover .hta-arrow { transform: translateX(6px); }

.hta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: var(--hta-radius-sm, 6px);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s ease, color .3s ease,
	            border-color .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.hta-btn:hover { transform: translateY(-2px); }

.hta-btn--sm { padding: 9px 16px; font-size: 12px; }

.hta-btn--primary {
	background: var(--hta-green-btn, #23802f);
	border-color: var(--hta-green-btn, #23802f);
	color: #fff;
}

.hta-btn--primary:hover,
.hta-btn--primary:focus-visible {
	background: var(--hta-green-dk, #1e6e2a);
	border-color: var(--hta-green-dk, #1e6e2a);
	color: #fff;
}

.hta-btn--ghost {
	background: transparent;
	border-color: var(--hta-line, #d7dde1);
	color: var(--hta-navy, #073b75);
}

.hta-btn--ghost:hover,
.hta-btn--ghost:focus-visible {
	border-color: var(--hta-navy, #073b75);
	background: var(--hta-navy, #073b75);
	color: #fff;
}

/* ------------------------------------------------------------------ *
 * Member directory
 * ------------------------------------------------------------------ */

.hta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 34px;
}

.hta-chip {
	appearance: none;
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: 100px;
	background: var(--hta-white, #fff);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-decoration: none;
	white-space: nowrap;
	color: var(--hta-muted, #667085);
	cursor: pointer;
	transition: all .3s ease;
}

.hta-chip:hover,
.hta-chip:focus-visible {
	border-color: var(--hta-green, #268a35);
	color: var(--hta-green-dk, #1e6e2a);
}

.hta-chip.is-active {
	background: var(--hta-green-btn, #23802f);
	border-color: var(--hta-green-btn, #23802f);
	color: #fff;
}

/* On phones the filter row scrolls sideways instead of wrapping to
 * four ragged lines. */
@media (max-width: 767px) {
	.hta-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 6px;
		margin-left: -4px;
		padding-left: 4px;
	}
	.hta-chips::-webkit-scrollbar { display: none; }
}

.hta-directory__count {
	margin: -20px 0 22px;
	font-size: 13px;
	color: var(--hta-muted, #667085);
}

.hta-directory__grid { transition: opacity .3s ease; }

.hta-directory.is-loading .hta-directory__grid {
	opacity: .35;
	pointer-events: none;
}

/* Member logos keep a 1:1 frame so uploads of any shape sit consistently. */
.hta-card--member .hta-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: var(--hta-off-white, #f7f8f6);
	border-bottom: 1px solid var(--hta-line, #e3e7ea);
	overflow: hidden;
}

.hta-card--member .hta-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.hta-card--member:hover .hta-card__logo img { transform: scale(1.03); }

.hta-card__initials {
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--hta-green, #268a35);
	opacity: .55;
}

.hta-card__contact {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 14px;
	color: var(--hta-muted, #667085);
}

.hta-card__contact a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease, color .3s ease;
	overflow-wrap: anywhere;
}

.hta-card__contact a:hover,
.hta-card__contact a:focus-visible {
	color: var(--hta-green, #268a35);
	border-bottom-color: currentColor;
}

.hta-ic { position: relative; padding-left: 24px; }

.hta-ic::before {
	position: absolute;
	left: 0;
	top: 2px;
	width: 15px;
	height: 15px;
	background-color: var(--hta-green, #268a35);
	content: "";
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.hta-ic--pin::before  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 1 1 18 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.hta-ic--tel::before  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); }
.hta-ic--mail::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.hta-ic--web::before  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20 15 15 0 0 1 0-20Z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ *
 * Opportunities board — the signature feature
 * ------------------------------------------------------------------ */

.hta-oppboard { border-top: 1px solid var(--hta-line, #e3e7ea); }

.hta-opp {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 26px 4px;
	border-bottom: 1px solid var(--hta-line, #e3e7ea);
	transition: background-color .35s ease, padding-left .35s ease;
}

.hta-opp:hover {
	background: var(--hta-off-white, #f7f8f6);
	padding-left: 18px;
}

.hta-opp--closed { opacity: .55; }

/* Category icon, coloured from the pillar system */
.hta-opp__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
	border-radius: 50%;
	font-size: 24px;
	background: var(--hta-tint-navy, #f2f6ff);
	color: var(--hta-navy, #073b75);
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.hta-opp:hover .hta-opp__icon { transform: scale(1.08); }

.hta-opp--accommodation .hta-opp__icon { background: var(--hta-tint-green, #f4f9ef); color: var(--hta-green-dk, #1e6e2a); }
.hta-opp--supplier      .hta-opp__icon { background: var(--hta-tint-navy,  #f2f6ff); color: var(--hta-navy, #073b75); }
.hta-opp--event-partner .hta-opp__icon { background: var(--hta-tint-gold, #FFFBE0); color: var(--hta-yellow-ink, #B58900); }
.hta-opp--tour-group    .hta-opp__icon { background: var(--hta-tint-teal,  #ecf6f8); color: var(--hta-teal-dk, #06767f); }

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

.hta-opp__title {
	margin: 8px 0 0;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: clamp(20px, 1.6vw, 25px);
	font-weight: 600;
	line-height: 1.22;
	color: var(--hta-text, #171717);
}

.hta-opp__title a { color: inherit; text-decoration: none; }
.hta-opp__title a:hover { color: var(--hta-green, #268a35); }

.hta-opp__excerpt,
.hta-opp__meta {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--hta-muted, #667085);
}

.hta-opp__meta { font-size: 13px; }
.hta-opp__action { flex: 0 0 auto; }

.hta-status {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	background: var(--hta-green-btn, #23802f);
}

.hta-status--closing-soon { background: var(--hta-gold, #FEEC59); color: var(--hta-text, #171717); }
.hta-status--closed       { background: var(--hta-muted, #667085); }
.hta-status--achieved     { background: var(--hta-green-btn, #23802f); }
.hta-status--ongoing      { background: var(--hta-navy, #073b75); }
.hta-status--planned      { background: var(--hta-muted, #667085); }

.hta-card__eyebrow .hta-status::before { display: none; }

@media (max-width: 767px) {
	.hta-opp {
		flex-wrap: wrap;
		gap: 14px;
		padding: 22px 0;
	}
	.hta-opp:hover { padding-left: 0; }
	.hta-opp__icon { width: 44px; height: 44px; font-size: 21px; }
	.hta-opp__main { flex: 1 1 100%; order: 2; }
	.hta-opp__action { flex: 1 1 100%; order: 3; }
}

/* ------------------------------------------------------------------ *
 * News editorial layout
 * ------------------------------------------------------------------ */

.hta-news-layout {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(28px, 3vw, 48px);
	align-items: start;
}

.hta-news { position: relative; }

.hta-news__media {
	display: block;
	overflow: hidden;
	border-radius: var(--hta-radius, 10px);
	background: var(--hta-light-grey, #f2f4f5);
}

.hta-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.hta-news:hover .hta-news__media img { transform: scale(1.03); }

.hta-news--lead .hta-news__media { aspect-ratio: 16 / 9; }
.hta-news--lead .hta-news__body { padding-top: 22px; }

.hta-news--lead .hta-news__title {
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.16;
}

.hta-news-list { display: flex; flex-direction: column; }

.hta-news--item {
	display: grid;
	grid-template-columns: 136px 1fr;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--hta-line, #e3e7ea);
}

.hta-news--item:first-child { padding-top: 0; }
.hta-news--item:last-child  { border-bottom: 0; }

.hta-news--item .hta-news__media { aspect-ratio: 16 / 9; }
.hta-news--item .hta-news__title { font-size: 19px; line-height: 1.3; }
.hta-news--item .hta-news__excerpt { font-size: 14px; }
.hta-news--item .hta-link { font-size: 11px; }

.hta-news__title {
	margin: 10px 0 0;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-weight: 600;
	color: var(--hta-text, #171717);
}

.hta-news__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .4s cubic-bezier(.2, .8, .2, 1), color .3s ease;
}

.hta-news:hover .hta-news__title a,
.hta-news__title a:focus-visible { background-size: 100% 1px; color: var(--hta-navy, #073b75); }

.hta-news__excerpt {
	margin: 10px 0 14px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--hta-muted, #667085);
}

@media (max-width: 980px) { .hta-news-layout { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
	.hta-news--item { grid-template-columns: 100px 1fr; gap: 14px; }
	.hta-news--item .hta-news__excerpt { display: none; }
}

/* ------------------------------------------------------------------ *
 * Advocacy tabs and timeline
 * ------------------------------------------------------------------ */

.hta-tabs__list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--hta-line, #e3e7ea);
}

.hta-tabs__tab {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	margin: 0 30px -1px 0;
	padding: 14px 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hta-muted, #667085);
	cursor: pointer;
	transition: color .3s ease, border-color .3s ease;
}

.hta-tabs__tab:hover { color: var(--hta-navy, #073b75); }

.hta-tabs__tab.is-active {
	color: var(--hta-navy, #073b75);
	border-bottom-color: var(--hta-gold, #FEEC59);
}

.hta-tabs__panel[hidden] { display: none; }

@media (max-width: 767px) {
	.hta-tabs__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.hta-tabs__list::-webkit-scrollbar { display: none; }
	.hta-tabs__tab { white-space: nowrap; margin-right: 22px; }
}

.hta-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 30px;
	position: relative;
}

.hta-timeline::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	border-radius: 2px;
	background: var(--hta-line, #e3e7ea);
}

.hta-timeline__item { position: relative; padding-bottom: 34px; }
.hta-timeline__item:last-child { padding-bottom: 0; }

.hta-timeline__marker {
	position: absolute;
	left: -30px;
	top: 6px;
	width: 14px;
	height: 14px;
	border: 3px solid var(--hta-navy, #073b75);
	background: var(--hta-white, #fff);
	border-radius: 50%;
}

.hta-timeline__item--achieved .hta-timeline__marker {
	background: var(--hta-green, #268a35);
	border-color: var(--hta-green, #268a35);
}

.hta-timeline__item--planned .hta-timeline__marker { border-color: var(--hta-muted, #667085); }

.hta-timeline__title {
	margin: 8px 0 0;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--hta-text, #171717);
}

.hta-timeline__text,
.hta-timeline__outcome {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--hta-muted, #667085);
}

.hta-timeline__outcome {
	padding: 12px 16px;
	border-radius: var(--hta-radius-sm, 6px);
	background: var(--hta-tint-green, #f4f9ef);
}

.hta-timeline__outcome strong {
	display: block;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hta-green-dk, #1e6e2a);
	margin-bottom: 2px;
}

/* ------------------------------------------------------------------ *
 * Stat counters
 * ------------------------------------------------------------------ */

.hta-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.hta-stat {
	background: var(--hta-white, #fff);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius, 10px);
	box-shadow: var(--hta-shadow, 0 8px 24px -12px rgba(23,32,42,.16));
	padding: clamp(24px, 2.6vw, 34px);
	text-align: left;
	transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}

.hta-stat:hover {
	transform: translateY(-4px);
	box-shadow: var(--hta-shadow-hi, 0 22px 44px -18px rgba(23,32,42,.26));
}

.hta-stat:nth-child(1) { border-top: 4px solid var(--hta-navy, #073b75); }
.hta-stat:nth-child(2) { border-top: 4px solid var(--hta-green, #268a35); }
.hta-stat:nth-child(3) { border-top: 4px solid var(--hta-gold, #FEEC59); }
.hta-stat:nth-child(4) { border-top: 4px solid var(--hta-teal, #078a96); }

.hta-stat__value {
	display: block;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: clamp(38px, 4.2vw, 58px);
	font-weight: 600;
	line-height: 1;
	color: var(--hta-navy, #073b75);
	font-variant-numeric: tabular-nums;
}

.hta-stat:nth-child(2) .hta-stat__value { color: var(--hta-green-dk, #1e6e2a); }
.hta-stat:nth-child(3) .hta-stat__value { color: var(--hta-yellow-ink, #B58900); }
.hta-stat:nth-child(4) .hta-stat__value { color: var(--hta-teal-dk, #06767f); }

.hta-stat__label {
	display: block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hta-muted, #667085);
}

@media (max-width: 900px) { .hta-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hta-stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
 * Pillars (shortcode variant, used on inner pages)
 * ------------------------------------------------------------------ */

.hta-pillars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.hta-pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 34px 28px 30px;
	background: var(--hta-white, #fff);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-top: 4px solid var(--hta-navy, #073b75);
	border-radius: var(--hta-radius, 10px);
	box-shadow: var(--hta-shadow, 0 8px 24px -12px rgba(23,32,42,.16));
	text-decoration: none;
	transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, background-color .4s ease;
}

.hta-pillar:hover {
	transform: translateY(-6px);
	box-shadow: var(--hta-shadow-hi, 0 22px 44px -18px rgba(23,32,42,.26));
}

.hta-pillar--01 { border-top-color: var(--hta-navy, #073b75); }
.hta-pillar--02 { border-top-color: var(--hta-green, #268a35); }
.hta-pillar--03 { border-top-color: var(--hta-gold, #FEEC59); }
.hta-pillar--04 { border-top-color: var(--hta-teal, #078a96); }

.hta-pillar--01:hover { background: var(--hta-tint-navy, #f2f6ff); }
.hta-pillar--02:hover { background: var(--hta-tint-green, #f4f9ef); }
.hta-pillar--03:hover { background: var(--hta-tint-gold, #FFFBE0); }
.hta-pillar--04:hover { background: var(--hta-tint-teal, #ecf6f8); }

.hta-pillar__badge-sc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 24px;
	margin-bottom: 10px;
	background: var(--hta-tint-navy, #f2f6ff);
	color: var(--hta-navy, #073b75);
}

.hta-pillar--02 .hta-pillar__badge-sc { background: var(--hta-tint-green, #f4f9ef); color: var(--hta-green-dk, #1e6e2a); }
.hta-pillar--03 .hta-pillar__badge-sc { background: var(--hta-tint-gold, #FFFBE0); color: var(--hta-yellow-ink, #B58900); }
.hta-pillar--04 .hta-pillar__badge-sc { background: var(--hta-tint-teal, #ecf6f8); color: var(--hta-teal-dk, #06767f); }

.hta-pillar__num {
	position: absolute;
	top: 26px;
	right: 26px;
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	color: var(--hta-navy, #073b75);
	opacity: .13;
}

.hta-pillar__kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hta-navy, #073b75);
}

.hta-pillar--02 .hta-pillar__kicker { color: var(--hta-green-dk, #1e6e2a); }
.hta-pillar--03 .hta-pillar__kicker { color: var(--hta-yellow-ink, #B58900); }
.hta-pillar--04 .hta-pillar__kicker { color: var(--hta-teal-dk, #06767f); }

.hta-pillar__title {
	font-family: var(--hta-head, 'Poppins', sans-serif);
	font-size: clamp(20px, 1.5vw, 24px);
	font-weight: 600;
	line-height: 1.22;
	color: var(--hta-text, #171717);
}

.hta-pillar__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--hta-muted, #667085);
}

/* In flow and pushed to the foot, so long descriptions can never run
 * underneath it. */
.hta-pillar__arrow {
	margin-top: auto;
	padding-top: 6px;
	font-size: 20px;
	line-height: 1;
	color: var(--hta-navy, #073b75);
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.hta-pillar:hover .hta-pillar__arrow { transform: translateX(8px); }

@media (max-width: 1100px) { .hta-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .hta-pillars { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ *
 * Login box / gate / empty states
 * ------------------------------------------------------------------ */

.hta-loginbox {
	max-width: 430px;
	padding: clamp(26px, 3vw, 38px);
	background: var(--hta-white, #fff);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius-lg, 14px);
	box-shadow: var(--hta-shadow, 0 8px 24px -12px rgba(23,32,42,.16));
}

.hta-loginbox label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hta-navy, #073b75);
}

.hta-loginbox input[type="text"],
.hta-loginbox input[type="password"] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius-sm, 6px);
	font-family: inherit;
	font-size: 15px;
	background: var(--hta-off-white, #f7f8f6);
}

.hta-loginbox input:focus {
	outline: 3px solid rgba(7, 59, 117, .3);
	outline-offset: 1px;
	border-color: var(--hta-navy, #073b75);
}

.hta-loginbox .login-remember label {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	font-size: 14px;
	color: var(--hta-muted, #667085);
}

.hta-loginbox input[type="submit"] {
	width: 100%;
	padding: 14px 24px;
	border: 0;
	border-radius: var(--hta-radius-sm, 6px);
	background: var(--hta-green-btn, #23802f);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	cursor: pointer;
	transition: background-color .3s ease;
}

.hta-loginbox input[type="submit"]:hover { background: var(--hta-green-dk, #1e6e2a); }

.hta-loginbox__lost { margin: 16px 0 0; font-size: 14px; }

.hta-gate {
	padding: clamp(26px, 3vw, 38px);
	background: var(--hta-tint-navy, #f2f6ff);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius, 10px);
	text-align: center;
}

.hta-gate__msg { margin: 0 0 18px; font-size: 16px; color: var(--hta-navy, #073b75); }

.hta-empty {
	padding: 30px;
	background: var(--hta-off-white, #f7f8f6);
	border: 1px dashed var(--hta-line, #d7dde1);
	border-radius: var(--hta-radius, 10px);
	color: var(--hta-muted, #667085);
	font-size: 15px;
	text-align: center;
}

/* ------------------------------------------------------------------ *
 * Reveal on scroll — opt-in, only active once JS adds .js-reveal
 * ------------------------------------------------------------------ */

.hta-reveal.js-reveal > * {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}

.hta-reveal.js-reveal.is-visible > * { opacity: 1; transform: none; }

.hta-reveal.js-reveal.is-visible > *:nth-child(2) { transition-delay: .08s; }
.hta-reveal.js-reveal.is-visible > *:nth-child(3) { transition-delay: .16s; }
.hta-reveal.js-reveal.is-visible > *:nth-child(4) { transition-delay: .24s; }
.hta-reveal.js-reveal.is-visible > *:nth-child(5) { transition-delay: .32s; }
.hta-reveal.js-reveal.is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
	.hta-reveal.js-reveal > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.hta-card,
	.hta-card__media img,
	.hta-arrow,
	.hta-opp,
	.hta-stat { transition: none !important; }
	.hta-card:hover,
	.hta-stat:hover { transform: none; }
}

/* Focus rings */
.hta-chip:focus-visible,
.hta-btn:focus-visible,
.hta-link:focus-visible,
.hta-tabs__tab:focus-visible,
.hta-card__title a:focus-visible {
	outline: 3px solid var(--hta-gold, #FEEC59);
	outline-offset: 3px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Route to account creation for anyone who lands on the login page without one.
   .hta-loginbox lives here, not in the child theme — see hta-design.css for .hta-join. */
.hta-loginbox__join {
	max-width: 430px;
	margin-top: 18px;
	padding: 20px clamp(26px, 3vw, 38px);
	background: var(--hta-tint-navy, #f2f5f9);
	border: 1px solid var(--hta-line, #e3e7ea);
	border-radius: var(--hta-radius-lg, 14px);
}

.hta-loginbox__join-q {
	margin: 0 0 4px;
	font-weight: 700;
	color: var(--hta-navy, #073b75);
}

.hta-loginbox__join-a {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--hta-muted, #667085);
}

.hta-loginbox__join p:last-child { margin: 0; }
