/* =====================================================
   RadyoSever — Formlar, Yorumlar, Yıldız Puanlama
   Koyu/açık tema uyumlu, 320px+ taşmasız, player/sidebar ile çakışmaz
===================================================== */

/* ---------- Ortak değişkenler (fallback'li) ---------- */
.rs-form, .rs-comments {
    --rs-fc-bg: rgba(255,255,255,0.03);
    --rs-fc-border: rgba(255,255,255,0.1);
    --rs-fc-text: var(--rs-text, #e8e8ea);
    --rs-fc-muted: rgba(255,255,255,0.55);
    --rs-fc-accent: var(--rs-primary, #7c3aed);
}
[data-theme="light"] .rs-form,
[data-theme="light"] .rs-comments {
    --rs-fc-bg: #fff;
    --rs-fc-border: rgba(0,0,0,0.12);
    --rs-fc-text: #1a1a1f;
    --rs-fc-muted: rgba(0,0,0,0.55);
}

/* =====================================================
   FORMLAR
===================================================== */
.rs-corp-form-wrap { margin-top: 28px; }
.rs-form { width: 100%; max-width: 100%; }
.rs-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.rs-form-row { margin: 0 0 16px; display: flex; flex-direction: column; }
.rs-form-row-full, .rs-form-grid + .rs-form-row { grid-column: 1 / -1; }
.rs-form label {
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--rs-fc-text);
}
.rs-req { color: #f43f5e; }
.rs-form-hint { font-size: 12px; color: var(--rs-fc-muted); margin-top: 4px; font-weight: 400; }

.rs-form input[type="text"],
.rs-form input[type="email"],
.rs-form input[type="url"],
.rs-form input[type="tel"],
.rs-form select,
.rs-form textarea,
.rs-comment-form input[type="text"],
.rs-comment-form input[type="email"],
.rs-comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    background: var(--rs-fc-bg);
    border: 1px solid var(--rs-fc-border);
    border-radius: 10px;
    color: var(--rs-fc-text);
    font-size: 15px;            /* iOS zoom önler */
    font-family: inherit;
    transition: border-color .18s, box-shadow .18s;
    -webkit-appearance: none;
    appearance: none;
}
.rs-form textarea { resize: vertical; min-height: 110px; }
.rs-form input:focus,
.rs-form select:focus,
.rs-form textarea:focus,
.rs-comment-form input:focus,
.rs-comment-form textarea:focus {
    outline: none;
    border-color: var(--rs-fc-accent);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.rs-form-kvkk label {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.5;
}
.rs-form-kvkk input { width: auto; margin-top: 2px; flex-shrink: 0; }
.rs-form-kvkk a { color: var(--rs-fc-accent); }

.rs-form button[type="submit"] { margin-top: 8px; }

/* Başarı / hata mesajları */
.rs-form-msg {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}
.rs-form-ok  { background: rgba(34,197,94,0.14); color: #16a34a; border: 1px solid rgba(34,197,94,0.3); }
.rs-form-err { background: rgba(244,63,94,0.14); color: #e11d48; border: 1px solid rgba(244,63,94,0.3); }

/* =====================================================
   YORUMLAR
===================================================== */
.rs-comments {
    margin: 36px auto 0;
    max-width: 860px;
    padding: 0 4px;
}
.rs-comments-header { margin-bottom: 20px; }
.rs-comments-title { font-size: 22px; margin: 0 0 6px; color: var(--rs-fc-text); }
.rs-comments-desc { color: var(--rs-fc-muted); font-size: 14.5px; margin: 0; }
.rs-comments-count { display:inline-block; margin-top:8px; font-size:13px; color: var(--rs-fc-muted); }

.rs-comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.rs-comment-list .children { list-style: none; margin: 12px 0 0 28px; padding: 0; }
.rs-comment {
    margin-bottom: 14px;
}
.rs-comment-body {
    display: flex;
    gap: 12px;
    background: var(--rs-fc-bg);
    border: 1px solid var(--rs-fc-border);
    border-radius: 14px;
    padding: 14px 16px;
}
.rs-comment-avatar img { border-radius: 50%; display: block; }
.rs-comment-main { flex: 1; min-width: 0; }
.rs-comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rs-comment-author { font-weight: 700; color: var(--rs-fc-text); }
.rs-comment-date { font-size: 12px; color: var(--rs-fc-muted); }
.rs-comment-text { margin-top: 6px; color: var(--rs-fc-text); line-height: 1.6; word-wrap: break-word; overflow-wrap: anywhere; }
.rs-comment-text a { color: var(--rs-fc-accent); }
.rs-comment-pending { font-size: 12.5px; color: #f59e0b; margin-top: 6px; }
.rs-comment-actions { margin-top: 8px; }
.rs-comment-actions a { font-size: 13px; color: var(--rs-fc-accent); text-decoration: none; }

.rs-comment-rating { margin-top: 4px; letter-spacing: 1px; }
.rs-star-static { color: rgba(255,255,255,0.22); font-size: 15px; }
.rs-star-static.is-on { color: #f5b301; }
[data-theme="light"] .rs-star-static { color: rgba(0,0,0,0.18); }
[data-theme="light"] .rs-star-static.is-on { color: #f5b301; }

.rs-comments-closed { color: var(--rs-fc-muted); font-size: 14px; }

/* Yorum formu */
.rs-comment-form-wrap { margin-top: 8px; }
.rs-comment-form .rs-form-row { margin-bottom: 14px; display:flex; flex-direction:column; }
.rs-comment-form label { font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--rs-fc-text); }
.rs-comment-form .form-submit .submit,
.rs-comment-form input[type="submit"] {
    background: var(--rs-fc-accent);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}
.rs-hp-field, .rs-hp-wrap { position: absolute !important; left: -9999px !important; }

/* =====================================================
   YILDIZ PUAN GİRİŞİ (radyo)
===================================================== */
.rs-rating-input {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: var(--rs-fc-bg);
    border: 1px solid var(--rs-fc-border);
    border-radius: 12px;
}
.rs-rating-input-label { font-weight: 600; font-size: 14px; color: var(--rs-fc-text); }
.rs-stars { display: inline-flex; gap: 2px; }
.rs-star {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: rgba(255,255,255,0.25);
    transition: color .15s, transform .12s;
    line-height: 0;
}
[data-theme="light"] .rs-star { color: rgba(0,0,0,0.2); }
.rs-star svg { fill: currentColor; display: block; }
.rs-star:hover { transform: scale(1.12); }
.rs-star.is-active,
.rs-stars.is-hovering .rs-star.is-hover { color: #f5b301; }
.rs-star:focus-visible { outline: 2px solid var(--rs-fc-accent); outline-offset: 2px; border-radius: 4px; }

/* Ortalama puan özeti (hero) */
.rs-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 4px;
    font-size: 14px;
    color: var(--rs-text, #e8e8ea);
}
.rs-rating-summary .rs-rating-stars-display { letter-spacing: 1px; }
.rs-rating-summary .rs-rating-count { opacity: .7; font-size: 13px; }

/* =====================================================
   KURUMSAL SAYFA
===================================================== */
.rs-corp-page { padding-top: 8px; }
.rs-breadcrumb { font-size: 13px; color: var(--rs-fc-muted, rgba(255,255,255,0.55)); margin: 4px 0 14px; }
.rs-breadcrumb a { color: inherit; text-decoration: none; }
.rs-breadcrumb a:hover { color: var(--rs-primary, #7c3aed); }
.rs-bc-sep { margin: 0 6px; opacity: .6; }
.rs-corp-card { padding: clamp(20px, 4vw, 40px); }
.rs-corp-head { margin-bottom: 18px; }
.rs-article-body h2 { margin: 26px 0 10px; font-size: 20px; }
.rs-article-body h3 { margin: 20px 0 8px; font-size: 17px; }
.rs-article-body ul { margin: 10px 0 16px 20px; }
.rs-article-body p { line-height: 1.7; margin: 0 0 14px; }
.rs-article-body a { color: var(--rs-primary, #7c3aed); }

/* =====================================================
   MOBİL
===================================================== */
@media (max-width: 640px) {
    .rs-form-grid { grid-template-columns: 1fr; gap: 0; }
    .rs-comments { padding: 0; }
    .rs-comment-list .children { margin-left: 14px; }
    .rs-comment-body { padding: 12px; gap: 10px; }
}
@media (max-width: 360px) {
    .rs-rating-input { gap: 8px; padding: 10px; }
    .rs-star svg { width: 22px; height: 22px; }
}

/* Kurumsal sayfa fallback hero görseli */
.rs-corp-hero-img { margin: 0 0 22px; }
.rs-corp-hero-img img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    border: 1px solid var(--rs-fc-border, rgba(255,255,255,0.1));
}
.rs-single-about { margin-top: 22px; padding: clamp(18px,3vw,28px); }
.rs-single-about h2 { margin: 0 0 12px; font-size: 20px; }

/* =====================================================
   SSS (FAQ) accordion — radyo & kategori sayfaları
===================================================== */
.rs-faq { margin-top: 4px; }
.rs-faq-title { font-size: 20px; margin: 0 0 14px; color: var(--rs-fc-text, #e8e8ea); }
.rs-faq-list { display: flex; flex-direction: column; gap: 10px; }
.rs-faq-item {
    background: var(--rs-fc-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--rs-fc-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    overflow: hidden;
}
.rs-faq-q {
    cursor: pointer;
    list-style: none;
    padding: 14px 44px 14px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--rs-fc-text, #e8e8ea);
    position: relative;
    user-select: none;
}
.rs-faq-q::-webkit-details-marker { display: none; }
.rs-faq-q::after {
    content: "+";
    position: absolute;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px; line-height: 1;
    color: var(--rs-fc-accent, #7c3aed);
    transition: transform .2s ease;
}
.rs-faq-item[open] .rs-faq-q::after { content: "−"; }
.rs-faq-a {
    padding: 0 16px 16px;
    color: var(--rs-fc-muted, rgba(255,255,255,0.7));
    line-height: 1.65;
    font-size: 14.5px;
}
[data-theme="light"] .rs-faq-q { color: #1a1a1f; }
[data-theme="light"] .rs-faq-a { color: rgba(0,0,0,0.7); }

.rs-single-faq { margin-top: 22px; }
.rs-single-about h3 { margin: 22px 0 8px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
    .rs-faq-q::after { transition: none; }
}

/* Kategori SEO metni — devamını oku (CSS-only, JS gerektirmez) */
.rs-cat-seo-text h3 { font-size: 17px; margin: 18px 0 8px; color: var(--rs-fc-text, #e8e8ea); }
.rs-cat-seo-text p { line-height: 1.7; margin: 0 0 12px; }
.rs-cat-seo-more {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
}
.rs-readmore-toggle:checked ~ .rs-cat-seo-more { max-height: 2000px; }
.rs-readmore-btn {
    display: inline-block; cursor: pointer; margin-top: 6px;
    color: var(--rs-fc-accent, #7c3aed); font-weight: 600; font-size: 14px;
    user-select: none;
}
.rs-readmore-btn::after { content: "Devamını oku ▾"; }
.rs-readmore-toggle:checked ~ .rs-readmore-btn::after { content: "Daha az göster ▴"; }
@media (prefers-reduced-motion: reduce) { .rs-cat-seo-more { transition: none; } }

/* Blog sayfası / yazı */
.rs-blog-header { margin-bottom: 22px; }
.rs-blog-intro { color: var(--rs-fc-muted, rgba(255,255,255,0.7)); margin-top: 8px; line-height: 1.6; }
.rs-blog-grid { margin-top: 8px; }
.rs-news-card-more { font-size: 13px; color: var(--rs-fc-accent, #7c3aed); text-decoration: none; font-weight: 600; }
.rs-article-meta { color: var(--rs-fc-muted, rgba(255,255,255,0.6)); font-size: 13.5px; margin: 4px 0 16px; }
.rs-article-meta a { color: var(--rs-fc-accent, #7c3aed); }
.rs-article-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rs-fc-border, rgba(255,255,255,0.1)); }

/* =====================================================
   BLOG ZENGİNLEŞTİRME (v1.14.0) — TOC, yazar, ilgili, etiketler
   AdSense Madde 4. Mevcut .rs-fc-* değişkenleriyle uyumlu.
   ===================================================== */

/* İçindekiler (TOC) */
.rs-toc {
    margin: 4px 0 22px;
    padding: 0;
    background: var(--rs-fc-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--rs-fc-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    overflow: hidden;
}
.rs-toc-head {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 14.5px; font-weight: 700;
    color: var(--rs-fc-text, #e8e8ea);
    text-align: left;
}
.rs-toc-caret { transition: transform .2s ease; font-size: 12px; color: var(--rs-fc-muted); }
.rs-toc[data-collapsed="true"] .rs-toc-caret { transform: rotate(-90deg); }
.rs-toc[data-collapsed="true"] .rs-toc-list { display: none; }
.rs-toc-list {
    list-style: none;
    margin: 0; padding: 0 16px 14px;
    counter-reset: rstoc;
}
.rs-toc-list li { margin: 6px 0; line-height: 1.45; }
.rs-toc-list li.rs-toc-l3 { padding-left: 18px; }
.rs-toc-list a {
    color: var(--rs-fc-muted, rgba(255,255,255,0.7));
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px dotted transparent;
}
.rs-toc-list a:hover { color: var(--rs-fc-accent, #7c3aed); border-bottom-color: currentColor; }

/* Başlık scroll hedef ofseti (sabit header için) */
.rs-article-body h2[id], .rs-article-body h3[id] { scroll-margin-top: 90px; }

/* Güncellenme rozeti */
.rs-article-updated { color: var(--rs-fc-accent, #7c3aed); font-weight: 600; }
.rs-article-readtime { color: var(--rs-fc-muted); }

/* Yazar kutusu */
.rs-author-box {
    display: flex; gap: 14px; align-items: flex-start;
    margin: 26px 0 4px;
    padding: 16px;
    background: var(--rs-fc-bg, rgba(255,255,255,0.03));
    border: 1px solid var(--rs-fc-border, rgba(255,255,255,0.1));
    border-radius: 12px;
}
.rs-author-avatar { border-radius: 50%; width: 56px; height: 56px; flex: 0 0 56px; }
.rs-author-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--rs-fc-muted); }
.rs-author-name { font-size: 16px; font-weight: 700; color: var(--rs-fc-text, #e8e8ea); margin: 2px 0; }
.rs-author-bio { font-size: 13.5px; line-height: 1.6; color: var(--rs-fc-muted); margin: 4px 0 0; }

/* Etiket çipleri */
.rs-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rs-tag-chip {
    font-size: 12.5px; text-decoration: none;
    padding: 4px 11px; border-radius: 999px;
    background: var(--rs-fc-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--rs-fc-border, rgba(255,255,255,0.12));
    color: var(--rs-fc-muted);
}
.rs-tag-chip:hover { color: var(--rs-fc-accent, #7c3aed); border-color: var(--rs-fc-accent, #7c3aed); }

/* İlgili yazılar */
.rs-related-posts { margin: 30px 0 10px; }
.rs-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px; margin-top: 12px;
}
.rs-related-card {
    display: flex; flex-direction: column;
    text-decoration: none; overflow: hidden;
    border-radius: 14px;
    transition: transform .18s ease;
}
.rs-related-card:hover { transform: translateY(-3px); }
.rs-related-thumb img { width: 100%; height: 130px; object-fit: cover; display: block; }
.rs-related-info { padding: 12px 14px; }
.rs-related-title { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--rs-fc-text, #e8e8ea); }
.rs-related-date { display: block; margin-top: 6px; font-size: 12px; color: var(--rs-fc-muted); }

@media (max-width: 480px) {
    .rs-related-grid { grid-template-columns: 1fr 1fr; }
    .rs-related-thumb img { height: 100px; }
    .rs-author-box { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .rs-related-card, .rs-toc-caret { transition: none; }
}

/* =====================================================
   RADYO SAYFASI — Kısa Tanıtım / "Hakkında" / Dinleme Bilgileri
   Mevcut renk ve tipografi değişkenlerini kullanır, inline stil yok.
===================================================== */
.rs-radio-short-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--rs-text-2, #94a3b8);
    margin: 0 0 20px;
    max-width: 70ch;
}

.radio-about .radio-about__content {
    color: var(--rs-text, #e2e8f0);
    line-height: 1.7;
}
.radio-about .radio-about__content p { margin: 0 0 14px; }
.radio-about .radio-about__content p:last-child { margin-bottom: 0; }
.radio-about .radio-about__content h3 {
    margin: 20px 0 10px;
    font-size: 17px;
}

.rs-radio-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 24px;
}
.rs-radio-info-list li {
    color: var(--rs-text-2, #94a3b8);
    font-size: 14px;
    word-break: break-word;
}
.rs-radio-info-list li strong { color: var(--rs-text, #e2e8f0); }
.rs-radio-info-list a { color: var(--rs-primary, #7c3aed); text-decoration: underline; text-underline-offset: 2px; }

.rs-radio-editor-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 3px solid var(--rs-primary, #7c3aed);
    background: var(--rs-surface, rgba(255,255,255,0.05));
    border-radius: 6px;
    color: var(--rs-text-2, #94a3b8);
    font-size: 13.5px;
    line-height: 1.6;
}
.rs-radio-editor-note strong { color: var(--rs-text, #e2e8f0); }

@media (max-width: 480px) {
    .rs-radio-info-list { grid-template-columns: 1fr; }
}

.rs-radio-hero-logo--placeholder img {
    border: 1px dashed var(--rs-border-2, rgba(255,255,255,0.15));
}
