/* ===== WRITING PAGE ===== */

.wr-page {
  width: 100%;
}

/* Hero */
.wr-hero {
  padding: 64px 48px 56px;
  background: var(--dark);
}
.wr-hero-inner {
  max-width: 680px;
}
.wr-hero .field-label {
  color: var(--accent);
}
.wr-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #F8FAFC;
  margin: 12px 0 16px;
}
.wr-hero-title em {
  color: var(--accent);
}
.wr-hero-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0;
}

/* Positions */
.wr-positions {
  padding: 0;
}
.wr-positions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--slate-border);
}
.wr-pos-card {
  display: block;
  text-decoration: none;
  padding: 36px 40px;
  background: var(--white);
  transition: background 0.15s;
}
.wr-pos-card:hover {
  background: var(--slate-bg);
}
.wr-pos-card-br {
  border-right: 1px solid var(--slate-border);
}
.wr-pos-card-bb {
  border-bottom: 1px solid var(--slate-border);
}
.wr-pos-num {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--dark);
  border-radius: 7px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
  margin-bottom: 14px;
}
.wr-pos-tag {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.wr-pos-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px;
  line-height: 1.3;
}
.wr-pos-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}
.wr-pos-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wr-pos-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}
.wr-pos-count {
  font-size: 0.65rem;
  color: var(--text-soft);
}

/* Articles */
.wr-articles {
  padding: 40px 48px 72px;
  max-width: 800px;
  margin: 0 auto;
}
.wr-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.wr-articles-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.wr-articles-count {
  font-size: 0.68rem;
  color: var(--text-soft);
}
.wr-articles-list {
  border: 1px solid var(--slate-border);
  border-radius: 12px;
  overflow: hidden;
}
.wr-article-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--slate-border);
  transition: background 0.15s;
}
.wr-article-row:last-child {
  border-bottom: none;
}
.wr-article-row:hover {
  background: var(--slate-bg);
}
.wr-article-info {
  min-width: 0;
}
.wr-article-title {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  line-height: 1.35;
  margin-bottom: 5px;
  color: var(--dark);
}
.wr-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wr-article-tag {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(147, 51, 234, 0.06);
  padding: 2px 7px;
  border-radius: 3px;
}
.wr-article-date {
  font-size: 0.62rem;
  color: var(--text-soft);
}
.wr-article-arrow {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 768px) {
  .wr-hero {
    padding: 48px 24px 40px;
  }
  .wr-positions-grid {
    grid-template-columns: 1fr;
  }
  .wr-pos-card-br {
    border-right: none;
  }
  .wr-pos-card {
    border-bottom: 1px solid var(--slate-border);
    padding: 28px 24px;
  }
  .wr-pos-card:last-child {
    border-bottom: none;
  }
  .wr-articles {
    padding: 32px 24px 48px;
  }
  .wr-article-row {
    padding: 14px 16px;
  }
}
