/*
 * Shabir Shar & Associates
 * Scoped premium styling for SEO sections.
 * Does not modify the original Vite stylesheet.
 */

.premium-home-practice-links {
    margin: 0 0 28px;
    padding: 18px 22px;
    background: #f7f5f0;
    border: 1px solid #e5e2da;
    border-left: 3px solid #ab831b;
    border-radius: 6px;
}

.premium-home-practice-links > p {
    margin: 0 0 12px;
    color: #686868;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.premium-home-practice-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium-home-practice-links li {
    margin: 0;
    padding: 0;
}

.premium-home-practice-links a {
    display: inline-flex;
    align-items: center;
    color: #1c1c1c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease;
}

.premium-home-practice-links a:hover,
.premium-home-practice-links a:focus-visible {
    color: #ab831b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Karachi local SEO section */

#karachi-law-firm {
    padding: clamp(52px, 6vw, 80px) 0;
    background: #f8f7f4;
    border-top: 1px solid #e5e2da;
    font-family: inherit;
}

#karachi-law-firm > .container {
    width: min(100% - 40px, 1200px);
    max-width: 1200px;
    margin-inline: auto;
    padding: 0;
}

#karachi-law-firm .max-w-4xl {
    max-width: 850px;
}

#karachi-law-firm .text-sm.font-semibold.uppercase {
    margin: 0 0 14px;
    color: #ab831b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

#karachi-law-firm h2 {
    margin: 0;
    color: #1c1c1c;
    font-size: clamp(27px, 3.2vw, 43px);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -.025em;
}

#karachi-law-firm h2 + p {
    margin-top: 22px;
    color: #686868;
    font-size: 15px;
    line-height: 1.9;
}

#karachi-law-firm > .container > .mt-8 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

#karachi-law-firm > .container > .mt-8 > a {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #e5e2da;
    border-radius: 6px;
    color: #292929;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

#karachi-law-firm > .container > .mt-8 > a:hover,
#karachi-law-firm > .container > .mt-8 > a:focus-visible {
    border-color: #ab831b;
    color: #8e6c15;
    transform: translateY(-2px);
}

#karachi-law-firm > .container > .mt-10 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 42px;
}

#karachi-law-firm > .container > .mt-10 > div {
    min-width: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid #e5e2da;
    border-radius: 6px;
}

#karachi-law-firm > .container > .mt-10 > div > .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

#karachi-law-firm h3 {
    margin: 0;
    color: #1c1c1c;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

#karachi-law-firm h3 + p {
    margin-top: 14px;
    color: #686868;
    font-size: 14px;
    line-height: 1.85;
}

#karachi-law-firm .mt-4.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

#karachi-law-firm .mt-4.flex > a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid #ab831b;
    border-radius: 6px;
    background: transparent;
    color: #8e6c15;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

#karachi-law-firm .mt-4.flex > a:first-child {
    background: #1c1c1c;
    border-color: #1c1c1c;
    color: #fff;
}

#karachi-law-firm .mt-4.flex > a:hover,
#karachi-law-firm .mt-4.flex > a:focus-visible {
    background: #ab831b;
    border-color: #ab831b;
    color: #fff;
}

#karachi-law-firm .mt-4.text-sm {
    margin-top: 18px;
    color: #686868;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    #karachi-law-firm > .container > .mt-8 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #karachi-law-firm > .container > .mt-10 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .premium-home-practice-links {
        padding: 16px;
    }

    .premium-home-practice-links ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    #karachi-law-firm > .container {
        width: min(100% - 32px, 1200px);
    }

    #karachi-law-firm > .container > .mt-8,
    #karachi-law-firm > .container > .mt-10,
    #karachi-law-firm > .container > .mt-10 > div > .grid {
        grid-template-columns: 1fr;
    }

    #karachi-law-firm > .container > .mt-10 > div {
        padding: 22px 18px;
    }

    #karachi-law-firm h3 {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-home-practice-links a,
    #karachi-law-firm a {
        transition: none;
    }

    #karachi-law-firm > .container > .mt-8 > a:hover {
        transform: none;
    }
}
