.photographers-v5 {
    --photographers-ink: #0c0c0c;
    --photographers-orange: #ff9a24;
    --photographers-orange-dark: #f08a10;
    --photographers-muted: #777;
    --photographers-line: #e9e9e9;
    --photographers-soft: #f5f4f2;
    background: #fff;
    color: var(--photographers-ink);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.photographers-v5 *,
.photographers-v5 *::before,
.photographers-v5 *::after {
    box-sizing: border-box;
}

.photographers-container {
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
}

.photographers-hero .photographers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.photographers-hero-rule {
    width: 100%;
    height: 1px;
    background: var(--photographers-line);
}

.photographers-hero-copy {
    text-align: center;
}

.photographers-hero h1 {
    margin: 0;
    color: var(--photographers-ink);
    font-family: inherit;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1.1px;
    line-height: 1.2;
}

.photographers-hero p {
    margin: 10px 0 0;
    color: var(--photographers-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.photographers-directory {
    padding: 0 0 80px;
}

.photographers-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 28px;
}

.photographers-filters,
.photographers-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.photographer-select {
    position: relative;
    display: inline-flex;
    margin: 0;
}

.photographer-select::after {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--photographers-ink);
    border-bottom: 1.5px solid var(--photographers-ink);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.photographer-select select {
    width: auto;
    min-width: 108px;
    height: 40px;
    margin: 0;
    padding: 0 36px 0 16px;
    border: 0;
    border-radius: 999px;
    outline: 1px solid transparent;
    background: #fff;
    box-shadow: 0 3px 6.5px rgba(0, 0, 0, .08);
    color: var(--photographers-ink);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 40px;
    -webkit-appearance: none;
    appearance: none;
}

.photographer-select select:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

.photographer-select select:focus-visible {
    outline-color: var(--photographers-orange);
    outline-offset: 2px;
}

.photographer-sort-select select {
    min-width: 132px;
}

.photographer-count {
    color: var(--photographers-ink);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.photographers-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin: -12px 0 24px 4px;
}

.photographers-active-filters[hidden] {
    display: none;
}

.photographer-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 3px 2px;
    border: 0;
    background: transparent;
    color: var(--photographers-ink);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
}

.photographer-filter-chip::before {
    display: grid;
    width: 13px;
    height: 13px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "\00d7";
    font-size: 11px;
    line-height: 1;
    place-items: center;
}

.photographer-filter-chip:hover,
.photographer-filter-chip:focus-visible {
    color: #d93434;
}

.photographers-loading {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--photographers-muted);
    font-size: 13px;
    font-weight: 600;
}

.photographers-loading[hidden] {
    display: none;
}

.photographers-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 154, 36, .2);
    border-top-color: var(--photographers-orange);
    border-radius: 50%;
    animation: photographers-spin .8s linear infinite;
}

@keyframes photographers-spin {
    to { transform: rotate(360deg); }
}

.photographer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.photographer-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--photographers-line);
    border-radius: 16px;
    background: #fff;
}

.photographer-portfolio {
    display: grid;
    height: 142px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 12px 12px 0;
}

.photographer-portfolio-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--photographers-soft);
}

.photographer-portfolio-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photographer-portfolio-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: var(--photographers-orange);
}

.photographer-portfolio-placeholder svg {
    width: 23px;
    height: 23px;
}

.photographer-portfolio-placeholder span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.photographer-profile {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 16px 13px;
}

.photographer-avatar {
    width: 62px;
    height: 62px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--photographers-soft);
}

.photographer-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photographer-profile-main {
    min-width: 0;
}

