/* ==========================================================================
   h-gods-theme.css — добавки специфични за раздел "Боговете на хевиметъла"
   Ползва CSS променливите, дефинирани в news-theme.css (тъмна/светла тема).
   Зареждай СЛЕД news-theme.css.
   ========================================================================== */

/* ---- Breadcrumb над hero снимката: Боговете на хевиметъла › Вокалисти ---- */
.h-gods-breadcrumb {
    margin: 20px 0 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.h-gods-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.h-gods-breadcrumb a:hover { color: var(--accent-yellow); }
.h-gods-breadcrumb-sep { margin: 0 8px; color: var(--text-faint); }

/* ---- Категория бадж под hero снимката в h-god.php ---- */
.h-gods-category-badge {
    display: inline-block;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ---- Бележка за субективност на оценките (sidebar) ---- */
.h-gods-disclaimer {
    font-size: 0.76rem;
    font-style: italic;
    line-height: 1.4;
    color: var(--accent-yellow);
    opacity: 0.8;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 14px;
}

/* ---- Дървовидна структура в sidebar-а: категория + постове под нея ---- */
.h-gods-cat-group {
    margin-bottom: 10px;
}
.h-gods-cat-postlist {
    list-style: none;
    margin: 2px 0 6px;
    padding: 0 0 0 14px;
    border-left: 2px solid var(--border-subtle);
}
.h-gods-cat-postlist li { margin: 0; }
.h-gods-cat-postlist a {
    display: block;
    padding: 5px 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}
.h-gods-cat-postlist a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.h-gods-cat-postlist a.current {
    color: var(--accent-yellow);
    font-weight: bold;
}
.h-gods-cat-empty {
    padding: 4px 10px 8px 14px;
    font-size: 0.78rem;
    color: var(--text-faint);
    font-style: italic;
}

/* ---- Sidebar / листинг: линкове към раздели (Вокалисти, Китаристи...) ---- */
.h-gods-cat-link {
    display: block;
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.h-gods-cat-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}
.h-gods-cat-link.active {
    background: var(--accent-yellow);
    color: #000;
    font-weight: bold;
}

/* ---- Листинг страница (h-gods.php): главна колона + sidebar с раздели ---- */
.h-gods-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.h-gods-main { flex: 1; min-width: 0; }
.h-gods-sidebar {
    flex-shrink: 0;
    width: 260px;
    background: var(--card-translucent-bg, #111111dd);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .h-gods-layout { flex-direction: column; }
    .h-gods-sidebar { width: 100%; }
}

/* ---- Мини форма "Кой е вашият Бог?" в края на статията ---- */
.h-gods-suggest-box {
    margin-top: 40px;
    padding: 24px;
    background: var(--card-translucent-bg, #111111dd);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}
.h-gods-suggest-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.4;
}
.h-gods-suggest-form { display: flex; flex-direction: column; gap: 10px; }
.h-gods-suggest-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.h-gods-suggest-row input,
.h-gods-suggest-row textarea {
    flex: 1;
    min-width: 160px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
}
.h-gods-suggest-row textarea {
    resize: vertical;
    min-height: 40px;
}
.h-gods-suggest-row input:focus,
.h-gods-suggest-row textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
}
.h-gods-suggest-btn {
    align-self: flex-start;
    background: var(--accent-yellow);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
}
.h-gods-suggest-btn:disabled { opacity: 0.6; cursor: default; }
.h-gods-suggest-msg { font-size: 0.85rem; min-height: 1.2em; }
.h-gods-suggest-msg.success { color: #4caf50; }
.h-gods-suggest-msg.error { color: var(--accent-red); }

/* ---- Заглавие + ФБ бутон в един ред ---- */
.h-gods-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.h-gods-title-row .article-title { margin: 0; flex: 1; min-width: 0; }

/* ---- Prev/Next навигация (горе и долу на h-god.php) ---- */
.h-gods-navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 20px;
    flex-wrap: wrap;
}
.h-gods-navrow-bottom {
    margin: 32px 0 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.h-gods-navlink {
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 38%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.h-gods-navlink:hover { text-decoration: underline; }
.h-gods-navlink-next { text-align: right; }

.h-gods-fb-btn {
    background: #1877f2;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* ---- Пагинация за постове с продължение (2, 3 стр.) ---- */
.h-gods-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.h-gods-page-link, .h-gods-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.85rem;
    text-decoration: none;
}
.h-gods-page-link {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.h-gods-page-link:hover { background: var(--bg-hover); }
.h-gods-page-current {
    background: var(--accent-yellow);
    color: #000;
    font-weight: bold;
}
.h-gods-page-next {
    margin-left: auto;
    color: #000;
    background: var(--accent-yellow);
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
}
.h-gods-page-next:hover { opacity: 0.9; }

/* ---- Таблица с оценки ---- */
.h-gods-ratings {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.h-gods-ratings-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.h-gods-ratings-table {
    width: 100%;
    border-collapse: collapse;
}
.h-gods-ratings-table tr { border-bottom: 1px solid var(--border-subtle); }
.h-gods-ratings-label {
    padding: 8px 10px 8px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    width: 1%;
}
.h-gods-ratings-bar {
    padding: 8px 10px;
    width: 100%;
}
.h-gods-ratings-bar-fill {
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-yellow));
}
.h-gods-ratings-bar {
    background: var(--bg-elevated);
    border-radius: 50px;
}
.h-gods-ratings-value {
    padding: 8px 0 8px 10px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-primary);
    white-space: nowrap;
    text-align: right;
}
.h-gods-final-score {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: right;
}
.h-gods-final-score strong { color: var(--accent-yellow); }
