.il-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.il-intro,
.il-info-box,
.il-updates-box,
.il-popular-box,
.il-county-select-box {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.il-page-title {
  margin: 0 0 10px 0;
  font-size: 32px;
  line-height: 1.2;
}

.il-page-subtitle {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.il-section-title {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.3;
}

.il-county-select {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px;
}

.il-popular-links,
.il-update-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.il-pill-link {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
}

.il-pill-link:hover {
  background: #efefef;
}

.il-county-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.il-county-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #222;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.il-county-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.il-small-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .il-county-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .il-county-grid {
    grid-template-columns: 1fr;
  }

  .il-page-title {
    font-size: 26px;
  }
}

.county-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.county-box {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.county-section-title {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.3;
}

.county-small-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.county-year-select {
  width: 100%;
  max-width: 320px;
  padding: 10px;
  font-size: 16px;
}

.county-month-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 12px !important;
  align-items: stretch !important;
}

.county-month-grid .county-month-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  min-height: 68px !important;
  padding: 14px 16px !important;
  margin: 0 !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  background: #fafafa !important;
  color: #222 !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.county-month-grid .county-month-card:hover {
  background: #f0f0f0 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
  .county-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .county-month-grid {
    grid-template-columns: 1fr !important;
  }
}

.states-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.states-intro,
.states-box,
.states-info-box {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.states-page-title {
  margin: 0 0 10px 0;
  font-size: 32px;
  line-height: 1.2;
}

.states-page-subtitle {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.states-section-title {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.3;
}

.states-small-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.states-card {
  display: block;
  padding: 18px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #222;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.states-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.states-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.states-pill-link {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
}

.states-pill-link:hover {
  background: #efefef;
}

@media (max-width: 900px) {
  .states-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .states-grid {
    grid-template-columns: 1fr;
  }

  .states-page-title {
    font-size: 26px;
  }
}

.site-header-wrap {
  max-width: 1100px;
  margin: 0 auto 28px auto;
  padding: 0 12px;
}

.site-header-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.site-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #222;
  min-width: 0;
}

.site-brand-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: #222;
}

.site-brand-tagline {
  margin: 6px 0 0 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header-button {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.site-header-button:hover {
  background: #efefef;
}

.site-main-nav {
  border-top: 1px solid #eee;
  background: #fafafa;
}

.site-main-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 14px 20px;
}

.site-main-nav-list li {
  margin: 0;
  padding: 0;
}

.site-main-nav-link {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.site-main-nav-link:hover {
  background: #f0f0f0;
}

.site-main-nav-link.is-active {
  background: #f0f0f0;
  border-color: #cfcfcf;
}

@media (max-width: 800px) {
  .site-header-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header-actions {
    width: 100%;
  }

  .site-header-button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .site-brand-title {
    font-size: 24px;
  }

  .site-main-nav-list {
    flex-direction: column;
  }

  .site-main-nav-link {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.footer-wrap {
  max-width: 1100px;
  margin: 40px auto 0 auto;
}

.footer-bar {
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 16px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  font-weight: 700;
  font-size: 16px;
  color: #222;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fafafa;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a:hover {
  background: #f0f0f0;
}

.footer-bottom {
  border-top: 1px solid #eee;
  margin-top: 12px;
  padding-top: 10px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* mobile */
@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.home-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.home-box {
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.home-hero {
  margin-bottom: 28px;
  padding: 28px 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.home-title {
  margin: 0 0 10px 0;
  font-size: 34px;
  line-height: 1.2;
}

.home-subtitle {
  margin: 0 auto;
  max-width: 850px;
  color: #555;
  line-height: 1.6;
}

.home-hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-button {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.home-button:hover {
  background: #efefef;
}

.home-section-title {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.3;
}

.home-text {
  margin: 0 0 12px 0;
  color: #555;
  line-height: 1.6;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.home-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  color: #222;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.home-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.home-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-pill-link {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.home-pill-link:hover {
  background: #efefef;
}

.home-small-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-title {
    font-size: 28px;
  }
}

.disclaimer-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.disclaimer-box {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.disclaimer-title {
  margin: 0 0 10px 0;
  font-size: 30px;
}

.disclaimer-section-title {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.disclaimer-text {
  margin: 0 0 12px 0;
  color: #555;
  line-height: 1.6;
}

.disclaimer-highlight {
  padding: 12px;
  border-radius: 6px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  font-size: 14px;
}

@media (max-width: 600px) {
  .disclaimer-title {
    font-size: 24px;
  }
}

.form-center-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.no-pdf-county-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.no-pdf-county-box {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.no-pdf-county-title {
  margin: 0 0 10px 0;
  font-size: 30px;
  line-height: 1.2;
}

.no-pdf-county-section-title {
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.3;
}

.no-pdf-county-text {
  margin: 0 0 12px 0;
  color: #555;
  line-height: 1.6;
}

.no-pdf-county-highlight {
  padding: 12px;
  border-radius: 6px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  font-size: 14px;
  line-height: 1.6;
}

.no-pdf-county-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.no-pdf-county-button {
  flex: 1 1 260px;
  min-height: 45px;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 16px !important; /* remove vertical padding */
  line-height: 1.2 !important;

  border: 1px solid #ccc;
  border-radius: 999px;
  background: #f8f8f8;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  text-align: center;

  box-sizing: border-box;
}

.no-pdf-county-button:hover {
  background: #efefef;
}

@media (max-width: 600px) {
  .no-pdf-county-button {
    flex: 1 1 100%;
  }
}

.nojail-simple-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.nojail-simple-hero {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 48px 28px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.nojail-simple-hero h1 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.3;
    color: #fff;
}

.nojail-simple-hero p {
    margin: 0 auto;
    max-width: 680px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

.nojail-simple-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.nojail-simple-card h2 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: #111827;
}

.nojail-simple-card p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 18px;
}

.nojail-btn {
    display: inline-block;
    background: #1d4ed8;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s ease;
}

.nojail-btn:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

.nojail-change {
    margin-top: 28px;
    text-align: center;
}

.nojail-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    .nojail-simple-wrap {
        padding: 28px 16px;
    }

    .nojail-simple-hero {
        padding: 34px 20px;
    }

    .nojail-simple-hero h1 {
        font-size: 1.6rem;
    }
}