/**
 * Exam Content Generator Pro - Frontend Styles
 */

/* ================================
   EXAM OVERVIEW
   ================================ */
.ecg-exam-overview {
    max-width: 100%;
    line-height: 1.8;
}

.ecg-exam-overview h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    color: #1a1a1a;
}

.ecg-exam-overview h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.ecg-exam-overview table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.ecg-exam-overview th,
.ecg-exam-overview td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.ecg-exam-overview th {
    background: #f5f5f5;
    font-weight: 600;
}

/* ================================
   STUDY NOTES FRONTEND - Match Exam Overview Style
   Force white background + black text everywhere
   ================================ */
.ecg-study-notes-frontend,
.ecg-study-notes-frontend .ecg-sn-content,
.ecg-study-notes-frontend .ecg-sn-preview,
.ecg-study-notes-frontend .ecg-sn-blur-inner {
    background: #ffffff !important;
    color: #1a1a1a !important;
}

/* Strip ALL background classes - force white/transparent */
.ecg-study-notes-frontend *[class*="bg-"] {
    background: transparent !important;
}

/* Force dark text for ALL text classes that might be white/light */
.ecg-study-notes-frontend .text-white,
.ecg-study-notes-frontend .text-slate-300,
.ecg-study-notes-frontend .text-slate-400,
.ecg-study-notes-frontend .text-slate-500,
.ecg-study-notes-frontend .text-gray-300,
.ecg-study-notes-frontend .text-gray-400,
.ecg-study-notes-frontend .text-blue-200 {
    color: #1a1a1a !important;
}

/* Force dark text on all headings (except inside premium lock container) */
.ecg-study-notes-frontend h1:not(.ecg-premium-lock-title),
.ecg-study-notes-frontend h2:not(.ecg-premium-lock-title),
.ecg-study-notes-frontend h3:not(.ecg-premium-lock-title),
.ecg-study-notes-frontend h4,
.ecg-study-notes-frontend h5,
.ecg-study-notes-frontend h6 {
    color: #1a1a1a !important;
}

/* Force dark text on paragraphs, lists, spans (except inside premium lock container) */
.ecg-study-notes-frontend p:not(.ecg-premium-lock-subtitle),
.ecg-study-notes-frontend li,
.ecg-study-notes-frontend span,
.ecg-study-notes-frontend .ecg-sn-content div,
.ecg-study-notes-frontend .ecg-sn-preview div,
.ecg-study-notes-frontend strong:not(.ecg-premium-lock-subtitle strong),
.ecg-study-notes-frontend em,
.ecg-study-notes-frontend b {
    color: #333333 !important;
}

/* Premium lock container text colors (override study notes dark text) */
.ecg-premium-lock-container h3.ecg-premium-lock-title,
.ecg-premium-lock-container .ecg-premium-lock-title {
    color: #ffffff !important;
}
.ecg-premium-lock-container p.ecg-premium-lock-subtitle,
.ecg-premium-lock-container .ecg-premium-lock-subtitle {
    color: #ffffff !important;
}
.ecg-premium-lock-container .ecg-premium-lock-subtitle strong {
    color: #CBA557 !important;
}

/* Force link colors */
.ecg-study-notes-frontend a {
    color: #0b415d !important;
}

/* Override ALL inline style="color:..." that sets white/light colors */
.ecg-study-notes-frontend [style*="color: white"],
.ecg-study-notes-frontend [style*="color:white"],
.ecg-study-notes-frontend [style*="color: #fff"],
.ecg-study-notes-frontend [style*="color:#fff"],
.ecg-study-notes-frontend [style*="color: #ffffff"],
.ecg-study-notes-frontend [style*="color:#ffffff"],
.ecg-study-notes-frontend [style*="color: rgb(255,255,255)"],
.ecg-study-notes-frontend [style*="color:rgb(255,255,255)"],
.ecg-study-notes-frontend [style*="color: rgb(255, 255, 255)"],
.ecg-study-notes-frontend [style*="color: #f"],
.ecg-study-notes-frontend [style*="color:#f"] {
    color: #1a1a1a !important;
}

/* Also target children of white-colored parents */
.ecg-study-notes-frontend [style*="color: white"] *,
.ecg-study-notes-frontend [style*="color:white"] *,
.ecg-study-notes-frontend [style*="color: #fff"] *,
.ecg-study-notes-frontend [style*="color:#fff"] *,
.ecg-study-notes-frontend [style*="color: #ffffff"] *,
.ecg-study-notes-frontend [style*="color:#ffffff"] * {
    color: #333333 !important;
}

