/* We Hiring Hub: Blog का डिज़ाइन (सूची, कार्ड और लेख का पेज), सब स्क्रीन के लिए */

.whh-w--wide { max-width: 1200px; }

/* ───────── Blog की सूची ───────── */
.whh-blogbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.whh-blogbar .whh-pills { margin: 0; }
.whh-pills a {
	font: 500 14.5px var(--whh-font-body);
	color: var(--whh-text);
	background: var(--whh-white);
	border: 1px solid var(--whh-line);
	border-radius: 99px;
	padding: 8px 18px;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.whh-pills a:hover { border-color: var(--whh-navy); }
.whh-pills a.is-on { background: var(--whh-navy); color: var(--whh-white); border-color: var(--whh-navy); }
.whh-pills a:focus-visible { outline: 2px solid var(--whh-teal); outline-offset: 2px; }
.whh-blogsearch { display: flex; gap: 8px; }
.whh-blogsearch input[type="search"] {
	height: 44px;
	min-width: 240px;
	font: 400 15px var(--whh-font-body);
	color: var(--whh-text);
	background: var(--whh-white);
	border: 1px solid #D0D5DD;
	border-radius: var(--whh-radius);
	padding: 0 14px;
}
.whh-blogsearch input:focus { outline: 2px solid var(--whh-teal); outline-offset: 1px; border-color: var(--whh-teal); }
.whh .whh-blogsearch .whh-btn { height: 44px; padding: 0 22px; border: 0; cursor: pointer; }

/* कार्ड: फोटो हमेशा 16:9, इसलिए फोटो 1280×720 हो तो कहीं नहीं कटती */
.whh-bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.whh-bcard {
	background: var(--whh-white);
	border: 1px solid var(--whh-line);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .3s, box-shadow .3s, border-color .3s, opacity .7s;
}
.whh-bcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(11, 31, 58, .55); border-color: #CBD5E1; }
.whh-bcard__img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--whh-navy); overflow: hidden; }
.whh-bcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.whh-bcard__ph { display: grid; place-items: center; width: 100%; height: 100%; font: 600 56px var(--whh-font-head); color: var(--whh-gold); background: radial-gradient(420px 220px at 85% 0, rgba(15, 118, 110, .55), transparent 65%), var(--whh-navy); }
.whh-bcard__body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.whh-bcard__body .whh-tag { text-decoration: none; }
.whh-bcard h3 { font-size: 21px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.whh-bcard h3 a { text-decoration: none; }
.whh-bcard h3 a:hover { color: var(--whh-teal); }
.whh-bcard p { margin: 0; color: var(--whh-muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.whh-bcard__meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--whh-muted); }

/* सबसे ऊपर का बड़ा कार्ड (4 या ज़्यादा लेख होने पर) */
.whh-bcard.is-feat { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; margin-bottom: 28px; }
.whh-bcard.is-feat .whh-bcard__img { width: 100%; }
.whh-bcard.is-feat .whh-bcard__body { padding: 34px; }
.whh-bcard.is-feat h3 { font-size: clamp(26px, 2.6vw, 34px); -webkit-line-clamp: 4; }
.whh-bcard.is-feat p { font-size: 16.5px; -webkit-line-clamp: 4; }

/* admin के लिए Preview कार्ड */
.whh-bcard.is-preview { opacity: .78; border-style: dashed; }
.whh-bcard.is-preview:hover { transform: none; box-shadow: none; }
.whh-bcard.is-preview .whh-bcard__ph { filter: saturate(.6); }
.whh-bcard__ribbon { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .94); color: var(--whh-navy); font: 600 11.5px var(--whh-font-body); padding: 4px 10px; border-radius: 99px; }

/* पन्ने */
.whh-pager { margin-top: 36px; }
.whh-pager ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.whh-pager a, .whh-pager span { display: inline-block; min-width: 44px; text-align: center; padding: 9px 14px; border: 1px solid var(--whh-line); border-radius: var(--whh-radius); background: var(--whh-white); color: var(--whh-text); text-decoration: none; font-weight: 500; }
.whh-pager a:hover { border-color: var(--whh-navy); }
.whh-pager .current { background: var(--whh-navy); color: var(--whh-white); border-color: var(--whh-navy); }

/* ───────── लेख का पेज ───────── */
.whh-progressbar { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 10000; pointer-events: none; }
.whh-progressbar span { display: block; height: 100%; width: 0; background: var(--whh-gold); transition: width .1s linear; }

