/* Legal Professional Resources hub */

.lp-hero {
  background: linear-gradient(135deg, #020f2b 0%, #0a3d8f 55%, #0b5ed7 100%);
  color: #fff;
  padding: 56px 0 64px;
}

.lp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.lp-hero-copy h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.lp-hero-sub {
  font-size: 15px;
  color: #7dd3fc;
  font-weight: 600;
  margin-bottom: 16px;
}

.lp-hero-copy p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
  max-width: 520px;
  margin-bottom: 20px;
}

.lp-hero-dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 600;
}

.lp-hero-dir:hover {
  color: #fff;
}

.lp-search-widget {
  background: #fff;
  border-radius: 0 14px 14px 14px;
  box-shadow: 0 14px 40px rgba(2, 15, 43, .22);
  overflow: hidden;
}

.lp-search-tabs {
  display: flex;
  gap: 0;
  background: var(--brand);
  padding: 6px 6px 0;
}

.lp-search-tab {
  flex: 1;
  padding: 12px 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: background .2s, color .2s;
}

.lp-search-tab.active {
  background: #fff;
  color: var(--brand);
}

.lp-search-body {
  padding: 22px 24px 24px;
}

.lp-search-form {
  display: none;
}

.lp-search-form.active {
  display: block;
}

.lp-search-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.lp-search-form input,
.lp-search-form select {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  margin-bottom: 12px;
}

.lp-search-form input:focus,
.lp-search-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, .12);
}

.lp-search-form .btn {
  width: 100%;
  margin-top: 4px;
}

/* Section heads */
.lp-section {
  padding: 56px 0;
}

.lp-section--gray {
  background: var(--gray-50);
}

.lp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.lp-section-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 26px;
}

.lp-section-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.lp-section-head p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Comprehensive info tabs — bordered FindLaw style */
.lp-info-widget {
  border: 1px solid #6b7280;
  background: #fff;
}

.lp-info-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #6b7280;
  padding: 0;
  margin: 0;
}

.lp-info-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 10px;
  margin: 0;
  border: 1px solid #6b7280;
  border-bottom: none;
  border-right: none;
  background: #f3f4f6;
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border-radius: 0;
  transition: background .2s, color .2s;
}

.lp-info-tab:last-child {
  border-right: 1px solid #6b7280;
}

.lp-info-tab.active {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
  z-index: 1;
}

.lp-info-panel h3 a,
.lp-info-panel h3 {
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
}

.lp-info-lead {
  color: var(--gray-900) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  margin: 10px 0 14px !important;
}

.lp-info-panel--media.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lp-info-card {
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.lp-info-panel {
  display: none;
  padding: 36px 40px;
}

.lp-info-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lp-info-panel p strong {
  color: var(--gray-900);
  font-weight: 700;
}

.lp-info-panel p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 14px;
}

.lp-info-panel p:last-child {
  margin-bottom: 0;
}

.lp-info-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-info-panel ul li {
  margin-bottom: 10px;
}

.lp-info-panel ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

.lp-info-panel ul a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.lp-info-panel ul a:hover {
  color: var(--brand);
}

.lp-info-media img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.lp-info-panel--text-only {
  grid-template-columns: 1fr;
}

.lp-info-panel--text-only.active {
  grid-template-columns: 1fr;
}

/* Helpful resources — blue header bars */
.lp-resource-col {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 0 22px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.lp-resource-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0;
  padding: 14px 20px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
}

.lp-resource-col ul {
  list-style: none;
  padding: 16px 22px 0;
  margin: 0;
}

.lp-resource-col li {
  margin-bottom: 10px;
}

.lp-resource-col a {
  font-size: 13.5px;
  color: var(--brand);
  font-weight: 500;
}

.lp-resource-col a:hover {
  text-decoration: underline;
}

.lp-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Marketing cards */
.lp-mkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-mkt-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lp-mkt-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.lp-mkt-body {
  padding: 22px;
}

.lp-mkt-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.lp-mkt-body p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lp-mkt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: var(--blue-50);
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s;
}

.lp-mkt-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Blog grid */
.lp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-blog-col {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.lp-blog-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}

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

.lp-blog-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.lp-blog-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lp-blog-list a {
  font-size: 13.5px;
  color: var(--gray-800);
  font-weight: 500;
  line-height: 1.45;
}

.lp-blog-list a:hover {
  color: var(--brand);
}

.lp-blog-list--bullets {
  list-style: disc;
  padding-left: 18px;
}

.lp-blog-list--bullets li {
  border-bottom: none;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.lp-blog-list--bullets a {
  color: var(--gray-800);
}

.lp-featured-blog {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lp-featured-blog img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.lp-featured-blog-body {
  padding: 22px;
}

.lp-featured-blog-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.45;
}

.lp-featured-blog-body h3 a:hover {
  color: var(--brand);
}

.lp-featured-btn {
  width: 100%;
}

.lp-newsletter-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lp-newsletter-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.lp-newsletter-body {
  padding: 22px;
}

.lp-newsletter-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.4;
}

.lp-newsletter-body p {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.lp-newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.lp-newsletter-form input {
  flex: 1;
  border: none;
  height: 42px;
  padding: 0 12px;
  font-size: 13px;
  background: var(--gray-50);
}

.lp-newsletter-form input:focus {
  outline: none;
}

.lp-newsletter-form button {
  width: 44px;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-newsletter-form button:hover {
  background: var(--brand-hover);
}

.lp-court-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lp-court-links li {
  margin-bottom: 10px;
}

.lp-court-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

.lp-court-links a i {
  font-size: 11px;
}

@media (max-width: 960px) {
  .lp-hero-inner {
    grid-template-columns: 1fr;
  }

  .lp-info-panel.active {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .lp-resources-grid,
  .lp-mkt-grid,
  .lp-blog-grid {
    grid-template-columns: 1fr;
  }

  .lp-info-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .lp-info-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
