/* AI-Кадры: COMMON STYLES */
:root {
  --bg: #fdfcfa;
  --bg-card: #ffffff;
  --bg-dark: #1a1a2e;
  --text: #1a1a2e;
  --text-2: #555;
  --text-3: #999;
  --border: #ebe8e3;
  --accent: #e85d3c;
  --accent-2: #2d5a4f;
  --accent-light: #fef2ee;
  --radius: 4px;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', sans-serif;
  --shadow: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* HEADER */
.header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 32px; height: 32px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-family: var(--sans); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }

/* HERO */
.hero-section { max-width: 1200px; margin: 0 auto; padding: 48px 32px; }
.hero-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-featured-content .category { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-featured-content h1 { font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero-featured-content h1 a { color: var(--text); text-decoration: none; }
.hero-featured-content h1 a:hover { color: var(--accent); }
.hero-featured-content .dek { font-size: 18px; color: var(--text-2); line-height: 1.5; margin-bottom: 24px; font-family: var(--serif); font-style: italic; }
.hero-featured-content .byline { font-size: 13px; color: var(--text-3); display: flex; gap: 8px; align-items: center; }
.hero-featured-image { background: linear-gradient(135deg, #e85d3c 0%, #f4a261 100%); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-featured-image::before { content: "⚡"; font-size: 120px; opacity: 0.15; }
.hero-featured-image .badge { position: absolute; top: 24px; left: 24px; background: rgba(255,255,255,0.9); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; }

/* DIVIDER */
.divider { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.divider hr { border: none; border-top: 1px solid var(--border); }

/* ARTICLE GRID */
.grid-section { max-width: 1200px; margin: 0 auto; padding: 48px 32px; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.section-header h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.section-header a { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 600; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mag-card { text-decoration: none; color: inherit; display: block; transition: transform 0.2s; }
.mag-card:hover { transform: translateY(-4px); }
.mag-card-image { background: var(--accent-light); border-radius: var(--radius); aspect-ratio: 16/10; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.mag-card-image.v1 { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.mag-card-image.v2 { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.mag-card-image.v3 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.mag-card .category { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.mag-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; letter-spacing: -0.01em; }
.mag-card .dek { font-size: 14px; color: var(--text-2); line-height: 1.5; margin-bottom: 12px; }
.mag-card .byline { font-size: 12px; color: var(--text-3); }

/* ARTICLE PAGE */
.article-body { max-width: 720px; margin: 0 auto; padding: 60px 32px 100px; }
.article-body .category { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.article-body h1 { font-family: var(--serif); font-size: 42px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px; }
.article-body .dek { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--text-2); margin-bottom: 32px; line-height: 1.4; }
.article-body .byline { font-size: 13px; color: var(--text-3); padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 40px; display: flex; gap: 12px; align-items: center; }
.article-body h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-top: 48px; margin-bottom: 16px; letter-spacing: -0.01em; }
.article-body h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.article-body p { font-size: 18px; line-height: 1.7; margin-bottom: 24px; color: var(--text); }
.article-body ul, .article-body ol { margin-bottom: 24px; padding-left: 24px; }
.article-body li { font-size: 18px; line-height: 1.7; margin-bottom: 8px; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { border-left: 3px solid var(--accent); padding-left: 24px; margin: 32px 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text-2); }
.article-body code { background: var(--accent-light); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }

/* TOPICS */
.topics { background: var(--bg-dark); color: white; padding: 64px 0; margin: 64px 0; }
.topics-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; text-align: center; }
.topics h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 12px; }
.topics-sub { color: rgba(255,255,255,0.6); font-size: 16px; margin-bottom: 40px; }
.topics-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.topic-tag { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); padding: 10px 20px; border-radius: 100px; font-size: 14px; font-weight: 500; color: white; text-decoration: none; transition: background 0.2s; }
.topic-tag:hover { background: rgba(255,255,255,0.2); }

/* NEWSLETTER */
.newsletter { max-width: 600px; margin: 0 auto; padding: 80px 32px; text-align: center; }
.newsletter h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.newsletter p { color: var(--text-2); font-size: 16px; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: var(--sans); background: white; }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button { background: var(--accent); color: white; border: none; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-size: 15px; transition: opacity 0.2s; }
.newsletter-form button:hover { opacity: 0.85; }

/* FOOTER */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 48px 32px; text-align: center; }
.footer p { font-size: 13px; margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: white; }

@media (max-width: 768px) {
  .hero-featured { grid-template-columns: 1fr; gap: 24px; }
  .hero-featured-content h1 { font-size: 32px; }
  .articles-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .article-body { padding: 40px 20px 60px; }
  .article-body h1 { font-size: 30px; }
  .article-body p { font-size: 16px; }
}

/* NEWS FEED (auto-updated) */
.news-feed-section { max-width: 1200px; margin: 0 auto; padding: 48px 32px; }
.news-feed-list { display: flex; flex-direction: column; gap: 0; }
.news-feed-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.15s; }
.news-feed-item:last-child { border-bottom: none; }
.news-feed-item:hover { background: rgba(232, 93, 60, 0.03); }
.news-feed-item:hover h3 { color: var(--accent); }
.news-feed-time { font-size: 12px; font-weight: 600; color: var(--text-3); min-width: 50px; padding-top: 2px; text-transform: lowercase; }
.news-feed-content { flex: 1; }
.news-feed-content h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; transition: color 0.2s; }
.news-feed-content p { font-size: 14px; color: var(--text-2); line-height: 1.5; margin: 0; }
.news-feed-content .news-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-bottom: 6px; }
.news-tag.kedo { background: #fef2ee; color: var(--accent); }
.news-tag.ii { background: #eef2ff; color: #4338ca; }
.news-tag.pravo { background: #ecfdf5; color: #065f46; }
.news-tag.fin { background: #fef3c7; color: #92400e; }

/* NEWS PAGE */
.news-source { font-size: 12px; color: var(--text-3); margin-top: 8px; font-style: italic; }
