.legal-blog-single{
  /* brand tokens mapped to site palette */
  --bg:#ffffff;
  --surface:#ffffff;
  --ink:#181818;
  --muted:#413c40;
  --brand:#265c73;   /* teal */
  --brand-2:#c8d907; /* lime accent */
  --line:#edeef0;
}

/* Title/meta and article spacing */
.legal-blog-single .hero .title{margin:6px 0 8px}
.legal-blog-single .hero .meta{margin:6px 0 10px}
.legal-blog-single .article{gap:20px}
.legal-blog-single .right-rail{gap:18px}


.legal-blog-single a:hover{text-decoration:underline}

/* TOC look + active state */
.legal-blog-single .toc h3{color:var(--muted)}
.legal-blog-single .toc a{color:var(--muted)}
.legal-blog-single .toc a.active,
.legal-blog-single .toc a:hover{color:var(--brand); text-decoration:underline}

/* TOC dropdown header */
.legal-blog-single .toc .toc-toggle{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  background:#265c73; color:#fff; border:0;
  border-radius:8px; padding:10px 12px; font-weight:700; cursor:pointer;
}
.legal-blog-single .toc .toc-toggle .caret{
  inline-size: 0; block-size: 0;
  border-left:6px solid transparent; border-right:6px solid transparent;
  border-top:8px solid #fff; transition:transform .2s ease;
}
.legal-blog-single #toc.collapsed .toc-toggle .caret{ transform:rotate(-180deg); }
.legal-blog-single #toc.collapsed #toc-links{ display:none; }
.legal-blog-single #toc .toc-divider{ border:0; border-top:1px solid var(--line); opacity:.5; margin:10px 0 }
.legal-blog-single #toc .toc-hint{ color:var(--muted); font-size:12px; margin:6px 0 0 }

/* Contact Form 7 inside CTA */
.legal-blog-single .cta .wpcf7 form{display:grid; gap:10px}
.legal-blog-single .cta .wpcf7-form-control{width:100%; background:#fff; color:var(--ink); border:1px solid #d6dbe6; border-radius:10px; padding:10px 12px}
.legal-blog-single .cta .wpcf7-textarea{min-height:90px}
.legal-blog-single .cta .wpcf7-submit{appearance:none; border:0; border-radius:999px; padding:12px 16px; font-weight:800; cursor:pointer; background:var(--brand-2); color:#0d323f}
.legal-blog-single .cta .wpcf7-submit:hover{filter:brightness(0.95)}
.legal-blog-single .cta .wpcf7-not-valid-tip{color:#b00020; font-size:12px}
.legal-blog-single .cta .wpcf7-response-output{margin:6px 0 0; padding:8px 10px; border-radius:8px}

/* Chips, tables, notice boxes refine to brand */
.legal-blog-single .chip{border-color:var(--line); color:var(--muted)}
.legal-blog-single th{background:#f2f2f2; color:var(--muted)}
.legal-blog-single .summary{border-left-color:var(--brand)}


body.post-template-single-legal-blog .bt_bb_section.btPageHeadline {
  display: none !important;
}
.legal-blog-single .cta .wpcf7-form-control.wpcf7-acceptance {
    border-width: 0;
}

.legal-blog-single .cta .wpcf7-submit, .wpcf7-form .wpcf7-submit {
    background-color: var(--brand-2) !important;
    box-shadow: none !important;
    color: var(--brand) !important;
}

/* Call Button Styles - Fixed to Bottom Left Corner */
#icw--call--button.widget-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    align-items: center;
    animation: icw-button-pulse 2s ease-in-out infinite;
    border-radius: 20px;
    background-color: #265c73; /* Teal brand color from site */
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    height: 64px;
    justify-content: center;
    margin-top: 12px;
    transition: all 1s ease-in-out;
    width: 64px;
    z-index: 999999;
    cursor: pointer;
    text-decoration: none !important;
}

#icw--call--button.widget-button:hover {
    transform: scale(1.1);
    background-color: #1a4050;
}

#icw--call--button.widget-button .call-icon {
    margin: 0;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 0 0-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#icw--call--button.widget-button .button-text {
    font-size: 10px;
    margin-top: 4px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation for the call button - Pulsing effect */
@keyframes icw-button-pulse {
    0% {
        box-shadow: 0 0 0 1px rgba(38, 92, 115, 0.5);
    }
    20% {
        box-shadow: 0 0 0 6px rgba(38, 92, 115, 0.3);
    }
    40% {
        box-shadow: 0 0 0 3px rgba(38, 92, 115, 0.4);
    }
    60% {
        box-shadow: 0 0 0 8px rgba(38, 92, 115, 0.2);
    }
    100% {
        box-shadow: 0 0 0 1px rgba(38, 92, 115, 0.5);
    }
}

@media (max-width: 480px) {
    .article > .card.pad, .article > .card {
        padding: 0px !important;
        border-radius: 8px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #icw--call--button.widget-button {
        bottom: 20px;
        left: 20px;
        height: 56px;
        width: 56px;
    }

    #icw--call--button.widget-button .call-icon {
        width: 20px;
        height: 20px;
    }

    #icw--call--button.widget-button .button-text {
        font-size: 9px;
    }
}


