.preloader {
  display: none !important;
}
header .elementor-button,
header a[class*="btn"],
header a[class*="button"] {
  white-space: nowrap;
}
#jp-post-flair, .sharedaddy, .sd-sharing-enabled, .sd-block, .sd-like, .jetpack-likes-widget-wrapper, .sd-social { display: none !important; }
.widget img[src=""],
.widget img:not([src]) {
  display: none !important;
}
.wpo-service-section .service-data.active-service-data:not(.dont-active-service-data) ~ .service-data.active-service-data {
  display: none !important;
}
.wpo-features-item {
  height: 100%;
}
.wpo-solutions-section .wpo-solutions-item {
    height: calc(100% - 30px);
}
/* Single post: hide the "Tags:" row and its divider line under the article */
.wpo-blog-single-section .tag-share,
.wpo-blog-single-section .tag-share-s2 { display: none; }

/* Single post: hide "Comments (0)" in the byline */
.wpo-blog-single-section .entry-meta li:has(.canun-comment) { display: none; }
/* Single post: hide the comment list and comment form */
.wpo-blog-single-section #comments,
.wpo-blog-single-section #respond { display: none; }
/* Testimonials on phones and iPads: full text shown, page keeps scrolling when you swipe over a testimonial */
@media (max-width: 1199px) {
  .wpo-testimonials-section .owl-carousel,
  .wpo-testimonials-section .owl-stage-outer,
  .wpo-testimonials-section .owl-item,
  .wpo-testimonials-section .owl-item * {
    touch-action: pan-y !important;
    overscroll-behavior: auto !important;
  }
  .wpo-testimonials-section .owl-item * {
    max-height: none !important;
    overflow: visible !important;
  }
}
/* Testimonials: center each one vertically so short and long ones look balanced */
.wpo-testimonials-section .owl-carousel .owl-stage {
  display: flex !important;
}
.wpo-testimonials-section .owl-carousel .owl-item {
  display: flex !important;
  align-items: center;
  float: none !important;
}
.wpo-testimonials-section .owl-carousel .owl-item > .wpo-testimonial-item {
  width: 100%;
}
/* Blog cards: equal height, author bar pinned to the bottom */
.wpo-blog-section .wpo-blog-item { height: 100%; display: flex; flex-direction: column; }
.wpo-blog-section .wpo-blog-item .wpo-blog-content { flex: 1 1 auto; display: flex; flex-direction: column; }
.wpo-blog-section .wpo-blog-item .wpo-blog-content-top { flex: 1 1 auto; }
/* Blog cards: equal height, author bar pinned to the bottom */
.wpo-blog-section .wpo-blog-item { height: 100%; display: flex; flex-direction: column; }
.wpo-blog-section .wpo-blog-item .wpo-blog-content { flex: 1 1 auto; display: flex; flex-direction: column; }
.wpo-blog-section .wpo-blog-item .wpo-blog-content-top { flex: 1 1 auto; }
/* Third home slide: "Personal Defense," on line 1 and "Not a Case Number" on line 2 */
.swiper-slide[data-swiper-slide-index="2"] .slide-title h2 {
  text-transform: none;   /* keeps "a" lowercase */
  max-width: 8.3em;       /* room for one half of the title per line */
}
.page-pagination-wrap a.prev.page-numbers,
.page-pagination-wrap a.next.page-numbers,
.paginations a.prev.page-numbers,
.paginations a.next.page-numbers {
  display: none !important;
}
.page-pagination-wrap li:has(> a.prev.page-numbers),
.page-pagination-wrap li:has(> a.next.page-numbers) {
  display: none !important;
}
/* Footer: mailing address on three lines under one icon */
.footer-widget-area .contact-ft:nth-of-type(4) i,
.footer-widget-area .contact-ft:nth-of-type(5) i { display: none; }
.footer-widget-area .contact-ft:nth-of-type(4),
.footer-widget-area .contact-ft:nth-of-type(5) { margin-top: 0; }
.footer-widget-area .contact-ft:nth-of-type(3) li,
.footer-widget-area .contact-ft:nth-of-type(4) li { padding-bottom: 0; }
/* Footer: "*by appointment only" on its own line under the three satellite offices */
.footer-widget-area .contact-ft:nth-of-type(6) li::after,
.footer-widget-area .contact-ft:nth-of-type(7) li::after,
.footer-widget-area .contact-ft:nth-of-type(8) li::after {
    content: "*by appointment only";
    display: block;
    font-size: 14px;
    line-height: 1.4;
    opacity: .8;
}
/* Footer: "*by appointment only" on its own line under the three satellite offices */
.footer-widget-area .contact-ft:nth-of-type(7) li::after,
.footer-widget-area .contact-ft:nth-of-type(8) li::after,
.footer-widget-area .contact-ft:nth-of-type(9) li::after {
    content: "*by appointment only";
    display: block;
    font-size: 14px;
    line-height: 1.4;
    opacity: .8;
}
/* Footer: mailing address on three lines under one icon */
.footer-widget-area .contact-ft:nth-of-type(4) i,
.footer-widget-area .contact-ft:nth-of-type(5) i { display: none; }
.footer-widget-area .contact-ft:nth-of-type(4),
.footer-widget-area .contact-ft:nth-of-type(5) { margin-top: 0; }
.footer-widget-area .contact-ft:nth-of-type(3) li,
.footer-widget-area .contact-ft:nth-of-type(4) li { padding-bottom: 0; }
/* Footer: "*by appointment only" on its own line under the three satellite offices */
.footer-widget-area .contact-ft:nth-of-type(6) li::after,
.footer-widget-area .contact-ft:nth-of-type(7) li::after,
.footer-widget-area .contact-ft:nth-of-type(8) li::after {
    content: "*by appointment only";
    display: block;
    font-size: 14px;
    line-height: 1.4;
    opacity: .8;
}
/* Hide "Comments (0)" on blog lists and posts at every screen size, including phones */
.entry-meta li:has(.canun-comment),
.entry-meta li:has(.flaticon-comment-white-oval-bubble) {
  display: none !important;
}
/* Service pages: remove the empty sidebar and use the full content width */
@media (min-width: 992px) {
    .single-service .service-single-section > .container > .row > .col-lg-8 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
    .single-service .service-single-section > .container > .row > .col-lg-4 {
        display: none;
    }
}
/* Hide the comment count on the blog page and on single posts */
.entry-meta li:has(.canun-comment) { display: none; }
/* Service pages: hide Jetpack's "Related" block */
.single-service #jp-relatedposts {
    display: none !important;
}
footer .flaticon-email { position: relative; top: -3px; }
/* Testimonials: hide the client photo and the gold shape behind it */
.wpo-testimonials-section .wpo-testimonial-info-img {
    display: none;
}
.gravatar-hovercard { display: none !important; }
/* Home page charge cards: the whole card is a link */
.elementor-widget-wpo-canun_serviceitem .wpo-solutions-item { position: relative; }
.elementor-widget-wpo-canun_serviceitem .wpo-solutions-item a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.elementor-widget-wpo-canun_serviceitem .wpo-solutions-text h2 a { color: inherit; text-decoration: none; }
.elementor-widget-wpo-canun_serviceitem .wpo-solutions-item:hover h2 { color: #b98a45; }
/* Footer contact list: final rules (these override any older footer rules above) */
.footer-widget-area .contact-ft { margin-top: 20px !important; }
.footer-widget-area .contact-ft li { padding-bottom: 15px !important; }
.footer-widget-area .contact-ft i { display: block !important; }
.footer-widget-area .contact-ft li::after { content: none !important; }

.footer-widget-area .contact-ft:nth-of-type(3) i,
.footer-widget-area .contact-ft:nth-of-type(5) i,
.footer-widget-area .contact-ft:nth-of-type(6) i { display: none !important; }
.footer-widget-area .contact-ft:nth-of-type(3),
.footer-widget-area .contact-ft:nth-of-type(5),
.footer-widget-area .contact-ft:nth-of-type(6) { margin-top: 0 !important; }
.footer-widget-area .contact-ft:nth-of-type(2) li,
.footer-widget-area .contact-ft:nth-of-type(4) li,
.footer-widget-area .contact-ft:nth-of-type(5) li { padding-bottom: 0 !important; }

.footer-widget-area .contact-ft:nth-of-type(7) li::after,
.footer-widget-area .contact-ft:nth-of-type(8) li::after,
.footer-widget-area .contact-ft:nth-of-type(9) li::after {
    content: "*by appointment only" !important;
    display: block;
    font-size: 14px;
    line-height: 1.4;
    opacity: .8;
}
/* Never split words in the middle (the theme forces this on blog lists, page titles and post links) */
.wpo-blog-pg-section .blog-content .post,
.wpo-blog-pg-section .blog-content .post *,
.page-title,
.page-title *,
.wpo-blog-single-section .post-navigation .post-title {
  word-break: normal !important;
  overflow-wrap: break-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}
/* Even out the line lengths of titles so a single word isn't left alone on the last line */
.page-title h1,
.page-title h2,
.wpo-blog-pg-section .post h3,
.wpo-blog-section .wpo-blog-item h2,
.wpo-blog-single-section .post-navigation .post-title {
  text-wrap: balance;
}
/* Home page blog cards: the whole card, including the picture, links to the post */
.wpo-blog-section .wpo-blog-item { position: relative; cursor: pointer; }
.wpo-blog-section .wpo-blog-item h2 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; }
/* Blog page: the picture and the post block link to the post */
.wpo-blog-pg-section .post { position: relative; }
.wpo-blog-pg-section .post .entry-details h3 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
.wpo-blog-pg-section .post .entry-meta a,
.wpo-blog-pg-section .post .read-more { position: relative; z-index: 2; }
/* Charges We Defend on phones and tablets: one card per charge (picture, number, title, description) */
@media (max-width: 991px) {
  .wpo-service-section .service-thumbs { display: none !important; }
  .wpo-service-section .service-content-outer { height: auto !important; counter-reset: asb-charge; }
  .wpo-service-section .service-content-outer .service-data.service-data.active-service-data:not(.dont-active-service-data) { display: block !important; position: relative; height: auto !important; margin: 0 16px 28px; counter-increment: asb-charge; box-shadow: 0 6px 24px rgba(7, 1, 67, .12); }
  .wpo-service-section .service-data-img { height: auto !important; }
  .wpo-service-section .service-data-img img { display: block; width: 100%; height: 230px !important; object-fit: cover; }
  .wpo-service-section .service-data-img::before { content: counter(asb-charge, decimal-leading-zero); position: absolute; top: 16px; left: 16px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #e3b576; color: #fff; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; }
  .wpo-service-section .service-data-text { position: static !important; width: auto !important; margin: 0 !important; padding: 24px 22px 26px !important; background: #163967 !important; }
  .wpo-service-section .service-data-text h3 { font-size: 28px; line-height: 1.2; margin-bottom: 12px; }
  .wpo-service-section .service-data-text p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
  .wpo-service-section .service-data-text h3 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; }
}
/* Phones and tablets: gold phone button at the top right of the menu bar */
@media (max-width: 991px) {
  header .header-right { justify-content: flex-end; }
  header .header-right .close-form { display: block !important; }
  header .header-right .theme-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    margin: 0 0 0 auto;
    font-size: 0 !important;
    line-height: 0;
    border-radius: 4px;
    background: #e3b576;
    overflow: hidden;
  }
  header .header-right .theme-btn::before {
    content: "";
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  header .header-right .theme-btn::after { display: none !important; }
}
/* Charge pages: show each charge's picture above the text (DUI Felonies already has its own) */
.service-single-img img[src=""] { display: none; }
.postid-257 .service-single-img,
.postid-264 .service-single-img,
.postid-267 .service-single-img,
.postid-273 .service-single-img,
.postid-270 .service-single-img { aspect-ratio: 3 / 2; background-position: center; background-size: cover; background-repeat: no-repeat; }
.postid-257 .service-single-img { background-image: url("/wp-content/uploads/2021/09/man-driving-with-bottle-at-nighttime-in-city-2026-09-24-06-53-10-utc-1536x1024.jpg"); }
.postid-264 .service-single-img { background-image: url("/wp-content/uploads/2026/10/man-with-head-in-hand-sits-by-wrecked-car-2026-09-23-21-08-38-utc-1536x1024.jpg"); }
.postid-267 .service-single-img { background-image: url("/wp-content/uploads/2021/09/distressed-young-adults-following-car-accident-on-2026-09-24-12-02-31-utc-1536x1024.jpg"); }
.postid-273 .service-single-img { background-image: url("/wp-content/uploads/2021/09/scales-of-justice-and-gavel-on-table-2026-09-23-01-33-11-utc-1536x1024.jpg"); }
.postid-270 .service-single-img { background-image: url("/wp-content/uploads/2021/09/list-imag-2.jpg"); }
/* Charges We Defend icons: match the gold of the buttons (#e3b576) */
.wpo-solutions-icon img[src$=".svg"] { filter: saturate(1.17) hue-rotate(-1deg); }
/* iPad: never leave one box alone on its own row */
@media (min-width: 768px) and (max-width: 991px) {
  .wpo-features-wrapper .row > .col-md-6:nth-child(3) { display: none !important; }
  .wpo-upper-footer .row > .col:nth-child(2) { flex: 0 0 28%; max-width: 28%; }
  .wpo-upper-footer .row > .col:nth-child(3) { flex: 0 0 40%; max-width: 40%; }
  .wpo-upper-footer .row > .col:nth-child(4) { flex: 0 0 32%; max-width: 32%; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .wpo-blog-section .row > .col-md-6:nth-child(3) { display: none !important; }
}
/* iPad call button: same gold phone button as on phones, for 992px to 1200px wide screens */
@media (min-width: 992px) and (max-width: 1200px) {
  header .header-right { justify-content: flex-end; }
  header .header-right .close-form { display: block !important; }
  header .header-right .theme-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 0 0 auto;
    padding: 0 !important;
    line-height: 0;
    font-size: 0 !important;
    border-radius: 4px;
    background: #e3b576;
    overflow: hidden;
  }
  header .header-right .theme-btn::before {
    content: "";
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  header .header-right .theme-btn::after { display: none !important; }
}
/* Blog & News page: every picture the same size and shape (3:2) */
.wpo-blog-pg-section .post .entry-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* About Alan: show the whole photo instead of cropping it to a square */
.attorney-info-img img { height: auto !important; object-fit: contain !important; }
/* "Talk To Alan Today" section: keep the photo clear of the form */
@media (min-width: 992px) and (max-width: 1599px) {
    .wpo-consultancy-section .consult-img {
        left: 0;
        width: 43vw;
    }
    .wpo-consultancy-section .consult-img img {
        width: 100%;
        height: auto;
    }
}
.wpo-consultancy-section .wpo-consultancy-form-area {
    position: relative;
    z-index: 2;
}