/* Universal Reader Styles - AhteVerse */

.reader-main {
    padding-top: calc(var(--header-height) + 40px);
    min-height: 100vh;
    background: #060913;
    padding-bottom: 80px;
}

.article-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Skeleton Loader */
.reader-skeleton {
    animation: pulse 1.5s infinite;
}

.skel-img { height: 400px; background: rgba(255, 255, 255, 0.05); border-radius: 16px; margin-bottom: 40px; }
.skel-title { height: 50px; width: 80%; background: rgba(255, 255, 255, 0.05); border-radius: 8px; margin-bottom: 20px; }
.skel-meta { height: 20px; width: 40%; background: rgba(255, 255, 255, 0.03); border-radius: 4px; margin-bottom: 50px; }
.skel-text { height: 15px; width: 100%; background: rgba(255, 255, 255, 0.02); border-radius: 4px; margin-bottom: 15px; }
.skel-text.short { width: 60%; }

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Header Elements */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--electric-blue);
}

.separator { color: rgba(255, 255, 255, 0.2); }

.cat-pill {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i { color: var(--electric-blue); }
#display-author { color: #fff; font-weight: 600; }

/* Featured Image */
.featured-image-container {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Body Typography (Overriding Quill defaults for Premium look) */
.article-body {
    font-family: var(--font-body) !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0 !important;
}

.article-body h2 {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem !important;
    color: #fff !important;
    margin: 60px 0 20px 0 !important;
    line-height: 1.2 !important;
}

.article-body h3 {
    font-family: var(--font-heading) !important;
    font-size: 1.6rem !important;
    color: #fff !important;
    margin: 40px 0 15px 0 !important;
}

.article-body p { margin-bottom: 25px !important; }

.article-body blockquote {
    border-left: 4px solid var(--electric-blue) !important;
    background: rgba(59, 130, 246, 0.05) !important;
    padding: 25px 30px !important;
    margin: 40px 0 !important;
    font-size: 1.3rem !important;
    font-style: italic !important;
    color: #fff !important;
    border-radius: 0 12px 12px 0 !important;
}

.article-body img {
    border-radius: 12px;
    margin: 30px 0;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.article-body ul, .article-body ol { margin-bottom: 25px !important; padding-left: 20px !important; }
.article-body li { margin-bottom: 10px !important; }

.article-body strong { color: #fff !important; font-weight: 700 !important; }

/* Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.share-btn {
    background: rgba(59, 130, 246, 0.1);
    color: var(--electric-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .article-title { font-size: 2.2rem; }
    .article-container { padding: 0 20px; }
    .article-body { font-size: 1.05rem !important; }
}
