/* =============================================
   listingstyle.css v4 - FULL LANGUAGE SUPPORT
   Newspaper Directory - Direct Link Listings
   newspapersonline.com
   ============================================= */

/* Grid container */
.np-direct-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 22px 0;
    padding: 0;
    list-style: none;
}

    /* Each newspaper link button */
    .np-direct-grid a {
        display: inline-flex;
        align-items: center;
        padding: 8px 14px;
        border: 1.5px solid #ddd;
        border-radius: 5px;
        text-decoration: none;
        color: #333;
        font-size: 13.5px;
        font-weight: 600;
        background: #ffffff;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
        white-space: nowrap;
        gap: 6px;
    }

        /* Hover state */
        .np-direct-grid a:hover {
            border-color: #c0392b;
            box-shadow: 0 2px 8px rgba(192, 57, 43, 0.12);
            background: #fff8f8;
            color: #c0392b;
            text-decoration: none;
        }

        /* Small external arrow after each link */
        .np-direct-grid a::after {
            content: '\2197';
            font-size: 10px;
            opacity: 0.35;
            margin-left: 3px;
        }

        .np-direct-grid a:hover::after {
            opacity: 0.75;
        }

/* Section title badge */
.np-section-title {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background-color: #c0392b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 3px;
    margin: 22px 0 10px 0;
}

    .np-section-title:first-of-type {
        margin-top: 8px;
    }

    /* Category colour variations */
    .np-section-title.business {
        background-color: #2c3e50;
    }

    .np-section-title.sports {
        background-color: #27ae60;
    }

    .np-section-title.digital {
        background-color: #2980b9;
    }

    .np-section-title.regional {
        background-color: #8e44ad;
    }

    .np-section-title.magazines {
        background-color: #d35400;
    }

/* =============================================
   LANGUAGE BADGES - FULL COVERAGE
   ============================================= */

