* {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* Global font size increase for better readability */
.content-text {
  font-size: 1.2rem !important; /* Increased from 1.1rem */
}

.content-text h3 {
  font-size: 1.8rem !important; /* Increased from 1.6rem */
}

.content-text h4 {
  font-size: 1.5rem !important; /* Increased from 1.3rem */
}

.content-text h5 {
  font-size: 1.3rem !important; /* Increased from 1.1rem */
}

.content-text p {
  font-size: 1.2rem !important; /* Increased from 1.1rem */
}

.content-text li {
  font-size: 1.2rem !important; /* Increased from 1.1rem */
}

/* Increase hero subheading and navigation font sizes */
/* Removed global .hero-subheading rule to prevent conflicts with individual page styling */

.page-nav-link {
  font-size: 0.9rem !important; /* Decreased from 1.2rem for smaller scroll indicator */
  padding: 0.5rem 0.75rem !important; /* Reduced padding for smaller height */
  margin-bottom: 0.15rem !important; /* Reduced margin between items */
}

/* Override any inline font-size for page navigation links */
.page-nav-link[style*="font-size"] {
  font-size: 0.9rem !important;
}

/* Override any inline padding for page navigation links */
.page-nav-link[style*="padding"] {
  padding: 0.5rem 0.75rem !important;
}

/* Override any inline margin for page navigation links */
.page-nav-link[style*="margin"] {
  margin-bottom: 0.15rem !important;
}

/* Center all images globally */
img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Ensure figure containers center their content */
.figure-container {
  text-align: center !important;
}

.figure-box {
  text-align: center !important;
}

/* Center images within figure containers */
.figure-container img,
.figure-box img {
  display: block !important;
  margin: 0 auto !important;
}

/* Center hero images and other specific image classes */
/* COMMENTED OUT - Individual pages now handle hero styling
.hero-img {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
}
*/

/* Center images in content areas */
.content-text img {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Center images in any container */
.container img,
.row img,
.col img {
  display: block !important;
  margin: 0 auto !important;
}

/* Override any inline styles that might prevent centering */
img[style*="text-align"],
img[style*="margin"],
img[style*="display"] {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Override global font-style for bold elements - but exclude hero text */
strong:not(.hero-text):not(.hero-text *), 
b:not(.hero-text):not(.hero-text *), 
.bold:not(.hero-text):not(.hero-text *), 
[style*="font-weight: bold"]:not(.hero-text):not(.hero-text *), 
[style*="font-weight: 700"]:not(.hero-text):not(.hero-text *) {
  font-weight: 700 !important;
  font-style: normal !important;
}

/* Force stat numbers to be extra heavy - override global * selector */
.stat-number {
  font-weight: 950 !important;
  font-style: normal !important;
}

/* Nuclear option - maximum specificity for stat numbers */
html body .statistics-section .stat-number,
html body .stat-number,
body .stat-number {
  font-weight: 950 !important;
  font-style: normal !important;
  text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor, 0 0.5px 0 currentColor, 0 -0.5px 0 currentColor !important;
}

/* Force section titles to be bold - override global * selector */
.section-title {
  font-weight: 900 !important;
  font-style: normal !important;
}

/* Nuclear option for section titles */
html body .section-title,
body .section-title,
h2.section-title {
  font-weight: 900 !important;
  font-style: normal !important;
  text-shadow: 0.5px 0 0 currentColor, -0.5px 0 0 currentColor, 0 0.5px 0 currentColor, 0 -0.5px 0 currentColor !important;
}

/* Force bold formatting with maximum specificity */
.content-text strong,
.content-text b,
.content-text .bold {
  font-weight: 700 !important;
  font-style: normal !important;
}

/* Override any potential font-weight resets - but exclude hero text */
* strong:not(.hero-text):not(.hero-text *),
* b:not(.hero-text):not(.hero-text *),
* .bold:not(.hero-text):not(.hero-text *) {
  font-weight: 700 !important;
}

/* Nuclear option - force bold with maximum specificity */
html body .content-text strong,
html body .content-text b,
html body strong,
html body b {
  font-weight: bold !important;
  font-style: normal !important;
  text-decoration: none !important;
}

/* Force all lists to show markers - override everything */
ul:not(.nav-list):not(.breadcrumb):not(.navbar-nav):not(.dropdown-menu):not(.pagination) {
  list-style-type: disc !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
}

ol:not(.nav-list):not(.breadcrumb):not(.navbar-nav):not(.dropdown-menu):not(.pagination) {
  list-style-type: decimal !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
}

li:not(.nav-item):not(.breadcrumb-item):not(.dropdown-item):not(.page-item) {
  display: list-item !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.6 !important;
}

/* Specific overrides for content areas */
.content-text ul {
  margin-bottom: 1.5rem !important;
  padding-left: 2rem !important;
  list-style-type: disc !important;
}

.content-text ol {
  margin-bottom: 1.5rem !important;
  padding-left: 2rem !important;
  list-style-type: decimal !important;
}

.content-text li {
  margin-bottom: 0.75rem !important;
  line-height: 1.6 !important;
  display: list-item !important;
}

/* Remove paragraph indents across all pages */
p {
  text-indent: 0 !important;
}

/* More specific selectors to ensure no indents */
body p, html p, * p {
  text-indent: 0 !important;
}


/* Ensure hero-text has proper font-weight */
/* Hero sections are handled individually in each page's CSS */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body { padding-top: 0px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: transparent; }

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

/* rules */

img, button, a, video {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*animations*/
.button-press {
  transition: all 0.4s ease-in-out;
}

.button-press:hover {
  transform: scale(1.04);
}

/* IMAGE CARD STRUCTURE - Reusable classes for consistent image display */
.image-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.image-caption {
  padding: 1.5rem;
  background: #fafbfc;
}

.image-title {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.image-description {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.5;
}

/* For images that need to show in full (like posters) */
.image-card.full-display img {
  height: auto;
  object-fit: contain;
  max-height: 500px;
}

/* Force list styling with maximum specificity */
ul:not(.nav-list):not(.breadcrumb):not(.navbar-nav):not(.dropdown-menu) {
  list-style-type: disc !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
}

ol:not(.nav-list):not(.breadcrumb):not(.navbar-nav):not(.dropdown-menu) {
  list-style-type: decimal !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
}

li:not(.nav-item):not(.breadcrumb-item):not(.dropdown-item) {
  margin-bottom: 0.5rem !important;
  line-height: 1.6 !important;
  display: list-item !important;
}

/* Specific overrides for content areas */
.content-text ul {
  margin-bottom: 1.5rem !important;
  padding-left: 2rem !important;
  list-style-type: disc !important;
}

.content-text ol {
  margin-bottom: 1.5rem !important;
  padding-left: 2rem !important;
  list-style-type: decimal !important;
}

.content-text li {
  margin-bottom: 0.75rem !important;
  line-height: 1.6 !important;
  display: list-item !important;
}

.button-press:active {
  transform: scale(0.98);
}

/* COMMENTED OUT - Individual pages now handle hero styling
.hero-image-block {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}
*/

/* COMMENTED OUT - Individual pages now handle hero styling
.hero-frame {
  display: flex;
  align-items: center; /* vertical center */
  gap: 1rem;           /* space between image and caption */
  background: #508CA4;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  max-width: fit-content;
}
*/

/* COMMENTED OUT - Individual pages now handle hero styling
.hero-img {
  width: 75%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
*/

/* COMMENTED OUT - Individual pages now handle hero styling
.hero-caption {
  font-size: 1.3rem;  /* figure label size */
  line-height: 1.4;
  max-width: 280px; /* limits width so text doesn't overflow */
  color: #333;
  /* no margin-left needed, flex gap handles spacing */
}
*/

/* COMMENTED OUT - Individual pages now handle hero styling
.hero-caption p {
  margin: 0;
  text-indent: 0;
  font-size: inherit;
  line-height: inherit;
}
*/




