/*
Theme Name: Sarkari Hub
Theme URI: https://sarkarieducationhub.wordpress.com/
Description: News-portal style, mobile-first theme for Indian government job, exam and education news websites. Blue and pink design with breaking-news ticker, Sarkari-Result-style link boxes, mega menu and structured job pages. Works with the Sarkari Core plugin.
Version: 1.28.2
Requires at least: 6.4
Requires PHP: 7.4
Author: Sarkari Naukri Alert
Text Domain: sarkari-hub
License: GPL-2.0-or-later
*/

:root {
	--blue: #2563EB;
	--blue-dark: #1D4ED8;
	--blue-mid: #3B82F6;
	--sky: #0EA5E9;
	--navy: #1E3A8A;
	--pink: #DB2777;
	--pink-dark: #BE185D;
	--pink-soft: #FDF2F8;
	--blue-soft: #EFF6FF;
	--ink: #1B1F2A;
	--text: #2F3542;
	--muted: #687083;
	--line: #E5EAF3;
	--paper: #FFFFFF;
	--wash: #F8FAFD;
	--green: #166534;
	--green-soft: #DCFCE7;
	--radius: 6px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--serif: Georgia, "Noto Serif", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.55rem, 4vw, 2.3rem); font-weight: 800; }
h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--pink); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.h-pink { color: var(--pink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius); border: 2px solid transparent; font: 700 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .9rem; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-sky { background: var(--blue-mid); color: #fff; }
.btn-sky:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--line); }

