﻿section {
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--hl-dark-green);
	line-height: var(--text-line-height);
}

h2.section-title,
.key-contacts-v3.c2025 .header h2 {
	font-size: 35px;
	font-weight: 300;
}

h3.section-subtitle { 
	font-size: 23px;
	font-weight: 600;
	margin-bottom: 0.5em;
}

h2.section-title {
	margin-bottom: 0.75em;
}

img.flag {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	box-shadow: 0 0 2px 1px rgba(var(--hl-dark-green-rgb), 0.5);
}

div.breadcrumbs { margin-top: 0; }

div.links-bar .wrapper { 
	display: flex;
	flex-direction: row;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-right: 10px;
}

div.links-bar .wrapper .breadcrumbs { 
	margin-bottom: 0; 
}

section.header {
	padding: 20px 0 0 0;
}

section.header div.header-bg { 
	position:absolute;
	top: 0;
	left: 0;
	bottom: 40px;
	height: unset;
	width: unset;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

section.header div.header { 
	padding: 25px;
	background-color: var(--hl-dark-green);
	color: #ffffff;
	max-width: 360px;
}

section.header div.header a.home-link { 
	color: inherit;
	text-decoration: none;
}

section.header div.header h1 { 
	font-size: 36px;
	line-height: 1.1;
}

section.header div.header div.intro { 
	font-size: 19px;
	font-weight: 400;
	line-height:1.25;
}

section.header div.header-buttons { 
	margin-top: 30px;
}

section.ai-cases-filter { 
	z-index: 95;
}

section.ai-cases-filter:focus-within { 
	z-index: 105;
}

section.ai-cases-filter div.standard-filter {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

section.ai-cases-filter div.standard-filter div.standard-filter-field { 
	flex-direction: column;
	align-items: start;
	gap: 1px;
}

section.ai-cases-filter div.standard-filter div.standard-filter-field label { 
	font-size: 14px;
	font-weight: 500;
}

.btn-ai-hub { 
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

.btn-ai-hub:before {
	content: "";
	width: 50px;
	height: 34px;
	background-image: url("/_uploads/ai-hub/ai-chip.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

table.introduction { 
	margin: 0;
}

table.introduction td.image img {
	width: clamp(200px, 25vw, 300px);
}

section.whats-new .carousel-wrapper {
	font-size: 0;
}

section.whats-new {
	margin-top: 0;
	padding: 30px 0;
	background-image: url("/_uploads/hl-gradient-cyan-purple.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

section.whats-new .carousel-container {
	display: inline-block;
	vertical-align: top;
	width: 75%;
}

section.whats-new .see-all-panel {
	display: inline-block;
}

section.whats-new .see-all-panel {
	display: inline-block;
	width: 25%;
	background-color: transparent;
	padding: 0 0 0 20px;
}

section.whats-new .btn-see-all.desktop {
	font-family: Roobert, sans-serif;
	font-size: 35px;
	font-weight: 600;
	color: var(--hl-light-green);
	background-color: var(--hl-dark-green);
	align-items: end;
	text-decoration: none;
	padding: 20px;
	transition: all 0.2s;
	display: flex;
	flex-direction: row;
	gap: 10px;
	justify-content: space-between;
}

section.whats-new .btn-see-all.desktop:after {
	width: 30px;
	height: 30px;
}

section.whats-new .btn-see-all:after {
	content: "";
	display: block;
	background-image: url("/_assets/icon-line-arrow-hl-light-green.png");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(-45deg);
}

section.whats-new .standard-panels .slick-arrow { 
	border-color: var(--hl-light-green);
}

.carousel-controls a.btn-see-all.mobile:after {
	width: 16px;
	height: 16px;
}


section.whats-new .btn-see-all:hover {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
}

section.whats-new .btn-see-all:hover:after {
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
}

.carousel-controls a.btn-see-all.mobile {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.carousel-controls .btn-see-all:hover {
	background-color: var(--hl-light-green);
	color: var(--hl-dark-green);
}



a.case-panel,
a.decision-panel { 
	background-color: var(--hl-light-taupe);
	padding: 0;
	text-decoration: none;
	color: var(--hl-dark-green);
	font-size: 15px;
	font-weight: 400;
	transition: all 0.2s;
}

a.case-panel .content,
a.decision-panel .content { 
	padding: 10px 20px 20px 20px;
}

a.case-panel.search-result,
a.decision-panel.search-result { 
	padding-top: 0;
}

a.case-panel.search-result .inner,
a.decision-panel.search-result .inner {
	height: 100%;
	display: flex;
	flex-direction: column;
}

a.case-panel.search-result .inner .content,
a.decision-panel.search-result .inner .content {
	flex-basis: 100%;
}

a.case-panel.search-result .search-context,
a.decision-panel.search-result .search-context {
	padding-top: 20px;
	font-size: 14px;
}

a.case-panel.search-result .tag,
a.decision-panel.search-result .tag {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	height: 45px;
	font-size: 12px;
	font-weight: 500;
	color: var(--hl-dark-green);
	padding: 0 20px;
}

a.case-panel.search-result p.date,
a.decision-panel.search-result p.date { 
	font-size: 12px;
	margin-bottom: 0.75em;
	line-height: 1.3em;

}

a.case-panel.search-result p.title,
a.decision-panel.search-result p.title { 
	font-size: 18px;
}

a.case-panel:hover,
a.decision-panel:hover { 
	background-color: var(--hl-taupe);
}

a.case-panel p,
a.decision-panel p {
	font: inherit;
	color: inherit;
	margin-bottom: 0.35em;
}

a.case-panel p.title,
a.decision-panel p.title { 
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 0.5em;
}

a.case-panel div.jurisdictions,
a.decision-panel div.jurisdictions { 
	padding: 0 20px 20px 20px;
	margin-top: 0;
}

div.key-contacts-v3 { 
	margin-top: 30px;
}


section.know-hows .standard-knowhow-panel .inner,
section.search-results .standard-knowhow-panel .inner {
	background-color: var(--hl-light-taupe);
}


section.related-materials { 
	margin-top: 30px;
	padding: 30px 0;
	background-color: var(--hl-light-taupe)!important;
}

div.key-contacts-v3.authors .header h2 { 
	color: var(--hl-dark-green);
	margin: 0;
}

.search-result span.search-highlight { 
	font-weight: bold;
	text-decoration: underline;
}


body.c2024 div.select-options h3 { 
	font-size: 24px;
	font-weight: 500;
	margin: 0;
}

body.c2024 div.select-options .header { 
	margin-bottom: 10px;
}

.select-options .region-container:not(:first-child) { 
	margin-top: 5px;
}

.select-options button.btn-expand-group { 
	background-color: var(--hl-dark-green);
	font-size: 16px;
}

.region-jurisdictions {
	display: none;
}

.region-container:not(:last-child) .region-jurisdictions { 
	padding-bottom: 20px;
}

div.flag-and-title {
	display: flex;
	flex-direction: row;
	gap: 20px;
	align-items: start;
	margin-bottom: 20px;
}

div.flag-and-title img.flag {
	width: 45px;
	height: 45px;
}

div.flag-and-title h2.section-title {
	margin-bottom: 0;
}

div.case-details .detail,
div.decision-details .detail {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: start;
	font-size: 17px;
	margin-bottom: 10px;
}

div.case-details .detail > label,
div.decision-details .detail > label {
	font-weight: 700;
	white-space: nowrap;
}

div.case-overview,
div.decision-summary {
	margin-top: 30px;
	border-top: 1px solid var(--hl-light-green);
	padding-top: 30px;
}

section.decisions {
	margin-top: 30px;
}

div.decision-link {
	margin-top: 30px;
}

section.other-decisions {
	margin-top: 40px;
}

section.return-button {
	margin-top: 40px;
}

a.btn-return {
	border-color: var(--hl-dark-green);
	background-color: #ffffff;
	gap: 14px;
	white-space: nowrap;
}

a.btn-return:before {
	content: "";
	width: 17px;
	height: 17px;
	background-image: url("/_assets/icon-line-arrow-hl-dark-green.png");
	background-size: 17px;
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(180deg);
	flex-shrink: 0;
}

a.btn-return:hover {
	background-color: var(--hl-dark-green);
	color: #ffffff;
}

a.btn-return:hover:before {
	background-image: url("/_assets/icon-line-arrow-hl-light-green.png");
}

section.gr-button {
	margin-top: 40px;
}


@media (max-width: 1095px) {
	section.ai-cases-filter div.standard-filter { 
		grid-template-columns: repeat(3, 1fr);
	}

	.standard-filter-field .dk-selected {
		max-width: 100%;
	}

	section.ai-cases-filter div.standard-filter .standard-filter-field .dk-selected { 
		max-width: calc(33vw - 10px);
	}
}

@media (max-width: 1000px) {
	section.title-and-filter.standard-title-and-filter .col-1 { 
		flex-direction: column;
	}
}

@media (max-width: 980px) {
	section .title-and-filter.standard-title-and-filter .col-1 { 
		flex-direction: column;
	}

}

@media (max-width: 810px) {
	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter { 
		display: grid;
		grid-template-areas: "sort sort" "jurisdiction content-type";
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.sort-by {
		grid-area: sort;
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.jurisdiction {
		grid-area: jurisdiction;
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.content-type {
		grid-area: content-type;
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field > label { 
		width: 90px;
		text-align:right;
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.jurisdiction .dk-selected,
	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.content-type .dk-selected {
		max-width: calc(50vw - 120px);
	}
}

@media (max-width: 780px) {
	section .whats-new .carousel-container {
		width: 60%;
	}

	section.whats-new .see-all-panel {
		width: 40%;
	}
}

@media (min-width: 740px) {
	section.whats-new .btn-see-all.mobile {
		display: none;
	}
}

@media (max-width: 740px) {
	section.whats-new .btn-see-all.desktop {
		display: none;
	}

	section.whats-new .carousel-container {
		width: 100%;
	}

	section.header .header-intro .title h1 {
		font-size: 80px;
	}
}

@media (max-width: 700px) {
	div.flag-and-title { 
		flex-direction: column;
		gap: 10px;
	}

	div.flag-and-title img.flag { 
		width: 35px;
		height: 35px;
	}

	div.flag-and-title h2.section-title { 
		font-size: 30px;
	}
}

@media (max-width: 680px) {
	div.links-bar div.wrapper {
		flex-direction: column;
		align-items: start;
		gap: 15px;
	}

	div.links-bar div.wrapper a.btn-return {
		align-self: end;
	}
}

@media (max-width: 580px) {
	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.jurisdiction .dk-selected,
	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter .filter-field.content-type .dk-selected {
		max-width: calc(100vw - 120px);
	}

	table.introduction tr {
		display: table-cell;
	}

	table.introduction tr td {
		padding: 0 !important;
		display: block;
	}

	table.introduction td.image {
		padding-top: 20px !important;
	}

	table.introduction td.image img {
		width: min(95vw, 300px);
	}

	section.title-and-filter.standard-title-and-filter .col-1 .standard-filter {
		display: grid;
		grid-template-areas: "sort" "jurisdiction" "content-type";
	}
}

@media (max-width: 550px) {
	section.ai-cases-filter div.standard-filter {
		grid-template-columns: repeat(2, 1fr);
	}

	section.ai-cases-filter div.standard-filter .standard-filter-field .dk-selected {
		max-width: calc(50vw - 10px);
	}
}
