/**
 * Leivra Blog AI - Frontend CSS
 * Scoped styles for the Leivra Course Banner, Contextual Images, and Sources Box.
 */

/* Course Banner Container */
.vba-course-banner {
    margin: 36px 0;
    clear: both;
    font-family: inherit;
}

.vba-course-banner .vba-banner-link {
    display: block;
    text-decoration: none !important;
    background: linear-gradient(135deg, #0F223D 0%, #173258 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 24px;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(15, 34, 61, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.vba-course-banner .vba-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px rgba(15, 34, 61, 0.22), 0 6px 14px -3px rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.7);
}

.vba-banner-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.vba-banner-icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 16px 12px;
    min-width: 110px;
    text-align: center;
    flex-shrink: 0;
}

.vba-badge-brand {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #D4AF37;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.vba-banner-content {
    flex: 1;
    min-width: 0;
}

.vba-banner-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #D4AF37;
    margin-bottom: 6px;
}

.vba-banner-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}

.vba-banner-desc {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.5 !important;
}

.vba-banner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.vba-course-price {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.vba-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #D4AF37 !important;
    transition: gap 0.2s ease;
}

.vba-course-banner .vba-banner-link:hover .vba-banner-cta {
    gap: 10px;
}

/* Contextual Figure */
.vba-context-image {
    margin: 32px 0;
    text-align: center;
}

.vba-context-image img.vba-img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vba-context-image figcaption {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

/* Sources and References Container */
.vba-sources-container {
    margin: 48px 0 24px 0;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0F223D;
    border-radius: 8px;
}

.vba-sources-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0F223D !important;
    margin: 0 0 10px 0 !important;
}

.vba-sources-intro {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 0 14px 0 !important;
}

.vba-sources-list {
    margin: 0 !important;
    padding-left: 20px !important;
    font-size: 14px;
    line-height: 1.7;
}

.vba-source-link {
    font-weight: 600;
    color: #0F223D;
    text-decoration: underline;
}

.vba-source-link:hover {
    color: #D4AF37;
}

.vba-source-org {
    color: #64748b;
    font-size: 13px;
}

.vba-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.vba-badge-gov {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.vba-badge-edu {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .vba-banner-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .vba-banner-icon-col {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    .vba-banner-title {
        font-size: 18px !important;
    }
}
.vba-adsense-position{margin:32px auto;min-height:90px;display:flex;align-items:center;justify-content:center;clear:both}.vba-ad-placeholder{width:100%;padding:24px;border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;text-align:center;font-size:13px}
