/* ==========================================================
   DME Knowledge Resource Centre: "Highlight the law" home, body.ts-law (loaded last on the home page).
   User, 2026-11-07: modern, energetic, education + tech, made for a law school, warm light gradients and colours
   matching dme.ac.in (logo charcoal + DME yellow, the site's pale yellow and mint).
   The idea: a law student's yellow legal pad and highlighter. The hero sits on faint legal-pad rules with a margin
   line, the headline and every section heading get a DME-yellow highlighter stroke, the library's own reading room
   is framed next to the round DME logo (with a turning ring of type) and an IRAC research note whose steps link to
   the resources that help with them.
   Below: a highlighter-tape ticker, programmes as a court "cause list", a comparative-law grid built from the admin
   collections (courts / legislation / parliament / law reform / human rights / LIIs per jurisdiction), research steps,
   DME's own journals (live from dmejournals.com) and the shared sections recoloured.
   Yellow is never text on a light ground: it is a fill or a stroke with charcoal text on it.
   All motion is off under prefers-reduced-motion.
   ========================================================== */

.ts-law {
	--hl-ink: #1f1715;
	--hl-char: #7f1416;
	--hl-night: #2a0b0c;
	--hl-yellow: #f2b632;
	--hl-yellow-soft: #f3e5cc;
	--hl-amber: #1d6f6a;
	--hl-amber-text: #a01a22;
	--hl-mint: #d5cec2;
	--hl-teal: #146c74;
	--hl-paper: #fbf8f4;
	--hl-line: rgba(127, 20, 22, 0.12);
	--hl-shadow: 0 1px 2px rgba(31, 23, 21, 0.06), 0 24px 48px -28px rgba(42, 11, 12, 0.45);
	/* the spark layer's orange text becomes amber text that passes on light grounds */
	--sp-ember: #a01a22;
	--sp-sun: var(--ts-sunrise);
}

/* ---------- Type: condensed headings with a highlighter stroke ---------- */

.ts-law .ts-h2,
.ts-law .hm-section-title {
	font-family: var(--ts-display);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.02;
	font-size: clamp(34px, 4.2vw, 54px);
	color: var(--hl-ink);
}

.ts-law .ts-h2 em,
.ts-law .hm-section-title em {
	font-family: var(--ts-display);
	font-style: normal;
	font-weight: 700;
	color: var(--hl-ink);
	padding: 0 0.12em;
	margin: 0 -0.04em;
	background: linear-gradient(100deg, rgba(242, 182, 50, 0) 0, rgba(242, 182, 50, 0.85) 3%, #f2b632 50%, rgba(242, 182, 50, 0.8) 97%, rgba(242, 182, 50, 0) 100%) 0 88% / 100% 0.42em no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.ts-law .ts-kicker,
.ts-law .hm-eyebrow {
	color: var(--hl-char);
	font-family: var(--ts-mono);
	font-size: 11.5px;
	letter-spacing: 0.14em;
}

.ts-law .ts-kicker::before {
	background: var(--hl-yellow);
	height: 6px;
	border-radius: 2px;
	transform: skewX(-18deg);
}

.ts-law .ts-section-note {
	color: var(--ts-muted);
}

/* ---------- Header: the round logo, a little larger ---------- */

.ts-law .ts-brand img.ts-brand-crest {
	height: 50px !important;
	border-radius: 50% !important;
}

.ts-law .ts-ribbon {
	background: var(--hl-night);
}

/* ---------- Hero: the legal pad ---------- */

.ts-law .hl-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 72px;
	background: var(--ts-sunrise);
	isolation: isolate;
}

.ts-law .hl-pad {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	/* faint teal rules every 36px and the double margin line of a legal pad */
	background:
		linear-gradient(90deg, transparent 0 calc(4% + 0px), rgba(29, 111, 106, 0.28) calc(4% + 0px) calc(4% + 1px), transparent calc(4% + 1px) calc(4% + 5px), rgba(29, 111, 106, 0.22) calc(4% + 5px) calc(4% + 6px), transparent calc(4% + 6px)),
		repeating-linear-gradient(180deg, transparent 0 35px, rgba(20, 108, 116, 0.085) 35px 36px);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}

.ts-law .hl-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 56px;
	align-items: center;
}

