/* Blog index — личный блог Ольги Щербаковой */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: #0f1822;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-header .logo img {
  display: block;
  height: 32px;
  width: auto;
}
.blog-header .back-link {
  color: #c29415;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s;
}
.blog-header .back-link:hover { opacity: 0.7; }

/* Main */
.blog-main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px 40px;
}

.blog-author {
  color: #c29415;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.blog-main h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.blog-role {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  margin-bottom: 28px;
  font-weight: 400;
}

.blog-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.55;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 50px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-tag {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Articles */
.articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.article-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194, 148, 21, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.article-link:hover { color: inherit; }

/* Banner — обложка-карточка вместо обычного изображения */
.article-banner {
  position: relative;
  background: linear-gradient(135deg, #131d29 0%, #1a2d40 50%, #2a1f3d 100%);
  padding: 50px 40px;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #ffffff;
  overflow: hidden;
}
.article-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(194, 148, 21, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.article-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(80, 130, 220, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.banner-eyebrow {
  position: relative;
  background: #c29415;
  color: #0f1822;
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
  z-index: 1;
}
.banner-title {
  position: relative;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -1px;
  z-index: 1;
}
.banner-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  z-index: 1;
}
.banner-from { color: rgba(255, 255, 255, 0.5); }
.banner-arrow { color: #c29415; font-size: 26px; }
.banner-to { color: #ffffff; }
.banner-period {
  position: relative;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  z-index: 1;
}

.article-body {
  padding: 30px 35px 35px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.article-tag {
  background: rgba(194, 148, 21, 0.15);
  color: #c29415;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-meta time, .article-reading {
  color: rgba(255, 255, 255, 0.55);
}

.article-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  color: #ffffff;
}
.article-card:hover .article-title {
  color: #c29415;
}

.article-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
  line-height: 1.55;
  font-weight: 300;
}

.article-cta {
  display: inline-block;
  color: #c29415;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s;
}
.article-card:hover .article-cta {
  transform: translateX(4px);
}

/* Soon block */
.blog-soon {
  margin-top: 60px;
  padding: 30px 35px;
  background: rgba(194, 148, 21, 0.06);
  border-left: 3px solid #c29415;
  border-radius: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.blog-soon p { margin-bottom: 10px; }
.blog-soon p:last-child { margin-bottom: 0; }
.blog-soon a {
  color: #c29415;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(194, 148, 21, 0.5);
}
.blog-soon a:hover { border-bottom-style: solid; }

/* Footer */
.blog-footer {
  text-align: center;
  padding: 30px 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.blog-footer a {
  color: #c29415;
  text-decoration: none;
  font-weight: 600;
}
.blog-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 640px) {
  .blog-header { padding: 16px 20px; }
  .blog-main { padding: 40px 20px 30px; }
  .blog-main h1 { font-size: 32px; }
  .blog-role { font-size: 14px; margin-bottom: 20px; }
  .blog-subtitle { font-size: 15px; margin-bottom: 22px; }
  .blog-tags { gap: 6px; margin-bottom: 32px; padding-bottom: 28px; }
  .blog-tag { font-size: 12px; padding: 5px 11px; }

  .article-banner { padding: 32px 24px; height: auto; min-height: 240px; }
  .banner-title { font-size: 30px; }
  .banner-stat { font-size: 18px; gap: 10px; }
  .banner-arrow { font-size: 22px; }

  .article-body { padding: 22px 22px 26px; }
  .article-title { font-size: 21px; }
  .article-excerpt { font-size: 14px; }
  .blog-soon { padding: 22px 22px; }
}