/**
 * AXEVORA Editorial Theme — Complete Frontend Stylesheet
 */

:root {
    --ax-bg: #0b0f19;
    --ax-card-bg: #131b2e;
    --ax-card-border: rgba(255, 255, 255, 0.08);
    --ax-text-main: #f8fafc;
    --ax-text-muted: #94a3b8;
    --ax-sky: #38bdf8;
    --ax-sky-hover: #0284c7;
    --ax-green: #10b981;
    --ax-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ax-font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body.axevora-dark-body {
    background-color: var(--ax-bg);
    color: var(--ax-text-main);
    font-family: var(--ax-font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.axevora-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global Header */
.axevora-global-header {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ax-card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.axevora-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.axevora-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.axevora-brand-bolt {
    font-size: 24px;
}

.axevora-brand-name {
    font-family: var(--ax-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.axevora-nav-menu {
    display: flex;
    gap: 24px;
}

.axevora-nav-item {
    color: var(--ax-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.axevora-nav-item:hover, .axevora-nav-item.active {
    color: var(--ax-sky);
}

.axevora-cta-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--ax-sky);
    padding: 8px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.axevora-cta-btn:hover {
    background: var(--ax-sky);
    color: #000;
}

/* Hub Hero */
.axevora-hub-hero {
    text-align: center;
    padding: 60px 0 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.axevora-hub-badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--ax-sky);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.axevora-hub-title {
    font-family: var(--ax-font-display);
    font-size: 42px;
    font-weight: 800;
    margin: 16px 0;
    letter-spacing: -1px;
}

.axevora-hub-desc {
    color: var(--ax-text-muted);
    font-size: 16px;
}

/* Article Cards Grid */
.axevora-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.axevora-article-card {
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-card-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.axevora-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
}

.axevora-card-img-wrapper {
    position: relative;
    height: 200px;
    background: #1e293b;
    overflow: hidden;
}

.axevora-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.axevora-article-card:hover .axevora-card-img {
    transform: scale(1.03);
}

.axevora-card-cat {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(4px);
    color: var(--ax-sky);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.axevora-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.axevora-card-meta {
    font-size: 12px;
    color: var(--ax-text-muted);
    margin-bottom: 10px;
}

.axevora-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.axevora-card-title a {
    color: var(--ax-text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.axevora-card-title a:hover {
    color: var(--ax-sky);
}

.axevora-card-excerpt {
    font-size: 14px;
    color: var(--ax-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.axevora-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--ax-card-border);
    font-size: 12px;
}

.axevora-card-author {
    color: var(--ax-text-muted);
}

.axevora-read-more {
    color: var(--ax-sky);
    text-decoration: none;
    font-weight: 600;
}

/* Single Article Layout */
.axevora-article-layout {
    max-width: 860px;
    margin: 40px auto 80px auto;
}

.axevora-article-header {
    margin-bottom: 30px;
}

.axevora-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.axevora-category-pill {
    background: rgba(56, 189, 248, 0.1);
    color: var(--ax-sky);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.axevora-read-time {
    color: var(--ax-text-muted);
    font-size: 13px;
}

.axevora-verified-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--ax-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.axevora-article-h1 {
    font-family: var(--ax-font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.axevora-author-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--ax-card-border);
    border-bottom: 1px solid var(--ax-card-border);
    font-size: 13px;
    color: var(--ax-text-muted);
}

.axevora-author-byline a {
    color: var(--ax-sky);
    text-decoration: none;
    font-weight: 600;
}

.axevora-featured-media-frame {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ax-card-border);
}

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

.axevora-article-body {
    font-size: 18px;
    line-height: 1.75;
    color: #e2e8f0;
}

.axevora-article-body p {
    margin-bottom: 24px;
}

.axevora-article-body h2, .axevora-article-body h3 {
    font-family: var(--ax-font-display);
    color: var(--ax-text-main);
    margin: 36px 0 16px 0;
    line-height: 1.3;
}

.axevora-article-body a {
    color: var(--ax-sky);
    text-decoration: underline;
}

/* AdSense Containers */
.axevora-ad-container {
    background: #070a12;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin: 36px 0;
    text-align: center;
}

.axevora-infeed-ad-card {
    background: var(--ax-card-bg);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    grid-column: 1 / -1;
}

.axevora-ad-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
}

/* Sources Box */
.axevora-sources-box {
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-card-border);
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
}

.axevora-sources-title {
    font-size: 14px;
    color: var(--ax-sky);
    margin-bottom: 12px;
}

.axevora-sources-list {
    list-style: none;
    font-size: 13px;
    line-height: 1.8;
}

.axevora-sources-list a {
    color: var(--ax-text-main);
    text-decoration: underline;
}

.axevora-src-publisher {
    color: var(--ax-text-muted);
    margin-left: 6px;
}

/* Author Bio Card */
.axevora-author-bio-card {
    display: flex;
    gap: 20px;
    background: var(--ax-card-bg);
    border: 1px solid var(--ax-card-border);
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    align-items: center;
}

.axevora-author-avatar {
    border-radius: 50%;
    border: 2px solid var(--ax-sky);
}

.axevora-bio-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.axevora-bio-desc {
    font-size: 14px;
    color: var(--ax-text-muted);
}

/* Footer */
.axevora-global-footer {
    background: #070a12;
    border-top: 1px solid var(--ax-card-border);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.axevora-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .axevora-footer-grid {
        grid-template-columns: 1fr;
    }
}

.axevora-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.axevora-footer-tagline {
    font-size: 14px;
    color: var(--ax-text-muted);
    max-width: 380px;
}

.axevora-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--ax-text-main);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.axevora-footer-links {
    list-style: none;
    line-height: 2;
    font-size: 14px;
}

.axevora-footer-links a {
    color: var(--ax-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.axevora-footer-links a:hover {
    color: var(--ax-sky);
}

.axevora-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 768px) {
    .axevora-header-inner {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .axevora-article-h1 {
        font-size: 28px;
    }
    .axevora-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
