/* themes/_shared/th-core.css — sab themes ka structure. Rang, font, radius har theme ki skin.css me variables se. */
:root{
  --th-accent:#F2B705;      /* lines, underlines, highlights */
  --th-btn-bg:#F2B705;      /* Apply buttons, pills title, active page */
  --th-btn-fg:#1B2430;
  --th-dark:#14233B;        /* FAQ header, current chip, avatar, footer */
  --th-on-dark:#DCE3EE;
  --th-ink:#1B2430; --th-text:#333C4A; --th-muted:#5A6372;
  --th-line:#DDE1E7; --th-soft:#EEF1F5; --th-bg:#F4F5F7; --th-surface:#fff; --th-green:#1E7A46;
  --th-font-body:'Archivo','Segoe UI',sans-serif;
  --th-font-display:'Archivo','Segoe UI',sans-serif;
  --th-dstretch:85%; --th-dweight:800;
  --th-radius:8px; --th-radius-sm:6px;
  --th-h1-size:48px;
  --th-body-size:18px;
}
body.th{margin:0;background:var(--th-bg);color:var(--th-text);font-family:var(--th-font-body);font-size:16px;-webkit-font-smoothing:antialiased}
.th a{color:var(--th-ink);text-decoration:none}
.th a:hover{text-decoration:underline}
.th-wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.th :focus-visible{outline:3px solid var(--th-accent);outline-offset:2px}

/* NAVBAR — hamesha white */
.th-band{background:#fff;border-bottom:1px solid var(--th-line)}
.th-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:64px;padding-top:8px;padding-bottom:8px}
.th-logo{display:inline-flex;align-items:center}
.th-logo img{height:38px;width:auto;display:block}
.th-logo-text{color:var(--th-ink)!important;font-family:var(--th-font-display);font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);font-size:22px}
.th-toggler{display:none;width:44px;height:44px;border:0;background:transparent;align-items:center;justify-content:center;cursor:pointer;color:var(--th-ink)}
.th-menu{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.th-menu a{color:var(--th-text)!important;padding:12px;font-size:15px;font-weight:500}
.th-menu a:hover{color:var(--th-ink)!important;text-decoration:underline;text-decoration-color:var(--th-accent);text-decoration-thickness:3px;text-underline-offset:6px}
.th-menu a.th-team{margin-left:8px;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1.5px solid var(--th-accent);border-radius:var(--th-radius-sm);color:var(--th-ink)!important;font-weight:700}
.th-menu a.th-team:hover{text-decoration:none}

/* TOP AD — default jaisa plain container (header.php me .container > .text-center.py-5). Flex mat lagana: AdSense ad ko 0 width milti hai */

/* TITLE BLOCK */
.th-head{padding-bottom:28px;display:flex;flex-direction:column;gap:12px}
.th-crumb{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;color:var(--th-muted)}
.th-crumb a{color:var(--th-muted)!important}
.th-crumb .cur{color:var(--th-ink)}
.th-h1{margin:0;font-family:var(--th-font-display);font-size:var(--th-h1-size);line-height:1.06;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink);padding-bottom:12px;border-bottom:5px solid var(--th-accent);align-self:flex-start;max-width:22ch}
.th-sub{font-size:16px;color:var(--th-muted)}
.th-author{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px;color:var(--th-muted)}
.th-avatar{width:44px;height:44px;border-radius:999px;overflow:hidden;background:var(--th-dark);flex-shrink:0;display:block}
.th-avatar svg,.th-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.th-author-name{font-size:16px;font-weight:700;color:var(--th-ink)!important}
.th-verified{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;background:var(--th-dark);color:#fff;font-size:10px;margin-left:4px;vertical-align:middle}

/* LAYOUT */
.th-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding-bottom:56px}
.th-main{flex:999 1 620px;min-width:0;display:flex;flex-direction:column;gap:24px}
.th-rail{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:20px}
.th-panel{background:var(--th-surface);border:1px solid var(--th-line);border-radius:var(--th-radius);overflow:hidden}
.th-panel-h{margin:0;padding:14px 18px;font-family:var(--th-font-display);font-size:18px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink);border-bottom:1px solid var(--th-line);display:flex;justify-content:space-between;align-items:center;gap:10px}
.th-panel-h a{font-family:var(--th-font-body);font-size:14px;font-weight:600;font-stretch:100%;text-decoration:underline;text-decoration-color:var(--th-accent);text-decoration-thickness:3px}
.th-h2{margin:0;font-family:var(--th-font-display);font-size:28px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink)}
/* inline headings in markup that set font-stretch should follow the theme font */
.th [style*="font-stretch"]{font-family:var(--th-font-display)}

