.smax-technologists-archive {
    --smax-tech-bg: #f7f8f8;
    --smax-tech-surface: #fff;
    --smax-tech-ink: var(--smax-text, #111);
    --smax-tech-muted: #66737a;
    --smax-tech-line: rgba(17, 24, 28, 0.1);
    --smax-tech-accent: var(--smax-primary, #a36b4f);
    color: var(--smax-tech-ink);
    padding: 56px 0 76px;
}

.smax-technologists-archive__header {
    margin: 0 0 28px;
    max-width: 780px;
}

.smax-technologists-archive__eyebrow {
    color: var(--smax-tech-accent);
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.3;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.smax-technologists-archive__title {
    color: var(--smax-tech-ink);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
    margin: 0;
}

.smax-technologists-archive__intro {
    color: var(--smax-tech-muted);
    font-size: 18px;
    line-height: 1.55;
    margin: 16px 0 0;
    max-width: 560px;
}

.smax-technologists-list {
    display: grid;
    gap: 22px;
}

.smax-technologists-map {
    background: var(--smax-tech-surface);
    border: 1px solid var(--smax-tech-line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(53, 66, 72, 0.12);
    margin-bottom: 26px;
    overflow: hidden;
}

.smax-technologists-map__header {
    border-bottom: 1px solid var(--smax-tech-line);
    display: grid;
    gap: 5px;
    padding: 18px 22px;
}

.smax-technologists-map__eyebrow {
    color: var(--smax-tech-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.smax-technologists-map__title {
    color: var(--smax-tech-ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0;
}

.smax-technologists-map__canvas {
    height: clamp(360px, 34vw, 470px);
    min-height: 340px;
    width: 100%;
}

.smax-technologists-map .leaflet-tile-pane {
    filter: saturate(0.72) contrast(0.94) brightness(1.03);
}

.smax-technologists-map .leaflet-control-zoom {
    border: 0;
    box-shadow: 0 8px 24px rgba(17, 24, 28, 0.16);
}

.smax-technologists-map .leaflet-control-zoom a {
    border-color: var(--smax-tech-line);
    color: var(--smax-tech-ink);
}

.smax-technologists-map__marker {
    background: transparent;
    border: 0;
}

.smax-technologists-map__marker span {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(17, 24, 28, 0.12);
    border-radius: 50% 50% 50% 8px;
    box-shadow: 0 12px 26px rgba(17, 24, 28, 0.28);
    display: flex;
    height: 46px;
    justify-content: center;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 46px;
}

.smax-technologists-map__marker img {
    display: block;
    height: 28px;
    object-fit: contain;
    transform: rotate(45deg);
    width: 28px;
}

.smax-technologists-map__popup {
    color: var(--smax-tech-ink);
    display: grid;
    gap: 4px;
    font-size: 13px;
    line-height: 1.35;
    min-width: 190px;
}

.smax-technologists-map__popup strong {
    color: var(--smax-tech-ink);
    font-size: 15px;
}

.smax-technologists-map__popup-profile {
    border-top: 1px solid var(--smax-tech-line);
    display: grid;
    gap: 2px;
    margin-top: 7px;
    padding-top: 7px;
}

.smax-technologists-map__popup-name {
    color: var(--smax-tech-ink);
    font-weight: 800;
}

.smax-technologists-map__popup span {
    color: var(--smax-tech-muted);
}

.smax-technologists-map__popup a {
    color: var(--smax-tech-accent);
    font-weight: 800;
    margin-top: 5px;
    text-decoration: none;
}

.smax-technologist-card {
    align-items: stretch;
    background: var(--smax-tech-surface);
    border: 1px solid var(--smax-tech-line);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(53, 66, 72, 0.1);
    display: grid;
    gap: 0;
    grid-template-columns: minmax(240px, 320px) 1fr;
    overflow: hidden;
    padding: 0;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.smax-technologist-card:hover {
    border-color: rgba(163, 107, 79, 0.34);
    box-shadow: 0 22px 58px rgba(53, 66, 72, 0.16);
    transform: translateY(-2px);
}

.smax-technologist-card__media {
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.62), transparent 32%),
        linear-gradient(145deg, #dbe4e7, #eef2f3);
    min-height: 320px;
    overflow: hidden;
    position: relative;
}

.smax-technologist-card__media::after {
    background: linear-gradient(180deg, transparent 58%, rgba(17, 24, 28, 0.18));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.smax-technologist-card__photo {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.smax-technologist-card__placeholder {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 48px;
    font-weight: 800;
    height: 100%;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    width: 100%;
}

.smax-technologist-card__content {
    align-self: center;
    color: var(--smax-tech-ink);
    min-width: 0;
    padding: 34px 34px 32px;
}

.smax-technologist-card__topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.smax-technologist-card__role,
.smax-technologist-card__city {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    gap: 6px;
    line-height: 1.25;
    min-height: 32px;
    padding: 7px 11px;
}

.smax-technologist-card__role {
    background: rgba(163, 107, 79, 0.1);
    color: var(--smax-tech-accent);
}

.smax-technologist-card__city {
    background: #f1f4f5;
    color: var(--smax-tech-ink);
}

.smax-technologist-card__mini-icon {
    display: block;
    fill: currentColor;
    flex: 0 0 14px;
    height: 14px;
    width: 14px;
}

.smax-technologist-card__name {
    color: var(--smax-tech-ink);
    font-size: clamp(28px, 3.1vw, 42px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    margin: 0;
}

.smax-technologist-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.smax-technologist-card__contact {
    align-items: center;
    background: #fff;
    border: 1px solid var(--smax-tech-line);
    border-radius: 999px;
    color: var(--smax-tech-ink);
    display: inline-flex;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    min-height: 42px;
    max-width: 100%;
    padding: 9px 14px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.smax-technologist-card__contact span {
    overflow-wrap: anywhere;
}

.smax-technologist-card__contact-icon {
    display: block;
    fill: currentColor;
    flex: 0 0 16px;
    height: 16px;
    width: 16px;
}

.smax-technologist-card__contact:hover {
    background: var(--smax-tech-ink);
    border-color: var(--smax-tech-ink);
    color: #fff;
    transform: translateY(-1px);
}

.smax-technologist-card__bio {
    border-top: 1px solid var(--smax-tech-line);
    color: #475158;
    font-size: 16px;
    line-height: 1.7;
    margin-top: 26px;
    padding-top: 22px;
}

.smax-technologist-card__bio > :last-child {
    margin-bottom: 0;
}

.smax-technologists-empty {
    background: var(--smax-tech-surface);
    border: 1px solid var(--smax-tech-line);
    border-radius: 8px;
    color: var(--smax-tech-ink);
    margin: 0;
    padding: 18px 20px;
}

.single-smax_technologist .smax-technologists-archive {
    min-height: 55vh;
}

@media (max-width: 849px) {
    .smax-technologists-archive {
        padding: 36px 0 54px;
    }

    .smax-technologists-archive__intro {
        font-size: 16px;
    }

    .smax-technologists-map__header {
        align-items: start;
        display: grid;
        gap: 6px;
        padding: 16px;
    }

    .smax-technologists-map__canvas {
        height: 340px;
        min-height: 320px;
    }

    .smax-technologist-card {
        grid-template-columns: 1fr;
    }

    .smax-technologist-card__media {
        aspect-ratio: 4 / 5;
        max-height: 560px;
        min-height: 0;
    }

    .smax-technologist-card__content {
        padding: 24px 18px 22px;
    }
}

@media (max-width: 549px) {
    .smax-technologists-archive {
        padding-top: 28px;
    }

    .smax-technologists-map__canvas {
        height: 300px;
        min-height: 300px;
    }

    .smax-technologist-card__topline {
        align-items: flex-start;
        display: grid;
    }

    .smax-technologist-card__contact {
        width: 100%;
    }
}
