/* ============================================================
   pages.css
   Shared styling for the secondary content pages:
   /about-us/, /reviews/, /events/, /faq/, /speakup/,
   /terms-and-conditions/, /privacy-policy/, /refund-policy/.

   Conditionally enqueued for those slugs via inc/enqueue.php.
   ============================================================ */

/* ---------- Page hero (shared) ---------- */
.skg-page-hero {
	background: #fff;
	padding: 80px 28px 56px;
	border-bottom: 1px solid #e6e9f0;
}
.skg-page-hero-inner {
	max-width: var(--skg-maxw); margin-inline: auto;
	text-align: center;
}
.skg-page-eyebrow {
	display: inline-block;
	font-size: .78rem; font-weight: 800; letter-spacing: .18em;
	text-transform: uppercase; color: var(--skg-blue-deep);
	background: var(--skg-blue-soft, #e7f2fb);
	padding: 6px 14px; border-radius: 999px;
	margin-bottom: 18px;
}
.skg-page-title {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900;
	letter-spacing: -.03em; line-height: 1.05;
	color: var(--skg-navy); margin: 0 0 16px;
}
.skg-page-lede {
	font-size: 1.1rem; line-height: 1.55; color: #4a5468;
	max-width: 680px; margin: 0 auto;
}

/* ---------- Prose body (legal pages, simple content) ---------- */
.skg-prose-section {
	background: #fafbfd; padding: 64px 28px 80px;
}
.skg-prose {
	max-width: 800px; margin-inline: auto;
	background: #fff; padding: 56px 56px 48px;
	border: 1px solid #e6e9f0; border-radius: 14px;
	box-shadow: 0 4px 24px rgba(34,45,64,.04);
	color: #2c3548;
	font-size: 1rem; line-height: 1.7;
}
.skg-prose h2 {
	font-size: 1.4rem; font-weight: 900; letter-spacing: -.01em;
	color: var(--skg-navy); margin: 40px 0 12px;
	padding-top: 28px; border-top: 1px solid #e6e9f0;
	text-transform: uppercase; font-size: .96rem; letter-spacing: .08em;
}
.skg-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.skg-prose h3 {
	font-size: 1.05rem; font-weight: 800;
	color: var(--skg-navy); margin: 28px 0 10px;
}
.skg-prose p { margin: 0 0 14px; }
.skg-prose ul { margin: 0 0 16px; padding-left: 22px; }
.skg-prose ul li { margin-bottom: 8px; }
.skg-prose ul li strong { color: var(--skg-navy); }
.skg-prose a { color: var(--skg-blue-deep); text-decoration: underline; }
.skg-prose a:hover { color: var(--skg-orange); }
.skg-prose strong { color: var(--skg-navy); }

.skg-prose-updated {
	display: inline-block;
	font-size: .82rem; color: #6c7790;
	margin-bottom: 28px;
	padding-bottom: 18px; border-bottom: 1px dashed #d6dbe6;
}

/* ---------- FAQ page (accordion) ---------- */
.skg-faq-section { padding: 64px 28px 80px; background: #fafbfd; }
.skg-faq-wrap { max-width: 880px; margin-inline: auto; }
.skg-faq-cat {
	font-size: .82rem; font-weight: 800; letter-spacing: .14em;
	color: var(--skg-blue-deep); text-transform: uppercase;
	margin: 48px 0 16px;
}
.skg-faq-cat:first-of-type { margin-top: 0; }
.skg-faq details {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 12px;
	padding: 18px 22px; margin-bottom: 12px;
	transition: border-color .15s, box-shadow .15s;
}
.skg-faq details[open] {
	border-color: var(--skg-navy);
	box-shadow: 0 4px 16px rgba(34,45,64,.06);
}
.skg-faq summary {
	font-weight: 800; color: var(--skg-navy); cursor: pointer;
	list-style: none; display: flex; justify-content: space-between;
	align-items: flex-start; gap: 16px; font-size: 1rem; line-height: 1.4;
}
.skg-faq summary::-webkit-details-marker { display: none; }
.skg-faq summary::after {
	content: "+"; font-size: 1.4rem; font-weight: 700; color: var(--skg-orange);
	transition: transform .2s; line-height: 1; flex-shrink: 0;
}
.skg-faq details[open] summary::after { transform: rotate(45deg); }
.skg-faq-a { margin: 12px 0 0; color: #4a5468; line-height: 1.6; }
.skg-faq-a p { margin: 0 0 10px; }
.skg-faq-a p:last-child { margin-bottom: 0; }

/* ---------- About-us ---------- */
.skg-about-section { padding: 80px 28px; }
.skg-about-section--alt { background: #fafbfd; }
.skg-about-inner { max-width: var(--skg-maxw); margin-inline: auto; }
.skg-about-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.skg-about-head .skg-page-eyebrow { display: inline-block; margin-bottom: 14px; }
.skg-about-head h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 900;
	letter-spacing: -.02em; color: var(--skg-navy); margin: 0 0 14px;
}
.skg-about-head p { font-size: 1.05rem; line-height: 1.55; color: #4a5468; margin: 0; }

.skg-team-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.skg-team-card {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	padding: 24px; text-align: left;
}
.skg-team-avatar {
	width: 60px; height: 60px; border-radius: 50%;
	background: var(--skg-navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em;
	margin-bottom: 16px;
}
.skg-team-card h3 {
	font-size: 1.05rem; font-weight: 900; color: var(--skg-navy);
	margin: 0 0 4px;
}
.skg-team-role {
	font-size: .82rem; font-weight: 700; color: var(--skg-orange);
	text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px;
}
.skg-team-bio { font-size: .92rem; line-height: 1.5; color: #4a5468; margin: 0; }

.skg-timeline {
	max-width: 760px; margin-inline: auto;
	display: grid; gap: 28px;
}
.skg-timeline-item {
	display: grid; grid-template-columns: 120px 1fr; gap: 28px;
	padding: 24px 28px; background: #fff;
	border: 1px solid #e6e9f0; border-radius: 14px;
	border-left: 4px solid var(--skg-orange);
}
.skg-timeline-year {
	font-size: 1.6rem; font-weight: 900; color: var(--skg-blue-deep);
	letter-spacing: -.02em;
}
.skg-timeline-body h3 {
	font-size: 1.1rem; font-weight: 900; color: var(--skg-navy);
	margin: 0 0 8px;
}
.skg-timeline-body p { color: #4a5468; line-height: 1.55; margin: 0; }

/* ---------- Reviews ---------- */
.skg-reviews-section { padding: 64px 28px 80px; background: #fafbfd; }
.skg-reviews-inner { max-width: var(--skg-maxw); margin-inline: auto; }
.skg-reviews-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
	margin-top: 40px;
}
.skg-review-card {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	padding: 28px;
}
.skg-review-stars { color: var(--skg-orange); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.skg-review-quote {
	color: #2c3548; line-height: 1.6; font-size: .98rem;
	margin: 0 0 18px;
}
.skg-review-author {
	display: flex; align-items: center; gap: 12px;
	padding-top: 16px; border-top: 1px solid #e6e9f0;
}
.skg-review-avatar {
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--skg-blue); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.skg-review-author-meta strong { color: var(--skg-navy); font-weight: 800; display: block; font-size: .92rem; }
.skg-review-author-meta span { font-size: .82rem; color: #6c7790; }

/* Alumni-story cards - bigger than the Google-review cards because
   each carries a multi-sentence testimonial + a real photo. */
.skg-alumni-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
	margin-top: 40px;
}
.skg-alumni-card {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	padding: 32px; display: flex; flex-direction: column; gap: 16px;
	transition: border-color .15s, box-shadow .15s;
}
.skg-alumni-card:hover {
	border-color: var(--skg-navy);
	box-shadow: 0 6px 20px rgba(34,45,64,.06);
}
.skg-alumni-head {
	display: flex; align-items: center; gap: 16px;
}
.skg-alumni-photo {
	width: 72px; height: 72px; border-radius: 50%;
	overflow: hidden; flex-shrink: 0;
	border: 3px solid var(--skg-orange);
}
.skg-alumni-photo img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.skg-alumni-meta strong {
	color: var(--skg-navy); font-weight: 900; display: block;
	font-size: 1.05rem; letter-spacing: -.01em;
}
.skg-alumni-meta span {
	font-size: .82rem; color: var(--skg-blue-deep); font-weight: 700;
	text-transform: uppercase; letter-spacing: .08em;
}
.skg-alumni-body {
	color: #2c3548; line-height: 1.6; font-size: .98rem; margin: 0;
}
.skg-alumni-body em {
	display: block; color: #4a5468; font-style: italic;
	border-left: 3px solid var(--skg-orange);
	padding-left: 14px; margin: 14px 0;
}

.skg-reviews-cta {
	text-align: center; margin-top: 48px;
}
.skg-reviews-cta a {
	display: inline-block;
	padding: 12px 24px; background: #fff;
	border: 2px solid var(--skg-navy); color: var(--skg-navy);
	border-radius: 999px; font-weight: 800;
	text-decoration: none; transition: all .15s;
}
.skg-reviews-cta a:hover {
	background: var(--skg-navy); color: #fff; transform: translateY(-2px);
}

/* ---------- Events ---------- */
.skg-events-section { padding: 64px 28px 80px; }
.skg-events-inner { max-width: var(--skg-maxw); margin-inline: auto; }
.skg-events-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
	margin-top: 40px;
}
.skg-event-card {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: border-color .15s, box-shadow .15s;
}
.skg-event-card:hover {
	border-color: var(--skg-navy);
	box-shadow: 0 6px 20px rgba(34,45,64,.06);
}
.skg-event-img {
	aspect-ratio: 16 / 10; overflow: hidden; background: #f3f5fa;
}
.skg-event-img img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Brand-logo variant (e.g. NextGenHR): show the logo contained on a
   clean panel instead of a cropped cover photo. Whole card is a link. */
a.skg-event-card { text-decoration: none; color: inherit; }
.skg-event-img--brand { display: grid; place-items: center; background: #fff; }
.skg-event-img--brand img { width: auto; height: auto; max-width: 72%; max-height: 58%; object-fit: contain; }
.skg-event-body {
	padding: 28px 32px 30px; display: flex; flex-direction: column; gap: 14px;
	flex: 1;
}
.skg-event-tag {
	display: inline-block; align-self: flex-start;
	font-size: .76rem; font-weight: 800; letter-spacing: .12em;
	text-transform: uppercase; color: #fff;
	background: var(--skg-orange);
	padding: 6px 12px; border-radius: 999px;
}
.skg-event-card h3 {
	font-size: 1.4rem; font-weight: 900; color: var(--skg-navy);
	margin: 0; letter-spacing: -.01em;
}
.skg-event-body { color: #4a5468; line-height: 1.55; margin: 0; }
.skg-event-meta {
	display: flex; gap: 14px; flex-wrap: wrap;
	font-size: .88rem; color: #6c7790;
	padding-top: 14px; border-top: 1px solid #e6e9f0;
	margin-top: auto;
}
.skg-event-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- SpeakUp ---------- */
.skg-speakup-hero {
	background: linear-gradient(135deg, var(--skg-navy) 0%, var(--skg-blue-deep) 100%);
	color: #fff;
	padding: 96px 28px 80px;
	text-align: center;
}
.skg-speakup-hero .skg-page-eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.skg-speakup-hero h1 {
	font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900;
	letter-spacing: -.03em; line-height: 1.05;
	margin: 0 0 18px; color: #fff;
}
.skg-speakup-hero p {
	font-size: 1.15rem; line-height: 1.55; opacity: .92;
	max-width: 720px; margin: 0 auto;
}
.skg-speakup-meta {
	display: inline-flex; align-items: center; gap: 18px;
	margin-top: 24px;
	background: rgba(255,255,255,.1); padding: 10px 20px;
	border-radius: 999px; font-weight: 700;
}

.skg-pillars-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	margin-top: 40px;
}
.skg-pillar {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	padding: 28px 24px; text-align: center;
}
.skg-pillar-ico {
	width: 56px; height: 56px;
	background: var(--skg-orange-soft, #fdeede); color: var(--skg-orange);
	border-radius: 14px;
	display: inline-flex; align-items: center; justify-content: center;
	margin: 0 auto 16px;
}
.skg-pillar h3 {
	font-size: 1rem; font-weight: 900; color: var(--skg-navy);
	margin: 0 0 8px;
}
.skg-pillar p { font-size: .9rem; line-height: 1.5; color: #4a5468; margin: 0; }

.skg-activities-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
	margin-top: 40px;
}
.skg-activity {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	padding: 28px; display: flex; gap: 20px; align-items: flex-start;
}
.skg-activity-date {
	flex-shrink: 0;
	background: var(--skg-navy); color: #fff;
	border-radius: 12px; padding: 14px 18px; text-align: center;
	min-width: 88px;
}
.skg-activity-date b {
	display: block; font-size: 1.6rem; font-weight: 900; line-height: 1;
	letter-spacing: -.02em;
}
.skg-activity-date span {
	display: block; font-size: .72rem; font-weight: 700; opacity: .8;
	text-transform: uppercase; letter-spacing: .12em; margin-top: 4px;
}
.skg-activity-body h3 {
	font-size: 1.05rem; font-weight: 900; color: var(--skg-navy);
	margin: 0 0 6px;
}
.skg-activity-body p { font-size: .92rem; line-height: 1.55; color: #4a5468; margin: 0; }
.skg-activity-when { font-size: .82rem; color: var(--skg-blue-deep); font-weight: 700; margin-top: 8px !important; }

/* ---------- Page CTA strip (shared) ---------- */
.skg-page-cta {
	padding: 64px 28px;
	background: var(--skg-navy); color: #fff;
	text-align: center;
}
.skg-page-cta h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900;
	letter-spacing: -.02em; margin: 0 0 14px;
}
.skg-page-cta p { font-size: 1rem; line-height: 1.55; opacity: .88; max-width: 560px; margin: 0 auto 28px; }
.skg-page-cta-buttons { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.skg-page-cta-buttons a {
	display: inline-block;
	padding: 14px 28px; border-radius: 999px;
	font-weight: 900; text-decoration: none;
	transition: transform .15s, background .15s;
}
.skg-page-cta-buttons a.skg-btn-primary {
	background: var(--skg-orange); color: var(--skg-navy);
}
.skg-page-cta-buttons a.skg-btn-secondary {
	background: transparent; color: #fff; border: 2px solid #fff;
}
.skg-page-cta-buttons a:hover { transform: translateY(-2px); }

/* ---------- Blog category filters (top of /blog/ + archives) ---------- */
.skg-blog-filters {
	max-width: var(--skg-maxw); margin: 0 auto;
	padding: 32px 28px 8px;
	display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.skg-blog-filters a {
	display: inline-block; padding: 9px 18px;
	background: #fff; border: 1.5px solid #e6e9f0; border-radius: 999px;
	color: var(--skg-navy); font-weight: 700; font-size: .9rem;
	text-decoration: none; transition: all .15s;
}
.skg-blog-filters a:hover {
	border-color: var(--skg-navy);
	transform: translateY(-1px);
}
.skg-blog-filters a.is-active {
	background: var(--skg-navy); color: #fff; border-color: var(--skg-navy);
}

/* ---------- Blog index (post-card grid) ---------- */
.skg-blog-index .wp-block-query {
	max-width: var(--skg-maxw); margin-inline: auto !important;
	padding: 0 28px;
}
.skg-blog-index .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px !important;
	list-style: none; padding: 0; margin: 0;
}
.skg-blog-index .wp-block-post-template > li {
	background: #fff;
	border: 1px solid #e6e9f0; border-radius: 14px;
	overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
	display: flex; flex-direction: column;
	/* Kill WordPress's flow-layout blockGap. WP thinks this list is a
	   flow layout and injects `margin-top: 24px` on every child except
	   the first; but the theme renders it as a CSS grid that already
	   spaces rows with `gap`. The stray margin lifted the first card
	   24px above its row-mates. Spacing is the grid's `gap`, so the
	   per-item top margin must be zero. */
	margin-top: 0 !important;
}
.skg-blog-index .wp-block-post-template > li:hover {
	border-color: var(--skg-navy);
	box-shadow: 0 6px 20px rgba(34,45,64,.06);
}
.skg-blog-index .wp-block-post-featured-image {
	margin: 0 !important;
}
.skg-blog-index .wp-block-post-featured-image img {
	aspect-ratio: 16 / 10; object-fit: cover;
	width: 100%; height: auto; display: block;
}
.skg-blog-index .wp-block-post-featured-image--placeholder {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--skg-blue) 0%, var(--skg-blue-deep) 100%);
	display: block;
}
.skg-blog-card-body {
	padding: 22px 24px 24px; display: flex; flex-direction: column;
	flex: 1; gap: 10px;
}
.skg-blog-card-body .wp-block-post-terms {
	font-size: .76rem; font-weight: 800; letter-spacing: .12em;
	text-transform: uppercase; color: var(--skg-blue-deep);
	margin: 0;
}
.skg-blog-card-body .wp-block-post-title {
	font-size: 1.2rem; font-weight: 900; line-height: 1.25;
	letter-spacing: -.02em; color: var(--skg-navy);
	margin: 0;
}
.skg-blog-card-body .wp-block-post-title a {
	color: var(--skg-navy); text-decoration: none;
}
.skg-blog-card-body .wp-block-post-title a:hover { color: var(--skg-orange); }
.skg-blog-card-body .wp-block-post-excerpt {
	font-size: .92rem; line-height: 1.55; color: #4a5468;
	margin: 0;
}
.skg-blog-card-body .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.skg-blog-card-body .wp-block-post-excerpt__more-link { display: none; }
.skg-blog-card-body .wp-block-post-date {
	font-size: .82rem; color: #6c7790;
	margin: 0;
}

.skg-blog-pagination {
	max-width: var(--skg-maxw); margin: 48px auto 0 !important;
	padding: 0 28px;
	display: flex !important; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.skg-blog-pagination .wp-block-query-pagination-previous,
.skg-blog-pagination .wp-block-query-pagination-next,
.skg-blog-pagination .page-numbers {
	display: inline-block; padding: 10px 16px;
	background: #fff; border: 1px solid #e6e9f0; border-radius: 999px;
	color: var(--skg-navy); font-weight: 700; text-decoration: none;
	min-width: 44px; text-align: center;
	transition: all .15s;
}
.skg-blog-pagination .page-numbers.current {
	background: var(--skg-navy); color: #fff; border-color: var(--skg-navy);
}
.skg-blog-pagination a:hover {
	background: var(--skg-navy); color: #fff; border-color: var(--skg-navy);
}

/* ---------- Single blog post ---------- */
.skg-blog-single-hero {
	background: var(--skg-navy);
	color: #fff;
	padding: 64px 28px 56px;
	text-align: center;
}
.skg-blog-single-hero-inner {
	max-width: 820px; margin-inline: auto;
}
.skg-blog-single-hero .wp-block-post-terms,
.skg-blog-single-hero .skg-blog-cat {
	display: inline-block; font-size: .78rem; font-weight: 800;
	letter-spacing: .18em; text-transform: uppercase;
	color: var(--skg-orange);
	margin: 0 0 18px;
}
.skg-blog-single-hero .wp-block-post-title {
	font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
	letter-spacing: -.025em; line-height: 1.1;
	color: #fff !important; margin: 0 0 18px;
}
.skg-blog-single-hero .wp-block-post-date {
	font-size: .92rem; color: rgba(255,255,255,.7);
	margin: 0;
}

.skg-blog-single-featured {
	max-width: 980px; margin: -32px auto 0;
	padding: 0 28px; position: relative; z-index: 2;
}
.skg-blog-single-featured img {
	border-radius: 16px; box-shadow: 0 12px 32px rgba(34,45,64,.16);
	width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover;
}

.skg-blog-body {
	max-width: 780px; margin: 56px auto 0;
	padding: 0 28px 80px;
	font-size: 1.05rem; line-height: 1.75; color: #2c3548;
}
.skg-blog-body p { margin: 0 0 18px; }
.skg-blog-body h2 {
	font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em;
	color: var(--skg-navy); margin: 36px 0 14px;
}
.skg-blog-body h3 {
	font-size: 1.25rem; font-weight: 900;
	color: var(--skg-navy); margin: 28px 0 10px;
}
.skg-blog-body a {
	color: var(--skg-blue-deep); text-decoration: underline;
}
.skg-blog-body a:hover { color: var(--skg-orange); }
.skg-blog-body ul, .skg-blog-body ol { margin: 0 0 20px; padding-left: 22px; }
.skg-blog-body img { border-radius: 12px; max-width: 100%; height: auto; }
.skg-blog-body blockquote {
	border-left: 4px solid var(--skg-orange);
	padding: 6px 0 6px 22px; margin: 24px 0;
	font-style: italic; color: #4a5468;
}
.skg-blog-body pre, .skg-blog-body code {
	background: #f3f5fa; border-radius: 6px; padding: 2px 6px;
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
	font-size: .92em;
}
.skg-blog-body pre {
	padding: 18px; overflow-x: auto;
}

/* --- Hide leftover Elementor / Premium Addons TOC widget HTML ---
   The blog posts were originally built in Elementor and the TOC
   widget's rendered HTML is sitting in post_content with no useful
   data inside (it relied on Elementor JS to populate the list at
   runtime). Hide the whole orphan block. A fresh, theme-built TOC
   (`.skg-post-toc`) is inserted client-side by the script in
   templates/single.html. */
.skg-blog-body .elementor-widget-table-of-contents,
.skg-blog-body .elementor-toc,
.skg-blog-body .premium-toc-container,
.skg-blog-body .pa-toc-container,
.skg-blog-body [class*="-toc-container"],
.skg-blog-body [class*="table-of-contents"] {
	display: none !important;
}

/* --- Theme-built Table of Contents (JS-generated on each post) ---
   The script in templates/single.html scans for H2/H3 headings in
   the article body, builds an ordered list, and inserts it as the
   first child of .skg-blog-body. No plugin required. */
.skg-post-toc {
	background: #f5f7fa;
	border: 1px solid #e6e9f0;
	border-radius: 12px;
	padding: 24px 28px;
	margin: 0 0 36px;
}
.skg-post-toc-title {
	font-size: 1rem !important;
	font-weight: 800 !important;
	color: var(--skg-navy) !important;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin: 0 0 14px !important;
	padding: 0 0 12px !important;
	border-bottom: 1px solid #e6e9f0;
}
.skg-post-toc-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	counter-reset: toc;
}
.skg-post-toc-list li {
	margin: 8px 0;
	padding-left: 26px;
	position: relative;
	font-size: .95rem;
	line-height: 1.45;
}
.skg-post-toc-list li::before {
	counter-increment: toc;
	content: counter(toc) ".";
	position: absolute; left: 0; top: 0;
	color: var(--skg-orange);
	font-weight: 800;
}
.skg-post-toc-list li.is-sub {
	padding-left: 42px;
	font-size: .9rem;
	margin: 4px 0;
}
.skg-post-toc-list li.is-sub::before {
	left: 22px;
	color: #6c7790;
	font-weight: 700;
}
.skg-post-toc-list a {
	color: var(--skg-navy);
	text-decoration: none;
	font-weight: 600;
}
.skg-post-toc-list a:hover {
	color: var(--skg-orange);
	text-decoration: underline;
}

/* --- Defensive icon caps + icon-font kill ---
   Aggressive: hide every Font Awesome / Elementor / Premium icon
   left behind by removed widgets in blog post content. There is no
   legitimate use of <i class="fa-..."> in clean article copy, and
   without the icon font / Elementor CSS these tags either render as
   ugly fallback glyphs or as oversized inline SVGs. */
.skg-blog-body i.fa,
.skg-blog-body i.fas,
.skg-blog-body i.far,
.skg-blog-body i.fal,
.skg-blog-body i.fab,
.skg-blog-body i[class*="fa-"],
.skg-blog-body i[class*="elementor-icon"],
.skg-blog-body i[class*="edubin-icon"],
.skg-blog-body i[class*="premium-"],
.skg-blog-body span.elementor-icon,
.skg-blog-body span[class*="e-font-icon"],
.skg-blog-body svg.e-font-icon-svg,
.skg-blog-body svg[class*="e-font-icon"] {
	display: none !important;
}
.skg-blog-body svg:not(.wp-block-image svg) {
	max-width: 32px;
	max-height: 32px;
	width: auto;
	height: auto;
}

/* --- Back-to-Blog link in the single-post hero --- */
.skg-blog-back {
	display: inline-flex; align-items: center; gap: 8px;
	color: rgba(255,255,255,.7); text-decoration: none;
	font-size: .88rem; font-weight: 600;
	margin-bottom: 18px;
	transition: color .15s, transform .15s;
}
.skg-blog-back:hover {
	color: var(--skg-orange);
	transform: translateX(-2px);
}

/* --- Related posts grid (rendered by [skg_related_posts]) --- */
.skg-related {
	background: #fafbfd;
	padding: 56px 28px 72px;
	border-top: 1px solid #e6e9f0;
}
.skg-related-inner { max-width: var(--skg-maxw); margin-inline: auto; }
.skg-related-title {
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	font-weight: 900; letter-spacing: -.02em;
	color: var(--skg-navy); margin: 0 0 28px; text-align: center;
}
.skg-related-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.skg-related-card {
	background: #fff; border: 1px solid #e6e9f0; border-radius: 14px;
	overflow: hidden; text-decoration: none; color: inherit;
	display: flex; flex-direction: column;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.skg-related-card:hover {
	border-color: var(--skg-navy);
	box-shadow: 0 6px 20px rgba(34,45,64,.06);
	transform: translateY(-2px);
}
.skg-related-thumb {
	aspect-ratio: 16 / 10; overflow: hidden; background: #f3f5fa;
}
.skg-related-thumb img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.skg-related-thumb--placeholder {
	background: linear-gradient(135deg, var(--skg-blue) 0%, var(--skg-blue-deep) 100%);
}
.skg-related-body {
	padding: 18px 22px 22px; display: flex; flex-direction: column;
	flex: 1; gap: 8px;
}
.skg-related-cat {
	font-size: .72rem; font-weight: 800; letter-spacing: .12em;
	text-transform: uppercase; color: var(--skg-blue-deep);
}
.skg-related-h {
	font-size: 1.05rem; font-weight: 900; line-height: 1.3;
	letter-spacing: -.01em; color: var(--skg-navy); margin: 0;
}
.skg-related-card:hover .skg-related-h { color: var(--skg-orange); }
.skg-related-date {
	font-size: .82rem; color: #6c7790; margin-top: auto;
}

.skg-blog-comments {
	max-width: 780px; margin: 0 auto;
	padding: 48px 28px 80px;
	border-top: 1px solid #e6e9f0;
}
.skg-blog-comments .wp-block-comments-title {
	font-size: 1.4rem; font-weight: 900; color: var(--skg-navy);
	margin: 0 0 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.skg-team-grid { grid-template-columns: repeat(2, 1fr); }
	.skg-pillars-grid { grid-template-columns: repeat(2, 1fr); }
	.skg-reviews-grid { grid-template-columns: repeat(2, 1fr); }
	.skg-alumni-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
	.skg-blog-index .wp-block-post-template { grid-template-columns: repeat(2, 1fr) !important; }
	.skg-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
	.skg-page-hero { padding: 56px 24px 40px; }
	.skg-prose { padding: 36px 28px; }
	.skg-prose-section { padding: 40px 16px 64px; }
	.skg-team-grid,
	.skg-reviews-grid,
	.skg-events-grid,
	.skg-activities-grid,
	.skg-pillars-grid,
	.skg-alumni-grid { grid-template-columns: 1fr; }
	.skg-alumni-card { padding: 24px; }
	.skg-timeline-item { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
	.skg-activity { flex-direction: column; }
	.skg-blog-index .wp-block-post-template { grid-template-columns: 1fr !important; }
	.skg-blog-single-hero { padding: 48px 24px 40px; }
	.skg-blog-body { padding: 0 24px 64px; margin-top: 40px; }
	.skg-related-grid { grid-template-columns: 1fr; }
	.skg-related { padding: 40px 16px 56px; }
}
