.author-profile {
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
}
.author-profile h1 {
  color: #312e81;
}
.author-profile img.rounded-circle {
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
}
.author-profile .badge.bg-light {
  background: linear-gradient(135deg, #e2e8f0, #f8fafc) !important;
  color: #1e293b !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.author-profile .badge.bg-light:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.author-box {
  border-inline-start: 4px solid #ec4899;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
  border-radius: 1rem;
}
.author-box:hover {
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.22), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.author-box img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.author-box:hover img {
  transform: scale(1.05);
}
.author-posts-list .card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
  border-radius: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.author-posts-list .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25), 0 6px 18px rgba(0, 0, 0, 0.1);
}
.author-posts-list .card-img-top {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.author-posts-list .card:hover .card-img-top {
  transform: scale(1.05);
}
.main-authors-section {
  background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
}
.author-card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid #e2e8f0;
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
  border-radius: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.author-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(139, 92, 246, 0.3), 0 10px 24px rgba(0, 0, 0, 0.1);
  border-color: #c084fc;
}
.author-card img.rounded-circle {
  border: 3px solid #f3e8ff;
  transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.author-card:hover img.rounded-circle {
  border-color: #7c3aed;
}
.faq-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.faq-section h2 {
  font-size: 1.75rem;
  color: #312e81;
}
.faq-list .faq-item {
  border: 1px solid rgba(245, 158, 11, 0.15);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0.75rem;
}
.faq-list .faq-item:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transform: translateY(-2px);
}
.faq-list .faq-item[open] {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}
.faq-list .faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-inline-end: 2rem;
  position: relative;
  user-select: none;
  color: #1f2937;
}
.faq-list .faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-list .faq-item summary::marker {
  content: '';
}
.faq-list .faq-item summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 0.25rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: #d97706;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
}
.faq-list .faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.faq-list .faq-q-num {
  font-weight: 700;
  font-size: 0.95rem;
  color: #d97706;
}
.faq-list .faq-answer {
  font-size: 0.95rem;
  line-height: 1.8;
  animation: faqFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.sidebar-widgets .card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  border-radius: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.sidebar-widgets .card:hover {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2), 0 4px 10px rgba(0, 0, 0, 0.05);
}
.sidebar-widgets h5 {
  color: #065f46;
}
.sidebar-widgets .badge {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.sidebar-widgets .badge:hover {
  background-color: #10b981 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.sidebar-widgets ul li:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.sidebar-widgets ul li a:hover .small {
  color: #10b981 !important;
}
.pagination .page-link {
  color: #4f46e5;
  border-color: transparent;
  border-image: linear-gradient(135deg, #6d28d9, #f472b6) 1;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.08);
}
.pagination .page-link:hover {
  background: #eef2ff;
  color: #4338ca;
  border-image: linear-gradient(135deg, #4f46e5, #6d28d9) 1;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #4f46e5, #6d28d9);
  border-color: #4f46e5;
  border-image: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}
.pagination .page-item.disabled .page-link {
  color: #94a3b8;
}
.search-box-section {
  background: linear-gradient(120deg, #eef2ff 0%, #f8fafc 100%);
}
.search-box-section .input-group-lg .form-control {
  border-radius: 999px 0 0 999px;
  padding-inline-start: 1.5rem;
}
.search-box-section .input-group-lg .btn {
  border-radius: 0 999px 999px 0;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}
.search-box-section .badge {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.search-box-section .badge:hover {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.search-results-section {
  background: linear-gradient(160deg, #f8fafc 0%, #ffffff 100%);
}
.search-result {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
}
.search-result:hover {
  transform: translateX(3px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.search-result h2 a:hover {
  color: #0ea5e9 !important;
}
.search-result mark {
  background-color: #fde047;
  padding-inline: 2px;
  border-radius: 4px;
  font-weight: 600;
}
.error-page h1 {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1;
  text-shadow: 0 8px 40px rgba(245, 158, 11, 0.35);
}
.recommended-links .badge {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
}
.recommended-links .badge:hover {
  background-color: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35), 0 2px 6px rgba(0, 0, 0, 0.05);
}
.recommended-links .badge:hover .text-warning {
  color: #fbbf24 !important;
}
.legal-article-section,
main:has(> .container > article.bg-white) {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
article :is(h2.h4) {
  color: #4338ca;
  border-bottom: 2px solid #c7d2fe;
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
}
article .alert-info {
  background-color: #e0e7ff;
  border-color: #a5b4fc;
  color: #3730a3;
}
article .list-group-item {
  background: transparent;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
article .list-group-item:hover {
  background: linear-gradient(90deg, #eef2ff, transparent);
  padding-inline-start: var(--space-sm);
}
.posts-grid {
}
.posts-grid .card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
  border-radius: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.posts-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25), 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: #8b5cf6;
}
.posts-grid .card-img-top {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.posts-grid .card:hover .card-img-top {
  transform: scale(1.05);
}
.posts-grid .card-title a {
  transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.posts-grid .card-title a:hover {
  color: #6d28d9 !important;
}
.related-posts h3 {
  border-bottom: 3px solid #10b981;
  padding-bottom: var(--space-xs);
  display: inline-block;
}
.related-card {
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.22), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.related-card img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.related-card:hover img {
  transform: scale(1.05);
}
.social-share .btn {
  min-width: 40px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.social-share .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}
.social-share [data-copy-url].copied {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #e0e7ff, #f5f3ff);
  color: #4338ca;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}
.modal-content {
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 24px 70px rgba(79, 70, 229, 0.3), 0 10px 30px rgba(0, 0, 0, 0.12);
}
.tooltip-inner {
  background: linear-gradient(135deg, #312e81, #1e1b4b);
  border-radius: 0.625rem;
  font-size: 0.85rem;
}
@media (max-width: 767.98px) {
  .faq-section h2 {
    font-size: 1.4rem;
  }
  .faq-list .faq-item summary {
    font-size: 0.95rem;
    padding-inline-end: 1.5rem;
  }
  .faq-list .faq-answer {
    font-size: 0.88rem;
  }
  .author-profile h1 {
    font-size: 1.5rem;
  }
  .author-profile .col-md-3 img {
    width: 120px !important;
    height: 120px !important;
  }
  .error-page h1 {
    font-size: 5rem !important;
  }
  .search-box-section .input-group-lg .form-control,
  .search-box-section .input-group-lg .btn {
    font-size: 1rem;
  }
}
@media (max-width: 575.98px) {
  .related-posts .row > [class*="col-"] {
    margin-bottom: var(--space-sm);
  }
  .pagination .page-link {
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
  }
}