/**
  * Place your custom styles here.
*/
 
 body{
	width: 100%;
	overflow-x: hidden;
 }

body{
  margin-top: 0;
	color: #001833;
	font-family: "Plus Jakarta Sans";
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 22.5px; /* 150% */
}

body.toolbar-tray-open.user-logged-in{
  padding-top: 80px !important;
}


.container-fluid{
  --bs-gutter-x: 0;
  
}

.container-fluid.pad{
}


h1{
	font-size: 42px;
	font-weight: 600;
	
	margin: 0 0 17px;
}

h2{
	font-size: 36px;
	font-weight: normal;
	margin: 0 0 17px;
	border-top: none;	
}

h3{
	font-size: 18px;
	font-weight: bold;
	
}

p{
	
}

a{
  cursor: pointer;
  color: inherit;
	text-decoration: none;
}

a:hover{
	color: inherit;
}

#content-main a{
	
}

img{
  max-width: 100% !important;
  height: auto !important;
}

blockquote {
    padding: 30px 35px;
    margin: 30px 0;
    font-size: inherit;
    border: 1px solid #232021;
}

blockquote > :first-child{
	margin-top: 0;
}

.region-primary-menu{
	padding-right: 0;
}

.region-content ul, .block .field ul{
	padding: 0;
	margin: 20px 0 25px;
}

.region-content ul.nav-tabs{
	margin: 0;
}

.region-content ul li, .block .field ul li{
	list-style-type: none;
	
	padding-left: 22px;
	margin: 0 0 10px;
}

.region-content ol li, .block .field ol li{
	margin-bottom: 10px;
}

.stretch{
  margin-left: -15px;
  margin-right: -15px;
}

.vertical-align {
  display: flex;
  align-items: center;
}


/* ── TOP BAR ── */
#navbar-top .region-top-header {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

#navbar-top.navbar {
	padding: 9px 0;
}

#navbar-top {
	background: #001833;
	color: #fff;
	font-family: "Plus Jakarta Sans";
	font-size: 12px;
	font-weight: 500;
	line-height: normal;
}

#navbar-top p, #navbar-main p {
	margin-bottom: 0;
}

#navbar-top a {
	padding: 0 16px;
	color: #fff;
	text-decoration: none;
	display: inline-block;
	transition: opacity .2s;
}

#navbar-top a:hover {
	opacity: 0.75;
	color: #fff;
}

#navbar-top a:first-child {
	padding-left: 0;
}

/* CTA pill button */
.dbluepill {
	border-radius: 22px;
	background: #07274D;
	padding: 10px 22px;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	display: inline-block;
	transition: background .2s;
	white-space: nowrap;
}

.dbluepill:hover {
	background: #0d3361;
	color: #fff !important;
}

/* ── HEADER / MAIN NAV ── */
#header {
	background: none;
	position: sticky;
	top: 0;
	z-index: 200;
}

#navbar-main {
	background: #fff;
	height: 64px;
	margin: 0;
	border-bottom: 1px solid #e5e9ef;
	color: #001833;
	font-family: "Plus Jakarta Sans";
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
}

#navbar-main .nav-link {
	color: #001833;
	font-family: "Plus Jakarta Sans";
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
	padding: 6px 14px;
	border-radius: 6px;
	text-decoration: none;
	transition: background .15s, color .15s;
}

#navbar-main .nav-item > .nav-link:hover,
#navbar-main .nav-item > .nav-link:focus,
#navbar-main .nav-item.show > .nav-link {
	background: #f1f5f9;
	color: #001833;
}

#navbar-main .nav-link:focus-visible,
#navbar-main .nav-link:focus {
	outline: none;
	box-shadow: none;
}

/* ── DROPDOWN MENU ── */
#navbar-main .dropdown-menu {
	border: 1px solid #e5e9ef;
	border-radius: 10px;
	box-shadow: 0 12px 36px rgba(7,39,77,.1);
	padding: 16px;
	margin-top: 0;
	min-width: 380px;
}

#navbar-main li.dropdown {
	background: transparent;
}

#navbar-main .dropdown-item {
	border-radius: 7px;
	padding: 10px 13px;
	font-size: 14px;
	font-weight: 500;
	color: #07274d;
	transition: background .15s;
	white-space: normal;
}

