/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 22 2026 | 09:41:28 */
/* Criminal Defense subpage dropdown */
.tpf-sub-dropdown {
    display: inline-block;
    position: relative;
    margin-top: 1rem;
}

.tpf-sub-dropdown summary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: 1px solid #062a4c;
    border-radius: 99px;
    color: #062a4c;
    font-family: Polymath, serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color 0.2s;
}

.tpf-sub-dropdown summary::-webkit-details-marker { display: none; }
.tpf-sub-dropdown summary::marker { content: ''; }

.tpf-sub-dropdown summary::after {
    content: '';
    display: inline-block;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #062a4c;
    margin-left: 4px;
    transition: transform 0.2s;
    flex-shrink: 0;
    color: #062a4c;
}

.tpf-sub-dropdown[open] > summary::after {
    transform: rotate(180deg);
}

.tpf-sub-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #d6d3cf;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 100;
}

.tpf-sub-dropdown__menu li {
    margin: 0;
    padding: 0;
}

.tpf-sub-dropdown__menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #062a4c;
    font-family: Polymath, sans-serif;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.4;
    text-decoration: none;
}

.tpf-sub-dropdown__menu a:hover {
    color: #efb643;
}

/* Lift the section containing a dropdown above subsequent sections */
.section-content:has(.tpf-sub-dropdown) {
    position: relative;
    z-index: 2;
}

/* Criminal Defense overview - Figma-aligned page sections */
.tpf-cdo {
    color: #062a4c;
}

.tpf-cdo p {
    font-family: Outfit, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 29px;
}

.tpf-cdo .subheader {
    color: #efb643;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.12px;
    margin-bottom: 1.2rem;
}

.tpf-cdo-hero .mainheader {
    color: #ffffff;
    font-size: 40px;
    font-weight: 500;
    line-height: 45px;
    margin-bottom: 2rem;
}

.tpf-cdo-hero .smallheadertitle {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 1.9rem;
}

.tpf-defense-reasons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.tpf-defense-reasons::before,
.tpf-defense-reasons::after {
    display: none;
}

.tpf-defense-reasons > .col {
    flex-basis: auto;
    max-width: none;
    padding: 0;
    width: auto;
}

.tpf-reason-card {
    background: #28385c;
    border: 1px solid #1b2b4e;
    border-radius: 5px;
    display: flex;
    min-height: 220px;
    padding: 2rem 1.6rem;
}

.tpf-reason-card p {
    color: #ffffff;
    font-size: 17px;
    line-height: 29px;
    margin: 0;
}

.tpf-cdo-split .img,
.tpf-cdo-split .img-inner,
.tpf-cdo-split .img-inner img {
    height: 100%;
}

.tpf-cdo-split .img-inner img {
    object-fit: cover;
}

.tpf-cdo-split-text > .col-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 640px;
}

.tpf-cdo .tpf-section-title {
    color: #062a4c;
    font-family: Polymath, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 45px;
    margin-bottom: 2rem;
}

.tpf-cdo .tpf-copy-heading {
    color: #28385c;
    font-family: Polymath, serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 1.4rem;
}

.tpf-practice-card {
    padding-bottom: 0 !important;
    margin-bottom: 1.05rem;
}

