.author-profile {
  background: #fafaf9;
}

.author-profile h1 {
  color: #9a3412;
}

.author-profile img.rounded-circle {
  border: 4px solid #d6d3d1;
  box-shadow: none;
}

.author-profile .badge.bg-light {
  background: #e7e5e4 !important;
  color: #292524 !important;
  transition: all 0.15s ease-out;
}

.author-profile .badge.bg-light:hover {
  background: #ea580c !important;
  color: #fff !important;
}

.author-box {
  border-inline-start: 4px solid #ea580c;
  background: #fff;
  border-radius: 6px;
  transition: all 0.25s ease-out;
}

.author-box:hover {
  background: #fff7ed;
  box-shadow: none;
}

.author-box img {
  transition: transform 0.15s ease-out;
}

.author-box:hover img {
  transform: scale(1.05);
}

.author-posts-list .card {
  background: #fff;
  border-color: #e7e5e4;
  border-radius: 6px;
  transition: all 0.25s ease-out;
  overflow: hidden;
}

.author-posts-list .card:hover {
  transform: translateY(-5px);
  background: #fff7ed;
  border-color: #ea580c;
  box-shadow: none;
}

.author-posts-list .card-img-top {
  transition: transform 0.4s ease-out;
}

.author-posts-list .card:hover .card-img-top {
  transform: scale(1.05);
}

.main-authors-section {
  background: #e7e5e4;
}

.author-card {
  background: #fafaf9;
  border: 1px solid #a8a29e;
  border-radius: 6px;
  transition: all 0.25s ease-out;
}

.author-card:hover {
  transform: translateY(-8px);
  background: #fff7ed;
  border-color: #ea580c;
  box-shadow: none;
}

.author-card img.rounded-circle {
  border: 3px solid #d6d3d1;
  transition: border-color 0.25s ease-out;
}

.author-card:hover img.rounded-circle {
  border-color: #ea580c;
}

.faq-section {
  background: #f5f5f4;
}

.faq-section h2 {
  font-size: 1.75rem;
  color: #292524;
}

.faq-list .faq-item {
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  transition: all 0.25s ease-out;
  cursor: pointer;
}

.faq-list .faq-item:hover {
  background: #fff7ed;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.faq-list .faq-item[open] {
  border-color: #f59e0b;
  background: #fffbeb;
}

.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;
}

.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: #ea580c;
  transition: transform 0.25s ease-out;
  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: #ea580c;
}

.faq-list .faq-answer {
  font-size: 0.95rem;
  line-height: 1.8;
  animation: faqFadeIn 0.25s ease-out;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sidebar-widgets .card {
  background: #fff;
  border-color: #e7e5e4;
  border-radius: 6px;
  transition: all 0.25s ease-out;
}

.sidebar-widgets .card:hover {
  background: #f5f5f4;
  border-color: #a8a29e;
  box-shadow: none;
}

.sidebar-widgets h5 {
  color: #292524;
}

.sidebar-widgets .badge {
  transition: all 0.15s ease-out;
  cursor: pointer;
}

.sidebar-widgets .badge:hover {
  background-color: #ea580c !important;
  color: white !important;
  transform: translateY(-1px);
}

.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: #ea580c !important;
}

.pagination .page-link {
  color: #c2410c;
  border-color: #d6d3d1;
  transition: all 0.15s ease-out;
}

.pagination .page-link:hover {
  background-color: #f5f5f4;
  color: #9a3412;
  border-color: #ea580c;
}

.pagination .page-item.active .page-link {
  background-color: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #a8a29e;
}

.search-box-section {
  background: #fafaf9;
}

.search-box-section .input-group-lg .form-control {
  border-radius: 6px 0 0 6px;
  padding-inline-start: 1.5rem;
}

.search-box-section .input-group-lg .btn {
  border-radius: 0 6px 6px 0;
}

.search-box-section .badge {
  transition: all 0.15s ease-out;
}

.search-box-section .badge:hover {
  background-color: #ea580c !important;
  color: #fff !important;
  border-color: #ea580c !important;
}

.search-results-section {
  background: #fff;
}

.search-result {
  background: #fff;
  border-radius: 6px;
  transition: all 0.25s ease-out;
}

.search-result:hover {
  transform: translateX(3px);
  background: #fff7ed;
  box-shadow: none;
}

.search-result h2 a:hover {
  color: #ea580c !important;
}

.search-result mark {
  background-color: #fcd34d;
  padding-inline: 2px;
  border-radius: 2px;
  font-weight: 600;
}

.error-page h1 {
  color: #ea580c;
  line-height: 1;
  text-shadow: none;
}

.recommended-links .badge {
  transition: all 0.15s ease-out;
  border: 1px solid #d6d3d1;
}

.recommended-links .badge:hover {
  background-color: #ea580c !important;
  color: #fff !important;
  border-color: #ea580c !important;
  transform: translateY(-2px);
  box-shadow: none;
}

.recommended-links .badge:hover .text-warning {
  color: #ffedd5 !important;
}

.legal-article-section,
main:has(> .container > article.bg-white) {
  background: #f5f5f4;
}

article :is(h2.h4) {
  color: #292524;
  border-bottom: 2px solid #a8a29e;
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
}

article .alert-info {
  background-color: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}

article .list-group-item {
  background: transparent;
  transition: all 0.15s ease-out;
}

article .list-group-item:hover {
  background: #e7e5e4;
  padding-inline-start: var(--space-sm);
}

.posts-grid { }

.posts-grid .card {
  background: #fff;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  transition: all 0.25s ease-out;
  overflow: hidden;
}

.posts-grid .card:hover {
  transform: translateY(-5px);
  background: #fff7ed;
  border-color: #ea580c;
  box-shadow: none;
}

.posts-grid .card-img-top {
  transition: transform 0.4s ease-out;
}

.posts-grid .card:hover .card-img-top {
  transform: scale(1.05);
}

.posts-grid .card-title a {
  transition: color 0.15s ease-out;
}

.posts-grid .card-title a:hover {
  color: #ea580c !important;
}

.related-posts h3 {
  border-bottom: 3px solid #ea580c;
  padding-bottom: var(--space-xs);
  display: inline-block;
}

.related-card {
  background: #fff;
  border-radius: 6px;
  transition: all 0.25s ease-out;
}

.related-card:hover {
  transform: translateY(-5px);
  background: #fff7ed;
  box-shadow: none;
}

.related-card img {
  transition: transform 0.4s ease-out;
}

.related-card:hover img {
  transform: scale(1.05);
}

.social-share .btn {
  min-width: 40px;
  transition: all 0.15s ease-out;
}

.social-share .btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.social-share [data-copy-url].copied {
  background-color: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

.accordion-button:not(.collapsed) {
  background-color: #fff7ed;
  color: #c2410c;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  outline: 2px solid #ea580c;
  outline-offset: 2px;
}

.modal-content {
  border: none;
  border-radius: 6px;
  box-shadow: none;
}

.tooltip-inner {
  background-color: #292524;
  border-radius: 4px;
  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;
  }
}