#navbar-main .dropdown-item:hover,
#navbar-main .dropdown-item:focus {
	background: #f1f5f9;
	color: #07274d;
}

#navbar-main .dropdown-item > a {
	color: #07274d;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

#navbar-main .dropdown-item > a:hover {
	color: #07274d;
}

#navbar-main .dropdown-label {
	font-size: 14px;
	font-weight: 500;
	color: #07274d;
	line-height: 1.2;
}

#navbar-main .dropdown-desc {
	font-size: 12px;
	color: #64748b;
	font-weight: 400;
	line-height: 1.4;
}

/* "Soon" badge on <nolink> menu items */
.nav-badge-soon {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	background: #4fc7b6;
	border-radius: 4px;
	padding: 3px 6px;
	margin-left: 7px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

.dropdown-item.active, .dropdown-item:active, .nav-item .dropdown-item a.active {
	background-color: #f1f5f9;
	color: #07274d;
}

/* Dropdown toggle chevron */
.dropdown-toggle::after {
	display: inline-block;
	width: 10px;
	height: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001833' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	border: none;
	vertical-align: middle;
	content: '';
	margin-left: 5px;
	opacity: 0.45;
}

/* ── DESKTOP TWO-COLUMN DROPDOWN ── */
@media (min-width: 992px) {
	/* Find an Expert — two column */
	a.two-column-dropdown ~ .dropdown-menu {
		display: none;
		grid-template-columns: 1fr 1fr;
		gap: 2px;
		padding: 8px;
		width: 500px;
	}

	a.two-column-dropdown ~ .dropdown-menu.show {
		display: grid !important;
	}

	/* Expert Services — two column, narrower (labels only, no descriptions) */
	a.nav-link--software-expert-witness-litigation-services ~ .dropdown-menu {
		display: none;
		grid-template-columns: 1fr 1fr;
		gap: 2px;
		padding: 8px;
		width: 480px;
	}

	a.nav-link--software-expert-witness-litigation-services ~ .dropdown-menu.show {
		display: grid !important;
	}
}

/* ── HAMBURGER ── */
#navbar-main .navbar-toggler {
	border: none;
	background: none;
	padding: 8px 4px;
	cursor: pointer;
}

#navbar-main .navbar-toggler:focus,
#navbar-main .navbar-toggler:focus-visible {
	outline: none;
	box-shadow: none;
}

#navbar-main .navbar-toggler-icon {
	background-image: none;
	display: block;
	width: 22px;
	height: 2px;
	background: #001833;
	border-radius: 2px;
	position: relative;
	transition: opacity 0.25s;
}

#navbar-main .navbar-toggler-icon::before,
#navbar-main .navbar-toggler-icon::after {
	content: '';
	display: block;
	width: 22px;
	height: 2px;
	background: #001833;
	border-radius: 2px;
	position: absolute;
	left: 0;
	transition: transform 0.25s, opacity 0.25s;
}

#navbar-main .navbar-toggler-icon::before { top: -7px; }
#navbar-main .navbar-toggler-icon::after  { top: 7px; }

/* Animate to X when open — hide middle bar by colour, not opacity,
   so ::before and ::after pseudo-elements remain fully visible */
#navbar-main .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
	background: transparent;
}

#navbar-main .navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
	transform: translateY(7px) rotate(45deg);
}

