
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #f8f6f3;
    color: #231f20;
    line-height: 1.7;
}
main{
    padding-top:100px;
}
/* =========================
   LAYOUT
========================= */

.practice-hero__inner {
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* =========================
   HERO SECTION
========================= */
.practice-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 90px 0 80px;
    background: #f8f6f3;
    border-bottom: 1px solid #ddd;
}

.hero-enter {
    max-width: 850px;
}

.practice-hero__title  {
    max-width: 100rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.025em;
    padding-bottom: 30px;
}

.hero-enter h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.3rem;
    font-weight: 500;
    line-height: .98;
    padding: 7px 0;
}

.hero-enter p {
    max-width: 800px;
    font-size: 18px;
    color: #555;
    margin-top: 20px;
}

/* =========================
   LINKS
========================= */
.practice-hero-anchor,
em {
    color: #00a499;
    font-style: normal;
}

.practice-hero-anchor {
    text-decoration: none;
    transition: .3s;
}

.practice-hero-anchor:hover {
    color: #00867d;
}

/* /* =========================
   READ MORE
========================= */
#moreText {
    display: none;
}

#moreText.show {
    display: block;
}

.read-more-btn-click {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #00a499;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #00a499;
    transition: .3s;
}

.read-more-btn-click:hover {
    color: #131313;
    border-color: #131313;
} */

/* =========================
   BUTTONS
========================= */
.practice-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
}

.practice-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;

    margin-top: 30px;
    
}

.practice-hero__button--primary {
    background: #00a499;
    color: #111;
}

.practice-hero__button--primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.practice-hero__button--secondary {
    border: 1px solid #111;
    color: #111;
}

.practice-hero__button--secondary:hover {
    background: #111;
    color: #fff;
}


/* next section  */
.family-law-intro__grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.family-law-intro__image{
    position:relative;
}

.family-law-intro__image img{
    width:100%;
    display:block;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(15,23,42,.12);
}

.family-law-intro__content{
    padding:50px;
    border-radius:16px;
}

.family-law-intro__content h2{
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: .98;
    padding: 7px 0;
}

.family-law-intro__content p{
    color:#475569;
    font-size:18px;
    line-height:1.9;
    margin:20px 0;
}

.primary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 32px;
    background:#00A499;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.primary-btn:hover{
    background:#008b81;
    transform:translateY(-2px);
}


/* next-section */

.jos-content-txt h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: .98;
    padding: 7px 0;
}


.jos-content-txt p{
    max-width: 1000px;
    font-size: 19px;
    color: #555;
    padding-top: 20px;
}

hr {
    box-sizing: content-box;
    height: 0;
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgb(0 0 0 / .1);
}


/* next-section */


.founder-wrapper,
.founder-wrapper-two{
    max-width:1100px;
    width:100%;
    margin:70px auto;
    padding:0 20px;
}


