/* ===== COMPLETE pip.css for Article Page ===== */

/* 1. Hero Section Overrides for Article Page */
.fx-hero[style*="padding: 80px 0 40px"] {
    background: linear-gradient(135deg, #0f172a 0%, #1a3a5f 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px !important;
}

.fx-hero[style*="padding: 80px 0 40px"] .fx-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.fx-hero[style*="padding: 80px 0 40px"] h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.fx-hero[style*="padding: 80px 0 40px"] .fx-hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 0 2rem 0;
    font-weight: 400;
}

/* Fix for hero stats */
.fx-hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
}

.fx-stat {
    text-align: left;
}

.fx-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e6a23c;
    display: block;
    line-height: 1;
}

.fx-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #e6a23c;
    text-decoration: underline;
}

.breadcrumb span {
    color: #e6a23c;
    font-weight: 600;
}

/* 3. Article Layout */
.article-content {
    padding: 60px 0;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.article-body {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* 4. Headings (CRITICAL FIX) */
.article-body h2 {
    font-size: 1.8rem !important;
    color: #1a3a5f !important;
    margin: 2.5rem 0 1rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.article-body h2:first-child {
    margin-top: 0 !important;
}

.article-body h3 {
    font-size: 1.5rem !important;
    color: #1a3a5f !important;
    margin: 2rem 0 1rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.article-body h4 {
    font-size: 1.2rem !important;
    color: #1a3a5f !important;
    margin: 1.5rem 0 0.8rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.article-body h4 i {
    color: #e6a23c !important;
    font-size: 1.1rem !important;
}

/* 5. Paragraphs and Text */
.article-body p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.article-body strong {
    color: #1a3a5f;
    font-weight: 600;
}

/* 6. Special Boxes */
.info-box, .calculation-example, .scenario-box {
    padding: 1.8rem;
    margin: 1.8rem 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.info-box {
    background: #f0f9ff;
    border-left-color: #1a3a5f;
}

.calculation-example {
    background: #fffaf0;
    border-left-color: #e6a23c;
}

.scenario-box {
    background: #f0fff4;
    border-left-color: #43a047;
}

.note {
    font-size: 0.95rem;
    color: #64748b;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.note i {
    color: #e6a23c;
    margin-right: 8px;
}

/* 7. Lists */
.article-body ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.article-body li {
    margin-bottom: 0.8rem;
    color: #4a5568;
    line-height: 1.5;
}

.scenario-box ul {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

/* 8. Positive/Negative Text */
.positive {
    color: #43a047 !important;
    font-weight: 700 !important;
}

.negative {
    color: #f44336 !important;
    font-weight: 700 !important;
}

/* 9. Key Takeaways */
.key-takeaways {
    background: linear-gradient(135deg, #1a3a5f, #2a5a8c);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-takeaways h3 {
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 0.8rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem !important;
}

.key-takeaways h3 i {
    color: #e6a23c !important;
}

.key-takeaways ul {
    padding-left: 1.2rem;
    margin: 0;
}

.key-takeaways li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    position: relative;
    padding-left: 5px;
}

.key-takeaways li:before {
    content: "✓";
    color: #82D32B;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* 10. Sidebar */
.article-sidebar {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    color: #1a3a5f;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 i {
    color: #e6a23c;
}

/* 11. Calculator */
.pip-calculator {
    margin-top: 1rem;
}

.calc-field {
    margin-bottom: 1.2rem;
}

.calc-field label {
    display: block;
    font-size: 0.9rem;
    color: #1a3a5f;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-field select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.calc-field select:focus {
    border-color: #1a3a5f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 95, 0.1);
}

.calc-result {
    text-align: center;
    margin: 1.8rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.calc-result h4 {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.result-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a3a5f;
    line-height: 1;
}

/* 12. Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.primary-btn {
    background: linear-gradient(135deg, #e6a23c 0%, #d18a2c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 162, 60, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 162, 60, 0.4);
    color: white;
}

.secondary-btn {
    background: linear-gradient(135deg, #1e88e5 0%, #0d6ec7 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
    color: white;
}

/* 13. Summary List */
.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    display: flex;
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-list strong {
    min-width: 140px;
    color: #1a3a5f;
}

/* 14. Next Topic */
.next-topic {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.next-topic:hover {
    background: white;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

.next-topic-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e88e5, #0d6ec7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.next-topic-info {
    flex: 1;
}

.next-topic-info h4 {
    color: #1a3a5f;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.next-topic-info p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.next-topic i.fa-chevron-right {
    color: #64748b;
}

/* 15. Quiz Section */
.quiz-cta {
    padding: 60px 0;
    background: #1a3a5f;
    color: white;
}

.quiz-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.quiz-text h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.quiz-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* 16. Responsive Design */
@media (max-width: 992px) {
    .article-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-body {
        padding: 2rem;
    }
    
    .quiz-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fx-hero[style*="padding: 80px 0 40px"] h1 {
        font-size: 2.2rem;
    }
    
    .fx-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .article-body {
        padding: 1.5rem;
    }
    
    .article-body h2 {
        font-size: 1.6rem !important;
    }
    
    .article-body h3 {
        font-size: 1.3rem !important;
    }
    
    .key-takeaways {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .fx-hero[style*="padding: 80px 0 40px"] h1 {
        font-size: 1.8rem;
    }
    
    .fx-hero-lead {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

.key-takeaways {
    /* Remove any max-width or overflow restrictions */
    overflow: visible !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.key-takeaways li {
    /* Ensure text can wrap properly */
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    max-width: 100% !important;
    
    /* Adjust spacing for better readability */
    margin-bottom: 0.8rem;
    padding-right: 10px; /* Add some padding */
}

/* Make sure the container has proper width */
.key-takeaways ul {
    max-width: 100% !important;
    overflow: visible !important;
}

/* Fix for small screens */
@media (max-width: 768px) {
    .key-takeaways {
        padding: 1.5rem !important;
    }
    
    .key-takeaways li {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
}

/* Extreme Spread Section Styles */
.section-spacing {
    padding: 60px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin: 40px 0;
}

.news-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.news-event {
    background: #f8f9fa;
    border-left: 4px solid #4CAF50;
    padding: 15px;
    border-radius: 4px;
}

.news-event.high-impact {
    border-left-color: #f44336;
}

.news-event.medium-impact {
    border-left-color: #FF9800;
}

.impact-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
}

.impact-badge.high {
    background: #ffebee;
    color: #c62828;
}

.impact-badge.medium {
    background: #fff3e0;
    color: #ef6c00;
}

.info-box.warning {
    border-left-color: #ff9800;
    background: #fff3e0;
}

.info-box.warning h4 {
    color: #ef6c00;
}

.pg12-content {
    padding: 40px 0;
}

.pg12-single-column .article-body {
    width: 100%;
    max-width: 100%;
}

/* Dynamic Spread Visualization */
.pg12-spread-visual {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.spread-visual-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.visual-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visual-control label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.visual-control select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    transition: border-color 0.3s;
}

.visual-control select:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.spread-visual-display {
    margin-top: 30px;
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.bid-price, .ask-price {
    text-align: center;
    min-width: 120px;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.bid-price .price-value {
    color: #f44336;
    border-color: #ffcdd2;
}

.ask-price .price-value {
    color: #4caf50;
    border-color: #c8e6c9;
}

.spread-indicator {
    text-align: center;
    min-width: 200px;
}

.spread-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.spread-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
    position: relative;
}

.spread-fill {
    height: 100%;
    background: #4caf50;
    border-radius: 10px;
    width: 16%;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.spread-cost {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

.market-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Extreme Spread Section */
.pg12-extreme-spread-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ff9800;
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0;
    position: relative;
}

.pg12-extreme-spread-section h2 {
    color: #e65100;
    margin-bottom: 20px;
}

.pg12-warning-box {
    background: #ffecb3;
    border-left: 4px solid #ff9800;
    border: none;
    margin: 25px 0;
}

.pg12-warning-box .warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.pg12-warning-box h4 {
    color: #e65100;
    margin: 0;
}

/* News Events Grid */
.pg12-news-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.news-event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #eee;
}

.impact-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.impact-badge.extreme {
    background: #ffcdd2;
    color: #c62828;
}

.impact-badge.high {
    background: #ffe0b2;
    color: #ef6c00;
}

.news-event-card h5 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.event-details {
    padding: 20px;
}

.event-details p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.event-details i {
    width: 16px;
    color: #666;
}

.event-warning {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px !important;
    font-weight: 600;
    font-size: 13px !important;
}

.event-tip {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 6px;
    margin-top: 15px !important;
    font-weight: 600;
    font-size: 13px !important;
}

/* Weekend Table */
.pg12-weekend-table {
    margin: 40px 0;
    overflow-x: auto;
}

.pg12-weekend-table table {
    min-width: 800px;
}

.pg12-weekend-table th {
    background: #ff9800;
    color: white;
}

.pg12-weekend-table tr.high-risk td:first-child {
    border-left: 4px solid #ff9800;
}

.pg12-weekend-table tr.extreme-risk td:first-child {
    border-left: 4px solid #f44336;
}

.pg12-weekend-table tr.medium-risk td:first-child {
    border-left: 4px solid #ffc107;
}

.action-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.action-badge.avoid {
    background: #ffebee;
    color: #c62828;
}

.action-badge.close {
    background: #fce4ec;
    color: #ad1457;
}

.action-badge.wait {
    background: #fff3e0;
    color: #ef6c00;
}

.action-badge.check {
    background: #e3f2fd;
    color: #1565c0;
}

/* Real Examples */
.pg12-real-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.example-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.example-header {
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.example-header.christmas {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

.example-header.nfp {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.example-header.weekend {
    background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
}

.example-header h5 {
    margin: 0;
    font-size: 18px;
}

.example-data {
    padding: 20px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.data-label {
    color: #666;
    font-size: 14px;
}

.data-value {
    font-weight: 600;
    font-size: 15px;
}

.data-value.normal {
    color: #4caf50;
}

.data-value.medium {
    color: #ff9800;
}

.data-value.high {
    color: #f44336;
}

.data-value.extreme {
    color: #d32f2f;
    font-weight: 700;
}

.data-conclusion {
    margin-top: 15px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Protection Guide */
.pg12-protection-guide {
    margin: 40px 0;
}

.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.protection-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.protection-item:hover {
    transform: translateY(-3px);
}

.protection-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2196f3;
    font-size: 20px;
    flex-shrink: 0;
}

.protection-content h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.protection-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Key Takeaways */
.pg12-key-takeaways {
    background: #e8f5e9;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.pg12-key-takeaways .takeaways-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pg12-key-takeaways h4 {
    color: #2e7d32;
    margin: 0;
}

.pg12-key-takeaways ul {
    columns: 2;
    column-gap: 40px;
}

.pg12-key-takeaways li {
    margin-bottom: 12px;
    break-inside: avoid;
}

/* Next Topic */
.pg12-next-topic {
    margin: 60px 0 40px;
}

.next-topic-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.next-topic-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.next-topic-header h3 {
    color: #333;
    margin: 0;
}

.next-topic-link {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.next-topic-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-decoration: none;
}

.next-topic-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.next-topic-info {
    flex: 1;
    text-align: left;
}

.next-topic-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 20px;
}

.next-topic-info p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.next-topic-difficulty {
    display: inline-block;
    background: #e3f2fd;
    color: #1565c0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.next-arrow {
    color: #1e88e5;
    font-size: 24px;
}

/* Quiz Section */
.pg12-quiz {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .pg12-extreme-spread-section,
    .pg12-spread-visual {
        padding: 25px;
    }
    
    .price-display {
        flex-direction: column;
        gap: 20px;
    }
    
    .pg12-key-takeaways ul,
    .pg12-key-takeaways-final ul {
        columns: 1;
    }
    
    .protection-grid,
    .pg12-news-events-grid,
    .pg12-real-examples {
        grid-template-columns: 1fr;
    }
    
    .next-topic-link {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .next-topic-info {
        text-align: center;
    }
}