/* blog-detail.css — Blog DETAIL pages (folder /blog/ ke andar wale package pages)
   global.css ke baad load hoti hai. */
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }
.bg-soft { background: var(--c-soft); }
.mt-1 { margin-top: 8px; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.blog-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.blog-card .blog-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--c-soft-2); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover img { transform: scale(1.05); }
.blog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--c-muted); font-weight: 600; }
.blog-meta .cat { color: var(--c-pink); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card h3 a::after { content: ""; position: absolute; inset: 0; }
.blog-card p { font-size: .94rem; color: var(--c-muted); }
.info-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px; }
.info-card h3 { margin-bottom: 8px; }
.info-card p { font-size: .95rem; color: var(--c-muted); }
.tick-list li, .cross-list li { position: relative; padding-left: 32px; }
.tick-list li + li, .cross-list li + li { margin-top: 10px; }
.tick-list li::before, .cross-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.tick-list li::before { background-color: #DCFCE7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2316A34A' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E"); }
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
.table-wrap table { min-width: 560px; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-line); }
.table-wrap th { background: var(--c-soft); color: var(--c-ink); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td strong { color: var(--c-ink); }
.author-box { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--c-soft); border: 1px solid var(--c-line); }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h3 { font-size: 1.1rem; }
.author-box p { font-size: .92rem; color: var(--c-muted); margin-top: 4px; }

@media (max-width: 1100px) {
    .pkg-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .pkg-grid, .blog-grid, .grid-4 { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; align-items: flex-start; }
}
.article-hero { padding: clamp(24px, 4vw, 48px) 0 0; }
.article-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px; font-size: .88rem; color: var(--c-muted); font-weight: 600; }
.article-meta img { width: 40px; height: 40px; border-radius: 50%; }
.article-meta a { color: var(--c-ink); font-weight: 700; }
.article-cover { margin-top: 28px; }
.article-cover img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16 / 8; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.answer-box { padding: 22px 24px; border-radius: var(--r-lg); background: var(--c-cream); border: 1px solid #FBE3CF; border-left: 5px solid var(--c-orange); }
.answer-box b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-pink); margin-bottom: 6px; }
.answer-box p { color: var(--c-ink-2); font-weight: 500; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-cta { padding: 24px; border-radius: var(--r-lg); background: var(--c-ink); color: #C9C9D2; }
.aside-cta h3 { color: #fff; }
.aside-cta p { font-size: .9rem; margin: 8px 0 16px; }
.aside-cta .btn { width: 100%; margin-top: 8px; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r-lg); background: var(--c-grad); color: #fff; margin: 32px 0; }
.inline-cta b { color: #fff; font-size: 1.1rem; }
.inline-cta p { color: rgba(255, 255, 255, .9); font-size: .92rem; margin: 2px 0 0; }

@media (max-width: 1100px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-aside { position: static; }
}

/* author line on article cards */
.blog-author { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-size: .84rem; color: var(--c-muted); text-decoration: none; width: fit-content; }
.blog-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--c-line); }
.blog-author b { color: var(--c-ink); font-weight: 700; }
.blog-author:hover b { color: var(--c-pink); }

/* ===== Google preferred source ===== */
.pref-src { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 14px; background: #fff; width: fit-content; max-width: 100%; }
.pref-src-txt { font-size: .86rem; color: var(--c-muted); font-weight: 600; }
.pref-src-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid #DADCE0; background: #fff; color: #1F1F1F !important; font-size: .86rem; font-weight: 700; text-decoration: none !important; transition: background .2s, border-color .2s; }
.pref-src-link:hover { background: #F8F9FA; border-color: #C4C7C5; }
.pref-src:has([google-add-preferred-source-btn] *) .pref-src-link { display: none; }
[google-add-preferred-source-btn]:empty { display: none; }

/* ===== reading time + table of contents ===== */
.am-read { display: inline-flex; align-items: center; gap: 6px; }
.am-read .ico { color: var(--c-pink); }
.post-toc { margin-top: 24px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-soft, #FBF8F5); }
.post-toc summary { display: flex; align-items: baseline; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 800; color: var(--c-ink); }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; align-self: center; }
.post-toc details[open] summary::after { transform: rotate(-135deg); }
.post-toc summary small { font-weight: 600; font-size: .8rem; color: var(--c-muted); }
.post-toc ol { counter-reset: toc; margin: 0; padding: 0 20px 16px; list-style: none; display: grid; gap: 2px; }
.post-toc li { counter-increment: toc; }
.post-toc a { display: flex; gap: 12px; padding: 7px 0; color: var(--c-ink-2, #333); font-weight: 600; font-size: .94rem; text-decoration: none; border-top: 1px dashed var(--c-line); }
.post-toc li:first-child a { border-top: 0; }
.post-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 24px; font-weight: 800; color: var(--c-pink); font-size: .82rem; padding-top: 2px; }
.post-toc a:hover { color: var(--c-pink); }
.prose h2[id], #faq { scroll-margin-top: calc(var(--header-h, 90px) + 20px); }