#navbar-main .navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV ── */
@media (max-width: 991px) {
	/* Slide-down panel */
	#CollapsingNavbar {
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #e5e9ef;
		box-shadow: 0 8px 24px rgba(7,39,77,.08);
		z-index: 99;
		max-height: calc(100vh - 64px);
		overflow-y: auto;
	}

	/* Hide the region/section wrapper padding */
	#CollapsingNavbar .region-primary-menu {
		padding: 0;
		max-width: 100%;
	}

	/* Top-level nav items */
	#CollapsingNavbar .nav-item {
		border-bottom: 1px solid #f1f5f9;
	}

	#CollapsingNavbar .nav-item > .nav-link {
		display: block;
		font-size: 15px;
		font-weight: 600;
		padding: 16px 24px;
		border-radius: 0;
		color: #001833 !important;
		background: transparent !important;
		width: 100%;
	}

	#CollapsingNavbar .nav-item > .nav-link:hover,
	#CollapsingNavbar .nav-item > .nav-link:focus,
	#CollapsingNavbar .nav-item > .nav-link:active,
	#CollapsingNavbar .nav-item.show > .nav-link {
		color: #001833 !important;
		background: transparent !important;
	}

	/* Mobile caret — inline after text, rotates when open */
	#CollapsingNavbar .nav-link.dropdown-toggle::after {
		display: inline-block;
		width: 14px;
		height: 14px;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001833' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-size: contain;
		content: '';
		margin-left: 6px;
		opacity: 1;
		vertical-align: middle;
		transition: transform 0.2s;
	}

	#CollapsingNavbar .nav-item.show > .nav-link.dropdown-toggle::after {
		transform: rotate(180deg);
	}

	/* Sub-menu (dropdown) shown inline */
	#CollapsingNavbar .dropdown-menu {
		position: static !important;
		float: none;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background: #f8fafc;
		padding: 0;
		margin: 0;
		min-width: 0;
		width: 100%;
	}

	#CollapsingNavbar .dropdown-menu.show {
		display: block !important;
	}

	#CollapsingNavbar .dropdown-item {
		border-radius: 0;
		border-bottom: 1px solid #f1f5f9;
		padding: 11px 24px 11px 32px;
	}

	#CollapsingNavbar .dropdown-item:last-child {
		border-bottom: none;
	}

	#CollapsingNavbar .dropdown-item > a {
		font-size: 14px;
		font-weight: 400;
		color: #64748b;
	}

	#CollapsingNavbar .dropdown-item:hover {
		background: #f1f5f9;
	}

	#CollapsingNavbar .dropdown-item:hover > a {
		color: #001833;
	}

	/* Single-column on mobile regardless of two-column class */
	a.two-column-dropdown ~ .dropdown-menu,
	a.nav-link--software-expert-witness-litigation-services ~ .dropdown-menu {
		display: none;
		grid-template-columns: 1fr;
	}

	a.two-column-dropdown ~ .dropdown-menu.show,
	a.nav-link--software-expert-witness-litigation-services ~ .dropdown-menu.show {
		display: block !important;
	}

	/* Remove float from nav so the region has proper height and footer sits below */
	#CollapsingNavbar .region-primary-menu nav {
		float: none !important;
		width: 100%;
	}

	/* Mobile menu footer CTA */
	.nav-mobile-footer {
		padding: 16px 24px;
		border-top: 1px solid #f1f5f9;
	}

	.nav-mobile-footer .dbluepill {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 14px;
		font-weight: 700;
		padding: 14px 22px;
		border-radius: 22px;
		margin: 0;
	}

	.nav-mobile-footer .dbluepill a {
		color: #fff;
		text-decoration: none;
		display: block;
	}
}

/* highlighted */

/* Content */

.paragraph > .paragraph__column{
    float: none !important;
    margin: 0 auto !important;
    max-width: 100%;
    /* padding: 0; */
}

.paragraph.paragraph--width--full > .paragraph__column, .paragraph.paragraph--width--medium > .paragraph__column, .paragraph.paragraph--width--narrow > .paragraph__column, .paragraph.paragraph--width--tiny > .paragraph__column, .paragraph.paragraph--width--wide > .paragraph__column, .paragraph > .paragraph__column{
	padding: 0;
}

.paragraph.paragraph--width--wide{
	max-width: 100%;
}

.paragraph.paragraph--width--wide > .paragraph__column, .paragraph.paragraph--type--bp-column-wrapper > .paragraph__column{
	
	max-width: 1200px;
	float: none;
	margin: 0 auto;
	padding-left: 12px;
	padding-right: 12px;
}

.paragraph.paragraph--width--medium > .paragraph__column{
	width: 970px;
	max-width: 93%;
	float: none;
	margin: 0 auto;
}

.paragraph.paragraph--width--narrow > .paragraph__column{
	width: 630px;
	max-width: 93%;
	float: none;
	margin: 0 auto;
}


/* footer */

