#dui-attorneys-wrapper {
    max-width: unset;
}

#dui-attorneys-wrapper section {
    padding: 0;
}

#duiorg-locations-count {
    margin: 35px 0 10px 0;
    font-size: 28px;
    font-variation-settings: 'wght' 750;
    scroll-margin-top: 152px;
}

#duiorg-filters {
    background: rgba(222, 228, 243, 0.5);
    padding: 25px;
    border-radius: 10px;
}

#duiorg-filters p {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

small.error {
    text-align: center;
    display: block;
    color: #c01e1a;
    display: none;
}

#duiorg-zip.failed + .error {
    display: block;
}

#custom-select-trigger.failed + .error {
    display: block;
}

#submit-zip-search {
    background: linear-gradient(241.08deg, rgba(73, 79, 168, 0.7) 5.28%, rgba(12, 20, 23, 0.7) 116.61%), #363B7D;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 16px;
    width: 100%;
    margin-top: 15px;
    height: 45px;
    padding: 0 15px 0 20px;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.15s linear;
}

#submit-zip-search:hover {
    width: 100%;
    margin-top: 15px;
    height: 45px;
    padding: 0 15px 0 20px;
    border-radius: 25px;
    font-size: 16px;
    background: #0F1618;
    text-decoration: none;
}

#submit-zip-search:focus {
    text-decoration: none;
}

#duiorg-filters .flex.buttons button {
    background: transparent;
    text-align: right;
    text-transform: capitalize;
    font-size: 15px;
    color: #3F3479;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    margin: 10px 0 0 0;
    font-weight: 500;
}

.flex.buttons.three {
    margin: 20px 0 0 0;
}

/*select start*/

#duiorg-filters input,#duiorg-filters button.custom-select-trigger {
    width: 100%;
    margin-top: 15px;
    height: 45px;
    padding: 0 15px 0 20px;
    border-radius: 25px;
    font-size: 16px;
    border: 1px solid #0F1618;
    color: rgba(63, 52, 121, 1);
    font-weight: 500;
    text-decoration: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

span.custom-select-value {
    font-size: 16px;
    text-transform: none;
    color: rgba(103, 103, 103, 1);
    font-weight: 500;
}

.custom-select-trigger {
  width: 100%;
  height: 45px;
  padding: 0 45px 0 20px;
  border-radius: 25px;
  border: 1px solid #0F1618;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: rgba(103, 103, 103, 1);
  text-align: left;
  cursor: pointer;
}

.select-wrapper.flex-item.open button#custom-select-trigger, #duiorg-filters input:focus {
    border: 1px solid #0F1618;
    outline: 2.5px solid rgba(196, 205, 235, 1);
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 38px;
  width: 14px;
  height: 8px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M0.625 0.625L6.625 6.625L12.625 0.625' stroke='%230F1618' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.select-wrapper.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
    max-height: 360px;
    overflow-y: auto;
    padding: 6px;
    display: none;
    z-index: 20;
    list-style: none;
    margin: 0;
}

ul.custom-select-list li {
    margin: 0;
}

.select-wrapper.open .custom-select-list {
  display: block;
}

.custom-select-option {
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
}

.custom-select-option[aria-selected="true"],
.custom-select-option:hover {
  background: rgba(196, 205, 235, 0.4);
}

/*select end*/

article.attorney.featured {
    background: #F9EEDD;
    border-radius: 10px;
    border: 1px solid rgba(181, 182, 184, 1);
    border-radius: 10px;
}

article.attorney {
    padding-bottom: 15px;
}

#duiorg-regular .attorney {
    border: 1px solid rgba(15, 22, 24, 1);
    border-radius: 10px;
}

.dui-empty {
    padding: 1rem;
    text-align: center;
    color: #666;
}

.dui-error {
    padding: 1rem;
    text-align: center;
    color: #b00020;
    font-weight: bold;
}

.duiorg-map {
    width: 100%;
    height: 400px;
    margin: 15px 0;
    border-radius: 10px;
}

article.attorney.featured .one {
    width: 100%;
    text-align: center;
    padding: 8px 0 10px 0;
    background: #F5D09D;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    color: #0F1618;
    font-size: 14px;
}

article.attorney.featured .two {
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
}

article.attorney.featured p:not(.one), article.attorney.featured h3 {
    padding: 0 25px 0 26px;
    text-align: center;
    margin: 0 0 10px 0;
}

.phone-icon, .web-icon {
    margin-bottom: 10px;
}

.web-icon a {
    background: linear-gradient(241.08deg, rgba(73, 79, 168, 0.7) 5.28%, rgba(12, 20, 23, 0.7) 116.61%), #363B7D;
    border-radius: 25px;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    color: #fff;
    padding: 10px 25px 10px 25px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 16px;
}

