/**
 * Twenty Twenty-Five Bridge: Video & Course Module Stylesheet
 */

/* ==========================================================================
   1. GLOBAL CONTAINER & LAYOUT
   ========================================================================== */
/* Hide redundant page title if rendered by parent page templates */
.page-id-3401 .wp-block-post-title,
.bridge-video-portal-page-wrap .wp-block-post-title,
body.page-template-page-videos .wp-block-post-title {
    display: none !important;
}

.bridge-video-portal-wrap,
.bridge-video-page-wrap,
.bridge-course-page-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.bridge-video-crumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}
.bridge-video-crumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.bridge-video-crumb a:hover {
    color: #ea580c;
}
.bridge-video-crumb span {
    color: #0f172a;
    font-weight: 500;
}

/* ==========================================================================
   2. VIDEO PORTAL HERO & FILTERS
   ========================================================================== */
.bridge-vportal-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
    border-radius: 16px;
    padding: 40px 32px;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}
.bridge-vportal-kicker {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(234, 88, 12, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 999px;
    color: #fb923c;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}
.bridge-vportal-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
    color: #ffffff;
}
.bridge-vportal-subtitle {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 780px;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Search Form */
.bridge-video-search-form {
    display: flex;
    gap: 10px;
    max-width: 640px;
    flex-wrap: wrap;
    align-items: center;
}
.bridge-video-search-input {
    flex: 1;
    min-width: 260px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}
.bridge-video-search-input:focus {
    background: #ffffff;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.3);
}
.bridge-video-search-btn {
    padding: 12px 24px;
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.bridge-video-search-btn:hover {
    background: #c2410c;
}
.bridge-video-search-clear {
    color: #94a3b8;
    font-size: 13px;
    text-decoration: underline;
}

/* Filters */
.bridge-vportal-filters {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.bridge-filter-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
}
.bridge-filter-row + .bridge-filter-row {
    border-top: 1px dashed #f1f5f9;
    margin-top: 6px;
    padding-top: 12px;
}
.bridge-filter-label {
    min-width: 80px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    padding-top: 5px;
}
.bridge-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.bridge-video-meetings-row {
    max-height: 72px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}
.bridge-chip {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.4;
}
.bridge-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #ea580c;
}
.bridge-chip.active {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
    font-weight: 600;
}

/* ==========================================================================
   3. FEATURED COURSES ROW
   ========================================================================== */
.bridge-featured-courses-section {
    margin-bottom: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
}
.bridge-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.bridge-section-h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}
.bridge-featured-course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.bridge-fc-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bridge-fc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.bridge-fc-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #0f172a;
    overflow: hidden;
}
.bridge-fc-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bridge-fc-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #1e293b, #334155);
}
.bridge-fc-count-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.bridge-fc-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bridge-fc-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bridge-fc-title a {
    color: #0f172a;
    text-decoration: none;
}
.bridge-fc-title a:hover {
    color: #ea580c;
}
.bridge-fc-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.bridge-fc-price {
    color: #ea580c;
    font-weight: 800;
    font-size: 16px;
}

/* ==========================================================================
   4. VIDEO GRID & CARDS
   ========================================================================== */
.bridge-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.bridge-video-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bridge-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.bridge-vcard-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}
.bridge-vcard-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.bridge-video-card:hover .bridge-vcard-cover img {
    transform: scale(1.05);
}
.bridge-vcard-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}
.bridge-vcard-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.bridge-vcard-badge-free {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.bridge-vcard-badge-price {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ea580c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}
.bridge-vcard-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    text-decoration: none;
}
.bridge-video-card:hover .bridge-vcard-play-overlay {
    opacity: 1;
}
.bridge-play-circle {
    width: 44px;
    height: 44px;
    background: rgba(234, 88, 12, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    padding-left: 3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.bridge-vcard-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bridge-vcard-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}
.bridge-vcard-title a {
    color: #0f172a;
    text-decoration: none;
}
.bridge-vcard-title a:hover {
    color: #ea580c;
}
.bridge-vcard-speaker {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bridge-vcard-org {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bridge-vcard-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}
.bridge-vcard-hits {
    font-size: 12px;
    color: #94a3b8;
}
.bridge-btn-watch {
    font-size: 12px;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    transition: color 0.2s;
}
.bridge-btn-watch:hover {
    color: #c2410c;
}

/* ==========================================================================
   5. SINGLE VIDEO VIEW (PLAYER & DETAILS)
   ========================================================================== */
.bridge-video-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: flex-start;
}
.bridge-video-main-col {
    min-width: 0;
}

/* Player Stage */
.bridge-player-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}
.prism-player {
    width: 100% !important;
    height: 100% !important;
    background: #000;
}
.bridge-player-loading-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #090d16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 14px;
    z-index: 10;
}
.bridge-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #ea580c;
    border-radius: 50%;
    animation: bridgeSpin 0.9s linear infinite;
    margin-bottom: 14px;
}
@keyframes bridgeSpin {
    to { transform: rotate(360deg); }
}

