.comprehensive-ranking-item .brand-ranking-logo {
    width: 180px;
    height: 100px;
    flex: 0 0 180px;
}

.comprehensive-ranking-item .brand-ranking-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comprehensive-publication-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comprehensive-publication-profile-identity {
    grid-template-columns: 320px minmax(0, 1fr);
}

.comprehensive-publication-profile-image {
    width: 320px;
    height: 190px;
}

.comprehensive-publication-profile-identity .brand-profile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex-wrap: nowrap;
    gap: 6px;
}

.comprehensive-publication-profile-identity .brand-profile-actions > *,
.comprehensive-publication-profile-identity .brand-profile-actions form,
.comprehensive-publication-profile-identity .brand-profile-actions button,
.comprehensive-publication-profile-identity .brand-profile-actions a {
    width: 100%;
    min-width: 0;
}

.comprehensive-publication-profile-identity .brand-profile-actions button,
.comprehensive-publication-profile-identity .brand-profile-actions a {
    min-height: 38px;
    padding: 0 5px;
    font-size: 11px;
    white-space: nowrap;
}

.comprehensive-publication-profile-identity .brand-profile-actions .icon {
    width: 12px;
    height: 12px;
}

.comprehensive-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.comprehensive-related-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.comprehensive-related-card > span {
    display: grid;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    place-items: center;
    background: var(--soft);
}

.comprehensive-related-card > span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comprehensive-related-card > span b {
    color: var(--muted);
    font-size: 24px;
}

.comprehensive-related-card strong,
.comprehensive-related-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comprehensive-related-card strong {
    margin-top: 9px;
    color: var(--text);
    font-size: 14px;
}

.comprehensive-related-card small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.comprehensive-ranking-detail-page {
    padding: 30px 0 70px;
    background: var(--soft);
}

.comprehensive-ranking-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid var(--line-strong);
    background: #fff;
}

.comprehensive-ranking-detail-image {
    min-height: 420px;
    overflow: hidden;
    background: var(--soft);
}

.comprehensive-ranking-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comprehensive-ranking-detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
}

.comprehensive-ranking-detail-copy > span {
    color: var(--rose);
    font-size: 12px;
    font-weight: 700;
}

.comprehensive-ranking-detail-copy h1 {
    margin: 8px 0 0 !important;
    color: var(--text) !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.comprehensive-ranking-detail-copy > p {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.8;
}

.comprehensive-ranking-location {
    color: var(--muted) !important;
    font-size: 12px !important;
}

.comprehensive-ranking-detail-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.comprehensive-ranking-detail-scores > div {
    padding: 16px;
    text-align: center;
}

.comprehensive-ranking-detail-scores > div + div {
    border-left: 1px solid var(--line);
}

.comprehensive-ranking-detail-scores span,
.comprehensive-ranking-detail-scores small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.comprehensive-ranking-detail-scores strong {
    display: inline-block;
    margin: 5px 2px 0;
    color: var(--rose);
    font-size: 38px;
    line-height: 1;
}

.comprehensive-ranking-detail-scores small {
    display: inline;
}

.comprehensive-ranking-comments {
    margin-top: 20px;
}

@media (max-width: 700px) {
    .comprehensive-ranking-main .brand-ranking-head,
    .comprehensive-ranking-main .comprehensive-ranking-item {
        grid-template-columns: 42px minmax(0, 1fr) 72px;
        gap: 10px;
    }

    .comprehensive-ranking-item {
        padding: 14px;
    }

    .comprehensive-ranking-item .brand-ranking-number {
        grid-row: 1 / span 2;
    }

    .comprehensive-ranking-item .brand-ranking-company {
        grid-column: 2 / span 2;
        flex-direction: column;
        align-items: flex-start;
    }

    .comprehensive-ranking-item .brand-ranking-logo {
        width: 180px;
        height: 100px;
        flex: none;
    }

    .comprehensive-ranking-item .brand-ranking-index {
        grid-column: 2;
        text-align: left;
    }

    .comprehensive-ranking-item .brand-ranking-index--votes {
        grid-column: 3;
    }

    .comprehensive-ranking-item .brand-vote-button {
        grid-column: 2 / span 2;
    }

    .comprehensive-ranking-detail {
        grid-template-columns: 1fr;
    }

    .comprehensive-ranking-detail-image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .comprehensive-ranking-detail-copy {
        padding: 22px;
    }

    .comprehensive-ranking-detail-copy h1 {
        font-size: 28px !important;
    }
}

@media (max-width: 1200px) {
    .comprehensive-publication-profile-identity {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .comprehensive-publication-profile-image {
        width: 260px;
        height: 160px;
    }
}

@media (max-width: 900px) {
    .comprehensive-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comprehensive-publication-profile-identity {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .comprehensive-publication-profile-image {
        width: 220px;
        height: 138px;
    }
}

@media (max-width: 420px) {
    .comprehensive-publication-profile-identity {
        grid-template-columns: 1fr;
    }

    .comprehensive-publication-profile-image {
        width: 100%;
        height: 180px;
    }
}