/* RAIL LISTS */
.th-list a.th-row{display:flex;justify-content:space-between;align-items:center;min-height:46px;padding:0 18px;border-bottom:1px solid var(--th-soft);font-size:16px}
.th-list a.th-row:last-child{border-bottom:0}
.th-list a.th-row.cur{background:var(--th-soft);font-weight:700;box-shadow:inset 4px 0 0 var(--th-accent)}
.th-list a.th-row svg{flex-shrink:0}
.th-mini{display:flex;gap:12px;padding:12px 18px;border-bottom:1px solid var(--th-soft);align-items:center}
.th-mini:last-child{border-bottom:0}
.th-mini img,.th-mini .ph{width:72px;height:54px;flex-shrink:0;border-radius:calc(var(--th-radius-sm) - 1px);object-fit:cover;background:var(--th-soft)}
.th-mini .c{font-size:13px;color:var(--th-muted)}
.th-mini .t{font-size:15px;line-height:1.35;font-weight:600;color:var(--th-ink)}
.th-tags{display:flex;flex-wrap:wrap;gap:6px;padding:14px 18px}
.th-tags a{padding:6px 12px;border-radius:var(--th-radius-sm);border:1px solid var(--th-line);font-size:14px}

/* ARTICLE CARDS (home, country, tag) */
.th-cards{display:flex;flex-direction:column;gap:14px}
.th-card{background:var(--th-surface);border:1px solid var(--th-line);border-radius:var(--th-radius);display:flex;flex-wrap:wrap;overflow:hidden;position:relative}
.th-card-img{flex:1 1 200px;max-width:100%;min-height:150px;background:var(--th-soft);display:block;position:relative}
.th-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.th-card-body{flex:999 1 320px;min-width:0;padding:18px 20px;display:flex;flex-direction:column;gap:8px}
.th-country{align-self:flex-start;font-size:13px;font-weight:700;color:var(--th-ink);border-bottom:3px solid var(--th-accent);padding-bottom:1px}
.th-card-title{font-family:var(--th-font-display);font-size:21px;line-height:1.25;font-weight:700;color:var(--th-ink)!important}
.th-card-ex{margin:0;font-size:15px;line-height:1.55;color:var(--th-muted)}
.th-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--th-muted)}
.th-meta .sal{font-weight:700;color:var(--th-green)}
.th-chips{display:flex;flex-wrap:wrap;gap:6px}
.th-chip{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:var(--th-radius-sm);background:var(--th-soft);font-size:13px;font-weight:600;color:var(--th-ink)!important}
.th-chip-more{display:inline-flex;align-items:center;min-height:32px;padding:0 6px;font-size:13px;color:var(--th-muted)}

/* CITY SWITCHER */
.th-cityswitch{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-top:6px}
.th-cityswitch a,.th-cityswitch span{flex-shrink:0;display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:var(--th-radius-sm);font-size:15px;white-space:nowrap}
.th-cityswitch a{border:1px solid var(--th-line);background:var(--th-surface);font-weight:600}
.th-cityswitch span{background:var(--th-dark);color:#fff;font-weight:800}

/* ARTICLE BODY */
.th-cover{display:block;width:100%;height:auto;object-fit:cover}
.th-body{padding:32px 36px;font-size:var(--th-body-size);line-height:1.75;color:var(--th-text)}
.th-body h2,.th-body h3,.th-body h4{font-family:var(--th-font-display);font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink);line-height:1.2;margin:28px 0 12px}
.th-body h2{font-size:28px!important}.th-body h3{font-size:23px!important}.th-body h4{font-size:20px!important}
.th-body p{margin:0 0 20px}
.th-body img{max-width:100%;height:auto}
.th-body table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:16px}
.th-body th,.th-body td{border:1px solid var(--th-line);padding:8px 10px;text-align:left}
.th-body a{text-decoration:underline;text-decoration-color:var(--th-accent);text-decoration-thickness:2px}
.th-mcities{padding:16px 16px 0}

