/* GENERATED by site/tools/build_assets.py — the blog component <style> blocks of /blog/7-criteria-to-evaluate-a-criminal-defense-firm-in-wake-county-nc, in live order. */

.blog-post {
display: flex;
flex-flow: column nowrap;
gap: 20px;
header {
display: flex;
flex-flow: column nowrap;
gap: 20px;
background: #FFFFFF;
color: #000000;
h1:where(:not(.prlaw-h2)),h2:where(.prlaw-h1) {
font-size: 36px;
font-weight: 500;
line-height: 110%;
margin: 0px;
letter-spacing: 1px;
word-break: break-word;
}
.blog-post-meta {
height: 30px;
width: 100%;
display: flex;
flex-flow: row nowrap;
align-items: center;
font-size: 14px;
gap: 8px;
span {
color: #767676;
font-size: 14px;
}
.middleDot {
font-size: 26px;
}
.share-container {
position: relative;
.share-toggle {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 4px;
padding: 3px 10px;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: background 0.2s;
border-style: solid;
svg {
fill: currentColor;
height: 20px;
width: 20px;
}
}
.share-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
width: 140px;
padding: 8px 0;
flex-direction: column;
border-radius: 4px;
box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.10);
z-index: 100;
background: white;
}
.share-menu.active {
display: flex;
}
.share-menu button {
display: flex;
width: 100%;
height: 44px;
gap: 8px;
font-size: 14px;
padding: 0px 12px;
align-items: center;
border: none;
border-radius: 4px;
background: none;
cursor: pointer;
transition: background 0.2s;
}
.share-menu button:hover {
background: #257AA710;
}
.share-menu img {
width: 24px;
height: 24px;
}
}
}
}
figure {
margin: 0px;
max-width: 100%;
display: flex;
justify-content: center;
align-items: center;
img {
display: block;
object-fit: contain;
object-position: center;
width: 100%;
height: 100%;
}
}
.blog-post-content {
word-break: break-word;
img {
max-width: 100%;
}
}
.toast-message {
position: fixed;
left: 50%;
bottom: 30px;
transform: translateX(-50%) translateY(20px);
background-color: #333;
display: flex;
align-items: center;
gap: 12px;
padding: 10px 16px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
visibility: hidden;
min-width: 240px;
max-width: 90%;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 8px;
padding: 10px 16px;
font-size: 14px;
opacity: 0;
transition: opacity 0.4s ease, bottom 0.4s ease, visibility 0.3s;
z-index: 9999;
&.show {
visibility: visible;
opacity: 1;
transform: translateX(-50%) translateY(0);
}
.toast-icon {
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.toast-text {
flex: 1;
white-space: break-spaces;
line-height: 24px;
}
.toast-close {
background: transparent;
border: none;
fill: #bbb;
font-size: 16px;
cursor: pointer;
padding: 0;
margin-left: 8px;
&:hover {
fill: #fff;
}
}
&.success .toast-icon {
fill: #3bb54a;
}
&.error .toast-icon {
fill: #e74c3c;
}
#toast-success-icon,
#toast-error-icon {
display: none;
}
&.success #toast-success-icon {
display: block;
}
&.error #toast-error-icon {
display: block;
}
}
}


.blog-post-categories-list {
nav {
ul {
display: flex;
flex-flow: row wrap;
list-style: none;
padding: 0px;
margin: 0px;
gap: 8px;
li {
display: flex;
width: auto;
align-items: center;
font-size: 14px;
padding: 4px 12px;
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 16px;
a {
font-size: 13px;
line-height: 20px;
text-decoration: none;
font-weight: 500;
color: var(--text-color) !important;
}
}
.btn-light {
background-color: transparent;
&:hover {
color: var(--cta-background-color) !important;
border: 1px solid rgb(from var(--cta-background-color) r g b / 0.2);
background-color: rgb(from var(--cta-background-color) r g b / 0.1);
box-shadow: inset 0 0 0 1px rgb(from var(--cta-background-color) r g b / 0.2);
}
}
}
}
}


