/* Dosya: /assets/css/frontend.css */
/* Sıddık Naci Eren (ks) Web Sistemi - %100 Responsive, Sadece İkonlu Dark/Light ve Yaşlı Dostu Ziyaretçi Arayüzü */

:root {
    --fe-bg: #f6f3ec;
    --fe-surface: #ffffff;
    --fe-elevated: #fbf9f5;
    --fe-header: #0d3225;
    --fe-text: #182620;
    --fe-muted: #566860;
    --fe-emerald: #0f3d2e;
    --fe-emerald-light: #185a45;
    --fe-gold: #b8860b;
    --fe-gold-bright: #d4af37;
    --fe-border: rgba(15, 61, 46, 0.14);
    --fe-shadow: 0 10px 30px rgba(13, 50, 37, 0.07);
    --fe-radius: 16px;
}

[data-theme="dark"] {
    --fe-bg: #08110e;
    --fe-surface: #101f1a;
    --fe-elevated: #152822;
    --fe-header: #050b09;
    --fe-text: #e8f1ed;
    --fe-muted: #93a89f;
    --fe-emerald: #1c6b52;
    --fe-emerald-light: #258567;
    --fe-gold: #d4af37;
    --fe-gold-bright: #f0cb56;
    --fe-border: rgba(212, 175, 55, 0.18);
    --fe-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

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

[hidden],
.silsile-modal-backdrop[hidden],
.sticky-audio-player[hidden],
.resume-playback-banner[hidden] {
    display: none !important;
}

html, body.frontend-body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100dvh;
    background-color: var(--fe-bg);
    color: var(--fe-text);
    font-family: var(--site-font-body, 'Inter', sans-serif);
    font-size: var(--site-size-body, 17px);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    padding-bottom: 84px;
    -webkit-font-smoothing: antialiased;
}

.frontend-main img,
.article-cover-img,
.article-Rich-content img,
.silsile-modal-body img,
.frontend-main figure,
.frontend-main video,
.frontend-main iframe,
.frontend-main table {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

.article-cover-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.article-cover-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.article-Rich-content {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.article-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
}

.article-summary-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--fe-text);
    padding: 1.1rem;
    margin-bottom: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.article-summary-card:hover {
    transform: translateY(-3px);
    border-color: var(--fe-gold);
}

.article-summary-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 11px;
    margin-bottom: 0.85rem;
    display: block;
    background: var(--fe-elevated);
}

.article-summary-title {
    font-family: var(--site-font-header, serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--fe-text);
    margin-bottom: 0.45rem;
    line-height: 1.38;
}

