:root {
  /* Core Brand Colors */
  --bloodwood: #951716;
  --golden-saffron: #D5AF34;
  --silver-birch: #DAD9D9;
  --sandstone-mist: #F1E6D0;
  --rich-black: #010B13;
  --pure-black: #000000;
  --verdant-jade: #27A74A;
  --lagoon-blue: #15A2B9;
  --cloud-veil: #E5E5E5;
  --ivory-dust: #F5F5F5;
  --slate-shadow: #4A4A4A;
  --body-default: #debeb1;

  /* Bootstrap Color Overrides */
  --primary: var(--bloodwood);
  --secondary: var(--sandstone-mist);
  --success: var(--verdant-jade);
  --info: var(--lagoon-blue);
  --warning: var(--golden-saffron);
  --danger: var(--bloodwood); /* If you want a sharp serious red for danger too */
  --light: var(--ivory-dust);
  --dark: var(--rich-black);
}

body {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
	font-family: 'Source Sans 3', sans-serif;
	color: #E5E5E5;
	background: #debeb1; /* Old browsers */
	background: -moz-linear-gradient(45deg, #debeb1 0%, #f4e0c5 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg, #debeb1 0%, #f4e0c5 100%); /* Chrome10-25, Safari5.1-6 */
	background: -o-linear-gradient(45deg, #debeb1 0%, #f4e0c5 100%); /* Opera 11.1-12 */
	background: -ms-linear-gradient(45deg, #debeb1 0%, #f4e0c5 100%); /* IE10 */
	background: linear-gradient(45deg, #debeb1 0%, #f4e0c5 100%); /* Modern Browsers */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#debeb1', endColorstr='#f4e0c5', GradientType=1 ); /* IE6-9 */
	background-attachment: fixed; /* Makes sure it doesn't scroll away */
	min-height: 100vh; /* Ensures it covers the full height of the page */
	z-index: -1; /* Pushes it to the back */
	position: relative; /* Ensures it's not overridden by other elements */
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

/* Heading Styles — Clean, Responsive, Modern Serif */
h1, h2, h3, h4, h5, h6, .source-serif-4 {
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--bloodwood); /* #951716 */

  /* Let each heading use weight intentionally */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
  margin-bottom: 1.25rem;
}

/* Heading Scale — Modular system */
h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Body & UI Typography — Clean, readable sans-serif */
body, p, label, td, input, select, textarea, .source-sans-3 {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  font-size: 1.05rem;
  color: var(--slate-shadow); /* #4a4a4a */
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Paragraph rhythm */
p {
  margin-bottom: 1rem;
}

/* Strong/em emphasis */
strong {
  font-weight: 600;
  color: var(--rich-black);
}
em {
  font-style: italic;
}

/* Labels, Inputs, and UI Controls */
label {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Optional: Add mono fallback */
code, pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  background: var(--ivory-dust);
  color: var(--rich-black);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

label {
	font-weight: 500;
	letter-spacing: 0.3px;
}
/* Universal Link Styling */
a {
  color: var(--bloodwood);
  text-decoration: underline;
  text-underline-offset: 2px; /* Optional: slight elegant offset */
  transition: color 0.3s;
}

a:hover {
  color: var(--rich-black);
  text-decoration-color: var(--rich-black); /* Optional hover detail */
}

code {
  background-color: var(--ivory-dust) !important;
  color: var(--rich-black) !important;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.95rem;
	display: inline !important;
}
.text-left {
	display: block !important;
	width: 100% !important;
}
.lead {
	font-size: 1.2rem;
	font-weight: 300;
}
.navbar {
	background-color: #010B13;
}
.navbar-brand {
	color: red !important;
}
.navbar-brand:hover {
	color: #E5E5E5 !important;
}/* Navbar Links */
.nav-link {
	color: #debeb1 !important; /* Luxurious Beige */
	transition: color 0.3s, text-shadow 0.3s;
	font-size: 1.1rem;
	padding: 10px 20px;
	text-decoration: none;
}
.nav-link:hover {
	color: #f4e0c5 !important; /* Elegant Soft Cream */
}
/* Dropdown Menu */
.dropdown-menu {
	background-color: rgba(1, 11, 19, 0.95); /* Slightly transparent Rich Black */
	border: 2px solid #debeb1;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Deeper shadow for elegance */
	padding: 0px;
	transition: all 0.5s ease;
	width: 250px;
}
/* Dropdown Items */
.dropdown-item {
	color: #debeb1; /* Matches navbar link color */
	transition: color 0.3s, background-color 0.3s, padding-left 0.3s;
	padding: 10px 30px;
	line-height: 2.2;
	margin-top: 10px;
	margin-bottom: 10px;
	background: transparent;
}
.dropdown-item:hover {
	color: #f4e0c5; /* Elegant highlight */
	border-radius: 10px;
	background: #4a4a4a;
}
/* Navbar Brand */
.navbar-brand {
	color: #f4e0c5 !important; /* Matches the softer highlight */
	transition: color 0.3s, text-shadow 0.3s;
}
.navbar-brand:hover {
	color: #debeb1 !important;
}
.nav-icon {
	width: 50px;
	transition: transform 0.3s, filter 0.3s;
}
.nav-icon:hover {
	transform: scale(1.1);
	filter: drop-shadow(0 0 5px #A4A4A4);
}


/* Loading Screen Styling */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #010B13;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 1;
	transition: opacity 2.5s ease;
}
.loading-logo {
	width: 600px; /* 150% larger for dramatic reveal */
	animation: fadeIn 3s ease forwards, fadeOut 3s 4.5s forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
transform: scale(0.8);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}

/* Increase Spacing Between Navbar Buttons */
.navbar-nav .nav-item {
	margin-right: 30px; /* Adjust this value for desired spacing */
}
.navbar-nav .nav-link {
	padding: 12px 24px; /* Slightly increased padding for more breathing room */
	font-size: 1.15rem; /* Just a bit larger for more presence */
	letter-spacing: 0.5px; /* Makes the text feel more refined */
	transition: all 0.3s;
}

/* For Mobile View - Reduce Spacing Slightly */
@media (max-width: 991px) {
.navbar-nav .nav-item {
	margin-right: 15px;
}
.navbar-nav .nav-link {
	padding: 10px 15px;
	font-size: 1.05rem;
}
}
.navbar-dark .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23951716' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.section {
	padding: 200px 0px 100px 0px;
}
.section-heading {
	text-align: center;
	margin-bottom: 50px;
}
.jumbotron {
	background: transparent;
	padding-top: 80px;
	padding-bottom: 80px;
}
.home-logo {
	width: 400px; /* Adjust the size as needed */
	transition: transform 0.3s;
}
.home-logo:hover {
	transform: scale(1.05);
}
.button-group .btn {
	margin: 10px 10px;
	background-color: #951716;
	border: none;
	padding: 10px 30px;
	color: #D5AF34;
	transition: all 0.3s;
	text-decoration: none;
}
.button-group .btn:hover {
	background-color: #951716;
	color: #f4e0c5;
}
.elevator-pitch {
	margin-top: 20px;
	color: #4A4A4A;
	max-width: 800px;
	margin: 0 auto;
}
.elevator-pitch p {
	margin-bottom: 15px;
}
.button-group a {
	margin: 0 10px;
}
/* General Styling */
.section-heading {
	font-size: 2.5rem;
	color: #951716;
	margin-bottom: 20px;
	letter-spacing: 1px;
}
.intro-text {
	font-size: 1.2rem;
	color: #4a4a4a;
	max-width: 800px;
	margin: 0 auto;
}
/* Card Styling */
.card-custom {
	background-color: #e5e5e5;
	border-radius: 12px;
	transition: transform 0.3s, box-shadow 0.3s;
	padding: 20px;
	text-decoration: none;
}
.card-custom:hover {
	transform: scale(1.03);
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	text-decoration: none;
}
.card-title {
	margin-bottom: 10px;
}
.card-text {
	color: #4a4a4a;
}
/* Button Styling */
.btn-custom {
	background-color: #951716;
	color: #D5AF34;
	border: none;
	padding: 10px 20px;
	transition: background-color 0.3s, color 0.3s;
	margin-top: 10px;
	border-radius: 5px;
}
.btn-custom:hover {
	background-color: #951716;
	color: #f4e0c5;
}
/* FORM INPUTS, TEXTAREAS, SELECTS */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], input[type="number"], textarea, select {
	background-color: #f4e0c5;
	border: 2px solid #951716;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 1.1rem;
	color: #010B13;
	width: 100%;
	transition: all 0.3s ease;
	box-shadow: none;
}
input:focus, textarea:focus, select:focus {
	background-color: #f4e0c5 !important;
	border-color: #951716;
	outline: none;
	box-shadow: 0 0 0 2px rgba(213, 175, 52, 0.25);
}
/* TEXTAREA ONLY */
textarea {
	min-height: 140px;
	resize: vertical;
	background-color: #f4e0c5 !important;
	border: 2px solid #951716 !important;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 1.1rem;
	color: #010B13;
	width: 100%;
	transition: all 0.3s ease;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
/* RADIO & CHECKBOX */
input[type="checkbox"], input[type="radio"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid #951716;
	background-color: #f4e0c5;
	margin-right: 10px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	border-radius: 4px;
}
input[type="radio"] {
	border-radius: 50%;
}
input[type="checkbox"]:checked::after, input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 10px;
	height: 10px;
	background-color: #951716;
	border-radius: inherit;
}
input[type="radio"]:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 8%;
	width: 10px;
	height: 10px;
	background-color: #951716;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}
/* === Form Buttons Consistency === */
button[type="submit"], input[type="submit"] {
	background-color: #951716;
	color: #D5AF34;
	font-size: 1rem;
	padding: 10px 25px;
	border: none;
	border-radius: 8px;
	font-weight: 500;
	transition: background-color 0.3s ease, color 0.3s ease;
}
button[type="submit"]:hover, input[type="submit"]:hover {
	background-color: #7a1112;
	color: #f4e0c5;
	cursor: pointer;
}
button[type="reset"], input[type="reset"] {
	background-color: #e5e5e5;
	color: #4a4a4a;
	font-size: 1rem;
	padding: 10px 25px;
	border: none;
	border-radius: 8px;
	font-weight: 500;
	transition: background-color 0.3s ease, color 0.3s ease;
}
button[type="reset"]:hover, input[type="reset"]:hover {
	background-color: #dad9d9;
	cursor: pointer;
}

/* Responsive Styling */
@media (max-width: 991px) {
.intro-text {
	font-size: 1rem;
}
.section-heading {
	font-family: 'Source Serif 4', serif;
	font-size: 2.2rem;
	font-weight: 600;
	color: #951716;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.card-title {
	font-size: 1.1rem;
}
.card-text {
	font-size: 0.9rem;
}
}
/* Card Links Styling */
.card-links {
	margin-top: 10px;
}
.service-link {
	color: var(--bloodwood);
	text-decoration: underline;
	transition: color 0.3s;
}
.service-link:hover {
	color: var(--rich-black);
}
.detail-panel {
	display: none;
	padding-top: 30px;
	border-top: 2px dashed #D5AF34;
	margin-top: 30px;
	transition: all 0.3s ease;
}
.detail-panel.show {
	display: block;
}
.card-custom {
	padding: 0; /* remove any internal padding */
	border: none; /* optional: if you want edge-to-edge visuals */
	overflow: hidden; /* ensures image doesn&rsquo;t spill out */
}
.card-custom img.card-img-top {
	border-radius: 0;       /* removes rounded corners */
	width: 100%;            /* makes image fill horizontally */
	height: 100%;           /* ensures full height if you want it */
	object-fit: cover;      /* crops to fit without distortion */
	display: block;         /* removes small image gaps */
}
.card-body {
	display: flex;
	flex-direction: column;
}
.card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem; /* Reduced from Bootstrap default (1rem) */
	line-height: 1.3;
}
.card-text {
	font-size: 1.05rem;
	line-height: 1.6;
	margin-bottom: 1.5rem; /* Keeps space above the button consistent */
	color: #4a4a4a;
}
.card-body a.btn {
	margin-top: auto; /* Pushes the button to the bottom */
	text-decoration: none;
}
/* Footer Styling */
footer {
	background-color: var(--rich-black);
	color: var(--golden-saffron);
	padding: 60px 0;
	border-top: 2px solid var(--golden-saffron);
	text-align: center;
	display: block;
	width: 100%;
	margin: 0 auto;
}
/* General Text Styling */
footer p {
	line-height: 1.6;
	font-size: 1rem;
	letter-spacing: 0.5px;
	color: var(--golden-saffron);
	
	text-align: center !important;
	display: block !important;
	width: 100% !important;
	margin: 15px auto !important;
}
/* States Served List Styling */
footer .states-list {
	margin-bottom: 20px;
	font-size: 0.95rem;
}
/* Contact Information Styling */
footer .contact-info {
	font-size: 1rem;
}
/* Footer Links Styling */
footer .contact-info a {
	color: #debeb1; /* Matches your nav links */
	text-decoration: underline;
	transition: color 0.3s;
}
footer .contact-info a:hover {
	color: #f4e0c5; /* Luxurious hover effect */
}
/* Copyright Styling */
footer .copyright {
	margin-top: 30px;
	font-size: 0.85rem;
	color: #E5E5E5;
}
/* Subtle Hover Effect */
footer a:hover {
	color: #f4e0c5; /* Matches your hover styling in the navbar */
}

.copyright, .contact-info, .states-link {
	text-align: center !important;
	display: block !important;
	width: 100% !important;
	margin: 0 auto !important;
}

/* Media Query for Better Responsiveness */
@media (max-width: 768px) {
footer {
	padding: 40px 20px;
}
}

.max-800 {
	max-width: 800px;
}
	.rounded-20 {
  border-radius: 20px !important;
  -webkit-border-radius: 20px; /* Safari, old iOS */
  -moz-border-radius: 20px; /* Firefox */
  -ms-border-radius: 20px; /* IE10 */
  -o-border-radius: 20px; /* Old Opera */
}



/* --- Magazine Style Quote Block --- */
.quote-styled-block {
  display: flex;
  align-items: flex-start;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  max-width: 500px;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
	
  background: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
  backdrop-filter: blur(12px);          /* Frosted glass effect */
  -webkit-backdrop-filter: blur(12px);
}

.quote-mark {
  position: absolute;
  top: -3rem;
  left: -3rem;
  font-size: 13rem; /* Big */
  color: var(--bloodwood);
  line-height: 1;
  font-family: serif;
}

.quote-content {
  border-left: 2px solid #951716;
  padding-left: 1rem;
}

.quote-content p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  color: #333;
  line-height: 1.6;
}

.quote-content footer {
  display: inline-block;
  background-color: var(--cloud-veil);
  padding: 0.4rem 0.8rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  color: #951716;
  font-style: normal;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.15); /* light shadow like tape */
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .quote-styled-block {
    position: relative;
    max-width: none;
    margin: 2rem 1rem 0 1rem;
    right: auto;
    bottom: auto;
  }
}
/* --- Case Study Highlights Box --- */
.case-highlights {
  background-color: var(--ivory-dust);
  border-left: 4px solid #951716;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #951716;
  margin-bottom: 1rem;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1rem;
}
/* --- Stylish Highlights Card --- */
.case-highlights-card {
  background-color: #f4e0c5;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0d2c2;
}

.highlights-inner {
  max-width: 600px;
  margin: 0 auto;
}

.highlight-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #951716;
  margin-bottom: 1.5rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd3c5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.highlight-label {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-value {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}

/* Responsive: 1 column on small screens */
@media (max-width: 600px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Back to Case Studies Button --- */
.btn-back {
  display: inline-block;
  background-color: #951716;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.btn-back:hover {
  background-color: #7c1213;
  transform: translateY(-2px);
  text-decoration: none;
}
/* Timeline Table Master Styling (5-Star Version) */
.timeline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif; /* Or your site-wide font */
}

/* Table Head */
.timeline-table thead {
  background-color: var(--bloodwood);
  color: white;
  font-size: 1.375rem; /* Elite-size header */
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Table Body Row Striping */
.timeline-table tbody tr:nth-child(odd) {
  background-color: var(--sandstone-mist);
  color: var(--slate-shadow);
}

.timeline-table tbody tr:nth-child(even) {
  background-color: var(--ivory-dust);
  color: var(--slate-shadow);
}

/* Table Body Cells */
.timeline-table th,
.timeline-table td {
  padding: 0.3rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--cloud-veil);
  border-left: none;
  border-right: none;
  border-bottom: none;
}

/* Table Footer */
.timeline-table tfoot {
  background-color: var(--golden-saffron);
  color: var(--rich-black);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Hover Effect on Rows */
.timeline-table tbody tr:hover {
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}
.section-bar {
    padding-top: 100px !important;
	display: block;
	float: left;
	clear: right;
	}
.section {
    padding-top: 100px;
	}

/* Sidebar Section Styles */
.section-bar {
  padding: 1.5rem;
/*  background-color: var(--ivory-dust);
  border-left: 4px solid var(--bloodwood); */
  border-radius: 0 8px 8px 0;
}

/* Navigation List */
.insights-nav ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}
.insights-nav li {
  margin-bottom: 0.5rem;
}
.insights-nav a {
  color: var(--slate-shadow);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.insights-nav a:hover {
  color: var(--bloodwood);
  text-decoration: underline;
}

/* Sidebar Heading */
.insights-heading,
.insights-nav h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rich-black);
  margin-bottom: 1rem;
}

/* Mobile Accordion */
details.mobile-accordion,
.insights-nav details {
  max-width: 95%;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}
details.mobile-accordion summary,
.insights-nav summary {
  background-color: var(--sandstone-mist);
  padding: 0.75rem 1rem;
  border: 1px solid var(--cloud-veil);
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}
.insights-nav details[open] ul {
  background-color: var(--ivory-dust);
  border: 1px solid var(--cloud-veil);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 0.75rem 1rem;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-bar {
    padding-top: 100px !important;
  }
  .section {
    padding-top: 100px !important;
  }
  .insights-nav h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .insights-nav ul li {
    margin-bottom: 0.5rem;
  }
}

/* Base details styling */
details {
  background-color: var(--sandstone-mist);
  border-radius: 8px;
  margin-bottom: 0.3125rem !important;
  overflow: hidden;	
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none;
  background-clip: padding-box;
}
/* Summary line */
details summary {
	display: flex; /* allows left-aligned inline items */
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
	
  color: var(--rich-black);
  padding-left: 0;
  list-style: none;
	
  border: none;
  outline: none;
  background-color: transparent;
}

details, details summary {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Remove default triangle marker */
details summary::-webkit-details-marker {
  display: none;
	text-align: left;
}

/* Optional custom marker if you want ▾ or + */
details summary:hover {
  box-shadow: inset 0 0 0 1px var(--golden-saffron);
}

details summary::before {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
	text-align: left;
	font-weight: bolder;
	
  content: "";
  font-size: 1rem; /* Matches or exceeds the text */
  line-height: 1;
  margin-right: 0.5rem;
  color: var(--rich-black); /* or --bloodwood if you prefer */
}

details[open] > * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

details[open] ul,
details[open] div {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}


/* Rotate arrow when open */
details[open] summary::before {
  transform: rotate(90deg);
}

/* The list inside */
.insights-list {
  list-style: none;
  padding: 0.25rem 0 0 1.5rem; /* indentation for items */
  margin: 0;
	text-align: left;
}

.insights-list li {
  margin: 0;
	text-align: left;
	border-bottom: 1px var(--sandstone-mist) solid;
}

.insights-list a {
  color: var(--bloodwood);
  text-decoration: none !important;
  display: inline-block;
  position: relative;
  padding-left: 1.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
	text-align: left;
}

.insights-list a::before {
}

.insights-list a:hover {
  color: var(--golden-saffron);
}

.insights-list a:hover::before {
}
details summary {
  /* background: rgba(255, 255, 255, 0.6); Semi-transparent white */
  /* backdrop-filter: blur(12px);          Frosted glass effect */
  /* -webkit-backdrop-filter: blur(12px);  For Safari
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;  */
}

/* Ream More Button */
.read-more-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--bloodwood);
  color: var(--sandstone-mist);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.2rem;
	text-decoration: none;
}
.read-more-btn:hover {
  background-color: var(--golden-saffron);
  color: var(--cloud-veil);
}

