* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.5;
}

/* #pageBody sadece harita sayfasında değil (orada #map absolute olduğu için
   bu kutunun boyutu görünmez), tüm içerik sayfalarında da kullanılır - sabit
   üst menünün altında kalmasın diye üstten boşluk bırakılır */
#pageBody {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

/* --- CMS Sayfaları (Summernote içeriği) --- */
.cms-page { max-width: 800px; }

.cms-page-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 14px;
    margin: 16px 0 24px;
}

.cms-page-content { opacity: 0.9; font-size: 15px; }
.cms-page-content p { margin-bottom: 14px; }
.cms-page-content h2 { font-size: 22px; margin: 26px 0 12px; }
.cms-page-content h3 { font-size: 18px; margin: 20px 0 10px; }
.cms-page-content ul, .cms-page-content ol { margin: 0 0 14px 22px; }
.cms-page-content a { color: #FF6B6B; text-decoration: underline; }
.cms-page-content img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
.cms-page-content blockquote {
    border-left: 3px solid #FF6B6B;
    padding-left: 16px;
    opacity: 0.75;
    margin: 14px 0;
}

h1 {
    font-size: 30px;
    margin-bottom: 12px;
}

h2 {
    font-size: 20px;
    margin: 30px 0 14px;
}

.page-intro {
    opacity: 0.75;
    margin-bottom: 24px;
}

.genre-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.genre-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-search {
    width: 100%; 
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 14px;
    outline: none;
    margin-bottom: 24px;
}

.list-search:focus {
    border-color: #FF6B6B;
    background: rgba(255,255,255,0.1);
}

.list-search::placeholder {
    color: rgba(255,255,255,0.4);
}

.list-filter-empty {
    display: none;
    opacity: 0.6;
    padding: 20px 0;
}

/* --- Frekanslar --- */
.freq-back-link {
    margin-bottom: 20px;
}

.freq-search-form {
    margin-bottom: 24px;
}

.freq-search-form .list-search {
    margin-bottom: 0;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.province-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.province-pill:hover {
    background: rgba(255,107,107,0.12);
    border-color: #FF6B6B;
}

.province-pill-empty {
    opacity: 0.5;
}

.province-pill-count {
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,107,107,0.25);
    color: #ff9d9d;
    padding: 2px 8px;
    border-radius: 10px;
}

.freq-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.freq-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.freq-table thead th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.55;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    white-space: nowrap;
    cursor: default;
}

.freq-table thead th[data-sort] {
    cursor: pointer;
    user-select: none;
}

.freq-table thead th[data-sort]:hover {
    color: #FF6B6B;
    opacity: 1;
}

.sort-arrow {
    opacity: 0.6;
    font-size: 11px;
}

.freq-table thead th[data-dir] .sort-arrow {
    opacity: 1;
    color: #FF6B6B;
}

.freq-row {
    border-top: 1px solid rgba(255,255,255,0.06);
    cursor: default;
    transition: background 0.15s;
}

.freq-row td {
    padding: 12px 16px;
    vertical-align: middle;
}

.freq-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.freq-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.freq-name {
    font-weight: 600;
}

.freq-mhz {
    color: #ff9d9d;
    font-weight: 600;
}

.freq-detail-toggle {
    text-align: right;
    opacity: 0.5;
}

.freq-row:has(+ .freq-detail-row) {
    cursor: pointer;
}

.freq-row:has(+ .freq-detail-row):hover {
    background: rgba(255,255,255,0.04);
}

.freq-chevron {
    display: inline-block;
    transition: transform 0.15s;
}

.freq-row.expanded .freq-chevron {
    transform: rotate(180deg);
}

.freq-detail-row td {
    padding: 0 16px 16px;
    background: rgba(255,255,255,0.02);
}

.freq-detail-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.freq-detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.5;
    margin-bottom: 4px;
}

.freq-detail-value {
    font-size: 14px;
    font-weight: 600;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.pagination a:hover {
    background: rgba(255,107,107,0.15);
    border-color: #FF6B6B;
}

.pagination a.active {
    background: #FF6B6B;
    border-color: #FF6B6B;
    color: white;
}

.freq-source-info {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    opacity: 0.55;
}

.freq-source-info a {
    color: #FF6B6B;
    text-decoration: underline;
}

.tag-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
}

.tag-pill:hover {
    background: rgba(255,107,107,0.2);
    border-color: #FF6B6B;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.station-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s, transform 0.15s;
}

.station-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.station-card img,
.card-fallback-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-name {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.card-city {
    font-size: 12px;
    opacity: 0.6;
    white-space: nowrap;
}

/* --- Reklam Alanları --- */
.ad-slot {
    max-width: 100%;
    min-width: 0;
}

.ad-slot img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.ad-slot-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.4;
    text-align: center;
    margin-bottom: 8px;
}

.ad-slot-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.ad-slot-center .ad-slot {
    width: 100%;
}

.station-page-layout {
    max-width: 700px;
}