/* SALARY */
.th-sal-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--th-line)}
.th-sal-h h2{margin:0;font-family:var(--th-font-display);font-size:22px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink)}
.th-sal details{border-bottom:1px solid var(--th-soft)}
.th-sal details:last-child{border-bottom:0}
.th-sal summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;padding:16px 22px;min-height:44px}
.th-sal summary::-webkit-details-marker{display:none}
.th-sal .jt{flex:1;min-width:0;display:flex;flex-direction:column}
.th-sal .jt b{font-size:17px;color:var(--th-ink)}
.th-sal .jt small{font-size:13px;color:var(--th-muted)}
.th-sal .amt{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}
.th-sal .amt b{font-size:18px;color:var(--th-ink)}
.th-sal .amt small{font-size:13px}
.th-demand{min-width:52px;text-align:center;padding:4px 8px;border-radius:var(--th-radius-sm);font-size:13px;font-weight:800;color:var(--th-ink);background:var(--th-soft)}
.th-demand.hi{background:var(--th-btn-bg);color:var(--th-btn-fg)}
.th-sal-body{padding:0 22px 20px;display:flex;flex-direction:column;gap:16px;font-size:15px}
.th-range{position:relative;height:10px;background:var(--th-soft);border-radius:3px}
.th-range .r{position:absolute;height:100%;background:var(--th-line);border-radius:3px}
.th-range .a{position:absolute;width:5px;height:100%;background:var(--th-dark)}
.th-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.th-grid .l{font-size:13px;color:var(--th-muted)}
.th-grid .v{font-weight:600;color:var(--th-ink)}
.th-skill{padding:4px 10px;border-radius:var(--th-radius-sm);background:var(--th-soft);font-size:13px;font-weight:600;color:var(--th-ink)}