/* Trial Overlay (180s) */
.bridge-trial-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 13, 22, 0.92);
    backdrop-filter: blur(8px);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.bridge-trial-modal {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 16px;
    padding: 32px 36px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.bridge-trial-icon {
    font-size: 38px;
    margin-bottom: 12px;
}
.bridge-trial-modal h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #f8fafc;
}
.bridge-trial-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 20px;
}
.bridge-trial-desc strong {
    color: #fb923c;
}
.bridge-trial-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.bridge-btn-unlock-video {
    background: #ea580c;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.bridge-btn-unlock-video:hover {
    background: #c2410c;
}
.bridge-btn-vip-upgrade {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.2s;
}
.bridge-btn-vip-upgrade:hover {
    opacity: 0.9;
}
.bridge-btn-replay-preview {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.bridge-btn-replay-preview:hover {
    color: #ffffff;
    border-color: #cbd5e1;
}
.bridge-trial-tip {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

/* Video Header Card */
.bridge-video-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.bridge-video-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}
.bridge-vtag {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}
.bridge-vtag-unlocked {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.bridge-vtag-free {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.bridge-vtag-trial {
    background: #ffedd5;
    color: #c2410c;
    border: 1px solid #fed7aa;
}
.bridge-vtag-price {
    background: #f1f5f9;
    color: #ea580c;
    border: 1px solid #e2e8f0;
    font-weight: 700;
}
.bridge-vtag-cat {
    background: #f1f5f9;
    color: #475569;
}
.bridge-vtag-meta {
    font-size: 12px;
    color: #64748b;
    margin-left: 6px;
}
.bridge-video-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 18px;
}

/* Speaker Card */
.bridge-speaker-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.bridge-speaker-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ea580c;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bridge-speaker-info {
    min-width: 0;
}
.bridge-speaker-name {
    font-size: 15px;
    color: #0f172a;
}
.bridge-speaker-post {
    font-size: 13px;
    color: #ea580c;
    margin-left: 8px;
    font-weight: 500;
}
.bridge-speaker-org {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}

/* Related Doc Banner */
.bridge-related-doc-card {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.bridge-related-doc-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.bridge-doc-fmt-badge {
    background: #ea580c;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Video Abstract */
.bridge-video-abstract-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.bridge-video-content-body {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-top: 12px;
}
.bridge-video-tags-wrap {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.bridge-tag-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   6. RIGHT SIDEBAR (COURSE PLAYLIST & VIP)
   ========================================================================== */
.bridge-video-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bridge-course-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.bridge-course-side-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.bridge-course-side-kicker {
    font-size: 12px;
    font-weight: 600;
    color: #ea580c;
    display: block;
    margin-bottom: 6px;
}
.bridge-course-side-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}
.bridge-course-side-title a {
    color: #0f172a;
    text-decoration: none;
}
.bridge-course-side-title a:hover {
    color: #ea580c;
}
.bridge-course-side-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.bridge-course-bundle-price {
    font-size: 16px;
    font-weight: 800;
    color: #ea580c;
}
.bridge-btn-unlock-course {
    width: 100%;
    padding: 10px;
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.bridge-btn-unlock-course:hover {
    background: #c2410c;
}
.bridge-course-unlocked-tag {
    background: #dcfce7;
    color: #15803d;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Playlist */
.bridge-course-playlist-wrap {
    padding: 14px 16px;
}
.bridge-playlist-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
}
.bridge-playlist-list {
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bridge-playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #334155;
    transition: background 0.2s;
}
.bridge-playlist-item:hover {
    background: #f1f5f9;
}
.bridge-playlist-item.active {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}
.bridge-pli-index {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    min-width: 20px;
}
.bridge-playlist-item.active .bridge-pli-index {
    color: #ea580c;
}
.bridge-pli-body {
    flex: 1;
    min-width: 0;
}
.bridge-pli-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bridge-playlist-item.active .bridge-pli-title {
    color: #ea580c;
}
.bridge-pli-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    display: flex;
    justify-content: space-between;
}
.bridge-pli-playing-icon {
    font-size: 11px;
    color: #ea580c;
    font-weight: 700;
    white-space: nowrap;
}

/* VIP Promo Sidebar Box */
.bridge-vip-promo-sidebar {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 12px;
    padding: 24px 20px;
    color: #ffffff;
    text-align: center;
}
.bridge-vip-promo-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.bridge-vip-promo-sidebar h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #fef08a;
}
.bridge-vip-promo-sidebar p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 16px;
}
.bridge-btn-gold-sm {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.bridge-btn-gold-sm:hover {
    opacity: 0.9;
}

/* ==========================================================================
   7. SINGLE COURSE VIEW
   ========================================================================== */
.bridge-course-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
}
.bridge-course-hero-cover {
    width: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
}
.bridge-course-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bridge-course-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #94a3b8;
    font-size: 16px;
    font-weight: 700;
}
.bridge-course-hero-info {
    flex: 1;
    min-width: 0;
}
.bridge-course-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.bridge-course-hero-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.4;
    color: #0f172a;
}
.bridge-course-hero-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}
.bridge-course-hero-action-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.bridge-course-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.bridge-course-price-label {
    font-size: 14px;
    color: #64748b;
}
.bridge-course-price-val {
    font-size: 28px;
    font-weight: 800;
    color: #ea580c;
}
.bridge-course-hero-purchased {
    font-size: 15px;
    font-weight: 700;
    color: #15803d;
    display: flex;
    align-items: center;
}

