@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-pale: #ccfbf1;
  --teal-wash: #f0fdfa;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--slate-700);
  background-color: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  margin: 16px auto 0;
  border-radius: 2px;
}

.loading {
  text-align: center;
  padding: 40px;
  color: var(--slate-400);
  font-size: 15px;
}

::selection {
  background: var(--teal-pale);
  color: var(--teal-dark);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--slate-200);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 10px;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.logo-divider {
  display: none;
}

.logo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-800);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
}

#main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list li {
  display: flex;
  align-items: center;
}

.nav-list a {
  color: var(--slate-600);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--teal);
  background: var(--teal-wash);
}

.nav-list a[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.nav-bar .admin-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.nav-bar .admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

main {
  min-height: calc(100vh - 64px);
}

section {
  padding: 64px 0;
  background: var(--white);
  margin: 24px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 80px;
  border: 1px solid var(--slate-100);
}

section:nth-child(even) {
  background: var(--slate-50);
}

.lawyer-profile {
  background: linear-gradient(160deg, #f0fdfa 0%, #e6fffa 25%, #f8fafc 50%, #f0fdfa 100%);
  color: var(--slate-800);
  text-align: center;
  padding: 120px 20px 100px;
  margin: 0;
  border-radius: 0;
  scroll-margin-top: 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
  box-shadow: none;
}

.lawyer-profile::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.lawyer-profile::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.lawyer-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-pale), var(--teal-wash));
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  overflow: hidden;
  border: 4px solid var(--white);
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.15),
              0 0 0 8px rgba(13, 148, 136, 0.06);
}

.lawyer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-name {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
  position: relative;
  z-index: 10;
  color: var(--slate-900);
}

.lawyer-firm {
  font-size: 18px;
  margin-bottom: 28px;
  color: var(--slate-500);
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
}

.lawyer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0;
  position: relative;
  z-index: 10;
}

.tag {
  background: var(--white);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--slate-200);
  transition: all 0.2s;
  color: var(--slate-600);
  box-shadow: var(--shadow-sm);
}

.tag:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lawyer-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 48px;
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

.info-item {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-100);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.info-item:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-label {
  font-size: 12px;
  color: var(--slate-400);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.5;
}

.info-value a {
  color: var(--teal);
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 0 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.25s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal-pale), var(--teal-wash));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h2, .card h3 {
  color: var(--slate-800);
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
}

.card h2::after, .card h3::after { display: none; }

.card p {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-item,
.procedure-item,
.opinion-item,
.guide-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.faq-item:hover,
.procedure-item:hover,
.opinion-item:hover,
.guide-item:hover {
  box-shadow: var(--shadow-md);
}

.procedure-item,
.opinion-item,
.guide-item {
  margin-bottom: 24px;
}

.faq-question {
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--teal-wash);
}

.faq-question h2, .faq-question h3 {
  color: var(--slate-800);
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  margin: 0 16px 0 0;
  line-height: 1.5;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  position: static;
}

.faq-question h2::after, .faq-question h3::after { display: none; }

.faq-toggle {
  width: 32px;
  height: 32px;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.25s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--teal);
  color: white;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}

.faq-item.active .faq-answer {
  padding: 24px;
  max-height: 2000px;
}

.faq-conclusion {
  background: var(--teal-wash);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 4px solid var(--teal);
  font-weight: 600;
  color: var(--teal-dark);
  font-size: 14px;
}

.faq-content {
  color: var(--slate-600);
  line-height: 1.9;
  white-space: pre-wrap;
  font-size: 15px;
}

.faq-footer {
  margin-top: 20px;
  padding: 16px 24px 14px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 13px;
  color: var(--slate-400);
}

.faq-footer span {
  color: var(--slate-500);
  line-height: 1.6;
}

.faq-date {
  color: var(--slate-400);
  font-size: 12px;
}

.item-date {
  font-style: italic;
  white-space: nowrap;
}

.procedure-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.procedure-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.procedure-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 28px;
}

.procedure-header h2, .procedure-header h3 {
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
}

.procedure-header h2::after, .procedure-header h3::after { display: none; }

.procedure-category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.procedure-category.primary-tag {
  background: rgba(255, 255, 255, 0.25);
  margin-right: 6px;
}

.procedure-category.secondary-tag {
  background: rgba(255, 255, 255, 0.15);
}

.procedure-header .item-category {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.25);
  margin-right: 6px;
}

.procedure-header .item-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  margin-left: 6px;
}

.procedure-header .conclusion {
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.procedure-body {
  padding: 28px;
}

.procedure-overview {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--teal-wash);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--teal);
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate-600);
}

.stages {
  margin-top: 24px;
}

.stage {
  margin-bottom: 20px;
  padding: 20px;
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-100);
}

.stage h4 {
  color: var(--slate-800);
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.stage-content {
  white-space: pre-wrap;
  line-height: 1.9;
  color: var(--slate-600);
  font-size: 14px;
}

.procedure-footer {
  padding: 16px 28px;
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  color: var(--slate-400);
  border-top: 1px solid var(--slate-100);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  padding: 0 24px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.case-link {
  text-decoration: none;
  color: inherit;
}

.case-link:hover {
  text-decoration: none;
  color: inherit;
}

.case-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 24px;
}

.case-category {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 16px;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.case-category.primary-tag {
  background: rgba(255, 255, 255, 0.25);
}

.case-category.secondary-tag {
  background: rgba(255, 255, 255, 0.15);
  margin-left: 6px;
}

.case-header h2, .case-header h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0;
}

.case-header h2::after, .case-header h3::after { display: none; }

.case-body {
  padding: 24px;
}

.case-conclusion {
  background: var(--teal-wash);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 4px solid var(--teal);
  font-size: 14px;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.6;
}

.case-result {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-600);
  font-size: 14px;
}