/* Hero Attorney Credentials */
.hero-attorney-credentials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.attorney-name {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.attorney-name strong {
  font-weight: 800;
}

.attorney-tagline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 4px solid var(--brand-2);
  color: var(--brand);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.attorney-tagline span:last-child {
  font-weight: 700;
}

/* Responsive adjustments for attorney credentials */
@media (max-width: 1100px) {
  .hero-attorney-credentials {
    margin-top: 24px;
    padding-top: 20px;
  }

  .attorney-name {
    font-size: 32px;
  }

  .attorney-tagline {
    font-size: 15px;
  }
}

@media (max-width: 780px) {
  .hero-attorney-credentials {
    margin-top: 20px;
    padding-top: 16px;
  }

  .attorney-name {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .attorney-tagline {
    font-size: 13px;
    padding-left: 12px;
    border-left-width: 3px;
  }
}

@media (max-width: 480px) {
  .hero-attorney-credentials {
    margin-top: 16px;
    padding-top: 14px;
  }

  .attorney-name {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .attorney-tagline {
    font-size: 12px;
    padding-left: 10px;
  }
}

/* Hero Trust Badge (Trustindex Reviews) */
.hero-trust-badge {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}


.hero-trust-badge > div,
.hero-trust-badge iframe {
  max-width: 100%;
}

/* Responsive adjustments for trust badge */
@media (max-width: 1100px) {
  .hero-trust-badge {
    margin-top: 18px;
  }
}

@media (max-width: 780px) {
  .hero-trust-badge {
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .hero-trust-badge {
    margin-top: 14px;
  }
}

/* ========================================
   ATTORNEY HERO BANNER (Above Blog Title)
   ======================================== */
.attorney-hero-banner {
    background-image: url('https://lasvegascriminallawyer.com/wp-content/uploads/2022/09/Moskal-Law-Main-Banner-Final-1.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 50px 20px 40px;
    margin-bottom: 0;
    position: relative;
}
.attorney-hero-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
}

.attorney-hero-content {
    max-width: var(--content-w, 1280px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Attorney Credentials in Banner */
.attorney-hero-banner .hero-attorney-credentials {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 24px;
}

.attorney-hero-banner .attorney-name {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.attorney-hero-banner .attorney-name strong {
    font-weight: 800;
}

.attorney-hero-banner .attorney-tagline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
    border-left: 5px solid var(--brand-2, #c8d907);
    color: var(--brand-2, #c8d907);
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.attorney-hero-banner .attorney-tagline span:last-child {
    font-weight: 700;
}

/* Trust Badge in Banner */
.attorney-hero-banner .hero-trust-badge {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 20px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.attorney-hero-banner .hero-trust-badge > div,
.attorney-hero-banner .hero-trust-badge iframe {
    max-width: 100%;
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
    .attorney-hero-banner {
        padding: 40px 20px 35px;
    }

    .attorney-hero-banner .attorney-name {
        font-size: 36px;
    }

    .attorney-hero-banner .attorney-tagline {
        font-size: 16px;
    }

    .attorney-hero-banner .hero-trust-badge {
        padding: 14px 16px;
    }
}

/* Responsive - Mobile */
@media (max-width: 780px) {
    .attorney-hero-banner {
        padding: 32px 16px 28px;
    }

    .attorney-hero-banner .attorney-name {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .attorney-hero-banner .attorney-tagline {
        
        padding-left: 14px;
        border-left-width: 4px;
    }

    .attorney-hero-banner .hero-trust-badge {
        margin-top: 16px;
        padding: 12px 14px;
        border-radius: 10px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .attorney-hero-banner {
        padding: 24px 14px 22px;
    }

    .attorney-hero-banner::before {
        height: 40px;
    }

    .attorney-hero-banner .attorney-name {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .attorney-hero-banner .attorney-tagline {
       
        padding-left: 12px;
        border-left-width: 3px;
        gap: 2px;
    }

    .attorney-hero-banner .hero-trust-badge {
        margin-top: 14px;
        padding: 10px 12px;
        border-radius: 8px;
        display: block;
    }
}
#bt_bb_recent_posts-2 .btImageTextWidget .bt_bb_headline_superheadline {
    display: none;
}