/* Additional enhancements for footer alignment and tone */
footer {
  background-color: var(--pure-black);
  color: var(--golden-saffron);
  border-top: 2px solid var(--golden-saffron);
  letter-spacing: 0.4px;
}
footer h6 {
  color: var(--golden-saffron);
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}
footer p {
  color: var(--silver-birch);
  font-size: 0.95rem;
  line-height: 1.7;
}
footer a {
  color: #debeb1;
  text-decoration: underline;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #f4e0c5;
}
footer .text-golden {
  color: var(--golden-saffron);
}

/* Card shell */
#section-faq .card {
  border: none;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* Clickable header (anchor) */
#section-faq .card .card-header a.faq-toggle {
  display: block;
  position: relative; /* for +/- icon */
  width: 100%;
  padding: 1rem 2.75rem 1rem 1.25rem; /* room for icon */
  font-weight: 600;
  text-decoration: none;
  background-color: var(--bloodwood, #951716);
  border-radius: 0.5rem;
  color: var(--ivory-dust, #F5F5F5) !important;
}

/* Ensure nested text inherits the light color */
#section-faq .card .card-header a.faq-toggle *,
#section-faq .card .card-header a.faq-toggle strong {
  color: var(--ivory-dust, #F5F5F5) !important;
}

/* Neutralize .btn-link defaults if applied */
#section-faq .card .card-header a.faq-toggle.btn-link {
  box-shadow: none;
  text-decoration: none;
  color: var(--ivory-dust, #F5F5F5) !important;
}

/* Closed state (same as default) */
#section-faq .card .card-header a.faq-toggle.collapsed {
  background-color: var(--bloodwood, #951716);
  color: var(--ivory-dust, #F5F5F5) !important;
}

/* Open state */
#section-faq .card .card-header a.faq-toggle[aria-expanded="true"] {
  background-color: var(--golden-saffron, #D5AF34);
  color: var(--ivory-dust, #F5F5F5) !important;
}

/* Hover/focus */
#section-faq .card .card-header a.faq-toggle:hover,
#section-faq .card .card-header a.faq-toggle:focus {
  filter: brightness(0.95);
  color: var(--ivory-dust, #F5F5F5) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,245,245,0.35); /* Ivory Dust ring */
}

/* +/- indicator */
#section-faq .card .card-header a.faq-toggle::before {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  line-height: 1;
  color: var(--ivory-dust, #F5F5F5);
}
#section-faq .card .card-header a.faq-toggle[aria-expanded="true"]::before {
  content: "-";
}

/* Panel body */
#section-faq .card .card-body {
  background-color: var(--sandstone-mist, #EFE4D6);
  color: var(--slate-shadow, #333333) !important;
  padding: 0.9rem 1.1rem; /* slightly tighter */
  border-top: 1px solid var(--cloud-veil, #E5E5E5);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Decorative bottom bar */
#section-faq .card .card-body::after {
  content: "";
  display: block;
  margin-top: 1rem;
  height: 4px;
  width: 100%;
  background-color: var(--bloodwood, #951716);
  border-radius: 0 0 0.5rem 0.5rem;
}

/* ===== Inline CODE rules ===== */

/* A) In headers: inline code should *blend* with the colored header */
#section-faq .card .card-header a.faq-toggle code {
  background: #ffffff !important;
  color: #000000 !important;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  display: inline;
  white-space: nowrap;     /* keep tags like <section> on one line */
  font-weight: 700;
  font-family: inherit;
}

/* B) In answers: use a compact "pill" — white bg, dark text, inline, never full-width */
#section-faq .card .card-body code {
  display: inline !important;                 /* ensure inline, not block */
  background: #ffffff !important;
  color: #000000 !important;
  padding: 0.05rem 0.35rem;        /* compact */
  border-radius: 999px;            /* capsule look like your screenshot */
  border: 1px solid rgba(0,0,0,0.08);
  white-space: nowrap;             /* prevent wrap that pushes text */
  box-shadow: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* C) Code blocks: keep transparent in this component */
#section-faq pre,
#section-faq pre code {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ===== Reduced motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  #section-faq .collapse {
    transition: none !important;
  }
}

/* Header title micro-polish */
#section-faq h4 {
  letter-spacing: 0.2px;
  margin-bottom: 0.75rem;
}