/* Override inline background styles too */
.ecg-study-notes-frontend [style*="background"],
.ecg-study-notes-frontend [style*="background-color"] {
    background: transparent !important;
    background-color: transparent !important;
}

/* ================================
   STUDY NOTES
   ================================ */
.ecg-study-notes {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.ecg-study-notes h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.ecg-study-notes h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 28px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.3;
}

.ecg-study-notes h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ecg-study-notes h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ecg-study-notes h1:first-child,
.ecg-study-notes h2:first-child,
.ecg-study-notes h3:first-child {
    margin-top: 0;
}

.ecg-study-notes p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
}

.ecg-study-notes ul,
.ecg-study-notes ol {
    margin: 18px 0;
    padding-left: 28px;
}

.ecg-study-notes li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}

.ecg-study-notes strong {
    font-weight: 600;
    color: #1e293b;
}

.ecg-study-notes a {
    color: #0b415d;
    text-decoration: underline;
}

.ecg-study-notes a:hover {
    color: #1a5a7a;
}

.ecg-study-notes blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-left: 4px solid #CBA557;
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    font-style: italic;
    color: #475569;
}

.ecg-study-notes table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.ecg-study-notes th,
.ecg-study-notes td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.ecg-study-notes th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.ecg-study-notes code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-family: Consolas, Monaco, monospace;
}

/* ================================
   RESPONSIVE TABLE SCROLL
   For horizontal scrolling on mobile
   ================================ */
.ecg-table-wrapper,
.sig-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ecg-table-wrapper table,
.sig-table-wrapper table {
    margin: 0;
    border: none;
    min-width: 600px;
}

.ecg-table-wrapper th:first-child,
.ecg-table-wrapper td:first-child,
.sig-table-wrapper th:first-child,
.sig-table-wrapper td:first-child {
    border-left: none;
}

.ecg-table-wrapper th:last-child,
.ecg-table-wrapper td:last-child,
.sig-table-wrapper th:last-child,
.sig-table-wrapper td:last-child {
    border-right: none;
}

.ecg-table-wrapper tr:first-child th,
.ecg-table-wrapper tr:first-child td,
.sig-table-wrapper tr:first-child th,
.sig-table-wrapper tr:first-child td {
    border-top: none;
}

.ecg-table-wrapper tr:last-child th,
.ecg-table-wrapper tr:last-child td,
.sig-table-wrapper tr:last-child th,
.sig-table-wrapper tr:last-child td {
    border-bottom: none;
}