.blog-post-list {
position: relative;
display: flex;
flex-flow: column nowrap;
}
.blog-post-list-posts {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.card-clickable {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.blog-post-list-post {
position: relative;
display: flex;
flex-flow: column nowrap;
height: 312px;
width: 234px;
background: #ffffff;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.07);
&:has(.card-clickable:focus-visible){
outline: 2px solid rgba(0,0,0,0.12);
}
&:hover {
outline: 2px solid rgba(0,0,0,0.12);
}
figure {
height: 132px;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.blog-post-details {
display: flex;
flex-flow: column nowrap;
padding: 20px;
gap: 10px;
flex: 1;
overflow: hidden;
.blog-post-meta {
display: flex;
width: 100%;
flex-flow: row nowrap;
gap: 4px;
word-break: break-all;
line-height: 20px;
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
.blog-post-meta-category {
display: -webkit-box;
flex: 1;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
line-clamp: 1;
overflow: hidden;
a {
z-index: 2;
position: relative;
}
.btn-link {
color: var(--cta-background-color);
}
}
}
.blog-post-title h3 {
display: -webkit-box;
font-size: 18px;
line-height: 20px;
letter-spacing: 1px;
margin: 0px;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
word-break: break-word;
overflow: hidden;
}
.blog-post-content {
flex: 1;
overflow: hidden;
word-break: break-word;
}
.blog-post-content p {
margin: 0px;
overflow: hidden;
text-overflow: ellipsis;
font-size: 14px;
line-height: 20px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 9;
}
}
&:has(figure) .blog-post-content p {
-webkit-line-clamp: 3!important;
}
}


.contact-us-form-modal {
position: fixed;
display: flex;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
justify-content: center;
padding: 56px 0px;
z-index: 999999;
&[data-visible="false"] {
display: none;
}
.contact-us-form-modal-overlay {
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.5);
position: absolute;
top: 0px;
left: 0px;
}
.contact-us-form-dialog {
display: flex;
position: relative;
background: #fff;
width: 852px;
flex-flow: column nowrap;
height: 100%;
box-sizing: border-box;
.contact-us-form-dialog-header {
display: flex;
flex-flow: row nowrap;
padding: 16px 24px;
.contact-us-form-dialog-header-title {
display: flex;
flex: 1;
flex-flow: column nowrap;
h2:where(:not(.prlaw-h1)),h1:where(.prlaw-h2) {
font-size: 20px;
line-height: 33px;
margin: 0px;
padding: 0px;
flex: 1;
}
span {
font-size: 16px;
line-height: 22px;
}
}
button {
background: none;
border: none;
height: 24px;
width: 24px;
}
}
.contact-us-form-dialog-body {
padding: 24px;
overflow-y: scroll;
flex: 1;
}
}
}
.form-group {
margin-bottom: 1rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
width: 100%;
padding: 8px 12px;
font-size: 14px;
line-height: 1.4;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
transition: border-color 0.2s;
}
input:focus,
textarea:focus {
outline: none;
border-color: #007bff;
&:invalid {
border: 1px solid red;
}
}
.optOutInput {
display: flex;
align-items: flex-start;
gap: 0.5rem;
margin-bottom: 1.25rem;
}
.optOutInput input[type="checkbox"] {
margin-top: 0.2rem;
flex-shrink: 0;
}
button[type="submit"] {
display: block;
width: auto;
padding: 8px 12px;
font-size: 14px;
font-weight: 300;
border: none;
border-radius: 4px;
transition: background-color 0.2s;
cursor: pointer;
}
body:has(.contact-us-form-modal[data-visible="true"]) {
overflow: hidden;
}
@media (max-width: 991px) {
.contact-us-form-modal {
padding: 24px 0px 0px 0px;
.contact-us-form-dialog {
width: 100%;
height: 100%;
.contact-us-form-dialog-header {
border-bottom: 1px solid rgba(0,0,0,0.12);
}
}
}
}
@media (min-width: 992px) {
.contact-us-form-modal[data-is-modal="false"] {
position: static;
display: block !important;
height: auto;
width: 100%;
padding: 0px;
z-index: auto;
.contact-us-form-modal-overlay {
display: none;
}
.contact-us-form-dialog {
width: 100%;
height: auto;
background: transparent;
.contact-us-form-dialog-header {
padding: 0px 0px 16px 0px;
.dialog-close-button {
display: none;
}
}
.contact-us-form-dialog-body {
padding: 0px;
overflow-y: visible;
}
}
}
}


.blog-post-page-sidebar {
display: flex;
flex-flow: column nowrap;
width: 300px;
max-width: 300px;
margin-top: 60px;
box-sizing: border-box;
.blog-post-sidebar-section.lead-form-section {
padding: 20px;
border-radius: 10px;
&:not(:has(.contact-us-form-modal[data-is-modal="false"])) {
background: transparent;
padding: 0px;
}
@media (min-width: 992px) {
&:has(.contact-us-form-modal[data-is-modal="false"]) {
.blog-post-sidebar-contact-us-button {
display: none;
}
}
}
}
.blog-post-sidebar-contact-us-button {
display: flex;
width: 100%;
justify-content: center;
border-radius: 5px;
font-size: 18px;
line-height: 24px;
letter-spacing: 1px;
padding: 10px 16px;
}
.blog-post-sidebar-section { }
.blog-post-sidebar-section-spacer {
padding: 20px 0px;
div {
display: inline-flex;
height: 1px;
width: 100%;
background-color: #e3e3e3;
}
}
}
@media (max-width: 991px) {
.blog-post-page-sidebar {
gap: 10px;
padding: 40px 20px;
.blog-post-sidebar-section-spacer {
display: none;
}
.blog-post-sidebar-section.lead-form-section {
padding: 0px 0px 40px 0px;
}
}
}


body {
margin: 0px;
}
div {
box-sizing: border-box;
}
.z-1 {
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
0px 1px 1px 0px rgba(0, 0, 0, 0.14),
0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}
.z-2 {
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
0px 2px 2px 0px rgba(0, 0, 0, 0.14),
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}
.z-3 {
box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2),
0px 3px 4px 0px rgba(0, 0, 0, 0.14),
0px 1px 8px 0px rgba(0, 0, 0, 0.12);
}
.z-4 {
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
0px 4px 5px 0px rgba(0, 0, 0, 0.14),
0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}
.z-6 {
box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
0px 6px 10px 0px rgba(0, 0, 0, 0.14),
0px 1px 18px 0px rgba(0, 0, 0, 0.12)
}
.z-8 {
box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
0px 8px 10px 1px rgba(0, 0, 0, 0.14),
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
}
.z-12 {
box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2),
0px 12px 17px 2px rgba(0, 0, 0, 0.14),
0px 5px 22px 4px rgba(0, 0, 0, 0.12);
}
.z-16 {
box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.2),
0px 16px 24px 2px rgba(0, 0, 0, 0.14),
0px 6px 30px 5px rgba(0, 0, 0, 0.12);
}
.z-24 {
box-shadow: 0px 11px 15px -7px rgba(0, 0, 0, 0.2),
0px 24px 38px 3px rgba(0, 0, 0, 0.14),
0px 9px 46px 8px rgba(0, 0, 0, 0.12);
}


