/* press-releases.center - Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --accent: #0ea5e9; --accent-light: #38bdf8;
    --bg: #0a0a12; --bg-card: #12121e; --bg-hover: #1a1a2a;
    --text: #e8e8f0; --text-light: #8888a0; --border: #1e1e30;
}

body { font-family: 'Georgia', 'Times New Roman', serif; background: var(--bg); color: var(--text); line-height: 1.7; }
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* Navigation */
.site-nav { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 0; position: sticky; top: 0; z-index: 10; }
.nav-inner { max-width: 1000px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--accent); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-rss { color: var(--text-light); padding: 6px; border-radius: 6px; display: flex; }
.nav-rss:hover { color: var(--accent-light); background: rgba(14, 165, 233, 0.1); }

/* Language switcher */
.lang-switcher { display: flex; gap: 2px; background: rgba(255,255,255,0.04); border-radius: 6px; padding: 3px; }
.lang-btn {
    padding: 4px 8px; font-size: 11px; font-weight: 600; border-radius: 4px;
    color: var(--text-light); text-decoration: none; transition: all 0.2s;
    font-family: -apple-system, sans-serif; user-select: none;
}
.lang-btn:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.lang-btn.active { color: #fff; background: var(--accent); }

main { min-height: calc(100vh - 140px); padding: 40px 0; }

/* Feed */
.feed-header { text-align: center; margin-bottom: 40px; }
.feed-header h1 { font-size: 32px; margin-bottom: 8px; color: var(--text); }
.feed-subtitle { color: var(--accent-light); font-family: -apple-system, sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }

.feed-list { display: flex; flex-direction: column; gap: 12px; }
.feed-item {
    display: block; padding: 24px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; text-decoration: none; color: inherit; transition: all 0.2s;
}
.feed-item:hover { border-color: var(--accent); background: var(--bg-hover); }
.feed-item h2 { font-size: 20px; margin-bottom: 8px; color: var(--text); line-height: 1.4; }
.feed-summary { color: var(--text-light); font-size: 15px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); font-family: -apple-system, sans-serif; }
.feed-company { color: var(--accent); font-weight: 500; }

/* Article */
.article { max-width: 700px; margin: 0 auto; }
.article-header { text-align: center; margin-bottom: 32px; }
.article-header h1 { font-size: 32px; line-height: 1.3; margin-bottom: 16px; }
.article-meta { display: flex; justify-content: center; gap: 16px; color: var(--text-light); font-size: 14px; font-family: -apple-system, sans-serif; }
.article-company { color: var(--accent); font-weight: 500; }
.article-langs { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.article-lang-btn {
    display: inline-block; padding: 3px 8px; font-size: 11px; font-weight: 600;
    color: var(--text-light); background: rgba(255,255,255,0.04); border-radius: 4px;
    text-decoration: none; font-family: -apple-system, sans-serif;
}
.article-lang-btn:hover { color: var(--accent-light); background: rgba(14, 165, 233, 0.1); }
.article-cover { margin-bottom: 32px; border-radius: 12px; overflow: hidden; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-summary {
    font-size: 18px; color: var(--text-light); padding: 20px;
    border-left: 3px solid var(--accent); background: rgba(14, 165, 233, 0.06);
    margin-bottom: 32px; border-radius: 0 8px 8px 0;
}
.article-content { font-size: 17px; line-height: 1.8; }
.article-content p { margin-bottom: 20px; }

.article-contact {
    margin-top: 40px; padding: 24px; background: rgba(14, 165, 233, 0.04);
    border: 1px solid var(--border); border-radius: 12px;
}
.article-contact h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px; font-family: -apple-system, sans-serif; }
.contact-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.contact-title { color: var(--text-light); font-size: 14px; margin-bottom: 8px; }
.contact-info { font-size: 14px; font-family: -apple-system, sans-serif; }
.contact-info a { color: var(--accent); }

.back-link { display: inline-block; margin-top: 32px; color: var(--accent); font-family: -apple-system, sans-serif; font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.not-found { text-align: center; padding: 80px 0; }
.not-found h1 { font-size: 28px; margin-bottom: 12px; }
.not-found p { color: var(--text-light); margin-bottom: 20px; }

.empty { text-align: center; padding: 60px 0; color: var(--text-light); }

.site-footer { padding: 24px 0; text-align: center; color: var(--text-light); font-size: 13px; font-family: -apple-system, sans-serif; border-top: 1px solid var(--border); }
.site-footer a { color: var(--accent); text-decoration: none; }

/* RTL */
[dir="rtl"] .article-summary { border-left: none; border-right: 3px solid var(--accent); border-radius: 8px 0 0 8px; }

@media (max-width: 600px) {
    .feed-header h1, .article-header h1 { font-size: 24px; }
    .article-content { font-size: 16px; }
    .feed-item { padding: 16px; }
    .lang-switcher { flex-wrap: wrap; }
}
