/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/

/*CUSTOM FONTS*/
@font-face {
    font-family: 'Varela Round';
    src: url('/wp-content/uploads/2025/08/subset-VarelaRound-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Mono';
    src: url('/wp-content/uploads/2025/08/subset-FiraMono-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: fzxk;
    src: url('/wp-content/uploads/2025/08/FZXKTJW-GB1-0.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*@font-face {
    font-family: fzxk;
    src: url('/wp-content/uploads/2025/08/FZCKJW-GB1-0.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZKai-Z03S';
    src: url('/wp-content/uploads/2025/06/FZKTJW-GB1-0.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/

@font-face {
    font-family: 'FZYouHeiS 508R';
    src: url('/wp-content/uploads/2025/07/FZYOUHS_508R-GB1-0.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZYouHeiS';
    src: url('/wp-content/uploads/2025/07/FZYOUHS_510M-GB1-0.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FZYouHeiS';
    src: url('/wp-content/uploads/2025/07/FZYOUHS_506L-GB1-0.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*@font-face {
    font-family: fzxss;
    src: url('/wp-content/uploads/2025/06/FZXSSJW-GB1-0.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/

@font-face {
font-family: equity_a;
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-display: auto;
src: url('/wp-content/uploads/custom_fonts/Equity%20OT/equity_ot_a_regular.woff2') format('woff2');
}

@font-face {
font-family: equity_a;
font-style: italic;
font-weight: normal;
font-stretch: normal;
font-display: auto;
src: url('/wp-content/uploads/custom_fonts/Equity%20OT/equity_ot_a_italic.woff2') format('woff2');
}

@font-face {
font-family: equity_a;
font-style: normal;
font-weight: bold;
font-stretch: normal;
font-display: auto;
src: url('/wp-content/uploads/custom_fonts/Equity%20OT/equity_ot_a_bold.woff2') format('woff2');
}

@font-face {
font-family: equity_a;
font-style: italic;
font-weight: bold;
font-stretch: normal;
font-display: auto;
src: url('/wp-content/uploads/custom_fonts/Equity%20OT/equity_ot_a_bold_italic.woff2') format('woff2');
}

@font-face {
    font-family: seravek;
    src: url('/wp-content/uploads/custom_fonts/Seravek/SeravekBasic-RegularItalic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: seravek;
    src: url('/wp-content/uploads/custom_fonts/Seravek/SeravekBasic-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: seravek;
    src: url('/wp-content/uploads/custom_fonts/Seravek/SeravekBasic-MediumItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: seravek;
    src: url('/wp-content/uploads/custom_fonts/Seravek/SeravekBasic-Medium.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*COLOR*/

:root {
  --link-blue: hsl(217, 85%, 40%);
	--update-blue: hsl(217, 85%, 93%);
	--logo-red: #DE2910;
	--warning-red: hsl(7, 87%, 73%);
	--gray1: whitesmoke;
	--gray2: hsl(0, 0%, 86%);
	--gray3: darkgray;
	--gray4: dimgray;
	--gray5: hsl(0, 0%, 31%);
	--notice-yellow: hsl(46, 90%, 60%);
	--status-green: hsl(123, 70%, 40%);
}

.has-vivid-red-color {
	color: var(--logo-red) !important;
}

.has-pale-pink-background-color {
	background-color: var(--warning-red) !important;
}

.has-luminous-vivid-amber-background-color {
	background-color: var(--notice-yellow) !important;
}

span[style*="color:#cf2e2e" i] {
  color: var(--logo-red) !important;
}

.has-vivid-cyan-blue-color {
	color: var(--link-blue) !important;
}

.has-pale-cyan-blue-background-color {
	background-color: var(--update-blue) !important;
}

p.has-background[style*="background-color:#cad9f0" i] {
  background-color: var(--update-blue) !important;
}

.has-cyan-bluish-gray-background-color {
	background-color: var(--gray1) !important;
}

.has-cyan-bluish-gray-color {
	color: var(--gray3) !important;
}

mark[style*="color:#388e3c" i],
mark[style*="color: #388e3c" i],
span[style*="color:#008000" i], span[style*="color: #008000" i], mark[style*="color:#008000" i], mark[style*="color: #008000" i], mark[style*="color:#008800" i], mark[style*="color: #008800" i], .has-vivid-green-cyan-color {
  color: var(--status-green) !important;
}

/*GLOBAL FONT RULES*/

:root {
  font-size: 1.08rem; /* sets 1 em*/
}

body {
	font-size: 1rem;
}

html, body, button, input, select, textarea {
	font-family: equity_a, fzxk, "Kaiti SC", "STKaiti", "KaiTi", serif !important;
	line-height: 1.45;
	font-feature-settings: "onum", "ss01", "ss08", "ss11";
}

h1, h1.entry-title, h2, h3, h4, h5, h6 {
	font-family: equity_a, 'FZYouHeiS 508R', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', serif;
	font-weight: normal;
}

sup.fn {
	font-feature-settings: "lnum", "ss11";
	font-size: .7em;
  font-weight: bold;
}

b, strong {
	line-height: 1;
}

.case {
	font-feature-settings: "case" 1;
}

.lnum {
	font-feature-settings: "lnum";
}

.small-caps, .smcp {
  font-feature-settings: "smcp";
}

.c2sc {
	font-feature-settings: "c2sc", "smcp";
}

/*:lang(zh) {
  font-weight: normal !important;
}*/

/* BRANDING & NOTIBAR*/

.site-title {
	font-family: "Varela Round", san-serif !important;
	font-weight: normal;
	line-height: 1.1;
}

.site-description {
	font-size: 0.95em;
	color: var(--gray4);
}

.site-title {
	font-size: 2.3em;
}

.site-title a:hover {
	color: var(--link-blue);
}

.njt-nofi-text {
	font-size: 1em;
	line-height: 1.25;
}

.site-branding {
	padding-top: 0px;
}

.site-header img {
    width: 100%; /* Makes the image responsive */
    height: auto; /* Maintains the correct aspect ratio */
    max-width: 1188px; /* Prevents it from exceeding its intended size */
    object-fit: cover; /* Ensures proper fit without weird stretching */
}

@media screen and (max-width: 863px) {
    .site-header {
        height: auto !important; /* Allows the header container to adjust dynamically */
    }
}

@media (min-width: 864px) {
    .site-header {
        min-height: 240px;
    }
}

/* MENU*/

.menu > li > a {
	font-size: .95em;
	line-height: 1.4;
	font-weight: 600;
	font-feature-settings: "c2sc";
}

.menu ul li > a {
	line-height: 1.4;
}

/*.main-navigation .menu-item-has-children > a:after {
  vertical-align: text-top;
}*/

/*affects only mobile view*/
.dropdown-toggle {
	top: -1px;
}

/* === Desktop view === */
@media (min-width: 864px) {
  #primary-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: inherit; /* or inherit from header if needed */
	}
}

@media screen and (min-width: 864px) {
  .main-navigation .menu-item-has-children > a {
    white-space: nowrap; /* prevent wrapping inside the link */
  }
  .main-navigation .menu-item-has-children > a:after {
    content: "\f431";
    line-height: 1.5;
    margin-left: 6px;
    text-align: center;
    width: auto;
    display: inline-block;  /* better control */
  }
}
/*.menu .newsletter {
	color: crimson;
}*/

/* WIDGET*/

.widget {
	font-size: 0.95em;
	line-height: 1.38em;
}

.widget-title {
	font-size: 1.05em;
	text-transform: none;
	font-feature-settings: "c2sc";
}

.justified_widget {
	text-align: justify;
	hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
}

.no-auto-hyphen {
  hyphens: manual;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.widget_recent_entries .post-date {
	font-size: .9em;
	color: var(--gray4);
}

.widget_recent_entries ul li {
	margin-bottom: .6em;
}

.recent_legislation_widget {
	font-weight: bold;
	font-feature-settings: "smcp";
	background-color: var(--update-blue);
	padding: 4px 6px;
	border-radius: 4px;
}

.wp-block-button__link {
	font-size: .8em;
}

/* POSTS & PAGES */

a[title="Printer Friendly, PDF & Email"] {
	padding: 0 0 1em;
	align-items: center;
	font-feature-settings: "smcp", "c2sc";
}

p {
	margin: 0 0 1em;
}

h1, h1.entry-title {
	font-size: 1.476rem;
}

.page-title {
	font-feature-settings: "c2sc";
}

h2 {
	font-size: 1.383rem;
}

h3 {
	font-size: 1.296em;
}

h4 {
	font-size: 1.215em;
}

h4.has-vivid-red-color,
h4 .has-vivid-red-color * {
	font-feature-settings: "c2sc", "smcp";
	font-weight: bold;
}

h5 {
	font-size: 1.138em;
}

h6 {
	font-size: 1.067em;
}

blockquote {
	font-style: normal;
	font-weight: normal;
	font-size: .92em;
	color: black;
	line-height: 1.4em;
	padding-left: 1em;
	border-left: 3px solid var(--link-blue);
	font-family: seravek, 'FZYouHeiS', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', san-serif !important;
}

/*blockquote a {
	font-weight: 400;
}*/

mark {
	padding: 0em;
}

.entry-content ul ul li {
	list-style: circle;
}

.entry-content ul ul ul li {
	list-style: square;
}

.entry-content ul ul ul ul li {
	list-style: disc;
}

table ul, table ol {
	margin: 0 0 0 1.25em;
}

thead {
	text-align: center;
}
.post-modified-info {
	font-style: italic;
	background-color: var(--gray2);
	padding: 2px 6px;
	display: inline-block;
	border-radius: 3px;
}

/* Make all tables responsive */
table:not(.tablepress) {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Columns adjust width as needed */
}

/* On smaller screens, enable horizontal scroll if needed */
@media screen and (max-width: 863px) {
    table:not(.tablepress) {
        display: block;         /* Allows horizontal scrolling */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Smooth iOS scroll */
        min-width: 500px;       /* Prevents text from being too cramped */
    }
}

/* Hyphens */
.entry-content, .entry-content p.has-text-align-left {
	text-align: justify;
	hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
    hyphens: none !important;
}

.entry-content p.has-text-align-center {
	text-align: center;
	hyphens: none;
}

.entry-content p.has-text-align-right {
	text-align: right;
	hyphens: none;
}

/*.type-post li {
	text-align: justify;
	hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
}

.entry-content table {
	text-align: justify;
	hyphens: auto;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
}*/

html {
    -webkit-hyphenate-character: '-';
} /*Fixing improper display of hyphens*/

.wp-block-image figcaption,
.wp-block-table figcaption {
	font-size: 0.85em;
	line-height: 1.2em;
	color: var(--gray4);
	text-align: center;
}

.caption {
	font-size: 0.9em;
	line-height: 1.3em;
	color: var(--gray4);
}

.tooltip {
  position: relative;
  cursor: help;
  display: inline-block;
  text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--gray3);
	text-underline-offset: 3.5px;
}

a:hover .tooltip {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: black;
  text-underline-offset: 3px;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: var(--gray5);
  color: white;
	font-feature-settings: "c2sc";
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 999;
  transition: opacity 0.2s;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.arrow-jump-link::after {
  content: "🔝";
}

.arrow-jump-link::after,
.emoji-jump-link {
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gray3);
  text-underline-offset: 3.5px;
}

.arrow-jump-link:hover {
	text-decoration: none;
}

.current-text-highlight {
	background-color: var(--update-blue);
	transition: background-color 1s ease;
    }

.consultation-ongoing, .agency-consultation-text {
	background-color: var(--update-blue);
	padding: 2px 6px;
	border-radius: 4px;
}

.more-link {
	color: var(--logo-red);
	font-feature-settings: "c2sc";
	font-weight: bold;
	background-color: var(--gray1);
	padding: 3px 6px;
	border-radius: 6px;
}

.more-link:hover {
	text-decoration: none !important;
}

/*PARTICULAR BLOCKS/PLUGINS*/

.priorbill .c-accordion__title {
	color: black;
	font-weight: 600;
	font-feature-settings: "c2sc";
}

.priorbill .c-accordion__title:hover {
  color: var(--link-blue);
}

.wp-block-separator {
	border: none;
	height: 3px;
	background-color: var(--gray3);
}

.wp-block-separator.has-vivid-red-background-color {
	background-color: var(--logo-red) !important;
}

.su-divider {
	border-color: var(--logo-red) !important;
}

.wp-block-separator.is-style-dots {
  border: none; /* Ensure no border is applied */
  height: auto; /* Remove any height restriction for the dots */
  background: none; /* Remove background color to prevent overlapping */
  text-align: center; /* Center align the dots */
}

.wp-block-separator.is-style-dots:before {
	content: "⭑⭑⭑";
	font-size: 0.6em;
	letter-spacing: 3em;
	color: var(--logo-red);
	padding-left: 3em;
	display: inline-block; /* Ensure it's displayed correctly */
  width: 100%; /* Stretch the content across the separator */
}

.wp-block-footnotes {
	font-size: 0.9em;
	line-height: 1.4em;
}

.wp-block-footnotes strong,
.wp-block-footnotes b {
  font-variant: small-caps;
	font-feature-settings: "smcp";
  font-weight: normal;
}

.wp-block-footnotes u {
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}

code, kbd { 
  font-family: "Fira Mono", monospace;
	font-size: 0.8em;
	padding: 0;
	background: var(--gray1);
}

.pdfp_iframe {
  display: block;
  margin-bottom: 0 !important;
}

.pdfp_wrapper,
.iframe_wrapper {
  overflow: hidden;
}

.pdfp_wrapper {
	padding-bottom: 0 !important;
  margin-bottom: 1.5em;
}

.cta_wrapper a {
	background-color: var(--update-blue) !important;
	font-size: .8em;
	font-weight: 600;
	color: black !important;
} /*PDF embed buttons*/

/*Tablepress*/
.tablepress-id-21 .column-1, .tablepress-id-22 .column-1 {
	font-feature-settings: "tnum", "onum";
}

.tablepress-table-name {
	font-size: 1em;
	font-weight: bold;
	font-feature-settings: "smcp";
}

/*.wp-block-coblocks-accordion-item__title {
  position: relative;
  cursor: pointer;
  padding-left: 1.8em;
}

.wp-block-coblocks-accordion-item__title::before {
  content: '▶';
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75em;
  transition: transform 0.2s ease;
}

.wp-block-coblocks-accordion-item details[open] .wp-block-coblocks-accordion-item__title::before {
  transform: translateY(-50%) rotate(90deg);
}*/

.nturl {
	font-size: 1rem;
}

.gt-lang-code {
	font-family: equity_a;
	font-feature-settings: "c2sc";
	font-size: 1.3em;
}

/* HYPERLINKS/ URLs*/

a, #rdp-we-main a {
	line-height: 1em;
	color: var(--link-blue);
	font-weight: inherit;
}

h2 a {
	color: var(--link-blue);
}

/*a:hover {
	color: black;
}*/

.entry-content a:hover, .widget a:hover {
	color: black;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.default-url-color a {
	color: var(--link-blue) !important;
}

.default-url-color a:hover {
	color: inherit !important;
}

strong a {
  font-weight: inherit;
}

.entry-title a {
	color: black;
	text-decoration: none;
}

.entry-title a:visited {
  color: black;
}

.entry-title a:hover, .entry-title a:active {
  color: var(--link-blue);
}

.author.vcard a {
	color: black !important;
} /*Author card*/

/*a[rel='category tag'], .entry-date, .byline {
	font-feature-settings: "c2sc";
}*/

/* RELATED POSTS 
.hentry div#jp-relatedposts.entry-related h3.jp-relatedposts-headline {
	font-family: garamond-premier-pro-caption, serif;
	font-weight: normal;
	font-size: 0.9em;
}

.jp-relatedposts-post-title {
	font-weight: 500 !important;
}

.jp-relatedposts-post-date {
	color: var(--dark-gray);
	opacity: 1 !important;
}*/

/* FOOTER, PREV/NEXT & COMMENTS*/

.entry-footer {
	margin-bottom: 5px;
	padding-top: 5px;
	font-size: 0.9em;
	color: var(--gray4);
}

.entry-footer a:hover {
	color: var(--link-blue);
}

.post-navigation .meta-nav {
	text-transform: uppercase;
	font-feature-settings: "c2sc";
	font-size: 1.05em;
	color: black;
	line-height: 1.5em;
	padding-bottom: 4px;
}

.meta-nav:hover ~ .post-title {
	color:black !important;
}

.post-navigation {
	margin-bottom: 1.5em !important;
}

.comments-title {
	font-feature-settings: "c2sc";
	font-size: 1.05em;
}

.post-navigation .post-title {
	font-family: equity_a, serif;
	text-transform: none;
	color: var(--link-blue);
	font-size: 0.9em;
	line-height: 1.5em;
	font-weight: 500;
}

.post-navigation .post-title:hover {
	color: black !important;
}

.comment-reply-title {
	font-size: 1.05em;
	font-feature-settings: "c2sc";
}

.comment-author {
	font-family: equity_a, serif;
	font-feature-settings: "c2sc";
}

.comment-body {
	font-size: 0.9em;
}

.comment-list {
	margin-bottom: 0;
}
.no-comments {
	font-size: 1.05em;
	font-family: equity_a, serif;
	font-feature-settings: "c2sc";
	font-weight: normal;
}

 /*social media buttons*/
.sd-sharing-enabled {
	padding-top: 10px;
}

.sd-block {
	padding-top: 0px;
}

.hentry {
	margin-bottom: 1.5em;
}

.hentry div.jetpack-likes-widget-wrapper {
margin-bottom: 0;
}

/*Hide tags on homepage*/
.home .post .entry-footer .tags-links {
    display: none;
}

/* VISUAL LINK PREVIEW*/
.vlp-layout-compact-edited .vlp-link-title {
	color: var(--logo-red);
	font-feature-settings: "smcp", "c2sc";
}

.vlp-layout-compact-edited-xl .vlp-link-title {
	color: var(--logo-red);
	font-feature-settings: "smcp", "c2sc";
}

.vlp-link-title {
	font-weight: bold;
}

/*Criminal Law Relevant Bills*/
.roman .vlp-link-title {
	font-feature-settings: "smcp" 0;
	font-size: 1em !important;
	margin-top: 10px !important;
	margin-bottom: 2px !important;
}

.vlp-block-2.vlp-link-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
} /* Vertically and horizontally center feature images in VLP*/

/*CONTACT FORM BUTTON FONT*/

input[type="submit"][value="Submit"] {
	font-feature-settings: "case";
}

/*Formating Editor's Note in PEPL Commentary*/
#pepl-ed-note {
	padding: 1.25em 2.375em;
	margin: 0 0 1em;
	background-color: var(--gray1) !important;
}

#pepl-ed-note p:last-child {
  margin-bottom: 0;
}