.np-lang {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1.4;
}

    /* --- EUROPEAN LANGUAGES --- */

    /* English */
    .np-lang.en {
        background: #d6eaf8;
        color: #1a5276;
    }

    /* French */
    .np-lang.fr {
        background: #fadbd8;
        color: #922b21;
    }

    /* German */
    .np-lang.de {
        background: #fef9e7;
        color: #7d6608;
    }

    /* Spanish */
    .np-lang.es {
        background: #fce4e4;
        color: #922b21;
    }

    /* Italian */
    .np-lang.it {
        background: #eafaf1;
        color: #1e8449;
    }

    /* Portuguese */
    .np-lang.pt {
        background: #eaf4fb;
        color: #1a5276;
    }

    /* Dutch */
    .np-lang.nl {
        background: #fdf2e9;
        color: #784212;
    }

    /* Swedish */
    .np-lang.sv {
        background: #eaf4fb;
        color: #154360;
    }

    /* Norwegian */
    .np-lang.no {
        background: #eaf4fb;
        color: #154360;
    }

    /* Finnish */
    .np-lang.fi {
        background: #e8f8f5;
        color: #0e6655;
    }

    /* Danish */
    .np-lang.da {
        background: #fce4e4;
        color: #7b241c;
    }

    /* Polish */
    .np-lang.pl {
        background: #fce4e4;
        color: #7b241c;
    }

    /* Czech */
    .np-lang.cs {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Slovak */
    .np-lang.sk {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Croatian */
    .np-lang.hr {
        background: #fce4e4;
        color: #7b241c;
    }

    /* Serbian */
    .np-lang.sr {
        background: #f4ecf7;
        color: #6c3483;
    }

    /* Bosnian */
    .np-lang.bs {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Slovenian */
    .np-lang.sl {
        background: #eaf4fb;
        color: #1a5276;
    }

    /* Romanian */
    .np-lang.ro {
        background: #fef9e7;
        color: #7d6608;
    }

    /* Bulgarian */
    .np-lang.bg {
        background: #f4ecf7;
        color: #6c3483;
    }

    /* Hungarian */
    .np-lang.hu {
        background: #fdf2e9;
        color: #784212;
    }

    /* Greek */
    .np-lang.el {
        background: #eaf4fb;
        color: #154360;
    }

    /* Turkish */
    .np-lang.tr {
        background: #fce4e4;
        color: #922b21;
    }

    /* Ukrainian */
    .np-lang.uk {
        background: #fef9e7;
        color: #7d6608;
    }

    /* Russian */
    .np-lang.ru {
        background: #f4ecf7;
        color: #6c3483;
    }

    /* --- MIDDLE EAST / CAUCASUS --- */

    /* Arabic */
    .np-lang.ar {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Hebrew */
    .np-lang.he {
        background: #e8daef;
        color: #6c3483;
    }

    /* Persian / Farsi */
    .np-lang.fa {
        background: #d5f5e3;
        color: #1a5276;
    }

    /* Georgian */
    .np-lang.ka {
        background: #fdebd0;
        color: #784212;
    }

    /* Armenian */
    .np-lang.hy {
        background: #fce4e4;
        color: #922b21;
    }

    /* Azerbaijani */
    .np-lang.az {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* --- SOUTH ASIA --- */

    /* Urdu */
    .np-lang.ur {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Hindi */
    .np-lang.hi {
        background: #fdebd0;
        color: #784212;
    }

    /* Bengali */
    .np-lang.bn {
        background: #d5f5e3;
        color: #0e6655;
    }

    /* Tamil */
    .np-lang.ta {
        background: #fce4e4;
        color: #922b21;
    }

    /* Sinhala */
    .np-lang.si {
        background: #fdebd0;
        color: #784212;
    }

    /* --- EAST / SOUTHEAST ASIA --- */

    /* Chinese */
    .np-lang.zh {
        background: #fdebd0;
        color: #784212;
    }

    /* Japanese */
    .np-lang.ja {
        background: #fdebd0;
        color: #784212;
    }

    /* Korean */
    .np-lang.ko {
        background: #eaf4fb;
        color: #1a5276;
    }

    /* Malay */
    .np-lang.ms {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Indonesian */
    .np-lang.id {
        background: #fce4e4;
        color: #922b21;
    }

    /* Filipino / Tagalog */
    .np-lang.tl {
        background: #eaf4fb;
        color: #1a5276;
    }

    /* Vietnamese */
    .np-lang.vi {
        background: #fce4e4;
        color: #922b21;
    }

    /* Thai */
    .np-lang.th {
        background: #fdebd0;
        color: #784212;
    }

    /* Khmer */
    .np-lang.km {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Burmese */
    .np-lang.my {
        background: #fdebd0;
        color: #784212;
    }

    /* --- CENTRAL ASIA --- */

    /* Mongolian */
    .np-lang.mn {
        background: #fce4e4;
        color: #922b21;
    }

    /* Kazakh */
    .np-lang.kk {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Uzbek */
    .np-lang.uz {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Turkmen */
    .np-lang.tk {
        background: #d5f5e3;
        color: #0e6655;
    }

    /* Tajik */
    .np-lang.tg {
        background: #f4ecf7;
        color: #6c3483;
    }

    /* Kyrgyz */
    .np-lang.ky {
        background: #fce4e4;
        color: #7b241c;
    }

    /* --- AFRICA --- */

    /* Swahili */
    .np-lang.sw {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Amharic */
    .np-lang.am {
        background: #fdebd0;
        color: #784212;
    }

    /* Somali */
    .np-lang.so {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Hausa */
    .np-lang.ha {
        background: #fdebd0;
        color: #784212;
    }

    /* Yoruba */
    .np-lang.yo {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Igbo */
    .np-lang.ig {
        background: #eaf4fb;
        color: #1a5276;
    }

    /* Zulu */
    .np-lang.zu {
        background: #fce4e4;
        color: #7b241c;
    }

    /* Afrikaans */
    .np-lang.af {
        background: #d5f5e3;
        color: #1e8449;
    }

    /* Kinyarwanda */
    .np-lang.rw {
        background: #eaf4fb;
        color: #1f618d;
    }

    /* Malagasy */
    .np-lang.mg {
        background: #fdebd0;
        color: #784212;
    }

    /* Creole */
    .np-lang.cr {
        background: #fce4e4;
        color: #922b21;
    }

    /* --- SPECIAL --- */

    /* Bilingual - any 2 languages - orange */
    .np-lang.bi {
        background: #fdebd0;
        color: #784212;
    }



/* =============================================
   JUMP TO NAV BAR
   ============================================= */

.np-jumpto {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 9px 14px;
    margin: 0 0 18px 0;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

    .np-jumpto a {
        color: #c0392b;
        text-decoration: none;
        font-size: 11.5px;
        font-weight: 600;
        padding: 2px 7px;
        border-radius: 3px;
        transition: background 0.15s, color 0.15s;

        /*display: inline-block;*/
        /*padding: 4px 10px;*/
        
                
        
        border: 1px solid #e0c0be;
        
        background: #fff;
        
    }

        .np-jumpto a:hover {
            background: #c0392b;
            color: #fff;
            text-decoration: none;
        }

/* =============================================
   DESCRIPTION TEXT UNDER NEWSPAPER NAME
   ============================================= */

.np-desc {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #999;
    margin-top: 1px;
    white-space: normal;
    line-height: 1.3;
    max-width: 160px;
}

/* Adjust button to allow stacking name + desc */
.np-direct-grid a {
    flex-direction: column;
    align-items: flex-start;
    white-space: normal;
    min-width: 140px;
    max-width: 200px;
}

    /* Keep lang badge inline with name */
    .np-direct-grid a .np-lang {
        display: inline-block;
        margin-top: 3px;
    }

/* =============================================
   PARAGRAPH LINK STYLES
   ============================================= */

/* Internal links in paragraph text */
p a {
    color: #c0392b;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.5px;
    transition: color 0.15s;
}

    /* Visited - purple so users know they have been there */
    p a:visited {
        color: #7d3c98;
    }

    /* Hover */
    p a:hover {
        color: #922b21;
    }



/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 600px) {
    .np-direct-grid {
        gap: 8px;
    }

        .np-direct-grid a {
            font-size: 13px;
            padding: 7px 11px;
        }
}

@media (max-width: 479px) {

    .np-direct-grid {
        gap: 8px;
    }

        .np-direct-grid a {
            max-width: 180px;
            font-size: 13px;
            padding: 7px 11px;
        }
}

@media (max-width: 375px) {

    .np-direct-grid {
        gap: 8px;
    }

        .np-direct-grid a {
            max-width: 175px;
            font-size: 13px;
            padding: 7px 11px;
        }
}

@media (max-width: 360px) {

    .np-direct-grid {
        gap: 8px;
    }

        .np-direct-grid a {
            max-width: 167px;
            font-size: 13px;
            padding: 7px 11px;
        }
}