/* ═══════════════════════════════════════════════════════════════
   Maharashtra Higher Education Summit 2026 — blog.css
   Article pages under /blog/. Loaded after style.css + responsive.css.
   ═══════════════════════════════════════════════════════════════ */

/* ───────── ARTICLE HEADER ───────── */
/* full-bleed cover under the fixed navbar, same as .site-banner on index.html */
.blog-cover {
  margin: var(--nav-h) 0 0;
  background: #FFFFF6;
  line-height: 0;
}

.blog-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-intro {
  padding-top: 48px;
}

.blog-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* type follows index.html: Jost uppercase headings (.ab-title / .section-title), Source Sans 3 copy (.about-copy p) */
.blog-title {
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.28;
  margin-bottom: 22px;
  text-wrap: balance;
}

.blog-dek {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

/* ───────── ARTICLE BODY ───────── */
.blog-body {
  padding-top: 40px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.blog-body .blog-lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--dark);
}

.blog-body h2 {
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.28;
  margin: 52px 0 18px;
}

.blog-body p {
  margin-bottom: 1.35rem;
}

.blog-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.blog-body ol li {
  margin-bottom: 10px;
}

.blog-body ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

.blog-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
}

.blog-body ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.blog-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ───────── SUMMIT CTA ───────── */
.blog-cta {
  margin: 72px auto 96px;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-ink);
}

.blog-cta h2 {
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.28;
  color: #fff;
  margin-bottom: 14px;
}

.blog-cta p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.blog-cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
  font-family: var(--f-sub);
  font-size: 15px;
  color: #fff;
}

.blog-cta-meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blog-cta-meta i {
  color: var(--gold);
}

/* ───────── BLOG LISTING (blog.html) ───────── */
/* page header band: same photo + dark scrim + grain as .section-formats on index.html,
   sitting directly under the fixed navbar */
.blog-hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--nav-h);
  padding: 88px 0 92px;
  background: var(--ink) url("../images/9.JPG") center / cover no-repeat;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(241, 90, 36, .16), transparent 70%),
    linear-gradient(180deg, rgba(18, 15, 13, .90) 0%, rgba(18, 15, 13, .78) 45%, rgba(18, 15, 13, .92) 100%);
}

/* z-index 2 puts the grain above the scrim, not under it */
.blog-hero .grain {
  z-index: 2;
  opacity: .34;
  mix-blend-mode: overlay;
}

.blog-hero .container {
  position: relative;
  z-index: 3;
}

.blog-hero .section-head {
  margin-bottom: 0;
}

.blog-hero .section-title {
  color: #fff;
}

/* narrower measure + balanced wrap, so the line never ends on a stray "2026 in Mumbai." */
.blog-hero .section-desc {
  max-width: 640px;
  margin: 12px auto 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  text-wrap: balance;
}

.blog-list {
  padding: 72px 0 96px;
}

.post-list {
  display: grid;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* image beside copy on desktop, stacked below 992px */
.post-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* cream fill matches the artwork, so a taller text column never shows a gap around the image */
.post-card-media {
  display: flex;
  align-items: center;
  background: #FFFFF6;
}

.post-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.post-card-title {
  font-family: 'Joost', 'Jost', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.post-card-title a {
  color: var(--dark);
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 22px;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--f-sub);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

.post-card-link i {
  transition: transform var(--t);
}

.post-card-link:hover i {
  transform: translateX(4px);
}

/* ───────── RESPONSIVE ───────── */
/* heading steps down at the same breakpoints as .ab-title in responsive.css */
@media (max-width: 991.98px) {
  .blog-title { font-size: 28px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-body { padding: 30px 32px 34px; }
}

@media (max-width: 767.98px) {
  .blog-hero { padding: 56px 0 60px; }
  .blog-list { padding: 44px 0 72px; }
  .post-card-body { padding: 24px 22px 28px; }
  .post-card-title { font-size: 19px; }
  .blog-intro { padding-top: 32px; }
  .blog-title { font-size: 24px; }
  .blog-dek { font-size: 17px; }
  .blog-body { padding-top: 32px; font-size: 16px; line-height: 1.8; }
  .blog-body .blog-lead { font-size: 17px; }
  .blog-body h2 { font-size: 22px; margin-top: 42px; }
  .blog-cta { margin: 56px auto 72px; padding: 34px 24px; border-radius: var(--radius); }
  .blog-cta h2 { font-size: 22px; }
  .blog-cta p { font-size: 16px; }
}

@media (max-width: 479.98px) {
  .blog-title { font-size: 21px; }
}