.topbar { background: var(--navy); color: #C9D4F2; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 30px; }
.topbar-date { white-space: nowrap; }
.topbar-links { display: none; gap: 14px; margin-left: auto; }
.topbar-links a, .topbar .social a { color: #fff; text-decoration: none; }
.topbar-links a:hover, .topbar .social a:hover { color: #FF8CC6; }
.social { display: flex; gap: 10px; align-items: center; }
.topbar .social { margin-left: auto; }
.social a { display: inline-grid; place-items: center; }
@media (min-width: 760px) { .topbar-links { display: flex; } .topbar .social { margin-left: 8px; } }

.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(10, 42, 115, .08); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.masthead { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.brand { flex: 1 1 auto; min-width: 0; }
.site-title { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--pink)); color: #fff; font: 900 1.3rem/1 var(--serif); flex: none; }
.logo-words { display: flex; flex-direction: column; min-width: 0; }
.logo-text { font: 800 1.15rem/1.1 var(--font); color: var(--blue); letter-spacing: -.01em; }
.logo-tag { display: none; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-title:hover .logo-text { color: var(--pink); }
.custom-logo-link { display: block; max-width: min(240px, 46vw); }
.custom-logo { max-height: 80px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.masthead-search { display: none; }
.join-btns { display: none; gap: 8px; }
.join { font-size: .85rem; font-weight: 700; padding: 8px 12px; border-radius: var(--radius); color: #fff; text-decoration: none; white-space: nowrap; }
.join-wa { background: #128C3E; }
.join-tg { background: #1C89C8; }
.join:hover { color: #fff; opacity: .9; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--blue-soft); color: var(--blue); cursor: pointer; flex: none; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--pink); color: #fff; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 760px) {
	.masthead { min-height: 70px; gap: 18px; }
	.logo-mark { width: 42px; height: 42px; font-size: 1.45rem; }
	.logo-text { font-size: 1.38rem; }
	.logo-tag { display: block; }
	.brand { flex: 0 1 auto; }
	.masthead-search { display: flex; margin-left: auto; flex: 0 1 290px; height: 42px; border: 1.5px solid var(--line); border-radius: 30px; overflow: hidden; background: var(--wash); transition: border-color .15s, box-shadow .15s, flex-basis .2s; }
	.masthead-search:focus-within { flex-basis: 340px; background: #fff; box-shadow: 0 0 0 4px rgba(216, 12, 120, .1); }

	.masthead-search:focus-within { border-color: var(--pink); }
	.masthead-search input { flex: 1; min-width: 0; border: 0; padding: 8px 16px; font: inherit; font-size: .88rem; outline: none; background: transparent; }
	.masthead-search button { border: 0; background: var(--pink); color: #fff; width: 44px; margin: 3px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
	.search-toggle { display: none; }
	.join-btns { display: flex; }
}

.navbar { background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%); position: relative; }
.navbar::after { content: none !important; display: none !important; }
.navbar-inner { position: relative; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; }
.site-nav .ico { width: 18px; height: 18px; }
.mega-ico .ico { width: 16px; height: 16px; }

/* Mobile: swipeable section strip + slide-in drawer */
.nav-strip { overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); margin: 0 -16px; }
.nav-strip::-webkit-scrollbar { display: none; }
.strip-menu { display: flex; list-style: none; margin: 0; padding: 0 12px 3px; white-space: nowrap; }
.strip-menu li:has(> a[href="#"]) { display: none; }
.strip-menu a { display: flex; align-items: center; gap: 6px; padding: 9px 11px; color: #fff; font-weight: 650; font-size: .9rem; text-decoration: none; }
.strip-menu .current-menu-item > a, .strip-menu .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 #fff; }
.strip-menu .home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.strip-menu .ico { width: 18px; height: 18px; }

.site-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100001; width: min(88vw, 380px); background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; box-shadow: -12px 0 40px rgba(8, 16, 48, .25); }
.site-nav.is-open { transform: none; visibility: visible; }
.nav-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 16, 48, .55); }
body.nav-open { overflow: hidden; }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: linear-gradient(90deg, var(--blue-dark), var(--blue)); color: #fff; }
.drawer-title { font-weight: 800; letter-spacing: .02em; }
.drawer-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.drawer-close:hover { background: var(--pink); }
.site-nav > .menu { padding: 6px 0 24px; }
.site-nav > .menu > li { position: relative; border-bottom: 1px solid var(--line); }
.site-nav > .menu > li > a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 60px 10px 18px; color: var(--ink); font-weight: 750; font-size: .97rem; }
.site-nav > .menu > li > a .ico { color: var(--blue); }
.site-nav > .menu > li > a:hover, .site-nav > .menu > .current-menu-item > a { color: var(--pink); }
.site-nav > .menu > .current-menu-item > a { box-shadow: inset 4px 0 0 var(--pink); }
.nav-caret { display: none; }
.submenu-toggle { position: absolute; right: 10px; top: 5px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--blue-soft); color: var(--blue); cursor: pointer; }
.submenu-toggle::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
li.is-open > .submenu-toggle { background: var(--pink); color: #fff; }
li.is-open > .submenu-toggle::after { transform: translateY(2px) rotate(-135deg); }
.mega-panel { display: none; }
li.is-open > .mega-panel { display: block; }
.mega-links { padding: 0 10px 12px; }
.mega-links > .mega-heading, .mega-feature { display: none; }
.mega-links .sub-menu a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: .92rem; }
.mega-links .sub-menu a:hover, .mega-links .sub-menu .current-menu-item > a { background: var(--pink-soft); color: var(--pink); }
.mega-ico { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--blue-soft); color: var(--blue); transition: background-color .15s, color .15s; }
.sub-menu li:nth-child(even) .mega-ico { background: var(--pink-soft); color: var(--pink); }
.mega-links .sub-menu a:hover .mega-ico { background: var(--pink); color: #fff; }

@media (min-width: 1080px) {
	.menu-toggle, .submenu-toggle, .nav-strip, .drawer-head, .nav-overlay { display: none !important; }
	body.nav-open { overflow: auto; }
	.site-nav { position: static; width: auto; transform: none; visibility: visible; overflow: visible; background: transparent; box-shadow: none; transition: none; }
	.site-nav > .menu { display: flex; align-items: stretch; padding: 0; }
	.site-nav > .menu > li { position: static; border: 0; }
	.site-nav > .menu > li > a { position: relative; gap: 5px; min-height: 44px; padding: 0 14px 3px; color: #fff; font-size: .9rem; font-weight: 700; letter-spacing: .01em; box-shadow: none !important; }
	.site-nav > .menu > li > a .ico { color: #fff; }
	.site-nav > .menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px 3px 0 0; background: #fff; transform: scaleX(0); transition: transform .2s; }
	.site-nav > .menu > li:hover > a, .site-nav > .menu > li:focus-within > a { background: rgba(255, 255, 255, .1); color: #fff; }
	.site-nav > .menu > li:hover > a::after, .site-nav > .menu > li:focus-within > a::after, .site-nav > .menu > .current-menu-item > a::after, .site-nav > .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
	.site-nav > .menu > .current-menu-item > a, .site-nav > .menu > .current-menu-ancestor > a { color: #fff; }
	.home-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.nav-caret { display: inline-flex; opacity: .8; transition: transform .2s; }
	.nav-caret .ico { width: 16px; height: 16px; }
	.site-nav li:hover .nav-caret, .site-nav li:focus-within .nav-caret { transform: rotate(180deg); }

	.mega-panel { display: block; position: absolute; top: 100%; left: 16px; right: 16px; z-index: 60; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 28px 56px rgba(10, 30, 90, .24); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s, transform .16s, visibility .16s; transition-delay: .06s; }
	.site-nav li:hover > .mega-panel, .site-nav li:focus-within > .mega-panel { opacity: 1; visibility: visible; transform: none; }
	.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
	.mega-links { padding: 16px 20px 18px; }
	.mega-links > .mega-heading, .mega-feature { display: block; }
	.mega-heading { margin: 0 0 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
	.mega-links .sub-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 8px; }
	.mega-links .sub-menu a { font-size: .88rem; padding: 5px 8px; }
	.mega-links .sub-menu a:hover, .mega-links .sub-menu .current-menu-item > a { background: var(--wash); }
	.mega-feature { display: flex; flex-direction: column; padding: 16px 20px 18px; background: var(--wash); border-left: 1px solid var(--line); }
	.mega-latest { margin: 0 0 10px !important; }
	.mega-latest li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
	.mega-latest li:last-child { border-bottom: 0; }
	.mega-latest a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-weight: 650; font-size: .85rem; line-height: 1.3; }
	.mega-latest a:hover { color: var(--pink); }
	.mega-latest time { display: none; }
	.mega-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; padding: 7px 12px; border-radius: 8px; background: var(--blue); color: #fff !important; font-weight: 750; font-size: .88rem; }
	.mega-cta:hover { background: var(--pink); }
	.mega-cta .ico { width: 16px; height: 16px; }
}
.header-search { background: var(--blue-soft); padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.search-form input[type="search"]:focus { border-color: var(--pink); outline: none; }

.ticker { background: var(--pink-soft); border-bottom: 1px solid #F6C9DF; }
.ticker-inner { display: flex; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.ticker-label { display: flex; align-items: center; gap: 8px; flex: none; background: var(--pink); color: #fff; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: 9px 14px; position: relative; z-index: 2; }
.ticker-label::after { content: ""; position: absolute; right: -10px; top: 0; bottom: 0; width: 0; border-left: 10px solid var(--pink); border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.ticker-track { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-list { display: flex; width: max-content; list-style: none; margin: 0; padding: 0 0 0 20px; animation: ticker 60s linear infinite; }
.ticker:focus-within .ticker-list { animation-play-state: paused; }
/* Touch browsers can keep :hover active after a tap. */
@media (hover: hover) and (pointer: fine) {
	.ticker:hover .ticker-list { animation-play-state: paused; }
}
.ticker-list li { display: flex; align-items: center; gap: 6px; padding: 9px 18px; white-space: nowrap; font-size: .92rem; }
.ticker-list li::before { content: "◆"; color: var(--pink); font-size: .6rem; margin-right: 4px; }
.ticker-list a { color: var(--blue-dark); font-weight: 650; text-decoration: none; }
.ticker-list a:hover { color: var(--pink); text-decoration: underline; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .3; } }
.new-blink { display: inline-block; font-size: .64rem; font-weight: 900; color: #fff; background: #E11D48; padding: 1px 5px; border-radius: 3px; animation: pulse 1s infinite; vertical-align: middle; }

.sec-title { --accent: var(--blue); display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.sec-heading { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 1.12rem/1.25 var(--font); color: var(--ink); letter-spacing: -.01em; }
.sec-heading::before { content: ""; flex: none; width: 5px; height: 1.25em; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--pink)); }
.sec-line { flex: 1; min-width: 16px; height: 1px; background: var(--line); }
.sec-more { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: .78rem; font-weight: 750; color: var(--accent); text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.sec-more:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.sec-pink { --accent: var(--pink); }
.sec-pink .sec-heading::before { background: linear-gradient(180deg, var(--pink), #FF7AB8); }
.sec-navy { --accent: var(--navy); }
.sec-sky { --accent: var(--blue-mid); }
.news-side .sec-heading { font-size: 1rem; }
@media (min-width: 760px) { .news-main > .block > .sec-title .sec-heading, .cat-block .sec-heading { font-size: 1.22rem; } }

/* Banner: H1 title row + slider of latest posts + headline list */
.home-banner { padding-top: 16px; padding-bottom: 4px; }
.banner-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 clamp(1rem, 2.4vw, 1.25rem)/1.3 var(--font); color: var(--blue-dark); letter-spacing: -.01em; }
.home-title::before { content: ""; flex: none; width: 5px; height: 1.3em; border-radius: 3px; background: linear-gradient(180deg, var(--blue), var(--pink)); }
.slider-arrows { display: flex; gap: 6px; flex: none; }
.slider-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--blue); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.slider-btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.slider-btn .ico { width: 20px; height: 20px; }
.slider-btn[data-dir="-1"] .ico { transform: rotate(90deg); }
.slider-btn[data-dir="1"] .ico { transform: rotate(-90deg); }
.banner-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .banner-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.slider { position: relative; border-radius: 12px; overflow: hidden; background: var(--navy); }
.slides { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 10; isolation: isolate; }
@media (min-width: 760px) { .slide { aspect-ratio: auto; height: 420px; } }
.slide-img { position: absolute; inset: 0; z-index: -1; display: block; }
.slide-img img, .slide-img .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.slide-img .thumb-ph > span { display: none; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 16, 48, 0) 30%, rgba(8, 16, 48, .55) 60%, rgba(8, 16, 48, .92) 100%); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 40px; color: #E3E9FA; }
@media (min-width: 760px) { .slide-text { padding: 26px 30px 46px; max-width: 760px; } }
.hero-kicker { display: inline-block; background: var(--pink); color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 3px; text-decoration: none; margin-bottom: 8px; }
.hero-kicker:hover { background: #fff; color: var(--pink); }
.slide-title { margin: 0 0 6px; font: 800 clamp(1.15rem, 3vw, 1.95rem)/1.25 var(--serif); color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.slide-title a { color: #fff; text-decoration: none; }
.slide-title a:hover { text-decoration: underline; color: #fff; }
.slide-excerpt { display: none; margin: 0 0 6px; font-size: .95rem; }
@media (min-width: 760px) { .slide-excerpt { display: block; } }
.slide-meta { margin: 0; font-size: .8rem; opacity: .85; }
.slider-dots { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 6px; max-width: calc(100% - 48px); overflow-x: auto; scrollbar-width: none; }
.slider-dots button { flex: none; }
.slider-dots::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .slider-dots { left: 30px; } }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background-color .25s; }
.slider-dots button[aria-selected="true"] { width: 26px; background: #fff; }
.slider-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--pink); }
.slider-progress.run { animation: slide-progress var(--slide-delay, 6s) linear forwards; }
@keyframes slide-progress { to { width: 100%; } }
.banner-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: 12px; padding: 12px 14px; height: 320px; min-width: 0; }
@media (min-width: 1000px) {
	.banner-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: 12px; padding: 12px 14px; height: 420px; }
}
.banner-list-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--pink); }
.banner-list-title .live-dot { background: var(--pink); }
.blog-scroll-window { flex: 1; min-height: 0; overflow-y: auto; }
.banner-list ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.banner-list li { margin-bottom: 8px; min-height: 64px; }
.banner-list.is-scrolling .blog-scroll-window { overflow: hidden; }
.banner-list.is-scrolling ol { animation: blog-scroll-up var(--blog-scroll-duration, 40s) linear infinite; }
.banner-list:hover ol { animation-play-state: paused; }
.blog-scroll-window:focus-within ol, .banner-list.is-paused ol { animation: none; }
.blog-scroll-window:focus-within, .banner-list.is-paused .blog-scroll-window { overflow-y: auto; }
.blog-scroll-window:focus-within [data-blog-copy], .banner-list.is-paused [data-blog-copy] { display: none; }
@keyframes blog-scroll-up { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .banner-list.is-scrolling ol { animation: none; }
    .banner-list.is-scrolling .blog-scroll-window { overflow-y: auto; }
    .banner-list [data-blog-copy] { display: none; }
}
.banner-list li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; cursor: pointer; transition: background-color .15s; }
.banner-list li.is-active { background: var(--pink-soft); box-shadow: inset 3px 0 0 var(--pink); }
.bl-thumb { display: block; width: 64px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--blue-soft); }
.bl-thumb img, .bl-thumb .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.bl-thumb .thumb-ph > span, .bl-thumb .thumb-ph .ico { display: none; }
.bl-text { min-width: 0; }
.bl-text a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-weight: 650; font-size: .86rem; line-height: 1.3; text-decoration: none; }
.banner-list li.is-active a, .bl-text a:hover { color: var(--pink); }
.bl-text time { display: none; }

/* Quick access tiles */
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 18px; padding-bottom: 22px; }
@media (min-width: 760px) { .quick-links { grid-template-columns: repeat(8, 1fr); gap: 12px; } }
.quick-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: .78rem; font-weight: 700; line-height: 1.2; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
@media (min-width: 760px) { .quick-tile { font-size: .86rem; padding: 14px 6px; } }
.quick-tile:hover { border-color: var(--pink); box-shadow: 0 6px 18px rgba(10, 42, 115, .1); transform: translateY(-2px); color: var(--pink); }
.quick-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.quick-tile:nth-child(even) .quick-ico { background: var(--pink-soft); color: var(--pink); }
.quick-tile:hover .quick-ico { background: var(--pink); color: #fff; }

/* Ad slots: reserve space so ads do not shift the layout */
.sj-ad { margin: 24px 0; padding: 16px 0; text-align: center; min-height: 120px; clear: both; max-width: 100%; }
.sj-ad-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.entry-content .sj-ad { margin: 1.4em 0; }

/* Trust band + alert band */
.trust-band { background: var(--wash); border-top: 1px solid var(--line); padding: 34px 0 30px; }
.trust-band h2 { text-align: center; color: var(--blue-dark); margin-bottom: 20px; }
.trust-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.trust-item h3 { font-size: 1rem; margin: 10px 0 6px; }
.trust-item p { font-size: .9rem; color: var(--muted); margin: 0; }
.trust-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue); color: #fff; }
.trust-item:nth-child(even) .trust-ico { background: var(--pink); }
.alert-band { background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 70%); color: #DCE6FF; padding: 28px 0; }
.alert-inner { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .alert-inner { grid-template-columns: 1fr 1fr; } }
.alert-band h2 { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.alert-band p { margin: 0; }
.alert-band .sj-subscribe { max-width: none; }
.alert-band .sj-sub-row input[type="email"] { border-color: transparent; }
.ico { display: block; flex: none; }
.cat-icon { color: var(--blue); }
.cat-card:nth-child(even) .cat-icon { color: var(--pink); }
.card-grid .post-card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-boxes { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 640px) { .link-boxes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
/* A box shown on its own spreads its list over two columns instead of leaving empty space. */
@media (min-width: 900px) { .link-box:only-child ul { columns: 2; column-gap: 28px; } .link-box:only-child li { break-inside: avoid; } }
.link-box { display: flex; flex-direction: column; border: 2px solid var(--blue); border-radius: var(--radius); background: #fff; overflow: hidden; }
.link-box-head { margin: 0; padding: 10px 12px; background: var(--blue); color: #fff; font-size: 1.05rem; text-align: center; text-transform: uppercase; letter-spacing: .04em; }
.link-box ul { list-style: none; margin: 0; padding: 4px 12px; flex: 1; }
.link-box li { padding: 8px 0 8px 16px; border-bottom: 1px dashed var(--line); position: relative; font-size: .93rem; line-height: 1.4; }
.link-box li::before { content: "»"; position: absolute; left: 0; top: 7px; color: var(--pink); font-weight: 900; }
.link-box li:last-child { border-bottom: 0; }
.link-box li a { color: var(--blue-dark); font-weight: 600; text-decoration: none; }
.link-box li a:hover { color: var(--pink); text-decoration: underline; }
.link-box li small { display: block; color: var(--muted); font-size: .78rem; }
.link-box-empty { padding: 14px 12px; color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.link-box-more { display: block; text-align: right; padding: 8px 12px; font-weight: 700; font-size: .85rem; text-decoration: none; background: var(--wash); border-top: 1px solid var(--line); }
.box-pink { border-color: var(--pink); }
.box-pink .link-box-head { background: var(--pink); }
.box-navy { border-color: var(--navy); }
.box-navy .link-box-head { background: var(--navy); }
.box-sky { border-color: var(--blue-mid); }
.box-sky .link-box-head { background: var(--blue-mid); }

.news-layout { display: grid; gap: 28px; padding-top: 18px; padding-bottom: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .news-layout { grid-template-columns: minmax(0, 1fr) 330px; } }
.block { margin-bottom: 28px; }
.top-stories { display: grid; gap: 18px; }
@media (min-width: 760px) { .top-stories { grid-template-columns: 1.25fr 1fr; } }
.top-list { display: flex; flex-direction: column; gap: 14px; }
.kicker { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--pink); text-decoration: none; margin-bottom: 4px; }
.kicker:hover { text-decoration: underline; }
.news-date { font-size: .8rem; color: var(--muted); margin: 0; }
.news-lead-img, .feed-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); margin-bottom: 10px; background: var(--blue-soft); }
.news-lead-img img, .feed-img img, .news-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-lead:hover img, .feed-item:hover img, .news-item:hover img { transform: scale(1.03); }
.news-lead-title { font: 800 1.3rem/1.25 var(--serif); margin: 0 0 6px; }
.news-lead-title a, .news-item-title a, .feed-title a { color: var(--ink); text-decoration: none; }
.news-lead-title a:hover, .news-item-title a:hover, .feed-title a:hover { color: var(--pink); }
.news-lead-excerpt { color: var(--muted); font-size: .93rem; margin-bottom: 6px; }
.news-item { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--blue-soft); }
.news-item-title { font: 700 .98rem/1.3 var(--serif); margin: 0 0 4px; }
.thumb-ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; padding: 8px; text-align: center; color: #fff; font: 800 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .04em; overflow: hidden; }
.thumb-ph .ico { width: 34px; height: 34px; opacity: .95; }
.thumb-ph::before { content: ""; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .08); }
.thumb-ph::after { content: ""; position: absolute; left: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.thumb-post { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 60%, var(--sky) 100%); }
.thumb-post.tone-1 { background: linear-gradient(135deg, var(--pink) 0%, #A3127A 60%, #6B1E8F 100%); }
.thumb-post.tone-2 { background: linear-gradient(135deg, var(--navy) 0%, #23408F 60%, var(--blue-mid) 100%); }
.thumb-post.tone-3 { background: linear-gradient(135deg, #0B6E8A 0%, #0090D8 60%, #3BB3E8 100%); }
.thumb-post.tone-4 { background: linear-gradient(135deg, #5B2A9E 0%, var(--blue) 70%, var(--blue-mid) 100%); }
.thumb-job { background: linear-gradient(135deg, var(--pink) 0%, #8E1C7C 55%, var(--blue) 100%); }
.news-lead .thumb-ph { font-size: 1.15rem; }
.cat-blocks { display: grid; gap: 26px; margin-bottom: 28px; }
@media (min-width: 760px) { .cat-blocks { grid-template-columns: repeat(2, 1fr); } }
.cat-block .news-lead-title { font-size: 1.1rem; }
.cat-block .news-lead-excerpt { display: none; }
.headline-list { list-style: none; margin: 10px 0 0; padding: 0; }
.headline-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.headline-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.headline-list a:hover { color: var(--pink); }
.headline-list time { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.deadline-table td { vertical-align: middle; }
.deadline-table a:not(.tact) { font-weight: 650; text-decoration: none; color: var(--blue-dark); }
.deadline-table a:not(.tact):hover { color: var(--pink); }
.dl-text { white-space: nowrap; }

.news-side { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 1000px) { .news-side { position: sticky; top: 130px; align-self: start; } }
.widget { background: #fff; }
.trending { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.trending li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.trending li::before { content: counter(t, decimal-leading-zero); font: 800 1.2rem/1 var(--serif); color: var(--pink); }
.trending a { color: var(--ink); font-weight: 650; text-decoration: none; }
.trending a:hover { color: var(--pink); }
.deadline-list { list-style: none; margin: 0; padding: 0; }
.deadline-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dl-day { display: flex; flex-direction: column; align-items: center; background: var(--pink); color: #fff; border-radius: var(--radius); padding: 4px 0; font-size: .66rem; text-transform: uppercase; font-weight: 700; }
.dl-day strong { font-size: 1.15rem; line-height: 1.1; }
.deadline-list a { color: var(--ink); font-weight: 650; font-size: .92rem; text-decoration: none; }
.deadline-list a:hover { color: var(--pink); }
.widget-alert { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #DCE6FF; padding: 18px; border-radius: var(--radius); }
.widget-alert-title { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.widget-alert .sj-sub-row input[type="email"] { border-color: transparent; }
.widget-alert .social { margin-top: 12px; }
.widget-alert .social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; }
.widget-alert .social a:hover { background: var(--pink); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a { font-size: .82rem; font-weight: 600; padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--blue-dark); }
.tag-cloud a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.cat-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cat-list a:hover { color: var(--pink); }

.page-title { position: relative; margin: 6px 0 18px; padding-bottom: 12px; font-family: var(--serif); }
.page-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--pink)); }
.page-intro { color: var(--muted); max-width: 820px; }
.news-feed { display: flex; flex-direction: column; }
.feed-item { display: grid; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .feed-item { grid-template-columns: 260px 1fr; } .feed-img { margin: 0; } }
.feed-title { font: 800 1.2rem/1.3 var(--serif); margin: 0 0 6px; }
.feed-excerpt { color: var(--muted); font-size: .94rem; margin-bottom: 6px; }
.related-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .related-list { grid-template-columns: 1fr 1fr; } }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.section { padding: 30px 0; }
.section-tint { background: var(--wash); border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.empty { color: var(--muted); background: var(--wash); border: 1px dashed var(--line); padding: 14px; border-radius: var(--radius); }
.empty-box { background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip, .chips a { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.chip:hover, .chips a:hover { background: var(--pink); color: #fff; }
.chip-pink { background: var(--pink-soft); color: var(--pink); }
.chip-nav { margin: 4px 0 12px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; display: flex; }
.chip-nav .chip { white-space: nowrap; padding: 7px 14px; font-size: .86rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 20px; background: var(--blue-soft); color: var(--blue-dark); white-space: nowrap; }
.badge-new { background: var(--green-soft); color: var(--green); }
.badge-closing-soon { background: var(--pink); color: #fff; }
.badge-application-closed, .badge-cancelled { background: #ECEEF2; color: #555; }
.badge-admit-card-released, .badge-answer-key-released, .badge-result-released, .badge-exam-scheduled { background: #FFF4D6; color: #7A5200; }
.days-left { font-size: .84rem; font-weight: 700; color: var(--blue); }
.days-left.urgent { color: var(--pink); }

/* Job card */
.job-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); transition: box-shadow .2s, transform .2s, border-color .2s; overflow: hidden; }
.job-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-mid)); }
.job-card.tone-closing-soon::before, .job-card.is-featured::before { background: linear-gradient(90deg, var(--pink), #F0559F); }
.job-card.tone-new::before { background: linear-gradient(90deg, #16A34A, #4ADE80); }
.job-card.tone-application-closed::before, .job-card.tone-cancelled::before { background: #CBD1DB; }
.job-card.tone-result-released::before, .job-card.tone-admit-card-released::before, .job-card.tone-answer-key-released::before, .job-card.tone-exam-scheduled::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.job-card:hover { border-color: #C9D6F2; box-shadow: 0 14px 32px rgba(10, 42, 115, .13); transform: translateY(-3px); }
.job-card.is-featured { border-color: #F6C2DD; }

.jc-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.org-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; font: 800 .76rem/1 var(--font); letter-spacing: .02em; color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.av-pink { background: linear-gradient(135deg, #D80C78, #F0559F); }
.av-blue { background: linear-gradient(135deg, #0B3FA8, #1466C9); }
.av-navy { background: linear-gradient(135deg, #13235B, #2D4596); }
.av-sky { background: linear-gradient(135deg, #0077B6, #00A6E6); }
.av-green { background: linear-gradient(135deg, #15803D, #22A55A); }
.av-amber { background: linear-gradient(135deg, #B45309, #E08A13); }
.jc-who { min-width: 0; }
.jc-org { margin: 0; font-size: .84rem; font-weight: 700; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jc-meta { margin: 3px 0 0; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.jc-meta a { color: var(--muted); text-decoration: none; font-weight: 600; }
.jc-meta a.jc-type { color: var(--pink-dark); }
.jc-meta a:hover { color: var(--blue); text-decoration: underline; }
.jc-head .badge { font-size: .68rem; padding: 3px 8px; }

.job-card-title { margin: 0; font: 750 1.05rem/1.38 var(--font); letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card-title a { color: var(--ink); text-decoration: none; }
.job-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.job-card-title a:hover { color: var(--blue); }
.job-card a:not(.job-card-title a), .job-card .badge { position: relative; z-index: 1; }
.jc-posts { margin: -4px 0 0; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-posts span { font-weight: 700; color: var(--text); }

.jc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--line); overflow: hidden; }
.jc-facts > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico label" "ico value"; column-gap: 8px; align-items: center; padding: 9px 10px; background: #fff; }
.jc-fi { grid-area: ico; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.jc-facts > div:nth-child(2) .jc-fi, .jc-facts > div:nth-child(3) .jc-fi { background: var(--pink-soft); color: var(--pink); }
.jc-fi .ico { width: 16px; height: 16px; }
.jc-facts dt { grid-area: label; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.jc-facts dd { grid-area: value; margin: 0; font-size: .86rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.jc-timeline { padding: 10px 12px; border-radius: 10px; background: var(--wash); }
.jc-timeline ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.jc-timeline li { position: relative; padding: 14px 4px 0 0; min-width: 0; }
.jc-timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-mid); }
.jc-timeline li::after { content: ""; position: absolute; top: 7px; left: 13px; right: 4px; height: 2px; background: #D6DEEE; }
.jc-timeline li:last-child::after { display: none; }
.jc-timeline li.done::before { background: var(--blue-mid); }
.jc-timeline li.done::after { background: var(--blue-mid); }
.jc-timeline li.key::before { border-color: var(--pink); }
.jc-timeline li.key.done::before { background: #9AA3B2; border-color: #9AA3B2; }
.jc-timeline li.urgent::before { background: var(--pink); box-shadow: 0 0 0 4px rgba(216, 12, 120, .15); }
.jc-step { display: block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.jc-timeline strong { display: block; font-size: .8rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-timeline li.key strong { color: var(--pink-dark); }
.jc-timeline li.key.done strong { color: #6B7280; text-decoration: line-through; text-decoration-color: rgba(107, 114, 128, .5); }
.jc-left { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 10px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: .76rem; font-weight: 800; color: var(--blue); }
.jc-left .ico { width: 14px; height: 14px; }
.jc-left.urgent { background: var(--pink); border-color: var(--pink); color: #fff; }

.job-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.job-posted { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--muted); }
.job-posted .ico { width: 14px; height: 14px; }
.job-card-actions { display: flex; gap: 6px; }
.job-card-actions .btn { min-height: 36px; padding: 6px 12px; border-radius: 8px; font-size: .84rem; }
.job-card-actions .btn .ico { width: 16px; height: 16px; transition: transform .15s; }
.job-card:hover .job-card-actions .btn-blue .ico { transform: translateX(3px); }
.btn-ghost-pink { background: #fff; color: var(--pink); border-color: var(--pink); }
.btn-ghost-pink:hover { background: var(--pink); color: #fff; }
@media (max-width: 380px) { .jc-facts { grid-template-columns: 1fr; } .job-card-foot { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .job-card, .job-card-actions .btn .ico { transition: none; } .job-card:hover { transform: none; } }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { display: flex; flex-direction: column; gap: 2px; padding: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, background-color .15s; }
.cat-card:nth-child(even) { border-left-color: var(--pink); }
.cat-card:hover { background: var(--pink-soft); border-color: var(--pink); }
.cat-icon { font-size: 1.4rem; }
.cat-name { font-weight: 750; color: var(--ink); font-size: .95rem; }
.cat-count { font-size: .8rem; color: var(--muted); }

.sj-subscribe { max-width: 620px; }
.sj-sub-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sj-sub-row input[type="email"] { flex: 1 1 200px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); font: inherit; }
.sj-topics { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; }
.sj-topics legend { width: 100%; margin-bottom: 4px; font-weight: 700; }
.sj-hp { position: absolute; left: -9999px; }
.sj-sub-msg { padding: 10px 14px; border-radius: var(--radius); font-weight: 650; }
.sj-sub-ok { background: var(--green-soft); color: var(--green); }
.sj-sub-err { background: #FEE2E2; color: #991B1B; }

.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 0 6px; }
.listing { padding-bottom: 40px; }
.result-count { color: var(--muted); font-weight: 650; margin: 16px 0 10px; }
h2.result-count { font-family: var(--font); font-size: 1rem; line-height: 1.6; letter-spacing: 0; } /* A real heading above the list, same look as before. */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 0; font-size: .82rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 4px; color: var(--pink); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pink); }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 24px 0; justify-content: center; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination a:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

.job-single { padding: 16px 0 0; }
.job-head { margin-bottom: 14px; }
.job-head h1 { font-family: var(--serif); }
.official-label { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.official-label span { font-weight: 500; }
.job-head-org { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.job-head-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .88rem; }
.notice { padding: 12px 14px; border-radius: var(--radius); margin: 14px 0 0; }
.notice-closed { background: #ECEEF2; color: #333; }
.info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
@media (min-width: 760px) { .info-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .info-cards { grid-template-columns: repeat(6, 1fr); } }
.info-card { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 12px; }
.info-card-pink { background: var(--pink-soft); border-left-color: var(--pink); }
.info-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--muted); }
.info-value { display: block; font-weight: 800; color: var(--blue-dark); overflow-wrap: anywhere; }
.info-card-pink .info-value { color: var(--pink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.job-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0 28px; }
.job-body section { padding: 6px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; scroll-margin-top: 150px; }
.job-body section:last-of-type { border-bottom: 0; }
.job-body h2 { position: relative; padding-left: 14px; }
.job-body h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--pink); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; font-size: .86rem; }
.toc span { font-weight: 700; color: var(--muted); }
.toc a { padding: 5px 10px; border-radius: 20px; background: var(--blue-soft); text-decoration: none; font-weight: 650; }
.toc a:hover { background: var(--pink); color: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--blue); color: #fff; }
tbody th { background: var(--blue-soft); color: var(--blue-dark); width: 40%; }
tbody tr:nth-child(even) td { background: #FAFBFE; }
.links-table td { width: 1%; white-space: nowrap; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 6px; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 6px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; background: #fff; }
.faq summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--blue-dark); }
.faq[open] summary { color: var(--pink); }
.faq p { padding: 0 14px 12px; margin: 0; }
.verify-box { background: var(--pink-soft); border-left: 4px solid var(--pink); padding: 14px 16px; border-radius: var(--radius); margin: 18px 0; }
.term-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 10px 0; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); }
.mobile-cta .btn { flex: 1; }
@media (min-width: 760px) { .mobile-cta { display: none; } }
@media (max-width: 759px) { .single-govt_job .site-footer { padding-bottom: 76px; } }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.share-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: #fff; text-decoration: none; cursor: pointer; transition: transform .15s, opacity .15s; }
.share-btn:hover { color: #fff; transform: translateY(-2px); opacity: .92; }
.share-whatsapp { background: #128C3E; }
.share-telegram { background: #1C89C8; }
.share-facebook { background: #1F57C3; }
.share-x { background: #111; }
.share-copy { background: var(--blue-soft); color: var(--blue); }
.share-copy:hover { background: var(--pink); }
.share-copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }

.article-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.editorial-label { display: inline-block; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: .74rem; padding: 3px 10px; border-radius: 20px; }
.article h1 { font: 800 clamp(1.6rem, 4.2vw, 2.4rem)/1.2 var(--serif); }
.article-dek { font-size: 1.12rem; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.byline .avatar img { border-radius: 50%; }
.post-meta { color: var(--muted); font-size: .86rem; }
.article-image { margin: 0 0 20px; }
.article-image img { border-radius: var(--radius); width: 100%; }
.article-image figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.entry-content { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.entry-content h2 { position: relative; margin: 1.6em 0 .6em; padding: 0 0 8px 16px; font: 800 clamp(1.25rem, 2.6vw, 1.55rem)/1.3 var(--serif); color: var(--blue-dark); border-bottom: 1px solid var(--line); }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: calc(8px + .15em); width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--blue), var(--pink)); }
.entry-content h3 { margin: 1.3em 0 .5em; font-size: 1.15rem; color: var(--ink); }
.entry-content h3::before { content: "\25B8"; color: var(--pink); margin-right: 6px; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.entry-content blockquote { border-left: 4px solid var(--pink); margin: 1.2em 0; padding: 4px 16px; color: var(--muted); font-style: italic; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); text-decoration: none; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { display: grid; place-items: center; height: 100%; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--sky)); text-transform: uppercase; letter-spacing: .04em; }
.post-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.post-card-title { margin: 8px 0 6px; font: 800 1.05rem/1.3 var(--serif); }
.post-card-title a { text-decoration: none; color: var(--ink); }
.post-card-title a:hover { color: var(--pink); }
.post-card-excerpt { color: var(--muted); font-size: .92rem; }
.read-more { margin-top: auto; font-weight: 750; color: var(--pink); text-decoration: none; font-size: .9rem; }
.sj-contact label { display: block; font-weight: 700; margin-bottom: 4px; }
.sj-contact input, .sj-contact textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.sitemap-grid { display: grid; gap: 20px; padding: 22px 16px 40px; }
@media (min-width: 760px) { .sitemap-grid { grid-template-columns: repeat(2, 1fr); } }
.sitemap-grid ul.cols { columns: 2; }
.page-404 { padding: 40px 16px; text-align: center; }
.page-404 .search-form { max-width: 520px; margin: 0 auto 20px; }
.latest-table td { vertical-align: middle; }

.site-footer { background: var(--navy); color: #C9D4F2; border-top: 4px solid var(--pink); margin-top: 0; font-size: .93rem; }
.footer-grid { display: grid; gap: 22px; padding-top: 36px; padding-bottom: 26px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-title { color: #FF8CC6; font-weight: 800; font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid > div:first-child .footer-title { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 7px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer .footer-brand-logo { display: block; width: 264px; max-width: 100%; padding: 8px 12px; margin-bottom: 16px; background: #fff; border-radius: 8px; }
.footer-brand-logo img { width: 240px; max-width: 100%; height: auto; }
.site-footer a:hover { color: #FF8CC6; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 0; font-size: .84rem; text-align: center; background: #0D1A45; }
.footer-bottom p { margin: 0; }
.site-footer .social { margin-top: 10px; }
.site-footer .social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.site-footer .social a:hover { background: var(--pink); color: #fff; }
.to-top { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: 90px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #fff; text-decoration: none; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 100; touch-action: manipulation; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; background: var(--blue); }
.to-top:focus-visible, .footer-up:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
body#top:focus { outline: none; }
@media (min-width: 760px) { .to-top { bottom: 20px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
	.ticker-list { animation: none; overflow-x: auto; }
	.ticker-track { overflow-x: auto; }
	.new-blink, .live-dot { animation: none; }
}

/* Phone cards preserve the complete landscape artwork and give titles room. */
@media (max-width: 639px) {
	.card-grid { gap: 18px; }
	.card-grid .post-card { min-width: 0; }
	.card-grid .post-card-img { aspect-ratio: 16 / 9; }
	.card-grid .thumb-ph > span, .card-grid .post-card-excerpt, .card-grid .read-more, .card-grid .chip { display: none; }
	.card-grid .post-card-body { padding: 12px; }
	.card-grid .post-card-title { margin-top: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
	.card-grid .post-meta { margin: 0; }
}
/* Topic blocks: small thumbnail lead so they do not repeat the big cards above */
.cat-block .news-lead { display: grid; grid-template-columns: 120px 1fr; gap: 0 12px; align-items: start; }
.cat-block .news-lead-img { grid-row: span 3; aspect-ratio: 4 / 3; margin: 0; }
.cat-block .news-lead-img .thumb-ph > span { display: none; }
.cat-block .news-lead .kicker { display: none; }
.cat-block .news-lead-title { font-size: 1.02rem; }
.news-item-img .thumb-ph > span { display: none; }

/* Keep mobile banner artwork separate from its headline, without cropping. */
@media (max-width: 999px) {
	.slide { aspect-ratio: auto; height: auto; min-width: 0; background: var(--navy); }
	.slide-img { position: relative; inset: auto; aspect-ratio: 16 / 9; z-index: auto; }
	.slide::after { display: none; }
	.slide-text { position: relative; padding: 14px 16px 42px; overflow-wrap: anywhere; }
	.slide-img img, .card-grid .post-card-img img, .cat-block .news-lead-img img, .news-item-img img, .feed-img img { object-fit: contain; object-position: center; }
	.cat-block .news-lead-img, .news-item-img { aspect-ratio: 16 / 9; }
	.news-item { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); }
	.cat-block .news-lead { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); }
	.news-main, .news-side, .post-card-body, .feed-item > div { min-width: 0; }
	.feed-title, .news-item-title, .news-lead-title, .entry-content { overflow-wrap: anywhere; }
	/* Let the source image define its height; touch hover must never zoom/crop it. */
	.slide-img:has(img), .post-card-img:has(img), .cat-block .news-lead-img:has(img), .news-item-img:has(img), .feed-img:has(img), .bl-thumb:has(img) { aspect-ratio: auto; }
	.slide-img img, .post-card-img img, .cat-block .news-lead-img img, .news-item-img img, .feed-img img, .bl-thumb img { width: 100%; height: auto; object-fit: contain; object-position: center; transform: none; transition: none; }
}
.bl-thumb { aspect-ratio: 16 / 9; height: auto; }
.bl-thumb img { object-fit: contain; object-position: center; }


/* ================= Article details page ================= */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.admin-bar .read-progress { top: 46px; }
@media (min-width: 783px) { .admin-bar .read-progress { top: 32px; } }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--pink)); transition: width .1s linear; }
.article { padding-top: 14px; }
.article-head { margin-bottom: 18px; }
.article-labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.kicker-pill { display: inline-block; background: var(--pink); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 4px; text-decoration: none; }
.kicker-pill:hover { background: var(--blue); color: #fff; }
.editorial-label { display: inline-flex; align-items: center; gap: 5px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: .76rem; padding: 4px 10px; border-radius: 20px; }
.editorial-label .ico { width: 15px; height: 15px; }
.article h1 { font: 800 clamp(1.6rem, 4vw, 2.35rem)/1.2 var(--serif); color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.article-dek { font-size: 1.1rem; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; font-size: .9rem; }
.byline .avatar img { border-radius: 50%; display: block; }
.byline-text { display: flex; flex-direction: column; line-height: 1.35; }
.byline-name { font-weight: 750; color: var(--ink); }
.byline-name a { color: inherit; text-decoration: none; }
.byline-name a:hover { color: var(--pink); }
.byline-dates { font-size: .82rem; color: var(--muted); }
.article-image { margin: 0 0 22px; }
.article-image img { border-radius: 12px; width: 100%; height: auto; object-fit: contain; }
.toc-box { background: var(--wash); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 0; margin: 0 0 24px; }
.toc-box summary { display: flex; align-items: center; gap: 8px; padding: 13px 16px; cursor: pointer; font-weight: 800; color: var(--blue-dark); list-style: none; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.toc-box[open] summary::after { transform: rotate(-135deg); }
.toc-box summary .ico { width: 18px; height: 18px; color: var(--pink); }
.toc-count { font-size: .76rem; font-weight: 600; color: var(--muted); }
.toc-box ol { margin: 0; padding: 0 16px 14px 40px; columns: 1; }
@media (min-width: 760px) { .toc-box ol { columns: 2; column-gap: 28px; } }
.toc-box li { padding: 4px 0; break-inside: avoid; font-size: .93rem; }
.toc-box li::marker { color: var(--pink); font-weight: 800; }
.toc-box a { color: var(--ink); text-decoration: none; font-weight: 600; }
.toc-box a:hover { color: var(--pink); text-decoration: underline; }
.entry-content h2 { scroll-margin-top: 130px; }
.entry-content > p:first-child { font-size: 1.12rem; }
.entry-content ul li::marker, .entry-content ol li::marker { color: var(--pink); font-weight: 700; }
.entry-content li { margin-bottom: 6px; }
.verify-box { display: flex; gap: 12px; align-items: flex-start; background: var(--pink-soft); border: 1px solid #F6C9DF; border-left: 4px solid var(--pink); padding: 14px 16px; border-radius: 10px; margin: 26px 0; }
.verify-box p { margin: 0; font-size: .95rem; }
.verify-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--pink); color: #fff; }
.verify-ico .ico { width: 20px; height: 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 20px; font-size: .88rem; }
.article-tags a { padding: 4px 12px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-weight: 650; color: var(--blue-dark); }
.article-tags a:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; margin: 0 0 22px; border-radius: 12px; background: linear-gradient(120deg, var(--blue-soft), var(--pink-soft)); }
.share-bar p { margin: 0; font-weight: 750; color: var(--blue-dark); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; padding: 18px; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.author-box .avatar img { border-radius: 50%; display: block; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue-soft); }
.author-kicker { margin: 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--pink); }
.author-name { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; }
.author-name a { color: var(--ink); text-decoration: none; }
.author-bio { margin: 0; font-size: .92rem; color: var(--muted); }
.post-nav { display: grid; gap: 12px; margin: 0 0 30px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-link { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.post-nav-link:hover { border-color: var(--pink); box-shadow: 0 6px 18px rgba(10, 42, 115, .08); }
.post-nav-link.next { text-align: right; }
@media (min-width: 640px) { .post-nav-link.next:only-child { grid-column: 2; } }
.post-nav-dir { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.post-nav-title { font: 700 .98rem/1.35 var(--serif); color: var(--ink); }
.related-block .grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-block .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .related-block .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.related-block .post-card-excerpt { display: none; }

/* ================= Job details page ================= */
.job-single { padding: 0; }
.job-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 45%, var(--blue) 100%); color: #DCE6FF; padding: 14px 0 64px; }
.job-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); }
.job-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 2px); background-size: 26px 26px; mask-image: linear-gradient(100deg, transparent 40%, #000); pointer-events: none; }
.job-hero .container { position: relative; z-index: 1; }
.job-hero .breadcrumbs ol, .job-hero .breadcrumbs a { color: #AFC1EE; }
.job-hero .breadcrumbs a:hover { color: #fff; }
.job-hero .breadcrumbs li + li::before { color: #FF8CC6; }
.job-hero-grid { display: grid; gap: 18px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .job-hero-grid { grid-template-columns: minmax(0, 1fr) 220px; } }
.job-hero .official-label { display: inline-flex; align-items: center; gap: 6px; background: rgba(34, 197, 94, .16); color: #BBF7D0; border: 1px solid rgba(134, 239, 172, .35); margin-bottom: 12px; }
.job-hero .official-label .ico { width: 16px; height: 16px; }
.job-hero .official-label span { color: #D1FAE5; }
.job-hero h1 { color: #fff; font: 800 clamp(1.45rem, 3.6vw, 2.2rem)/1.22 var(--serif); margin-bottom: 8px; }
.job-head-org { display: flex; align-items: center; gap: 8px; color: #DCE6FF; font-weight: 650; margin-bottom: 12px; }
.job-head-org .ico { width: 18px; height: 18px; color: #FF8CC6; }
.job-head-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .86rem; color: #AFC1EE; }
.job-hero .cta-row { margin: 16px 0 0; }
.job-hero .btn-blue { background: #fff; color: var(--blue-dark); }
.job-hero .btn-blue:hover { background: var(--blue-soft); color: var(--blue-dark); }
.job-hero .btn-sky { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.job-hero .btn-sky:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.job-countdown { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 16px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .22); border-top: 4px solid var(--pink); }
.cd-label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.cd-num { font: 900 3rem/1 var(--serif); color: var(--pink); margin-top: 4px; }
.cd-unit { font-weight: 750; color: var(--pink); }
.cd-date { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; border-radius: 20px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 750; font-size: .88rem; }
.cd-date .ico { width: 16px; height: 16px; }
.job-countdown.is-closed { border-top-color: #9AA3B5; }
.job-countdown.is-closed .cd-label { color: #555; }
.job-single .notice-closed { margin-top: 16px; }
.job-single .info-cards { position: relative; z-index: 2; margin: -40px 0 6px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .job-single .info-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .job-single .info-cards { grid-template-columns: repeat(6, 1fr); } }
.job-single .info-card { display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 0; border-radius: 12px; padding: 12px; box-shadow: 0 8px 24px rgba(10, 42, 115, .1); }
.info-ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.info-ico .ico { width: 18px; height: 18px; }
.job-single .info-card-pink { background: #fff; }
.info-card-pink .info-ico { background: var(--pink); color: #fff; }
.job-single .info-label { font-size: .68rem; }
.job-single .info-value { font-size: .95rem; line-height: 1.25; }
.job-layout { padding-top: 16px; }
.job-share { margin-bottom: 14px; }
.job-single .job-body { background: none; border: 0; padding: 0; margin: 0 0 28px; }
.job-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 10px 12px; margin: 0 0 16px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 18px rgba(10, 42, 115, .06); }
.job-toc::-webkit-scrollbar { display: none; }
.job-toc span { flex: none; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.job-toc a { flex: none; white-space: nowrap; }
.job-single .job-body section.job-sec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 6px; margin: 0 0 14px; scroll-margin-top: 130px; }
.job-single .job-body h2.job-sec-title { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 1px solid var(--line); font: 800 1.15rem/1.3 var(--font); color: var(--blue-dark); }
.job-single .job-body h2.job-sec-title::before { content: none; }
.job-sec-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; }
.job-sec:nth-of-type(even) .job-sec-ico { background: linear-gradient(135deg, var(--pink), #A3127A); }
.job-sec-ico .ico { width: 18px; height: 18px; }
.job-sec h3 { font-size: 1rem; color: var(--ink); margin-top: 6px; }
.job-sec table { border-radius: 8px; overflow: hidden; }
.job-sec .table-wrap { border: 1px solid var(--line); border-radius: 8px; }
.job-sec .table-wrap table { border-style: hidden; }
.job-sec .steps { counter-reset: st; list-style: none; padding: 0; }
.job-sec .steps li { counter-increment: st; position: relative; padding: 4px 0 10px 40px; }
.job-sec .steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .85rem; }
.job-sec .steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 0; width: 2px; background: var(--blue-soft); }
.job-sec .faq { margin-bottom: 10px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: 16px; box-shadow: 0 8px 24px rgba(10, 42, 115, .06); }
.summary-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; color: var(--blue-dark); }
.summary-title .ico { width: 20px; height: 20px; color: var(--pink); }
.summary-list { margin: 0 0 14px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 750; color: var(--ink); text-align: right; }
.summary-list .is-key dd { color: var(--pink); }
.summary-ctas { display: grid; gap: 8px; }
.summary-ctas .btn { width: 100%; }
.job-side .widget-alert-title { display: flex; align-items: center; gap: 8px; }
.job-side .widget-alert-title .ico { width: 20px; height: 20px; }
@media (max-width: 999px) { .job-side .summary-card { display: none; } }
@media (max-width: 899px) {
	.job-countdown { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; padding: 12px 14px; }
	.cd-label { width: 100%; }
	.cd-num { font-size: 2.1rem; margin: 0; }
	.cd-date { margin: 0 0 0 4px; }
}
@media (max-width: 639px) { .job-hero .official-label span { display: none; } }

/* Sidebar position from Theme Options / per-job Page Layout */
@media (min-width: 1000px) {
	.news-layout.side-left { grid-template-columns: 330px minmax(0, 1fr); }
	.news-layout.side-left > .news-side { order: -1; }
}
.news-layout.no-side { grid-template-columns: minmax(0, 1fr) !important; }
.article.news-main:only-child { max-width: 860px; width: 100%; margin: 0 auto; }
.no-countdown { grid-template-columns: minmax(0, 1fr) !important; }
.no-facts { padding-top: 0; }
.job-single .no-facts + .job-layout, .job-hero + .no-facts { margin-top: 0; }
.job-hero:has(+ .no-facts) { padding-bottom: 32px; }
/* Per-job announcement banner */
.job-notice { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 650; position: relative; z-index: 3; box-shadow: 0 8px 24px rgba(10, 42, 115, .1); }
.job-notice .ico { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.job-notice.tone-info { background: var(--blue-soft); color: var(--blue-dark); border-left: 4px solid var(--blue); }
.job-notice.tone-success { background: var(--green-soft); color: var(--green); border-left: 4px solid var(--green); }
.job-notice.tone-warning { background: var(--pink-soft); color: var(--pink-dark); border-left: 4px solid var(--pink); }

/* ===== Job page refinements ===== */
.job-hero { padding-bottom: 58px; }
.job-single .info-cards { align-items: stretch; }
.job-single .info-card { align-content: center; min-height: 76px; }
.job-single .info-value small { display: block; margin-top: 1px; font-size: .72rem; font-weight: 600; color: var(--muted); line-height: 1.25; }
.job-single .info-card-pink .info-value small { color: var(--muted); }
.job-status { display: flex; gap: 14px; align-items: flex-start; margin: 14px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 20px rgba(10, 42, 115, .06); }
.job-status-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: #fff; }
.job-status-ico .ico { width: 20px; height: 20px; }
.job-status-title { margin: 0 0 2px; font-weight: 800; color: var(--ink); }
.job-status-text { margin: 0; font-size: .92rem; color: var(--text); }
.job-status.tone-closed { border-left: 4px solid #6B7280; }
.job-status.tone-closed .job-status-ico { background: #6B7280; }
.job-status.tone-cancelled { border-left: 4px solid #B91C1C; background: #FEF2F2; }
.job-status.tone-cancelled .job-status-ico { background: #B91C1C; }
.job-status.tone-open { border-left: 4px solid var(--blue); }
.job-status.tone-open .job-status-ico { background: var(--blue); }
.job-single .job-notice { margin-top: 12px; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.kv-grid div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); min-width: 0; }
.kv-grid dt { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.kv-grid dd { margin: 0; font-weight: 650; color: var(--ink); font-size: .93rem; overflow-wrap: anywhere; }
.job-sec .entry-content { font-size: 1rem; }
.job-sec .entry-content p:last-child { margin-bottom: 10px; }
.info-list { list-style: none; margin: 0 0 14px; padding: 0; }
.info-list li { position: relative; padding: 6px 0 6px 24px; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.job-sec h3 { display: inline-block; margin: 12px 0 6px; padding: 3px 10px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-dark); font-size: .92rem; }
.job-sec h3:first-of-type { margin-top: 0; }
.job-sec td, .job-sec th { font-size: .9rem; }
@media (max-width: 759px) {
	.job-status { padding: 12px 14px; }
	.kv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .kv-grid { grid-template-columns: 1fr; } }
.job-head-org { align-items: flex-start; }
.job-head-org .ico { margin-top: 3px; }
/* Phones: on closed jobs the status banner below already says it, so drop the duplicate header card. */
@media (max-width: 899px) { .job-countdown.is-closed { display: none; } }

.quick-count { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.quick-tile:hover .quick-count { color: var(--pink); }
.update-nav .chip.is-active { background: var(--blue); color: #fff; }
.chip-count { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: .72rem; color: var(--blue-dark); }
.update-nav .chip.is-active .chip-count { background: rgba(255, 255, 255, .25); color: #fff; }
.chip-update { background: var(--pink); color: #fff; }
.update-table td:nth-child(n+2) { white-space: nowrap; }
.update-table .muted { font-size: .82rem; }
.side-updates li { display: flex; flex-direction: column; gap: 2px; }
.side-updates li time { font-size: .76rem; color: var(--muted); }
.side-updates .new-blink { align-self: flex-start; }

/* Vacancy / eligibility tables imported from notifications */
.post-names { margin: 0 0 12px; }
.vacancy-html h4 { margin: 18px 0 8px; font-size: 1rem; color: var(--navy); }
.vacancy-html .table-wrap { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; }
.vacancy-html table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.vacancy-html th, .vacancy-html td { padding: 8px 10px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.vacancy-html thead th { background: var(--blue-soft); color: var(--blue-dark); }
.vacancy-html thead th[colspan] { background: var(--navy); color: #fff; text-align: center; }
.vacancy-html td ul { margin: 0; padding-left: 18px; }
.vacancy-html td li + li { margin-top: 4px; }

.page-hero.hero-rich { position: relative; overflow: hidden; padding: 18px 0 30px; border: 0; color: #fff;
	background:
		radial-gradient(circle at 88% 12%, rgba(216, 12, 120, .35), transparent 38%),
		radial-gradient(circle at 8% 110%, rgba(0, 144, 216, .35), transparent 40%),
		linear-gradient(135deg, var(--navy) 0%, var(--blue) 58%, var(--blue-mid) 100%); }
.hero-rich::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.hero-rich .container { position: relative; }
.hero-rich .breadcrumbs ol, .hero-rich .breadcrumbs a { color: #B9C9F0; }
.hero-rich .breadcrumbs a:hover { color: #fff; }
.hero-rich .breadcrumbs li + li::before { color: #FF8CC6; }
.ph-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 960px) { .hero-rich.has-stats .ph-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); } }
.ph-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 2px 0 10px; padding: 4px 12px 4px 4px; border-radius: 30px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #fff; }
.ph-ico .ico { width: 16px; height: 16px; }
.ph-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #BDF5CF; }
.ph-live .live-dot { background: #4ADE80; }
.hero-rich h1 { margin: 0 0 8px; color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; }
.hero-rich .page-intro { color: #D3DDF5; max-width: 720px; font-size: 1.02rem; }
.hero-rich .page-intro p { margin: 0 0 6px; }
.hero-rich .page-intro a { color: #fff; }
.ph-search { max-width: 620px; margin-top: 14px; }
.ph-search .search-form input[type="search"] { border-color: transparent; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ph-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ph-stat { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico value" "ico label"; align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.ph-stat-ico { grid-area: ico; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #2F6FE0; color: #fff; }
.ph-stat-ico .ico { width: 20px; height: 20px; }
.ph-stat dd { grid-area: value; margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.ph-stat dt { grid-area: label; font-size: .74rem; font-weight: 600; color: #C9D5F3; }
.ph-stat.tone-green .ph-stat-ico { background: #16A34A; }
.ph-stat.tone-pink .ph-stat-ico { background: var(--pink); }
.ph-stat.tone-navy .ph-stat-ico { background: #5B6FD6; }
.ph-stats .ph-stat:only-child { grid-column: 1 / -1; }
@media (max-width: 480px) { .ph-stat { padding: 10px; column-gap: 8px; } .ph-stat-ico { width: 32px; height: 32px; } .ph-stat dd { font-size: 1.15rem; } }

.ph-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; }
.ph-chips-label { margin-right: 4px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #B9C9F0; }
.ph-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.ph-chips a span { padding: 0 6px; border-radius: 10px; background: rgba(255, 255, 255, .18); font-size: .72rem; }
.ph-chips a:hover { background: #fff; color: var(--blue-dark); }
.ph-chips a:hover span { background: var(--blue-soft); }

/* Update-type tab bar (overlaps the hero) */
.update-tabs { position: relative; z-index: 2; display: flex; gap: 6px; margin: -28px 0 16px; padding: 6px; overflow-x: auto; scrollbar-width: thin; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(10, 42, 115, .12); }
.ut-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; white-space: nowrap; color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; transition: background-color .15s, color .15s; }
.ut-tab .ico { width: 18px; height: 18px; color: var(--blue-mid); }
.ut-tab.ut-pink .ico { color: var(--pink); }
.ut-tab.ut-navy .ico { color: var(--navy); }
.ut-tab.ut-sky .ico { color: var(--sky); }
.ut-tab b { padding: 1px 8px; border-radius: 10px; background: var(--wash); color: var(--muted); font-size: .72rem; }
.ut-tab:hover { background: var(--blue-soft); color: var(--blue-dark); }
.ut-tab.is-active { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; box-shadow: 0 4px 12px rgba(11, 63, 168, .3); }
.ut-tab.is-active .ico { color: #fff; }
.ut-tab.is-active b { background: rgba(255, 255, 255, .22); color: #fff; }
.hero-rich + .container > .news-main:first-child, .hero-rich + .news-layout { margin-top: 0; }
.hero-rich + .article { padding-top: 24px; }
.hero-rich:has(+ .listing > .update-tabs:first-child) { padding-bottom: 50px; }

/* Header: Job Alerts button (desktop) */
.hdr-alerts { display: none; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 30px; background: linear-gradient(135deg, var(--pink), #F0559F); color: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 12px rgba(216, 12, 120, .25); }
.hdr-alerts .ico { width: 17px; height: 17px; }
.hdr-alerts:hover { color: #fff; filter: brightness(1.06); }

/* Compact filter bar */
.filter-bar { margin: 0 0 18px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .04); }
.fb-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fb-search { position: relative; flex: 1 1 220px; min-width: 0; }
.fb-search .ico { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter-bar input[type="search"], .filter-bar select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); font: inherit; font-size: .88rem; color: var(--ink); }
.fb-search input[type="search"] { padding-left: 34px; }
.filter-bar select { flex: 0 1 170px; width: auto; min-width: 0; cursor: pointer; }
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--blue-mid); background: #fff; box-shadow: 0 0 0 3px rgba(20, 102, 201, .12); }
.fb-go { height: 40px; min-height: 0; padding: 0 18px; border-radius: 8px; font-size: .88rem; }
.fb-more { margin-top: 6px; }
.fb-more summary { display: inline-block; cursor: pointer; padding: 2px 4px; font-size: .8rem; font-weight: 700; color: var(--blue); list-style: none; }
.fb-more summary::-webkit-details-marker { display: none; }
.fb-more summary::after { content: " ▾"; }
.fb-more[open] summary::after { content: " ▴"; }
.fb-row-more { padding-top: 6px; }
.fb-check { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--text); }
.fb-clear { font-size: .82rem; font-weight: 700; color: var(--pink); }
@media (max-width: 640px) { .filter-bar select { flex: 1 1 45%; } .fb-go { flex: 1 1 100%; } }
@media (min-width: 900px) { .hdr-alerts { display: inline-flex; } }

/* Header enhancements: live count, menu icons + "new" badges, compact sticky bar */
.topbar-live { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 20px; background: rgba(74, 222, 128, .14); color: #BDF5CF; font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar-live .live-dot { background: #4ADE80; }
.topbar-live:hover { color: #fff; background: rgba(74, 222, 128, .25); }
@media (max-width: 480px) { .topbar-date { display: none; } }
.nav-ico { display: inline-grid; place-items: center; }
.nav-ico .ico { width: 17px; height: 17px; opacity: .9; }
.nav-new { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-size: .66rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
@media (min-width: 1080px) {
	/* Logo row scrolls away; only the menu bar stays pinned. */
	.site-header { top: -70px; }
	.admin-bar .site-header { top: -38px; }
	.site-nav > .menu > li > a .nav-ico .ico { color: #C7D7FF; }
	.site-nav > .menu > li > a:hover .nav-ico .ico, .site-nav > .menu > .current-menu-item > a .nav-ico .ico { color: #fff; }
}
@media (min-width: 1080px) and (max-width: 1240px) { .nav-ico { display: none; } }
.logo-mark { box-shadow: 0 4px 12px rgba(11, 63, 168, .25); }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.table-wrap table { border-collapse: separate; border-spacing: 0; margin: 0; }
.table-wrap th, .table-wrap td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; vertical-align: middle; }
.table-wrap thead th { background: linear-gradient(90deg, var(--blue-dark), var(--blue)); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: #FAFBFE; }
.table-wrap tbody tr:hover td { background: #F1F5FD; }
.table-wrap tbody th { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.table-wrap .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap .muted { color: var(--muted); }
/* Imported vacancy tables keep a full grid: their columns vary a lot. */
.vacancy-html .table-wrap th, .vacancy-html .table-wrap td { border: 1px solid var(--line); }
.vacancy-html .table-wrap table { border-collapse: collapse; }

/* Listing rows: title, organisation and chips */
.t-main { min-width: 260px; }
.t-title { font-weight: 700; color: var(--blue-dark); text-decoration: none; line-height: 1.35; }
.t-title:hover { color: var(--pink); text-decoration: underline; }
.t-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.t-org { font-weight: 600; }
.t-chip { display: inline-block; padding: 1px 8px; border-radius: 20px; background: var(--blue-soft); color: var(--blue-dark); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.t-chip-soft { background: #F1F3F7; color: var(--text); }
.t-type { display: inline-block; margin: 0 4px 4px 0; padding: 2px 9px; border-radius: 20px; background: var(--pink-soft); color: var(--pink-dark); font-size: .74rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.t-type-latest-job { background: #E8F7EE; color: #166534; }
.t-type-admit-card, .t-type-answer-key { background: #FFF4D6; color: #7A5200; }

/* Dates: date + countdown pill + window bar */
.t-date { min-width: 150px; }
.t-date-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 650; white-space: nowrap; }
.dpill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 20px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.dpill .ico { width: 12px; height: 12px; }
.dp-hot { background: var(--pink); color: #fff; }
.dp-warm { background: #FFF1D6; color: #9A5B00; }
.dp-cool { background: #E8F7EE; color: #166534; }
.dp-closed { background: #F1F3F7; color: #6B7280; }
.wbar { display: block; width: 100%; max-width: 160px; height: 4px; margin-top: 6px; border-radius: 4px; background: #E3E8F2; overflow: hidden; }
.wbar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-mid), var(--pink)); }
.row-hot td { background: #FFF6FA !important; }
.row-hot .t-main { box-shadow: inset 3px 0 0 var(--pink); }

/* Action buttons */
.act-col { width: 1%; white-space: nowrap; text-align: right; }
.tact { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 12px; margin-left: 4px; border-radius: 8px; font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.act-apply { background: var(--pink); color: #fff; }
.act-result { background: #16A34A; color: #fff; }
.act-admit, .act-key { background: #F59E0B; color: #fff; }
.act-more { background: var(--blue-soft); color: var(--blue-dark); }
.tact:hover { filter: brightness(1.08); color: #fff; }
.act-more:hover { background: var(--blue); color: #fff; filter: none; }

/* Job page: Important Dates status column and fee highlights */
.dates-table td:nth-child(3) { width: 1%; white-space: nowrap; font-size: .78rem; font-weight: 800; }
.dates-table .row-done td { color: #8A919E; }
.dates-table .row-done td:nth-child(2) { text-decoration: line-through; text-decoration-color: rgba(138, 145, 158, .5); }
.dates-table .row-done td:nth-child(3) { color: #16A34A; }
.dates-table .row-next td { background: #FFF6FA !important; font-weight: 700; }
.dates-table .row-next td:first-child { box-shadow: inset 3px 0 0 var(--pink); }
.dates-table .row-next td:nth-child(3) { color: var(--pink); }
.dates-table .row-today td { background: #FFF1D6 !important; font-weight: 800; }
.dates-table .row-up td:nth-child(3) { color: var(--blue); }
.dates-table .row-note td:nth-child(3) { color: var(--muted); }
.fee-table td:nth-child(2) { font-weight: 800; color: var(--ink); white-space: nowrap; }
.fee-table .row-free td { background: #F0FAF3 !important; }
.fee-table .row-free td:nth-child(2) { color: #166534; }
.fee-table .row-note td { font-weight: 500; color: var(--muted); font-style: italic; }

/* Phones: listing tables become stacked cards (no sideways scrolling). */
@media (max-width: 700px) {
	.rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
	.table-wrap:has(.rtable) { overflow: visible; border: 0; box-shadow: none; background: transparent; }
	.rtable tr { margin: 0 0 10px; padding: 4px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
	.rtable tbody tr:nth-child(even) td, .rtable tbody tr:hover td { background: transparent; }
	.rtable td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px dashed var(--line); text-align: right; }
	.rtable td::before { content: attr(data-label); flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; }
	.rtable td.t-main { display: block; text-align: left; min-width: 0; }
	.rtable td.t-main::before { content: none; }
	.rtable td.t-date { display: flex; flex-wrap: wrap; min-width: 0; }
	.rtable .wbar { flex-basis: 100%; max-width: none; margin-top: 2px; }
	.rtable td.act-col { width: 100%; justify-content: flex-end; border-bottom: 0; }
	.rtable td.act-col::before { content: none; }
	.rtable .tact { flex: 1; min-height: 38px; margin: 0; }
	.rtable td.act-col { gap: 8px; }
	.rtable td:last-child { border-bottom: 0; }
	.row-hot { border-color: #F6C2DD !important; }
	.row-hot .t-main { box-shadow: none; }
	.dates-table td:nth-child(3), .act-col { width: 100%; }
}

/* Sidebar update lists (Latest Jobs / Result / Admit Card) */
.side-updates { list-style: none; margin: 0; padding: 0; }
.side-updates li { position: relative; padding: 9px 0 9px 16px; border-bottom: 1px dashed var(--line); }
.side-updates li:last-child { border-bottom: 0; }
.side-updates li::before { content: "»"; position: absolute; left: 0; top: 8px; color: var(--pink); font-weight: 900; }
.side-updates a { color: var(--ink); font-size: .9rem; font-weight: 650; line-height: 1.4; text-decoration: none; }
.side-updates a:hover { color: var(--pink); text-decoration: underline; }

/* Top bar: pale blue strip instead of navy. */
.topbar { background: #EEF4FF; color: #475569; border-bottom: 1px solid #DCE6FA; }
.topbar-links a, .topbar .social a { color: var(--blue-dark); font-weight: 600; }
.topbar-links a:hover, .topbar .social a:hover { color: var(--pink); }
.topbar-live { background: #DCFCE7; color: #166534; }
.topbar-live:hover { background: #BBF7D0; color: #14532D; }
.topbar-live .live-dot { background: #16A34A; }

/* Menu bar: brighter blue. */
.navbar { background: linear-gradient(90deg, #1D4ED8 0%, #2563EB 55%, #3B82F6 100%); }

/* Page and job headers: brighter blue gradients (white text keeps good contrast). */
.page-hero.hero-rich {
	background:
		radial-gradient(circle at 88% 12%, rgba(236, 72, 153, .28), transparent 38%),
		radial-gradient(circle at 8% 110%, rgba(56, 189, 248, .35), transparent 40%),
		linear-gradient(135deg, #1E40AF 0%, #2563EB 60%, #3B6FE0 100%);
}
.job-hero { background: linear-gradient(120deg, #1E40AF 0%, #1D4ED8 45%, #2563EB 100%); }
.hero-rich .page-intro { color: #E0E9FF; }
.hero-rich .breadcrumbs ol, .hero-rich .breadcrumbs a, .job-hero .breadcrumbs ol, .job-hero .breadcrumbs a { color: #D6E2FF; }
.ph-stat { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); }
.ph-stat dt { color: #E0E9FF; }

/* Tables: light header row with dark text. */
.table-wrap thead th { background: #EAF1FF; color: #1E3A8A; border-bottom: 2px solid #C7D7FE; }
.vacancy-html thead th { background: #EAF1FF; color: #1E3A8A; }
.vacancy-html thead th[colspan] { background: #DCE7FF; color: #1E3A8A; }

/* Blue panels (alerts) and footer: a step lighter. */
.alert-band { background: linear-gradient(120deg, #2563EB 0%, #1E40AF 75%); }
.widget-alert { background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%); }
.site-footer { background: #1E3A8A; color: #DCE6FF; }
.footer-bottom { background: #1A3278; }
.slider { background: #1E3A8A; }
.av-navy { background: linear-gradient(135deg, #1E3A8A, #3B5BC4); }
.av-blue { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.av-pink { background: linear-gradient(135deg, #DB2777, #F472B6); }

/* Organization identity stays within the existing card, list and image slots. */
.job-brand { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; color: #fff; vertical-align: middle; }
.job-brand-card { width: 44px; height: 44px; border-radius: 11px; }
.job-brand-detail, .job-brand-inline { width: 24px; height: 24px; }
.job-brand-inline { margin-right: 6px; }
.job-brand-table { width: 28px; height: 28px; margin-right: 6px; }
.job-brand-feed { width: 72px; height: 72px; border-radius: 12px; }
.job-brand > img, .job-brand > svg { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.job-brand[data-job-brand="image"] { background: #fff; padding: 3px; }
.feed-img:has(.job-brand), .thumb-placeholder.job-brand-placeholder { display: flex; align-items: center; justify-content: center; }
.bl-thumb .job-brand-feed { width: 36px; height: 36px; border-radius: 6px; }

/* Last-day blink: the label stays readable while the colour and glow flash. */
.deadline-link { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .76rem; line-height: 1.5; font-weight: 800; margin: 3px 0; }
.deadline-today { background: #be123c !important; border-color: #be123c !important; color: #fff !important; animation: deadline-blink 1s ease-in-out infinite; }
.ticker-list .deadline-link, .link-box .deadline-link { color: #fff; text-decoration: none; }
[data-sj-deadline][hidden], .job-countdown [hidden] { display: none !important; }
@keyframes deadline-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(225, 29, 72, .55); } 50% { opacity: .55; box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); } }
@media (prefers-reduced-motion: reduce) { .deadline-today { animation: none; } }

/* Row headers: the first cell of each data row is a <th scope="row"> that keeps the look of its row. */
.rtable th.rh { background: transparent; color: inherit; width: auto; font-weight: 650; }
.rtable th.rh.t-main { font-weight: 400; }
.table-wrap tbody tr:nth-child(even) th.rh { background: #FAFBFE; }
.table-wrap tbody tr:hover th.rh { background: #F1F5FD; }
.row-hot th.rh { background: #FFF6FA !important; }
.dates-table .row-done th.rh { color: #8A919E; }
.dates-table .row-next th.rh { background: #FFF6FA !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--pink); }
.dates-table .row-today th.rh { background: #FFF1D6 !important; font-weight: 800; }
.fee-table .row-free th.rh { background: #F0FAF3 !important; }
.fee-table .row-note th.rh { font-weight: 500; color: var(--muted); font-style: italic; }
.vacancy-html tbody th { width: auto; font-weight: 650; }
@media (max-width: 700px) {
	.rtable th.rh { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 8px 14px; border-bottom: 1px dashed var(--line); text-align: right; }
	.rtable tbody tr:nth-child(even) th.rh, .rtable tbody tr:hover th.rh { background: transparent; }
	.rtable th.rh::before { content: attr(data-label); flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); text-align: left; }
	.rtable th.rh.t-main { display: block; text-align: left; min-width: 0; }
	.rtable th.rh.t-main::before { content: none; }
}

/* Sidebar "Last Date Soon": logo beside the title and a last-day marker. */
.dl-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; white-space: normal; }
.dl-text > a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.dl-day.deadline-today strong { font-size: .9rem; }

/* Tables: visible column and row lines, and a readable header for the action column. */
.table-wrap th, .table-wrap td { border-right: 1px solid var(--line); }
.table-wrap tr > :last-child { border-right: 0; }
.table-wrap thead th.act-col { text-align: center; }
@media (max-width: 700px) { .rtable th.rh, .rtable td { border-right: 0; } }

/* Nothing may be wider than the screen: long chips wrap, and a stray wide element can never make the page slide sideways. */
html, body { overflow-x: clip; }
.t-sub { min-width: 0; }
.t-sub > * { max-width: 100%; }
@media (max-width: 700px) {
	.t-chip, .t-org { white-space: normal; overflow-wrap: anywhere; }
	.rtable th.rh.t-main, .rtable td { min-width: 0; overflow-wrap: anywhere; }
}

/* Listing tables: the official link and the details link each have their own column. */
.table-wrap td.act-col { text-align: center; }
.table-wrap td.act-col .tact { margin: 0; }
@media (max-width: 700px) {
	.rtable td.act-col { justify-content: stretch; }
	.rtable td.act-none { display: none; }
}

/* Job page Quick Summary: a facts table and a useful-links table. */
.summary-card .table-wrap { margin: 0 0 12px; border-radius: 10px; box-shadow: none; }
.summary-card .table-wrap:last-child { margin-bottom: 0; }
.summary-table { font-size: .86rem; }
.summary-table th, .summary-table td { padding: 8px 10px; vertical-align: top; overflow-wrap: break-word; }
.summary-table thead th { font-size: .7rem; }
.summary-table tbody th { width: 42%; font-weight: 700; }
.summary-table td { font-weight: 650; color: var(--ink); }
.summary-table .is-key td { color: var(--pink); font-weight: 800; }
.summary-links tbody th { width: auto; }
.summary-links td { width: 1%; white-space: nowrap; text-align: center; vertical-align: middle; }
.summary-links .btn { min-width: 64px; }

/* Quick Summary: compact rows. The card scrolls away with the page, with the other sidebar boxes under it. */
.summary-table th, .summary-table td { padding: 6px 10px; }
.summary-links .btn { min-height: 30px; padding: 4px 10px; }
@media (min-width: 1000px) { .job-layout .job-side { position: static; } }

/* Homepage "Last Date Soon" box: countdown rows; on wide screens it spans two cells so the last row has no gap. */
.link-box-deadline .deadline-list { padding: 4px 14px; flex: 1; align-content: start; }
.link-box-deadline .deadline-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.link-box-deadline .deadline-list li::before { content: none; }
.link-box-deadline .deadline-list a:not(.deadline-link) { color: var(--blue-dark); font-weight: 650; }
.link-box-deadline .deadline-list a:not(.deadline-link):hover { color: var(--pink); }
@media (min-width: 1000px) {
	.link-boxes > .link-box-deadline:last-child:nth-child(3n + 2) { grid-column: span 2; }
	.link-boxes > .link-box-deadline:last-child:nth-child(3n + 2) .deadline-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}

/* Listing tables always fit their column: the title cell gives way and long text wraps instead of scrolling sideways. */
@media (min-width: 701px) {
	.table-wrap .rtable .t-main { min-width: 0; }
	.table-wrap .rtable .t-date { min-width: 0; }
	.table-wrap .rtable .t-chip { white-space: normal; }
	.table-wrap .rtable th, .table-wrap .rtable td { padding-left: 12px; padding-right: 12px; }
	.table-wrap .rtable .act-col { padding-left: 8px; padding-right: 8px; }
}
@media (min-width: 701px) and (max-width: 999px) {
	.table-wrap .update-table td:nth-child(n+2), .table-wrap .rtable .t-date-line { white-space: normal; }
	.table-wrap .rtable .act-col { white-space: nowrap; }
}
@media (min-width: 701px) and (max-width: 820px) {
	.table-wrap .update-table th, .table-wrap .update-table td { padding-left: 8px; padding-right: 8px; font-size: .86rem; }
	.table-wrap .update-table thead th { white-space: normal; letter-spacing: 0; }
	.table-wrap .update-table .tact { padding: 4px 8px; }
	.table-wrap .update-table .badge, .table-wrap .update-table .dpill { white-space: normal; }
}

/* Sidebar browse boxes (Jobs by State / Qualification): a tidy grid of tiles with an icon and the number of jobs. */
.term-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.term-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; }
.term-grid a { display: flex; align-items: center; gap: 7px; min-width: 0; height: 100%; padding: 8px 9px 8px 11px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 10px; background: var(--wash); color: var(--ink); font-size: .84rem; font-weight: 650; line-height: 1.25; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.term-name { flex: 1; min-width: 0; overflow-wrap: break-word; }
.term-count { flex: none; min-width: 26px; padding: 1px 6px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--blue-dark); font-size: .7rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.term-grid a:hover, .term-grid a:focus-visible { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-1px); }
.term-box-pink .term-grid a { border-left-color: var(--pink); }
.term-box-pink .term-grid a:hover, .term-box-pink .term-grid a:focus-visible { background: var(--pink); border-color: var(--pink); }
.term-more { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .84rem; font-weight: 700; text-align: right; text-decoration: none; }
.term-more:hover { color: var(--pink); }
@media (prefers-reduced-motion: reduce) { .term-grid a { transition: none; } .term-grid a:hover { transform: none; } }

.ca-topics { display: flex; gap: 8px; margin: 0 0 18px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: thin; }
.ca-topic { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ca-topic span { padding: 0 6px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); font-size: .7rem; font-weight: 800; }
.ca-topic:hover { border-color: var(--blue); color: var(--blue); }
.ca-topic.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ca-topic.is-active span { background: rgba(255, 255, 255, .25); color: #fff; }
.ca-day { margin: 0 0 26px; }
.ca-day-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 800 1.05rem/1.3 var(--font); color: var(--ink); }
.ca-day-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ca-day-date { padding: 5px 12px; border-radius: 8px; background: linear-gradient(90deg, var(--blue-dark), var(--blue)); color: #fff; font-size: .9rem; }
.ca-day-name { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.ca-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ca-item { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); transition: border-color .15s, box-shadow .15s, transform .15s; }
.ca-item:hover { border-left-color: var(--pink); box-shadow: 0 8px 20px rgba(10, 42, 115, .08); transform: translateY(-1px); }
.ca-time { align-self: start; padding: 5px 4px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-size: .74rem; font-weight: 800; text-align: center; white-space: nowrap; }
.ca-body { min-width: 0; }
.ca-chip { display: inline-block; max-width: 100%; margin: 0 0 6px; padding: 2px 9px; border-radius: 20px; background: var(--pink-soft); color: var(--pink-dark); font-size: .72rem; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.ca-chip:hover { background: var(--pink); color: #fff; }
.ca-title { margin: 0 0 4px; font: 750 1rem/1.4 var(--font); }
.ca-title a { color: var(--blue-dark); text-decoration: none; }
.ca-title a:hover { color: var(--pink); text-decoration: underline; }
.ca-excerpt { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 520px) {
	.ca-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.ca-time { justify-self: start; padding: 3px 9px; }
}
/* Single item */
.ca-hero { padding: 16px 0 18px; }
.ca-hero h1 { margin: 6px 0 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--ink); }
.ca-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: .86rem; font-weight: 650; color: var(--muted); }
.ca-meta .ca-chip { margin: 0; }
.ca-content { font-size: 1.02rem; line-height: 1.75; }
.ca-source { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; padding: 12px 14px; background: var(--wash); border: 1px solid var(--line); border-left: 4px solid #16A34A; border-radius: 10px; font-size: .9rem; }
.ca-source .ico { flex: none; width: 20px; height: 20px; color: #16A34A; margin-top: 2px; }
.ca-more { margin-top: 28px; }
/* Homepage block */
.home-ca { margin-bottom: 26px; }
.home-ca-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; background: linear-gradient(90deg, var(--navy), var(--blue-dark) 55%, var(--blue)); color: #fff; }
.home-ca-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 1.15rem/1.3 var(--font); color: #fff; }
.home-ca-date { padding: 3px 10px; border-radius: 20px; background: rgba(255, 255, 255, .16); font-size: .8rem; font-weight: 700; }
.home-ca-all { margin-left: auto; color: #fff; font-size: .86rem; font-weight: 800; text-decoration: none; }
.home-ca-all:hover { color: #FFD1E8; }
@media (min-width: 900px) { .home-ca-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .ca-item { transition: none; } .ca-item:hover { transform: none; } }

/* Daily page: every item in full, with its source and a link to it. */
.ca-text { margin: 6px 0 0; font-size: .95rem; line-height: 1.7; color: var(--text); }
.ca-text p { margin: 0 0 .8em; }
.ca-text p:last-child { margin-bottom: 0; }
.ca-item-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); }
.ca-read { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.ca-read:hover { background: var(--blue); color: #fff; }

/* Current affairs by date: a strip of recent days and a date picker. */
.ca-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.ca-dates-label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ca-dates-label .ico { width: 16px; height: 16px; color: var(--pink); }
.ca-date-strip { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ca-date { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--wash); color: var(--ink); text-decoration: none; line-height: 1.25; }
.ca-date strong { font-size: .9rem; font-weight: 800; white-space: nowrap; }
.ca-date span { font-size: .68rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ca-date:hover { border-color: var(--blue); color: var(--blue); }
.ca-date.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ca-date.is-active span { color: #DCE6FF; }
.ca-date-form { display: flex; gap: 6px; align-items: center; }
.ca-date-form input[type="date"] { height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .86rem; background: #fff; color: var(--ink); }

/* Current affairs in two languages: the switch on the list, and "read in the other language" on an item. */
.ca-langs { display: inline-flex; gap: 0; margin: 0 0 14px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.ca-lang { display: inline-flex; align-items: center; padding: 7px 18px; border-radius: 9px; color: var(--ink); font-size: .92rem; font-weight: 800; text-decoration: none; }
.ca-lang:hover { color: var(--blue); }
.ca-lang.is-active { background: var(--blue); color: #fff; }
.ca-lang-switch { padding: 4px 12px; border: 1px solid var(--line); background: var(--blue-soft); color: var(--blue-dark); font-size: .82rem; }
.ca-lang-switch:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
[lang="hi"] .ca-title, [lang="hi"] .ca-text, [lang="hi"] .ca-excerpt, .ca-single[lang="hi"] h1, .ca-single[lang="hi"] .ca-content { font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", var(--font); line-height: 1.8; }
.home-ca-more { margin-left: 0; }
.ca-more-link { display: inline-block; margin-top: 8px; font-size: .84rem; font-weight: 800; color: var(--pink); text-decoration: none; }
.ca-more-link:hover { color: var(--blue); text-decoration: underline; }

/* Daily Current Affairs list: the news uses the whole page width, two cards across on wide screens. */
.ca-page { padding-top: 18px; padding-bottom: 36px; }
.ca-main { min-width: 0; }
@media (min-width: 900px) { .ca-page .ca-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .ca-page .ca-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Shown instead of an empty list, above the suggested updates. */
.soft-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; padding: 14px 16px; background: var(--wash); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; }
.soft-note .ico { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--blue); }
.soft-note p { margin: 0; font-size: .95rem; }
.soft-subscribe { margin: 8px 0 24px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: #fff; }
.soft-subscribe p { margin: 0 0 10px; }
/* Current affairs item: a key-details table over the text, and the related lists in the main column. */
.ca-facts-wrap { margin: 0 0 18px; }
.ca-facts { font-size: .92rem; }
.ca-facts tbody th { width: 34%; font-weight: 700; }
.ca-facts td a { font-weight: 700; text-decoration: none; }
.ca-facts td a:hover { text-decoration: underline; }
.ca-single .ca-content { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
@media (max-width: 600px) { .ca-single .ca-content { padding: 16px; } }

/* Extra latest items at the end of the main column: main.js switches on as many as the space beside the sidebar holds. */
.main-fill[hidden], .main-fill-list > :not(.on) { display: none !important; }
.main-fill.ca-day { margin: 10px 0 0; }
.ca-more + .main-fill.ca-day { margin-top: -16px; } /* Continues the list above it at the same spacing. */
.main-fill.block { margin-top: 28px; margin-bottom: 0; }
.topic-feed + .main-fill.block { margin-top: 0; } /* Continues the topic's list. */
.topic-feed.block { margin-top: 28px; margin-bottom: 0; }
.topic-feed.ca-day { margin-bottom: 26px; }

/* Homepage topic boxes: every headline carries its logo. */
.headline-list a { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.headline-list a .job-brand-inline { flex: 0 0 24px; margin: 0; }
.headline-list a > span:last-child { min-width: 0; overflow-wrap: anywhere; }

/* Readable on phones: no label under 11.5px, and small links / slider dots get a finger-sized tap area. */
.jc-head .badge, .jc-facts dt, .jc-step, .ca-date span, .job-single .info-label { font-size: .72rem; }
.jc-meta a { display: inline-block; min-width: 28px; padding: 5px 0; }
.slider-dots { gap: 10px; }
.slider-dots button { position: relative; }
.slider-dots button::after { content: ""; position: absolute; inset: -12px -5px; } /* Same dot, larger tap area. */

/* Why-trust band: kicker, lead line, live numbers, cards that lift on hover. */
.trust-band { padding: 44px 0 40px; background: linear-gradient(180deg, #F5F8FF 0%, #fff 100%); }
.trust-kicker { margin: 0 0 6px; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.trust-band h2 { margin-bottom: 8px; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.trust-lead { max-width: 680px; margin: 0 auto 22px; text-align: center; color: var(--muted); }
.trust-stats { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .trust-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-stats li { padding: 12px 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 40, .05); }
.trust-stats b { display: block; font: 800 1.45rem/1.2 var(--font); color: var(--blue-dark); }
.trust-stats span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.trust-grid { gap: 16px; }
.trust-item { position: relative; padding: 20px; border-radius: 14px; border-top: 3px solid var(--blue); box-shadow: 0 1px 3px rgba(16, 24, 40, .05); transition: transform .15s, box-shadow .15s; }
.trust-item:nth-child(even) { border-top-color: var(--pink); }
.trust-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 24, 40, .1); }
.trust-item h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.trust-item p a { font-weight: 700; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .trust-item { transition: none; } .trust-item:hover { transform: none; } }

/* Job-alert band. */
.alert-band { padding: 34px 0; }
.alert-points { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alert-points li { padding: 3px 12px 3px 26px; border-radius: 20px; background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") 8px 50% / 13px no-repeat; color: #fff; font-size: .8rem; font-weight: 700; }

/* Footer: quick actions on top, five columns, a plain-language notice, then the bottom bar. */
.footer-top { background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 16px; padding-bottom: 16px; }
.footer-top-title { margin: 0; font-weight: 800; color: #fff; }
.footer-quick { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; min-width: 0; }
.footer-quick a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 700; }
.footer-quick a svg { width: 16px; height: 16px; flex: none; }
.footer-quick a b { padding: 1px 7px; border-radius: 20px; background: rgba(255, 255, 255, .16); font-size: .72rem; }
.site-footer .footer-quick a:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.footer-quick a:hover b { background: var(--blue-soft); }
.footer-alert-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 10px; background: var(--pink); font-weight: 800; }
.footer-alert-btn svg { width: 16px; height: 16px; }
.site-footer .footer-alert-btn:hover { background: #fff; color: var(--pink-dark); }
.footer-grid { gap: 26px 22px; padding-top: 34px; padding-bottom: 20px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } .footer-about { grid-column: auto; } }
.footer-title { font-size: .86rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-grid > div:first-child .footer-title { border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
.footer-points { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: .88rem; }
.footer-points li { display: flex; align-items: center; gap: 8px; }
.footer-points svg { width: 16px; height: 16px; flex: none; color: #FF8CC6; }
.footer-links li { margin-bottom: 0; }
.footer-links a { display: block; padding: 5px 0; transition: padding-left .15s, color .15s; }
.footer-links a:hover { padding-left: 4px; }
.footer-links a.footer-all { margin-top: 4px; font-weight: 800; color: #FF8CC6; }
.footer-note { margin: 0 0 22px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .16); border-left: 4px solid var(--pink); border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .86rem; line-height: 1.6; }
.footer-note strong { color: #fff; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.footer-up { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 639px) { .footer-bottom-inner { justify-content: center; text-align: center; } .footer-quick a { flex: 1 1 calc(50% - 8px); justify-content: space-between; } .footer-alert-btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .footer-links a { transition: none; } }

/* Cookie notice: a bar fixed to the bottom until the visitor chooses. */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; padding: 12px 16px; background: #fff; border-top: 3px solid var(--pink); box-shadow: 0 -8px 28px rgba(16, 24, 40, .16); }
.cookie-bar[hidden] { display: none; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cookie-copy { flex: 1 1 380px; min-width: 0; font-size: .9rem; color: var(--ink); }
.cookie-copy p { margin: 0; }
.cookie-title { font-weight: 800; font-size: 1rem; margin-bottom: 2px !important; }
.cookie-copy a { font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn { min-height: 42px; padding: 8px 18px; cursor: pointer; }
.cookie-accept { background: var(--pink); border-color: var(--pink); color: #fff; }
.has-cookie-bar .to-top { bottom: 150px; }
.footer-bottom-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding-inline-end: 64px; }
.footer-bottom-links a { font-weight: 700; }
@media (max-width: 600px) { .cookie-actions { width: 100%; } .cookie-btn { flex: 1 1 0; } }
/* Current affairs retrieval practice: answers remain native, keyboard-accessible disclosures. */
.ca-revision-check{margin:24px 0;padding:20px;border:1px solid #d9e3f1;border-radius:12px;background:#f6f9ff}
.ca-revision-check details{margin:10px 0;padding:12px 0;border-top:1px solid #d9e3f1}
.ca-revision-check summary{cursor:pointer;font-weight:600;line-height:1.6}
.ca-revision-check summary:focus-visible{outline:2px solid #3369eb;outline-offset:4px}
.ca-revision-check details p{margin:12px 0 0}

/* Audit: a single accessible ticker list and readable publisher links. */
.ticker-list{animation:none!important}.ticker-track{overflow-x:auto}.sj-home-intro{max-width:none;padding:12px 0}.sj-home-intro p{margin:0 0 12px;line-height:1.7}.sj-trust-links{padding-top:12px;padding-bottom:16px;font-size:.875rem}.sj-consolidated-guide{margin-top:28px}
