/* HR Compliances Wiki
   ------------------------------------------------------------------ */

.hrcw {
	--hrcw-accent: #a020f0;
	--hrcw-accent-soft: rgba(160, 32, 240, 0.08);
	--hrcw-banner: #ffffff;
	--hrcw-banner-text: #0d1117;
	--hrcw-ink: #16181d;
	--hrcw-ink-soft: #5b6270;
	--hrcw-line: #e6e6ea;
	--hrcw-surface: #ffffff;
	--hrcw-page: #fbfafc;
	--hrcw-radius: 16px;
	--hrcw-cols: 3;
	--hrcw-clamp: 5;
	--hrcw-font-display: "Poppins", "Gilroy", "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--hrcw-font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px 72px;
	color: var(--hrcw-ink);
	font-family: var(--hrcw-font-body);
}

.hrcw *,
.hrcw *::before,
.hrcw *::after {
	box-sizing: inherit;
}

.hrcw .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;
}

.hrcw .hrcw-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* Hero -------------------------------------------------------------- */

.hrcw .hrcw-hero {
	position: relative;
	padding: 56px 0 8px;
}

.hrcw .hrcw-hero::after {
	content: "";
	position: absolute;
	top: -60px;
	right: -180px;
	width: 420px;
	height: 340px;
	background: radial-gradient(closest-side, rgba(160, 32, 240, 0.55), rgba(160, 32, 240, 0));
	filter: blur(28px);
	pointer-events: none;
	z-index: -1;
}

.hrcw .hrcw-hero__title {
	margin: 45px 0 14px;
	font-family: var(--hrcw-font-display);
	font-size: clamp(2.4rem, 6vw, 4.1rem);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.03em;
	color: var(--hrcw-ink);
	font-size: 42px;
}

.hrcw .hrcw-hero__subtitle {
	max-width: 46ch;
	margin: 0 0 34px;
	font-size: 1.06rem;
	line-height: 1.55;
	color: var(--hrcw-ink-soft);
}

/* Search ------------------------------------------------------------ */

.hrcw .hrcw-search {
	position: relative;
	max-width: 100%;
}

.hrcw .hrcw-search__input {
	width: 100%;
	padding: 20px 62px 20px 26px;
	font-size: 1.06rem;
	font-family: inherit;
	color: var(--hrcw-ink);
	background: var(--hrcw-surface);
	border: 1px solid var(--hrcw-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 18, 24, 0.04);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
	appearance: none;
}

.hrcw .hrcw-search__input::placeholder {
	color: #9aa0ac;
}

.hrcw .hrcw-search__input:focus {
	outline: none;
	border-color: var(--hrcw-accent);
	box-shadow: 0 0 0 4px var(--hrcw-accent-soft);
}

.hrcw .hrcw-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.hrcw .hrcw-search__icon {
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
	color: #b3b8c2;
	pointer-events: none;
	line-height: 0;
}

.hrcw .hrcw-search__icon .hrcw-icon--search {
	width: 22px;
	height: 22px;
}

.hrcw .hrcw-search__spinner {
	position: absolute;
	top: 50%;
	right: 22px;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border: 2px solid var(--hrcw-accent-soft);
	border-top-color: var(--hrcw-accent);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.15s ease;
}

.hrcw.is-busy .hrcw-search__spinner {
	opacity: 1;
	animation: hrcw-spin 0.7s linear infinite;
}

.hrcw.is-busy .hrcw-search__icon {
	opacity: 0;
}

@keyframes hrcw-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Filter chips ------------------------------------------------------ */

.hrcw .hrcw-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
}

.hrcw .hrcw-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--hrcw-ink-soft);
	background: var(--hrcw-surface);
	border: 1px solid var(--hrcw-line);
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hrcw .hrcw-chip:hover {
	color: var(--hrcw-accent);
	border-color: var(--hrcw-accent);
}

.hrcw .hrcw-chip.is-active {
	color: #fff;
	background: var(--hrcw-accent);
	border-color: var(--hrcw-accent);
}

.hrcw .hrcw-chip__count {
	font-size: 0.78rem;
	opacity: 0.7;
}

/* Listing ----------------------------------------------------------- */

.hrcw .hrcw-listing {
	margin-top: 64px;
}

.hrcw .hrcw-listing__title {
	margin: 0 0 28px;
	font-family: var(--hrcw-font-display);
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--hrcw-ink);
	font-size: 36px;
}

.hrcw .hrcw-grid {
	display: grid;
	grid-template-columns: repeat(var(--hrcw-cols), minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.hrcw .hrcw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--hrcw-surface);
	border: 1px solid var(--hrcw-line);
	border-radius: var(--hrcw-radius);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hrcw .hrcw-card:hover {
	border-color: var(--hrcw-accent);
	box-shadow: 0 14px 34px -20px rgba(16, 18, 24, 0.45);
	transform: translateY(-2px);
}

.hrcw .hrcw-card:focus-within {
	border-color: var(--hrcw-accent);
	box-shadow: 0 0 0 3px var(--hrcw-accent-soft);
}

.hrcw .hrcw-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	text-decoration: none;
}