/* Apply overflow scroll directly to common content wrappers on mobile */
@media (max-width: 768px) {
    .ecg-exam-overview,
    .ecg-study-notes,
    .ecg-study-notes-frontend,
    .ecg-sn-content,
    .sig-ecg-panel-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ecg-exam-overview {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .ecg-exam-overview table,
    .ecg-study-notes table,
    .ecg-study-notes-frontend table,
    .ecg-sn-content table,
    .sig-ecg-panel-content table {
        min-width: 500px;
        display: block;
        overflow-x: auto;
    }
}

/* ================================
   GENERATED "TAILWIND-LIKE" UTILITIES
   (Used by AI-generated Study Notes HTML)
   ================================ */
/* Support multiple wrappers: model output may include study-notes-container, plugin wraps with ecg-study-notes-frontend/ecg-sn-content. */
.study-notes-container .text-white,
.ecg-exam-overview .text-white,
.ecg-study-notes-frontend .text-white,
.ecg-study-notes-frontend .ecg-sn-content .text-white { color: #ffffff !important; }

.study-notes-container .text-slate-300,
.ecg-exam-overview .text-slate-300,
.ecg-study-notes-frontend .text-slate-300,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-300 { color: #e2e8f0 !important; }

.study-notes-container .text-slate-400,
.ecg-exam-overview .text-slate-400,
.ecg-study-notes-frontend .text-slate-400,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-400 { color: #cbd5e1 !important; }

.study-notes-container .text-slate-500,
.ecg-exam-overview .text-slate-500,
.ecg-study-notes-frontend .text-slate-500,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-500 { color: #94a3b8 !important; }

/* Make light utility text readable inside Study Notes (white backgrounds) */
.ecg-study-notes-frontend .text-white,
.ecg-study-notes-frontend .ecg-sn-content .text-white { color: #0f172a !important; }

.ecg-study-notes-frontend .text-slate-300,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-300 { color: #334155 !important; }

.ecg-study-notes-frontend .text-slate-400,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-400 { color: #475569 !important; }

.ecg-study-notes-frontend .text-slate-500,
.ecg-study-notes-frontend .ecg-sn-content .text-slate-500 { color: #64748b !important; }

/* Normalize AI header blocks in Study Notes to match normal black text styling */
.ecg-study-notes-frontend .bg-slate-950,
.ecg-study-notes-frontend .bg-slate-900,
.ecg-study-notes-frontend .bg-slate-800,
.ecg-study-notes-frontend .bg-slate-700,
.ecg-study-notes-frontend [class*="bg-gradient"],
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-950,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-900,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-800,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-700,
.ecg-study-notes-frontend .ecg-sn-content [class*="bg-gradient"] {
    background: #ffffff !important;
    color: #0f172a !important;
}

.ecg-study-notes-frontend .bg-slate-950 .text-white,
.ecg-study-notes-frontend .bg-slate-900 .text-white,
.ecg-study-notes-frontend .bg-slate-800 .text-white,
.ecg-study-notes-frontend .bg-slate-700 .text-white,
.ecg-study-notes-frontend [class*="bg-gradient"] .text-white,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-950 .text-white,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-900 .text-white,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-800 .text-white,
.ecg-study-notes-frontend .ecg-sn-content .bg-slate-700 .text-white,
.ecg-study-notes-frontend .ecg-sn-content [class*="bg-gradient"] .text-white {
    color: #0f172a !important;
}

/* If a theme forces dark heading colors, ensure headings inside dark/gradient header blocks stay readable. */
.ecg-exam-overview .bg-slate-900 h1,
.ecg-exam-overview .bg-slate-900 h2,
.ecg-exam-overview .bg-slate-900 h3,
.ecg-exam-overview .bg-slate-900 h4,
.ecg-study-notes-frontend .bg-slate-900 h1,
.ecg-study-notes-frontend .bg-slate-900 h2,
.ecg-study-notes-frontend .bg-slate-900 h3,
.ecg-study-notes-frontend .bg-slate-900 h4 { color: #ffffff !important; }

/* Gradient header blocks (common in generated cover + chapter headers). */
.ecg-exam-overview [class*="bg-gradient"] h1,
.ecg-exam-overview [class*="bg-gradient"] h2,
.ecg-exam-overview [class*="bg-gradient"] h3,
.ecg-exam-overview [class*="bg-gradient"] h4,
.ecg-study-notes-frontend [class*="bg-gradient"] h1,
.ecg-study-notes-frontend [class*="bg-gradient"] h2,
.ecg-study-notes-frontend [class*="bg-gradient"] h3,
.ecg-study-notes-frontend [class*="bg-gradient"] h4 { color: #ffffff !important; }

/* Study Chapter */
.ecg-study-notes .study-chapter {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ecg-study-notes .chapter-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    margin: 0;
    padding: 20px 25px;
    font-size: 22px;
}

.ecg-study-notes .chapter-content {
    padding: 25px;
    line-height: 1.8;
    font-size: 16px;
}

.ecg-study-notes .chapter-content h3 {
    color: #667eea;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

/* Key Concept Box */
.ecg-study-notes .key-concept {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f9ff 100%);
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Exam Tip Box */
.ecg-study-notes .exam-tip {
    background: linear-gradient(135deg, #fef9e7 0%, #fffbf0 100%);
    border-left: 4px solid #f1c40f;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.ecg-study-notes .exam-tip::before {
    content: "💡 Exam Tip: ";
    font-weight: 700;
    color: #d4ac0d;
}

/* Definition Box */
.ecg-study-notes .definition {
    background: linear-gradient(135deg, #eafaf1 0%, #f0fff4 100%);
    border-left: 4px solid #27ae60;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Study Notes word-lock (first N words visible, remainder blurred) */
.ecg-study-notes-wordlock .ecg-sn-preview {
    position: relative;
}

.ecg-study-notes-wordlock .ecg-sn-blur {
    position: relative;
    overflow: hidden;
    max-height: 168px;
    border-radius: 12px;
    /* Prevent text selection and copying */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ecg-study-notes-wordlock .ecg-sn-blur-inner {
    filter: blur(5px);
    /* Prevent text selection on inner content too */
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

/* Clean blur overlay for the locked section - no grey gradient */
.ecg-study-notes-wordlock .ecg-sn-blur::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: transparent;
    z-index: 5;
}

@media (max-width: 600px) {
    .ecg-study-notes-wordlock .ecg-sn-blur {
        max-height: 126px;
    }
}

/* ================================
   FLASH CARDS
   ================================ */
.ecg-flash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.ecg-flash-cards.ecg-teaser .ecg-teaser-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.flash-card {
    perspective: 1000px;
    height: 250px;
    cursor: pointer;
}

.flash-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.flash-card:hover .flash-card-inner {
    transform: rotateY(180deg);
}

.flash-card.flipped .flash-card-inner {
    transform: rotateY(180deg);
}

.flash-card-front,
.flash-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
    text-align: center;
}

.flash-card-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.flash-card-back {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.flash-card .card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.flash-card .question {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.flash-card .answer {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ================================
   TEASER / FOMO OVERLAY
   ================================ */
.ecg-teaser {
    position: relative;
}

.ecg-teaser .ecg-teaser-content {
    position: relative;
}

.ecg-teaser .ecg-teaser-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    pointer-events: none;
}

/* Study notes wordlock: disable the fade gradient, use pure blur instead */
.ecg-study-notes-wordlock.ecg-teaser .ecg-teaser-content::after {
    display: none;
}

/* ================================
   PREMIUM LOCK CONTAINER (Shared between Premium Content & Study Notes tabs)
   ================================ */
.ecg-premium-lock-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.ecg-premium-lock-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 24px 24px;
}
.ecg-premium-lock-overlay {
    position: relative;
    text-align: center;
    padding: 50px 40px;
    max-width: 600px;
    color: #ffffff;
}
.ecg-premium-lock-icon {
    width: 72px;
    height: 72px;
    background: rgba(203, 165, 87, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.ecg-premium-lock-icon svg {
    width: 36px;
    height: 36px;
    stroke: #CBA557;
}
.ecg-premium-lock-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
    color: #ffffff !important;
}
.ecg-premium-lock-subtitle {
    font-size: 16px !important;
    opacity: 0.9;
    margin: 0 0 30px !important;
    line-height: 1.6;
    color: #ffffff !important;
}
.ecg-premium-lock-subtitle strong {
    color: #CBA557 !important;
}
.ecg-premium-lock-features {
    text-align: left;
    margin: 0 auto 35px;
    max-width: 420px;
}
.ecg-premium-lock-btn-wrapper {
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}
.ecg-premium-lock-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 15px;
    color: rgba(255,255,255,0.95);
}
.ecg-premium-lock-feature svg {
    width: 22px;
    height: 22px;
    stroke: #22c55e;
    flex-shrink: 0;
}
.ecg-premium-lock-btn {
    display: inline-block;
    background: #CBA557 !important;
    color: #0f172a !important;
    padding: 16px 36px !important;
    border-radius: 8px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.2s ease;
    border: none !important;
    box-sizing: border-box;
}
.ecg-premium-lock-btn:hover {
    background: #d4b366 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 165, 87, 0.45);
}

/* Study Notes specific lock styling */
.ecg-study-notes-lock.ecg-premium-lock-container {
    margin-top: 30px;
}
.ecg-study-notes-lock .ecg-premium-lock-btn-wrapper {
    text-align: center;
}

@media (max-width: 600px) {
    .ecg-premium-lock-container {
        min-height: 300px;
    }
    .ecg-premium-lock-overlay {
        padding: 35px 25px;
    }
    .ecg-premium-lock-title {
        font-size: 22px;
    }
    .ecg-premium-lock-icon {
        width: 60px;
        height: 60px;
    }
    .ecg-premium-lock-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Legacy teaser overlay (kept for backwards compatibility) */
.ecg-teaser-overlay {
    display: none;
}

/* Remove promo badge (legacy/cached CSS safety) */
.ecg-teaser-overlay::before { content: none !important; display: none !important; }



/* ================================
   NOTICE MESSAGES
   ================================ */
.ecg-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    .ecg-flash-cards {
        grid-template-columns: 1fr;
    }
    
    .flash-card {
        height: 220px;
    }
    
    .ecg-teaser-message h3 {
        font-size: 20px;
    }
    
    .ecg-upgrade-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .ecg-study-notes .chapter-title {
        font-size: 18px;
        padding: 15px 20px;
    }
}

/* ================================
   DARK MODE SUPPORT
   ================================ */
@media (prefers-color-scheme: dark) {
    .ecg-teaser-overlay {
        background-color: #0f172a;
        border-color: rgba(255,255,255,0.10);
    }
    
    .ecg-teaser .ecg-teaser-content::after {
        background: linear-gradient(to bottom, transparent 0%, #1a1a1a 100%);
    }
    
    .ecg-teaser-message h3 {
        color: #fff;
    }
    
    .ecg-teaser-message p {
        color: #cbd5e1;
    }
}
