/* Intersect — blog.css | blog-specific styles */

/* === BLOG INDEX === */
.isk-blog-index {
  background: var(--isk-bg-white);
  padding: 80px 24px;
}
.isk-blog-index__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.isk-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}
.isk-blog-card {
  background: var(--isk-bg-white);
  border: 1px solid var(--isk-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.isk-blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.isk-blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--isk-bg-light);
}
.isk-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.isk-blog-card:hover .isk-blog-card__img { transform: scale(1.03); }
.isk-blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.isk-blog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.isk-blog-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--isk-teal-aa);
  background: #EEF9F6;
  padding: 3px 9px;
  border-radius: 4px;
}
.isk-blog-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--isk-fg-light-1);
  line-height: 1.35;
  margin-bottom: 10px;
}
.isk-blog-card a { text-decoration: none; }
.isk-blog-card a:hover .isk-blog-card__title { color: var(--isk-teal-aa); }
.isk-blog-card__summary {
  font-size: 14px;
  color: var(--isk-fg-light-2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.isk-blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--isk-border);
}
.isk-blog-card__date { font-size: 13px; color: var(--isk-fg-light-2); }
.isk-blog-card__author { font-size: 13px; font-weight: 500; color: var(--isk-fg-light-1); }

/* === BLOG ARTICLE PAGE === */
.isk-blog-article {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  background: var(--isk-bg-white);
}
.isk-blog-article__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.isk-blog-article__header { margin-bottom: 36px; }
.isk-blog-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.isk-blog-article__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--isk-teal-aa);
  background: #EEF9F6;
  padding: 3px 9px;
  border-radius: 4px;
}
.isk-blog-article__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--isk-fg-light-1);
  line-height: 1.2;
  margin-bottom: 16px;
}
.isk-blog-article__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--isk-fg-light-2);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--isk-border);
}
.isk-blog-article__byline strong { color: var(--isk-fg-light-1); }
.isk-blog-article__cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  display: block;
}

/* Article body — light-top scoped per typography.shared_containers */
body.isk-page--light-top .isk-blog-article__body h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--isk-fg-light-1);
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.25;
}
body.isk-page--light-top .isk-blog-article__body h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--isk-fg-light-1);
  margin-top: 28px;
  margin-bottom: 10px;
}
body.isk-page--light-top .isk-blog-article__body p {
  font-size: 16px;
  color: var(--isk-fg-light-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
body.isk-page--light-top .isk-blog-article__body ul,
body.isk-page--light-top .isk-blog-article__body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
body.isk-page--light-top .isk-blog-article__body ul { list-style: disc; }
body.isk-page--light-top .isk-blog-article__body ol { list-style: decimal; }
body.isk-page--light-top .isk-blog-article__body li {
  font-size: 16px;
  color: var(--isk-fg-light-2);
  line-height: 1.75;
  margin-bottom: 8px;
}
body.isk-page--light-top .isk-blog-article__body a {
  color: var(--isk-teal-aa);
  text-decoration: underline;
}
body.isk-page--light-top .isk-blog-article__body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--isk-bg-light);
  color: var(--isk-fg-light-1);
  padding: 2px 6px;
  border-radius: 4px;
}
body.isk-page--light-top .isk-blog-article__body blockquote {
  border-left: 3px solid var(--isk-teal);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--isk-fg-light-2);
}

/* Blog article related */
.isk-blog-related {
  background: var(--isk-bg-light);
  padding: 64px 24px;
}
.isk-blog-related__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.isk-blog-related h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--isk-fg-light-1);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .isk-blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .isk-blog-grid { grid-template-columns: 1fr; }
}
