/* Connected content hub — matches APK quantity-tab + hub-card layout */
.cc-hub {
    margin: 1.5rem 0 2rem;
}

.cc-hub-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.15rem 0 0.65rem;
    margin-bottom: 0.75rem;
    scrollbar-width: thin;
}

.cc-hub-tabs::-webkit-scrollbar {
    height: 6px;
}

.cc-hub-tab {
    flex: 0 0 auto;
    appearance: none;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #003b64;
    border-radius: 999px;
    padding: 0.42rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cc-hub-tab:hover {
    border-color: #003b64;
    color: #003b64;
}

.cc-hub-tab.is-active {
    background: #003b64;
    border-color: #003b64;
    color: #fff;
}

.cc-hub-panel {
    display: none;
}

.cc-hub-panel.is-active {
    display: block;
}

.cc-hub-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #003b64;
    margin: 0 0 0.75rem;
}

.cc-hub-empty {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    padding: 0.75rem 0;
}

.cc-hub-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-hub-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.cc-hub-card-link {
    display: block;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: inherit;
}

.cc-hub-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #003b64;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.cc-hub-card-subtitle {
    font-size: 0.8125rem;
    color: #4b5563;
    margin: 0 0 0.45rem;
    line-height: 1.4;
}

.cc-hub-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 0 0.45rem;
}

.cc-hub-card-meta-strong {
    font-weight: 700;
    color: #003b64;
}

.cc-hub-card-action {
    font-size: 0.75rem;
    font-weight: 700;
    color: #003b64;
}

.cc-hub-more {
    margin-top: 0.5rem;
}

.cc-hub-more .btn {
    border-radius: 999px;
    font-weight: 600;
}