/* FAQ */
.th-faq-h{padding:20px 24px;background:var(--th-dark);color:#fff}
.th-faq-h h2{margin:0;font-family:var(--th-font-display);font-size:24px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:#fff}
.th-faq-h p{margin:6px 0 0;font-size:14px;color:var(--th-on-dark)}
.th-faq{padding:20px 24px;border-bottom:1px solid var(--th-soft);display:flex;gap:14px}
.th-faq:last-child{border-bottom:0}
.th-faq .q{flex-shrink:0;width:30px;height:30px;border-radius:var(--th-radius-sm);background:var(--th-btn-bg);color:var(--th-btn-fg);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center}
.th-faq .qt{font-size:17px;font-weight:700;color:var(--th-ink);line-height:1.4;margin-bottom:8px}
.th-faq .an{font-size:16px;line-height:1.65;color:var(--th-muted)}
.th-faq .src{display:inline-block;margin-top:8px;font-size:14px;font-weight:600;text-decoration:underline;text-decoration-color:var(--th-accent);text-decoration-thickness:3px}
.th-faq-all{padding:14px 24px;text-align:center;background:var(--th-soft);font-weight:700}

/* JOB CARDS */
.th-job{background:var(--th-surface);border:1px solid var(--th-line);border-radius:var(--th-radius);padding:20px 22px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.th-job-main{flex:999 1 320px;min-width:0;display:flex;flex-direction:column;gap:8px}
.th-job-title{font-family:var(--th-font-display);font-size:19px;font-weight:700;color:var(--th-ink)!important;line-height:1.3}
.th-job-sub{font-size:14px;color:var(--th-muted)}
.th-badges{display:flex;flex-wrap:wrap;gap:6px}
.th-badge{padding:3px 9px;border-radius:5px;background:var(--th-soft);font-size:13px;font-weight:600;color:var(--th-ink)}
.th-badge.sal{background:#E6F3EC;color:#1E5E3A}
.th-badge.city{background:#FFF4D1;color:#6B4E00}
.th-badge.muted{font-weight:400;color:var(--th-muted)}
.th-job-desc{margin:0;font-size:15px;line-height:1.55;color:var(--th-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-links{display:flex;flex-wrap:wrap;gap:6px}
.th-links a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:5px;border:1px solid var(--th-line);font-size:13px}
.th-apply{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:var(--th-radius-sm);background:var(--th-btn-bg);color:var(--th-btn-fg)!important;font-weight:800;font-size:15px}
.th-apply:hover{text-decoration:none!important;filter:brightness(.95)}
.th-note{padding:12px 16px;border-radius:var(--th-radius-sm);background:var(--th-soft);font-size:15px;color:var(--th-ink)}
.th-empty{padding:16px;border-radius:var(--th-radius-sm);background:var(--th-surface);border:1px solid var(--th-line);color:var(--th-muted)}

/* JOB DETAIL */
.th-detail{padding:28px 30px}
.th-detail-desc{font-size:16px;line-height:1.8;color:var(--th-text);white-space:pre-line}
.th-label{font-size:13px;color:var(--th-muted);margin-bottom:6px}

/* PAGINATION */
.th-pages{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;font-size:15px;font-weight:600;margin-top:8px}
.th-pages a,.th-pages span{min-width:44px;height:44px;padding:0 12px;display:flex;align-items:center;justify-content:center;border-radius:var(--th-radius-sm);background:var(--th-surface);border:1px solid var(--th-line);box-sizing:border-box}
.th-pages .on{background:var(--th-btn-bg);border-color:var(--th-btn-bg);color:var(--th-btn-fg)}
.th-pages .gap{background:transparent;border:0}
.th-pages-info{text-align:center;font-size:14px;color:var(--th-muted);margin-top:8px}

/* SALARY INSIGHTS (home) */
.th-insights{background:var(--th-surface);border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line)}
.th-insights-in{padding-top:48px;padding-bottom:48px;display:flex;flex-direction:column;gap:28px}
.th-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.th-tile{border:1px solid var(--th-line);border-radius:var(--th-radius);padding:18px 20px;display:flex;flex-direction:column;gap:4px}
.th-tile .l{font-size:14px;color:var(--th-muted)}
.th-tile .t{font-family:var(--th-font-display);font-size:22px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink)}
.th-tile .v{font-size:16px;font-weight:700;color:var(--th-ink)}
.th-bars{flex:3 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
.th-bar-top{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.th-bar-top b{color:var(--th-ink)}
.th-bar{height:12px;background:var(--th-soft);border-radius:3px;overflow:hidden;margin-top:6px}
.th-bar div{height:100%;background:var(--th-dark)}
.th-bar-sub{font-size:13px;color:var(--th-muted);margin-top:4px}
.th-top{flex:2 1 320px;min-width:0}
.th-top a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--th-soft)}

/* DIRECTORY */
.th-dir{padding-top:48px;padding-bottom:48px;display:flex;flex-direction:column;gap:36px}
.th-dir h2{margin:0 0 12px;font-family:var(--th-font-display);font-size:24px;font-weight:var(--th-dweight);font-stretch:var(--th-dstretch);color:var(--th-ink);padding-bottom:8px;border-bottom:3px solid var(--th-accent);display:inline-block}
.th-dir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 24px}
.th-dir-grid a{display:flex;align-items:center;min-height:40px;font-size:16px}
.th-btn-outline{align-self:center;display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:var(--th-radius-sm);border:1.5px solid var(--th-ink);font-weight:700;font-size:15px}

/* HOURS PILLS (mobile only) — navbar ke baad, ad se pehle; ad se 48px doori (default ka mb-5) */
.th-hp-wrap{padding-top:16px;margin-bottom:48px}
.th-hp-wrap .th-hp{margin:0}
.th-hp{margin:0 0 24px;background:var(--th-surface);border:1px solid var(--th-line);border-radius:calc(var(--th-radius) + 2px);overflow:hidden}
.th-hp-t{background:var(--th-btn-bg);color:var(--th-btn-fg);font-weight:800;font-size:17px;text-align:center;padding:13px 10px}
.th-hp-row{display:flex;flex-direction:column;gap:10px;padding:14px 12px}
.th-hp-row a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:var(--th-radius);border:2px solid var(--th-ink);font-weight:700;font-size:17px}

/* FOOTER */
.th-footer{background:var(--th-dark);color:var(--th-on-dark)}
.th-footer a{color:var(--th-on-dark)!important}
.th-footer .th-foot-all{color:#fff!important;font-weight:700;text-decoration:underline;text-decoration-color:var(--th-accent);text-decoration-thickness:2px}
.th-foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;font-size:15px;padding-top:44px}
.th-foot-grid div{display:flex;flex-direction:column;gap:8px}
.th-foot-grid .h{font-weight:800;color:#fff}
.th-foot-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:28px;padding:16px 0 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:14px}
.th-foot-bottom nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.th-foot-bottom nav a,.th-foot-bottom span{padding:8px 0}

/* RESPONSIVE */
@media (max-width:767px){
  .th-wrap{padding-left:16px;padding-right:16px}
  .th-toggler{display:inline-flex}
  .th-menu{display:none;width:100%;flex-direction:column;align-items:stretch;padding-bottom:8px}
  .th-menu.open{display:flex}
  .th-menu a{padding:12px 4px;border-bottom:1px solid var(--th-soft)}
  .th-menu a.th-team{margin:8px 0 0;justify-content:center}
  .th-h1{font-size:34px;border-bottom-width:4px}
  .th-body{padding:20px 18px;font-size:17px}
  .th-detail{padding:20px 18px}
  .th-job{padding:16px}
  .th-job .th-apply{width:100%}
  .th-layout{gap:20px}
}