.hrcw .hrcw-card__link:focus {
	outline: none;
}

.hrcw .hrcw-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 32px 30px 24px;
}

.hrcw .hrcw-card__title {
	margin: 0 0 14px;
	font-family: var(--hrcw-font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.26;
	letter-spacing: -0.015em;
	color: var(--hrcw-ink);
	transition: color 0.15s ease;
}

.hrcw .hrcw-card:hover .hrcw-card__title {
	color: var(--hrcw-accent);
}

/* Description stops after --hrcw-clamp lines, then Read more takes over. */
.hrcw .hrcw-card__summary {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--hrcw-clamp, 5);
	line-clamp: var(--hrcw-clamp, 5);
	overflow: hidden;
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.62;
	color: #6b7280;
}

.hrcw .hrcw-card__more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: auto;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--hrcw-accent);
}

.hrcw .hrcw-card__chev {
	transition: transform 0.16s ease;
}

.hrcw .hrcw-card:hover .hrcw-card__chev {
	transform: translateX(3px);
}

.hrcw .hrcw-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 16px 30px 18px;
	border-top: 1px solid var(--hrcw-line);
	font-size: 0.88rem;
	color: #9aa0ac;
}

.hrcw .hrcw-card__acts {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--hrcw-ink-soft);
}

.hrcw .hrcw-card__acts .hrcw-icon {
	width: 16px;
	height: 16px;
}

/* Load more + empty state ------------------------------------------- */

.hrcw .hrcw-more {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.hrcw .hrcw-more__button {
	padding: 14px 30px;
	font-family: inherit;
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--hrcw-accent);
	background: transparent;
	border: 1px solid var(--hrcw-accent);
	border-radius: 999px;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.hrcw .hrcw-more__button:hover {
	color: #fff;
	background: var(--hrcw-accent);
}

.hrcw .hrcw-more__button[hidden] {
	display: none;
}

.hrcw .hrcw-empty {
	grid-column: 1 / -1;
	padding: 56px 32px;
	text-align: center;
	background: var(--hrcw-page);
	border: 1px dashed var(--hrcw-line);
	border-radius: var(--hrcw-radius);
}

.hrcw .hrcw-empty__title {
	margin: 0 0 8px;
	font-family: var(--hrcw-font-display);
	font-size: 1.3rem;
	font-weight: 700;
}

.hrcw .hrcw-empty__text {
	max-width: 46ch;
	margin: 0 auto 20px;
	color: var(--hrcw-ink-soft);
	line-height: 1.6;
}

.hrcw .hrcw-empty__reset {
	padding: 11px 22px;
	font-family: inherit;
	font-size: 0.94rem;
	font-weight: 600;
	color: #fff;
	background: var(--hrcw-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

/* Acts list (under the grid) ---------------------------------------- */

.hrcw .hrcw-acts-section {
	margin-top: 60px;
}

.hrcw .hrcw-acts-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hrcw .hrcw-acts-list .hrcw-actlink {
	flex: 0 0 auto;
}

.hrcw .hrcw-actlink {
	display: inline-flex;
	align-items: center;
	padding: 13px 20px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hrcw-accent);
	text-decoration: none;
	background: var(--hrcw-surface);
	border: 1px solid var(--hrcw-line);
	border-radius: 12px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hrcw .hrcw-actlink:hover {
	background: var(--hrcw-accent-soft);
	border-color: var(--hrcw-accent);
}

/* Detail page ------------------------------------------------------- */

.hrcw-single {
	max-width: none;
	padding: 0 0 80px;
}

.hrcw-single .hrcw-banner {
	background: var(--hrcw-banner, #fff);
	color: var(--hrcw-banner-text, var(--hrcw-ink));
	border-bottom: 1px solid var(--hrcw-line);
}

.hrcw-single .hrcw-banner__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 110px 24px 44px;
}

.hrcw-single .hrcw-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
}

.hrcw-single .hrcw-crumb {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hrcw-accent);
	text-decoration: none;
	background: var(--hrcw-accent-soft);
	border: 1px solid var(--hrcw-accent);
	border-radius: 999px;
	transition: background 0.15s ease, color 0.15s ease;
}

.hrcw-single a.hrcw-crumb:hover {
	background: var(--hrcw-accent);
	color: #fff;
}

.hrcw-single .hrcw-crumb--current {
	cursor: default;
}

.hrcw-single .hrcw-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	font-size: 0.92rem;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	opacity: 0.72;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.hrcw-single .hrcw-back:hover {
	opacity: 1;
	color: var(--hrcw-accent);
}

.hrcw-single .hrcw-back__arrow {
	transition: transform 0.16s ease;
}

.hrcw-single .hrcw-back:hover .hrcw-back__arrow {
	transform: translateX(-3px);
}

.hrcw-single .hrcw-banner__title {
	margin: 0;
	font-family: var(--hrcw-font-display);
	font-size: clamp(1.85rem, 4.2vw, 2.5rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: inherit;
	 
}

.hrcw-single .hrcw-banner__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 0.92rem;
	color: var(--hrcw-ink-soft);
}

.hrcw-single .hrcw-banner__act {
	color: var(--hrcw-accent);
	font-weight: 600;
	text-decoration: none;
}

.hrcw-single .hrcw-banner__act:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hrcw-single .hrcw-detail {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 56px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 46px 24px 0;
}

.hrcw-single .hrcw-detail__thumb {
	margin: 0 0 28px;
}

.hrcw-single .hrcw-detail__thumb img {
	width: 100%;
	height: auto;
	border-radius: var(--hrcw-radius);
}

.hrcw-single .hrcw-detail__lede {
	margin: 0 0 28px;
	padding-left: 18px;
	font-size: 1.08rem;
	line-height: 1.68;
	color: #33394a;
	border-left: 3px solid var(--hrcw-accent);
}

.hrcw-single .hrcw-prose {
	font-size: 1.02rem;
	line-height: 1.72;
	color: #2c3140;
}

.hrcw-single .hrcw-prose > * + * {
	margin-top: 1.15em;
}

.hrcw-single .hrcw-prose h2,
.hrcw-single .hrcw-prose h3,
.hrcw-single .hrcw-prose h4 {
	margin-top: 2em;
	margin-bottom: 0.55em;
	font-family: var(--hrcw-font-display);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--hrcw-ink);
}

