
.hub-detail {
    display: flex;
    gap: 60px;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 64px auto 96px;
    box-sizing: border-box;
}

.hub-detail *,
.hub-detail *::before,
.hub-detail *::after {
    box-sizing: border-box;
}

.hub-detail__aside {
    flex: 0 0 320px; 
    min-width: 0;
}

.hub-detail__sticky {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hub-detail__main {
    flex: 1;
    min-width: 0;
}
.hub-aside-cta {
    padding: 22px;
    border-radius: 16px;
    background: #121826;
    color: #fff;
    letter-spacing: -0.48px;
}

.hub-aside-cta__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.hub-aside-cta__desc {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

.hub-aside-cta__call {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    white-space: nowrap;
}

.hub-aside-cta__call span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.75;
}

.hub-aside-cta__call strong {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.hub-aside-cta__button {
    display: block;
    padding: 13px 10px;
    border-radius: 12px;
    background: #C74C1B;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.hub-aside-cta__button:hover {
    opacity: 0.9;
}
.hub-aside-lawyers {
    padding: 20px 20px 8px;
    border: 1px solid #e3e5e9;
    border-radius: 14px;
    background: #fff;
}

.hub-aside-lawyers__title {
    margin: 0 0 6px;
    color: #C74C1B;
    font-size: 14px;
    font-weight: 800;
}

.hub-aside-lawyer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f0f1f3;
    color: inherit;
    text-decoration: none;
}

.hub-aside-lawyers__title + .hub-aside-lawyer {
    border-top: 0;
}

.hub-aside-lawyer__photo {
    flex: none;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 50%;
    background: #eceef1;
}

.hub-aside-lawyer__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hub-aside-lawyer__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.hub-aside-lawyer__position {
    color: #80858f;
    font-size: 12.5px;
}

.hub-aside-lawyer__name {
    color: #16181d;
    font-size: 16px;
    font-weight: 700;
}

.hub-aside-lawyer__arrow {
    color: #9aa0aa;
    font-size: 14px;
}

a.hub-aside-lawyer:hover .hub-aside-lawyer__name {
    color: #C74C1B;
}
.hub-detail__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 64px;
    padding-top: 36px;
    border-top: 1px solid #e6e8ec;
}

.hub-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 15px 28px;
    border: 1px solid #16181d;
    border-radius: 8px;
    background: #fff;
    color: #16181d !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hub-detail__btn:hover {
    background: #f5f6f8;
}

.hub-detail__btn--accent {
    border-color: #C74C1B;
    background: #C74C1B;
    color: #fff !important;
}

.hub-detail__btn--accent:hover {
    background: #A33A12;
}
.hub-detail .hubcase-intro__meta {
    margin: -8px 0 0;
    font-size: 14px;
}

.hub-detail .hubcase-intro__meta a {
    color: #C74C1B;
    font-weight: 600;
    text-decoration: none;
}

.hub-detail .hubcase-intro__meta a:hover {
    text-decoration: underline;
}
.hub-detail__legacy {
    color: #34373d;
    font-size: 17px;
    line-height: 1.85;
    word-break: keep-all;
}

.hub-detail__legacy img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1100px) {
    .hub-detail {
        flex-direction: column;
        gap: 40px;
        margin: 40px auto 72px;
    }

    .hub-detail__aside {
        order: 2;
        flex: none;
        width: 100%;
    }

    .hub-detail__sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 640px) {
    .hub-detail {
        width: calc(100% - 32px);
        margin: 28px auto 56px;
    }

    .hub-aside-cta {
        display: none; 
    }

    .hub-detail__actions {
        margin-top: 44px;
        padding-top: 28px;
    }

    .hub-detail__btn {
        flex: 1;
        min-width: 0;
        padding: 13px 10px;
        font-size: 15px;
    }
}
