/* Nevada Legislature Color Variables */
:root {
  /* Primary Colors */
  --nevada-blue: #25408f;
  --silver: #c9c3bd;
  --light-yellow: #f9d173;
  --dark-green: #546425;
  --navy: #1b2f5a;
  --gray: #757575;
  /* Secondary Colors */
  --mustard-yellow: #c6a05d;
  --burnt-orange: #b66128;
  --sage-green: #9b9f88;
  --plum: #681f28;
  /* Animation timing */
  --transition: all 0.3s ease;
}

/* Base styles */
html,
body {
  font-family: "verdana-pro", sans-serif;
  padding-top: 4rem !important;
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.5;
}

/* H2 - Primary section headers */
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nevada-blue);
  margin: 1.5rem 0 1rem 0;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--nevada-blue);
  margin-top: 0.5rem;
  border-radius: 2px;
}

h2.no-after::after {
  content: none;
}

/* H3 - Subsection headers */
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.25rem 0 0.75rem 0;
  border-left: 4px solid var(--nevada-blue);
  padding-left: 1rem;
}

dt {
  font-weight: 600;
}

ul {
  padding-left: 0;
  list-style-position: inside;
}

/* Links */
a:link,
a:visited {
  color: var(--nevada-blue);
  transition: var(--transition);
}

a:hover {
  color: var(--navy);
}

/* Focus and accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--nevada-blue);
  outline-offset: 2px;
}

.skip {
  background-color: white;
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px;
  z-index: 1050;
  transition: top 0.3s;
}

.skip:focus {
  top: 0;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Cards */
.no-border-shadow {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  top: 0;
  overflow: hidden;
}

.no-border-radius {
  border-radius: 0 !important;
}

.no-border-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Static content cards - no hover effect, subtle styling */
.static-content-card {
  border: 1px solid rgba(37, 64, 143, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.static-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nevada-blue), var(--light-yellow));
  opacity: 0.7;
}

.no-border-shadow .card-img-top {
  height: 180px;
  transition: transform 0.3s ease;
}

.no-border-shadow:hover .card-img-top {
  transform: scale(1.05);
}

.no-border-shadow .card-body {
  padding: 1.5rem;
}

/* Logo cards with reduced padding */
.logo-card .card-body {
  padding: 1rem;
}

.no-border-shadow .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.no-border-shadow .card-text {
  color: #555;
  font-size: 0.875rem;
}

.border-shadow {
  border: solid black;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  top: 0;
  overflow: hidden;
}

/* Color swatches */
.nevada-blue-bg {
  background-color: var(--nevada-blue);
}

.nevada-blue-txt {
  color: var(--nevada-blue);
}

.silver-bg {
  background-color: var(--silver);
}

.light-yellow-bg {
  background-color: var(--light-yellow);
}

.dark-green-bg {
  background-color: var(--dark-green);
}

.dark-green-txt {
  color: var(--dark-green);
}

.navy-bg {
  background-color: var(--navy);
}

.navy-txt {
  color: var(--navy);
}

.gray-bg {
  background-color: var(--gray);
}

.gray-txt {
  color: var(--gray);
}

.mustard-yellow-bg {
  background-color: var(--mustard-yellow);
}

.burnt-orange-bg {
  background-color: var(--burnt-orange);
}

.burnt-orange-txt {
  color: var(--burnt-orange);
}

.sage-green-bg {
  background-color: var(--sage-green);
}

.plum-bg {
  background-color: var(--plum);
}

.plum-txt {
  color: var(--plum);
}


#contrast .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.squareBox {
  aspect-ratio: 1/1;
  max-width: 190px;
  max-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.color-white {
  height: 100%;
  width: 100%;
  border: solid black;
  font-size: x-large;
  font-weight: bolder;
  color: white;
}

.color-black {
  height: 100%;
  width: 100%;
  border: solid black;
  font-size: x-large;
  font-weight: bolder;
  color: black;
}

.white-color {
  height: 100%;
  width: 100%;
  border: solid black;
  font-size: x-large;
  font-weight: bolder;
}

