/* MyTalent Zoho Jobs – uses the career site's design tokens (.mt-home) with fallbacks. */
.mtj {
	--mtj-blue: var(--mt-blue, #12668a);
	--mtj-blue-600: var(--mt-blue-600, #0f5878);
	--mtj-blue-800: var(--mt-blue-800, #0a3a50);
	--mtj-blue-50: var(--mt-blue-50, #eef6fa);
	--mtj-blue-100: var(--mt-blue-100, #d9ebf3);
	--mtj-red: var(--mt-red, #c8102e);
	--mtj-ink: var(--mt-ink, #14222b);
	--mtj-text: var(--mt-text, #475862);
	--mtj-line: var(--mt-line, #e2e9ee);
	--mtj-bg: var(--mt-bg, #f6f9fb);
	--mtj-radius: var(--mt-radius, 18px);
	--mtj-shadow: var(--mt-shadow, 0 1px 2px rgba(10, 58, 80, .06), 0 8px 24px rgba(10, 58, 80, .08));
	font-family: "Inter", "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	color: var(--mtj-text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.mtj *, .mtj *::before, .mtj *::after { box-sizing: border-box; }
.mtj :where(h1, h2, h3) { color: var(--mtj-ink); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -.02em; }
.mtj :where(p, ul, ol, dl, dd) { margin: 0; }
.mtj a { color: var(--mtj-blue); }
.mtj [hidden] { display: none !important; }
.mtj-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mtj-ico { flex-shrink: 0; }
.mtj-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.mtj-list-section, .mtj-detail { background: linear-gradient(180deg, #fff, var(--mtj-bg) 420px); padding: 64px 0 96px; }

/* Heading */
.mtj-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.mtj-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mtj-blue); margin-bottom: 12px; }
.mtj-title { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.03em; }
.mtj-lead { margin-top: 16px; font-size: 18px; }
.mtj-feed { margin-top: 14px; }
.mtj .mtj-feed-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #6b7d88; text-decoration: none; transition: color .15s ease; }
.mtj .mtj-feed-link:hover { color: var(--mtj-ink); text-decoration: underline; text-underline-offset: 3px; }
.mtj-feed-ico { display: inline-flex; color: #f26522; }
.mtj-feed-ico .mtj-ico { width: 15px; height: 15px; stroke-width: 2.6; }

/* Buttons */
.mtj .mtj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; border: 2px solid transparent; background: var(--mtj-blue); color: #fff; box-shadow: 0 6px 18px rgba(18, 102, 138, .28); transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.mtj .mtj-btn:hover { background: var(--mtj-blue-600); color: #fff; transform: translateY(-1px); }
.mtj .mtj-btn--ghost { background: #fff; color: var(--mtj-blue); border-color: var(--mtj-blue-100); box-shadow: none; }
.mtj .mtj-btn--ghost:hover { background: #fff; color: var(--mtj-blue); border-color: var(--mtj-blue); }
.mtj .mtj-btn--block { display: flex; width: 100%; }
.mtj a:focus-visible, .mtj input:focus-visible, .mtj select:focus-visible { outline: 3px solid #f2b600; outline-offset: 3px; }

/* Filter */
.mtj-filter { display: flex; gap: 12px; max-width: 860px; margin: 0 auto; }
.mtj-field { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--mtj-line); border-radius: 14px; box-shadow: var(--mtj-shadow); }
.mtj-field--search { flex: 1 1 auto; }
.mtj-field--search .mtj-ico { position: absolute; left: 16px; color: var(--mtj-blue); pointer-events: none; }
/* Higher specificity than the theme's input[type="search"] / select rules. */
.mtj .mtj-field input[type="search"], .mtj .mtj-field select { width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--mtj-ink); background-color: transparent; border: 0; border-radius: 14px; padding: 15px 18px; margin: 0; min-height: 54px; box-shadow: none; outline-offset: 0; -webkit-appearance: none; appearance: none; }
.mtj .mtj-field input[type="search"] { padding-left: 48px; }
.mtj .mtj-field input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.mtj-field input::placeholder { color: #8396a1; }
.mtj-field--select { flex: 0 0 240px; }
.mtj .mtj-field select { cursor: pointer; padding-right: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2312668a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; }
.mtj-count { max-width: 860px; margin: 14px auto 0; font-size: 15px; text-align: center; }
.mtj-count:empty { display: none; }

/* List */
.mtj-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.mtj-job { margin: 0; padding: 0; display: flex; }
.mtj .mtj-card { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--mtj-line); border-radius: var(--mtj-radius); padding: 26px; box-shadow: var(--mtj-shadow); text-decoration: none; color: var(--mtj-text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mtj .mtj-card:hover { transform: translateY(-3px); border-color: var(--mtj-blue-100); box-shadow: 0 2px 4px rgba(10, 58, 80, .06), 0 18px 40px rgba(10, 58, 80, .12); }
.mtj-card-top { display: flex; align-items: center; gap: 10px; min-height: 22px; font-size: 13px; color: #6b7d88; }
.mtj-new { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--mtj-red); border-radius: 999px; padding: 3px 10px; line-height: 1.4; }
.mtj-card-title { font-size: 20px; line-height: 1.25; }
.mtj-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mtj-chip { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mtj-blue-800); background: var(--mtj-blue-50); border-radius: 999px; padding: 5px 11px; }
.mtj-card-text { font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mtj-card-more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 8px; color: var(--mtj-blue); font-weight: 700; font-size: 15px; }
.mtj-card-more .mtj-ico { transition: transform .18s ease; }
.mtj .mtj-card:hover .mtj-card-more .mtj-ico { transform: translateX(3px); }
.mtj-all { margin-top: 32px; text-align: center; }

.mtj-empty-box { max-width: 640px; margin: 28px auto 0; text-align: center; background: #fff; border: 1px dashed var(--mtj-blue-100); border-radius: var(--mtj-radius); padding: 32px; }
.mtj-empty-box p + p { margin-top: 8px; }
.mtj-empty-box strong { color: var(--mtj-ink); }
.mtj-empty-box .mtj-btn { margin-top: 20px; }

/* Detail */
.mtj .mtj-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.mtj .mtj-back:hover { text-decoration: underline; }
.mtj-detail-head { margin: 22px 0 36px; max-width: 860px; }
.mtj-detail-head .mtj-new { margin-bottom: 14px; }
.mtj-detail-head .mtj-title { font-size: clamp(30px, 4vw, 44px); }
.mtj-detail-head .mtj-chips { margin-top: 18px; }
.mtj-detail-head .mtj-chip { font-size: 14px; padding: 6px 13px; }

.mtj-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.mtj-desc { background: #fff; border: 1px solid var(--mtj-line); border-radius: var(--mtj-radius); padding: 40px; box-shadow: var(--mtj-shadow); overflow-wrap: anywhere; }
.mtj-desc > * + * { margin-top: 14px; }
.mtj-desc h2, .mtj-desc h3, .mtj-desc h4 { margin-top: 30px; color: var(--mtj-ink); font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.mtj-desc > :first-child { margin-top: 0; }
.mtj-desc h4 { margin-top: 22px; font-size: 16px; }
.mtj-desc :is(h2, h3) + h4 { margin-top: 14px; }
.mtj-desc :is(h2, h3, h4) + :not(h2, h3, h4) { margin-top: 6px; }
.mtj-desc strong { color: var(--mtj-ink); }
.mtj-desc ul, .mtj-desc ol { padding-left: 22px; }
.mtj-desc li + li { margin-top: 6px; }
.mtj-desc li::marker { color: var(--mtj-blue); }

.mtj-cta { margin-top: 40px !important; padding: 28px; border-radius: 14px; background: var(--mtj-blue-50); }
.mtj-cta h2 { font-size: 22px; margin: 0 !important; }
.mtj-cta p { margin-top: 8px; }
.mtj-cta .mtj-btn { margin-top: 18px; }

.mtj-facts { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); }
.mtj-facts-box { background: #fff; border: 1px solid var(--mtj-line); border-radius: var(--mtj-radius); padding: 28px; box-shadow: var(--mtj-shadow); }
.mtj .mtj-facts-title { font-size: 18px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--mtj-line); }
.mtj-facts dl { display: grid; gap: 14px; margin-bottom: 24px; }
.mtj-fact { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; align-content: start; }
.mtj-fact .mtj-ico { grid-row: span 2; color: var(--mtj-blue); margin-top: 3px; }
.mtj-fact dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #6b7d88; line-height: 1.4; }
.mtj-fact dd { color: var(--mtj-ink); font-weight: 600; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.mtj-facts-note { margin-top: 12px !important; font-size: 13px; text-align: center; color: #6b7d88; }

.mtj-more { margin-top: 72px; }
.mtj-more > h2 { font-size: clamp(24px, 3vw, 30px); }
.mtj-list--compact { grid-template-columns: repeat(3, 1fr); }
.mtj-list--compact .mtj-card-text { display: none; }

.mtj-sticky-apply { display: none; }

@media (max-width: 960px) {
	.mtj-detail-grid { grid-template-columns: 1fr; gap: 24px; }
	.mtj-facts { position: static; order: -1; }
	.mtj-facts-box .mtj-btn, .mtj-facts-note { display: none; }
	.mtj-facts dl { margin-bottom: 0; grid-template-columns: 1fr 1fr; }
	.mtj-list--compact { grid-template-columns: 1fr; }
	.mtj-detail { padding-bottom: 120px; }
	.mtj-sticky-apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--mtj-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
@media (max-width: 640px) {
	.mtj-wrap { padding: 0 16px; }
	.mtj-list-section, .mtj-detail { padding-top: 40px; }
	.mtj-filter { flex-direction: column; }
	.mtj-field--select { flex-basis: auto; }
	.mtj-list { grid-template-columns: 1fr; gap: 14px; }
	.mtj .mtj-card { padding: 22px; }
	.mtj-desc { padding: 24px 20px; }
	.mtj-facts-box { padding: 18px 18px 20px; }
	.mtj .mtj-facts-title { font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; }
	.mtj-facts dl { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
	.mtj-fact { grid-template-columns: 1fr; }
	.mtj-fact .mtj-ico { display: none; }
	.mtj-fact dt { font-size: 11px; }
	.mtj-fact dd { font-size: 15px; }
	.mtj-cta { padding: 22px 20px; }
	.mtj-cta .mtj-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mtj * { transition: none !important; }
}