.article-summary-excerpt {
    font-size: 0.95rem;
    color: var(--fe-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.8rem;
}

.article-summary-more {
    margin-top: auto;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--fe-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ÜST HEADER VE NAVİGASYON */
.site-header {
    background: var(--fe-header);
    color: #ffffff;
    border-bottom: 2px solid var(--fe-gold);
    position: sticky;
    top: 0;
    z-index: 500;
    font-family: var(--site-font-header, serif);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #ffffff;
}

.site-custom-logo {
    width: var(--site-logo-w, 160px);
    height: var(--site-logo-h, 54px);
    object-fit: contain;
}

.brand-monogram {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fe-emerald), #071d15);
    border: 1px solid var(--fe-gold-bright);
    color: var(--fe-gold-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.brand-main-name {
    font-size: var(--site-size-header, 18px);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-main-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    font-size: calc(var(--site-size-header, 18px) * 0.88);
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.is-active {
    background: rgba(212, 175, 55, 0.18);
    color: var(--fe-gold-bright);
}

.nav-dropdown-group {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--fe-surface);
    border: 1px solid var(--fe-gold);
    border-radius: 12px;
    padding: 0.45rem;
    box-shadow: var(--fe-shadow);
    display: none;
    flex-direction: column;
    z-index: 600;
}

.nav-dropdown-group:hover .nav-dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 0.52rem 0.8rem;
    color: var(--fe-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: var(--site-font-body, sans-serif);
}

.dropdown-item:hover {
    background: rgba(184, 134, 11, 0.14);
    color: var(--fe-gold);
}

.theme-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.theme-icon-btn:hover {
    border-color: var(--fe-gold-bright);
    transform: translateY(-1px);
}

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--fe-gold);
    color: #ffffff;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ANA SAYFA VE BÖLÜM KONTEYNERİ */
.frontend-main {
    width: 100%;
    max-width: 1240px;
    margin: 1.5rem auto;
    padding: 0 1.25rem;
    flex: 1;
}

.hero-sanctuary {
    background: linear-gradient(135deg, #0d3225 0%, #154d39 100%);
    color: #ffffff;
    border: 1px solid var(--fe-gold);
    border-radius: 22px;
    padding: 2.6rem 2rem;
    text-align: center;
    margin-bottom: 1.75rem;
    box-shadow: var(--fe-shadow);
}

.hero-ornament-badge {
    font-size: 2rem;
    color: var(--fe-gold-bright);
    margin-bottom: 0.4rem;
}

.hero-main-title {
    font-family: var(--site-font-header, serif);
    font-size: clamp(1.6rem, 3.2vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.84);
    max-width: 720px;
    margin: 0 auto 1.6rem;
    font-size: 1rem;
}

.hero-quick-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 0.8rem;
}

.pillar-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: all 0.2s ease;
}

.pillar-chip:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.pillar-chip strong {
    color: var(--fe-gold-bright);
    font-size: 1rem;
}

.pillar-chip span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
}

/* KARTLAR VE IZGARALAR */
.frontend-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.35rem;
}

.frontend-card {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    padding: 1.4rem;
    box-shadow: var(--fe-shadow);
    margin-bottom: 1.25rem;
}

.card-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--fe-border);
}

.card-head-row h2 {
    font-family: var(--site-font-header, serif);
    font-size: 1.2rem;
}

.text-gold-link {
    color: var(--fe-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}

/* YAZI BOYUTU (A+ / A-) VE SOSYAL PAYLAŞIM ÇUBUĞU */
.reader-share-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    margin-bottom: 1.25rem;
}

.reader-font-controls, .social-share-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.toolbar-caption {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fe-muted);
    margin-right: 0.25rem;
}

.reader-btn, .share-btn {
    padding: 0.36rem 0.72rem;
    border-radius: 8px;
    border: 1px solid var(--fe-border);
    background: var(--fe-elevated);
    color: var(--fe-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.reader-btn:hover, .share-btn:hover {
    border-color: var(--fe-gold);
    color: var(--fe-gold);
}

.reader-scalable-content {
    font-size: var(--site-size-body, 17px);
}

/* ALT SEKMELER VE BANNER */
.subnav-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.subnav-pill {
    padding: 0.52rem 1.05rem;
    border-radius: 999px;
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    color: var(--fe-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.subnav-pill.is-active, .subnav-pill:hover {
    background: var(--fe-emerald);
    color: #ffffff;
    border-color: var(--fe-gold);
}

.section-banner {
    margin-bottom: 1.2rem;
}

.section-banner h1 {
    font-family: var(--site-font-header, serif);
    font-size: 1.65rem;
}

.section-banner p {
    color: var(--fe-muted);
    font-size: 0.95rem;
}

/* İNTERAKTİF SİLSİLE-İ ŞERİF AĞACI */
.silsile-tree-wrapper {
    position: relative;
    padding: 1rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}

.silsile-vertical-line {
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--fe-gold), var(--fe-emerald));
    transform: translateX(-50%);
    z-index: 0;
}

.silsile-tree-node {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    background: var(--fe-surface);
    border: 2px solid var(--fe-gold);
    border-radius: 18px;
    padding: 1.1rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    box-shadow: var(--fe-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.silsile-tree-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(184, 134, 11, 0.22);
}

.silsile-rank-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fe-emerald);
    border: 2px solid var(--fe-gold-bright);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.silsile-node-body h3 {
    font-family: var(--site-font-header, serif);
    font-size: 1.15rem;
}

.silsile-honorific {
    display: inline-block;
    color: var(--fe-gold);
    font-weight: 600;
    font-size: 0.88rem;
}

.silsile-meta-line {
    font-size: 0.82rem;
    color: var(--fe-muted);
    margin-top: 0.15rem;
}

.silsile-click-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--fe-emerald-light);
    font-weight: 600;
}