.founder-profile{
    background:#008b81;
    color:#fff;
    padding:60px;
    border-radius:30px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.founder-badge{
    display:inline-block;
    padding:10px 18px;
    background:rgba(230, 228, 224, 0.15);
    color:#111;
    border:1px solid rgba(196,147,70,.3);
    border-radius:50px;
    font-size:14px;
    font-weight: 650;
    margin-bottom:25px;
    letter-spacing:.5px;
}

.founder-profile h2{
    font-family:"Cormorant Garamond",serif;
    font-size:50px;
    line-height:1;
    font-weight:600;
    margin-bottom:10px;
}

.founder-profile h3{
    color:#111;
    font-size:22px;
    font-weight:700;
    margin-bottom:30px;
}

.anchor {
    color: #040404;
    text-decoration: none;
    font-weight: 550;
}

.founder-profile p{
    font-size:18px;
    line-height:1.9;
    padding-top: 15px;
}

.listing-oll {
    max-width: 1000px;
    font-size: 20px;
    color: #555;
    padding: 10px 15px;
}

.listing-oll-t {
    max-width: 1000px;
    font-size: 20px;
    color: #ffffff;
    padding: 10px 15px;
}


.background-content-txt h2 {
    font-family:"Cormorant Garamond",serif;
    font-size:48px;
    line-height:1;
    font-weight:600;
    margin-bottom:10px;
}


.background-content-txt p{
    max-width: 1000px;
    font-size: 20px;
    color: #555;
    margin-top: 20px;
}

ul {
    max-width: 1000px;
    font-size: 20px;
    color: #555;
    padding-top: 10px;
    list-style: none;
}



/* next-section */


.custody-cta-section{
    padding:50px 20px;
    background:#f5f3f1;
    position:relative;
}

.custody-cta-content{
    max-width:1000px;
    margin:auto;
    text-align:center;
}


.custody-cta-content h2{
    font-family:"Cormorant Garamond", serif;
    font-size:50px;
    line-height:1.05;
    font-weight:600;
    color:#231f20;
    margin-bottom:35px;
}

.custody-cta-content p{
    font-size:20px;
    line-height:1.9;
    color:#4c5563;
    margin-bottom:30px;
}

.cta-contact{
    margin-top:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
}

.phone-btn{
    background:#0f8f88;
    color:#fff;
    text-decoration:none;
    padding:16px 34px;
    font-weight:600;
    transition:.3s ease;
}

.phone-btn:hover{
    transform:translateY(-3px);
}

.email-link{
        color: #00a499;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    border: 1px solid #00a499;
    padding: 10px 20px;
}

.email-link:hover{
    text-decoration:underline;
}


/* next-section */

/*related practice areas */
/*==========================================
RELATED PRACTICE AREAS
==========================================*/


.related-practice-areas{
    padding:100px 0;
    background:#f8f7f5;
}

.related-practice-areas .section-heading{
    margin-bottom:50px;
}

.related-practice-areas .section-heading h2{
    margin:0;
    color:#111827;
    font-family:"Cormorant Garamond",serif;
    font-size:clamp(2rem,5vw,3rem);
    font-weight:500;
    line-height:1;
}

.practice-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #e7e2dc;
    overflow:hidden;
}

.practice-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:210px;
    height:100%;
    padding:40px 35px;
    background:#F3EFE9;
    text-decoration:none;
    color:#111827;
    border-right:1px solid #e7e2dc;
    transition:all .35s ease;
}

.practice-card:last-child{
    border-right:none;
}

.practice-card.active,
.practice-card:hover{
    background:#00A499;
    color:#fff;
    transform:translateY(-6px);
}

.practice-label{
    display:block;
    margin-bottom:16px;
    font-size:11px;
    font-weight:600;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:#9ca3af;
    transition:all .35s ease;
}

.practice-card.active .practice-label,
.practice-card:hover .practice-label{
    color:rgba(255,255,255,.75);
}

.practice-card h3{
    margin:0 0 24px;
    font-size:20px;
    line-height:1.25;
    font-weight:500;
    font-family:"Cormorant Garamond",serif;
    word-break:break-word;
    transition:all .35s ease;
}

