/*
Theme Name: Scitax Horizontal
Theme URI: https://www.scitax.com/
Description: Scitax WordPress theme with editor-owned page content and classic PHP templates.
Author: We Think Central
Version: 0.1.0
Text Domain: scitax-horizontal
*/

:root {
	--scitax-red: #990000;
	--scitax-deep-red: #3e0c0d;
	--scitax-blue: #1f4f82;
	--scitax-soft: #ededed;
	--scitax-border: #d1d1d1;
	--scitax-text: #111111;
	--scitax-max: 976px;
	--scitax-page-bg: #f7f7f7;
	--scitax-content-bg: #ffffff;
	--scitax-card-border: #e7e4e0;
	--scitax-card-shadow: 0 1px 2px rgba(40, 25, 15, 0.05), 0 2px 10px rgba(40, 25, 15, 0.06);
	--scitax-sticky-top: 196px;
	--scitax-sidebar-bg: var(--scitax-soft);
	--scitax-sidebar-border: #d1d1d1;
	--scitax-sidebar-divider: #d8d8d8;
	--scitax-sidebar-hover-bg: #f7f3f1;
	--scitax-sidebar-radius: 0.25rem;
	--scitax-sidebar-padding: 0.75rem;
	--scitax-sidebar-group-gap: 0.75rem;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	background: var(--scitax-page-bg);
	color: var(--scitax-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

/* Keyboard focus visibility (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--scitax-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

.scitax-nav a:focus-visible,
.scitax-brand-panel a:focus-visible {
	outline-color: #ffffff;
	outline-offset: -3px;
}

/* Respect reduced-motion preferences (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

body.scitax-menu-open {
	overflow: hidden;
}

a {
	color: var(--scitax-blue);
}

a:hover,
a:focus {
	color: var(--scitax-red);
}

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

.scitax-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--scitax-page-bg);
	box-shadow: 0 2px 10px rgba(40, 25, 15, 0.07);
}

.single-bulletin .scitax-header {
	position: static;
}

.scitax-header-top {
	display: grid;
	grid-template-columns: 300px 1fr;
	max-width: var(--scitax-max);
	margin: 8px auto 0;
	border: 2px solid #000000;
	background: var(--scitax-content-bg);
	box-shadow: var(--scitax-card-shadow);
}

.scitax-nav-wrap {
	box-shadow: var(--scitax-card-shadow);
}

.scitax-logo-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 100px;
	padding: 10px 14px;
	background: var(--scitax-content-bg);
}

.scitax-logo-panel img {
	display: block;
	width: 297px;
}

.scitax-brand-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: 18px 22px 10px;
	background: var(--scitax-red);
	color: #ffffff;
	text-align: right;
}

.scitax-date-line {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
}

.scitax-date-line img {
	width: 48px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.scitax-tagline {
	font-size: 29px;
	font-weight: 700;
	line-height: 1.08;
}

.scitax-menu-toggle {
	display: none;
	border: 1px solid var(--scitax-deep-red);
	background: var(--scitax-content-bg);
	color: var(--scitax-deep-red);
	font: bold 14px Arial, Helvetica, sans-serif;
	padding: 8px 12px;
	cursor: pointer;
}

.scitax-menu-icon {
	display: inline-block;
	margin-right: 6px;
	font-size: 18px;
	line-height: 1;
	vertical-align: -1px;
}

.scitax-nav-wrap {
	max-width: var(--scitax-max);
	margin: 18px auto 0;
	background: var(--scitax-red);
}

.scitax-nav {
	display: flex;
	align-items: center;
	justify-content: center;
}

.scitax-nav a {
	display: block;
	padding: 11px 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.24);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.scitax-nav a:first-child {
	border-left: 0;
}

.scitax-nav a:hover,
.scitax-nav a:focus,
.scitax-nav a.scitax-nav-active {
	background: var(--scitax-deep-red);
	color: #ffffff;
}

@keyframes scitax-menu-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.scitax-mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 240ms ease;
}

.scitax-mobile-overlay.scitax-overlay-visible {
	opacity: 1;
	pointer-events: auto;
}

.scitax-main {
	max-width: var(--scitax-max);
	margin: 0 auto;
	padding: 48px 0 56px;
}

/* Keep content off the viewport edge between mobile and full desktop width */
@media (max-width: 1024px) {
	.scitax-main {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.scitax-service-diagram {
	max-width: 672px;
	margin: 0 auto 30px;
	font-size: 0;
	line-height: 0;
	text-align: center;
}

.scitax-service-diagram img {
	display: inline-block;
	vertical-align: top;
}

.scitax-service-diagram img[src*="diag.top.jpg"] { width: 49.702%; }
.scitax-service-diagram img[src*="optimize."] { width: 50.298%; }
.scitax-service-diagram img[src*="appeals."] { width: 55.655%; }
.scitax-service-diagram img[src*="project."] { width: 44.345%; }
.scitax-service-diagram img[src*="cra."] { width: 54.167%; }
.scitax-service-diagram img[src*="expenditure."] { width: 45.833%; }
.scitax-service-diagram img[src*="time."] { width: 52.679%; }
.scitax-service-diagram img[src*="writep."] { width: 47.321%; }
.scitax-service-diagram img[src*="review."] { width: 60.119%; }
.scitax-service-diagram img[src*="diag.bottom.jpg"] { width: 39.881%; }

.scitax-firm-copy {
	/*max-width: 560px;*/
	margin: 0 auto;
	/*padding: 34px 42px;*/
	background: var(--scitax-content-bg);
	color: #000000;
}

.scitax-firm-copy p {
	margin: 0 0 16px;
}

.scitax-inner-main {
	display: grid;
	grid-template-columns: 256px minmax(0, 1fr);
	align-items: start;
	gap: 42px;
	padding-top: 38px;
}

/* Pages without a sidebar (terms, client area): single full-width column */
.scitax-inner-main.scitax-main--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.scitax-inner-main.scitax-main--no-sidebar .scitax-page-content {
	max-width: 860px;
}

.scitax-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--scitax-sidebar-group-gap);
	align-self: start;
	padding: var(--scitax-sidebar-padding);
	border: 1px solid var(--scitax-sidebar-border);
	border-radius: var(--scitax-sidebar-radius);
	background: var(--scitax-sidebar-bg);
}

/* Applied by theme.js only when the sidebar fits below the header. */
.scitax-sidebar-sticky {
	position: sticky;
	top: var(--scitax-sticky-top);
}

.scitax-inner-submenu {
	background: var(--scitax-sidebar-bg);
	border: 1px solid var(--scitax-sidebar-border);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: var(--scitax-card-shadow);
}

.scitax-whats-new a {
	font-size: 14px;
	line-height: 1.5;
}

.scitax-whats-new-item {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.scitax-whats-new-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.scitax-whats-new-date {
	color: #6b6560;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.scitax-whats-new-icon {
	flex: 0 0 auto;
	margin-top: 2px;
	color: var(--scitax-red);
	opacity: 0.75;
}

.scitax-whats-new-item:hover .scitax-whats-new-icon,
.scitax-whats-new-item:focus .scitax-whats-new-icon {
	opacity: 1;
}

.scitax-inner-submenu-title {
	padding: 9px 12px;
	background: var(--scitax-deep-red);
	color: #ffffff;
	font-weight: 700;
	border: 1px solid var(--scitax-deep-red);
}

.scitax-inner-submenu a {
	display: block;
	padding: 10px 12px;
	border-bottom: 1px solid var(--scitax-sidebar-divider);
	background: var(--scitax-sidebar-bg);
	color: var(--scitax-blue);
	font-size: 15px;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.scitax-inner-submenu a:last-child {
	border-bottom: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.scitax-inner-submenu a:hover,
.scitax-inner-submenu a:focus {
	background: var(--scitax-sidebar-hover-bg);
	color: var(--scitax-red);
}

.scitax-inner-submenu a.scitax-submenu-active {
	background: var(--scitax-red);
	color: #ffffff;
	font-weight: 700;
}

.scitax-anniversary-panel {
	padding: 18px 12px;
	text-align: center;
	background: var(--scitax-sidebar-bg);
	border: 1px solid var(--scitax-sidebar-border);
	border-radius: 4px;
	box-shadow: var(--scitax-card-shadow);
}

.scitax-anniversary-panel img {
	max-width: 100%;
	height: auto;
}

.scitax-page-content {
	min-height: 340px;
	padding: 28px 32px 48px;
	background: var(--scitax-content-bg);
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	box-shadow: var(--scitax-card-shadow);
}

.scitax-home-content {
	padding: 32px 32px 40px;
	background: var(--scitax-content-bg);
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	box-shadow: var(--scitax-card-shadow);
}

.scitax-page-title {
	margin: 0 0 16px;
	padding: 0 0 11px;
	border-bottom: 1px solid #dadada;
	color: var(--scitax-deep-red);
	font-size: 26px;
	line-height: 1.2;
}

.scitax-bulletin-intro,
.scitax-bulletin-detail-header {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #d9dadb;
}

.scitax-bulletin-intro h1,
.scitax-bulletin-detail-header h1 {
	margin: 0 0 10px;
	color: #1a1a1a;
	font-size: 32px;
	line-height: 1.2;
}

.scitax-bulletin-description,
.scitax-bulletin-detail-header h2 {
	color: #495057;
	font-size: 18px;
	line-height: 1.55;
}

.scitax-bulletin-description > *:first-child {
	margin-top: 0;
}

.scitax-bulletin-description > *:last-child {
	margin-bottom: 0;
}

.scitax-bulletin-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.scitax-bulletin-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	border: 1px solid #e4beb8;
	border-radius: 4px;
	background: var(--scitax-content-bg);
	color: #1f4f82;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(40, 25, 15, 0.05);
	transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.scitax-bulletin-card:hover,
.scitax-bulletin-card:focus {
	transform: translateY(-1px);
}

.scitax-bulletin-card:hover,
.scitax-bulletin-card:focus {
	border-color: var(--scitax-red);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	color: var(--scitax-red);
}

.scitax-bulletin-card-main {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.scitax-bulletin-meta {
	display: flex;
	flex: 0 0 112px;
	flex-direction: column;
	gap: 3px;
}

.scitax-bulletin-meta time {
	color: #5c5c5c;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.scitax-bulletin-meta strong {
	color: var(--scitax-red);
	font-size: 20px;
	line-height: 1.2;
}

.scitax-bulletin-card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.scitax-bulletin-pdf-icon {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f1f3f5;
	color: #666666;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.scitax-bulletin-card:hover .scitax-bulletin-pdf-icon,
.scitax-bulletin-card:focus .scitax-bulletin-pdf-icon {
	background: #ffdad4;
	color: var(--scitax-red);
}

.scitax-bulletin-detail-header h2 {
	margin: 0 0 20px;
	font-weight: 600;
}

.scitax-bulletin-download {
	display: inline-block;
	padding: 11px 18px;
	border-radius: 4px;
	background: var(--scitax-red);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(40, 25, 15, 0.15);
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.scitax-bulletin-download:hover,
.scitax-bulletin-download:focus {
	box-shadow: 0 3px 8px rgba(40, 25, 15, 0.2);
	transform: translateY(-1px);
}

.scitax-bulletin-download:hover,
.scitax-bulletin-download:focus {
	background: var(--scitax-deep-red);
	color: #ffffff;
}

.scitax-bulletin-body {
	font-size: 16px;
	line-height: 1.65;
}

.scitax-court-case-source-description {
	max-width: 780px;
	margin: 0 0 32px;
	padding: 18px 22px;
	border: 1px solid #d8d8d8;
	border-left: 5px solid var(--scitax-red);
	background: #f7f7f7;
	box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
	color: #222222;
	font-size: 15.5px;
	line-height: 1.68;
}

.scitax-court-case-source-description p {
	margin: 0;
}

.scitax-court-case-source-description .scitax-court-case-commentary-quote {
	padding: 0.07em 0.26em 0.1em;
	border-bottom: 1px solid rgba(153, 0, 0, 0.28);
	border-radius: 3px;
	background: rgba(255, 241, 207,0.3); /*#fff1cf;*/
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	color: #3a2416;
	/*font-family: Georgia, "Times New Roman", serif;*/
	font-style: italic;
	/*font-weight: 600;*/
}

.scitax-court-case-layout {
	max-width: 780px;
	color: #111111;
	font-size: 12pt;
	line-height: 1.35;
}

.scitax-court-page {
	margin: 0 0 26px;
}

.scitax-court-line {
	margin: 0 0 2px;
	line-height: 1.35;
}

.scitax-court-line-gap {
	margin-top: 12px;
}

.scitax-court-rule {
	display: block;
	width: 100%;
	margin: 6px 0;
	border: 0;
	background: #111111;
}

.scitax-court-case-link {
	color: inherit;
	text-decoration: underline;
}

.scitax-bulletin-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #d9dadb;
}

.scitax-bulletin-nav-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 48%;
	padding: 12px 16px;
	border: 1px solid #e4beb8;
	border-radius: 4px;
	background: var(--scitax-content-bg);
	color: var(--scitax-blue);
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.scitax-bulletin-nav-btn:hover,
.scitax-bulletin-nav-btn:focus {
	border-color: var(--scitax-red);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	color: var(--scitax-red);
}

.scitax-bulletin-nav-next {
	margin-left: auto;
	text-align: right;
}

.scitax-bulletin-nav-label {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.scitax-bulletin-nav-dir {
	color: #888888;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.scitax-bulletin-nav-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.scitax-bulletin-nav-arrow {
	flex-shrink: 0;
	font-size: 20px;
}

.scitax-whitepaper-appendix-directory {
	margin-top: 36px;
	padding: 24px;
	border: 1px solid #d9dadb;
	border-radius: 6px;
	background: #f8f9fa;
}

.scitax-whitepaper-appendix-directory h2 {
	margin: 0 0 8px;
}

.scitax-whitepaper-appendix-directory p {
	margin: 0 0 16px;
}

.scitax-whitepaper-appendix-directory ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 8px 20px;
	margin: 0;
	padding-left: 20px;
}

.scitax-whitepaper-appendix-directory--compact {
	margin-top: 20px;
	padding: 0;
	border: 0;
	background: transparent;
}

.scitax-whitepaper-appendix-directory--compact summary {
	cursor: pointer;
	color: var(--scitax-blue);
	font-weight: 700;
}

.scitax-whitepaper-appendix-directory--compact ul {
	margin-top: 12px;
}

.scitax-whitepaper-appendix-parent {
	margin: 0 0 18px;
}

.scitax-whitepaper-appendix-parent-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--scitax-blue);
	border-radius: 4px;
	background: #f5f8fa;
	box-shadow: var(--scitax-card-shadow);
	color: var(--scitax-blue);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.scitax-whitepaper-appendix-parent-link:hover,
.scitax-whitepaper-appendix-parent-link:focus {
	border-color: var(--scitax-red);
	background: #fff7f6;
	color: var(--scitax-red);
}

.scitax-whitepaper-appendix-parent-arrow {
	font-size: 24px;
	line-height: 1;
}

.scitax-whitepaper-appendix-parent-kicker,
.scitax-whitepaper-appendix-parent-title {
	display: block;
}

.scitax-whitepaper-appendix-parent-kicker {
	margin-bottom: 2px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.scitax-whitepaper-appendix-parent-title {
	font-size: 16px;
}

.scitax-whitepaper-appendix-body .milstd {
	overflow-wrap: anywhere;
}

.scitax-whitepaper-appendix-body .milstd ul.wbs {
	padding-left: 1em;
}

@media (max-width: 640px) {
	.scitax-whitepaper-appendix-directory {
		margin-top: 28px;
		padding: 18px;
	}

	.scitax-whitepaper-appendix-directory ul {
		grid-template-columns: 1fr;
	}
}

.scitax-footer {
	background: var(--scitax-deep-red);
	color: #b7b1b1;
	font-size: 14px;
}

.scitax-footer-inner {
	max-width: var(--scitax-max);
	margin: 0 auto;
	padding: 15px 16px;
	text-align: center;
}

.scitax-footer a {
	color: #b7b1b1;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 180ms ease;
}

.scitax-footer a:hover,
.scitax-footer a:focus {
	color: #ffffff;
}

.scitax-back-to-top-bottom {
	max-width: var(--scitax-max);
	margin: 0 auto;
	padding: 0 16px 16px;
	text-align: right;
}

.scitax-back-to-top-bottom a,
.scitax-back-to-top-floating {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid var(--scitax-blue);
	border-radius: 4px;
	background: var(--scitax-content-bg);
	box-shadow: var(--scitax-card-shadow);
	color: var(--scitax-blue);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.scitax-back-to-top-bottom[hidden],
.scitax-back-to-top-floating[hidden] {
	display: none;
}

.scitax-back-to-top-bottom a:hover,
.scitax-back-to-top-bottom a:focus,
.scitax-back-to-top-floating:hover,
.scitax-back-to-top-floating:focus {
	border-color: var(--scitax-red);
	background: #fff7f6;
	color: var(--scitax-red);
}

.scitax-back-to-top-floating {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 30;
}

@media (max-width: 767px) {
	.scitax-header-top {
		display: block;
		margin: 0;
		border-width: 0 0 2px;
		border-color: var(--scitax-deep-red);
	}

	.scitax-logo-panel {
		min-height: 87px;
		padding: 10px 12px;
	}

	.scitax-back-to-top-bottom {
		padding: 0 12px 16px;
	}

	.scitax-back-to-top-floating {
		right: 12px;
		bottom: 12px;
	}

	.scitax-logo-panel img {
		width: 210px;
	}

	.scitax-menu-toggle {
		display: inline-block;
		flex: 0 0 auto;
	}

	.scitax-brand-panel {
		padding: 16px 12px 18px;
		text-align: left;
	}

	.scitax-date-line {
		justify-content: flex-start;
		font-size: 13px;
	}

	.scitax-tagline {
		font-size: 24px;
	}

	.scitax-nav-wrap {
		position: fixed;
		top: var(--scitax-mobile-header-height, 87px);
		left: 0;
		right: 0;
		z-index: 60;
		display: none;
		width: 100%;
		margin: 0;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
	}

	.scitax-nav-wrap.scitax-nav-visible {
		display: block;
		animation: scitax-menu-in 220ms ease;
	}

	.scitax-nav {
		display: block;
	}

	.scitax-nav a {
		padding: 12px 16px;
		border-left: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.24);
		font-size: 15px;
	}

	.scitax-main {
		width: 100%;
		padding: 38px 12px 44px;
	}

	.scitax-service-diagram {
		margin-bottom: 24px;
	}

	.scitax-firm-copy {
		padding: 22px 14px;
	}

	/* Content first on small screens; menus follow below. */
	.scitax-inner-main {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding-top: 28px;
	}

	.scitax-sidebar {
		order: 2;
	}

	.scitax-page-content,
	.scitax-home-content {
		order: 1;
	}

	.scitax-sidebar {
		gap: var(--scitax-sidebar-group-gap);
		margin: 0 0 3em;
		padding: var(--scitax-sidebar-padding);
		position: static;
		max-height: none;
		overflow: visible;
	}

	.scitax-sidebar .scitax-inner-submenu {
		margin-bottom: 0;
	}

	.scitax-inner-submenu {
		margin-bottom: 3em;
	}

	.scitax-sidebar .scitax-inner-submenu:last-child {
		margin-bottom: 0;
	}

	.scitax-anniversary-panel {
		display: none;
	}

	.scitax-page-content {
		min-height: 260px;
		padding: 20px 16px 30px;
	}

	.scitax-home-content {
		padding: 24px 16px 30px;
	}

	.scitax-page-title {
		font-size: 23px;
	}

	.scitax-bulletin-intro h1,
	.scitax-bulletin-detail-header h1 {
		font-size: 26px;
	}

	.scitax-bulletin-description,
	.scitax-bulletin-detail-header h2 {
		font-size: 16px;
	}

	.scitax-bulletin-card,
	.scitax-bulletin-card-main {
		align-items: flex-start;
	}

	.scitax-bulletin-card-main {
		flex-direction: column;
		gap: 10px;
	}

	.scitax-bulletin-meta {
		flex-basis: auto;
	}

	.scitax-bulletin-card-title {
		font-size: 16px;
	}
}

/* Bulletin HTML content */

.scitax-bulletin-html {
	max-width: 720px;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

.scitax-bulletin-flow {
	max-width: 780px;
	font-size: 16px;
	line-height: 1.55;
}

.scitax-bulletin-flow-content {
	margin: 0;
	padding: 0;
}

.scitax-bulletin-flow-p {
	margin: 0 0 15px;
	line-height: 1.55;
	letter-spacing: 0;
}

.scitax-bulletin-flow ul,
.scitax-bulletin-flow ol {
	margin: 0 0 18px 28px;
	padding: 0;
	line-height: 1.55;
}

.scitax-bulletin-flow li {
	margin: 0 0 7px;
	padding-left: 6px;
}

.scitax-bulletin-flow .scitax-bulletin-lead-list {
	color: #005496;
	font-size: 16px;
}

.scitax-bulletin-flow .scitax-bulletin-planning-list {
	margin-left: 34px;
}

.scitax-bulletin-flow .scitax-bulletin-alpha-list {
	list-style-type: upper-alpha;
}

.scitax-bulletin-image-stack {
	margin: 18px 0;
}

.scitax-bulletin-image-stack .scitax-bulletin-flow-image {
	margin: 0;
}

.scitax-bulletin-image-stack img {
	display: block;
}

.scitax-bulletin-flow table {
	width: 100%;
	margin: 18px 0 8px;
	border-collapse: collapse;
	font-size: inherit;
	line-height: 1.35;
}

.scitax-bulletin-flow .scitax-bulletin-compact-table {
	max-width: 360px;
}

.scitax-bulletin-flow th,
.scitax-bulletin-flow td {
	padding: 7px 12px;
	border: 1px solid #000000;
	text-align: left;
	vertical-align: top;
}

.scitax-bulletin-flow th {
	font-weight: 400;
	text-align: center;
}

.scitax-bulletin-flow td:nth-child(n+2) {
	text-align: center;
}

.scitax-bulletin-table-note {
	margin-top: 0;
	font-size: inherit;
}

.scitax-bulletin-flow-heading {
	margin: 24px 0 12px;
	line-height: 1.25;
	letter-spacing: 0;
}

.scitax-bulletin-flow-heading.scitax-bulletin-flow-reverse {
	background: #1f1f1f;
	padding: 10px 14px;
	margin-bottom: 0;
}

.scitax-bulletin-flow-heading.scitax-bulletin-flow-reverse + .scitax-bulletin-flow-heading.scitax-bulletin-flow-reverse {
	margin-top: 0;
	padding-top: 0;
}

.scitax-bulletin-flow-content > .scitax-bulletin-flow-heading:first-child {
	margin-top: 0;
}

.scitax-bulletin-flow-link-line {
	margin-top: -8px;
	overflow-wrap: anywhere;
}

.scitax-bulletin-flow-meta {
	margin-bottom: 12px;
	letter-spacing: 0.02em;
}

.scitax-bulletin-flow-link,
.pdf-inline-link {
	color: #005496;
	text-decoration: underline;
}

.scitax-bulletin-flow-link:hover,
.scitax-bulletin-flow-link:focus,
.pdf-inline-link:hover,
.pdf-inline-link:focus {
	color: #7b1d15;
}

.scitax-bulletin-flow-image {
	margin: 22px 0;
}

.scitax-bulletin-flow-image img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.scitax-bulletin-flow-rule {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 22px 0;
	border: 0;
	background: #a0a0a0;
}

.scitax-bulletin-flow-image-rule {
	height: 2px;
}

.scitax-bulletin-pdf-layout {
	max-width: none;
	font-size: 0;
	line-height: 1;
}

.pdf-layout-pages {
	display: block;
	margin: 0;
	padding: 0;
	background: transparent;
}

.pdf-layout-page {
	position: relative;
	box-sizing: content-box;
	margin: 0;
	overflow: hidden;
	background: var(--scitax-content-bg);
	color: #000000;
	font-size: 0;
	line-height: 1;
}

.pdf-text-fragment {
	position: absolute;
	z-index: 3;
	display: block;
	margin: 0;
	padding: 0;
	white-space: pre;
	line-height: 1;
	text-align: left;
	text-decoration: none;
	text-rendering: geometricPrecision;
	transform-origin: left top;
}

.pdf-image-fragment {
	position: absolute;
	z-index: 2;
	display: block;
	margin: 0;
	padding: 0;
	max-width: none;
	object-fit: fill;
	transform-origin: left top;
}

.pdf-shape-fragment {
	position: absolute;
	z-index: 1;
	display: block;
	margin: 0;
	padding: 0;
	transform-origin: left top;
}

.pdf-path-layer {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.pdf-path-crop {
	position: absolute;
	z-index: 2;
	display: block;
	margin: 0;
	padding: 0;
	overflow: visible;
	pointer-events: none;
}

.pdf-link-overlay {
	position: absolute;
	z-index: 4;
	display: block;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: transparent;
	text-indent: -9999px;
	background: transparent;
}

.scitax-bulletin-slide-deck {
	max-width: 860px;
}

.scitax-bulletin-slide-note {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #d9dadb;
	background: #f3f4f5;
	color: #495057;
	font-size: 14px;
	font-weight: 600;
}

.scitax-bulletin-slide-deck h3 {
	margin: 0 0 18px;
	color: #005496;
	font-size: 24px;
	line-height: 1.25;
}

.scitax-bulletin-slide-pages {
	display: grid;
	gap: 24px;
	padding: 18px;
	background: #edeeef;
}

.scitax-bulletin-slide-page {
	margin: 0;
}

.scitax-bulletin-slide-page img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #d4d4d4;
	background: var(--scitax-content-bg);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.scitax-bulletin-slide-transcript {
	border: 1px solid #d4d4d4;
	background: var(--scitax-content-bg);
}

.scitax-bulletin-slide-transcript summary {
	padding: 13px 16px;
	cursor: pointer;
	color: #005496;
	font-weight: 700;
}

.scitax-bulletin-slide-transcript[open] summary {
	border-bottom: 1px solid #d4d4d4;
}

.scitax-bulletin-slide-transcript-content {
	padding: 16px;
	color: #252525;
}

.scitax-bulletin-slide-transcript-content p {
	margin: 0;
	white-space: normal;
}

.scitax-bulletin-slide-transcript-content p + p,
.scitax-bulletin-slide-transcript-content p + h5,
.scitax-bulletin-slide-transcript-content h4 + p,
.scitax-bulletin-slide-transcript-content h5 + p {
	margin-top: 12px;
}

.scitax-bulletin-slide-transcript-content h4,
.scitax-bulletin-slide-transcript-content h5 {
	margin: 0;
	color: #005496;
}

.scitax-bulletin-slide-transcript-content h5 {
	font-size: 1em;
}

.scitax-bulletin-slide-transcript-content ol,
.scitax-bulletin-slide-transcript-content ul {
	margin: 12px 0 0;
	padding-left: 24px;
}

.scitax-bulletin-slide-transcript-content li + li {
	margin-top: 8px;
}

.scitax-bulletin-slide-transcript-content li > ul {
	margin-top: 8px;
}

.scitax-bulletin-slide-transcript-content table {
	width: 100%;
	margin-top: 12px;
	border-collapse: collapse;
	font-size: 0.94em;
}

.scitax-bulletin-slide-transcript-content th,
.scitax-bulletin-slide-transcript-content td {
	padding: 8px;
	border: 1px solid #d4d4d4;
	text-align: left;
	vertical-align: top;
}

.scitax-bulletin-slide-transcript-content th {
	background: #f3f4f5;
	color: #005496;
}

@media (max-width: 767px) {
	.pdf-layout-page {
		zoom: 0.82;
	}

	.scitax-bulletin-slide-pages {
		margin-inline: -12px;
		padding: 0;
		background: transparent;
	}

	.scitax-bulletin-slide-page img {
		border-right: 0;
		border-left: 0;
		box-shadow: none;
	}
}

@media (max-width: 480px) {
	.pdf-layout-page {
		zoom: 0.52;
	}
}

@media (max-width: 400px) {
	.pdf-layout-page {
		zoom: 0.42;
	}
}

/* ─── Inner page content typography (static pages) ──────────────────────── */

.scitax-page-content h2 {
	margin: 30px 0 10px;
	color: var(--scitax-deep-red);
	font-size: 20px;
	line-height: 1.25;
}

.scitax-page-content h3 {
	margin: 22px 0 8px;
	color: var(--scitax-blue);
	font-size: 17px;
	line-height: 1.3;
}

.scitax-page-content p {
	margin: 0 0 14px;
	line-height: 1.6;
}

.scitax-page-content ul,
.scitax-page-content ol {
	margin: 0 0 16px;
	padding-left: 26px;
}

.scitax-page-content li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.scitax-page-content li::marker {
	color: var(--scitax-red);
}

.scitax-page-content img {
	max-width: 100%;
	height: auto;
}

.scitax-lead {
	color: #333333;
	font-size: 17px;
	line-height: 1.6;
}

.scitax-pdf-tag {
	color: #808080;
	font-size: 0.85em;
	white-space: nowrap;
}

/* ITA provision pages (Income Tax Act excerpt library) */
.scitax-ita-meta {
	margin: 4px 0 12px;
	color: #666666;
	font-size: 14px;
}

.scitax-ita-excerpt {
	margin: 16px 0;
	padding: 16px 22px;
	border-left: 4px solid var(--scitax-blue);
	border-radius: 0 4px 4px 0;
	background: #f7f8fa;
	font-style: normal;
}

.scitax-ita-excerpt p {
	margin: 0 0 10px;
}

.scitax-ita-excerpt p:last-child {
	margin-bottom: 0;
}

.scitax-ita-excerpt .scitax-ind  { margin-left: 24px; }
.scitax-ita-excerpt .scitax-ind2 { margin-left: 48px; }
.scitax-ita-excerpt .scitax-ind3 { margin-left: 72px; }
.scitax-ita-excerpt .scitax-ind4 { margin-left: 96px; }
.scitax-ita-excerpt .scitax-ind5 { margin-left: 120px; }

@media (max-width: 640px) {
	.scitax-ita-excerpt .scitax-ind  { margin-left: 12px; }
	.scitax-ita-excerpt .scitax-ind2 { margin-left: 24px; }
	.scitax-ita-excerpt .scitax-ind3 { margin-left: 36px; }
	.scitax-ita-excerpt .scitax-ind4 { margin-left: 48px; }
	.scitax-ita-excerpt .scitax-ind5 { margin-left: 60px; }
}

.scitax-ita-source {
	margin: 14px 0 0;
	color: #666666;
	font-size: 13px;
	line-height: 1.55;
}

/* Callout note (informational) */
.scitax-note {
	margin: 18px 0;
	padding: 14px 18px;
	border-left: 4px solid var(--scitax-blue);
	border-radius: 0 4px 4px 0;
	background: #f3f6fa;
}

.scitax-note p:last-child {
	margin-bottom: 0;
}

/* Callout warning (obsolete documents, cautions) */
.scitax-warning {
	margin: 10px 0 4px;
	padding: 12px 16px;
	border-left: 4px solid var(--scitax-red);
	border-radius: 0 4px 4px 0;
	background: #faf3f2;
	font-size: 14px;
	line-height: 1.55;
}

/* Resource list (CRA documents & links page) */
.scitax-resource-list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

.scitax-resource-list > li {
	position: relative;
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid var(--scitax-border);
	border-radius: 4px;
	background: linear-gradient(135deg, #ffffff 0%, #faf8f7 100%);
	box-shadow: 0 1px 2px rgba(40, 25, 15, 0.04);
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.scitax-resource-list > li > a:first-child {
	display: block;
	font-weight: 700;
	color: var(--scitax-blue);
	text-decoration: none;
}

/* Extend the document link across its card, while keeping the editor-owned
 * title and description together as one obvious destination. */
.scitax-resource-list > li > a:first-child::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.scitax-resource-list > li > a:first-child:hover,
.scitax-resource-list > li > a:first-child:focus {
	color: var(--scitax-red);
	text-decoration: underline;
}

.scitax-resource-list > li:hover,
.scitax-resource-list > li:focus-within {
	border-color: #c9aaa6;
	background: #fcf7f6;
	box-shadow: 0 4px 12px rgba(40, 25, 15, 0.09);
}

.scitax-resource-list > li > a:first-child:focus-visible {
	outline: 3px solid rgba(153, 0, 0, 0.32);
	outline-offset: 3px;
	text-decoration: none;
}

.scitax-resource-list > li > p {
	margin: 6px 0 0;
	color: #444444;
	font-size: 14px;
}

/* Document cards (terms hub) */
.scitax-doc-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 20px 0;
}

.scitax-doc-card {
	display: block;
	padding: 16px 20px;
	border: 1px solid var(--scitax-border);
	border-radius: 4px;
	background: var(--scitax-content-bg);
	color: inherit;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.scitax-doc-card:hover,
.scitax-doc-card:focus {
	border-color: var(--scitax-red);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scitax-doc-card strong {
	display: block;
	margin-bottom: 4px;
	color: var(--scitax-blue);
}

.scitax-doc-card:hover strong,
.scitax-do
/* ─── Secure area (login + protected pages) ─────────────────────────────── */

.scitax-secure-cards {
	max-width: 560px;
	margin: 28px auto 0;
	padding: 0 8px;
}

.scitax-secure-card {
	padding: 24px 24px 26px;
	background: var(--scitax-content-bg);
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	box-shadow: var(--scitax-card-shadow);
	text-align: center;
}

.scitax-secure-card + .scitax-secure-card {
	margin-top: 24px;
}

.scitax-secure-card h2 {
	margin: 0 0 12px;
	padding: 8px 12px;
	background: var(--scitax-deep-red);
	color: #ffffff;
	font-size: 15px;
	letter-spacing: 3px;
	text-transform: uppercase;
	border-radius: 3px;
}

.scitax-secure-card form {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}

.scitax-secure-card input[type="password"] {
	width: 180px;
	padding: 8px 10px;
	border: 1px solid var(--scitax-border);
	border-radius: 3px;
	font-size: 14px;
}

.scitax-secure-card button,
.scitax-secure-upload-link {
	display: inline-block;
	padding: 8px 20px;
	background: var(--scitax-red);
	color: #ffffff;
	border: none;
	border-radius: 3px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
}

.scitax-secure-card button:hover,
.scitax-secure-card button:focus,
.scitax-secure-upload-link:hover,
.scitax-secure-upload-link:focus {
	background: var(--scitax-deep-red);
	color: #ffffff;
}

.scitax-secure-upload {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 12px;
}

.scitax-secure-upload p {
	margin: 0;
	text-align: center;
}

.scitax-secure-upload-link {
	align-self: center;
	margin-top: 4px;
}

.scitax-secure-error {
	margin-top: 10px;
	color: #880000;
	font-weight: 700;
	font-size: 13px;
}

.scitax-secure-status ul {
	list-style: none;
	padding: 0;
}

.scitax-secure-status li {
	margin: 6px 0;
}

.scitax-inner-submenu a.scitax-secure-logout {
	border-top: 1px solid var(--scitax-card-border);
	color: var(--scitax-red);
	font-weight: 700;
}

/* Accordion sections (core Details blocks) on secure pages */

.scitax-page-content details.wp-block-details {
	margin: 10px 0;
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	background: #fdfdfc;
}

.scitax-page-content details.wp-block-details > summary {
	padding: 10px 14px;
	cursor: pointer;
	font-weight: 700;
	color: var(--scitax-blue);
	list-style-position: inside;
}

.scitax-page-content details.wp-block-details > summary:hover {
	color: var(--scitax-red);
}

.scitax-page-content details.wp-block-details[open] > summary {
	border-bottom: 1px solid var(--scitax-card-border);
	color: var(--scitax-deep-red);
}

.scitax-page-content details.wp-block-details > :not(summary) {
	margin: 10px 14px;
}

.scitax-secure-video {
	max-width: 720px;
	margin: 18px 0 24px;
}

.scitax-secure-video video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	background: #000000;
	border: 1px solid var(--scitax-card-border);
	box-shadow: var(--scitax-card-shadow);
}

.scitax-event-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.scitax-event-list a {
	display: block;
	padding: 14px 18px;
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	background: var(--scitax-content-bg);
	box-shadow: var(--scitax-card-shadow);
	font-weight: 700;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.scitax-event-list a:hover,
.scitax-event-list a:focus {
	border-color: var(--scitax-red);
	box-shadow: 0 4px 12px rgba(40, 25, 15, 0.1);
}

.scitax-event-content {
	overflow-x: auto;
}

.scitax-event-content img {
	max-width: 100%;
	height: auto;
}

.scitax-event-content table {
	max-width: 100%;
}

/* Contact directions: make the route choices read as controls, not body text. */
.scitax-directions-group {
	display: grid;
	gap: 12px;
	margin: 18px 0 24px;
}

.scitax-directions {
	margin: 0;
	border: 1px solid var(--scitax-card-border);
	border-radius: 5px;
	background: #fcfbfa;
	box-shadow: 0 1px 3px rgba(40, 25, 15, 0.06);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.scitax-directions > summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
}

.scitax-directions > summary::-webkit-details-marker {
	display: none;
}

/* Keep WordPress's automatic paragraph formatting from adding visual rows
 * inside the saved summary markup. */
.scitax-directions > summary br {
	display: none;
}

.scitax-directions > summary:focus-visible {
	outline: 3px solid rgba(153, 0, 0, 0.32);
	outline-offset: -3px;
}

.scitax-directions:hover,
.scitax-directions:focus-within,
.scitax-directions[open] {
	border-color: #c9aaa6;
	box-shadow: 0 4px 12px rgba(40, 25, 15, 0.09);
}

.scitax-directions[open] > summary {
	background: #faf4f2;
}

.scitax-directions-icon {
	display: flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #eef3f7;
	color: var(--scitax-blue);
}

/* These icons live in the theme rather than the page body: WordPress removes
 * inline SVG submitted through the editor, leaving otherwise-empty circles. */
.scitax-directions-icon::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	background: center / contain no-repeat;
}

#by-car .scitax-directions-icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f4f82'%3E%3Cpath d='M18.92 6.01C18.72 5.42 18.16 5 17.5 5h-11c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 16c-.83 0-1.5-.67-1.5-1.5S5.67 13 6.5 13s1.5.67 1.5 1.5S7.33 16 6.5 16zm11 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
}

#by-path .scitax-directions-icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f4f82'%3E%3Cpath d='M13.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM9.8 8.9L7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6l1.8-.7'/%3E%3C/svg%3E");
}

#by-ttc .scitax-directions-icon::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f4f82'%3E%3Cpath d='M12 2c-4.42 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20.5v.5h2.23l2-2H14l2 2h2v-.5L16.5 19c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zM7.5 17c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17zm3.5-6H6V6h5v5zm5.5 6c-.83 0-1.5-.67-1.5-1.5S15.67 14 16.5 14s1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm1.5-6h-5V6h5v5z'/%3E%3C/svg%3E");
}

.scitax-directions-label {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.scitax-directions-label strong {
	color: var(--scitax-blue);
	font-size: 17px;
	line-height: 1.3;
	transition: color 180ms ease;
}

.scitax-directions > summary:hover .scitax-directions-label strong {
	color: var(--scitax-red);
}

.scitax-directions-hint {
	color: #5c5751;
	font-size: 14px;
	line-height: 1.5;
}

.scitax-directions-action {
	color: var(--scitax-red);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* Chevron button: explicit "this opens" affordance */
.scitax-directions > summary::after {
	content: "";
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin-left: 4px;
	border: 1px solid #e0c9c5;
	border-radius: 50%;
	background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23990000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	box-shadow: 0 1px 3px rgba(40, 25, 15, 0.12);
	transition: transform 200ms ease, background-color 180ms ease, border-color 180ms ease;
}

.scitax-directions > summary:hover::after {
	background-color: #f7e9e7;
	border-color: var(--scitax-red);
}

.scitax-directions[open] > summary::after {
	transform: rotate(180deg);
}

.scitax-directions-body {
	padding: 4px 20px 20px;
	border-top: 1px solid #f0ece8;
}

/* People cards (Our People page) */
.scitax-person-card {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 420px;
	margin: 14px 0;
	padding: 14px 18px;
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
	background: linear-gradient(135deg, #ffffff 0%, #faf7f6 100%);
	box-shadow: var(--scitax-card-shadow);
	color: inherit;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.scitax-person-card:hover,
.scitax-person-card:focus-visible {
	border-color: #cc9a94;
	background: #fcf7f6;
	box-shadow: 0 4px 12px rgba(40, 25, 15, 0.1);
}

.scitax-person-card:focus-visible {
	outline: 3px solid rgba(153, 0, 0, 0.32);
	outline-offset: 3px;
}

.scitax-person-card img {
	display: block;
	border: 1px solid var(--scitax-card-border);
	border-radius: 4px;
}

.scitax-person-card-info {
	font-size: 16px;
	line-height: 1.5;
}

.scitax-person-card-info strong {
	color: var(--scitax-blue);
}

.scitax-person-card:hover .scitax-person-card-info strong,
.scitax-person-card:focus-visible .scitax-person-card-info strong {
	color: var(--scitax-red);
}

/* Contact page responsive */
@media (max-width: 767px) {
	.scitax-contact-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.scitax-directions > summary {
		display: grid;
		grid-template-columns: 38px minmax(0, 1fr) 32px;
		align-items: center;
		padding: 14px 14px;
		gap: 12px;
	}

	.scitax-directions-icon {
		grid-column: 1;
		grid-row: 1;
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.scitax-directions-label {
		grid-column: 2;
		grid-row: 1;
	}

	/* The compact chevron makes the tap target clear without squeezing the
	 * route description into an unreadably narrow column. */
	.scitax-directions-action {
		display: none;
	}

	.scitax-directions > summary::after {
		grid-column: 3;
		grid-row: 1;
		width: 32px;
		height: 32px;
		margin-left: 0;
	}

	.scitax-directions-body {
		padding: 4px 14px 16px;
	}
}


/* bulletin styles */
.scitax-bulletin-html .highlight-box {
    padding: 8px 14px;
    background: linear-gradient(
        to right,
        #fffdf8 0%,
        #fff4d7 65%,
        #fffdf8 100%
    );
}
.scitax-bulletin-html	ul.greater-than {
	list-style: "> ";
}
.scitax-bulletin-html	ul.dash-list {
	list-style-type: "- ";
}
.scitax-bulletin-html .date-gradient{
    display:inline-block;
    min-width:75px;
    padding:2px 2px;
    color:#666;
    font-weight:700;
    background:linear-gradient(to right, #f7ecd4, #fbf5e9
);
}
	
.scitax-bulletin-html	ol.braces li::marker {content: counter(list-item) ") ";}
.scitax-bulletin-html ol.letter-brace {
    list-style-type: upper-alpha;margin-left: 0; padding-left: 1.5em; 
}

.scitax-bulletin-html ol.letter-brace li::marker {
    content:  counter(list-item, upper-alpha) ") "; 
}

.scitax-bulletin-html    .custom-list {
        margin: 0;
        padding-left: 4em;
        list-style: none;
    }

.scitax-bulletin-html .custom-list li {
        padding-left: 0.5em;
        margin-bottom: 12px;
    }

.scitax-bulletin-html .custom-list li::marker {
        content: attr(data-marker);
    }
.scitax-bulletin-html li::marker {
	color: #000000;
}
.scitax-bulletin-html figure.scitax-bulletin-flow-image{
	margin-bottom: 0; margin-top: 0;
}

.scitax-bulletin-html .itc-table {
        width: 100%;
        border-collapse: collapse;
        border-top: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
    }

.scitax-bulletin-html .itc-table th,
.scitax-bulletin-html .itc-table td {
        padding: 3px 8px;
        font-weight: normal;
        vertical-align: top;
        border-top: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px dotted #777 !important;
        border-left: 0 !important;
    }

.scitax-bulletin-html  .itc-table th {
        text-align: right;
    }

.scitax-bulletin-html  .itc-table .label {
        padding-left: 2px;
        text-align: left;
    }

.scitax-bulletin-html  .itc-table .description {
        text-align: left;
    }

.scitax-bulletin-html  .itc-table .number {
        text-align: right;
        white-space: nowrap;
    }

.scitax-bulletin-html  .itc-table .spacer td {
        height: 24px;
        padding: 0;
        border-top: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px dotted #777 !important;
        border-left: 0 !important;
    }

/* ─── Article Reprints: page screenshots + per-page text accordions ───────── */
.reprint-page {
    margin: 0 0 2.25rem;
}

.reprint-page img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 780px;
    margin: 0 auto;
    border: 1px solid #d8d8d8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.reprint-page-text {
    max-width: 780px;
    margin: 0 auto;
}

/* Top banner = the clickable toggle */
.reprint-page-text > summary {
    cursor: pointer;
    padding: 0.5rem 0.85rem;
    background: #ededed;
    border: 1px solid #d8d8d8;
    color: #1f4f82;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    list-style: none;
}

.reprint-page-text > summary::-webkit-details-marker {
    display: none;
}

.reprint-page-text > summary::before {
    content: "\25B8\00a0"; /* ▸ */
    display: inline-block;
    color: #990000;
}

.reprint-page-text[open] > summary::before {
    content: "\25BE\00a0"; /* ▾ */
    color: #ffffff;
}

.reprint-page-text > summary:hover,
.reprint-page-text > summary:focus {
    color: #990000;
    background: #e4e4e4;
}

.reprint-page-text[open] > summary {
    background: #3e0c0d;
    border-color: #3e0c0d;
    color: #ffffff;
}

.reprint-page-text[open] > summary:hover,
.reprint-page-text[open] > summary:focus {
    color: #ffffff;
}

/* Transcript panel: inset, tinted, smaller sans-serif so it reads as
   machine-transcribed text distinct from the page screenshot above. */
.reprint-page-text[open] {
    border: 1px solid #d8d8d8;
    border-top: 0;
    background: #f6f4f2;
}

.reprint-page-text > p {
    margin: 0;
    padding: 0.7rem 1.1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #3a3a3a;
}

.reprint-page-text > p:first-of-type {
    padding-top: 0.9rem;
}

.reprint-page-text > p:last-of-type {
    padding-bottom: 0.9rem;
}

/* Bottom banner: closing marker so the extent of the accordion is obvious */
.reprint-page-text[open]::after {
    content: "\2014\00a0 End of transcribed text \00a0\2014";
    display: block;
    padding: 0.4rem 0.85rem;
    background: #ededed;
    border-top: 1px dotted #c4b8b0;
    color: #8a7f78;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-style: italic;
    text-align: center;
}