.station-page-layout.has-ad {
    max-width: 1040px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.station-page-layout.has-ad .station-detail {
    flex: 1;
    min-width: 0;
}

.station-ad-sidebar {
    flex-shrink: 0;
    width: 300px;
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .station-page-layout.has-ad {
        display: block;
    }

    .station-ad-sidebar {
        width: 100%;
        position: static;
        margin-top: 24px;
    }
}

.station-detail {
    max-width: 700px;
}

.station-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.station-detail-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
}

.station-detail-city a {
    color: #4CAF50;
}

.station-player {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.station-player audio {
    width: 100%;
}

.station-detail-desc {
    opacity: 0.85;
    margin: 16px 0;
}

.map-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    background: #4CAF50;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.map-link:hover {
    background: #45a049;
}

.station-play-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    background: #FF6B6B;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.station-play-btn:hover {
    background: #ff5252;
}

.stars {
    color: #f0c419;
    letter-spacing: 1px;
}

.genre-detail-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08); 
}

/* --- Yorumlar --- */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 16px 0 30px;
}

.comment-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.comment-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-item-msg {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.comment-item-date {
    font-size: 12px;
    opacity: 0.45;
}

.comment-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
}

.comment-form h3 {
    font-size: 16px;
    margin-bottom: 14px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.star-rating input { display: none; }

.star-rating label {
    font-size: 28px;
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: color 0.15s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f0c419;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 500px) {
    .form-row-2 { grid-template-columns: 1fr; }
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    margin-bottom: 10px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #FF6B6B;
}

.comment-form textarea {
    min-height: 90px;
    resize: vertical;
}

.comment-submit-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    background: #FF6B6B;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-submit-btn:hover {
    background: #ff5252;
}

.comment-form-msg {
    margin-top: 10px;
    font-size: 13px;
}

.comment-form-msg.success { color: #8be08f; }
.comment-form-msg.error { color: #ff9d9d; }

@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }
}

/* --- Ana Sayfa --- */
.home-genre-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.home-genre-bar a {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.home-genre-bar a:hover {
    background: rgba(255,107,107,0.18);
    border-color: #FF6B6B;
}

.home-section-title {
    font-size: 18px;
    margin: 0 0 16px;
}

.home-quickpicks-section {
    margin-bottom: 32px;
}

.home-quickpicks {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-quickpick {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    transition: transform 0.15s, border-color 0.2s;
}

.home-quickpick:hover {
    transform: translateY(-2px);
    border-color: #FF6B6B;
}

.home-quickpick img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-quickpick-fallback {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.home-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.home-main {
    flex: 1;
    min-width: 0;
}

.home-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.home-subtitle {
    opacity: 0.7;
    margin-bottom: 28px;
}

.home-station-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.home-station-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s, border-color 0.2s;
    min-width: 0;
}

.home-station-item:hover {
    background: rgba(255,107,107,0.12);
    border-color: rgba(255,107,107,0.4);
}

.home-station-num {
    font-size: 12px;
    font-weight: 700;
    opacity: 0.4;
    flex-shrink: 0;
    width: 20px;
}

.home-station-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
}

.home-station-icon-fallback {
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.home-station-name {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.home-station-arrow {
    opacity: 0.35;
    flex-shrink: 0;
}

.home-more-link-wrap {
    margin-top: 20px;
    text-align: center;
}

.home-more-link {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

.home-more-link:hover {
    background: rgba(255,107,107,0.15);
    border-color: #FF6B6B;
}

.home-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-sidebar-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px;
}

.home-sidebar-block h3 {
    font-size: 14px;
    margin-bottom: 12px;
}

.home-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,107,107,0.5) transparent;
}

.home-sidebar-list::-webkit-scrollbar {
    width: 6px;
}

.home-sidebar-list::-webkit-scrollbar-track {
    background: transparent;
}

.home-sidebar-list::-webkit-scrollbar-thumb {
    background-color: rgba(255,107,107,0.5);
    border-radius: 10px;
}

.home-sidebar-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,107,107,0.8);
}

.home-sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    transition: background 0.15s;
}

.home-sidebar-item:hover {
    background: rgba(255,255,255,0.06);
}

.home-sidebar-icon {
    flex-shrink: 0;
    font-size: 15px;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.home-sidebar-icon-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-sidebar-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-sidebar-item-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-sidebar-item-count {
    font-size: 11px;
    opacity: 0.5;
}

.home-sidebar-map .home-sidebar-text {
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 14px;
}

.home-sidebar-cta {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 20px;
    background: #4CAF50;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

.home-sidebar-cta:hover {
    background: #45a049;
}

.home-seo-text {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08); 
}

.home-seo-text p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.home-seo-text a {
    color: #FF6B6B;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .home-layout {
        display: block;
    }

    .home-sidebar {
        width: 100%;
        margin-top: 28px;
    }

    .home-sidebar-list {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .home-station-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .home-station-grid {
        grid-template-columns: 1fr;
    }
}
