/*
Theme Name:   E S Haji Blog
Theme URI:    https://eshaji.in/blogs/
Description:  Astra child theme that makes the /blogs/ section match the main eshaji.in website — same header, navigation, footer, hero and colours — with SEO-focused post templates (breadcrumbs, table of contents, author box, product links, quote CTA).
Author:       E S Haji & Co
Template:     astra
Version:      1.3.0
Text Domain:  eshaji-blog
*/

/* ========== Tokens (from eshaji.in product pages) ========== */
.esh-blog {
	--eb-green: #1D9E75;
	--eb-green-dark: #0F6E56;
	--eb-green-light: #E1F5EE;
	--eb-brand: #55BE75;
	--eb-steel: #1a2332;
	--eb-ink: #1b2430;
	--eb-text: #3f4752;
	--eb-muted: #6b7380;
	--eb-line: #e3e8ee;
	--eb-bg: #f5f8fa;
	--eb-radius: 10px;
	font-family: 'Inter', sans-serif;
	color: var(--eb-text);
	background: #fff;
}
.esh-blog .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.esh-blog .skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100000; background: #fff; padding: 10px 16px; left: 10px; top: 10px; }
.esh-blog .header-top .header-info-value a { color: inherit; }
.eb-wrap { max-width: 1170px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.eb-main { display: block; }
.eb-main *, .eb-main *::before, .eb-main *::after { box-sizing: border-box; }

/* ========== Shared type ========== */
.eb-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--eb-green); margin: 0 0 8px; }
.eb-eyebrow--light { color: #8fd9a4; }
.eb-h2 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 32px; line-height: 1.2; color: var(--eb-ink); margin: 0; }
.eb-h2 span { color: var(--eb-green); }
.eb-sec-head { margin: 0 0 28px; }
.eb-sec-head::after { content: ''; display: block; width: 60px; height: 3px; background: var(--eb-green); border-radius: 2px; margin-top: 14px; }

/* ========== Hero (extends main-site .esh-hero) ========== */
.esh-blog .esh-hero { background: linear-gradient(135deg, #0f1c2e 0%, #1a2f47 50%, #0d2218 100%); padding: 56px 0 56px; position: relative; overflow: hidden; }
.esh-blog .esh-hero::before { content: ''; position: absolute; top: -40%; right: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(85,190,117,.12) 0%, transparent 70%); pointer-events: none; }
.esh-blog .esh-hero-inner { max-width: 1170px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 58% 42%; gap: 40px; align-items: center; position: relative; }
.esh-blog .esh-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 50px; font-weight: 800; color: #fff; line-height: 1.08; margin: 0 0 16px; letter-spacing: -.3px; }
.esh-blog .esh-hero h1 span { color: var(--eb-brand); }
.esh-blog .esh-hero-badge { display: inline-block; background: rgba(85,190,117,.15); border: 1px solid rgba(85,190,117,.35); color: var(--eb-brand); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; border-radius: 3px; margin-bottom: 16px; }
.esh-blog .esh-hero-desc { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; margin: 0 0 24px; max-width: 620px; }
.esh-blog .esh-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.esh-blog .esh-stat-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 18px; }
.esh-blog .esh-stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 800; color: var(--eb-brand); line-height: 1; display: block; }
.esh-blog .esh-stat-lbl { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 6px; display: block; }
.eb-page-no { font-size: .5em; color: rgba(255,255,255,.6); font-weight: 600; }
.esh-blog .esh-btn-primary { background: var(--eb-green); color: #fff; padding: 13px 26px; border-radius: 6px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s; border: 0; }
.esh-blog .esh-btn-primary:hover { background: var(--eb-green-dark); color: #fff; transform: translateY(-1px); }
.esh-blog .esh-btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); padding: 11px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.esh-blog .esh-btn-outline:hover { border-color: var(--eb-brand); color: var(--eb-brand); }

.eb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 18px; color: rgba(255,255,255,.55); }
.eb-crumbs a { color: rgba(255,255,255,.75); }
.eb-crumbs a:hover { color: var(--eb-brand); }
.eb-crumbs i { font-size: 9px; opacity: .6; }
.eb-crumbs span { color: var(--eb-brand); }