.whh-post__wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ऊपर की नेवी पट्टी */
.whh-post__hero {
	background:
		radial-gradient(700px 320px at 92% 0, rgba(15, 118, 110, .45), transparent 65%),
		radial-gradient(480px 260px at 0 100%, rgba(244, 181, 68, .10), transparent 70%),
		var(--whh-navy);
	color: var(--whh-white);
	padding: 48px 0 64px;
}
.whh-crumbs { font-size: 14px; color: #9FB0C6; margin-bottom: 18px; }
.whh-crumbs a { color: #C4CFDD; text-decoration: none; }
.whh-crumbs a:hover { color: var(--whh-white); text-decoration: underline; text-underline-offset: 3px; }
.whh-crumbs span { margin: 0 6px; }
.whh-post__cat { display: inline-block; background: var(--whh-gold); color: var(--whh-navy); font: 600 12.5px var(--whh-font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; text-decoration: none; margin-bottom: 14px; }
.whh-post__hero h1 { color: var(--whh-white); font-size: clamp(30px, 4.2vw, 48px); line-height: 1.15; max-width: 920px; margin: 0 0 18px; }
.whh-post__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 0; color: #C4CFDD; font-size: 14.5px; }
.whh-post__meta span + span::before { content: "•"; margin-right: 18px; color: var(--whh-gold); }

/* लेख और साइड की पट्टी: पूरी स्क्रीन का अच्छा इस्तेमाल */
.whh-post__page { background: var(--whh-bg); padding: 0 0 64px; }
.whh-post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.whh-post__article {
	background: var(--whh-white);
	border: 1px solid var(--whh-line);
	border-radius: 22px;
	box-shadow: 0 30px 50px -40px rgba(11, 31, 58, .5);
	padding: clamp(24px, 4.4vw, 56px);
	margin-top: -36px;
	position: relative;
	min-width: 0;
}
.whh-post__aside { position: sticky; top: 100px; display: grid; gap: 18px; margin-top: 28px; }
.admin-bar .whh-post__aside { top: 132px; }
.whh-aside__card { background: var(--whh-white); border: 1px solid var(--whh-line); border-radius: 18px; padding: 20px 22px; }
.whh-aside__card > b { display: block; font: 600 17px var(--whh-font-head); color: var(--whh-navy); margin-bottom: 12px; }
.whh-aside__share .whh-share { margin: 0; }
.whh-aside__cta { background: var(--whh-navy); border-color: var(--whh-navy); color: var(--whh-white); }
.whh-aside__cta h2 { color: var(--whh-white); font-size: 21px; margin-bottom: 8px; }
.whh-aside__cta p { margin: 0 0 16px; color: #C4CFDD; font-size: 14.5px; }
.whh-aside__cta .whh-btn { display: block; text-align: center; margin-bottom: 12px; }
.whh-aside__cta .whh-lk { display: block; text-align: center; }

/* विषय-सूची: साफ़ क्रम, मौजूदा हिस्सा चमकता है */
.whh-toc { font-size: 15px; }
.whh-toc__t { display: block; font: 600 17px var(--whh-font-head); color: var(--whh-navy); margin-bottom: 12px; }
.whh-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: whh-toc; border-left: 2px solid var(--whh-line); }
.whh-toc li { margin: 0; }
.whh-toc li.is-top { counter-increment: whh-toc; }
.whh-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--whh-text); text-decoration: none; line-height: 1.4; transition: color .2s, border-color .2s, background .2s; }
.whh-toc li.is-top > a::before { content: counter(whh-toc) ". "; color: var(--whh-teal); font-weight: 600; }
.whh-toc li.is-sub > a { padding-left: 32px; font-size: 14px; color: var(--whh-muted); }
.whh-toc a:hover { color: var(--whh-teal); }
.whh-toc a.is-active { color: var(--whh-navy); font-weight: 600; border-left-color: var(--whh-teal); background: linear-gradient(90deg, #E6F2F1, transparent); }

/* मोबाइल और टैबलेट पर विषय-सूची खुलने-बंद होने वाली */
.whh-tocm { display: none; background: var(--whh-bg); border: 1px solid var(--whh-line); border-radius: 14px; margin: 0 0 20px; padding: 0 18px; }
.whh-tocm summary { cursor: pointer; font: 600 17px var(--whh-font-head); color: var(--whh-navy); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; }
.whh-tocm summary::-webkit-details-marker { display: none; }
.whh-tocm summary::after { content: "+"; color: var(--whh-teal); font-size: 22px; line-height: 1; }
.whh-tocm[open] summary::after { content: "\2013"; }
.whh-tocm .whh-toc { padding: 0 0 14px; }
.whh-tocm .whh-toc__t { display: none; }

/* शेयर के बटन */
.whh-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; font-size: 14px; color: var(--whh-muted); }
.whh-share a, .whh-share__copy { font: 600 13.5px var(--whh-font-body); color: var(--whh-navy); background: var(--whh-bg); border: 1px solid var(--whh-line); border-radius: 99px; padding: 7px 14px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.whh-share a:hover, .whh-share__copy:hover { background: var(--whh-navy); color: var(--whh-white); border-color: var(--whh-navy); }
.whh-share a:focus-visible, .whh-share__copy:focus-visible { outline: 2px solid var(--whh-teal); outline-offset: 2px; }
.whh-share > span { display: none; }
.whh-share--top { display: none; }
.whh-share--bottom { margin-top: 32px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, #E6F2F1, #FFF7E6); }
.whh-share--bottom > b { display: block; font: 600 17px var(--whh-font-head); color: var(--whh-navy); margin-bottom: 12px; }
.whh-share--bottom .whh-share { margin: 0; }

/* लेख का पाठ: आराम से पढ़ने लायक और रंगीन */
.whh-article { font-size: 18.5px; line-height: 1.8; color: #2B3A52; max-width: 760px; }
.whh-article > *:first-child { margin-top: 0; }
.whh-article > p:first-of-type { font-size: 1.14em; line-height: 1.7; color: var(--whh-navy); }
.whh-article p { margin: 0 0 22px; }
.whh-article strong, .whh-article b { color: var(--whh-navy); }
.whh-article a { color: var(--whh-teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 500; }
.whh-article a:hover { color: var(--whh-teal-dark); background: #E6F2F1; }
.whh-article mark { background: linear-gradient(transparent 55%, rgba(244, 181, 68, .55) 55%); color: inherit; padding: 0 2px; }
.whh-article h2 { position: relative; font: 600 clamp(26px, 3vw, 32px)/1.2 var(--whh-font-head); color: var(--whh-navy); margin: 52px 0 18px; padding-left: 18px; scroll-margin-top: 110px; }
.whh-article h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 4px; background: linear-gradient(var(--whh-gold), var(--whh-teal)); }
.whh-article h3 { font: 600 22px/1.3 var(--whh-font-head); color: var(--whh-teal); margin: 36px 0 12px; scroll-margin-top: 110px; }
.whh-article h4 { font: 600 18px/1.4 var(--whh-font-body); color: var(--whh-navy); margin: 28px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.whh-article ul, .whh-article ol { margin: 0 0 24px; padding-left: 28px; }
.whh-article li { margin: 10px 0; padding-left: 4px; }
.whh-article ul li::marker { color: var(--whh-gold); font-size: 1.15em; }
.whh-article ol li::marker { color: var(--whh-teal); font-weight: 700; }
.whh-article img { max-width: 100%; height: auto; border-radius: 14px; }
.whh-article figure { margin: 32px 0; }
.whh-article figure img { box-shadow: 0 18px 36px -24px rgba(11, 31, 58, .5); }
.whh-article figcaption { font-size: 14px; color: var(--whh-muted); margin-top: 10px; text-align: center; }
.whh-article blockquote, .whh-article .wp-block-quote { position: relative; margin: 32px 0; padding: 22px 26px 22px 30px; border-left: 5px solid var(--whh-teal); background: #E6F2F1; border-radius: 0 16px 16px 0; color: var(--whh-navy); font-size: 1.04em; }
.whh-article blockquote p:last-child { margin-bottom: 0; }
.whh-article blockquote cite { display: block; margin-top: 10px; font-size: 14px; color: var(--whh-muted); font-style: normal; }
.whh-article .wp-block-pullquote { border: 0; border-top: 4px solid var(--whh-gold); border-bottom: 4px solid var(--whh-gold); padding: 26px 8px; margin: 40px 0; text-align: center; background: transparent; }
.whh-article .wp-block-pullquote p { font: 600 clamp(22px, 2.6vw, 28px)/1.35 var(--whh-font-head); color: var(--whh-navy); }
.whh-article table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 16px; display: block; overflow-x: auto; border-radius: 12px; }
.whh-article th { background: var(--whh-navy); color: var(--whh-white); font-weight: 600; }
.whh-article th, .whh-article td { border: 1px solid var(--whh-line); padding: 12px 16px; text-align: left; }
.whh-article tbody tr:nth-child(even) td { background: var(--whh-bg); }
.whh-article hr, .whh-article .wp-block-separator { border: 0; height: 4px; width: 72px; background: linear-gradient(90deg, var(--whh-gold), var(--whh-teal)); border-radius: 4px; margin: 44px 0; opacity: 1; }
.whh-article code { background: var(--whh-bg); padding: 2px 6px; border-radius: 6px; font-size: .92em; color: var(--whh-navy); }
.whh-article pre { background: var(--whh-navy); color: #E5E7EB; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 15px; }
.whh-article pre code { background: none; color: inherit; padding: 0; }
.whh-article .wp-block-button__link, .whh-article .wp-element-button { background: var(--whh-teal); color: var(--whh-white); border-radius: var(--whh-radius); padding: 12px 24px; font: 600 16px var(--whh-font-body); text-decoration: none; }
.whh-article .wp-block-button__link:hover { background: var(--whh-teal-dark); color: var(--whh-white); }

/* रंगीन बॉक्स: Group या Paragraph ब्लॉक में “Additional CSS class(es)” में नीचे वाले नाम लिखो */
.whh-callout { margin: 30px 0; padding: 20px 24px; border-radius: 16px; border: 1px solid; border-left-width: 6px; font-size: .98em; }
.whh-callout > *:last-child { margin-bottom: 0; }
.whh-callout { background: #E6F2F1; border-color: var(--whh-teal); color: #0B4F49; }
.whh-callout--tip { background: #ECFDF3; border-color: #12B76A; color: #05603A; }
.whh-callout--warn { background: #FFF7E6; border-color: var(--whh-gold); color: #7A4B00; }
.whh-callout--alert { background: #FEF3F2; border-color: #F04438; color: #912018; }
.whh-callout--note { background: #EEF2FF; border-color: #6172F3; color: #2D31A6; }

.whh-post__tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; max-width: 760px; }
.whh-post__tags span { background: var(--whh-bg); border: 1px solid var(--whh-line); border-radius: 99px; padding: 4px 12px; font-size: 13.5px; color: var(--whh-muted); }
.whh-author { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--whh-line); margin-top: 32px; padding-top: 24px; max-width: 760px; }
.whh-author__av { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--whh-navy); color: var(--whh-gold); font: 600 22px var(--whh-font-head); }
.whh-author b { font: 600 18px var(--whh-font-head); color: var(--whh-navy); }
.whh-author p { margin: 4px 0 0; color: var(--whh-muted); font-size: 15px; }

/* ───────── अलग-अलग स्क्रीन ───────── */
@media (min-width: 1500px) {
	.whh-post__wrap, .whh-w--wide { max-width: 1320px; }
	.whh-post__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
}
/* छोटा लैपटॉप और टैबलेट */
@media (max-width: 1100px) {
	.whh-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
	.whh-post__layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.whh-post__aside { position: static; margin-top: 24px; grid-template-columns: 1fr 1fr; }
	.whh-aside__card:first-child:not(.whh-aside__share):not(.whh-aside__cta) { display: none; }
	.whh-tocm { display: block; }
	.whh-share--top { display: block; }
	.whh-share--top .whh-share { margin-bottom: 18px; }
	.whh-bcard.is-feat { grid-template-columns: 1fr; }
	.whh-bcard.is-feat .whh-bcard__body { padding: 24px; }
	.whh-blogsearch { width: 100%; }
	.whh-blogsearch input[type="search"] { min-width: 0; flex: 1; }
}
/* फ़ोन */
@media (max-width: 640px) {
	.whh-bgrid { grid-template-columns: minmax(0, 1fr); }
	.whh-post__wrap { padding: 0 14px; }
	.whh-post__hero { padding: 32px 0 54px; }
	.whh-post__article { border-radius: 16px; padding: 22px 18px; margin-top: -28px; }
	.whh-post__aside { grid-template-columns: 1fr; }
	.whh-article { font-size: 17px; line-height: 1.75; }
	.whh-article h2 { margin-top: 40px; }
	.whh-author { align-items: flex-start; }
	.whh-pills { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; width: 100%; }
	.whh-pills a { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
	.whh-bcard, .whh-progressbar span, .whh-toc a { transition: none; }
}