.ts-law .hl-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ts-muted);
}

.ts-law .hl-open {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border: 1px solid var(--hl-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--hl-ink);
	box-shadow: 0 6px 18px -12px rgba(42, 11, 12, 0.4);
}

.ts-law .hl-open .ts-live {
	background: #a59a90;
	box-shadow: none;
}

.ts-law .hl-open.hl-open-now .ts-live {
	background: #16a34a;
	box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.ts-law .hl-where {
	font-family: var(--ts-mono);
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ts-law .hl-title span {
	display: block;
}

.ts-law .hl-title {
	margin: 0 0 18px;
	font-family: var(--ts-display);
	font-size: clamp(50px, 6.4vw, 88px);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.005em;
	text-transform: uppercase;
	color: var(--hl-ink);
}

/* the highlighter stroke draws itself once */
.ts-law .hl-mark {
	position: relative;
	display: inline-block;
	padding: 0 0.1em;
	margin-left: -0.05em;
	background: none;
	color: var(--hl-ink);
	z-index: 0;
}

.ts-law .hl-mark::before {
	content: "";
	position: absolute;
	left: -0.02em;
	right: -0.04em;
	top: 52%;
	bottom: 0.02em;
	z-index: -1;
	border-radius: 0.08em 0.3em 0.12em 0.4em;
	background: var(--ts-marker);
	transform: skewX(-8deg) scaleX(0);
	transform-origin: left center;
	animation: hl-draw 0.9s 0.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes hl-draw {
	to {
		transform: skewX(-8deg) scaleX(1);
	}
}

.ts-law .hl-lede {
	max-width: 560px;
	margin: 0 0 26px;
	font-size: 18px;
	line-height: 1.6;
	color: #594d45;
}

.ts-law .hl-console {
	max-width: 640px;
	border-color: rgba(127, 20, 22, 0.14);
	box-shadow: 0 1px 2px rgba(31, 23, 21, 0.06), 0 28px 56px -30px rgba(42, 11, 12, 0.5), 0 0 0 6px rgba(242, 182, 50, 0.14);
}

.ts-law .sp-mode.active {
	background: var(--hl-yellow);
	border-color: var(--hl-yellow);
	color: var(--hl-ink);
}

.ts-law .sp-mode:hover {
	background: var(--hl-yellow-soft);
	color: var(--hl-ink);
}

.ts-law .sp-go {
	background: var(--hl-char);
	color: #fff;
}

.ts-law .sp-go:hover,
.ts-law .sp-go:focus-visible {
	background: var(--hl-night);
	color: var(--hl-yellow);
}

.ts-law .hl-console-note {
	margin: 10px 4px 0;
	font-size: 12.5px;
	color: var(--ts-muted);
}

.ts-law .hl-console-note .fa {
	color: var(--hl-amber-text);
}

.ts-law .hl-quick {
	margin-top: 20px;
}

.ts-law .hl-quick a .fa {
	color: var(--hl-amber-text);
}

/* the visual: photo + round logo + IRAC note + floats */
.ts-law .hl-visual {
	position: relative;
	min-height: 580px;
}

.ts-law .hl-photo {
	position: absolute;
	top: 0;
	right: 0;
	width: 88%;
	margin: 0;
	border-radius: 28px 28px 28px 120px;
	overflow: hidden;
	box-shadow: var(--hl-shadow);
	border: 6px solid #fff;
	aspect-ratio: 4 / 3.1;
}

.ts-law .hl-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ts-law .hl-photo figcaption {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(42, 11, 12, 0.72);
	color: #fff;
	font-size: 11.5px;
}

.ts-law .hl-seal {
	position: absolute;
	top: -18px;
	left: 2%;
	width: 150px;
	height: 150px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hl-yellow);
	box-shadow: 0 18px 40px -20px rgba(42, 11, 12, 0.6);
}

.ts-law .hl-seal img {
	width: 92px;
	height: 92px;
	border-radius: 50%;
}

.ts-law .hl-seal-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: hl-spin 36s linear infinite;
}

.ts-law .hl-seal-ring text {
	fill: var(--hl-ink);
	font-family: var(--ts-mono);
	font-size: 12.4px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

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

.ts-law .hl-note {
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(300px, 62%);
	padding: 14px 16px 10px;
	border-radius: 18px;
	background:
		repeating-linear-gradient(180deg, transparent 0 27px, rgba(20, 108, 116, 0.1) 27px 28px) 0 40px / 100% calc(100% - 40px) no-repeat,
		#fffef8;
	border: 1px solid var(--hl-line);
	box-shadow: var(--hl-shadow);
	transform: rotate(-1.5deg);
}

.ts-law .hl-note-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 8px;
	font-family: var(--ts-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ts-muted);
}

.ts-law .hl-note-head b {
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--hl-char);
	color: var(--hl-yellow);
	letter-spacing: 0.2em;
}