.tpf-practice-grid.tpf-practice-grid--ten {
    display: grid;
    gap: 0.88rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tpf-practice-grid.tpf-practice-grid--ten::before,
.tpf-practice-grid.tpf-practice-grid--ten::after {
    content: none;
    display: none;
}

.tpf-practice-grid.tpf-practice-grid--ten > .tpf-practice-card {
    flex-basis: auto;
    margin: 0;
    max-width: none;
    padding: 0 !important;
    width: auto;
}

.tpf-practice-grid.tpf-practice-grid--ten > .tpf-practice-card p {
    margin-bottom: 0;
}

.tpf-practice-grid.tpf-practice-grid--ten .tpf-practice-link {
    height: 100%;
}

.tpf-practice-link {
    align-items: center;
    background: #faf8f4;
    border: 1px solid #d6d3cf;
    border-radius: 5px;
    color: #062a4c;
    display: flex;
    font-family: Polymath, serif;
    font-size: 25px;
    font-weight: 600;
    justify-content: space-between;
    line-height: 30px;
    min-height: 90px;
    padding: 1.7rem 2rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.tpf-practice-link:hover {
    border-color: #efb643;
    color: #efb643;
}

.tpf-practice-link__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.tpf-practice-link__arrow img {
    display: block;
    width: 30px;
    height: 30px;
}

.tpf-cdo-attorney-image > .col-inner,
.tpf-cdo-attorney-image .img,
.tpf-cdo-attorney-image .img-inner,
.tpf-cdo-attorney-image .img-inner img {
    height: auto;
    min-height: 0;
}

.tpf-cdo-attorney-image .img-inner img {
    display: block;
    object-fit: initial;
    width: 100%;
}

.tpf-cdo-gold {
    color: #ffffff;
}

.tpf-cdo-gold .tpf-section-title,
.tpf-cdo-gold p {
    color: #ffffff;
}

.tpf-cdo-gold-image > .col-inner,
.tpf-cdo-gold-image .img,
.tpf-cdo-gold-image .img-inner,
.tpf-cdo-gold-image .img-inner img {
    height: auto;
    min-height: 0;
}

.tpf-cdo-gold-image .img-inner img {
    display: block;
    object-fit: initial;
    width: 100%;
}

.tpf-cdo-location-map .banner {
    overflow: hidden;
}

.tpf-cdo-location-map .banner-bg img {
    object-fit: cover;
}

.tpf-cdo-location-tiles > .col {
    background: #1b2a49;
    padding: 2rem 1.5rem !important;
    text-align: center;
}

.tpf-cdo-location-tiles .county-name {
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 0.7rem;
}

.tpf-cdo-location-tiles .county-cities {
    color: #ffffff;
    font-size: 17px;
    line-height: 22px;
    margin: 0;
    opacity: 0.9;
}

@media only screen and (max-width: 64em) {
    .tpf-defense-reasons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tpf-cdo-split-text > .col-inner {
        min-height: 0;
        padding: 2rem 0;
    }
}

@media only screen and (max-width: 48em) {
    .tpf-cdo-hero .mainheader,
    .tpf-cdo .tpf-section-title {
        font-size: 34px;
        line-height: 39px;
    }

    .tpf-defense-reasons {
        grid-template-columns: 1fr;
    }

    .tpf-reason-card {
        min-height: 0;
    }

    .tpf-practice-grid.tpf-practice-grid--ten {
        grid-template-columns: 1fr;
    }

    .tpf-practice-link {
        font-size: 21px;
        line-height: 27px;
        min-height: 78px;
        padding: 1.3rem 1.4rem;
    }

    .tpf-cdo-attorney-image > .col-inner,
    .tpf-cdo-attorney-image .img,
    .tpf-cdo-attorney-image .img-inner,
    .tpf-cdo-attorney-image .img-inner img,
    .tpf-cdo-gold-image > .col-inner,
    .tpf-cdo-gold-image .img,
    .tpf-cdo-gold-image .img-inner,
    .tpf-cdo-gold-image .img-inner img {
        min-height: 0;
    }
}

@media only screen and (min-width: 850px) {
    .header-nav-main .nav-dropdown .flyout.nav-dropdown-col {
        display: block;
        position: relative;
        width: auto;
    }

    .header-nav-main .nav-dropdown .flyout > ul.sub-menu {
        background: #fff;
        border: 1px solid #d6d3cf;
        border-top: 2px solid #efb643;
        box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.15);
        display: none !important;
        left: 100%;
        margin: 0;
        min-width: 260px;
        padding: 8px 0;
        position: absolute !important;
        top: 0;
        z-index: 9999;
    }

    .header-nav-main .nav-dropdown .flyout:hover > ul.sub-menu,
    .header-nav-main .nav-dropdown .flyout:focus-within > ul.sub-menu {
        display: block !important;
    }

    .header-nav-main .nav-dropdown .flyout > ul.sub-menu > li {
        display: block;
        margin: 0;
        width: 100%;
    }

    .header-nav-main .nav-dropdown .flyout > ul.sub-menu a {
        color: #062a4c;
        display: block;
        line-height: 1.35;
        padding: 9px 18px;
        white-space: normal;
    }

    .header-nav-main .nav-dropdown .flyout > ul.sub-menu a:hover {
        background: #f5f5f5;
        color: #062a4c;
    }
}