.site-footer{
	border-top: 1px solid #2F4B68;
	background: #07274D;
	padding: 60px 0;
	font-family: "Plus Jakarta Sans";
}

.site-footer .block{
	margin: 0 0 0 0;
	border: none;
	
}

.site-footer h2, .site-footer__top h2{
	color: #64748B;
	font-family: "Plus Jakarta Sans";
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	border-bottom: none;
	padding: 0 0 0 0;
	margin: 0 0 14px 0;	
}

.site-footer__top, .site-footer__bottom{
	padding: 0 12px;
}
.site-footer__top p{
	margin: 0 0 0 0;
}

.site-footer p{
	color: #64748B;
	font-family: "Plus Jakarta Sans";
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 23.8px; /* 170% */	
	margin: 0 0 8px 0;
}

.site-footer .content a{
	color: #8AAFC4;
	font-family: "Plus Jakarta Sans";
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.site-footer .content .jurisdictions{
	color: #64748B;
	font-family: "Plus Jakarta Sans";
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	line-height: 18.7px; /* 170% */
} 

.site-footer__bottom .block{
	clear: none;
}

.region-footer-fifth p, .region-footer-fifth .content a{
	color: #64748B;
	font-family: "Plus Jakarta Sans";
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-right: 20px;
}

#block-works-footer5links .content a{
	text-align: right;
	margin-right: 0;
	margin-left: 20px;
}

#block-works-footer5links .content p{
	margin-right: 0;
}
/* Container max-width override */
@media (min-width: 576px) {
  .container, .container-sm { max-width: 100%; }
}
@media (min-width: 768px) {
  .container, .container-sm, .container-md { max-width: 100%; }
}
@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg { max-width: 100%; }
}
@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px;
  }
}

.paragraph--type--bp-columns{
	padding-left: 0;
	padding-right: 0;
}

/* ═══════════════════════════════════════════════════
   CONTENT PAGE STYLES
   Applies to: page nodes with field_custom_headers = false
   Root scope: body:not(.has-custom-headers)
   ═══════════════════════════════════════════════════ */

/* ── PAGE HEADER ── */
.page-header {
  background: #001833;
  border-bottom: 1px solid #07274d;
  padding: 48px 24px 52px;
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
	padding: 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  font-weight: 400;
}

.page-header-inner p {
  margin-top: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
}

.page-header-inner p a {
  color: #4fc7b6;
  text-decoration: none;
}

.page-header-inner p a:hover {
  color: #fff;
}

/* Strip block wrapper padding from the page title block inside the header */
.page-header .block,
.page-header .content {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}

/* H1 */
.page-header h1.title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.8px;
  max-width: 700px;
  margin: 0;
}

/* The <span> Drupal wraps the title field in */
.page-header h1.title span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Teal accent bar rendered by the page-h1-accent div */

.page-header h1.title::after{
	display: block;
	width: 40px;
	height: 3px;
	background: #4fc7b6;
	margin-top: 16px;
	border-radius: 2px;
	content: '';
	margin-bottom: 18px;
}
.page-h1-accent {
}

/* Breadcrumb inside page header */
.page-header #block-works-breadcrumbs {
  margin-bottom: 16px;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  flex-wrap: wrap;
}

.page-header .breadcrumb-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb a {
	font-family: var(--font-body);
	font-size: 17px;
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	font-weight: 500;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb a:hover {
  color: #4fc7b6;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: rgba(255,255,255,0.25);
  padding: 0;
	margin-right: 13px;
}

.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item:last-child {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #3d4f63;
  font-weight: 500;
}

/* Term adjustments */
.page-vocabulary-expert-witnesses .views-field-field-introduction{
	max-width: 500px;
	color: rgba(255, 255, 255, 0.6);
}

body.page-vocabulary-expert-witnesses #main.container{

}

.page-vocabulary-expert-witnesses #block-works-mainpagecontent ul li::before{
	content: "";
	position: absolute;
	left: 0px;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4fc7b6;
}

.page-vocabulary-expert-witnesses #block-works-mainpagecontent ul li{
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-mid);
	padding-left: 20px;
	position: relative;	
}

.page-vocabulary-expert-witnesses #block-works-mainpagecontent .content a, .page-vocabulary-expert-witnesses .region-content a{
	color: var(--navy);
}

