/*
Theme Name: BB-Lawteacher
Theme URI: 
Author: BusinessBliss Development Team
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bb-lawteacher
Tags: 
*/

/* sidebar text ad */
.lawteacher-sidebar-ad{
  margin-bottom: 30px;
  padding: 28px 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--base);
  background: linear-gradient(135deg, var(--base-2), #eff6ff);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  position: relative;
  overflow: visible;
  transform-origin: 50% 40%;
  animation: lawteacherSidebarAdJiggle 650ms ease-out 1;
  transition: transform .2s ease, box-shadow .2s ease;
  isolation: isolate;
}

.lawteacher-sidebar-ad:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.lawteacher-sidebar-ad__badge{
  position: absolute;
  top: -12px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #1E3A8A;
  border: 1px solid rgba(29,78,216,0.25);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 5;
}

.lawteacher-sidebar-ad h2{
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.lawteacher-sidebar-ad p{
  margin: 0 0 14px;
}

.lawteacher-sidebar-ad__cta a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1D4ED8 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(29,78,216,0.35);
  transition: color .2s ease, text-decoration-color .2s ease, transform .2s ease;
}

.lawteacher-sidebar-ad__cta a:hover,
.lawteacher-sidebar-ad__cta a:focus-visible{
  color: #1E3A8A !important;
  text-decoration-color: rgba(30,58,138,0.7);
  transform: translateY(-1px);
  outline: none;
}

.lawteacher-sidebar-ad__small{
  margin-top: 12px;
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(0,0,0,0.62);
}

@keyframes lawteacherSidebarAdJiggle{
  0%   { transform: translateY(10px) rotate(0) scale(0.98); }
  45%  { transform: translateY(0) rotate(-1.2deg) scale(1); }
  65%  { transform: translateY(0) rotate(1deg); }
  82%  { transform: translateY(0) rotate(-0.6deg); }
  100% { transform: translateY(0) rotate(0); }
}

@media (prefers-reduced-motion: reduce){
  .lawteacher-sidebar-ad{
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1024px){
  .widget-area .widget{
    padding: 4px !important;
  }
}