/* ── Podcast Radar NL – Public Stylesheet ─────────────────────────────────── */
/* Spreekbuis-inspired: clean editorial, red (#C8171B) accent               */

:root {
    --prn-red:        #C8171B;
    --prn-red-light:  rgba(200,23,27,.07);
    --prn-red-border: rgba(200,23,27,.28);
    --prn-red-mid:    rgba(200,23,27,.5);
    --prn-text:       #1a1a1a;
    --prn-text-sec:   #6b7280;
    --prn-border:     #e5e7eb;
    --prn-surface:    #f9fafb;
    --prn-white:      #ffffff;
    --prn-radius:     10px;
    --prn-radius-sm:  6px;
}

.prn-app {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--prn-text);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 40px;
}

/* ── Setup Notice ── */
.prn-setup-notice {
    background: #fef2f2;
    border: 1px solid var(--prn-red-border);
    border-left: 4px solid var(--prn-red);
    border-radius: var(--prn-radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    color: #7f1d1d;
    margin-bottom: 20px;
}
.prn-setup-notice a { color: var(--prn-red); }

/* ── Header ── */
.prn-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px;
    border-bottom: 2px solid var(--prn-red-border);
    margin-bottom: 18px;
}
.prn-logo-area { display: flex; align-items: center; gap: 12px; }
.prn-logo { height: 52px; width: auto; }
.prn-logo-text { display: flex; align-items: center; gap: 10px; }
.prn-logo-icon { font-size: 28px; }
.prn-brand { font-size: 18px; font-weight: 700; color: var(--prn-text); }
.prn-brand-sub { font-size: 10px; color: var(--prn-red); font-weight: 600; letter-spacing: .08em; }
.prn-header-right { display: flex; align-items: center; gap: 8px; }
.prn-nl-badge {
    padding: 4px 10px;
    background: var(--prn-red-light);
    border: 1px solid var(--prn-red-border);
    border-radius: 99px;
    font-size: 12px;
    color: var(--prn-red);
    font-weight: 600;
}
.prn-compare-toggle {
    padding: 6px 14px;
    border: 1px solid var(--prn-red-border);
    background: transparent;
    color: var(--prn-red);
    border-radius: 99px;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
}
.prn-compare-toggle:hover { background: var(--prn-red-light); }

/* ── Tabs ── */
.prn-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1.5px solid var(--prn-red-border);
    margin-bottom: 20px;
}
.prn-tab {
    padding: 10px 18px;
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -1.5px;
    cursor: pointer;
    font-size: 14px;
    color: var(--prn-text-sec);
    font-weight: 400;
    transition: color .15s, border-color .15s;
}
.prn-tab:hover { color: var(--prn-red); }
.prn-tab.active { color: var(--prn-red); border-bottom-color: var(--prn-red); font-weight: 600; }
.prn-tab-pane { display: none; }
.prn-tab-pane.active { display: block; }

