/* RadioGłos Podcasts — Frontend Styles */
.rg-podcasts, .rg-podcast-single, .rg-series-list {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}
.rg-podcasts * { box-sizing: border-box; }


/* Search */
.rg-search-wrap { position: relative; margin-bottom: 12px; }
.rg-search { width: 100%; padding: 9px 12px 9px 36px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: 13px; outline: none; transition: border .2s; }
.rg-search:focus { border-color: #00A4DF; }
.rg-search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #59647A; font-size: 13px; pointer-events: none; }

/* List */
.rg-list { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.rg-item { background: #fff; padding: 12px 14px; border-bottom: 1px solid #e2e8f0; cursor: pointer; transition: background .15s; }
.rg-item:last-child { border-bottom: none; }
.rg-item:hover, .rg-item.rg-open { background: #f8fbff; }
.rg-item-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rg-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rg-initials { width: 28px; height: 28px; border-radius: 50%; background: #00A4DF; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.rg-title { font-size: 13px; font-weight: 700; flex: 1; line-height: 1.3; }
.rg-dur { font-size: 11px; color: #aaa; flex-shrink: 0; }
.rg-meta { font-size: 11px; color: #59647A; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 3px; }
.rg-cat-badge { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: 10px; font-weight: 700; color: #fff; margin-right: 2px; }
.rg-s-tag { background: #f0f9ff; border: 1px solid #c8dff0; padding: 1px 7px; border-radius: 4px; font-size: 10px; color: #00A4DF; font-weight: 600; cursor: pointer; display: inline-block; }
.rg-s-tag:hover { background: #e0f2fe; }

/* Player */
.rg-player { display: none; padding: 8px 0 2px; }
.rg-player.rg-open { display: block; }
.rg-player audio { width: 100%; accent-color: #00A4DF; height: 32px; }
.rg-player-actions { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.rg-player-link, .rg-download-link, .rg-share-btn { font-size: 11px; color: #00A4DF; cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.rg-player-link:hover, .rg-download-link:hover, .rg-share-btn:hover { text-decoration: underline; }

/* Compact style */
.rg-podcasts[data-style="compact"] .rg-item { padding: 8px 12px; }
.rg-podcasts[data-style="compact"] .rg-meta { display: none; }
.rg-podcasts[data-style="compact"] .rg-avatar,
.rg-podcasts[data-style="compact"] .rg-initials { width: 22px; height: 22px; font-size: 8px; }

/* Cards style */
.rg-podcasts[data-style="cards"] .rg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; border: none; border-radius: 0; }
.rg-podcasts[data-style="cards"] .rg-item { border: 1px solid #e2e8f0; border-radius: 10px; border-bottom: 1px solid #e2e8f0 !important; }

/* More button */
.rg-more { text-align: center; margin-top: 10px; }
.rg-more-btn { padding: 8px 20px; background: transparent; border: 1.5px solid #00A4DF; color: #00A4DF; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.rg-more-btn:hover { background: #00A4DF; color: #fff; }

/* Empty */
.rg-empty { text-align: center; padding: 28px; color: #59647A; font-size: 13px; background: #f8fbff; border-radius: 8px; }

/* Series list */
.rg-series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.rg-series-card { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: box-shadow .2s; }
.rg-series-card:hover { box-shadow: 0 4px 16px rgba(0,164,223,.15); }
.rg-series-cover { width: 100%; height: 110px; object-fit: cover; }
.rg-series-cover-placeholder { width: 100%; height: 110px; background: #f0f9ff; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.rg-series-info { padding: 10px 12px; }
.rg-series-name { font-weight: 700; font-size: 13px; }

/* Single podcast */
.rg-single { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff; }
.rg-single-header { padding: 14px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #e2e8f0; }
.rg-single-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.rg-single-initials { width: 36px; height: 36px; border-radius: 50%; background: #00A4DF; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.rg-single-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.rg-single-meta { font-size: 11px; color: #59647A; margin-top: 2px; }
.rg-single-player { padding: 10px 16px; }
.rg-single-player audio { width: 100%; accent-color: #00A4DF; }
.rg-single-actions { padding: 8px 16px 12px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Dark mode disabled */

/* Recently listened badge */
.rg-listened { font-size: 9px; background: #dcfce7; color: #16a34a; padding: 1px 5px; border-radius: 3px; font-weight: 600; }


/* Force light theme - override any dark mode */
.rg-podcasts *, .rg-podcast-single *, .rg-series-list * { box-sizing: border-box; }

.rg-podcasts, .rg-podcast-single, .rg-series-list, .rg-search-widget { background: transparent !important; }

.rg-list { background: #fff !important; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; overflow: hidden !important; }

.rg-item { background: #fff !important; color: #1a202c !important; border-bottom: 1px solid #e2e8f0 !important; }
.rg-item:hover { background: #f8fbff !important; }
.rg-item.rg-open { background: #f0f9ff !important; }

.rg-title { color: #1a202c !important; font-weight: 700 !important; font-size: 13px !important; }
.rg-meta, .rg-meta span { color: #59647A !important; font-size: 11px !important; }
.rg-dur { color: #aaa !important; font-size: 11px !important; }

.rg-search { background: #fff !important; color: #1a202c !important; border: 1.5px solid #e2e8f0 !important; }
.rg-search:focus { border-color: #00A4DF !important; outline: none !important; }

.rg-initials { background: #00A4DF !important; color: #fff !important; }
.rg-cat-badge { color: #fff !important; }

/* Player */
.rg-player { background: #fff !important; }
.rg-player audio { background: transparent !important; }

/* Hide ALL extra buttons */
.rg-player-actions,
.rg-player-link,
.rg-download-link,
.rg-share-btn,
a.rg-player-link,
a.rg-download-link,
button.rg-share-btn { display: none !important; }

/* Single podcast */
.rg-single-header { background: #fff !important; color: #1a202c !important; }
.rg-single-title { color: #1a202c !important; font-weight: 700 !important; }
.rg-single-meta { color: #59647A !important; }
.rg-single-actions { display: none !important; }
