/*
 * C&C PREVENT — Single Blog Article Styles
 * Loaded on: is_singular('post')
 * Note: Background, widget, and layout styles shared with noutati.css
 * ==========================================================================
 */

/* --- Astra Nuclear Override: hide default post header & force wrapper clearance --- */
.entry-header,
.ast-single-post .entry-header,
.ast-article-single .entry-header,
.entry-title,
.ast-post-title,
.ast-archive-description,
.ast-breadcrumbs-wrapper,
.page-header,
.ast-page-header-section,
.ast-single-post-order {
    display: none !important;
}

#ccp-single-wrapper {
    padding-top: 180px !important;
}

/* Back link */
.ccp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.ccp-back-link:hover {
    color: var(--accent-gold);
}

.ccp-back-link svg {
    width: 18px;
    height: 18px;
}

/* Article Header */
.ccp-article-header {
    margin-bottom: 40px;
}

.ccp-cat-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ccp-article-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.ccp-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

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

.ccp-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

/* Featured Image */
.ccp-article-thumb {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ccp-article-thumb img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

/* Article Content */
.ccp-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.ccp-single-content h2,
.ccp-single-content h3,
.ccp-single-content h4 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.ccp-single-content h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.ccp-single-content h3 { font-size: 1.4rem; }

.ccp-single-content p { margin-bottom: 1.5em; }

.ccp-single-content a {
    color: var(--accent-gold);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 107, 0, 0.5);
    transition: all 0.3s;
}

.ccp-single-content a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

.ccp-single-content ul,
.ccp-single-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.ccp-single-content li { margin-bottom: 0.5em; }

.ccp-single-content blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: rgba(255, 107, 0, 0.05);
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.ccp-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
    border: 1px solid var(--glass-border);
}

.ccp-single-content pre {
    background: var(--bg-section-3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin: 2em 0;
}

.ccp-single-content code {
    font-size: 0.9rem;
    color: var(--accent-gold);
    background: rgba(255, 107, 0, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.ccp-single-content pre code {
    background: transparent;
    padding: 0;
    color: var(--text-primary);
}

/* Article Footer */
.ccp-article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.ccp-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.ccp-tag-link {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.ccp-tag-link:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Post Navigation */
.ccp-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ccp-nav-link {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.ccp-nav-link:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ccp-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.ccp-nav-label svg {
    width: 14px;
    height: 14px;
}

.ccp-nav-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--font-display);
}

.ccp-nav-next { text-align: right; }
.ccp-nav-next .ccp-nav-label { justify-content: flex-end; }
