.sbp-scroll-button {
position: fixed;
width: var(--sbp-button-size);
height: var(--sbp-button-size);
cursor: pointer;
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
transform: scale(0.8);
}
.sbp-scroll-button.sbp-visible {
opacity: 1;
visibility: visible;
transform: scale(1);
} .sbp-position-bottom-right {
bottom: var(--sbp-offset-vertical);
right: var(--sbp-offset-horizontal);
}
.sbp-position-bottom-left {
bottom: var(--sbp-offset-vertical);
left: var(--sbp-offset-horizontal);
}
.sbp-position-top-right {
top: var(--sbp-offset-vertical);
right: var(--sbp-offset-horizontal);
}
.sbp-position-top-left {
top: var(--sbp-offset-vertical);
left: var(--sbp-offset-horizontal);
}  .sbp-scroll-button.sbp-order-second.sbp-position-bottom-right {
bottom: calc(var(--sbp-offset-vertical) + var(--sbp-button-size) + var(--sbp-button-spacing));
}
.sbp-scroll-button.sbp-order-second.sbp-position-bottom-left {
bottom: calc(var(--sbp-offset-vertical) + var(--sbp-button-size) + var(--sbp-button-spacing));
}
.sbp-scroll-button.sbp-order-second.sbp-position-top-right {
top: calc(var(--sbp-offset-vertical) + var(--sbp-button-size) + var(--sbp-button-spacing));
}
.sbp-scroll-button.sbp-order-second.sbp-position-top-left {
top: calc(var(--sbp-offset-vertical) + var(--sbp-button-size) + var(--sbp-button-spacing));
} .sbp-button-content {
width: 100%;
height: 100%;
background-color: var(--sbp-button-bg);
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
padding: 8px;
box-sizing: border-box;
overflow: hidden;
}
.sbp-scroll-button:hover .sbp-button-content {
background-color: var(--sbp-button-hover-bg);
} .sbp-icon {
color: var(--sbp-button-icon-color);
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
flex-shrink: 0;
}
.sbp-icon svg {
width: 24px;
height: 24px;
} .sbp-text {
color: var(--sbp-button-text-color);
font-size: 9px;
font-weight: 600;
margin-top: 2px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.3px;
line-height: 1.1;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
} .sbp-button-content .sbp-text:only-child {
margin-top: 0;
font-size: 10px;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
} .sbp-progress-ring {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: rotate(-90deg);
pointer-events: none;
}
.sbp-progress-ring-bg {
fill: none;
stroke: var(--sbp-progress-bg);
stroke-width: var(--sbp-progress-width);
}
.sbp-progress-ring-circle {
fill: none;
stroke: var(--sbp-progress-color);
stroke-width: var(--sbp-progress-width);
stroke-dasharray: 289;
stroke-dashoffset: 289;
stroke-linecap: round;
transition: stroke-dashoffset 0.1s linear;
} @media (max-width: 768px) { .sbp-scroll-button,
.sbp-scroll-top,
.sbp-scroll-bottom {
width: calc(var(--sbp-button-size) * 0.85);
height: calc(var(--sbp-button-size) * 0.85);
} .sbp-scroll-top .sbp-button-content,
.sbp-scroll-bottom .sbp-button-content {
width: 100%;
height: 100%;
}
.sbp-icon svg {
width: 20px;
height: 20px;
}
.sbp-text {
font-size: 8px;
letter-spacing: 0.2px;
}
.sbp-button-content .sbp-text:only-child {
font-size: 9px;
} .sbp-position-bottom-right {
right: var(--sbp-offset-horizontal);
bottom: var(--sbp-offset-vertical);
}
.sbp-position-bottom-left {
left: var(--sbp-offset-horizontal);
bottom: var(--sbp-offset-vertical);
}
.sbp-position-top-right {
right: var(--sbp-offset-horizontal);
top: var(--sbp-offset-vertical);
}
.sbp-position-top-left {
left: var(--sbp-offset-horizontal);
top: var(--sbp-offset-vertical);
} .sbp-scroll-button.sbp-order-second.sbp-position-bottom-right,
.sbp-scroll-button.sbp-order-second.sbp-position-bottom-left {
bottom: calc(var(--sbp-offset-vertical) + (var(--sbp-button-size) * 0.85) + var(--sbp-button-spacing));
}
.sbp-scroll-button.sbp-order-second.sbp-position-top-right,
.sbp-scroll-button.sbp-order-second.sbp-position-top-left {
top: calc(var(--sbp-offset-vertical) + (var(--sbp-button-size) * 0.85) + var(--sbp-button-spacing));
}
}.smart-popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999999;
animation: smartPopupFadeIn 0.3s ease;
padding: 20px !important;
box-sizing: border-box !important;
}
.smart-popup-overlay.active {
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
.smart-popup-modal {
background: white;
border-radius: 16px;
padding: 40px;
max-width: 500px !important;
width: 100% !important;
position: relative;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
animation: smartPopupSlideUp 0.3s ease;
text-align: center;
margin: 0 auto !important;
box-sizing: border-box !important;
} @media (min-width: 601px) {
.smart-popup-modal {
max-width: 500px !important;
width: calc(100% - 40px) !important;
}
}
.smart-popup-close {
position: absolute;
top: 15px;
right: 15px;
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: #666;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s;
line-height: 1;
padding: 0;
font-weight: 300;
}
.smart-popup-close:hover {
opacity: 0.7;
} .smart-popup-custom-image {
width: 200px;
height: 200px;
margin: 0 auto 20px;
overflow: hidden;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.smart-popup-custom-image img {
width: 100%;
height: 100%;
object-fit: cover;
} .smart-popup-law-illustration {
width: 200px;
height: 200px;
margin: 0 auto 20px;
padding: 10px;
}
.smart-popup-law-illustration svg {
width: 100%;
height: 100%;
}
.smart-popup-modal h2 {
font-size: 28px;
margin: 0 0 10px 0;
font-weight: 600;
}
.smart-popup-modal h3 {
font-size: 24px;
margin: 0 0 20px 0;
font-weight: 600;
}
.smart-popup-modal p {
font-size: 16px;
line-height: 1.6;
margin: 0 0 30px 0;
}
.smart-popup-button {
border: none;
padding: 0 40px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s;
font-weight: 500;
height: 50px;
line-height: 50px;
display: inline-block;
}
.smart-popup-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@keyframes smartPopupFadeIn {
from { 
opacity: 0; 
}
to { 
opacity: 1; 
}
}
@keyframes smartPopupSlideUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
} @media (max-width: 600px) {
.smart-popup-overlay {
padding: 15px !important;
}
.smart-popup-modal {
padding: 30px 20px;
width: calc(100% - 30px) !important;
max-width: 100% !important;
}
.smart-popup-close {
width: 28px;
height: 28px;
font-size: 24px;
top: 10px;
right: 10px;
}
.smart-popup-custom-image,
.smart-popup-law-illustration {
width: 150px;
height: 150px;
}
.smart-popup-modal h2 {
font-size: 24px;
}
.smart-popup-modal h3 {
font-size: 20px;
}
.smart-popup-modal p {
font-size: 14px;
}
.smart-popup-button {
width: 100%;
font-size: 14px;
}
} @media (max-width: 400px) {
.smart-popup-overlay {
padding: 10px !important;
}
.smart-popup-modal {
width: calc(100% - 20px) !important;
padding: 25px 15px;
}
} .smart-popup-overlay * {
box-sizing: border-box !important;
}
.smart-popup-modal {
left: auto !important;
right: auto !important;
transform: none !important;
}
.smart-popup-overlay.active .smart-popup-modal {
display: block !important;
}.bbb-banner {
position: fixed; bottom: 0; left: 0; right: 0; width: 100%;
z-index: 999999; box-sizing: border-box;
box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.bbb-banner.bbb-hidden  { transform: translateY(100%); opacity: 0; pointer-events: none; }
.bbb-banner.bbb-visible { transform: translateY(0);    opacity: 1; pointer-events: auto; }
.bbb-banner.bbb-hide-desktop { display: none !important; }
.bbb-container {
width: 100%; box-sizing: border-box;
display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
gap: 12px; justify-content: center; align-items: stretch; padding: 0; margin: 0;
}
.bbb-button {
flex: 1 1 0% !important; min-width: 0 !important; max-width: none !important;
padding: 14px 24px; text-align: center; text-decoration: none;
border-radius: 6px; border: none; cursor: pointer; display: block;
box-shadow: 0 2px 4px rgba(0,0,0,0.12); line-height: 1.4;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bbb-button:hover  { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
.bbb-button:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
@media screen and (min-width: 769px) {
.bbb-button { flex: 0 1 auto !important; max-width: 280px !important; }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
.bbb-banner.bbb-hide-tablet { display: none !important; }
.bbb-container { gap: 10px; } .bbb-button { padding: 14px 20px; }
}
@media screen and (max-width: 768px) {
.bbb-banner.bbb-hide-mobile { display: none !important; }
.bbb-container { gap: 8px; } .bbb-button { padding: 14px 8px; }
}
@media screen and (max-width: 400px) {
.bbb-container { gap: 6px; } .bbb-button { padding: 12px 6px; }
}@keyframes sdm-slide-down {
0%   { opacity: 1; transform: translateY(0);    }
100% { opacity: 0; transform: translateY(120px); }
}
#sdm-toggle-wrap {
position: fixed;
z-index: 999999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
#sdm-toggle-wrap.sdm-visible {
opacity: 1;
pointer-events: auto;
}
#sdm-toggle-wrap.sdm-sliding-down {
animation: sdm-slide-down 0.8s cubic-bezier(0.4, 0, 1, 1) forwards;
pointer-events: none;
} #sdm-toggle {
width: 44px;
height: 44px;
border-radius: 50%;
background: transparent !important;
border: 2px solid #008080 !important;
box-shadow: none !important;
cursor: pointer;
user-select: none;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
position: relative;
}
.sdm-icon {
width: 100%;
height: 100%;
font-size: 20px;
line-height: 1;
display: none;
align-items: center;
justify-content: center;
position: absolute;
} @media (max-width: 768px) {
#sdm-toggle {
width: 37px; height: 37px;
}
#sdm-toggle .sdm-icon {
width: 100%;
height: 100%;
font-size: 17px; }
} .sdm-sun { display: inline-flex; }
.sdm-moon { display: none; } [data-sdm="dark"] .sdm-sun { display: none; }
[data-sdm="dark"] .sdm-moon { display: inline-flex; }  [data-sdm="dark"] html,
[data-sdm="dark"] body {
background-color: var(--sdm-bg, #0a0a0a) !important;
color: var(--sdm-text, #e8e6e3) !important;
} [data-sdm="dark"] a[style*="color:#0730ff"],
[data-sdm="dark"] a[style*="color: #0730ff"],
[data-sdm="dark"] a[style*="color:rgb(7,48,255)"],
[data-sdm="dark"] a[style*="color: rgb(7, 48, 255)"] {
color: #6b93ff !important;
}
[data-sdm="dark"] a {
--sdm-link-check: 1;
} [data-sdm="dark"] {
color-scheme: dark;
} [data-sdm="dark"] input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[data-sdm="dark"] textarea,
[data-sdm="dark"] select {
background-color: #1e1e1e !important;
color: var(--sdm-text, #e8e6e3) !important;
border-color: #333 !important;
} [data-sdm="dark"] pre,
[data-sdm="dark"] code,
[data-sdm="dark"] kbd {
background-color: #1e1e1e !important;
color: #d4d0c8 !important;
border-color: #333 !important;
} [data-sdm="dark"] img {
filter: brightness(0.88) contrast(1.02) !important;
transition: filter 0.3s !important;
}
[data-sdm="dark"] img:hover {
filter: brightness(1) contrast(1) !important;
} ::-webkit-scrollbar { width: 15px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 8px; border: 3px solid #f1f1f1; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }
[data-sdm="dark"] ::-webkit-scrollbar-track { background: #1a1a1a; }
[data-sdm="dark"] ::-webkit-scrollbar-thumb { background: #555; border-color: #1a1a1a; }
[data-sdm="dark"] ::-webkit-scrollbar-thumb:hover { background: #777; }  html {
scrollbar-gutter: stable;
overflow-y: scroll;
} #sdm-toggle-wrap,
#sdm-toggle-wrap * {
filter: none !important;
color: unset !important;
} #sdm-toggle {
border: 2px solid #008080 !important;
background: transparent !important;
box-shadow: none !important;
overflow: hidden;
flex-shrink: 0;
} #sdm-footer-inline {
display: block;
margin-top: 12px;
}
#sdm-footer-inline #sdm-toggle-wrap {
position: static !important;
display: inline-flex !important;
}:root {
--wl-primary: #008080;
--wl-primary-dark: #006666;
--wl-primary-light: #00a3a3;
--wl-text-primary: #1f2937;
--wl-text-secondary: #6b7280;
--wl-text-light: #9ca3af;
--wl-border: #e5e7eb;
--wl-bg-light: #f9fafb;
--wl-bg-lighter: #f3f4f6;
--wl-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--wl-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
--wl-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
--wl-radius: 8px;
--wl-radius-lg: 12px;
--wl-transition: all 0.3s ease;
--wl-bg-color: #ffffff;
--wl-text-color: #000000;
} .wl-author-boxes-container {
margin: 40px 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; container-type: inline-size;
} .wl-author-box {
border: 1px solid var(--wl-border);
border-radius: var(--wl-radius-lg);
padding: 28px;
margin-bottom: 24px;
display: grid;
grid-template-columns: 100px 1fr auto;
gap: 24px;
align-items: flex-start;
box-shadow: var(--wl-shadow);
transition: var(--wl-transition); contain: layout style paint; will-change: box-shadow, border-color;
}
.wl-author-box:hover {
box-shadow: var(--wl-shadow-lg);
border-color: var(--wl-primary-light);
} .wl-author-box-profile {
display: flex;
justify-content: center;
}
.wl-author-box-image-link {
display: inline-block;
border-radius: 50%;
overflow: hidden;
width: 100px;
height: 100px;
transition: var(--wl-transition);
flex-shrink: 0; border: 3px solid var(--wl-primary);
}
.wl-author-box-image-link:hover {
transform: scale(1.05);
} .wl-img-style-ring {
border: 3px solid var(--wl-primary);
}
.wl-img-style-ring:hover {
border-color: var(--wl-primary-dark);
}
.wl-img-style-shadow {
border: none !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.wl-img-style-shadow:hover {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.wl-img-style-none {
border: none !important;
box-shadow: none;
}
.wl-author-box-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block; contain: content; aspect-ratio: 1 / 1;
} .wl-author-box-content {
display: flex;
flex-direction: column;
gap: 12px;
flex: 1;
}
.wl-author-box-label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin: 0;
}
.wl-author-box-header {
margin-bottom: 8px;
}
.wl-author-box-name {
margin: 0;
font-weight: 700;
line-height: 1.2;
}
.wl-author-box-name a {
color: inherit;
text-decoration: none;
transition: color var(--wl-transition);
border-bottom: 2px solid transparent;
transition: var(--wl-transition);
}
.wl-author-box-name a:hover {
color: var(--wl-primary);
border-bottom-color: var(--wl-primary);
}
.wl-author-box-title {
margin: 4px 0 0 0;
font-size: 13px;
font-weight: 600;
text-transform: capitalize;
}
.wl-author-box-bio {
margin: 0;
font-size: 14px;
line-height: 1.6;
flex: 1;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
} .wl-author-box-social {
display: flex;
gap: 12px;
margin-top: 12px;
}
.wl-social-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: var(--wl-bg-light);
border: 1px solid var(--wl-border);
border-radius: 50%;
color: var(--wl-text-secondary);
text-decoration: none;
transition: var(--wl-transition);
font-size: 16px;
font-style: normal;
font-weight: normal;
line-height: 1;
}
.wl-social-link i {
font-style: normal;
font-weight: normal;
}
.wl-social-link:hover {
background: var(--wl-primary);
border-color: var(--wl-primary);
color: white;
transform: translateY(-2px);
} .wl-author-box.elegant-theme {
border: none;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
padding: 32px;
}
.wl-author-box.elegant-theme:hover {
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
} @media (max-width: 768px) {
.wl-author-box {
grid-template-columns: 1fr !important;
gap: 12px !important;
padding: 20px !important;
}
.wl-author-box-profile {
display: flex !important;
justify-content: center !important;
margin-bottom: 8px !important;
width: 100% !important;
}
.wl-author-box-image-link {
width: 70px !important;
height: 70px !important;
}
.wl-author-box-header {
text-align: center !important;
width: 100% !important;
}
.wl-author-box-name {
font-size: calc(1em * 0.85) !important;
}
.wl-author-box-title {
text-align: center !important;
}
.wl-author-box-label {
text-align: center !important;
}
.wl-author-box-content {
width: 100% !important;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
}
.wl-author-box-bio {
word-wrap: break-word !important;
overflow-wrap: break-word !important;
word-break: break-word !important;
max-width: 100% !important;
}
.wl-author-box-social {
gap: 8px !important;
width: 100% !important;
justify-content: center !important;
flex-wrap: wrap !important;
}
.wl-social-link {
width: 32px !important;
height: 32px !important;
}
}  @container (max-width: 520px) {
.wl-author-box {
grid-template-columns: 1fr !important;
gap: 12px !important;
padding: 16px !important;
display: grid !important;
}
.wl-author-box-profile {
display: flex !important;
justify-content: center !important;
margin-bottom: 8px !important;
width: 100% !important;
}
.wl-author-box-image-link {
width: 70px !important;
height: 70px !important;
}
.wl-author-box-header {
text-align: center !important;
width: 100% !important;
}
.wl-author-box-name {
font-size: calc(1em * 0.85) !important;
}
.wl-author-box-title {
text-align: center !important;
}
.wl-author-box-label {
font-size: 11px !important;
text-align: center !important;
}
.wl-author-box-content {
width: 100% !important;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
}
.wl-author-box-bio {
word-wrap: break-word !important;
overflow-wrap: break-word !important;
word-break: break-word !important;
max-width: 100% !important;
}
.wl-author-box-social {
gap: 8px !important;
width: 100% !important;
justify-content: center !important;
flex-wrap: wrap !important;
}
.wl-social-link {
width: 32px !important;
height: 32px !important;
font-size: 14px !important;
}
} @media (prefers-reduced-motion: reduce) {
.wl-author-box,
.wl-author-box-image-link,
.wl-author-box-name a,
.wl-social-link {
transition: none;
}
} @media print {
.wl-author-boxes-container {
break-inside: avoid;
}
.wl-social-link {
display: none;
}
}@font-face {
font-family: 'Font Awesome 6 Brands';
font-style: normal;
font-weight: 400;
font-display: block;
src: url(//www.writinglaw.com/wp-content/plugins/writing-law-author-box/assets/fonts/fa-brands-400.woff2) format('woff2');
}
@font-face {
font-family: 'Font Awesome 6 Free';
font-style: normal;
font-weight: 900;
font-display: block;
src: url(//www.writinglaw.com/wp-content/plugins/writing-law-author-box/assets/fonts/fa-solid-900.woff2) format('woff2');
}
.fa {
display: inline-block;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1;
text-rendering: auto;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fab {
font-family: 'Font Awesome 6 Brands';
font-weight: 400;
font-style: normal;
}
.fas {
font-family: 'Font Awesome 6 Free';
font-weight: 900;
font-style: normal;
} .fa-twitter::before { content: "\e61b"; }
.fa-linkedin::before { content: "\f0e1"; }
.fa-facebook::before { content: "\f39e"; }
.fa-instagram::before { content: "\f16d"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-threads::before { content: "\e618"; }
.fa-reddit::before { content: "\f281"; }
.fa-pinterest::before { content: "\f231"; }
.fa-youtube::before { content: "\f167"; }
.fa-globe::before { content: "\f0ac"; }