.ts-law .hl-note ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ts-law .hl-note li {
	display: flex;
	gap: 10px;
	padding: 6px 0;
}

.ts-law .hl-note li + li {
	border-top: 1px dashed rgba(127, 20, 22, 0.12);
}

.ts-law .hl-note-k {
	flex: 0 0 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--hl-yellow);
	color: var(--hl-ink);
	font-family: var(--ts-display);
	font-size: 18px;
	font-weight: 800;
}

.ts-law .hl-note-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.ts-law .hl-note-body b {
	font-size: 13.5px;
	color: var(--hl-ink);
}

.ts-law .hl-note-body small {
	font-size: 12px;
	color: var(--ts-muted);
}

/* each step is highlighted in turn */
.ts-law .hl-note-mark {
	background: linear-gradient(90deg, rgba(242, 182, 50, 0.55), rgba(242, 182, 50, 0.55)) 0 100% / 0 45% no-repeat;
	animation: hl-under 0.6s calc(1.2s + var(--i, 0) * 0.45s) ease-out forwards;
}

@keyframes hl-under {
	to {
		background-size: 100% 45%;
	}
}

.ts-law .hl-note-src {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 4px;
}

.ts-law .hl-note-src a {
	padding: 1px 8px;
	border-radius: 999px;
	border: 1px solid rgba(20, 108, 116, 0.35);
	background: #fff;
	color: var(--hl-teal);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.ts-law .hl-note-src a:hover {
	background: var(--hl-teal);
	color: #fff;
}

.ts-law .hl-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 16px;
	background: #fff;
	color: var(--hl-ink);
	box-shadow: var(--hl-shadow);
	font-size: 13px;
	line-height: 1.25;
	text-decoration: none;
}

.ts-law .hl-float b {
	font-family: var(--ts-display);
	font-size: 26px;
	font-weight: 800;
}

.ts-law .hl-float-world {
	right: -8px;
	bottom: 70px;
	max-width: 230px;
	background: var(--hl-char);
	color: #fff;
}

.ts-law .hl-float-world b {
	color: var(--hl-yellow);
}

.ts-law .hl-float-world:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.ts-law .hl-float-live {
	right: 24px;
	bottom: 8px;
}

.ts-law .hl-float-live b {
	font-size: 18px;
}

/* ---------- Ticker: highlighter tape ---------- */

.ts-law .hl-ticker {
	background: var(--hl-yellow);
	color: var(--hl-ink);
	font-weight: 600;
}

.ts-law .hl-ticker .sp-ticker-label {
	background: var(--hl-char);
	color: var(--hl-yellow);
	font-family: var(--ts-mono);
	letter-spacing: 0.12em;
}

