/* Dr Harsh Vyas: progressive SEO and accessibility enhancements */
.seo-footer-directory{margin:0 auto 1rem;padding:2rem 1.6rem;background:#f7fbff;color:#19374a;border:1px solid #dbeaf3;border-radius:18px;box-shadow:0 12px 30px rgba(10,48,76,.12);max-width:1170px}
.seo-footer-directory .seo-directory-kicker{color:#14669b;font-size:.77rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em;margin:0 0 .35rem}
.seo-footer-directory h2{font-size:1.5rem;line-height:1.35;color:#173b54;margin:0 0 .4rem;font-weight:750}
.seo-footer-directory .seo-directory-intro{color:#516778;max-width:760px;font-size:.94rem;margin:0 0 1.6rem}
.seo-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.5rem}
.seo-directory-column h3{color:#174e70;font-size:.96rem;font-weight:750;letter-spacing:.015em;margin:0 0 .8rem}
.seo-directory-column ul{margin:0;padding:0;list-style:none}
.seo-directory-column li{margin:.28rem 0}
.seo-directory-column a{display:inline-block;padding:.23rem 0;color:#354f61!important;text-decoration:none;font-size:.88rem;line-height:1.55;transition:color .15s ease,transform .15s ease}
.seo-directory-column a:hover,.seo-directory-column a:focus-visible{color:#0077b6!important;text-decoration:underline;transform:translateX(2px)}
.seo-directory-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid #d9e7f0;padding-top:1.25rem;margin-top:1.5rem;color:#486174;font-size:.91rem}
.seo-directory-bottom a.seo-directory-cta{background:#1977cc;color:#fff!important;font-weight:700;padding:.7rem 1.2rem;border-radius:7px;text-decoration:none;transition:background .2s ease}
.seo-directory-bottom a.seo-directory-cta:hover{background:#105b9e;color:#fff!important}
.seo-footer-directory a:focus-visible{outline:2px solid #1977cc;outline-offset:3px}
@media(max-width:991px){.seo-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}.seo-footer-directory{margin:0 1rem 1rem}}
@media(max-width:575px){.seo-footer-directory{padding:1.35rem 1rem;border-radius:12px}.seo-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.seo-directory-column a{font-size:.83rem}.seo-directory-column h3{font-size:.9rem}.seo-footer-directory h2{font-size:1.2rem}.seo-directory-bottom{align-items:stretch}.seo-directory-bottom a.seo-directory-cta{text-align:center;width:100%}}
@media(prefers-reduced-motion:reduce){.seo-footer-directory a{transition:none!important;transform:none!important}}
/* Keep media from overflowing flexible cards and reduce layout surprises. */
img{max-width:100%}
.services .card,.seo-footer-directory{overflow-wrap:break-word}

/* Responsive contextual links: long titles must wrap instead of clipping or overlapping. */
.contextual-internal-links,
.contextual-internal-links *{box-sizing:border-box}
.contextual-internal-links ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;min-width:0}
.contextual-internal-links li{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal;line-height:1.6}
.contextual-internal-links li a{display:inline-block;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;line-height:1.6;text-decoration:underline;text-underline-offset:3px}
.contextual-internal-links h2{max-width:100%;overflow-wrap:break-word;line-height:1.35!important}
@media(max-width:575px){.contextual-internal-links{padding:20px 16px!important}.contextual-internal-links ul{display:block!important;padding-left:22px!important}.contextual-internal-links li{margin:.55rem 0}}
/* Long page headings: avoid fixed-width overflow in inner-page hero and article titles. */
.overlay-text .img-heading{max-width:100%;min-width:0}
.overlay-text .img-heading .our-blogs{font-size:clamp(1.3rem,3.1vw,2.75rem)!important;line-height:1.2!important;overflow-wrap:break-word;white-space:normal!important;max-width:100%;margin-bottom:.4rem}
.overlay-text .img-heading p{overflow-wrap:anywhere;white-space:normal!important;line-height:1.5}
.w-blog-post-meta~h1, .col-md-8>h1, article h1{max-width:100%;overflow-wrap:break-word;line-height:1.25}
@media(max-width:767px){.overlay-text .img-heading .our-blogs{font-size:clamp(1.1rem,5vw,1.65rem)!important}.overlay-text .img-heading p{font-size:.8rem}.col-md-8>h1{width:100%!important}}