/* SİLSİLE MODALI */
.silsile-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 9, 0.72);
    backdrop-filter: blur(4px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.silsile-modal-dialog {
    width: min(760px, 96vw);
    max-height: 86dvh;
    background: var(--fe-surface);
    border: 2px solid var(--fe-gold);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.silsile-modal-header {
    padding: 1.2rem 1.5rem;
    background: var(--fe-header);
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.silsile-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

/* SOHBET OYNATICI VE KONU / DK-SN (CHAPTERS) */
.adshield-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.adshield-video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.resume-playback-banner {
    background: rgba(184, 134, 11, 0.16);
    border: 1px solid var(--fe-gold);
    border-radius: 11px;
    padding: 0.65rem 1rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.sohbet-stage-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--fe-border);
}

.sohbet-chapters-box {
    margin-top: 1.1rem;
}

.chapters-list-grid {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.chapter-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: var(--fe-elevated);
    border: 1px solid var(--fe-border);
}

.chapter-jump-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
    border: 0;
    color: var(--fe-text);
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

.chapter-time-badge {
    background: var(--fe-emerald);
    color: #ffffff;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.84rem;
}

.chapter-share-btn {
    padding: 0.32rem 0.68rem;
    border-radius: 8px;
    border: 1px solid var(--fe-gold);
    background: transparent;
    color: var(--fe-gold);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.sohbet-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.15rem;
}

.sohbet-thumb-link {
    display: block;
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.sohbet-thumb-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.thumb-chapter-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(13, 50, 37, 0.9);
    color: var(--fe-gold-bright);
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
}

/* YAŞLI DOSTU YÜKSEK OKUNAKLI 30'LU CÜZ TAKİBİ KUTULARI */
.cuz-pin-gate-card {
    max-width: 460px;
    margin: 2.5rem auto;
    text-align: center;
    padding: 2.2rem 1.75rem;
}

.pin-gate-icon {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
}

.pin-large-input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1.25rem;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--fe-gold);
    background: var(--fe-elevated);
    color: var(--fe-text);
    margin: 1.1rem 0;
}

.cuz-board-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid var(--fe-gold);
}

.cuz-board-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fe-gold);
    text-transform: uppercase;
}

.cuz-board-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cuz-elderly-friendly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
    gap: 0.85rem;
}

.cuz-elderly-box {
    background: var(--fe-surface);
    border: 2px solid var(--fe-border);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    box-shadow: var(--fe-shadow);
}

.cuz-elderly-box.is-completed {
    border-color: #15803d;
    background: rgba(21, 128, 61, 0.06);
}

.cuz-num-badge {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--fe-gold);
    white-space: nowrap;
}

.cuz-reader-label {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fe-text);
}

.cuz-done-toggle-btn {
    padding: 0.42rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--fe-gold);
    background: var(--fe-elevated);
    color: var(--fe-text);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

/* SABİT ALT SES ÇALAR (STICKY AUDIO PLAYER) */
.sticky-audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fe-header);
    color: #ffffff;
    border-top: 2px solid var(--fe-gold);
    padding: 0.65rem 1.25rem;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.sticky-player-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-track-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 200px;
}

.sticky-track-info strong {
    display: block;
    font-size: 0.92rem;
    color: var(--fe-gold-bright);
}

.sticky-track-info small {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.75);
}