.lead-form-section {
background-color: var(--main-color);
color: var(--alt-color1, #ffffff);
}
.lead-form-section h2:where(:not(.prlaw-h1)),.lead-form-section h1:where(.prlaw-h2) {
color: var(--alt-color1, #ffffff);
}


.blog-post-page {
display: flex;
flex-flow: row nowrap;
justify-content: center;
gap: 96px;
margin-bottom: 48px;
padding: 0px 40px;
box-sizing: border-box;
.blog-post-page-inner {
padding: 0px 15px;
gap: 96px;
flex: 1;
display: flex;
flex-flow: row nowrap;
box-sizing: border-box;
}
.blog-post-page-breadcrumbs {
width: 100%;
display: flex;
flex: 100%;
padding: 20px 0px;
align-items: center;
font-size: 14px;
line-height: 20px;
gap: 5px;
.breadcrumbs-category-link {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
overflow: hidden;
word-break: break-all;
}
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.blog-post-page-post-categories {
display: flex;
flex-flow: column nowrap;
padding: 20px 0px;
gap: 8px;
.blog-post-page-post-categories-header {
padding-bottom: 8px;
font-size: 14px;
line-height: 110%;
font-weight: 500;
}
}
.blog-post-page-related-posts {
display: flex;
flex-flow: column nowrap;
padding: 40px 0px;
gap: 20px;
.blog-post-page-related-posts-title {
h3 {
font-size: 30px;
line-height: 110%;
font-weight: 400;
letter-spacing: 1px;
margin: 0px;
}
}
}
.hidden {
display: none;
}
}
.blog-post-page-container {
flex: 1;
box-sizing: border-box;
.blog-post-page-related-posts-title {
h3 {
font-size: 24px;
font-weight: 300;
}
}
}
@media (max-width: 991px) {
.blog-post-page{
display: block;
flex-flow: column;
padding: 0px 20px;
.blog-post-page-inner {
flex-flow: column nowrap;
gap: 0px;
padding: 0px;
.blog-post-page-container {
width: 100%;
}
}
.blog-post-list-posts {
display: flex;
gap: 10px;
padding: 10px 5px;
.blog-post-list-post {
width: 295px;
height: 346px;
min-width: 295px;
min-height: 346px;
}
}
}
.blog-post-page-sidebar {
max-width: 100%;
width: 100%;
box-sizing: border-box;
background: #f5f5f5;
}
}
@media (max-width: 960px) {
.blog-post-page {
.blog-post-list-posts {
overflow-x: auto;
scrollbar-width: none;
margin-right: -20px;
}
}
}
@media (min-width: 1920px) {
.blog-post-page {
.blog-post-list-posts {
.blog-post-list-post {
height: 437px;
width: 100%;
min-width: 250px;
figure {
height: 257px;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
}
@media (min-width: 1300px) and (max-width: 1920px) {
.blog-post-page {
.blog-post-list-posts {
.blog-post-list-post {
flex: 1;
height: 351px;
width: 100%;
figure {
height: 140px;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
}
@media (min-width: 992px) and (max-width: 1299px) {
.blog-post-page {
justify-content: normal;
.blog-post-page-inner {
max-width: 100%;
.blog-post-list-posts {
display: grid;
grid-template-columns: repeat(2, 1fr);
.blog-post-list-post {
min-width: 232px;
height: 311px;
width: 100%;
figure {
display: flex;
justify-content: center;
align-items: center;
height: 130px;
}
}
}
}
}
}
@media (max-width: 991px) {
.blog-post-page {
.blog-post-page-sidebar {
margin-top: 0px;
.blog-post-sidebar-section.lead-form-section {
.blog-post-sidebar-contact-us-button {
margin-bottom: 30px;
}
}
}
}
}
@media (min-width: 641px) and (max-width: 991px) {
.blog-post-page {
padding: 0px;
.blog-post-page-container {
padding: 0px 20px;
}
.blog-post-list-posts {
margin-right -20px;
padding-right: 20px;
.blog-post-list-post {
width: 285px;
height: 340px;
figure {
height: 160px;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
}
@media (max-width: 640px) {
.blog-post-page {
padding: 0px;
.blog-post-page-container {
padding: 0px 20px;
}
.blog-post-list-posts {
margin-right: -20px;
padding-right: 20px;
.blog-post-list-post {
height: 311px;
width: 232px;
figure {
height: 130px;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
}
@media (min-width: 1200px) {
.blog-post-page {
width: 1170px;
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
}
