/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Lato, Helvetica, Arial, sans-serif;
  line-height: 18px;
  color: #333;
  background-color: #fff;
}

a {
  color: #195888;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}

a:hover {
  color: #C70000;
}

/* Layout */
.wrapper {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  
}

/* Header */
header {
  background-color: #fff;
  padding: 7px 0;
  height: 84px;
  overflow: hidden;
  position: relative;
}
.site-logo {
  display: block;
  float: left;
  height: 70px;
  width: 135px;
  background: url(../images/logo.png) center center no-repeat;
  background-size: 135px 70px;
  text-indent: -999em;
}

.desktop-menu {
  float: right;
  margin-top: 20px;
  font-size: 14px;
  line-height: 18px;
} 
#menu {
  float: right;
  margin-top: 15px;
}

#menu li {
  display: inline-block;
  margin-left: 20px;
}

#menu a {
  font-size: 14px;
  text-transform: uppercase;
}

.mobile-menu {
  display: none;
}

#menu-icon {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 10;
}
#menu-icon span {
  background: #3e3e3e;
  height: 2px;
  width: 100%;
  margin: 0;
  transition: all 300ms ease 0s;
  display: block;
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 2px solid #195888;
}

.mobile-nav li {
  margin: 0;
}

.mobile-nav a {
  display: block;
  padding: 15px;
  color: #195888;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(25, 88, 136, 0.92), rgba(19, 57, 86, 0.95)), url(../images/courtbg.jpg) center center no-repeat;
  background-size: cover;
  color: #fff;
  padding: 48px 0 56px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero-copy {
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto;
}

.hero-search {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.hero-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.hero-field input,
.hero-field select,
.hero-field button {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c8d4df;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

.hero-field input.req {
  background-color: #fffef0;
}

.hero-field-submit {
  min-width: 140px;
}

.hero-field button {
  background: #c70000;
  color: #fff;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-field button:hover {
  background: #f00;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
  color: #555;
  font-size: 13px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item.lock {
  background: url(../images/lock.png) left center no-repeat;
  background-size: 16px 16px;
  padding-left: 22px;
}

.hero-trust-item.calendar {
  background: url(../images/calendar.png) left center no-repeat;
  background-size: 16px 16px;
  padding-left: 22px;
}

/* Article content */
article {
  color: #312E2E;
}

article h1,
article .page-title {
    font-size: 1.5em;
    line-height: 1.1em;
    text-align: center;
    margin-top: 20px;
}

.breadcrumb {
  margin: 20px 0 10px;
  font-size: 14px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #888;
}

.breadcrumb a {
  color: #195888;
}

.breadcrumb span[aria-current="page"] {
  color: #555;
}

.result-card {
  background: #f8fbff;
  border: 1px solid #d7e6f5;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.result-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.result-card p {
  margin: 10px 0;
  line-height: 1.5;
}

.result-link {
  display: inline-block;
  word-break: break-all;
  font-size: 14px;
}

.subcontent {
  padding: 0;
  margin: 25px 0;
  border-bottom: 0;
}

.subcontent h3 {
  font-size: 18px;
  line-height: 20px;
  margin: 10px 0 2px;
}

.subcontent p {
  padding: 0;
  margin: 10px 0;
  font-size: 1em;
  line-height: 1.2em;
}

.subcontent a {
  display: block;
  padding: 0;
  margin: 0;
  font-size: 1em;
  line-height: 1.2em;
  overflow: hidden;
  text-decoration: underline;
}

.siteimg {
  display: block;
  max-width: 75%;
  margin: 20px auto;
  border-radius: 6px;
}

.searchterms {
  padding: 20px 10px 30px;
  margin-top: 20px;
  border-top: 2px solid #eaf4fe;
}

.searchterms h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.related-searches {
  margin-top: 10px;
}

.related-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.related-tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #c9dcef;
  border-radius: 999px;
  background: #f4f8fc;
  color: #195888;
  font-size: 14px;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.related-tag:hover {
  background: #195888;
  border-color: #195888;
  color: #fff;
}

.index-links-wrapper,
.index-links-block {
  margin: 30px 0;
  padding-top: 20px;
  border-top: 2px solid #eaf4fe;
}

.index-links-block > h2,
.index-links-section h3 {
  margin-bottom: 14px;
  text-align: center;
}

.index-links-section {
  margin-bottom: 24px;
}

#wz .articletitle,
#wz .articletxt {
  color: #312E2E;
}

#wz .articletitle {
  text-align: center;
  padding: 0 10px;
}

#wz .articletxt {
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 10px 20px;
}

.legal-banner {
  background: linear-gradient(rgba(25, 88, 136, 0.94), rgba(19, 57, 86, 0.96));
  color: #fff;
  padding: 42px 0 36px;
  text-align: center;
}

.legal-banner h1 {
  font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif;
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-banner p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.legal-updated {
  margin-top: 14px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.legal-page {
  color: #312e2e;
  padding: 24px 0 40px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 20px;
  font-size: 16px;
  line-height: 1.7;
}

.legal-content h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.3;
  color: #195888;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  color: #000000;
  width: 100%;
  background-color: #FFF;
  cursor: default;
}
.footline {
  border-top: 2px solid #195888;
  padding: 20px 0;
}
.fnav {
  margin-bottom: 20px;
}

.fnav li {
  display: inline-block;
  margin: 0 15px;
}

.fnav a {
  font-size: 16px;
  text-transform: uppercase;
  line-height: 24px;
}

.ftext {
  font-size: 14px;
}

/* Responsive design */
@media (max-width: 768px) {

header {
  height: 64px;
  
}
  .site-logo {
    background-size: 96px 50px;
    width: 96px;
    height: 50px;
}
  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .menu-toggle {
    display: block;
    float: right;
    margin-top: 15px;
  }

  .mobile-nav.active {
    display: block;
  }
  .hero {
    padding: 32px 0 40px;
  }
  .hero-inner {
    gap: 24px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    margin: 0 auto;
    font-size: 16px;
  }
  .hero-form-grid {
    grid-template-columns: 1fr;
  }
  .legal-banner h1 {
    font-size: 32px;
  }
  .legal-banner p {
    font-size: 16px;
  }
  .legal-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero {
    background: linear-gradient(rgba(25, 88, 136, 0.94), rgba(19, 57, 86, 0.96)), url(../images/courtbg480.jpg) center center no-repeat;
    background-size: cover;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-search {
    padding: 18px;
  }
  
  .site-logo a {
    width: 100px;
    height: 52px;
  }
  
  #menu {
    float: none;
    margin-top: 10px;
    text-align: center;
  }
  
  #menu li {
    margin: 0 10px;
  }
}