.eb-search { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 6px 6px 6px 16px; max-width: 520px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.eb-search i { color: var(--eb-muted); }
.eb-search input { flex: 1; border: 0; outline: 0; padding: 10px 12px; font-size: 15px; font-family: inherit; color: var(--eb-ink); background: transparent; min-width: 0; }
.eb-search button { background: var(--eb-green); color: #fff; border: 0; border-radius: 6px; padding: 10px 20px; font-weight: 700; font-family: inherit; cursor: pointer; }
.eb-search button:hover { background: var(--eb-green-dark); }

/* ========== Topic chips ========== */
.eb-topics { background: var(--eb-steel); border-top: 1px solid rgba(255,255,255,.06); }
.eb-topics .eb-wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.eb-topics-lbl { color: rgba(255,255,255,.5); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-right: 6px; }
.eb-topic { color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.14); border-radius: 30px; padding: 6px 14px; font-size: 13px; font-weight: 600; transition: .2s; }
.eb-topic em { font-style: normal; opacity: .55; margin-left: 4px; }
.eb-topic:hover, .eb-topic.is-active { background: var(--eb-green); border-color: var(--eb-green); color: #fff; }

/* ========== Cards ========== */
.eb-section { padding: 56px 0; background: var(--eb-bg); }
.eb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.eb-card { background: #fff; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.eb-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,28,46,.10); border-color: #cfe9de; }
.eb-card-media { display: block; aspect-ratio: 16 / 9; background: var(--eb-green-light); overflow: hidden; }
.eb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.eb-card:hover .eb-card-media img { transform: scale(1.04); }
.eb-card-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 42px; color: var(--eb-green); }
.eb-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.eb-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--eb-muted); margin-bottom: 10px; }
.eb-chip { background: var(--eb-green-light); color: var(--eb-green-dark); font-weight: 700; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; }
.eb-card-title { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.eb-card-title a { color: var(--eb-ink); }
.eb-card-title a:hover { color: var(--eb-green); }
.eb-card-excerpt { font-size: 14.5px; line-height: 1.65; color: var(--eb-muted); margin: 0 0 16px; flex: 1; }
.eb-card-more { font-weight: 700; font-size: 14px; color: var(--eb-green); display: inline-flex; gap: 8px; align-items: center; }
.eb-card-more i { transition: transform .2s; font-size: 12px; }
.eb-card:hover .eb-card-more i { transform: translateX(4px); }

.eb-card--featured { flex-direction: row; margin-bottom: 52px; }
.eb-card--featured .eb-card-media { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; }
.eb-card--featured .eb-card-body { padding: 36px 38px; justify-content: center; }
.eb-card--featured .eb-card-title { font-size: 28px; font-weight: 800; }
.eb-card--featured .eb-card-excerpt { font-size: 16px; flex: 0; }
.eb-card--featured::before { content: 'Latest'; position: absolute; }
.eb-card--featured { position: relative; }
.eb-card--featured::before { top: 16px; left: 16px; background: var(--eb-green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; z-index: 2; }

.eb-inline-cta { grid-column: 1 / -1; background: linear-gradient(120deg, #0f1c2e, #13362a); color: #fff; border-radius: var(--eb-radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eb-inline-cta h3 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.eb-inline-cta p:not(.eb-eyebrow) { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }

/* Pagination */
.eb-pagination { margin-top: 44px; }
.eb-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.eb-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--eb-line); border-radius: 8px; background: #fff; color: var(--eb-ink); font-weight: 700; }
.eb-pagination .page-numbers.current, .eb-pagination a.page-numbers:hover { background: var(--eb-green); border-color: var(--eb-green); color: #fff; }
.eb-pagination .dots { border: 0; background: transparent; }
.eb-empty { text-align: center; padding: 40px 0; }

/* Products band */
.eb-products { padding: 56px 0; background: #fff; }
.eb-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eb-prod { border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; color: var(--eb-muted); font-size: 14px; transition: .25s; background: #fff; }
.eb-prod strong { color: var(--eb-ink); font-size: 18px; font-weight: 700; }
.eb-prod em { font-style: normal; color: var(--eb-green); font-weight: 700; margin-top: 10px; font-size: 14px; }
.eb-prod-ic { width: 52px; height: 52px; border-radius: 10px; background: var(--eb-green-light); color: var(--eb-green); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 10px; }
.eb-prod:hover { border-color: var(--eb-green); box-shadow: 0 14px 32px rgba(15,28,46,.08); transform: translateY(-3px); color: var(--eb-muted); }

/* ========== Single post ========== */
.eb-hero--post { padding: 48px 0 52px !important; }
.eb-post-head { position: relative; }
.eb-post-head h1, .eb-post-head .esh-hero-desc { max-width: 860px; }
.eb-post-head h1 { font-size: 48px !important; }
.eb-post-meta { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }
.eb-post-meta strong { color: #fff; }
.eb-avatar img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; display: block; }

.eb-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 0; padding-bottom: 56px; align-items: start; }
.eb-article { min-width: 0; }
.eb-feature-img { margin: -28px 0 30px; border-radius: var(--eb-radius); overflow: hidden; box-shadow: 0 20px 50px rgba(15,28,46,.18); position: relative; z-index: 2; background: var(--eb-green-light); }
.eb-feature-img img { width: 100%; height: auto; display: block; aspect-ratio: 1200 / 630; object-fit: cover; }
.eb-article:not(:has(.eb-feature-img)) { padding-top: 40px; }

/* Article typography */
.eb-content { font-size: 17.5px; line-height: 1.8; color: var(--eb-text); }
.eb-content > * { max-width: 100%; }
.eb-content p { margin: 0 0 1.3em; }
.eb-content a { color: var(--eb-green-dark); text-decoration: underline; text-decoration-color: rgba(29,158,117,.35); text-underline-offset: 3px; font-weight: 600; }
.eb-content a:hover { color: var(--eb-green); text-decoration-color: currentColor; }
.eb-content h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 800; color: var(--eb-ink); line-height: 1.25; margin: 1.9em 0 .7em; padding-top: 4px; scroll-margin-top: 100px; }
.eb-content h2::before { content: ''; display: block; width: 44px; height: 3px; background: var(--eb-green); border-radius: 2px; margin-bottom: 14px; }
.eb-content h3 { font-family: 'Inter', sans-serif; font-size: 21px; font-weight: 700; color: var(--eb-ink); margin: 1.6em 0 .5em; scroll-margin-top: 100px; }
.eb-content h4 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; color: var(--eb-ink); }
.eb-content ul, .eb-content ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.eb-content li { margin-bottom: .5em; }
.eb-content ul li::marker { color: var(--eb-green); }
.eb-content strong { color: var(--eb-ink); }
.eb-content img { max-width: 100%; height: auto; border-radius: 8px; }
.eb-content figure { margin: 1.8em 0; }
.eb-content figcaption { font-size: 14px; color: var(--eb-muted); text-align: center; margin-top: 8px; }
.eb-content blockquote { border-left: 4px solid var(--eb-green); background: var(--eb-green-light); margin: 1.8em 0; padding: 18px 24px; border-radius: 0 8px 8px 0; font-size: 17px; color: var(--eb-ink); }
.eb-content blockquote p:last-child { margin: 0; }
.eb-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
@media (max-width: 767px) { .eb-content table { display: block; overflow-x: auto; } }
.eb-content th { background: var(--eb-steel); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; white-space: nowrap; }
.eb-content td { padding: 11px 14px; border-bottom: 1px solid var(--eb-line); }
.eb-content tr:nth-child(even) td { background: var(--eb-bg); }
.eb-content code { background: var(--eb-bg); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
/* FAQ blocks (h3 questions under a FAQ heading / Rank Math FAQ block) */
.eb-content .rank-math-faq-item, .eb-content .schema-faq-section { border: 1px solid var(--eb-line); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.eb-content .rank-math-question, .eb-content .schema-faq-question { margin: 0 0 6px !important; font-size: 18px; }
.eb-content .rank-math-answer p:last-child { margin: 0; }
/* Hide plugin-injected "Related Posts" inside content — the theme renders its own */
.eb-content .yarpp-related, .eb-content .jp-relatedposts, .eb-content .uagb-post-grid { display: none; }

.eb-share { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--eb-line); border-bottom: 1px solid var(--eb-line); padding: 18px 0; margin: 36px 0; }
.eb-share span { font-weight: 700; color: var(--eb-ink); margin-right: 6px; font-size: 14px; }
.eb-share a, .eb-share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--eb-line); background: #fff; color: var(--eb-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; font-size: 15px; }
.eb-share a:hover, .eb-share button:hover, .eb-share button.is-copied { background: var(--eb-green); border-color: var(--eb-green); color: #fff; }

.eb-author { display: flex; gap: 20px; background: var(--eb-bg); border: 1px solid var(--eb-line); border-left: 4px solid var(--eb-green); border-radius: var(--eb-radius); padding: 24px; }
.eb-author img { width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 6px; object-fit: contain; flex: none; border: 1px solid var(--eb-line); }
.eb-author-name { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 800; color: var(--eb-ink); margin: 0 0 6px; }
.eb-author p:not(.eb-eyebrow) { font-size: 15px; line-height: 1.65; margin: 0 0 10px; }
.eb-author a { font-weight: 700; color: var(--eb-green); font-size: 14px; }

/* Sidebar */
.eb-sidebar { padding-top: 40px; }
.eb-sticky { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.eb-side-title { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--eb-ink); margin: 0 0 12px; }
.eb-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--eb-line); }
.eb-toc li { margin: 0; }
.eb-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.45; color: var(--eb-muted); transition: .15s; }
.eb-toc li.lvl-3 a { padding-left: 28px; font-size: 13px; }
.eb-toc a:hover { color: var(--eb-ink); }
.eb-toc a.is-active { color: var(--eb-green-dark); border-left-color: var(--eb-green); font-weight: 700; }
.eb-toc--desktop { background: #fff; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 20px; max-height: 46vh; overflow: auto; }
.eb-toc--mobile { display: none; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 14px 18px; margin-bottom: 26px; background: var(--eb-bg); }
.eb-toc--mobile summary { font-weight: 700; color: var(--eb-ink); cursor: pointer; }
.eb-toc--mobile ol { margin-top: 12px; }

.eb-quote-card { background: linear-gradient(150deg, #0f1c2e 0%, #1a2f47 60%, #0d2218 100%); color: #fff; border-radius: var(--eb-radius); padding: 24px; }
.eb-quote-card h3 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 21px; margin: 0 0 14px; }
.eb-quote-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.82); }
.eb-quote-card li { margin-bottom: 8px; }
.eb-quote-card li i { color: var(--eb-brand); margin-right: 8px; }
.eb-quote-card .esh-btn-primary { width: 100%; justify-content: center; }
.eb-wa { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; color: #8fd9a4; font-weight: 700; font-size: 14px; padding: 8px; }
.eb-wa:hover { color: #fff; }

.eb-side-products { background: #fff; border: 1px solid var(--eb-line); border-radius: var(--eb-radius); padding: 20px; }
.eb-side-products a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--eb-line); color: var(--eb-ink); font-weight: 600; font-size: 14.5px; }
.eb-side-products a:last-child { border-bottom: 0; }
.eb-side-products a i { color: var(--eb-green); font-size: 12px; transition: transform .2s; }
.eb-side-products a:hover { color: var(--eb-green); }
.eb-side-products a:hover i { transform: translateX(3px); }
.eb-calc span i { color: var(--eb-green); margin-right: 6px; transform: none !important; }

.eb-related { border-top: 1px solid var(--eb-line); }
.eb-page { padding: 48px 20px 60px; max-width: 860px; }

/* ========== Get-in-touch band (replaces old dark strip) ========== */
.eb-touch { background: #0f1c2e; background: linear-gradient(120deg, #0f1c2e 0%, #13362a 100%); padding: 48px 0; border-bottom: 3px solid var(--eb-brand); }
.eb-touch-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.eb-touch-title { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 36px; line-height: 1.1; margin: 0 0 8px; }
.eb-touch-sub { color: rgba(255,255,255,.72); margin: 0; font-size: 15px; max-width: 620px; }
.eb-touch-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.esh-blog .site-footer { position: relative !important; }
.esh-blog .footer-widget a { color: inherit; }

/* ========== Responsive ========== */
@media (max-width: 1199px) {
	.eb-post-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; }
}
@media (max-width: 991px) {
	.esh-blog .esh-hero-inner { grid-template-columns: 1fr; gap: 28px; }
	.esh-blog .esh-hero h1, .eb-post-head h1 { font-size: 38px !important; }
	.eb-grid { grid-template-columns: repeat(2, 1fr); }
	.eb-prod-grid { grid-template-columns: repeat(2, 1fr); }
	.eb-card--featured { flex-direction: column; }
	.eb-card--featured .eb-card-media { min-height: 0; aspect-ratio: 16/9; }
	.eb-card--featured .eb-card-body { padding: 24px; }
	.eb-post-layout { grid-template-columns: 1fr; }
	.eb-sidebar { padding-top: 0; }
	.eb-sticky { position: static; }
	.eb-toc--desktop { display: none; }
	.eb-toc--mobile { display: block; }
	.eb-touch-inner, .eb-inline-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
	.esh-blog .esh-hero { padding: 36px 0 40px; }
	.esh-blog .esh-hero h1, .eb-post-head h1 { font-size: 32px !important; }
	.esh-blog .esh-hero-stats { grid-template-columns: 1fr 1fr; }
	.esh-blog .esh-stat-num { font-size: 26px; }
	.eb-grid, .eb-prod-grid { grid-template-columns: 1fr; }
	.eb-h2 { font-size: 26px; }
	.eb-content { font-size: 16.5px; }
	.eb-content h2 { font-size: 24px; }
	.eb-card--featured .eb-card-title { font-size: 22px; }
	.eb-feature-img { margin-top: -18px; }
	.eb-author { flex-direction: column; }
	.eb-touch-title { font-size: 28px; }
	.eb-section, .eb-products { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { .eb-main * { transition: none !important; } }

/* ===== v1.1: title-only cards, no stats strip ===== */
.esh-blog .eb-hero--list .esh-hero-inner { grid-template-columns: 1fr; max-width: 1170px; }
.esh-blog .eb-hero--list .esh-hero-desc { max-width: 720px; }
.eb-card--title .eb-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.eb-card--title .eb-card-title { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--eb-ink); margin: 0; padding: 18px 22px 22px; transition: color .2s; }
.eb-card--title:hover .eb-card-title { color: var(--eb-green); }
.eb-card--title .eb-card-media { display: block; }
.eb-related .eb-card--title .eb-card-title { font-size: 17px; }
/* v1.2.2: bigger tap targets on breadcrumb links */
.eb-crumbs a { display: inline-block; padding: 4px 0; }

/* v1.2.2 responsive fixes */
.esh-blog .esh-hero-inner > * { min-width: 0; }               /* stop hero children forcing width */
.esh-blog .esh-hero-desc { overflow-wrap: anywhere; }
.eb-search { width: 100%; max-width: 520px; }
.eb-crumbs { overflow-wrap: anywhere; }
/* Mobile slide-out menu: scrollable, compact */
.esh-blog .hidden-sidebar { top: 0; bottom: 0; height: 100vh; height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
@media (max-width: 767px) {
	.esh-blog .hidden-sidebar .sidebar-content .navigation-box { margin: 40px 0 60px; }
	.esh-blog .hidden-sidebar .sidebar-content .navigation-box li a { font-size: 18px; }
	.esh-blog .hidden-sidebar .sidebar-content .navigation-box li ul.sub-menu li a { font-size: 16px; padding: 4px 0; }
	.eb-search { padding-left: 12px; }
	.eb-search input { padding: 10px 8px; font-size: 16px; }   /* 16px stops iOS zoom on focus */
	.eb-search button { padding: 10px 14px; }
	.esh-blog .esh-hero h1 { padding-right: 56px; }           /* keep clear of floating WhatsApp/Call buttons */
}
/* Main-site rule ".header.header-home-three + section { margin-top:-32px !important }" also hits the menu panel */
.esh-blog .header.header-home-three + section.hidden-sidebar { margin-top: 0 !important; }

/* v1.3.0 */
/* Astra's "scroll to top" arrow renders unstyled (bottom-left) because Astra CSS is not loaded */
.esh-blog #ast-scroll-top { display: none !important; }
/* Defensive: neutralise utility classes that pasted content may carry */
.eb-content .grid, .eb-content .contents, .eb-content .group, .eb-content [class*="grid-cols"] { display: block !important; }
.eb-content * { max-width: 100%; }
