/* SooperKanoon - Bare Acts browse hub (lawyer-focused) */

.sk-acts-browse-page .sk-page-title {
  margin-bottom: 0.35rem;
}

.sk-acts-browse-page .sk-page-meta {
  margin-bottom: 1.5rem;
  max-width: 42rem;
  line-height: 1.6;
}

.sk-acts-browse {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.sk-acts-hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 1.375rem;
  border-radius: 1.125rem;
  border: 1px solid rgba(5, 150, 105, 0.2);
  background: linear-gradient(135deg, #064e3b 0%, #065f46 48%, #047857 100%);
  color: #fff;
  box-shadow: 0 10px 36px rgba(6, 78, 59, 0.22);
  position: relative;
  overflow: hidden;
}

.sk-acts-hero::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -6%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.sk-acts-hero__copy {
  position: relative;
  min-width: 0;
}

.sk-acts-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.625rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a7f3d0;
}

.sk-acts-hero__title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.sk-acts-hero__desc {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #a7f3d0;
}

.sk-acts-hero__actions {
  display: grid;
  gap: 0.625rem;
  position: relative;
}

@media (min-width: 640px) {
  .sk-acts-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    padding: 1.75rem 1.75rem 1.5rem;
  }

  .sk-acts-hero__title {
    font-size: 1.5rem;
  }
}

.sk-acts-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.sk-acts-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  color: #fff !important;
}

.sk-acts-action__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.sk-acts-action__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sk-acts-action__text strong {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.sk-acts-action__text small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6ee7b7;
  line-height: 1.3;
}

.sk-acts-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.sk-acts-search {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.625rem 0.875rem;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sk-acts-search:focus-within {
  border-color: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.sk-acts-search .fa {
  color: #94a3b8;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sk-acts-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #0f172a;
  outline: none;
}

.sk-acts-search input::placeholder {
  color: #94a3b8;
}

.sk-acts-toolbar__meta {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.sk-acts-featured {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #a7f3d0;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  color: #064e3b !important;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}

.sk-acts-featured:hover {
  border-color: #34d399;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.14);
  transform: translateY(-2px);
  color: #064e3b !important;
}

.sk-acts-featured.is-hidden {
  display: none;
}

.sk-acts-featured__badge {
  position: absolute;
  top: 0.75rem;
  right: 2.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #059669;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sk-acts-featured__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background: #059669;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sk-acts-featured__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.sk-acts-featured__body strong {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.3;
  color: #064e3b;
}

.sk-acts-featured__body small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #059669;
  line-height: 1.4;
}

.sk-acts-featured__arrow {
  color: #34d399;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.sk-acts-region {
  margin-bottom: 0.5rem;
}

.sk-acts-region.is-hidden {
  display: none;
}

.sk-acts-region__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
}

.sk-acts-region__title .fa {
  color: #059669;
  font-size: 0.875rem;
}

.sk-acts-region__count {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
}

.sk-acts-state-grid {
  display: grid;
  gap: 0.625rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sk-acts-state-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sk-acts-state-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sk-acts-state {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 4.75rem;
  padding: 0.875rem 0.9375rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1e293b !important;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.sk-acts-state:hover {
  border-color: #6ee7b7;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
  color: #047857 !important;
}

.sk-acts-state.is-hidden {
  display: none;
}

.sk-acts-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.sk-acts-state__name {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.sk-acts-state__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sk-acts-empty {
  margin: 0.5rem 0 0;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  text-align: center;
}

.sk-acts-empty em {
  font-style: normal;
  font-weight: 700;
  color: #059669;
}

/* Year drill-down */
.sk-acts-drill {
  margin-bottom: 2rem;
}

.sk-acts-drill__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.sk-acts-drill__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #059669 !important;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
}

.sk-acts-drill__back:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.sk-acts-drill__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.sk-acts-drill__hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.sk-acts-year-grid .sk-browse-item {
  min-height: 3.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.sk-acts-year-grid .sk-browse-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.1);
  border-color: #6ee7b7;
  background: #f0fdf4;
  color: #047857;
}

@media (max-width: 639px) {
  .sk-acts-featured {
    flex-wrap: wrap;
    padding: 1rem;
  }

  .sk-acts-featured__badge {
    position: static;
    order: -1;
    align-self: flex-start;
    margin-bottom: 0.25rem;
  }

  .sk-acts-featured__arrow {
    display: none;
  }
}