/* Course Tracklist Grid */
.bridge-course-tracklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.bridge-track-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bridge-track-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.bridge-track-num {
    font-size: 20px;
    font-weight: 800;
    color: #cbd5e1;
    min-width: 32px;
}
.bridge-track-main {
    flex: 1;
    min-width: 0;
}
.bridge-track-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bridge-track-title a {
    color: #0f172a;
    text-decoration: none;
}
.bridge-track-title a:hover {
    color: #ea580c;
}
.bridge-track-meta {
    font-size: 12px;
    color: #64748b;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .bridge-featured-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bridge-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .bridge-video-layout {
        grid-template-columns: 1fr;
    }
    .bridge-course-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .bridge-course-hero-cover {
        width: 100%;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .bridge-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bridge-course-tracklist-grid {
        grid-template-columns: 1fr;
    }
    .bridge-vportal-hero {
        padding: 24px 20px;
    }
    .bridge-vportal-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .bridge-featured-course-grid,
    .bridge-video-grid {
        grid-template-columns: 1fr;
    }
    .bridge-video-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    .bridge-video-search-btn {
        width: 100%;
    }
}

/* ==========================================================================
   8. MODERN CENTERED PAGINATION
   ========================================================================== */
.bridge-video-pagination,
.bridge-doc-pagination {
    margin: 48px auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}
.bridge-video-pagination .page-numbers,
.bridge-doc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.bridge-video-pagination .page-numbers:hover:not(.current):not(.dots),
.bridge-doc-pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: #ea580c;
    color: #ea580c;
    background: #fff7ed;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(234, 88, 12, 0.12);
}
.bridge-video-pagination .page-numbers.current,
.bridge-doc-pagination .page-numbers.current {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);
    cursor: default;
}
.bridge-video-pagination .page-numbers.dots,
.bridge-doc-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    color: #94a3b8;
    padding: 0 4px;
    min-width: auto;
    cursor: default;
}
.bridge-video-pagination .prev,
.bridge-video-pagination .next,
.bridge-doc-pagination .prev,
.bridge-doc-pagination .next {
    padding: 0 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .bridge-video-pagination,
    .bridge-doc-pagination {
        margin: 32px auto 16px;
        gap: 6px;
    }
    .bridge-video-pagination .page-numbers,
    .bridge-doc-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    .bridge-video-pagination .prev,
    .bridge-video-pagination .next,
    .bridge-doc-pagination .prev,
    .bridge-doc-pagination .next {
        padding: 0 10px;
    }
}