.ts-law .hl-ticker .sp-ticker-track li::after {
	color: var(--hl-char);
	opacity: 0.55;
}

/* ---------- Cause list: programmes ---------- */

.ts-law .hl-bench {
	background:
		radial-gradient(600px 260px at 100% 0%, rgba(214, 236, 229, 0.28) 0%, rgba(214, 236, 229, 0) 70%),
		var(--hl-paper);
}

.ts-law .hl-bench-grid {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.ts-law .hl-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 10px;
	border-radius: 22px;
	background: var(--hl-night);
	box-shadow: var(--hl-shadow);
	position: sticky;
	top: 110px;
}

.ts-law .hl-item {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "no no arrow" "name name arrow" "school school arrow";
	align-items: center;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #f3efe2;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s;
}

.ts-law .hl-item + .hl-item {
	margin-top: 2px;
}

.ts-law .hl-item-no {
	grid-area: no;
	font-family: var(--ts-mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #a59a90;
}

.ts-law .hl-item b {
	grid-area: name;
	font-family: var(--ts-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.ts-law .hl-item small {
	grid-area: school;
	font-size: 12px;
	color: #a59a90;
}

.ts-law .hl-item .fa {
	grid-area: arrow;
	font-size: 18px;
	color: #6f645b;
}

.ts-law .hl-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.ts-law .hl-item.active {
	background: var(--hl-yellow);
	color: var(--hl-ink);
}

.ts-law .hl-item.active .hl-item-no,
.ts-law .hl-item.active small,
.ts-law .hl-item.active .fa {
	color: #594d45;
}

.ts-law .hl-item:focus-visible {
	outline: 3px solid var(--hl-mint);
	outline-offset: 2px;
}

.ts-law .hl-file {
	padding-top: 22px;
}

.ts-law .hl-file::before {
	width: 100%;
	height: 6px;
	bottom: auto;
	background: repeating-linear-gradient(90deg, var(--hl-yellow) 0 22px, var(--hl-char) 22px 30px);
}

.ts-law .hl-file-tag {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--hl-line);
	font-family: var(--ts-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ts-muted);
}

.ts-law .hl-file .pr-panel-mark {
	background: var(--hl-yellow);
	color: var(--hl-ink);
}

.ts-law .hl-file h3 {
	font-size: 32px;
}

.ts-law .pr-panel h4 span {
	background: var(--hl-char);
	color: var(--hl-yellow);
}

.ts-law .pr-panel h4 .fa {
	color: var(--hl-teal);
}

/* ---------- Compare jurisdictions ---------- */

.ts-law .hl-world {
	background:
		radial-gradient(700px 300px at 0% 0%, rgba(242, 182, 50, 0.16) 0%, rgba(242, 182, 50, 0) 70%),
		#fff;
}

.ts-law .hl-grid {
	border: 1px solid var(--hl-line);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--hl-shadow);
}

.ts-law .hl-grid-row {
	display: grid;
	grid-template-columns: 190px repeat(var(--cols, 6), minmax(0, 1fr));
}

.ts-law .hl-grid-row + .hl-grid-row {
	border-top: 1px solid var(--hl-line);
}

.ts-law .hl-grid-row > span {
	padding: 12px 12px;
	min-width: 0;
}

.ts-law .hl-grid-row > span + span {
	border-left: 1px solid rgba(127, 20, 22, 0.07);
}

.ts-law .hl-grid-head {
	background: var(--hl-char);
	color: #f3efe2;
	font-family: var(--ts-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ts-law .hl-grid-head .fa {
	color: var(--hl-yellow);
	margin-right: 4px;
}

.ts-law .hl-grid-row:not(.hl-grid-head):hover {
	background: #fffbea;
}

.ts-law .hl-grid-place {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ts-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--hl-ink);
	line-height: 1.1;
}

.ts-law .hl-grid-place b {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 38px;
	height: 28px;
	border-radius: 7px;
	background: var(--hl-yellow);
	font-family: var(--ts-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
}

.ts-law .hl-grid-cell {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 5px;
}

.ts-law .hl-grid-cell a {
	display: inline-block;
	max-width: 100%;
	padding: 4px 9px;
	border-radius: 8px;
	background: #f6f3e8;
	color: var(--hl-ink);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.ts-law .hl-grid-cell a:hover,
.ts-law .hl-grid-cell a:focus-visible {
	background: var(--hl-char);
	color: var(--hl-yellow);
}

.ts-law .hl-grid-cell em {
	color: #c9c2b0;
	font-style: normal;
}

.ts-law .hl-grid-note {
	margin: 16px 4px 0;
	color: var(--ts-muted);
	font-size: 14px;
}

.ts-law .hl-grid-note .fa {
	color: var(--hl-amber-text);
}

/* ---------- Research steps ---------- */

.ts-law .hl-steps {
	background: var(--hl-paper);
}

.ts-law .lx-step-no {
	background: var(--hl-yellow) !important;
	color: var(--hl-ink) !important;
}

/* ---------- Numbers band ---------- */

.ts-law .hl-lux {
	background:
		repeating-linear-gradient(-45deg, rgba(242, 182, 50, 0.05) 0 14px, transparent 14px 28px),
		var(--hl-night);
}

.ts-law .hl-lux::before {
	background: var(--hl-yellow);
}

.ts-law .lx-lux.hl-lux .pr-lux-row b,
.ts-law .lx-lux.hl-lux .pr-lux-row li:nth-child(odd) b {
	font-family: var(--ts-display);
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	color: var(--hl-yellow);
}

.ts-law .hl-lux .pr-lux-row li:nth-child(even) b {
	color: #fff;
}

.ts-law .hl-lux .pr-lux-row span {
	color: #cfc8b6;
}

/* ---------- Print band ---------- */

.ts-law .hl-print .ts-h2,
.ts-law .hl-print .ts-kicker {
	color: #fff;
}

.ts-law .hl-print .ts-h2 {
	font-size: clamp(32px, 3.4vw, 46px);
}

/* on the dark band the highlighter becomes yellow ink */
.ts-law .hl-print .ts-h2 em {
	background: none;
	padding: 0;
	margin: 0;
	color: var(--hl-yellow);
}

.ts-law .hl-campus {
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.ts-law .hl-campus .fa {
	color: var(--hl-yellow);
}

/* ---------- DME journals ---------- */

.ts-law .hl-journals {
	background:
		radial-gradient(600px 260px at 100% 100%, rgba(214, 236, 229, 0.3) 0%, rgba(214, 236, 229, 0) 70%),
		var(--hl-paper);
}

.ts-law .hl-journal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 22px;
}

.ts-law .hl-journal {
	display: flex;
	flex-direction: column;
	padding: 22px 24px;
	border: 1px solid var(--hl-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--hl-shadow);
}

.ts-law .hl-journal header {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--hl-line);
}

.ts-law .hl-journal-spine {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 58px;
	height: 78px;
	padding: 8px 6px;
	border-radius: 6px 10px 10px 6px;
	background: var(--hl-char);
	box-shadow: inset 6px 0 0 rgba(0, 0, 0, 0.35), 0 10px 20px -12px rgba(0, 0, 0, 0.6);
	text-align: center;
}

.ts-law .hl-journal-spine b {
	font-family: var(--ts-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--hl-yellow);
	letter-spacing: 0.04em;
}

.ts-law .hl-journal-spine i {
	font-style: normal;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.ts-law .hl-journal-management .hl-journal-spine {
	background: var(--hl-teal);
}

.ts-law .hl-journal h3 {
	margin: 0 0 4px;
	font-family: var(--ts-display);
	font-size: 26px;
	font-weight: 700;
}

.ts-law .hl-journal h3 a {
	color: var(--hl-ink);
}

.ts-law .hl-journal header p {
	margin: 0;
	font-size: 13px;
	color: var(--ts-muted);
}

.ts-law .hl-journal ol {
	list-style: none;
	counter-reset: art;
	margin: 0 0 12px;
	padding: 0;
	flex: 1;
}

.ts-law .hl-journal li {
	counter-increment: art;
	position: relative;
	padding: 10px 0 10px 34px;
}

.ts-law .hl-journal li + li {
	border-top: 1px dashed var(--hl-line);
}

.ts-law .hl-journal li::before {
	content: counter(art, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 11px;
	font-family: var(--ts-mono);
	font-size: 12px;
	font-weight: 700;
	color: var(--hl-amber-text);
}

.ts-law .hl-journal li a {
	color: var(--hl-ink);
	font-weight: 600;
	line-height: 1.35;
}

.ts-law .hl-journal li a:hover {
	background: linear-gradient(90deg, rgba(242, 182, 50, 0.5), rgba(242, 182, 50, 0.5)) 0 100% / 100% 40% no-repeat;
	text-decoration: none;
}

.ts-law .hl-journal li small {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: var(--ts-muted);
}

/* ---------- Footer social row ---------- */

.ts-law .ts-foot-social {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.ts-law .ts-foot-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.ts-law .ts-foot-social a:hover {
	background: var(--hl-yellow);
	color: var(--hl-ink);
}

.ts-law .ts-foot-lockup img {
	border-radius: 50%;
}

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

@media (max-width: 1199.98px) {
	.ts-law .hl-grid {
		overflow-x: auto;
	}

	.ts-law .hl-grid-row {
		min-width: 980px;
	}
}

@media (max-width: 991.98px) {
	.ts-law .hl-hero {
		padding: 40px 0 56px;
	}

	.ts-law .hl-hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.ts-law .hl-visual {
		min-height: 480px;
		max-width: 620px;
	}

	.ts-law .hl-bench-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-law .hl-list {
		position: static;
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
		gap: 4px;
	}

	.ts-law .hl-item {
		flex: 0 0 auto;
		min-width: 170px;
	}

	.ts-law .hl-item + .hl-item {
		margin-top: 0;
	}

	.ts-law .hl-item .fa {
		display: none;
	}
}

@media (max-width: 767.98px) {
	/* the grid becomes one card per jurisdiction */
	.ts-law .hl-grid {
		overflow: visible;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.ts-law .hl-grid-row {
		min-width: 0;
		display: block;
		margin-bottom: 14px;
		border: 1px solid var(--hl-line) !important;
		border-radius: 18px;
		background: #fff;
		overflow: hidden;
	}

	.ts-law .hl-grid-head {
		display: none;
	}

	.ts-law .hl-grid-row > span {
		display: flex;
		border-left: 0 !important;
	}

	.ts-law .hl-grid-place {
		background: #fffbea;
	}

	.ts-law .hl-grid-cell::before {
		content: attr(data-label);
		flex: 0 0 100%;
		font-family: var(--ts-mono);
		font-size: 10.5px;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--ts-muted);
	}

	.ts-law .hl-grid-cell.hl-grid-empty {
		display: none;
	}
}

@media (max-width: 575.98px) {
	.ts-law .hl-visual {
		min-height: 440px;
	}

	.ts-law .hl-photo {
		width: 100%;
		border-radius: 22px 22px 22px 70px;
	}

	.ts-law .hl-seal {
		width: 110px;
		height: 110px;
		top: -14px;
		left: -4px;
	}

	.ts-law .hl-seal img {
		width: 66px;
		height: 66px;
	}

	.ts-law .hl-note {
		width: 86%;
	}

	.ts-law .hl-float-world {
		display: none;
	}

	.ts-law .hl-float-live {
		display: none;
	}

	.ts-law .hl-file h3 {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ts-law .hl-mark::before {
		animation: none;
		transform: skewX(-8deg) scaleX(1);
	}

	.ts-law .hl-note-mark {
		animation: none;
		background-size: 100% 45%;
	}

	.ts-law .hl-seal-ring {
		animation: none;
	}
}