.practice-link{
    display:inline-flex;
    align-items:center;
    gap:12px;
    font-size:14px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.practice-link svg{
    flex-shrink:0;
    transition:transform .3s ease;
}

.practice-card:hover .practice-link svg{
    transform:translateX(6px);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1200px){

    .practice-cards{
        grid-template-columns:repeat(2,1fr);
    }

    .practice-card:nth-child(even){
        border-right:none;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width:767px){

    .related-practice-areas{
        padding:70px 0;
    }

    .related-practice-areas .section-heading{
        margin-bottom:35px;
    }

    .practice-cards{
        grid-template-columns:1fr;
    }

    .practice-card{
        min-height:auto;
        padding:30px 25px;
        border-right:none !important;
        border-bottom:1px solid #e7e2dc;
    }

    .practice-card:last-child{
        border-bottom:none;
    }

    .practice-card h3{
        font-size:18px;
        margin-bottom:25px;
    }

    .practice-link{
        font-size:13px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width:480px){

    .related-practice-areas{
        padding:60px 0;
    }

    .practice-card{
        padding:24px 20px;
    }

    .practice-card h3{
        font-size:17px;
        line-height:1.35;
    }

    .practice-label{
        font-size:10px;
    }

    .practice-link{
        gap:8px;
        font-size:12px;
    }

    .practice-link svg{
        width:16px;
        height:16px;
    }
}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

/* Large Tablets */
@media (max-width: 1024px) {

    .practice-hero {
        padding: 70px 20px;
    }

    .family-law-intro__grid {
        gap: 40px;
    }

    .family-law-intro__content {
        padding: 20px;
    }

    .family-law-intro__content h2 {
        font-size: 40px;
    }

    .practice-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-area-wrapper {
        padding: 50px;
    }

    .founder-wrapper,
    .founder-wrapper-two {
        margin: 60px auto;
        padding: 0 20px;
    }

    .custody-cta-content h2 {
        font-size: 45px;
    }
}

/* Tablets */
@media (max-width: 768px) {

    .practice-hero {
        padding: 60px 20px;
    }

    .practice-hero__title {
        font-size: 3rem;
        padding-bottom: 20px;
    }

    .hero-enter h2 {
        font-size: 2.1rem;
    }

    .hero-enter p {
        font-size: 17px;
    }

    .practice-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .practice-hero__button {
        width: 100%;
    }

    .family-law-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .family-law-intro__content {
        padding: 0;
    }

    .family-law-intro__content h2 {
        font-size: 36px;
    }

    .family-law-intro__content h3 {
        font-size: 24px;
    }

    .family-law-intro__content p {
        font-size: 17px;
    }

    .founder-profile {
        padding: 40px 30px;
    }

    .founder-profile h2 {
        font-size: 40px;
    }

    .background-content-txt h2 {
        font-size: 40px;
    }

    .background-content-txt p,
    .jos-content-txt p,
    ul {
        font-size: 18px;
    }

    .practice-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .practice-area-heading h2 {
        font-size: 2.8rem;
    }

    .custody-cta-content h2 {
        font-size: 38px;
    }

    .custody-cta-content p {
        font-size: 18px;
    }

}

/* Mobile */
@media (max-width: 576px) {

    .practice-hero {
        padding: 50px 15px;
    }

    .practice-hero__title {
        font-size: 2.4rem;
    }

    .hero-enter h2 {
        font-size: 1.6rem;
    }

    .hero-enter p {
        font-size: 16px;
    }

    .jos-content-txt h2 {
        font-size: 2.1rem;
    }

    .practice-hero__button {
        width: 100%;
        padding: 14px 20px;
    }

    .family-law-intro__content h2 {
        font-size: 30px;
    }

    .family-law-intro__content h3 {
        font-size: 22px;
    }

    .family-law-intro__content p {
        font-size: 16px;
    }

    .founder-wrapper,
    .founder-wrapper-two {
        margin: 50px auto;
        padding: 0 15px;
    }

    .founder-profile {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .founder-profile h2 {
        font-size: 34px;
    }

    .founder-profile h3 {
        font-size: 20px;
    }

    .founder-profile p,
    .listing-oll {
        font-size: 16px;
    }

    .background-content-txt h2 {
        font-size: 32px;
    }

    .background-content-txt p,
    .jos-content-txt p,
    ul {
        font-size: 16px;
    }


    .custody-cta-content p {
        font-size: 16px;
    }

    .cta-contact {
        flex-direction: column;
        gap: 15px;
    }

    .phone-btn {
        width: 100%;
        text-align: center;
    }

    .practice-area-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .practice-area-grid {
        grid-template-columns: 1fr;
    }

    .practice-area-heading h2 {
        font-size: 2.1rem;
    }

    .practice-card {
        padding: 25px;
    }

    .practice-card h3 {
        font-size: 1.5rem;
    }
}