.phone-icon a, .email-icon a {
    border-radius: 25px;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    color: #222A4E;
    padding: 10px 25px 10px 25px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    justify-content: center;
    border: 1px solid #222A4E;
    font-size: 16px;
}

.phone-icon a:hover, .email-icon a:hover, .web-icon a:hover {
    background: #000;
    color: #fff;
}

.phone-icon a:hover svg path, .email-icon a:hover svg path {
    stroke: #fff !important;
}

.gold:hover {
    color: #FAF292;
    cursor: pointer;
}

#duiorg-regular {
    margin-top: 20px;
}

#duiorg-regular .one {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 20px 15px 10px 15px;
    line-height: 22px;
    margin: 0;
}

#duiorg-regular .two {
    text-align: center;
    padding: 0 15px 0 15px;
    margin: 0 0 10px 0;
}

#duiorg-regular .web-icon, #duiorg-regular .email-icon, #duiorg-regular .phone-icon {
    padding: 0 25px;
}

#duiorg-pagination {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin: 40px auto;
    align-items: anchor-center;
    gap: 5px;
}

#duiorg-pagination button {
    background: transparent;
    text-transform: capitalize;
    display: flex;
    gap: 5px;
    align-items: anchor-center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    position: relative;
}

#duiorg-pagination button:hover {
    background: transparent;
    text-transform: capitalize;
    display: flex;
    gap: 5px;
    align-items: anchor-center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}

p.address {
    font-size: 16px;
    margin-bottom: 20px !important;
}

button.page-btn {
    border: 1.25px solid rgba(63, 52, 121, 1);
    border-radius: 5px !important;
    color: #0F1618;
    min-width: 30px;
    height: 30px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

button.page-btn:hover {
    color: #fff !important;
    background: #000 !important;
}

button.page-btn.active {
    background: #3F3479 !important;
    color: #fff;
}

#duiorg-pagination span.text {
    display: none;
}

#dui-disclaimer {
    background: #505050;
    margin: 0;
    width: 100%;
    min-width: 100%;
    color: #fff !important;
    padding: 25px;
}

#dui-disclaimer small {
    color: #fff !important;
}

.popup-title {
    font-weight: 600;
    text-align: center;
    padding-bottom: 5px;
    font-size: 16px;
}

.popup-address {
    text-align: center;
    padding-bottom: 15px;
}