.hrcw-single .hrcw-prose h2 {
	font-size: 1.5rem;
}

.hrcw-single .hrcw-prose h3 {
	font-size: 1.22rem;
}

.hrcw-single .hrcw-prose ul,
.hrcw-single .hrcw-prose ol {
	padding-left: 1.3em;
}

.hrcw-single .hrcw-prose li + li {
	margin-top: 0.45em;
}

.hrcw-single .hrcw-prose a {
	color: var(--hrcw-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
}

.hrcw-single .hrcw-prose table {
	width: 100%;
	border-collapse: collapse;
}

.hrcw-single .hrcw-prose th,
.hrcw-single .hrcw-prose td {
	padding: 10px 12px;
	text-align: left;
	border: 1px solid var(--hrcw-line);
}

.hrcw-single .hrcw-detail__actions {
	margin: 44px 0 0;
}

.hrcw-single .hrcw-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	font-size: 0.98rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: #3b0764;
	border-radius: 999px;
	transition: background 0.16s ease, transform 0.16s ease;
}

.hrcw-single .hrcw-button:hover {
	background: var(--hrcw-accent);
	transform: translateY(-1px);
}

.hrcw-single .hrcw-panel {
	margin-bottom: 30px;
}

.hrcw-single .hrcw-panel__title {
	margin: 0 0 12px;
	font-family: var(--hrcw-font-display);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--hrcw-ink);
}

.hrcw-single .hrcw-panel__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hrcw-single .hrcw-panel__list li + li {
	margin-top: 10px;
}

.hrcw-single .hrcw-panel__list--plain li + li {
	margin-top: 0;
	padding-top: 10px;
	border-top: 1px solid var(--hrcw-line);
}

.hrcw-single .hrcw-panel__list--plain a {
	display: block;
	padding: 2px 0;
	font-size: 0.94rem;
	font-weight: 600;
	color: var(--hrcw-accent);
	text-decoration: none;
}

.hrcw-single .hrcw-panel__list--plain a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hrcw-single .hrcw-panel__title--lg {
	margin: 8px 0 20px;
	font-size: 1.3rem;
}

.hrcw-single .hrcw-complist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hrcw-single .hrcw-complist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 22px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--hrcw-accent);
	text-decoration: none;
	background: var(--hrcw-surface);
	border: 1px solid var(--hrcw-line);
	border-radius: 12px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hrcw-single .hrcw-complist a:hover {
	background: var(--hrcw-accent-soft);
	border-color: var(--hrcw-accent);
}

.hrcw-single .hrcw-panel__list--stacked a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hrcw-single .hrcw-panel__date {
	display: block;
	font-size: 0.78rem;
	color: var(--hrcw-ink-soft);
}

.hrcw-single .hrcw-panel__link {
	display: block;
	margin-top: 2px;
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--hrcw-ink);
}

.hrcw-single .hrcw-panel__list--stacked a:hover .hrcw-panel__link {
	color: var(--hrcw-accent);
}

/* Responsive -------------------------------------------------------- */

@media (max-width: 980px) {
	.hrcw .hrcw-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hrcw-single .hrcw-detail {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 640px) {
	.hrcw {
		padding: 0 18px 56px;
	}

	.hrcw .hrcw-hero {
		padding-top: 36px;
	}

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

	.hrcw .hrcw-listing {
		margin-top: 44px;
	}

	.hrcw .hrcw-search__input {
		padding: 16px 54px 16px 20px;
	}

	.hrcw .hrcw-card__body {
		padding: 26px 22px 20px;
	}

	.hrcw .hrcw-card__foot {
		padding: 14px 22px 16px;
	}

	.hrcw-single .hrcw-banner__inner {
		padding: 44px 18px 30px;
	}

	.hrcw-single .hrcw-detail {
		padding-left: 18px;
		padding-right: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hrcw *,
	.hrcw *::before,
	.hrcw *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}