/* ── Buttons ── */
.prn-btn-primary {
    padding: 10px 22px;
    background: var(--prn-red-light);
    color: var(--prn-red);
    border: 1.5px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.prn-btn-primary:hover { background: rgba(200,23,27,.13); border-color: var(--prn-red-mid); }
.prn-btn-primary:disabled { opacity: .45; cursor: not-allowed; }

.prn-btn-sm {
    padding: 6px 12px;
    background: transparent;
    color: var(--prn-red);
    border: 1px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.prn-btn-sm:hover { background: var(--prn-red-light); }

.prn-btn-close {
    padding: 6px 12px;
    background: transparent;
    color: var(--prn-text-sec);
    border: 1px solid var(--prn-border);
    border-radius: var(--prn-radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
}
.prn-btn-close:hover { color: var(--prn-text); }
.prn-full-btn { width: 100%; margin-bottom: 14px; }

/* ── Pills / Filters ── */
.prn-filter-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.prn-filter-label { font-size: 11px; color: var(--prn-text-sec); white-space: nowrap; padding-right: 2px; }
.prn-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.prn-pill {
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid var(--prn-red-border);
    background: transparent;
    color: var(--prn-text-sec);
    transition: all .12s;
}
.prn-pill:hover { background: var(--prn-red-light); color: var(--prn-red); }
.prn-pill.active {
    background: var(--prn-red-light);
    color: var(--prn-red);
    border-color: var(--prn-red-mid);
    font-weight: 600;
}

/* ── Search Bar ── */
.prn-search-row { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; }
.prn-search-wrap { flex: 1; position: relative; }
.prn-search-icon {
    position: absolute; left: 11px; top: 50%;
    transform: translateY(-50%);
    font-size: 15px; pointer-events: none;
}
.prn-search-input {
    width: 100%; padding: 10px 12px 10px 36px;
    border: 1.5px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    font-size: 14px; color: var(--prn-text);
    outline: none; transition: border-color .15s;
    background: var(--prn-white);
    box-sizing: border-box;
}
.prn-search-input:focus { border-color: var(--prn-red); box-shadow: 0 0 0 3px rgba(200,23,27,.08); }

/* ── Stats bar ── */
.prn-stats-bar {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding: 8px 12px;
    background: var(--prn-red-light);
    border: 1px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    font-size: 12px; color: var(--prn-text-sec);
    margin-bottom: 14px;
}
.prn-stats-bar span { color: var(--prn-red); font-weight: 600; }

/* ── Loading / Empty ── */
.prn-loading {
    display: flex; align-items: center; gap: 10px;
    padding: 24px; color: var(--prn-text-sec); font-size: 14px;
}
.prn-spinner {
    width: 20px; height: 20px;
    border: 2.5px solid var(--prn-red-border);
    border-top-color: var(--prn-red);
    border-radius: 50%;
    animation: prn-spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes prn-spin { to { transform: rotate(360deg); } }
.prn-empty {
    text-align: center; padding: 3rem 1rem;
    color: var(--prn-text-sec); font-size: 14px;
}
.prn-empty-icon { font-size: 36px; margin-bottom: 10px; }

/* ── Results Grid ── */
.prn-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.prn-podcast-card {
    background: var(--prn-white);
    border: 1px solid var(--prn-border);
    border-radius: var(--prn-radius);
    padding: 12px;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.prn-podcast-card:hover { border-color: var(--prn-red-border); transform: translateY(-2px); }
.prn-podcast-card.selected { border: 1.5px solid var(--prn-red); background: var(--prn-red-light); }
.prn-podcast-cover {
    width: 100%; aspect-ratio: 1;
    border-radius: var(--prn-radius-sm);
    object-fit: cover; display: block;
    background: var(--prn-surface);
}
.prn-podcast-title { font-size: 12px; font-weight: 600; color: var(--prn-text); margin: 8px 0 3px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prn-podcast-artist { font-size: 11px; color: var(--prn-text-sec); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prn-podcast-tag { display: inline-block; margin-top: 5px; padding: 2px 7px; background: var(--prn-red-light); border: 1px solid var(--prn-red-border); border-radius: 4px; font-size: 10px; color: var(--prn-red); }

/* ── Trending List ── */
.prn-section-header {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px; font-weight: 600; color: var(--prn-red); letter-spacing: .04em;
    text-transform: uppercase; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--prn-red-border);
}
.prn-trending-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: var(--prn-white);
    border: 1px solid var(--prn-border);
    border-radius: var(--prn-radius-sm);
    margin-bottom: 5px; cursor: pointer;
    transition: border-color .15s, transform .12s;
}
.prn-trending-item:hover { border-color: var(--prn-red-border); transform: translateX(3px); }
.prn-trend-rank { font-size: 13px; font-weight: 700; color: var(--prn-border); width: 24px; text-align: right; flex-shrink: 0; }
.prn-trend-rank.top { color: var(--prn-red); }
.prn-trend-cover { width: 46px; height: 46px; border-radius: var(--prn-radius-sm); object-fit: cover; flex-shrink: 0; background: var(--prn-surface); }
.prn-trend-name { font-size: 14px; font-weight: 500; color: var(--prn-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prn-trend-artist { font-size: 12px; color: var(--prn-text-sec); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prn-trend-hot { padding: 3px 9px; background: var(--prn-red-light); border: 1px solid var(--prn-red-border); border-radius: 4px; font-size: 10px; font-weight: 700; color: var(--prn-red); flex-shrink: 0; }

/* ── PR Monitor ── */
.prn-pr-header { margin-bottom: 16px; }
.prn-pr-header h2 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--prn-text); }
.prn-pr-header p { font-size: 13px; color: var(--prn-text-sec); margin: 0; }
.prn-sources-row { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.prn-sources-label { font-size: 11px; color: var(--prn-red); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-right: 4px; }
.prn-source-tag { padding: 3px 9px; background: var(--prn-red-light); border: 1px solid var(--prn-red-border); border-radius: 4px; font-size: 11px; color: var(--prn-red); }

/* PR Article Cards */
.prn-pr-count { font-size: 11px; color: var(--prn-red); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.prn-article {
    background: var(--prn-surface);
    border: 1px solid transparent;
    border-radius: var(--prn-radius-sm);
    padding: 12px 14px;
    margin-bottom: 8px;
    text-decoration: none; display: block;
    transition: border-color .12s;
}
.prn-article:hover { border-color: var(--prn-red-border); }
.prn-article-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.prn-article-title { font-size: 14px; font-weight: 500; color: var(--prn-text); line-height: 1.4; }
.prn-article-source { font-size: 11px; color: var(--prn-red); white-space: nowrap; flex-shrink: 0; }
.prn-article-date { font-size: 11px; color: var(--prn-text-sec); margin-bottom: 5px; }
.prn-article-summary { font-size: 13px; color: var(--prn-text-sec); line-height: 1.5; }
.prn-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.prn-badge-pos { background: #ecfdf5; color: #065f46; }
.prn-badge-neu { background: var(--prn-surface); color: var(--prn-text-sec); border: 1px solid var(--prn-border); }
.prn-badge-neg { background: #fef2f2; color: var(--prn-red); }

/* ── Detail Panel ── */
.prn-detail-panel {
    margin-top: 20px;
    background: var(--prn-white);
    border: 1px solid var(--prn-red-border);
    border-left: 4px solid var(--prn-red);
    border-radius: var(--prn-radius);
    overflow: hidden;
}
.prn-detail-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--prn-red-border);
    background: var(--prn-red-light);
}
.prn-detail-badge { font-size: 11px; color: var(--prn-red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prn-detail-actions { display: flex; gap: 6px; }
.prn-detail-body { padding: 20px; }

.prn-detail-hero { display: grid; grid-template-columns: 140px 1fr; gap: 20px; margin-bottom: 20px; align-items: start; }
.prn-detail-cover { width: 100%; border-radius: var(--prn-radius-sm); display: block; }
.prn-detail-title { font-size: 20px; font-weight: 700; color: var(--prn-text); margin: 0 0 4px; line-height: 1.3; }
.prn-detail-artist { font-size: 14px; color: var(--prn-text-sec); margin-bottom: 12px; }
.prn-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.prn-meta-item { background: var(--prn-surface); border-radius: var(--prn-radius-sm); padding: 9px 12px; }
.prn-meta-label { font-size: 10px; color: var(--prn-text-sec); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.prn-meta-val { font-size: 13px; font-weight: 600; color: var(--prn-text); }
.prn-ext-link { font-size: 12px; color: var(--prn-red); text-decoration: none; }
.prn-ext-link:hover { text-decoration: underline; }

/* ── Detail Tabs ── */
.prn-detail-tabs {
    display: flex; gap: 0; border-bottom: 1px solid var(--prn-border); margin-bottom: 16px; flex-wrap: wrap;
}
.prn-dtab {
    padding: 8px 14px; background: transparent; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    cursor: pointer; font-size: 13px; color: var(--prn-text-sec);
    transition: color .12s, border-color .12s;
}
.prn-dtab:hover { color: var(--prn-red); }
.prn-dtab.active { color: var(--prn-red); border-bottom-color: var(--prn-red); font-weight: 600; }
.prnd-tab-pane { display: none; }
.prnd-tab-pane.active { display: block; }

/* ── Episodes ── */
.prn-episode-search-row { display: flex; gap: 8px; margin-bottom: 14px; }
.prn-ep-search { font-size: 13px; padding: 8px 12px 8px 32px !important; }
.prn-audio-player {
    background: var(--prn-red-light);
    border: 1px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    padding: 12px;
    margin-bottom: 14px;
}
.prn-now-playing { font-size: 12px; color: var(--prn-text-sec); margin-bottom: 4px; }
.prn-np-label { color: var(--prn-red); font-weight: 600; }
.prn-np-title { color: var(--prn-text); font-weight: 500; }
.prn-episode {
    display: flex; align-items: center; gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--prn-border);
    cursor: pointer; transition: background .12s;
}
.prn-episode:hover { background: var(--prn-surface); }
.prn-ep-play-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--prn-red-light);
    border: 1.5px solid var(--prn-red-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0; cursor: pointer;
    transition: all .12s; color: var(--prn-red);
}
.prn-ep-play-btn:hover { background: var(--prn-red); color: white; }
.prn-ep-play-btn.playing { background: var(--prn-red); color: white; }
.prn-ep-info { flex: 1; min-width: 0; }
.prn-ep-title { font-size: 13px; font-weight: 500; color: var(--prn-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 3px; }
.prn-ep-date { font-size: 11px; color: var(--prn-text-sec); }
.prn-ep-duration { font-size: 11px; color: var(--prn-text-sec); white-space: nowrap; flex-shrink: 0; }

/* ── AI Output ── */
.prn-ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.prn-ai-btn {
    padding: 10px;
    background: var(--prn-red-light);
    color: var(--prn-red);
    border: 1px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    font-size: 13px; font-weight: 500;
    cursor: pointer; text-align: center;
    transition: all .12s;
}
.prn-ai-btn:hover { background: rgba(200,23,27,.13); border-color: var(--prn-red-mid); }
.prn-ai-btn-alert { background: #fef2f2 !important; border-color: rgba(200,23,27,.35) !important; }
.prn-ai-output {
    background: var(--prn-red-light);
    border: 1px solid var(--prn-red-border);
    border-radius: var(--prn-radius-sm);
    padding: 14px;
    font-size: 14px; line-height: 1.7; color: var(--prn-text);
}
.prn-ai-output:empty { display: none; }
.prn-ai-section { margin-bottom: 14px; }
.prn-ai-label { font-size: 11px; color: var(--prn-red); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }

/* Sponsor / Guest items */
.prn-data-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--prn-border); }
.prn-data-icon { font-size: 20px; }
.prn-data-name { font-size: 13px; font-weight: 500; color: var(--prn-text); }
.prn-data-sub { font-size: 11px; color: var(--prn-text-sec); }
.prn-data-badge { margin-left: auto; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; background: var(--prn-red-light); color: var(--prn-red); border: 1px solid var(--prn-red-border); flex-shrink: 0; }

/* Controversy levels */
.prn-controversy { padding: 14px; border-radius: var(--prn-radius-sm); margin-bottom: 12px; }
.prn-controversy-laag { background: #ecfdf5; border: 1px solid #6ee7b7; }
.prn-controversy-matig { background: #fffbeb; border: 1px solid #fcd34d; }
.prn-controversy-hoog { background: #fef2f2; border: 1px solid var(--prn-red-border); }
.prn-controversy-level { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.prn-controversy-summary { font-size: 13px; color: var(--prn-text); line-height: 1.6; }

/* ── Compare Tab ── */
.prn-compare-header { margin-bottom: 16px; }
.prn-compare-header h2 { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.prn-compare-header p { font-size: 13px; color: var(--prn-text-sec); margin: 0; }
.prn-compare-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; margin-bottom: 16px; }
.prn-compare-slot { display: flex; flex-direction: column; gap: 8px; }
.prn-compare-vs { align-self: center; font-size: 18px; font-weight: 700; color: var(--prn-text-sec); padding: 0 4px; }
.prn-cmp-result { background: var(--prn-surface); border: 1px solid var(--prn-border); border-radius: var(--prn-radius-sm); padding: 10px; min-height: 60px; font-size: 13px; }
.prn-cmp-go { max-width: 240px; }
.prn-compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.prn-compare-table th { text-align: left; padding: 10px 12px; background: var(--prn-red-light); color: var(--prn-red); font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--prn-red-border); }
.prn-compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--prn-border); color: var(--prn-text); vertical-align: top; }
.prn-compare-table tr:hover td { background: var(--prn-surface); }

/* ── Chart ── */
.prn-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--prn-text-sec); }

/* ── Guest Network ── */
.prn-guest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.prn-guest-card { background: var(--prn-surface); border: 1px solid var(--prn-border); border-radius: var(--prn-radius-sm); padding: 12px; text-align: center; }
.prn-guest-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--prn-red-light); border: 2px solid var(--prn-red-border); display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 8px; }
.prn-guest-name { font-size: 13px; font-weight: 500; color: var(--prn-text); margin-bottom: 3px; }
.prn-guest-role { font-size: 11px; color: var(--prn-text-sec); margin-bottom: 5px; }
.prn-guest-count { padding: 2px 8px; background: var(--prn-red-light); border: 1px solid var(--prn-red-border); border-radius: 99px; font-size: 11px; color: var(--prn-red); font-weight: 600; display: inline-block; }

/* ── Responsive ── */
@media (max-width: 600px) {
    .prn-detail-hero { grid-template-columns: 1fr; }
    .prn-detail-cover { max-width: 160px; }
    .prn-compare-inputs { grid-template-columns: 1fr; }
    .prn-compare-vs { display: none; }
    .prn-results-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .prn-ai-grid { grid-template-columns: 1fr; }
}

/* ── Print Styles (PDF Export) ── */
@media print {
    .prn-header-bar, .prn-tabs, .prn-detail-topbar .prn-detail-actions,
    .prn-btn-primary, .prn-btn-sm, .prn-search-row, .prn-filter-row,
    .prn-detail-tabs, .prn-ai-grid { display: none !important; }
    .prn-detail-panel { border: none; box-shadow: none; }
    .prnd-tab-pane { display: block !important; margin-bottom: 20px; }
    .prn-episode { break-inside: avoid; }
}


/* ════════════════════════════════════════════════════════════════════════════
   PR ARTICLES — chronologisch, klikbaar, bron tussen haakjes
   ════════════════════════════════════════════════════════════════════════════ */

.prn-pr-list { display: flex; flex-direction: column; gap: 0; }

.prn-pr-count {
    font-size: 11px; font-weight: 700; color: var(--prn-red);
    letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 2px solid var(--prn-red-border);
    display: flex; align-items: center; gap: 6px;
}
.prn-pr-count::before { content: '📰'; font-size: 14px; }

/* Single article row */
.prn-pr-article {
    display: block;
    text-decoration: none;
    padding: 13px 0;
    border-bottom: 1px solid var(--prn-border);
    transition: background .12s;
    border-radius: 0;
    cursor: pointer;
}
.prn-pr-article:last-child { border-bottom: none; }
.prn-pr-article:hover { background: var(--prn-red-light); margin: 0 -12px; padding: 13px 12px; border-radius: var(--prn-radius-sm); }

.prn-pr-article-inner { display: flex; flex-direction: column; gap: 4px; }

/* Date line */
.prn-pr-meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; color: var(--prn-text-sec);
}
.prn-pr-date { font-weight: 600; color: var(--prn-text-sec); }
.prn-pr-dot { color: var(--prn-border); }

/* Title — main clickable text */
.prn-pr-title {
    font-size: 14px; font-weight: 600;
    color: var(--prn-text);
    line-height: 1.45;
    display: flex; align-items: flex-start; gap: 6px;
}
.prn-pr-title .prn-pr-ext { font-size: 11px; color: var(--prn-red); opacity: .7; flex-shrink: 0; margin-top: 2px; }
.prn-pr-article:hover .prn-pr-title { color: var(--prn-red); }

/* Source in parentheses */
.prn-pr-source {
    font-size: 12px; color: var(--prn-red);
    font-weight: 500;
}

/* Summary */
.prn-pr-summary {
    font-size: 13px; color: var(--prn-text-sec);
    line-height: 1.55; margin-top: 2px;
}

/* Sentiment badge */
.prn-pr-footer { display: flex; align-items: center; gap: 8px; margin-top: 4px; }


/* ════════════════════════════════════════════════════════════════════════════
   SIDEBAR WIDGET
   ════════════════════════════════════════════════════════════════════════════ */

.prn-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--prn-text, #1a1a1a);
}

.prn-widget-logo-wrap {
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--prn-red-border, rgba(200,23,27,.28));
}
.prn-widget-logo {
    width: 100%; max-width: 220px;
    height: auto; display: inline-block;
}

.prn-widget-title {
    font-size: 14px; font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-left: 2px;
}

.prn-widget-search-wrap {
    display: flex; gap: 0;
    border: 1.5px solid rgba(200,23,27,.4);
    border-radius: 6px; overflow: hidden;
    margin-bottom: 10px;
}
.prn-widget-input {
    flex: 1; padding: 9px 10px;
    border: none; outline: none;
    font-size: 13px; color: #1a1a1a;
    background: #fff;
    min-width: 0;
}
.prn-widget-btn {
    padding: 9px 12px;
    background: #C8171B; color: #fff;
    border: none; cursor: pointer;
    font-size: 12px; font-weight: 700;
    white-space: nowrap;
    transition: background .15s;
}
.prn-widget-btn:hover { background: #a81215; }
.prn-widget-btn:disabled { opacity: .5; cursor: not-allowed; }

.prn-widget-loading {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: #6b7280;
    padding: 8px 0;
}
.prn-widget-spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(200,23,27,.2);
    border-top-color: #C8171B;
    border-radius: 50%;
    animation: prn-spin .7s linear infinite;
    flex-shrink: 0;
}

/* Widget article list */
.prn-widget-results { margin-top: 4px; }
.prn-widget-hint { font-size: 12px; color: #9ca3af; padding: 6px 0; }

.prn-widget-article {
    display: block; text-decoration: none;
    padding: 9px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all .12s;
}
.prn-widget-article:last-child { border-bottom: none; }
.prn-widget-article:hover { padding-left: 4px; }

.prn-widget-art-date {
    font-size: 10px; color: #9ca3af;
    font-weight: 600; margin-bottom: 3px;
    text-transform: uppercase; letter-spacing: .04em;
}
.prn-widget-art-title {
    font-size: 12px; font-weight: 600;
    color: #1a1a1a; line-height: 1.4;
    margin-bottom: 2px;
}
.prn-widget-article:hover .prn-widget-art-title { color: #C8171B; }
.prn-widget-art-source {
    font-size: 11px; color: #C8171B; font-weight: 500;
}
.prn-widget-art-summary {
    font-size: 11px; color: #6b7280;
    line-height: 1.45; margin-top: 2px;
}

.prn-widget-error {
    font-size: 12px; color: #C8171B;
    padding: 8px; background: #fef2f2;
    border-radius: 4px; margin-top: 6px;
}

.prn-widget-footer {
    margin-top: 12px; padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    text-align: right;
}
.prn-widget-more {
    font-size: 11px; color: #C8171B;
    text-decoration: none; font-weight: 600;
}
.prn-widget-more:hover { text-decoration: underline; }

/* ── Trending "Waarom?" ─────────────────────────────────────────────────── */
.prn-trend-why-output {
    padding: 8px 12px 10px 74px;
    border-top: 1px solid var(--prn-border);
    background: var(--prn-red-light);
}
.prn-trend-why-text {
    font-size: 13px; color: var(--prn-text); line-height: 1.55;
}
.prn-trend-why-label { font-weight: 700; color: var(--prn-red); }
.prn-trend-why-btn { font-size: 10px !important; padding: 3px 8px !important; }

/* ── Detail description ──────────────────────────────────────────────────── */
.prn-detail-desc {
    font-size: 13px; color: var(--prn-text-sec);
    line-height: 1.6; margin-bottom: 12px;
    padding: 10px 12px;
    background: var(--prn-surface);
    border-radius: var(--prn-radius-sm);
    border-left: 3px solid var(--prn-red-border);
}
