/* Hub pages (Programs, Videos, Documents) — Paradigm Institute */

.hub-hero {
    background: var(--gradient-primary, linear-gradient(135deg, #07294d 0%, #0a3d6b 100%));
    color: #ffffff;
    padding: 70px 0 60px;
    text-align: center;
}

.hub-hero h1 {
    color: #ffffff;
    font-size: 38px;
    margin: 10px 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.hub-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.hub-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16.5px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
    border-left: 3px solid #ffc600;
    padding-left: 14px;
    text-align: left;
    font-style: italic;
}

.hub-crumb {
    color: var(--secondary-color, #ffc600);
    font-size: 14px;
    margin-bottom: 6px;
}

.hub-crumb a {
    color: var(--secondary-color, #ffc600);
}

.hub-section {
    padding: 60px 0 70px;
    background: #f8f9fa;
}

.hub-group-title {
    font-size: 22px;
    color: var(--primary-color, #07294d);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 30px 0 18px;
    border-left: 4px solid var(--secondary-color, #ffc600);
    padding-left: 14px;
}

.hub-group-title:first-child {
    margin-top: 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.hub-card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #eef0f3;
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    text-decoration: none;
}

.hub-kicker {
    color: var(--secondary-color, #ffc600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 600;
}

.hub-card h4 {
    color: var(--primary-color, #07294d);
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 8px 0 12px;
    line-height: 1.35;
}

.hub-link {
    color: #0a3d6b;
    font-weight: 600;
    font-size: 14px;
}

.hub-link::after {
    content: '\2192';
    margin-left: 6px;
    transition: margin-left 0.2s ease;
}

.hub-card:hover .hub-link::after {
    margin-left: 12px;
}

.hub-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.hub-video-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.hub-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.hub-video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.hub-video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-video-content {
    padding: 16px 18px 18px;
}

.hub-video-card h3 {
    color: var(--primary-color, #07294d);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 6px;
    line-height: 1.35;
}

.hub-video-card p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.hub-video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}

@media (max-width: 768px) {
    .hub-hero h1 { font-size: 30px; }
    .hub-hero { padding: 50px 0 45px; }
    .hub-section { padding: 40px 0 50px; }
}