/* 0) Safety: keep PRE blocks neutral so code examples elsewhere aren't affected */
#section-faq pre,
#section-faq pre code {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 1) Universal inline code pill (headers + bodies) */
#section-faq code {
  display: inline !important;           /* never block */
  white-space: normal !important;       /* allow wrapping if needed */
  background: #FFFFFF !important;       /* white pill */
  color: #111111 !important;            /* dark text for contrast */
  padding: 0.05rem 0.35rem !important;  /* compact */
  border-radius: 999px !important;      /* capsule shape */
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: none !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  vertical-align: baseline;
}

/* 2) Slightly bolder code in colored headers for readability */
#section-faq .card .card-header a.faq-toggle code {
  font-weight: 700;
}

/* 3) Keep header text color as-is; code pill provides its own contrast */
#section-faq .card .card-header a.faq-toggle,
#section-faq .card .card-header a.faq-toggle * {
  color: var(--ivory-dust, #F5F5F5) !important;
}
#section-faq pre, #section-faq pre code {
  all: revert;                              /* restore UA defaults for blocks */
	clear: all;
  display: inline;
	float: left;
	clear: right;
  white-space: pre;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Reading progress (document-wide) */
#read-progress{
  position: fixed;
  left: 10;
  top: 0;
  width: 100%;
  height: 3px;
  margin-top: 1px;
  background: transparent;
  z-index: 9999;
}
#read-progress > span{
  display: block;
  height: 100%;
  width: 0%;
  background: var(--body-default);
  transform-origin: left center;
  transition: width .08s linear;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  #read-progress > span { transition: none; }
}

.byline-row { color: var(--text-muted, #555); font-size: .95rem; display:flex; gap:.5rem; align-items:center; }
.byline-sep { opacity:.6; }
.related a { text-decoration:none; }
.related a:hover { text-decoration:underline; }



@media (max-width: 767.98px) {
  :root {
    --nav-h: 80px;      /* height of your fixed top nav on mobile */
    --toolbar-h: 44px;  /* height of the toolbar with the button */
  }


@media (max-width: 767.98px) {
  /* Full-width toolbar */
  #topicsToolbar {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 1040;
	  padding: .25rem 1rem; }

	
  /* Stretch the button */
  #topicsToolbar .btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--bloodwood);
    border-color: var(--bloodwood);
    color: #fff;
  }

  #topicsToolbar .btn:hover,
  #topicsToolbar .btn:focus {
    background-color: var(--golden-saffron);
    border-color: var(--golden-saffron);
    color: var(--rich-black);
  }

  /* Add breathing room below the toolbar when panel opens */
  #insightsNav.collapse.show {
    margin-top: 30px;
  }
}


















