/* /blog — index + article shared styles */

.blog-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px; color: var(--muted);
  display: flex; gap: 8px; align-items: center;
}
.blog-breadcrumb a { color: var(--muted); }
.blog-breadcrumb a:hover { color: var(--brand); }
.blog-breadcrumb .cur { color: var(--navy); font-weight: 500; }

/* ─── Index Hero ─── */
.blog-hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(0,70,255,0.07), transparent 45%),
    #fff;
  padding: 64px 0 24px;
}
.blog-hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 600; letter-spacing: -0.025em;
  color: var(--navy);
  margin: 12px 0 18px;
  max-width: 14ch;
  line-height: 1.02;
}
.blog-hero p.lead {
  font-size: 19px; max-width: 50ch;
  color: var(--navy); opacity: 0.78;
  margin: 0;
}

/* ─── Featured article ─── */
.blog-featured {
  background: #fff;
  padding: 56px 0 88px;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-elev);
  background: #fff;
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .blog-featured-card { grid-template-columns: 1fr; }
}
.blog-featured-photo {
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(160deg, #E8EEFF 0%, #F3F5F9 100%);
  overflow: hidden;
}
.blog-featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body {
  padding: 48px 56px;
  display: flex; flex-direction: column; gap: 18px;
  justify-content: center;
}
@media (max-width: 720px) { .blog-featured-body { padding: 32px; } }
.blog-featured-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.04em;
  align-items: center;
}
.blog-featured-meta .cat {
  background: rgba(0,70,255,0.1); color: var(--brand);
  padding: 4px 12px; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.06em;
}
.blog-featured-meta .read { display: inline-flex; gap: 6px; align-items: center; }
.blog-featured-body h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.blog-featured-body p {
  font-size: 17px; line-height: 1.6;
  color: var(--navy); opacity: 0.82;
  margin: 0;
}
.blog-featured-body .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ─── Grid ─── */
.blog-grid-section {
  background: var(--surface);
  padding: 96px 0;
}
.blog-grid-head {
  display: flex; justify-content: space-between;
  align-items: end; flex-wrap: wrap; gap: 16px;
  margin-bottom: 40px;
}
.blog-grid-head h2 {
  font-size: clamp(28px, 3.2vw, 36px); font-weight: 600;
  letter-spacing: -0.02em; color: var(--navy); margin: 0;
}
.blog-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.blog-filter button {
  font-size: 13px; padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .15s;
  font-weight: 500;
}
.blog-filter button.active,
.blog-filter button:hover {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-elev);
}
.blog-card-photo {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #E8EEFF 0%, #F3F5F9 100%);
  overflow: hidden;
  position: relative;
}
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat {
  position: absolute; top: 16px; inset-inline-end: 16px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand);
  padding: 5px 12px; border-radius: 999px;
}
.blog-card-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.blog-card-body h3 {
  font-size: 20px; font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}
.blog-card-body p {
  font-size: 14.5px;
  color: var(--navy); opacity: 0.75;
  line-height: 1.5;
  margin: 0;
}
.blog-card-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; color: var(--muted);
  margin-top: auto;
  padding-top: 8px;
  letter-spacing: 0.04em;
}
.blog-card-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted);
}

