/* Blog Article Styles */

/* Blog Nav Bar */
.blog-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5,5,5,0.95);
    border-bottom: 1px solid #222;
}
.back-link-inline {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s;
}
.back-link-inline:hover { color: #fff; }
.blog-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.all-posts-link {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
}
.all-posts-link:hover { color: #fff; }

/* Language selector (same as main site) */
.language-selector { position: relative; z-index: 1001; }
.lang-dropdown-btn {
    display: flex; align-items: center; gap: 6px;
    background: transparent; border: 1px solid #333;
    color: #888; padding: 6px 12px; border-radius: 4px;
    cursor: pointer; font-size: 0.8rem; transition: 0.3s;
    font-family: inherit;
}
.lang-dropdown-btn:hover { border-color: #555; color: #fff; }
.lang-dropdown-btn.active { border-color: #555; }
.lang-dropdown-btn .arrow { font-size: 0.6rem; transition: transform 0.3s; }
.lang-dropdown-btn.active .arrow { transform: rotate(180deg); }
.lang-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 5px); right: 0;
    background: #111; border: 1px solid #333; border-radius: 4px;
    min-width: 150px; overflow: hidden;
}
.lang-dropdown-menu.active { display: block; }
.lang-option {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 15px; background: none; border: none;
    color: #888; cursor: pointer; font-size: 0.85rem;
    transition: 0.2s; font-family: inherit; text-align: left;
}
.lang-option:hover { background: rgba(255,255,255,0.05); color: #fff; }
.lang-option.active-lang { color: #fff; background: rgba(255,255,255,0.08); }

/* Legacy back-link (for blog index) */
.back-link {
    display: inline-block;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(5,5,5,0.95);
    width: 100%;
    border-bottom: 1px solid #222;
    text-decoration: none;
    transition: color 0.3s;
}
.back-link:hover { color: #fff; }

.article-hero {
    padding: 160px 5% 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.95) 100%);
}
.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.article-date {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.article-hero h1 {
    font-size: 2.4rem;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.article-subtitle {
    color: #999;
    font-size: 1.05rem;
    line-height: 1.6;
}

.article-body {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 5% 80px;
}
.article-body h2 {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin: 50px 0 20px;
    padding-top: 30px;
    border-top: 1px solid #222;
}
.article-body h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.article-body p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}
.article-body strong {
    color: #fff;
}
.article-body a {
    color: #aaa;
    border-bottom: 1px solid #444;
    transition: color 0.3s;
}
.article-body a:hover {
    color: #fff;
}
.article-body blockquote {
    border-left: 2px solid #333;
    padding: 15px 25px;
    margin: 30px 0;
    color: #999;
    font-style: italic;
}
.article-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.article-body li {
    color: #bbb;
    margin-bottom: 8px;
    line-height: 1.7;
}
.article-body .img-full {
    width: 100%;
    border-radius: 4px;
    margin: 30px 0;
}
.article-body .img-caption {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin-top: -20px;
    margin-bottom: 30px;
}

.sources {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
}
.sources h3 {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #888;
}
.sources ol {
    padding-left: 20px;
}
.sources li {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 6px;
    line-height: 1.5;
}
.sources li a {
    color: #777;
    border-bottom: 1px solid #333;
}

.article-nav {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 5% 80px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
}
.article-nav a {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-nav a:hover { color: #fff; }

footer {
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .article-hero h1 { font-size: 1.6rem; }
    .article-hero { padding: 140px 5% 50px; }
}