.page-vocabulary-expert-witnesses #block-works-mainpagecontent .content a:hover, .page-vocabulary-expert-witnesses .region-content a:hover{
	color: #4fc7b6;
}

.page-vocabulary-expert-witnesses .main-content h2:first-child{
	margin: 0px 0px 12px;
	border-top: none;
	
}

 .main-content h2{
	/* border-top: 1px solid var(--border); */
	padding-top: 40px;
	font-size: 24px;
	font-weight: 700;
	color: var(--navy);
	line-height: 1.3;
	letter-spacing: -0.3px;

}

/* ── TWO-COLUMN LAYOUT (page nodes, no custom headers) ── */
body:not(.has-custom-headers) #main {
  padding-top: 48px;
  padding-bottom: 80px;
}

body:not(.has-custom-headers) #main > .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  margin-left: 0;
  margin-right: 0;
}

/* When a sidebar is present — Drupal adds layout-sidebar-second to body */

#sidebar_second #block-works-requestanexpertbutton{
	
	background: rgb(255, 255, 255);
	border: 1.5px solid rgb(79, 199, 182);
	color: #001833;
	border-radius: 8px;
	padding: 24px 20px;
}

#sidebar_second label{
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 4px;
}

#sidebar_second #block-works-expertservices{
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	background: none;
}

body.layout-sidebar-second:not(.has-custom-headers) #main > .row {
  grid-template-columns: 1fr 300px;
}

/* Override Bootstrap's flex/width/padding on grid children */
body:not(.has-custom-headers) #main > .row > main,
body:not(.has-custom-headers) #main > .row > div {
  width: auto;
  max-width: none;
  flex: none;
  padding-left: 0;
  padding-right: 0;
}

/* Remove section/clearfix padding from main content wrapper */
body:not(.has-custom-headers) #main main > .section {
  padding: 0;
}

/* Sidebar column: sticky */
body.layout-sidebar-second:not(.has-custom-headers) #main > .row > div.sidebar.order-last {
  /* position: sticky; */
  top: 88px;
  align-self: start;
	order: initial!important;
}

body.layout-sidebar-second:not(.has-custom-headers) #main > .row > div.sidebar {
}

/* ── CONTENT BODY STYLES (page nodes, no custom headers) ── */

body:not(.has-custom-headers) .region-content a{
	color: var(--navy);
}

body:not(.has-custom-headers) .region-content a:hover{
	color: var(--teal);
}

body:not(.has-custom-headers) .field--name-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #001833;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 40px 0 12px;
  padding-top: 40px;
  border-top: 1px solid #dde3ea;
}

body:not(.has-custom-headers) .field--name-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body:not(.has-custom-headers) .field--name-body p, body:not(.has-custom-headers) #main-wrapper .content p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #3d4f63;
  margin-bottom: 20px;
  max-width: 680px;
}

body:not(.has-custom-headers) .field--name-body p:last-child {
  margin-bottom: 0;
}

body:not(.has-custom-headers) .field--name-body ul {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

body:not(.has-custom-headers) .field--name-body ul li {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #3d4f63;
  padding-left: 20px;
  position: relative;
}

body:not(.has-custom-headers) .field--name-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fc7b6;
}

/* Arrow link — class added by content editors in the body field */
body:not(.has-custom-headers) .field--name-body .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #001833;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 24px;
  transition: gap 0.2s, color 0.2s;
}

body:not(.has-custom-headers) .field--name-body .arrow-link:hover {
  gap: 12px;
  color: #4fc7b6;
}

body:not(.has-custom-headers) .field--name-body .arrow-link svg {
  flex-shrink: 0;
}

/* ── SIDEBAR (targets actual Drupal block HTML, no custom markup needed) ── */

/* Override Bootstrap contrib sidebar.css block wrapper */
body:not(.has-custom-headers) #sidebar_second .block{
	background: none;
}

body:not(.has-custom-headers) #sidebar_second #block-works-webform--2 {
  background: #f5f7fa;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 24px 20px;
  margin: 0;
  box-shadow: none;
	margin-bottom: 12px;
}

