/* Widget Rivers of Ghana */
/* Scoped CSS for Rivers.wiki Article - Colourful & Premium */
    .rw-article-container {
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        color: #2c3e50;
        line-height: 1.8;
        max-width: 900px;
        margin: 0 auto;
        padding: 30px;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 168, 150, 0.08); /* Soft colorful shadow */
        border-top: 6px solid #028090; /* Vibrant Teal top border */
    }

    .rw-article-container p {
        margin-bottom: 1.6em;
        font-size: 16px;
    }

    /* Colourful Quick Facts Box */
    .rw-quick-facts {
        background: linear-gradient(135deg, #e0fbfc 0%, #c2dfe3 100%);
        border-left: 6px solid #f0a202; /* Amber accent */
        padding: 25px 30px;
        margin-bottom: 35px;
        border-radius: 0 12px 12px 0;
        box-shadow: 3px 3px 15px rgba(0,0,0,0.05);
    }

    .rw-quick-facts h3 {
        color: #005f73;
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 22px;
        font-family: 'Georgia', serif;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .rw-quick-facts strong {
        color: #941b0c; /* Deep terracotta for emphasis */
    }

    /* Vibrant Headings */
    .rw-article-container h2.rw-section-title {
        font-family: 'Georgia', serif;
        color: #0a9396; /* Bright Teal */
        font-size: 26px;
        margin-top: 45px;
        margin-bottom: 15px;
        padding-bottom: 8px;
        border-bottom: 3px solid #e9d8a6; /* Warm sand underline */
        position: relative;
    }
    
    .rw-article-container h2.rw-section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 3px;
        width: 60px;
        background-color: #bb3e03; /* Orange pop on the underline */
    }

    /* Colourful Tables */
    .rw-table-wrapper {
        overflow-x: auto;
        margin: 30px 0;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.08);
        border: 1px solid #e0e0e0;
    }

    .rw-article-container table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
        background-color: #ffffff;
    }

    .rw-article-container th {
        background: linear-gradient(90deg, #005f73 0%, #0a9396 100%);
        color: #ffffff;
        text-align: left;
        padding: 16px 20px;
        font-weight: bold;
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    /* Specific Table Header Colors for Variety */
    .rw-table-wrapper.table-amber th {
        background: linear-gradient(90deg, #ca6702 0%, #ee9b00 100%);
    }
    .rw-table-wrapper.table-green th {
        background: linear-gradient(90deg, #1a4a40 0%, #2a9d8f 100%);
    }

    .rw-article-container td {
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        vertical-align: top;
    }

    .rw-article-container tr:nth-child(even) {
        background-color: #f4f9f9; /* Very faint teal tint */
    }

    .rw-article-container tr:hover {
        background-color: #e8f1f2;
    }

    .rw-table-caption {
        caption-side: bottom;
        font-size: 14px;
        color: #bb3e03;
        padding-top: 12px;
        text-align: left;
        font-style: italic;
        font-weight: 500;
    }

    /* Dynamic Why It Matters Box */
    .rw-why-it-matters {
        background: linear-gradient(135deg, #941b0c 0%, #bb3e03 50%, #ca6702 100%);
        color: #ffffff;
        padding: 35px;
        border-radius: 12px;
        margin-top: 50px;
        margin-bottom: 40px;
        box-shadow: 0 10px 25px rgba(187, 62, 3, 0.3);
    }

    .rw-why-it-matters h2 {
        color: #ffb703; /* Bright yellow/gold */
        margin-top: 0;
        border-bottom: none;
        font-family: 'Georgia', serif;
        font-size: 26px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

    .rw-why-it-matters p {
        color: #fff3e0;
        margin-bottom: 0;
        font-size: 17px;
    }

    /* Related Articles */
    .rw-related-links {
        list-style-type: none;
        padding-left: 0;
    }

    .rw-related-links li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 25px;
    }

    .rw-related-links li::before {
        content: "🌊";
        position: absolute;
        left: 0;
        top: 2px;
        font-size: 14px;
    }

    .rw-related-links a {
        color: #005f73;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.2s ease;
        padding: 2px 5px;
        border-radius: 4px;
    }

    .rw-related-links a:hover {
        color: #ffffff;
        background-color: #0a9396;
        text-decoration: none;
    }