.contrast-ratio {
  height: 100%;
  width: 100%;
  font-size: large;
  font-weight: bolder;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.contrast-mins {
  color: var(--burnt-orange);
}

/* Font Styles */
.fonts-blue {
  max-width: 1200px;
  background-color: var(--nevada-blue);
  color: white;
  font-size: 18pt;
  font-weight: bolder;
}

.fonts-gray {
  min-height: 20px;
  max-width: 10px;
  background-color: var(--gray);
  color: white;
  font-size: 18pt;
  font-weight: bolder;
  padding-left: .5em;
  margin-left: .2em;
}

.fonts-dark-green {
  min-height: 20px;
  max-width: 500px;
  background-color: var(--dark-green);
  color: white;
  font-size: 18pt;
  font-weight: bolder;
  margin-left: .2em;
}

/* Logo Display - Simplified */
.logo-image {
  max-height: 124px;
  width: auto;
}

.logo-label {
  font-weight: bold;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header {
  background-color: var(--nevada-blue);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.75rem;
  text-align: center;
}

.section-accent {
  background-color: var(--gray);
  min-height: 20px;
}

.section-accent-green {
  background-color: var(--dark-green);
  min-height: 20px;
}

/* Mobile Logo Styles */
@media (max-width: 768px) {
  .logo-label {
    writing-mode: horizontal-tb;
    transform: none;
    min-width: auto;
    margin-bottom: 1rem;
  }
}

/* Custom spacing utilities for better section separation */
.py-6 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-7 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.mb-7 {
  margin-bottom: 5rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

.mt-7 {
  margin-top: 5rem !important;
}

/* Custom badge for better contrast */
.badge-light-blue {
  background-color: #5a9bd4 !important;
  color: white !important;
}

/* Font Family Utilities */
.font-georgia {
  font-family: Georgia, serif;
}

.font-verdana-pro {
  font-family: 'verdana-pro', Verdana, sans-serif;
}

.font-source-serif {
  font-family: 'serif';
  font-family: 'source-serif-pro', serif;
}

.font-source-sans {
  font-family: 'source-sans-pro', sans-serif;
}

.font-times-new-roman {
  font-family: "Times New Roman", Times, serif;
}

/* Font Weight & Style Utilities */
.font-light { 
  font-weight: 300; 
}

.font-regular { 
  font-weight: 400; 
}

.font-semibold { 
  font-weight: 600; 
}

.font-bold { 
  font-weight: 700; 
}

.font-black { 
  font-weight: 900; 
}

.font-italic { 
  font-style: italic; 
}

/* Typography Scale for Style Guide */
.font-showcase {
  font-size: 22px;
  padding-top: 1em;
}

/* NRS citation font utility (per NRS 220.120(2) roman style requirement) */
.nrs-text, .nrs-citation {
  font-family: "Times New Roman", Times, serif !important;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
}

.nrs-block {
  border-left: 4px solid var(--nevada-blue);
  background: #f8f9fa;
  padding: 1rem 1.25rem;
  font-size: .95rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .fonts-blue {
    max-width: 275px;
    background-color: var(--nevada-blue);
    color: white;
    font-size: 18pt;
    font-weight: bolder;
  }

  .fonts-gray {
    min-height: 20px;
    max-width: 10px;
    background-color: var(--gray);
    color: white;
    font-size: 18pt;
    font-weight: bolder;
    padding-left: .5em;
    margin-left: .2em;
  }

  .fonts-dark-green {
    min-height: 20px;
    max-width: 75px;
    background-color: var(--dark-green);
    color: white;
    font-size: 18pt;
    font-weight: bolder;
    margin-left: .2em;
  }
}

/* Text color utilities */
.text-nevada-blue {
  color: var(--nevada-blue) !important;
}

/* Small font utility for labels */
.fs-small {
  font-size: 0.75rem !important;
}

.mt-small {
  margin-top: 0.25rem !important;
}

/* Section Divider */
.section-divider {
  margin: 5rem auto;
  width: 90%;
  height: 1px;
  background-color: #d1d5db;
  border: none;
  border-radius: 2px;
  opacity: 1;
  box-shadow: none;
  background-image: none;
}

/* Mobile responsive divider */
@media (max-width: 768px) {
  .section-divider {
    margin: 3rem auto;
    width: 80%;
    height: 3px;
  }
}