.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 tr:hover td{background:#fafcff}
.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;
    }
}