/* ============================================
   Sabbat Resurse — Stiluri pentru paginile de resurse
   Separated from sabbath.css for better organization
   ============================================ */

/* ============================================
   Pagini resurse — Hero
   ============================================ */

.sabbath-resource-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0802 0%, #1a0f05 30%, #1a1a2e 60%, #0f1923 100%);
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.sabbath-resource-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(240, 208, 96, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(240, 208, 96, 0.04) 0%, transparent 35%);
    pointer-events: none;
}

.sabbath-resource-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(245, 232, 200, 0.6);
    text-decoration: none;
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
    transition: color 0.25s ease;
}

.sabbath-resource-hero__back:hover {
    color: var(--sabbath-gold);
}

.sabbath-resource-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 1rem;
    background: rgba(240, 208, 96, 0.12);
    border: 1px solid rgba(240, 208, 96, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sabbath-gold-light);
    margin-bottom: 0.75rem;
}

.sabbath-resource-hero__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.sabbath-resource-hero__subtitle {
    font-size: 1rem;
    color: rgba(245, 232, 200, 0.65);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Continut principal
   ============================================ */

.sabbath-resource-content {
    padding: 3rem 0 5rem;
    background: var(--color-cream);
}

.sabbath-resource-content__inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ============================================
   Cuprins (TOC)
   ============================================ */

.sabbath-resource-toc {
    background: var(--color-white-pure);
    border: 1px solid rgba(240, 208, 96, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(26, 42, 74, 0.05);
}

.sabbath-resource-toc__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.sabbath-resource-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.sabbath-resource-toc__list li {
    counter-increment: toc-counter;
    margin-bottom: 0.4rem;
}

.sabbath-resource-toc__list li::before {
    content: counter(toc-counter) ".";
    color: var(--sabbath-gold-dark);
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.sabbath-resource-toc__list a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.sabbath-resource-toc__list a:hover {
    color: var(--sabbath-gold-dark);
    border-bottom-color: var(--sabbath-gold);
}

/* ============================================
   Sectiuni
   ============================================ */

.sabbath-resource-section {
    margin-bottom: 3rem;
    scroll-margin-top: 2rem;
}

.sabbath-resource-section__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(240, 208, 96, 0.2);
}

.sabbath-resource-section__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--color-text);
}

.sabbath-resource-section__text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.sabbath-resource-section__text p {
    margin-bottom: 1rem;
}

.sabbath-resource-section__text p:last-child {
    margin-bottom: 0;
}

.sabbath-resource-section__text strong {
    color: var(--color-primary);
}

/* ============================================
   Blockquote
   ============================================ */

.sabbath-resource-blockquote {
    margin: 1.5rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(240, 208, 96, 0.06) 0%, rgba(240, 208, 96, 0.02) 100%);
    border-left: 4px solid var(--sabbath-gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.sabbath-resource-blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--sabbath-gold-dark);
    font-weight: 600;
}

/* ============================================
   Highlight box
   ============================================ */

.sabbath-resource-highlight {
    margin: 1.5rem 0;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(240, 208, 96, 0.08) 0%, rgba(240, 208, 96, 0.03) 100%);
    border: 1px solid rgba(240, 208, 96, 0.2);
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.75;
}

.sabbath-resource-highlight p {
    margin: 0;
}

.sabbath-resource-highlight strong {
    color: var(--sabbath-gold-dark);
}

/* ============================================
   Liste
   ============================================ */

.sabbath-resource-list {
    margin: 1rem 0 1rem 1.5rem;
    padding: 0;
}

.sabbath-resource-list li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ============================================
   Timeline (folosit in paginile de resurse)
   ============================================ */

.sabbath-resource-timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.sabbath-resource-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--sabbath-gold), rgba(240, 208, 96, 0.15));
    border-radius: 1px;
}

.sabbath-resource-timeline__item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.sabbath-resource-timeline__item::before {
    content: '';
    position: absolute;
    left: -2.1rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    background: var(--sabbath-gold);
    border: 2px solid var(--color-white-pure);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--sabbath-gold);
}

.sabbath-resource-timeline__date {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sabbath-gold-dark);
    margin-bottom: 0.1rem;
}

.sabbath-resource-timeline__content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.sabbath-resource-timeline__content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin: 0;
}

/* ============================================
   Navigare intre resurse
   ============================================ */

.sabbath-resource-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(240, 208, 96, 0.15);
}

/* ============================================
   Smooth scroll (global)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .sabbath-resource-hero__title {
        font-size: 1.8rem;
    }
    .sabbath-resource-toc {
        padding: 1.5rem;
    }
    .sabbath-resource-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .sabbath-resource-nav .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .sabbath-resource-hero__title {
        font-size: 1.5rem;
    }
    .sabbath-resource-section__title {
        font-size: 1.25rem;
    }
    .sabbath-resource-toc {
        padding: 1.25rem;
    }
    .sabbath-resource-blockquote {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
}