.photographer-profile-top,
.photographer-profile-bottom {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.photographer-profile-top {
    margin-bottom: 7px;
}

.photographer-identity {
    min-width: 0;
}

.photographer-identity h2 {
    overflow: hidden;
    margin: 0;
    color: var(--photographers-ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photographer-location {
    overflow: hidden;
    margin: 3px 0 0;
    color: rgba(12, 12, 12, .6);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photographer-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.photographer-jobs {
    color: rgba(12, 12, 12, .6);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.photographer-hire {
    display: inline-flex;
    min-width: 75px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--photographers-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease;
}

.photographer-hire:hover,
.photographer-hire:focus-visible {
    background: var(--photographers-orange-dark);
    color: #fff;
    text-decoration: none;
}

.photographer-rating {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 3px;
}

.photographer-star {
    display: inline-block;
    width: 12px;
    height: 12px;
}

.photographer-rating-count {
    margin-left: 2px;
    color: rgba(12, 12, 12, .6);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.photographer-rating-value {
    margin-left: 2px;
    color: var(--photographers-ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.photographer-rating-empty {
    color: rgba(12, 12, 12, .64);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.photographer-skills {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.photographer-skills li {
    color: var(--photographers-ink);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.photographer-skills li + li::before {
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 7px;
    background: #d4d4d4;
    content: "";
    vertical-align: -2px;
}

.photographer-review {
    display: flex;
    min-height: 132px;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    margin: 0 16px 16px;
    padding: 13px 16px;
    border: 1px solid var(--photographers-line);
    border-radius: 12px;
}

.photographer-review blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

.photographer-review blockquote p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--photographers-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.photographer-review cite {
    color: var(--photographers-muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.photographers-empty {
    padding: 70px 20px;
    text-align: center;
}

.photographers-empty[hidden] {
    display: none;
}

.photographers-empty h2 {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
}

.photographers-empty p {
    margin: 0;
    color: var(--photographers-muted);
    font-size: 14px;
}

.photographers-load-more {
    display: flex;
    justify-content: center;
    padding: 48px 0 0;
}

.photographers-load-more[hidden] {
    display: none;
}

.photographers-outline-button {
    min-width: 136px;
    min-height: 46px;
    margin: 0;
    padding: 10px 28px;
    border: 1px solid #d4d4d4;
    border-radius: 999px;
    background: #fff;
    color: var(--photographers-ink);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
}

.photographers-outline-button:hover,
.photographers-outline-button:focus-visible {
    border-color: var(--photographers-ink);
    background: var(--photographers-soft);
}

.photographers-outline-button:disabled {
    cursor: wait;
    opacity: .55;
}

.photographers-cta {
    padding: 80px 24px;
    background: var(--photographers-ink);
    text-align: center;
}

.photographers-cta-inner {
    max-width: 900px;
    margin: 0 auto;
}

.photographers-eyebrow {
    margin: 0 0 16px;
    color: var(--photographers-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.photographers-cta h2 {
    margin: 0 0 20px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(38px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.08;
}

.photographers-cta-copy {
    max-width: 560px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    line-height: 1.7;
}

.photographers-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.photographers-cta-actions a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.photographers-cta-primary {
    background: var(--photographers-orange);
    color: #fff;
}

.photographers-cta-primary:hover,
.photographers-cta-primary:focus-visible {
    background: var(--photographers-orange-dark);
    color: #fff;
}

.photographers-cta-secondary {
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .75);
}

.photographers-cta-secondary:hover,
.photographers-cta-secondary:focus-visible {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

@media (max-width: 1023px) {
    .photographer-grid {
        gap: 22px;
    }

    .photographer-profile-top,
    .photographer-profile-bottom {
        align-items: flex-start;
    }

    .photographer-profile-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .photographer-skills {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .photographers-container {
        width: min(100% - 32px, 620px);
    }

    .photographers-hero .photographers-container {
        gap: 26px;
        padding: 28px 0 30px;
    }

    .photographers-hero h1 {
        font-size: 34px;
        letter-spacing: -.7px;
    }

    .photographers-hero p {
        max-width: 420px;
        font-size: 13px;
    }

    .photographers-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 24px;
    }

    .photographers-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .photographer-select,
    .photographer-select select {
        width: 100%;
    }

    .photographer-select select {
        min-width: 0;
    }

    .photographers-sort {
        justify-content: space-between;
    }

    .photographer-sort-select {
        width: auto;
    }

    .photographer-sort-select select {
        width: auto;
        min-width: 132px;
    }

    .photographer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .photographers-directory {
        padding-bottom: 60px;
    }

    .photographers-cta {
        padding: 64px 20px;
    }

    .photographers-cta-actions {
        flex-direction: column;
    }

    .photographers-cta-actions a {
        width: min(100%, 300px);
    }
}

@media (max-width: 479px) {
    .photographers-container {
        width: calc(100% - 24px);
    }

    .photographers-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photographers-filters .photographer-select:last-child {
        grid-column: 1 / -1;
    }

    .photographer-portfolio {
        height: 118px;
        gap: 5px;
        padding: 10px 10px 0;
    }

    .photographer-profile {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 12px 12px;
    }

    .photographer-avatar {
        width: 54px;
        height: 54px;
    }

    .photographer-profile-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .photographer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .photographer-hire {
        min-height: 32px;
    }

    .photographer-skills {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .photographer-review {
        min-height: 0;
        margin: 0 12px 12px;
        padding: 12px;
    }

    .photographer-review blockquote p {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .photographers-spinner {
        animation-duration: 1.8s;
    }
}