.popup-website a {
    background: linear-gradient(90deg, #232B4F 0%, #4950A1 100%);
    border-radius: 25px;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    color: #fff;
    padding: 10px 15px 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 14px;
}

.popup-phone a, .popup-email a {
    border-radius: 25px;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 600;
    color: #222A4E;
    padding: 10px 15px 10px 15px;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    justify-content: center;
    border: 1px solid #222A4E;
    font-size: 14px;
    margin-bottom: 5px;
}

.dui-grid {
    display: grid;
    grid-gap: 15px;
}

.dui-attorney-banner h1 {
    font-size: 40px;
}

.dui-attorney-banner p:first-of-type {
    font-size: 16px;
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
}

.dui-attorney-banner a {
    background-blend-mode: normal;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='13' viewBox='0 0 8 13' fill='none'%3E%3Cpath d='M4.5 0.5C4.5 0.223858 4.27614 0 4 0C3.72386 0 3.5 0.223858 3.5 0.5L4 0.5L4.5 0.5ZM3.64645 12.8536C3.84171 13.0488 4.15829 13.0488 4.35355 12.8536L7.53553 9.67157C7.7308 9.47631 7.7308 9.15973 7.53553 8.96447C7.34027 8.7692 7.02369 8.7692 6.82843 8.96447L4 11.7929L1.17157 8.96447C0.97631 8.7692 0.659728 8.7692 0.464466 8.96447C0.269204 9.15973 0.269204 9.47631 0.464466 9.67157L3.64645 12.8536ZM4 0.5L3.5 0.5L3.5 12.5L4 12.5L4.5 12.5L4.5 0.5L4 0.5Z' fill='white'/%3E%3C/svg%3E");
    background-position: 93% 32%;
    background-repeat: no-repeat;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #ffffff;
    display: block;
    font-family: "roboto-condensed", sans-serif;
    font-weight: 700;
    margin-left: auto;
    margin-right: auto;
    max-width: 230px;
    padding-bottom: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
}

.dui-attorney-banner a:hover {
    background-blend-mode: normal;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='13' viewBox='0 0 8 13' fill='none'%3E%3Cpath d='M4.5 0.5C4.5 0.223858 4.27614 0 4 0C3.72386 0 3.5 0.223858 3.5 0.5L4 0.5L4.5 0.5ZM3.64645 12.8536C3.84171 13.0488 4.15829 13.0488 4.35355 12.8536L7.53553 9.67157C7.7308 9.47631 7.7308 9.15973 7.53553 8.96447C7.34027 8.7692 7.02369 8.7692 6.82843 8.96447L4 11.7929L1.17157 8.96447C0.97631 8.7692 0.659728 8.7692 0.464466 8.96447C0.269204 9.15973 0.269204 9.47631 0.464466 9.67157L3.64645 12.8536ZM4 0.5L3.5 0.5L3.5 12.5L4 12.5L4.5 12.5L4.5 0.5L4 0.5Z' fill='%23FAF292'/%3E%3C/svg%3E");
    color: #FAF292;
    cursor: pointer;
    text-decoration: none;
}

.dui-attorney-banner {
    background-blend-mode: normal;
    background-color: #222a4e;
    background-image: url("/wp-content/uploads/2026/01/Pattern.webp");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0px;
    max-width: unset !important;
    border-radius: 10px;
    padding: 20px 25px 25px 25px;
}

.dui-attorney-banner h1 {
    font-size: 40px;
    color: #fff;
    text-align: center;
}

@media (min-width: 768px) {

    .dui-attorney-banner a {
        background-blend-mode: normal;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='13' viewBox='0 0 8 13' fill='none'%3E%3Cpath d='M4.5 0.5C4.5 0.223858 4.27614 0 4 0C3.72386 0 3.5 0.223858 3.5 0.5L4 0.5L4.5 0.5ZM3.64645 12.8536C3.84171 13.0488 4.15829 13.0488 4.35355 12.8536L7.53553 9.67157C7.7308 9.47631 7.7308 9.15973 7.53553 8.96447C7.34027 8.7692 7.02369 8.7692 6.82843 8.96447L4 11.7929L1.17157 8.96447C0.97631 8.7692 0.659728 8.7692 0.464466 8.96447C0.269204 9.15973 0.269204 9.47631 0.464466 9.67157L3.64645 12.8536ZM4 0.5L3.5 0.5L3.5 12.5L4 12.5L4.5 12.5L4.5 0.5L4 0.5Z' fill='white'/%3E%3C/svg%3E");
        background-position: 93% 26%;
        background-size: 10px 19px;
        font-size: 19px;
        max-width: 260px;

    }

    .dui-attorney-banner h1 {
        font-size: 60px;
    }

    .dui-attorney-banner p:first-of-type {
        font-size: 20px;
    }

    div#duiorg-pagination button:first-of-type svg {
        position: absolute;
        left: -25px;
        top: 7px;
        transition: all .1s ease-in;
    }

    div#duiorg-pagination button:first-of-type:hover svg {
        left: -30px;
    }

    div#duiorg-pagination button:first-of-type {
        padding-right: 20px;
    }

    div#duiorg-pagination button:last-of-type svg {
        position: absolute;
        right: -25px;
        top: 7px;
        transition: all .1s ease-in;
    }

    div#duiorg-pagination button:last-of-type:hover svg {
        right: -30px;
    }

    div#duiorg-pagination button:last-of-type {
        padding-left: 20px;
    }

    #duiorg-regular {
        margin-top: 30px;
    }

    .phone-icon a, .email-icon a, .web-icon a {
        font-size: 20px;
    }
    
    article.attorney.featured svg {
        width: 16px;
        height: auto;
    }

    article.attorney.featured .one {
        font-size: 18px;
    }

    article.attorney.featured .two {
        font-size: 26px;
        line-height: 30px;
    }

    p.address {
        font-size: 20px;
        margin-bottom: 25px !important;
    }

    .duiorg-map {
        margin: 30px 0;
    }

    #duiorg-filters .flex.buttons button {
        gap: 15px;
        font-size: 20px;
        padding: 0 0 5px 0;
        box-shadow: 0 0 0 0 rgba(63, 52, 121, 0);
        transition: box-shadow 0.15s ease-out;
    }

    #duiorg-filters .flex.buttons button:hover {
        text-decoration: none;
        box-shadow: 0 1.25px 0 0 rgba(63, 52, 121, 1);
        padding: 0 0 5px 0;
    }

    #duiorg-locations-count {
        font-size: 36px;
        margin: 35px 0 16px 0;

    }

    #duiorg-filters .flex {
        display: flex;
        gap: 15px;
        align-items: baseline;
        justify-content: space-between;
    }

    #duiorg-filters .flex-item {
        flex: 1 1 0;
        min-width: 0;
    }

    #duiorg-pagination span.text {
        display: inline-block;
    }

    #duiorg-pagination {
        justify-content: center;
        gap: 10px;
    }

    .dui-grid {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 20px;
    }

    #duiorg-filters {
        display: flex;
        flex-direction: column;
    }

    form#duiorg-filters .three {
        order: 2;
        justify-content: end;
        margin-top: -35px;
    }

    form#duiorg-filters .two {
        order: 3;
    }

    #duiorg-filters .flex.one {
        max-width: 235px;
    }

}

@media (min-width: 1200px) {

    .dui-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }

}