.bmh-position-archive__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid var(--bmh-border);
    border-radius: var(--bmh-radius);
    background: var(--bmh-white);
    box-shadow: 0 7px 20px rgba(18, 78, 49, 0.07);
}

.bmh-position-archive__summary > div:first-child,
.bmh-position-archive__stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bmh-position-archive__summary-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff7d8;
    color: #b78900;
    box-shadow: inset 0 0 0 1px rgba(216, 189, 44, 0.28);
}

.bmh-position-archive__summary strong,
.bmh-position-archive__summary span {
    display: block;
}

.bmh-position-archive__summary > div:first-child strong {
    color: var(--bmh-green-dark);
    font-size: 0.95rem;
}

.bmh-position-archive__summary > div:first-child div > span {
    color: var(--bmh-muted);
    font-size: 0.8rem;
}

.bmh-position-archive__stats {
    gap: 6px;
}

.bmh-position-archive__stats > span {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--bmh-green-soft);
    color: var(--bmh-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.bmh-position-archive__stats strong {
    display: inline;
    color: var(--bmh-green-dark);
}

.bmh-position-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 24px;
}

.bmh-position-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(34, 136, 82, 0.18);
    border-top: 3px solid var(--bmh-gold);
    border-radius: var(--bmh-radius);
    background:
        radial-gradient(circle at 100% 0, rgba(216, 189, 44, 0.14) 0 72px, transparent 73px),
        radial-gradient(circle at 0 100%, rgba(34, 136, 82, 0.055) 0 88px, transparent 89px),
        var(--bmh-white);
    box-shadow: 0 7px 20px rgba(18, 78, 49, 0.07);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.bmh-position-card:hover {
    border-color: rgba(216, 189, 44, 0.62);
    box-shadow: 0 17px 36px rgba(16, 63, 43, 0.14);
    transform: translateY(-4px);
}

.bmh-position-card__top {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    border-bottom: 1px solid var(--bmh-border);
}

.bmh-position-card__year {
    color: var(--bmh-green-dark);
    font-size: 1rem;
    font-weight: 800;
}

.bmh-position-card__rank {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c99f0b, #e0522e);
    color: var(--bmh-white);
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1;
    text-transform: capitalize;
    white-space: nowrap;
}

.bmh-position-card__portrait {
    width: 144px;
    height: 144px;
    margin: 14px auto 9px;
    overflow: hidden;
    border: 4px solid var(--bmh-white);
    border-radius: 50%;
    background: var(--bmh-green-soft);
    box-shadow:
        0 0 0 2px var(--bmh-gold),
        0 8px 22px rgba(15, 90, 55, 0.14);
}

.bmh-position-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.28s ease;
}

.bmh-position-card:hover .bmh-position-card__portrait img {
    transform: scale(1.045);
}

.bmh-position-card__honour {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 10px 5px;
    color: #a17700;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.bmh-position-card__honour i {
    color: var(--bmh-gold);
    font-size: 0.48rem;
}

.bmh-position-card__portrait-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--bmh-green);
    font-size: 2.6rem;
}

.bmh-position-card__identity {
    padding: 0 12px 10px;
    text-align: center;
}

.bmh-position-card__identity h2 {
    margin: 0;
    color: var(--bmh-green-dark);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.bmh-position-card__identity p {
    margin: 4px 0 0;
    color: var(--bmh-muted);
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bmh-position-card__identity p span {
    color: var(--bmh-accent);
    font-size: 0.75rem;
    font-weight: 800;
}

.bmh-position-card__institution {
    display: flex;
    min-height: 54px;
    align-items: flex-start;
    gap: 7px;
    margin: auto 10px 9px;
    padding: 9px;
    border-radius: 10px;
    background: var(--bmh-green-soft);
    color: var(--bmh-green-dark);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.35;
}

.bmh-position-card__institution i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--bmh-green);
}

.bmh-position-card__result {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid var(--bmh-border);
    background: rgba(245, 250, 247, 0.8);
}

.bmh-position-card__result div {
    min-width: 0;
    padding: 8px 10px;
}

.bmh-position-card__result div + div {
    border-left: 1px solid var(--bmh-border);
}

.bmh-position-card__result dt {
    margin: 0 0 2px;
    color: var(--bmh-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bmh-position-card__result dd {
    margin: 0;
    color: var(--bmh-green-dark);
    font-size: 0.8rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .bmh-position-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bmh-position-archive__summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .bmh-position-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 520px) {
    .bmh-position-archive__stats {
        width: 100%;
        align-items: stretch;
    }

    .bmh-position-archive__stats > span {
        flex: 1 1 0;
        text-align: center;
        white-space: normal;
    }

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

    .bmh-position-card__portrait {
        width: 152px;
        height: 152px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bmh-position-card,
    .bmh-position-card__portrait img {
        transition: none;
    }

    .bmh-position-card:hover,
    .bmh-position-card:hover .bmh-position-card__portrait img {
        transform: none;
    }
}

.bmh-result-overall-card {
    width: 100%;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--bmh-border);
    border-radius: var(--bmh-radius);
    background: var(--bmh-white);
    box-shadow: var(--bmh-shadow);
}

.bmh-result-overall-card .bmh-result-search-panel {
    justify-self: start;
    margin: 0;
    background: #fbfdfc;
    box-shadow: 0 7px 20px rgba(18, 78, 49, 0.07);
}

@media (max-width: 600px) {
    .bmh-result-overall-card {
        padding: 10px;
        border-radius: 13px;
    }
}