.sticky-player-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 640px;
}

.sticky-play-btn, .sticky-ctrl-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--fe-gold);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.38rem 0.68rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
}

.sticky-seek-slider {
    flex: 1;
    accent-color: var(--fe-gold-bright);
    cursor: pointer;
}

/* GENEL BUTONLAR VE FORMLAR */
.btn-gold-lg, .btn-gold-sm, .btn-gold-xs, .btn-outline-sm, .btn-outline-xs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
}

.btn-gold-lg {
    background: var(--fe-emerald);
    color: #ffffff;
    border: 2px solid var(--fe-gold);
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
}

.btn-gold-sm {
    background: var(--fe-emerald);
    color: #ffffff;
    border: 1px solid var(--fe-gold);
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
}

.btn-gold-xs {
    background: var(--fe-emerald);
    color: #ffffff;
    border: 1px solid var(--fe-gold);
    padding: 0.32rem 0.68rem;
    font-size: 0.78rem;
}

.btn-outline-sm, .btn-outline-xs {
    background: transparent;
    color: var(--fe-text);
    border: 1px solid var(--fe-border);
    padding: 0.36rem 0.75rem;
    font-size: 0.8rem;
}

.contact-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.frontend-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.frontend-input, .frontend-textarea, .frontend-select-lg {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--fe-border);
    background: var(--fe-elevated);
    color: var(--fe-text);
    font-size: 0.95rem;
    font-family: inherit;
}

.media-list-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.media-list-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem;
    border-radius: 12px;
    background: var(--fe-elevated);
    border: 1px solid var(--fe-border);
}

.media-thumb-sm {
    width: 110px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.media-item-info {
    flex: 1;
}

.media-item-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.media-item-info h3 a {
    color: var(--fe-text);
    text-decoration: none;
}

.media-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ilahi-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--fe-emerald);
    color: var(--fe-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ilahi-track-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ilahi-meta-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.ilahi-meta-tag {
    background: var(--fe-elevated);
    border: 1px solid var(--fe-border);
    color: var(--fe-muted);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.14rem 0.55rem;
    border-radius: 6px;
}

.ilahi-actions-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.normal-inline-player-wrap {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    background: var(--fe-elevated);
    border: 1px solid var(--fe-gold);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sticky-close-prominent-btn {
    background: #b91c1c;
    color: #ffffff;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.sticky-close-prominent-btn:hover {
    background: #991b1b;
}

.contact-feedback-banner {
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    margin-bottom: 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-feedback-banner.is-error {
    background: rgba(220, 38, 38, 0.12);
    border: 2px solid #dc2626;
    color: #dc2626;
}

.contact-feedback-banner.is-ok {
    background: rgba(21, 128, 61, 0.12);
    border: 2px solid #15803d;
    color: #15803d;
}

.ilahi-lyrics-drawer {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--fe-border);
}

.ilahi-lyrics-drawer summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--fe-gold);
}

.ilahi-lyrics-body {
    margin-top: 0.65rem;
    line-height: 1.85;
}

.site-footer {
    background: var(--fe-header);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--site-font-footer, sans-serif);
    font-size: var(--site-size-footer, 14px);
    padding: 1.35rem 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--fe-gold);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--fe-gold-bright);
    text-decoration: none;
}

.frontend-toast-container {
    position: fixed;
    bottom: 92px;
    right: 1.25rem;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fe-toast {
    background: var(--fe-header);
    color: #ffffff;
    border: 1px solid var(--fe-gold);
    padding: 0.75rem 1.1rem;
    border-radius: 11px;
    box-shadow: var(--fe-shadow);
    font-size: 0.88rem;
}

@media (max-width: 860px) {
    .mobile-menu-btn {
        display: inline-block;
    }
    .site-main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--fe-header);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--fe-gold);
    }
    .site-main-nav.is-open {
        display: flex;
    }
    .sticky-player-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
    }
}