/* ============================================================
   BLOG — index, article template, home teaser
   ============================================================ */

/* ---------- Blog hero ---------- */
.blog-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--text-on-dark); text-align: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.blog-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 90% at 50% 0%, rgba(136,94,67,0.45), rgba(31,29,27,0) 70%),
  repeating-linear-gradient(0deg, rgba(243,234,224,0.035) 0 1px, transparent 1px 64px),
  repeating-linear-gradient(90deg, rgba(243,234,224,0.035) 0 1px, transparent 1px 64px); }
.blog-hero .eyebrow { justify-content: center; color: var(--gold-fleck-light); }
.blog-hero .eyebrow::before, .blog-hero .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold-fleck); }
.blog-hero h1 { color: var(--text-on-dark); max-width: 18ch; margin: 0 auto 1.1rem; }
.blog-hero h1 em { font-style: italic; color: var(--gold-fleck-light); font-weight: 500; }
.blog-hero p { color: var(--text-on-dark-muted); margin: 0 auto; max-width: 54ch; font-weight: 300; }

/* ---------- Featured post ---------- */
.post-featured-section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 0; }
.post-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.post-featured-media { border-radius: var(--radius-m); overflow: hidden; }
.post-featured-body .post-cat { margin-bottom: 1rem; }
.post-featured-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 1rem; }
.post-featured-body h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); }
.post-featured-body h2 a:hover { background-size: 100% 1px; }
.post-featured-body p { color: var(--text-muted); }