/* ─── Newsletter strip ─── */
.blog-newsletter {
  background: linear-gradient(150deg, var(--navy) 0%, #001862 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.blog-newsletter::before {
  content: ""; position: absolute;
  top: -80px; inset-inline-start: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,70,255,0.42), transparent 70%);
}
.blog-newsletter .container {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 800px) { .blog-newsletter .container { grid-template-columns: 1fr; } }
.blog-newsletter h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 36px); font-weight: 600;
  letter-spacing: -0.02em; margin: 12px 0 12px;
}
.blog-newsletter p { font-size: 16px; color: rgba(255,255,255,0.78); }
.blog-newsletter form {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
}
.blog-newsletter input {
  flex: 1; background: transparent; border: 0;
  color: #fff; font-size: 15px;
  padding: 12px 6px;
  outline: none;
  font-family: inherit;
}
.blog-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.blog-newsletter button {
  background: var(--brand); color: #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: background-color .2s;
  font-family: inherit;
}
.blog-newsletter button:hover { background: #0035c4; }

/* ═══════ ARTICLE ═══════ */
.article-hero {
  background: #fff;
  padding: 32px 0 56px;
}
.article-hero .container {
  max-width: 820px;
}
.article-meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta .cat {
  background: rgba(0,70,255,0.1); color: var(--brand);
  padding: 4px 12px; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.08em;
}
.article-meta .meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--muted);
}
.article-meta .read-time { display: inline-flex; gap: 6px; align-items: center; }
.article-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 24px;
  text-wrap: balance;
}
.article-hero .article-lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--navy);
  opacity: 0.8;
  max-width: 56ch;
  margin: 0;
}
.article-hero-image {
  margin-top: 48px;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(160deg, #E8EEFF 0%, #F3F5F9 100%);
  box-shadow: var(--shadow-hero);
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  background: #fff;
  padding: 64px 0 96px;
}
.article-body .container { max-width: 740px; }
.article-body h2 {
  font-size: clamp(26px, 3vw, 34px); font-weight: 600;
  color: var(--navy); letter-spacing: -0.02em;
  margin: 56px 0 18px;
  line-height: 1.15;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 21px; font-weight: 600;
  color: var(--navy); letter-spacing: -0.005em;
  margin: 40px 0 14px;
  line-height: 1.3;
}
.article-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--navy);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.article-body p strong { color: var(--brand); font-weight: 600; }
.article-body p em { font-style: italic; color: var(--navy); opacity: 0.85; }
.article-body ul, .article-body ol {
  margin: 0 0 26px 0;
  padding-inline-start: 22px;
  font-size: 18px; line-height: 1.7; color: var(--navy);
}
.article-body li { margin-bottom: 10px; padding-inline-start: 6px; }
.article-body li::marker { color: var(--brand); }

.article-callout {
  background: var(--surface);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 32px 0;
  border-inline-start: 4px solid var(--brand);
}
.article-callout strong { color: var(--brand); display: block; margin-bottom: 6px; font-weight: 600; }
.article-callout p:last-child { margin-bottom: 0; }

.article-quote {
  margin: 48px 0;
  padding: 0 0 0 0;
  text-align: center;
}
.article-quote q {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.015em;
  quotes: "״" "״";
  display: block;
  text-wrap: balance;
}
.article-quote-attr {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* Article inline CTA (mid-article) */
.article-inline-cta {
  background: linear-gradient(150deg, var(--brand) 0%, #0035c4 100%);
  color: #fff;
  border-radius: 22px;
  padding: 36px 40px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
}
@media (max-width: 640px) { .article-inline-cta { grid-template-columns: 1fr; padding: 32px; } }
.article-inline-cta h3 {
  color: #fff; font-size: 22px; font-weight: 600;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.article-inline-cta p {
  font-size: 15px; color: rgba(255,255,255,0.85);
  margin: 0; line-height: 1.5;
}
.article-inline-cta .btn { white-space: nowrap; }
.article-inline-cta .btn-on-dark { background: #fff; color: var(--brand); }
.article-inline-cta .btn-on-dark:hover { background: #f5f8ff; }

/* Author bio at end */
.article-author {
  background: var(--surface);
  padding: 56px 0;
}
.article-author .container { max-width: 740px; }
.article-author-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
}
.article-author-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}
.article-author-photo img { width: 100%; height: 100%; object-fit: cover; }
.article-author-card h4 {
  font-size: 18px; font-weight: 600; color: var(--navy);
  margin: 0 0 4px;
}
.article-author-card p {
  font-size: 14px; color: var(--navy); opacity: 0.78;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 560px) { .article-author-card { grid-template-columns: 1fr; text-align: center; } .article-author-photo { margin: 0 auto; } }

/* Related articles */
.article-related {
  background: #fff;
  padding: 96px 0;
}
.article-related-head {
  text-align: center;
  margin-bottom: 40px;
}
.article-related-head h2 {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600; color: var(--navy);
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.article-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .article-related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .article-related-grid { grid-template-columns: 1fr; } }