.case-result-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0; /* 防止在flex布局中被压缩变形 */
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  overflow: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  margin: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 32px;
  position: relative;
}

.modal-header h2 {
  color: white;
  margin: 0;
  font-size: 24px;
  text-align: left;
}

.modal-header h2::after {
  display: none;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.modal-body {
  padding: 36px;
}

.modal-conclusion {
  background: var(--teal-wash);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  border-left: 4px solid var(--teal);
}

.modal-section {
  margin-bottom: 28px;
}

.modal-section h3 {
  color: var(--slate-800);
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.modal-section p {
  line-height: 1.9;
  color: var(--slate-600);
  white-space: pre-wrap;
  font-size: 15px;
}

.modal-footer {
  margin-top: 32px;
  padding: 20px 0 16px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: var(--slate-400);
  text-align: right;
  overflow-wrap: break-word;
  word-break: break-all;
  width: 100%;
}

.opinion-list {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.opinion-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  margin-bottom: 0;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  overflow: hidden;
}

.opinion-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.opinion-header {
  display: block;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.opinion-header h2, .opinion-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: left;
  text-transform: none;
}

.opinion-header h2::after, .opinion-header h3::after { display: none; }

.opinion-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 16px;
}

.opinion-date::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.opinion-body {
  padding: 0 32px 28px;
}

.opinion-conclusion {
  background: var(--teal-wash);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border-left: 3px solid var(--teal);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-dark);
  line-height: 1.7;
}

.opinion-content {
  line-height: 2;
  white-space: pre-wrap;
  color: var(--slate-600);
  font-size: 15px;
}

.opinion-content strong {
  color: var(--slate-800);
  font-weight: 600;
}

.opinion-footer {
  margin-top: 20px;
  padding: 16px 36px 24px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: var(--slate-400);
  overflow-wrap: break-word;
  word-break: break-all;
}

.guide-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-item {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.guide-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-header h2, .guide-header h3 {
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
}

.guide-header h2::after, .guide-header h3::after { display: none; }

.guide-header .conclusion {
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.guide-body {
  padding: 24px;
}

.guide-content {
  line-height: 2;
  white-space: pre-wrap;
  color: var(--slate-600);
  font-size: 15px;
}

.guide-content strong {
  color: var(--slate-800);
  font-weight: 600;
}

.guide-footer {
  padding: 14px 24px;
  background: var(--slate-50);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 13px;
  color: var(--slate-400);
  border-top: 1px solid var(--slate-100);
}

.view-more-bar {
  text-align: center;
  padding: 28px 0;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.view-more-link:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.view-more-link::after {
  content: '→';
  transition: transform 0.2s;
}

.view-more-link:hover::after {
  transform: translateX(4px);
}

.breadcrumb {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--slate-500);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 10px;
  color: var(--slate-400);
}

.breadcrumb-item a {
  color: var(--teal);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

footer {
  background: var(--slate-800);
  color: white;
  padding: 56px 0;
  margin-top: 64px;
  text-align: center;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-main-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  text-align: left;
}

.footer-section {
  margin-bottom: 0;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--teal-light);
}

.footer-section p {
  line-height: 1.9;
  opacity: 0.85;
  font-size: 14px;
}

.footer-section p:empty {
  display: none;
}

.footer-section p a,
.footer-section a {
  color: var(--teal-light);
  text-decoration: none;
}

.footer-section p a:hover,
.footer-section a:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copyright p {
  line-height: 1.9;
  opacity: 0.7;
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
  transition: all 0.25s;
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.back-to-top.visible {
  display: flex;
}

.admin-btn {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.admin-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.filter-bar {
  max-width: 860px;
  margin: 0 auto 28px;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.login-body {
  background: linear-gradient(160deg, #f0fdfa 0%, #e6fffa 30%, #f8fafc 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
}

.login-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.login-header p {
  color: var(--slate-500);
  font-size: 14px;
}

.login-form-group {
  margin-bottom: 20px;
}

.login-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.login-form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: all 0.2s;
  outline: none;
  font-family: inherit;
}

.login-form-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.login-error {
  display: none;
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fef2f2;
  border-radius: var(--radius-sm);
}

.login-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.login-btn:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.login-back-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--slate-400);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.login-back-link:hover {
  color: var(--teal);
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    position: relative;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--slate-700);
    padding: 8px;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }

  #main-nav.active {
    display: block !important;
  }

  .nav-list {
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-list a {
    display: block;
    padding: 12px 24px;
    border-radius: 0;
  }

  .lawyer-profile {
    padding: 100px 16px 80px;
  }

  .lawyer-name {
    font-size: 32px;
  }

  .lawyer-avatar {
    width: 140px;
    height: 140px;
    font-size: 56px;
  }

  .lawyer-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .opinion-list {
    gap: 20px;
    padding: 0 12px;
  }

  .opinion-header {
    padding: 24px 20px;
  }

  .opinion-body {
    padding: 0 20px 24px;
  }

  .opinion-header h2, .opinion-header h3 {
    font-size: 18px;
  }

  .guide-header {
    padding: 20px 18px;
    gap: 10px;
  }

  .guide-header h2, .guide-header h3 {
    font-size: 18px;
  }

  .guide-body {
    padding: 18px;
  }

  .guide-content {
    font-size: 14px;
    line-height: 1.85;
  }

  .guide-footer {
    padding: 12px 18px;
    font-size: 12px;
  }

  .login-container {
    margin: 20px;
    padding: 36px 24px;
  }

  h2 {
    font-size: 26px;
  }

  section {
    padding: 48px 0;
    margin: 16px 0;
  }
}