/* ---------- Toolbar: filters + search ---------- */
.blog-toolbar-section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 0; }
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.blog-toolbar .filter-bar { margin: 0; }
.blog-search { position: relative; flex: 0 1 230px; min-width: 180px; }
.blog-toolbar .filter-chip { padding: 0.55rem 1rem; }
.blog-search input { width: 100%; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 0.7em 1em 0.7em 2.6em; font: inherit; font-size: 0.85rem; color: var(--text); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.blog-search input:focus { outline: none; border-color: var(--aventurine); box-shadow: 0 0 0 3px rgba(136,94,67,0.14); background: #fff; }
.blog-search svg { position: absolute; left: 1em; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.blog-empty { text-align: center; color: var(--text-muted); padding: 3rem 0; margin: 0 auto; }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.8rem; }
.post-item { display: block; }
.post-item[hidden] { display: none; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card-media { border-radius: var(--radius-m); overflow: hidden; }
.post-card-body { padding-top: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body .post-cat { margin-bottom: 0.6rem; }
.post-card-body h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 0.6rem; transition: color 0.3s var(--ease); }
.post-card:hover .post-card-body h3 { color: var(--aventurine); }
.post-card-body p.post-excerpt { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; }
.post-card-body .post-meta { margin-top: auto; }
.post-card:hover .media-placeholder img, .post-featured-media:hover img { transform: scale(1.06); }
.ratio-3-2 { aspect-ratio: 3/2; }
.blog-teaser .post-grid { margin-top: 0.5rem; }

/* ---------- Newsletter band ---------- */
.newsletter { background: var(--ink); color: var(--text-on-dark); position: relative; overflow: hidden; isolation: isolate; }
.newsletter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 0%, rgba(136,94,67,0.4), rgba(31,29,27,0) 70%); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter h2 { color: var(--text-on-dark); margin-bottom: 0.6rem; }
.newsletter h2 em { font-style: italic; color: var(--gold-fleck-light); }
.newsletter p { color: var(--text-on-dark-muted); }
.newsletter-form { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.newsletter-form .form-field { flex: 1 1 240px; margin: 0; }
.newsletter-form input[type="email"] { background: rgba(243,234,224,0.07); border-color: rgba(243,234,224,0.28); color: var(--text-on-dark); }
.newsletter-form input[type="email"]::placeholder { color: rgba(243,234,224,0.55); }
.newsletter-form input[type="email"]:focus { background: rgba(243,234,224,0.12); border-color: var(--gold-fleck); box-shadow: 0 0 0 3px rgba(195,154,122,0.2); }
.newsletter-form .form-error { color: #F0A59F; }
.newsletter-note { flex-basis: 100%; font-size: 0.75rem; color: var(--text-on-dark-muted); margin: 0.3rem 0 0; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-head { background: var(--stone); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.article-head .post-cat { margin-bottom: 1.1rem; }
.article-head h1 { max-width: 20ch; margin: 0 auto 1.4rem; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.article-head .post-meta { justify-content: center; }
.article-cover { max-width: 1100px; margin: -0.5rem auto 0; padding: 0 1.5rem; position: relative; top: 0; }
.article-cover .media-placeholder { border-radius: var(--radius-m); box-shadow: var(--shadow-card); aspect-ratio: 16/8; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: clamp(2rem, 5vw, 5rem); justify-content: center; align-items: start; padding-top: clamp(2.5rem, 5vw, 4rem); }

.prose { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.prose p { max-width: none; margin-bottom: 1.3em; }
.prose > p:first-of-type { font-size: 1.18rem; line-height: 1.7; color: var(--ink); font-weight: 300; }
.prose > p:first-of-type::first-letter { font-family: var(--font-display); font-size: 4.2rem; line-height: 0.85; float: left; padding: 0.08em 0.12em 0 0; color: var(--aventurine); font-weight: 500; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin: 2.1em 0 0.6em; scroll-margin-top: 100px; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: 0.2rem; top: 0.8em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-fleck); }
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 2.6rem; counter-increment: step; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: 0.1em; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--gold-fleck); color: var(--aventurine); font-size: 0.78rem; font-weight: 500; display: flex; align-items: center; justify-content: center; line-height: 1; }
.prose a { color: var(--aventurine); border-bottom: 1px solid var(--gold-fleck); }
.prose a:hover { border-bottom-color: var(--aventurine); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose-callout { background: var(--stone); border-left: 3px solid var(--aventurine); border-radius: 0 var(--radius-m) var(--radius-m) 0; padding: 1.4rem 1.6rem; margin: 2.2em 0; }
.prose-callout h3 { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aventurine); font-weight: 500; margin-bottom: 0.5rem; }
.prose-callout p { margin: 0; font-size: 0.95rem; line-height: 1.7; }

.article-foot { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.author-box { display: flex; align-items: center; gap: 0.9rem; }
.author-mark { width: 46px; height: 46px; flex-shrink: 0; }
.author-mark img { width: 46px; height: 46px; }
.author-box strong { display: block; font-size: 0.9rem; }
.author-box span { color: var(--text-muted); font-size: 0.78rem; }
.share-row { display: flex; align-items: center; gap: 0.6rem; }
.share-row > span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-right: 0.3rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: inline-flex; align-items: center; justify-content: center; color: var(--aventurine); cursor: pointer; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { transform: translateY(-2px); background: var(--aventurine); color: #fff; border-color: var(--aventurine); }
.share-btn--wa { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.share-btn--wa:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }
.share-btn.is-copied { background: var(--aventurine); color: #fff; }

/* sidebar */
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.6rem; }
.toc { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.toc h2 { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aventurine); margin-bottom: 0.9rem; font-weight: 500; }
.toc ol { display: flex; flex-direction: column; gap: 0.6rem; }
.toc a { font-size: 0.83rem; color: var(--text-muted); line-height: 1.4; display: block; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.toc a:hover, .toc a.is-active { color: var(--aventurine); transform: translateX(3px); }
.aside-cta { background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-m); padding: 1.6rem; }
.aside-cta h2 { color: var(--text-on-dark); font-size: 1.5rem; margin-bottom: 0.5rem; }
.aside-cta p { color: var(--text-on-dark-muted); font-size: 0.85rem; margin-bottom: 1.1rem; }
.aside-cta .btn { width: 100%; }
.aside-cta .btn + .btn { margin-top: 0.6rem; }

.related { background: var(--stone); }
.related h2 { margin-bottom: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-featured { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; order: -1; }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .blog-toolbar { flex-direction: column; align-items: stretch; }
  .blog-search { flex-basis: auto; }
  .article-cover .media-placeholder { aspect-ratio: 16/10; }
  .article-cover { padding: 0 1.1rem; }
  .prose > p:first-of-type::first-letter { font-size: 3.4rem; }
  .article-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Planning toolkit band (replaces the email signup) ---------- */
.toolkit-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 2.6rem; }
.toolkit-head h2 { margin-bottom: 0; }
.toolkit-head > p { margin: 0; max-width: 46ch; justify-self: end; }
.toolkit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.toolkit-card {
  position: relative; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.7rem 1.5rem 1.4rem;
  background: rgba(243,234,224,0.05); border: 1px solid rgba(243,234,224,0.16); border-radius: 14px;
  color: var(--text-on-dark); text-decoration: none; overflow: hidden;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.toolkit-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--gold-fleck), var(--aventurine)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.toolkit-card:hover, .toolkit-card:focus-visible { transform: translateY(-5px); background: rgba(243,234,224,0.09); border-color: rgba(195,154,122,0.55); }
.toolkit-card:hover::after, .toolkit-card:focus-visible::after { transform: scaleX(1); }
.toolkit-num { position: absolute; top: 1.1rem; right: 1.3rem; font-family: var(--font-display); font-size: 1.1rem; color: rgba(227,199,172,0.45); }
.toolkit-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(227,199,172,0.4); display: flex; align-items: center; justify-content: center; color: var(--gold-fleck-light); }
.toolkit-icon svg { width: 22px; height: 22px; }
.toolkit-card h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--text-on-dark); margin: 0.4rem 0 0; }
.toolkit .toolkit-card p { font-size: 0.86rem; margin: 0; flex: 1; }
.toolkit-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-fleck-light); margin-top: 0.6rem; }
.toolkit-arrow { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.toolkit-card:hover .toolkit-arrow { transform: translateX(4px); }
@media (max-width: 1100px) { .toolkit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .toolkit-head { grid-template-columns: 1fr; gap: 1rem; }
  .toolkit-head > p { justify-self: start; }
  .toolkit-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   ARTICLE ENHANCEMENTS (added Oct 2026)
   ============================================================ */
.prose h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 1.6em 0 0.4em; letter-spacing: 0.01em; }
.prose h2 .h-num { font-style: italic; color: var(--gold-fleck); margin-right: 0.35rem; font-weight: 500; }

/* Short lists rendered as tags */
.prose ul.tag-list { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; margin: 0.2em 0 1.6em; }
.prose ul.tag-list li { padding: 0.38rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.86rem; line-height: 1.4; color: var(--ink); }
.prose ul.tag-list li::before { display: none; }

/* Mistakes list */
.prose ul.x-list li::before { content: "\00D7"; width: auto; height: auto; background: none; border-radius: 0; color: var(--aventurine); font-size: 1.1rem; top: -0.05em; left: 0.1rem; font-weight: 500; }

/* Section panel used for "mistakes" */
.prose-panel { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.6rem 1.7rem 0.4rem; margin: 2.4em 0; background: #fff; }
.prose-panel h2 { margin-top: 0; font-size: clamp(1.5rem, 2.3vw, 1.85rem); }

/* FAQ inside article */
.prose .faq-block { margin-top: 2.6em; }
.prose .faq-list { margin-top: 0.6rem; }
.prose .faq-item summary { font-weight: 500; color: var(--ink); gap: 1rem; line-height: 1.5; }
.prose .faq-item p { margin: 0.7rem 0 0.2rem; font-size: 0.96rem; }

/* Closing CTA */
.article-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--text-on-dark); border-radius: var(--radius-m); padding: clamp(1.6rem, 4vw, 2.4rem); margin: 2.8em 0 0.5em; }
.article-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(136,94,67,0.55), rgba(31,29,27,0) 70%); }
.article-cta h2 { color: var(--text-on-dark); margin: 0 0 0.7rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.article-cta p { color: var(--text-on-dark-muted); font-size: 0.96rem; }
.article-cta strong { color: var(--text-on-dark); }
.article-cta a:not(.btn) { color: var(--gold-fleck-light); border-bottom-color: rgba(227,199,172,0.5); }
.article-cta .cta-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--gold-fleck-light); margin: 0.4rem 0 1.3rem; line-height: 1.35; }
.article-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.prose .article-cta .btn { border-bottom: none; }
.prose .article-cta .btn-primary { color: var(--text-on-dark); }

/* Sidebar: related Pune services */
.aside-links { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.3rem 1.3rem 1.1rem; background: #fff; }
.aside-links h2 { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--aventurine); margin-bottom: 0.8rem; font-weight: 500; }
.aside-links ul { display: flex; flex-direction: column; gap: 0.55rem; }
.aside-links a { font-size: 0.85rem; color: var(--text); display: flex; justify-content: space-between; gap: 0.5rem; transition: color 0.3s var(--ease); }
.aside-links a::after { content: "\2192"; color: var(--gold-fleck); }
.aside-links a:hover { color: var(--aventurine); }
@media (max-width: 1024px) { .aside-links { display: none; } }