/* Block title <h2> → styled as sidebar card title */
body:not(.has-custom-headers) #sidebar_second .block h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #001833;
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 0 0 0 0;
  padding-bottom: 16px;
  border-bottom: none;
  text-shadow: none;
	background: none;
}

body:not(.has-custom-headers) #sidebar_second .nav-link, .node--view-mode-teaser .nav-link{
	
	color: var(--text-mute);	
}

/* Strip Bootstrap's .content font-size override */
body:not(.has-custom-headers) #sidebar_second .block .content {
  font-size: inherit;
  line-height: inherit;
  padding: 0;
}

/* Phone number paragraph */
body:not(.has-custom-headers) #sidebar_second .block .content p {
  margin: 16px 0 0 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.4;
}

/* Phone link */
body:not(.has-custom-headers) #sidebar_second .block .content a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-mute);
  text-decoration: none;
  letter-spacing: -0.2px;
}

body:not(.has-custom-headers) #sidebar_second .block .content a:hover {
  color: #4fc7b6;
  text-decoration: underline;
}

body:not(.has-custom-headers) #sidebar_second .block li{
	font-size: 13px;
	font-weight: 500;
	color: var(--text-mute);
	text-decoration: none;
	padding: 6px 0px;
	border-bottom: 1px solid var(--border);
	transition: color 0.15s;
	width: 100%;
}

/* ── RESPONSIVE: content pages ── */
@media (max-width: 900px) {
  body.layout-sidebar-second:not(.has-custom-headers) #main > .row {
    grid-template-columns: 1fr;
  }

  body.layout-sidebar-second:not(.has-custom-headers) #main > .row > div.sidebar {
    position: static;
    
  }

  body:not(.has-custom-headers) #sidebar_second .block {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
  }

  body:not(.has-custom-headers) #sidebar_second .block h2 {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  body:not(.has-custom-headers) #sidebar_second .block .content {
    flex: 1;
  }

  body:not(.has-custom-headers) #sidebar_second .block .content p {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .page-header {
    padding: 32px 16px 36px;
  }

  .page-header h1.title {
    font-size: 26px;
  }

  body:not(.has-custom-headers) #main {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  body:not(.has-custom-headers) #main > .row {
    gap: 32px;
  }
}

/* expert list */

#block-works-views-block-experts-for-aoe-pages-block-1 h2{
	border-top: 1px solid var(--border);
	padding-top: 40px;
	
}

.view-representative-experts .field-content .left, .view-representative-experts .field-content .right {
		display: inline-block;
		vertical-align: top;
		max-width: 100%;
}

.view-representative-experts .field-content .left {
		width: 14%;
		margin-right: 15px;
		max-width: 128px;
		float: left;
}

.view-representative-experts .field-content .left img {
		max-width: 100%;
		height: auto !important;
}

.view-representative-experts .field-content .right {
		width: 78%;
}

.view-representative-experts .field-content .title {
		font-weight: bold;
		font-size: 24px;
		margin-bottom: 2px;
}

.view-representative-experts .field-content .title a {
		font-size: 20px;
		font-weight: 700;
		color: var(--text-mid);
		line-height: 1.3;
		margin-bottom: 3px;
}


.view-representative-experts .views-row {
		vertical-align: top;
		max-width: 100%;
		width: 100%;
		padding-top: 40px;
		padding-bottom: 40px;
		border-bottom: 1px solid var(--border);
}



.view-representative-experts .field-content .subtitle {
		font-size: 16px;
		margin-bottom: 10px;
}

.view-representative-experts .field-content .body p {
		margin: 0 0 10px;
}

.view-representative-experts .field-content .link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--navy);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	margin-top: 8px;
	transition: gap 0.2s, color 0.2s;
}

.view-representative-experts .field-content .link a::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	flex-shrink: 0;
	transition: background-color 0.2s;
}

.view-representative-experts .field-content .link a:hover{
	gap: 10px;
	color: var(--teal);
}

body .view-representative-experts .tease, body .view-representative-experts .tease p, .view-representative-experts .tease p strong {
		font-weight: normal;
		color: var(--text-mute);
}

.view-representative-experts .title a {
		color: #777778;
		font-size: 23px;
		font-weight: bold;
}


ul.pagination li.page-item {
	padding-left: 4px;
}