/* ==========================================================
   LEGAL MULTIPLES - Complete Stylesheet
   ========================================================== */

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

html, body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f0e8;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; }

.page-wrapper {
  max-width: 1000px;
  margin: 20px auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #fff;
  border-bottom: 3px solid #d4a017;
  flex-wrap: wrap;
  gap: 15px;
}

.logo { text-decoration: none; display: flex; align-items: center; }
.logo-img { max-height: 60px; width: auto; display: block; }
.custom-logo-link img { max-height: 60px; width: auto; }

/* ===== NAVIGATION ===== */
.main-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s;
  border-radius: 2px;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover { background: #8b4513; color: #fff; }

/* ===== DROPDOWN ===== */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #8b4513;
  list-style: none;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown .dropdown li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.4;
}
.has-dropdown .dropdown li a:hover { background: #6b3410; }

/* Wide dropdown */
.dropdown-wide {
  min-width: 340px;
  max-height: 520px;
  overflow-y: auto;
}
.dropdown-wide::-webkit-scrollbar { width: 8px; }
.dropdown-wide::-webkit-scrollbar-track { background: #6b3410; }
.dropdown-wide::-webkit-scrollbar-thumb { background: #d4a017; border-radius: 4px; }

.dropdown-group-title {
  padding: 8px 15px;
  background: #6b3410;
  color: #ffe680 !important;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  cursor: default;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.dropdown-group-title:hover { background: #6b3410 !important; }

/* ===== BOOKSHELF STRIP ===== */
.bookshelf-strip {
  height: 35px;
  background: repeating-linear-gradient(90deg,
    #6b3410 0px, #6b3410 4px,
    #8b4513 4px, #8b4513 8px,
    #a0522d 8px, #a0522d 12px,
    #5c2e0e 12px, #5c2e0e 16px);
  border-top: 3px solid #d4a017;
  border-bottom: 3px solid #d4a017;
}

/* ===== BANNER SLIDER ===== */
.banner-slider { position: relative; height: 340px; overflow: hidden; background: #1a1a1a; }
.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }

.banner-caption {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  background: rgba(0,0,0,0.65);
  padding: 15px 30px;
  text-align: center;
  border-bottom: 4px solid #d4a017;
  z-index: 5;
}
.banner-caption h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 32px;
  width: 40px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

.slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}
.dot.active { background: #d4a017; }

/* ===== 3 COLUMN ===== */
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 40px 30px;
}
.col-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: radial-gradient(circle at 30% 30%, #ffe680, #d4a017 60%, #8b6914);
  box-shadow: inset -3px -3px 6px rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.2);
}
.icon-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}
.col h2 {
  text-align: center;
  font-size: 20px;
  color: #3a3a3a;
  margin-bottom: 15px;
  font-family: Georgia, serif;
}
.col p {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: justify;
}

/* ===== CTA BAR ===== */
.cta-bar {
  display: flex;
  align-items: center;
  margin: 0 30px 40px;
  background: linear-gradient(90deg, #8b6914 0%, #a0522d 50%, #3a3a3a 50%, #2a2a2a 100%);
  color: #fff;
  padding: 20px 30px;
  position: relative;
}
.cta-bar::after {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 40px;
  background: #3a3a3a;
  transform: skewX(-20deg);
}
.cta-text { flex: 1; font-size: 15px; z-index: 2; }
.cta-text strong { color: #ffe680; }
.cta-btn {
  background: transparent;
  color: #fff;
  padding: 10px 30px;
  text-decoration: none;
  border: 1px solid #fff;
  font-size: 14px;
  z-index: 2;
  transition: all 0.3s;
}
.cta-btn:hover { background: #fff; color: #3a3a3a; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: #2a2a2a;
  padding: 12px 30px;
  color: #ccc;
  font-size: 13px;
}
.breadcrumb a { color: #ddd; text-decoration: none; }
.breadcrumb a:hover { color: #d4a017; }
.crumb-sep { margin: 0 8px; color: #888; }
.crumb-current { color: #d4a017; }

/* ===== PAGE BODY ===== */
.page-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 30px;
  background: #fff;
}
.main-content { min-width: 0; }
.page-title {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 300;
  color: #3a3a3a;
  margin-bottom: 5px;
  letter-spacing: 1px;
}
.page-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.content-block { margin-bottom: 28px; }
.content-block h2 {
  font-size: 16px;
  color: #3a3a3a;
  margin-bottom: 12px;
  font-weight: bold;
}
.content-block h3 {
  font-size: 15px;
  color: #3a3a3a;
  margin: 18px 0 10px;
}
.content-block p,
.content-block ul,
.content-block ol {
  font-size: 13.5px;
  line-height: 1.75;
  color: #555;
  text-align: justify;
  margin-bottom: 12px;
}
.content-block ul, .content-block ol { padding-left: 22px; }
.content-block li { margin-bottom: 4px; }
.content-block a { color: #8b4513; text-decoration: none; border-bottom: 1px dotted #8b4513; }
.content-block a:hover { color: #d4a017; border-bottom-color: #d4a017; }

/* ===== SIDEBAR ===== */
.sidebar { min-width: 0; }
.sidebar-widget { border: 1px solid #e0e0e0; background: #fff; }
.widget-title {
  background: #fff;
  color: #3a3a3a;
  font-size: 15px;
  font-weight: bold;
  padding: 15px 20px;
  margin: 0;
  border-bottom: 3px solid #d4a017;
  font-family: Georgia, serif;
  text-align: center;
}
.practice-list { list-style: none; margin: 0; padding: 0; }
.practice-list li { border-bottom: 1px solid #eee; }
.practice-list li:last-child { border-bottom: none; }
.practice-list li a {
  display: block;
  padding: 12px 20px 12px 35px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  position: relative;
  transition: all 0.2s;
  line-height: 1.4;
}
.practice-list li a::before {
  content: '\203A';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4a017;
  font-size: 18px;
  font-weight: bold;
}
.practice-list li a:hover {
  background: #faf5e8;
  color: #8b4513;
  padding-left: 40px;
}

/* ===== FOOTER ===== */
.site-footer { background: #2a2a2a; color: #ddd; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding: 30px;
}
.footer-col h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  margin-top: 10px;
}
.footer-col h3:first-child { margin-top: 0; }
.required-note { font-size: 11px; color: #aaa; margin-bottom: 10px; }
.contact-col label {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  color: #ccc;
}
.contact-col input,
.contact-col textarea {
  width: 100%;
  max-width: 320px;
  padding: 6px 8px;
  border: 1px solid #555;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
}
.contact-col textarea { resize: vertical; }
.captcha-box {
  width: 100px;
  height: 40px;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 5px 0;
  border-radius: 4px;
}
.contact-col button {
  margin-top: 12px;
  padding: 6px 20px;
  background: #d4a017;
  border: none;
  color: #2a2a2a;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-col button:hover { background: #ffe680; }

.search-box { display: flex; gap: 5px; margin-bottom: 20px; }
.search-box input {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid #555;
  max-width: 240px;
}
.search-box button {
  padding: 6px 15px;
  background: #555;
  color: #fff;
  border: none;
  cursor: pointer;
}
.search-box button:hover { background: #777; }
.empty-text { font-size: 12px; color: #888; }

.footer-bottom {
  background: #1a1a1a;
  padding: 15px 30px;
  text-align: center;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-nav a:hover { color: #d4a017; }

.copyright {
  text-align: center;
  padding: 15px;
  font-size: 12px;
  color: #888;
  background: #f5f0e8;
}
.copyright strong { color: #555; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; gap: 30px; }
  .page-title { font-size: 32px; }
  .dropdown-wide { min-width: 260px; }
}

@media (max-width: 768px) {
  .site-header { flex-direction: column; gap: 15px; padding: 15px; }
  .main-nav ul { justify-content: center; }
  .content-columns { grid-template-columns: 1fr; padding: 30px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .banner-caption h1 { font-size: 18px; }
  .banner-slider { height: 240px; }
  .cta-bar { flex-direction: column; gap: 15px; text-align: center; margin: 0 20px 30px; }
  .cta-bar::after { display: none; }
  .footer-nav { gap: 20px; flex-direction: column; }
  .page-body { padding: 25px 20px; }
  .breadcrumb { padding: 10px 20px; }

  /* Mobile dropdown */
  .has-dropdown .dropdown {
    position: static;
    display: none;
    min-width: 100%;
    box-shadow: none;
    background: #6b3410;
  }
  .has-dropdown.open .dropdown { display: block; }
}