/*
Theme Name: The Standard Arena
Theme URI: https://thestandardarena.co.ke
Author: The Standard Arena
Author URI: https://thestandardarena.co.ke
Description: The official job board theme for The Standard Arena - Connecting Minds across the Global South. Built-in: job listings with county/industry filters, employer verification, seeker & employer dashboards, subscription packages and M-Pesa-ready payments.
Version: 1.6.240
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsa
Tags: job-board, custom-menu, custom-logo, translation-ready
*/

/* =========================================================
   1. TOKENS + RESET
   ========================================================= */
:root{
  --tsa-green:#FF6600;
  --tsa-green-dark:#E85C00;
  --tsa-green-deep:#C24E00;
  --tsa-green-soft:#FFF3EA;
  --tsa-amber:#FFB300;
  --tsa-amber-dark:#CC8F00;
  --tsa-ink:#333333;
  --tsa-muted:#666666;
  --tsa-line:#E1E1E1;
  --tsa-bg:#FFFFFF;
  --tsa-card:#FFFFFF;
  --tsa-red:#E53517;
  --tsa-blue:#1F6FB2;
  --tsa-gold:#FFBF00;
  --tsa-gold-grad:linear-gradient(120deg,#FFD24D,#FFBF00 45%,#FF9900);
  --tsa-radius:5px;
  --tsa-radius-sm:3px;
  --tsa-shadow-sm:0 1px 2px rgba(51,51,51,.05);
  --tsa-shadow:0 2px 6px rgba(51,51,51,.07);
  --tsa-shadow-lg:0 2px 5px #CCC;
  --tsa-font-body:Verdana,Geneva,'DejaVu Sans',Arial,sans-serif;
  --tsa-font-head:Verdana,Geneva,'DejaVu Sans',Arial,sans-serif;
  --tsa-container:1320px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--tsa-font-body);font-size:14px;line-height:1.6;color:var(--tsa-ink);background:var(--tsa-bg)}
/* Safety net: never show a horizontal page scrollbar (clip keeps position:sticky working) */
@supports (overflow:clip){body{overflow-x:clip}}
::selection{background:rgba(255,139,62,.3)}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#C7D6CC;border-radius:8px;border:2px solid #FFFFFF}
::-webkit-scrollbar-thumb:hover{background:#A9C2B2}
img{max-width:100%;height:auto;border:0;display:block}
a{color:#036;text-decoration:none}
a:hover{color:orangered}
h1,h2,h3,h4,h5,h6{font-family:var(--tsa-font-head);line-height:1.25;margin:0 0 .5em;color:var(--tsa-ink)}
h1{font-size:1.9rem;font-weight:700}
h2{font-size:1.35rem;font-weight:700}
h3{font-size:1.12rem;font-weight:700}
h4{font-size:1rem;font-weight:700}
p{margin:0 0 1em}
ul,ol{padding-left:1.3em}
blockquote{margin:1.2em 0;padding:.8em 1.2em;border-left:4px solid var(--tsa-amber);background:#FFF9EC;border-radius:0 var(--tsa-radius-sm) var(--tsa-radius-sm) 0;color:#5a4a1a}
hr{border:0;border-top:1px solid var(--tsa-line);margin:2em 0}
table{width:100%;border-collapse:collapse}
code{background:#EEF3EF;padding:.15em .45em;border-radius:6px;font-size:.9em}
:focus-visible{outline:3px solid rgba(255,139,62,.55);outline-offset:2px}
.tsa-skip{position:absolute;left:-9999px;top:0;background:var(--tsa-amber);color:#000;padding:10px 16px;z-index:999;border-radius:0 0 8px 0;font-weight:700}
.tsa-skip:focus{left:0}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap;border:0;padding:0;margin:-1px}
.tsa-container{max-width:var(--tsa-container);margin:0 auto;padding:0 18px}
.tsa-section{padding:64px 0}
/* v1.6.23: combined container+section kept zero side padding (padding:64px 0
   overrode the container's 18px), so pricing cards and company cards ran
   flush to the viewport edge ("outside the page") between 761px and 1320px. */
.tsa-container.tsa-section{padding:64px 18px}
.tsa-section--tight{padding:38px 0}
.tsa-section--alt{background:var(--tsa-card)}
.tsa-section-head{max-width:680px;margin:0 auto 36px;text-align:center}
.tsa-section-head .tsa-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--tsa-green);background:linear-gradient(180deg,#fff,var(--tsa-green-soft));border:1px solid #FFD9BE;padding:6px 16px;border-radius:999px;margin-bottom:14px;box-shadow:0 2px 8px -2px rgba(255,102,0,.15)}
.tsa-section-head .tsa-kicker::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tsa-amber);box-shadow:0 0 0 3px rgba(255,139,62,.2)}
.tsa-section-head p{color:var(--tsa-muted)}
.tsa-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.tsa-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.tsa-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tsa-grid-2>*,.tsa-grid-3>*,.tsa-grid-4>*,.tsa-steps>*,.tsa-industry-grid>*,.tsa-price-cards>*{min-width:0}
.tsa-mt{margin-top:34px}
.tsa-ta-c{text-align:center}

/* =========================================================
   2. BUTTONS + BADGES + CHIPS
   ========================================================= */
.tsa-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-family:var(--tsa-font-head);font-weight:700;font-size:.95rem;line-height:1;padding:15px 26px;border-radius:12px;border:2px solid transparent;cursor:pointer;transition:.18s ease;text-decoration:none;white-space:nowrap;letter-spacing:.01em}
.tsa-btn svg{flex:0 0 auto}
.tsa-btn--primary{background:linear-gradient(135deg,var(--tsa-green) 0%,#FF7A1F 100%);color:#fff;box-shadow:0 4px 14px rgba(255,102,0,.25);position:relative;overflow:hidden}
.tsa-btn--primary:hover{background:linear-gradient(135deg,var(--tsa-green-dark) 0%,var(--tsa-green) 100%);color:#fff;transform:translateY(-1px);box-shadow:0 8px 22px rgba(255,102,0,.32)}
.tsa-btn--amber{background:linear-gradient(135deg,#FFA733 0%,var(--tsa-amber) 100%);color:#000000;box-shadow:0 4px 14px rgba(255,139,62,.3);position:relative;overflow:hidden}
.tsa-btn--amber:hover{background:linear-gradient(135deg,var(--tsa-amber) 0%,var(--tsa-amber-dark) 100%);color:#fff;transform:translateY(-1px);box-shadow:0 8px 22px rgba(255,139,62,.35)}
.tsa-btn--primary::after,.tsa-btn--amber::after{content:"";position:absolute;top:0;left:-80%;width:46%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);transform:skewX(-20deg);transition:left .5s ease;pointer-events:none}
.tsa-btn--primary:hover::after,.tsa-btn--amber:hover::after{left:135%}
.tsa-btn--ghost{background:transparent;color:var(--tsa-green);border-color:#FFCFB3}
.tsa-btn--ghost:hover{background:var(--tsa-green-soft);border-color:var(--tsa-green)}
.tsa-btn--light{background:#fff;color:var(--tsa-green);border-color:#fff}
.tsa-btn--light:hover{background:var(--tsa-green-soft)}
.tsa-btn--danger{background:#FDEDEB;color:var(--tsa-red);border-color:#F5C6C0}
.tsa-btn--danger:hover{background:var(--tsa-red);color:#fff}
.tsa-btn--sm{padding:9px 16px;font-size:.85rem;border-radius:9px}
.tsa-btn--block{width:100%}
.tsa-btn[disabled]{opacity:.55;cursor:not-allowed;transform:none!important}
.tsa-chip{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:600;color:#555555;background:#fff;border:1px solid var(--tsa-line);border-radius:999px;padding:5px 13px;line-height:1.4;transition:.15s;max-width:100%;overflow-wrap:anywhere}
.tsa-industry-item,.tsa-facts-v{overflow-wrap:anywhere}
.tsa-chip svg{color:var(--tsa-green)}
.tsa-chip--amber{color:#B25B00;background:#FFF6DF;border-color:#F3E3B3}
.tsa-chip--amber svg{color:var(--tsa-amber-dark)}
.tsa-chip--green{color:var(--tsa-green);background:var(--tsa-green-soft);border-color:#FFD9BE;font-weight:700}
.tsa-chip--red{color:var(--tsa-red);background:#FDEDEB;border-color:#F5C6C0}
.tsa-chip--red svg{color:var(--tsa-red)}
.tsa-badge-verified{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:700;color:var(--tsa-green)}
.tsa-badge-verified svg{color:#0E8A50}
.tsa-badge-pending{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:700;color:#B25B00}
.tsa-status{display:inline-block;font-size:.74rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 11px;border-radius:999px}
.tsa-status--new{background:#E8F1FB;color:#1F6FB2}
.tsa-status--shortlisted{background:#FFF6DF;color:#B25B00}
.tsa-status--interview{background:#F3EAFE;color:#7A3EA8}
.tsa-status--hired{background:var(--tsa-green-soft);color:var(--tsa-green)}
.tsa-status--rejected{background:#FDEDEB;color:var(--tsa-red)}
.tsa-status--withdrawn{background:#F0F0F0;color:#888888}
.tsa-status--open{background:var(--tsa-green-soft);color:var(--tsa-green)}
.tsa-status--closed{background:#F0F0F0;color:#888888}
.tsa-status--pending{background:#FFF6DF;color:#B25B00}
.tsa-status--completed{background:var(--tsa-green-soft);color:var(--tsa-green)}
.tsa-status--failed{background:#FDEDEB;color:var(--tsa-red)}
/* =========================================================
   3. NOTICES + PAGINATION
   ========================================================= */
.tsa-notice{display:flex;align-items:flex-start;gap:12px;max-width:860px;margin:18px auto;padding:14px 18px;border-radius:12px;font-weight:500;font-size:.95rem;border-left:4px solid transparent;box-shadow:var(--tsa-shadow-sm)}
.tsa-notice svg{flex:0 0 auto;margin-top:2px}
.tsa-notice--success{background:var(--tsa-green-soft);color:var(--tsa-green-dark);border:1px solid #FFD9BE;border-left-color:#009966}
.tsa-notice--error{background:#FDEDEB;color:#8E2B20;border:1px solid #F5C6C0;border-left-color:var(--tsa-red)}
.tsa-notice--info{background:#EAF3FC;color:#175A8E;border:1px solid #BFD9F0;border-left-color:var(--tsa-blue)}
.tsa-notice a{font-weight:700;text-decoration:underline}
/* v1.6.68: full-column-width, centered upsell banners (dashboard alerts +
   resumes tabs). The base .tsa-notice is capped at 860px with flex-left
   content; the banner variant stretches to the whole dashboard column (same
   width as the "Create an alert" form card) and centers the icon + sentence
   as one flowing line. */
.tsa-notice--banner{display:block;max-width:100%;text-align:center;padding:16px 22px}
.tsa-notice--banner svg{margin:0 8px 0 0;vertical-align:-4px}
.tsa-notice--banner>div{display:inline}
/* -- Centered premium popup notices (payment confirmations) -- */
.tsa-popup-notice{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;animation:tsaPopupFade .22s ease-out}
.tsa-popup-notice__overlay{position:absolute;inset:0;background:rgba(15,23,20,.6);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.tsa-popup-notice__card{position:relative;z-index:1;width:100%;max-width:430px;background:#fff;border-radius:20px;padding:46px 36px 32px;text-align:center;box-shadow:0 30px 80px rgba(15,23,20,.35);border-top:4px solid #009966;animation:tsaPopupCard .3s cubic-bezier(.2,.9,.3,1.15)}
.tsa-popup-notice--error .tsa-popup-notice__card{border-top-color:var(--tsa-red)}
.tsa-popup-notice--info .tsa-popup-notice__card{border-top-color:var(--tsa-blue)}
.tsa-popup-notice__close{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--tsa-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.tsa-popup-notice__close:hover{background:#F3F4F6;color:var(--tsa-ink)}
.tsa-popup-notice__icon{display:inline-flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:50%;margin-bottom:20px;background:#E7F5EF;color:#009966}
.tsa-popup-notice__icon--error{background:#FDEDEB;color:var(--tsa-red)}
.tsa-popup-notice__icon--info{background:#EAF3FC;color:var(--tsa-blue)}
.tsa-popup-notice__text{font-size:1.06rem;font-weight:600;color:var(--tsa-ink);line-height:1.65;margin:0 0 24px}
.tsa-popup-notice__btn{min-width:190px}
.tsa-popup-notice.is-closing{opacity:0;transition:opacity .22s ease-in}
.tsa-popup-notice.is-closing .tsa-popup-notice__card{transform:translateY(10px) scale(.97);transition:transform .22s ease-in}
@keyframes tsaPopupFade{from{opacity:0}to{opacity:1}}
@keyframes tsaPopupCard{from{opacity:0;transform:translateY(18px) scale(.95)}to{opacity:1;transform:none}}
@media (max-width:480px){.tsa-popup-notice{padding:18px}.tsa-popup-notice__card{padding:38px 22px 26px;border-radius:16px}}

/* v1.6.88: employer Applicants - formatted cover-letter popup.
   Same visual language as .tsa-popup-notice: blurred overlay, white card
   with the green top border and a springy entrance. The letter body keeps
   the applicant's own line breaks (pre-wrap) for easy reading. */
.tsa-cover-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:24px}
.tsa-cover-modal.is-open{display:flex;animation:tsaPopupFade .22s ease-out}
.tsa-cover-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,20,.6);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.tsa-cover-modal__card{position:relative;z-index:1;width:100%;max-width:600px;max-height:min(82vh,720px);display:flex;flex-direction:column;background:#fff;border-radius:20px;border-top:4px solid #009966;box-shadow:0 30px 80px rgba(15,23,20,.35);animation:tsaPopupCard .3s cubic-bezier(.2,.9,.3,1.15);overflow:hidden}
.tsa-cover-modal__close{position:absolute;top:12px;right:12px;z-index:1;width:36px;height:36px;border-radius:50%;border:0;background:transparent;color:var(--tsa-muted);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.tsa-cover-modal__close:hover{background:#F3F4F6;color:var(--tsa-ink)}
.tsa-cover-modal__body{overflow-y:auto;padding:34px 34px 30px}
.tsa-cover-kicker{margin:0 0 10px;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#009966;text-align:center}
.tsa-cover-name{margin:0;font-size:1.25rem;font-weight:800;color:var(--tsa-ink);line-height:1.3;text-align:center}
.tsa-cover-meta{margin:6px 0 0;font-size:.85rem;color:var(--tsa-muted);text-align:center}
.tsa-cover-text{margin:18px 0 0;padding:18px 20px;background:var(--tsa-bg);border:1px solid var(--tsa-line);border-radius:12px;font-size:.94rem;line-height:1.75;color:var(--tsa-ink);white-space:pre-wrap;overflow-wrap:anywhere}
@media (max-width:480px){.tsa-cover-modal{padding:14px}.tsa-cover-modal__body{padding:26px 20px 22px}.tsa-cover-modal__card{border-radius:16px}}
/* -- Checkout: payment awaiting verification state -- */
.tsa-pay-pending{text-align:center;padding:40px 30px}
.tsa-pay-pending__icon{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:#FFF7E0;color:#B45309;margin-bottom:18px}
.tsa-pay-pending h3{margin:0 0 12px;font-size:1.3rem}
.tsa-pay-pending p{color:var(--tsa-muted);font-size:.97rem;line-height:1.7;margin:0 auto 18px;max-width:420px}
.tsa-pay-pending__meta{margin:0 0 22px}
.tsa-pay-pending__meta span{display:inline-block;background:var(--tsa-green-soft);border:1px solid var(--tsa-line);border-radius:10px;padding:9px 16px;font-size:.92rem;font-weight:600;color:var(--tsa-ink)}
.tsa-pay-pending__meta code{font-weight:700;color:var(--tsa-green-dark);letter-spacing:.4px}
.tsa-pagination{margin:40px 0 10px;text-align:center}
.tsa-pagination .nav-links{display:inline-flex;gap:6px;flex-wrap:wrap;justify-content:center}
.tsa-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border-radius:10px;background:#fff;border:1px solid var(--tsa-line);font-weight:700;color:var(--tsa-ink)}
.tsa-pagination .page-numbers.current{background:var(--tsa-green);border-color:var(--tsa-green);color:#fff}
.tsa-pagination .page-numbers:hover:not(.current){background:var(--tsa-green-soft)}

/* =========================================================
   4. HEADER + NAV
   ========================================================= */
.tsa-header{background:rgba(255,255,255,.88);border-bottom:1px solid var(--tsa-line);position:sticky;top:0;z-index:50;backdrop-filter:saturate(1.5) blur(12px);-webkit-backdrop-filter:saturate(1.5) blur(12px)}
.tsa-header-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:26px;min-height:76px}
.tsa-logo{display:flex;align-items:center;gap:10px;font-family:var(--tsa-font-head);font-weight:800;font-size:1.02rem;letter-spacing:.02em;color:var(--tsa-ink);text-transform:uppercase;flex:0 0 auto;justify-self:start}
.tsa-logo:hover{color:var(--tsa-green)}
.tsa-logo-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,var(--tsa-green) 0%,#FF7A1F 100%);display:flex;align-items:center;justify-content:center;color:#FFC266;flex:0 0 auto}
.tsa-logo-mark svg{width:22px;height:22px}
.tsa-logo-text small{display:block;font-size:.6rem;font-weight:600;letter-spacing:.22em;color:var(--tsa-amber);text-transform:uppercase}
.tsa-custom-logo img{max-height:44px;width:auto}
.tsa-nav{grid-column:2;justify-self:center}
.tsa-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.tsa-nav a{display:block;position:relative;padding:9px 13px;border-radius:9px;font-weight:600;font-size:.93rem;color:var(--tsa-ink)}
.tsa-nav a::after{content:"";position:absolute;left:13px;right:13px;bottom:5px;height:2px;border-radius:2px;background:var(--tsa-green);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}
.tsa-nav a:hover{background:var(--tsa-green-soft);color:var(--tsa-green)}
.tsa-nav a:hover::after{transform:scaleX(1)}
.tsa-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;grid-column:3;justify-self:end}
.tsa-user-menu{position:relative}
.tsa-user-menu>button{display:flex;align-items:center;gap:9px;background:var(--tsa-green-soft);border:0;border-radius:999px;padding:7px 15px 7px 7px;font-weight:700;font-family:var(--tsa-font-head);font-size:.9rem;color:var(--tsa-green-dark);cursor:pointer}
.tsa-user-avatar{width:30px;height:30px;border-radius:50%;background:var(--tsa-green);color:#FFC266;display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:800}
.tsa-user-menu-panel{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--tsa-line);border-radius:12px;box-shadow:var(--tsa-shadow-lg);min-width:210px;padding:7px;display:none;z-index:60}
.tsa-user-menu.open .tsa-user-menu-panel{display:block}
.tsa-user-menu-panel a,.tsa-user-menu-panel button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:10px 12px;border-radius:9px;font-size:.9rem;font-weight:600;color:var(--tsa-ink);background:none;border:0;cursor:pointer}
.tsa-user-menu-panel a:hover,.tsa-user-menu-panel button:hover{background:var(--tsa-green-soft)}
.tsa-user-menu-panel hr{margin:6px 0}
.tsa-burger{display:none;background:none;border:0;cursor:pointer;padding:8px;color:var(--tsa-ink)}
.tsa-mobile-auth{display:none;align-items:center;gap:8px}
.tsa-mobile-nav{display:none}

/* =========================================================
   5. SEARCH BAND + JOB HEAD (MyJobMag edition)
   ========================================================= */
.tsa-searchband{background:#EBEBEB;border-bottom:1px solid #E1E1E1;padding:22px 0 26px}
.tsa-band-label{display:block;text-align:center;color:#666;font-size:.95rem;font-weight:bold;margin:0 0 10px}
.tsa-band-search{display:flex;max-width:960px;margin:0 auto;background:#fff;border-radius:3px;box-shadow:1px 1px 5px #999;overflow:hidden}
.tsa-band-cell{display:flex;align-items:center;gap:8px;flex:1 1 0;min-width:0;padding:0 6px 0 12px;border-right:1px solid #EBEBEB}
.tsa-band-cell svg{color:#999;flex:0 0 auto}
.tsa-band-cell input,.tsa-band-cell select{flex:1 1 auto;width:100%;height:48px;border:0;outline:none;background:transparent;font-family:var(--tsa-font-body);font-size:.98rem;color:var(--tsa-ink);padding:0 8px;min-width:0}
.tsa-band-cell select{cursor:pointer;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;padding-right:26px}
.tsa-band-btn{flex:0 0 auto;height:48px;padding:0 30px;border:0;border-radius:0;background:#FF8B3E;color:#000;font-family:var(--tsa-font-body);font-size:1.05rem;font-weight:bold;cursor:pointer;transition:background .2s,color .2s}
.tsa-band-btn:hover{background:#E85C00;color:#fff}
.tsa-band-search:focus-within{box-shadow:1px 1px 5px #999,0 0 0 2px rgba(255,139,62,.4)}
.tsa-job-head{background:#fff;padding:30px 0 26px;position:relative}
/* v1.6.40: the headline separation line spans the content width (aligned with
   the container) instead of touching the screen edges. */
.tsa-job-head::after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(calc(var(--tsa-container) - 36px),calc(100% - 36px));height:1px;background:#E1E1E1}
.tsa-job-head-inner{display:flex;align-items:center;gap:22px}
.tsa-job-head-body{flex:1 1 auto;min-width:0}
.tsa-job-head-title{font-size:1.5rem;color:#036;margin:0 0 12px;line-height:1.3}
.tsa-head-at{color:inherit;font-weight:inherit}
.tsa-head-co{color:inherit;font-weight:inherit}
.tsa-head-co:hover{color:orangered}
.tsa-job-head-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.tsa-head-salary{color:#FF6600;font-weight:bold;background:#FFF3EA;border-color:#FFD9BE}
.tsa-job-head-times{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;color:#999;font-size:.85rem}
.tsa-job-head-times .tsa-dot{width:4px;height:4px;border-radius:50%;background:#CCC}
.tsa-head-company{flex:0 0 auto;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:4px 10px;padding:12px 14px;border:1px solid #E1E1E1;border-radius:5px;background:#FAFAFA;max-width:240px;text-align:left}
.tsa-head-company .tsa-company-logo{width:46px;height:46px;grid-row:1/3}
.tsa-head-company .tsa-badge-verified,.tsa-head-company .tsa-badge-pending{white-space:nowrap;justify-self:start}
.tsa-head-co-name{display:block;font-size:.9rem;font-weight:bold;color:#036;line-height:1.3}
.tsa-head-co-name:hover{color:orangered}
.tsa-head-company .tsa-btn{grid-column:1/-1;margin-top:6px;width:100%}

/* =========================================================
   6. JOB CARDS + GRIDS
   ========================================================= */
.tsa-job-card{position:relative;background:var(--tsa-card);border:1px solid var(--tsa-line);border-radius:18px;padding:30px 22px 22px;display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;box-shadow:0 1px 2px rgba(51,51,51,.04),0 10px 28px -14px rgba(51,51,51,.12)}
.tsa-job-card:hover{box-shadow:0 2px 4px rgba(51,51,51,.05),0 22px 44px -18px rgba(51,51,51,.22);border-color:#FFD9BE;transform:translateY(-3px)}
/* v1.6.117/118: job cards carry no "Featured" treatment at all - the floating
   .tsa-featured-pill badge, the gold .tsa-job-card--featured tint and the
   .tsa-row-featured row badge are all gone; every job renders the same. */
.tsa-job-card--closed{opacity:.75}
.tsa-job-card-top{display:flex;flex-direction:column;align-items:center;gap:11px;width:100%}
.tsa-job-card-top .tsa-save{position:absolute;top:12px;right:12px}
.tsa-job-card-top .tsa-share{position:absolute;top:12px;left:12px}
.tsa-job-card-id{min-width:0;width:100%;display:flex;flex-direction:column;align-items:center}
.tsa-job-card h3{margin:0;font-size:1rem;line-height:1.4;width:100%}
.tsa-job-card h3 a{display:block;color:var(--tsa-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tsa-title-ico{display:inline-flex;align-items:center;vertical-align:-3px;margin-right:7px;color:var(--tsa-green);flex:0 0 auto}
.tsa-job-card h3 a:hover{color:var(--tsa-green)}
.tsa-job-company{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:nowrap;font-size:.87rem;color:var(--tsa-muted);margin-top:4px;max-width:100%}
.tsa-job-company a{color:var(--tsa-muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tsa-job-company .tsa-badge-verified,.tsa-job-company .tsa-badge-pending{flex:0 0 auto}
.tsa-job-company a:hover{color:var(--tsa-green)}
.tsa-company-logo{width:var(--tsa-logo-size,52px);height:var(--tsa-logo-size,52px);max-width:100%;max-height:100%;border-radius:14px;background:linear-gradient(135deg,var(--tsa-green-soft),#FFF7F2);color:var(--tsa-green);display:flex;align-items:center;justify-content:center;font-family:var(--tsa-font-head);font-weight:800;font-size:.95rem;overflow:hidden;flex:0 0 auto;box-shadow:0 0 0 2px #fff,inset 0 0 0 1px #FFE0CC,0 6px 14px -6px rgba(255,102,0,.3)}
.tsa-company-logo img{width:100%;height:100%;object-fit:cover}
.tsa-job-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:100%}
.tsa-job-chips .tsa-chip{background:#F4F8F5;border-color:#E3ECE6}
.tsa-job-chips .tsa-chip:hover{border-color:#FFD9BE}
.tsa-job-foot{display:flex;align-items:center;justify-content:center;gap:8px 14px;margin-top:auto;padding-top:14px;border-top:1px solid #EDF2EE;flex-wrap:wrap;width:100%}
/* v1.6.65: .tsa-job-salary rules removed - cards no longer show salary (single job only) */
/* v1.6.67: "Posted: 1 day ago · Closes: October 16, 2026" renders as one centered line -
   the clock icon is gone and white-space:nowrap keeps the meta on a single row. */
.tsa-job-posted{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:6px;font-size:.8rem;color:#8CA096;white-space:nowrap;min-width:0;max-width:100%}
.tsa-save{background:none;border:0;cursor:pointer;color:#B4C4BA;padding:7px;border-radius:9px;display:inline-flex;transition:.15s;flex:0 0 auto}
.tsa-save:hover{background:#FDEDEB;color:var(--tsa-red)}
.tsa-save.is-saved{color:var(--tsa-red)}
.tsa-share{background:none;border:0;cursor:pointer;color:#B4C4BA;padding:7px;border-radius:9px;display:inline-flex;transition:.15s;flex:0 0 auto;text-decoration:none}
.tsa-share:hover{background:var(--tsa-green-soft);color:var(--tsa-green)}
.tsa-share svg{width:18px;height:18px}
.tsa-company-card{background:var(--tsa-card);border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:28px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;transition:.2s;box-shadow:var(--tsa-shadow-sm)}
.tsa-company-card:hover{box-shadow:var(--tsa-shadow-lg);transform:translateY(-2px);border-color:#C7DBD0}
.tsa-company-card .tsa-company-logo{border-radius:18px}
.tsa-company-card h3{margin:0;font-size:1.02rem;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tsa-company-card h3 a{color:var(--tsa-ink)}
.tsa-company-card h3 a:hover{color:var(--tsa-green)}
.tsa-company-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;align-items:center;max-width:100%;min-width:0}
.tsa-company-badges .tsa-chip{max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;display:flex}
.tsa-company-badges .tsa-chip svg{flex:0 0 auto}
.tsa-company-badges .tsa-chip .tsa-chip-txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tsa-empty{text-align:center;padding:56px 20px;background:linear-gradient(180deg,#fff,#FBFDFB);border:1px dashed #CBDACF;border-radius:18px;color:var(--tsa-muted)}
.tsa-empty svg{color:#B9C9BF;margin-bottom:12px}

/* =========================================================
   7. LISTING + FILTERS
   ========================================================= */
.tsa-page-head{background:radial-gradient(700px 300px at 88% -20%,rgba(255,139,62,.18),transparent 60%),linear-gradient(140deg,var(--tsa-green-deep),var(--tsa-green-dark) 60%,#FF6600);color:#fff;padding:56px 0 48px;position:relative;overflow:hidden;text-align:center}
.tsa-page-head::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:1.5px solid rgba(255,255,255,.1);top:-120px;right:6%}
.tsa-page-head::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,102,0,.3),transparent 65%);bottom:-220px;left:-100px}
.tsa-page-head h1{color:#fff;margin-bottom:8px;font-size:clamp(1.6rem,3.4vw,2.3rem)}
.tsa-page-head p{color:#FFE3CF;margin:0 auto;max-width:640px}
.tsa-listing-layout{display:grid;grid-template-columns:290px 1fr;gap:28px;align-items:start;padding:38px 22px 64px}
.tsa-filters{background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:22px}
.tsa-filters h4{margin-bottom:16px;display:flex;align-items:center;gap:8px}
.tsa-filters .tsa-field{margin-bottom:15px}
.tsa-listing-bar{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:20px;flex-wrap:wrap}
.tsa-listing-bar select{max-width:220px;padding:10px 14px;border:1.5px solid var(--tsa-line);border-radius:10px;background:#fff;font-weight:600;color:var(--tsa-ink);font-family:var(--tsa-font-body);cursor:pointer}

/* =========================================================
   8. FORMS
   ========================================================= */
.tsa-field{margin-bottom:16px}
.tsa-field label{display:block;font-weight:700;font-size:.87rem;margin-bottom:7px;font-family:var(--tsa-font-head)}
.tsa-field label small{font-weight:500;color:var(--tsa-muted)}
.tsa-field input[type=text],.tsa-field input[type=email],.tsa-field input[type=password],.tsa-field input[type=tel],.tsa-field input[type=url],.tsa-field input[type=number],.tsa-field input[type=date],.tsa-field select,.tsa-field textarea{width:100%;padding:13px 15px;border:1.5px solid var(--tsa-line);border-radius:11px;font-size:.95rem;font-family:var(--tsa-font-body);color:var(--tsa-ink);background:#fff;transition:border-color .15s}
.tsa-field input:focus,.tsa-field select:focus,.tsa-field textarea:focus{outline:none;border-color:var(--tsa-green);box-shadow:0 0 0 3px rgba(255,102,0,.12)}
.tsa-field textarea{min-height:130px;resize:vertical}

/* =========================================================
   8.1 DROPDOWN ARROWS (sitewide)
   Custom chevron on every select; the gap between the arrow
   and the right edge always mirrors the text gap on the left.
   ========================================================= */
.tsa-listing-bar select,.tsa-field select,.tsa-hero-search select,.tsa-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center}
.tsa-listing-bar select{padding:10px 42px 10px 15px}
.tsa-field select{background-position:right 15px center;padding-right:42px}
.tsa-hero-search select{background-position:right 2px center;padding-right:28px}
.tsa-select{padding:10px 42px 10px 15px;border:1.5px solid var(--tsa-line);border-radius:10px;background-color:#fff;font-weight:600;color:var(--tsa-ink);font-family:var(--tsa-font-body);cursor:pointer}
.tsa-field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tsa-field-row-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.tsa-check{display:flex;align-items:flex-start;gap:10px;font-size:.92rem;margin-bottom:12px}
.tsa-check input{width:18px;height:18px;margin-top:2px;accent-color:var(--tsa-green);flex:0 0 auto}
.tsa-form-card{background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:28px}
.tsa-form-card>h3{margin-bottom:20px}
.tsa-form-actions{margin-top:4px;text-align:center}
.tsa-form-actions .tsa-btn{min-width:240px;justify-content:center}
.tsa-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.tsa-role-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:4px}
.tsa-role-card{position:relative;display:block;border:1.5px solid var(--tsa-line);border-radius:12px;padding:15px;cursor:pointer;transition:.15s;background:#fff;text-align:center}
.tsa-role-card:hover{border-color:#FFCFAF}
.tsa-role-card input{position:absolute;opacity:0}
.tsa-role-card b{display:flex;align-items:center;justify-content:center;gap:7px;font-family:var(--tsa-font-head);color:var(--tsa-ink)}
.tsa-role-card b svg{color:var(--tsa-green);flex:0 0 auto}
.tsa-role-card span{font-size:.8rem;color:var(--tsa-muted)}
.tsa-role-card input:checked ~ .tsa-role-card-inner{border-radius:10px}
.tsa-role-card:has(input:checked){border-color:var(--tsa-green);background:var(--tsa-green-soft);box-shadow:0 0 0 3px rgba(255,102,0,.1)}
.tsa-inline-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tsa-inline-grid label{display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:500;border:1px solid var(--tsa-line);border-radius:9px;padding:9px 12px;background:#fff;cursor:pointer}
.tsa-inline-grid input{accent-color:var(--tsa-green)}

/* =========================================================
   9. SINGLE JOB + COMPANY
   ========================================================= */
.tsa-job-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start;padding:42px 18px 70px}
.tsa-job-layout--2{grid-template-columns:minmax(0,1fr) 340px}
.tsa-job-main-col{min-width:0}
.tsa-job-main{background:#fff;border:1px solid var(--tsa-line);border-radius:18px;padding:34px 36px;box-shadow:var(--tsa-shadow-sm)}
.tsa-job-main .tsa-content h2{font-size:1.25rem;margin-top:1.6em}
.tsa-job-main .tsa-content h3{color:var(--tsa-green);margin-top:1.5em}
.tsa-job-main .tsa-content ul{margin-bottom:1.2em}
.tsa-job-sec-title{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-family:var(--tsa-font-head);font-size:1.28rem;letter-spacing:-.01em;color:var(--tsa-ink)}
.tsa-job-sec-ico{width:38px;height:38px;border-radius:11px;background:var(--tsa-green-soft);color:var(--tsa-green);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.tsa-job-sec-ico--gold{background:var(--tsa-gold-soft,#FFF6DF);color:var(--tsa-amber-dark)}
.tsa-job-req{margin-top:28px;padding-top:24px;border-top:1px solid #EDF2EE}

/* =========================================================
   9.1 SINGLE JOB PREMIUM HERO
   ========================================================= */
.tsa-job-hero{position:relative;overflow:hidden;text-align:center;color:#fff;background:radial-gradient(640px 260px at 88% -30%,rgba(255,139,62,.3),transparent 62%),radial-gradient(520px 260px at 8% 120%,rgba(14,122,76,.55),transparent 60%),linear-gradient(135deg,var(--tsa-green-deep) 0%,var(--tsa-green-dark) 55%,var(--tsa-green) 100%);padding:48px 0 58px}
.tsa-job-hero::before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1.5px solid rgba(255,255,255,.09);top:-120px;right:5%}
.tsa-job-hero::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;border:1.5px solid rgba(255,191,0,.2);bottom:-90px;left:4%}
.tsa-job-hero-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;padding:0 18px}
.tsa-job-hero-logo .tsa-company-logo{width:88px;height:88px;border-radius:24px;background:#fff;color:var(--tsa-green);font-size:1.55rem;border:3px solid rgba(255,191,0,.55);box-shadow:0 14px 30px -10px rgba(0,0,0,.45)}
.tsa-job-hero-title{font-family:var(--tsa-font-head);font-size:2.15rem;line-height:1.16;letter-spacing:-.015em;margin:4px 0 0;max-width:860px}
.tsa-job-hero-co{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:0;font-size:1.02rem}
.tsa-job-hero-co a{color:#FFC266;font-weight:800}
.tsa-job-hero-co a:hover{color:#fff}
.tsa-job-hero .tsa-badge-verified{color:#BFF0D4}
.tsa-job-hero .tsa-badge-verified svg{color:#7BE0A6}
.tsa-job-hero .tsa-badge-pending{color:#FFE29B}
.tsa-job-hero-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin-top:6px}
.tsa-glass-chip{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:999px;padding:7px 15px;font-size:.87rem;font-weight:700}
.tsa-glass-chip svg{color:#FFC9A0;flex:0 0 auto}
.tsa-glass-chip--gold{background:rgba(255,139,62,.18);border-color:rgba(255,139,62,.45)}
.tsa-glass-chip--gold svg{color:#FFC266}
.tsa-job-hero-times{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:2px 0 0;font-size:.9rem;color:#BFDCCB}
.tsa-job-hero-times .tsa-dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.35)}
.tsa-hero-state{color:#8FEBB8;font-weight:800}
.tsa-job-col{display:flex;flex-direction:column;gap:20px}
.tsa-side-card{background:#fff;border:1px solid var(--tsa-line);border-radius:16px;padding:24px;box-shadow:var(--tsa-shadow-sm)}
.tsa-side-title{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:8px;margin:0 0 14px;font-size:1rem;text-align:center}
.tsa-side-title .tsa-side-txt{grid-column:2;grid-row:1;min-width:0}
.tsa-facts ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tsa-facts li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed var(--tsa-line);font-size:.9rem}
.tsa-facts li:last-child{border-bottom:0;padding-bottom:0}
.tsa-facts-k{display:inline-flex;align-items:center;gap:8px;color:var(--tsa-muted);font-weight:600}
.tsa-facts-k svg{color:var(--tsa-green)}
.tsa-facts-v{font-weight:700;color:var(--tsa-ink);text-align:right}
.tsa-apply-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#FFFFFF 0%,#F5FAF7 100%);border:1px solid #D8E8DE;border-radius:18px;padding:30px 26px 26px;display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 54px -22px rgba(51,51,51,.35)}
.tsa-apply-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--tsa-green) 0%,#FF7A1F 55%,var(--tsa-amber) 100%)}
/* v1.6.70: the salary/closing card rules removed with the cards below the
   job content (single-tsa_job.php). */
.tsa-mini-job{display:flex;align-items:center;gap:10px;text-align:left;padding:11px 0;border-bottom:1px dashed var(--tsa-line)}
.tsa-mini-job:last-child{border-bottom:0;padding-bottom:0}
.tsa-mini-job .tsa-company-logo{flex:0 0 auto}
.tsa-mini-job-txt{min-width:0}
.tsa-mini-job b{font-size:.93rem;color:var(--tsa-ink);font-weight:bold;line-height:1.45;overflow-wrap:anywhere}
.tsa-mini-job b:hover{color:var(--tsa-green)}
.tsa-mini-job small{display:block;font-size:.78rem;color:var(--tsa-muted);margin-top:2px}
.tsa-mini-co{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px dashed var(--tsa-line)}
.tsa-mini-co:last-child{border-bottom:0;padding-bottom:0}
.tsa-mini-co .tsa-company-logo{flex:0 0 auto}
.tsa-mini-co-txt{min-width:0;text-align:left}
.tsa-mini-co-txt b{display:block;font-size:.93rem;color:var(--tsa-ink);line-height:1.4}
.tsa-mini-co-txt small{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;font-size:.76rem;color:var(--tsa-muted);margin-top:2px}
.tsa-mini-co:hover b{color:var(--tsa-green)}
/* v1.6.199: Featured Courses mini rows in the single job sidebar -
 * one icon tile + title + category · fee line per course, then a View
 * All Courses footer link. Rows keep the dashed divider rhythm; the
 * last row keeps its divider so the footer link reads as a footer. */
.tsa-mini-course{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px dashed var(--tsa-line)}
.tsa-mini-course-ico{flex:0 0 34px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:rgba(255,102,0,.12);color:#FF6600;border-radius:9px}
.tsa-mini-course-txt{min-width:0;text-align:left}
.tsa-mini-course-txt b{display:block;font-size:.93rem;font-weight:bold;color:var(--tsa-ink);line-height:1.4;overflow-wrap:anywhere}
.tsa-mini-course-txt small{display:block;font-size:.76rem;color:var(--tsa-muted);margin-top:2px}
.tsa-mini-course:hover b{color:var(--tsa-green)}
.tsa-mini-course-more{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;padding:9px 12px;border:1px solid var(--tsa-line);border-radius:9px;font-size:.85rem;font-weight:bold;color:var(--tsa-ink);text-decoration:none;transition:border-color .2s,color .2s}
.tsa-mini-course-more:hover{border-color:var(--tsa-green);color:var(--tsa-green);text-decoration:none}
.tsa-mini-course-more svg{flex:0 0 auto}
/* v1.6.54: share links are brand-colored social icon tiles (same visual language as the follow tiles) */
/* v1.6.55: share tiles match follow tiles exactly - one row, no wrap, shrink together */
/* v1.6.71: tiles flex-grow so the row fills the card content width - the first
   tile starts at the title underline's left end, the last ends at its right end */
.tsa-share-row{display:flex;gap:10px;flex-wrap:nowrap;justify-content:center}
.tsa-share-row a{flex:1 1 44px;min-width:0;width:44px;height:44px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:transform .15s,opacity .15s}
.tsa-share-row a svg{width:20px;height:20px}
.tsa-share-row a:hover{transform:translateY(-2px);opacity:.85;color:#fff}
.tsa-shr--wa{background:#25D366}
.tsa-shr--fb{background:#1877F2}
.tsa-shr--x{background:#111111}
.tsa-shr--li{background:#0A66C2}
.tsa-shr--tg{background:#229ED9}
.tsa-shr--em{background:#FF6600}

/* =========================================================
   10. STEPS + INDUSTRY GRID + COUNTY CHIPS
   ========================================================= */
.tsa-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:tsastep}
.tsa-step{background:#fff;border:1px solid var(--tsa-line);border-radius:18px;padding:30px 26px;position:relative;transition:.22s;overflow:hidden;text-align:center}
.tsa-step::after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(255,102,0,.08),transparent 70%);top:-55px;right:-55px;pointer-events:none}
.tsa-step:hover{transform:translateY(-3px);box-shadow:var(--tsa-shadow-lg);border-color:#C7DBD0}
.tsa-step::before{counter-increment:tsastep;content:"0" counter(tsastep);font-family:var(--tsa-font-head);font-weight:800;font-size:2.2rem;color:var(--tsa-green-soft);-webkit-text-stroke:1.5px var(--tsa-green);display:block;margin-bottom:10px}
.tsa-step h3{font-size:1.1rem;margin-bottom:6px}
.tsa-step p{margin:0;color:var(--tsa-muted);font-size:.93rem}
.tsa-industry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tsa-industry-item{display:flex;align-items:center;justify-content:center;gap:13px;background:#fff;border:1px solid var(--tsa-line);border-radius:14px;padding:16px 18px;font-weight:600;color:var(--tsa-ink);transition:.2s;box-shadow:var(--tsa-shadow-sm);text-align:center}
.tsa-industry-item svg{color:var(--tsa-green);transition:.2s}
.tsa-industry-item:hover{border-color:#FFD9BE;color:var(--tsa-ink);box-shadow:var(--tsa-shadow-lg);transform:translateY(-2px)}
.tsa-industry-item:hover svg{transform:scale(1.15);color:var(--tsa-amber-dark)}
.tsa-industry-item .tsa-count{margin-left:2px;font-size:.78rem;font-weight:800;color:var(--tsa-muted);background:var(--tsa-bg);border-radius:999px;padding:3px 10px;transition:.2s;flex:0 0 auto}
.tsa-industry-name{min-width:0;overflow-wrap:anywhere}
.tsa-industry-item:hover .tsa-count{background:var(--tsa-green);color:#fff}
.tsa-county-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.tsa-county-chips a{background:#fff;border:1px solid var(--tsa-line);border-radius:999px;padding:8px 17px;font-size:.87rem;font-weight:600;color:var(--tsa-ink);transition:.18s}
.tsa-county-chips a:hover{background:linear-gradient(135deg,var(--tsa-green),#FF7A1F);border-color:var(--tsa-green);color:#fff;transform:translateY(-2px);box-shadow:0 8px 18px -8px rgba(255,102,0,.55)}
.tsa-cta-band{background:radial-gradient(560px 240px at 88% 118%,rgba(255,139,62,.25),transparent 62%),linear-gradient(120deg,var(--tsa-green-dark),var(--tsa-green) 70%,#FF7A1F);border-radius:24px;padding:48px 30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;color:#fff;position:relative;overflow:hidden;box-shadow:0 28px 64px -26px rgba(5,42,27,.55)}
.tsa-cta-band::after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,139,62,.14);top:-90px;right:-60px}
.tsa-cta-band>div{position:relative;z-index:1}
.tsa-cta-band h2{color:#fff;margin-bottom:8px}
.tsa-cta-band p{color:#FFE3CF;margin:0}
.tsa-cta-band .tsa-btn{position:relative;z-index:2}

/* =========================================================
   11. PRICING
   ========================================================= */
.tsa-price-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;align-items:stretch}
.tsa-price-cards--3{grid-template-columns:repeat(3,1fr)}
.tsa-price-card{background:#fff;border:1.5px solid var(--tsa-line);border-radius:18px;padding:32px 24px 26px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;transition:.22s ease;box-shadow:var(--tsa-shadow-sm)}
.tsa-price-card:hover{transform:translateY(-4px);box-shadow:var(--tsa-shadow-lg);border-color:#CBDCD1}
.tsa-price-card--hot{border-color:var(--tsa-green);box-shadow:0 20px 48px -20px rgba(255,102,0,.4)}
.tsa-price-card--hot .tsa-price-flag{background:linear-gradient(135deg,#FFA733,var(--tsa-amber));color:#000000}
.tsa-price-flag{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--tsa-green);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:5px 16px;border-radius:999px;white-space:nowrap}
.tsa-price-card h3{margin-bottom:2px}
.tsa-price-card .tsa-price-desc{font-size:.85rem;color:var(--tsa-muted);min-height:38px}
.tsa-price-amount{font-family:var(--tsa-font-head);font-size:2.1rem;font-weight:800;margin:12px 0 2px}
.tsa-price-amount small{font-size:.85rem;font-weight:600;color:var(--tsa-muted)}
/* v1.6.115: strike-through list prices and Save 30% chips removed -
   every price card shows one clean payable price. All cards carry
   exactly six feature rows, and the CTA pins to the bottom of the
   card so buttons sit on one baseline across each grid row. */
.tsa-price-card .tsa-btn--block{margin-top:auto}
.tsa-price-features{list-style:none;margin:18px 0 24px;padding:0;display:flex;flex-direction:column;gap:10px;font-size:.88rem;flex:1;width:100%}
.tsa-price-features li{display:flex;gap:9px;align-items:flex-start;justify-content:center}
.tsa-price-features svg{color:var(--tsa-green);flex:0 0 auto;margin-top:3px}
.tsa-price-features li.is-off{color:#A5B3AB}
.tsa-price-features li.is-off svg{color:#C9D6CE}
.tsa-pricing-note{text-align:center;font-size:.85rem;color:var(--tsa-muted);max-width:720px;margin:26px auto 0}
.tsa-pricing-tabs{display:flex;gap:10px;justify-content:center;margin-bottom:36px}
.tsa-pricing-tab{border:1.5px solid var(--tsa-line);background:#fff;border-radius:999px;padding:11px 26px;font-weight:700;font-family:var(--tsa-font-head);cursor:pointer;font-size:.92rem}
.tsa-pricing-tab.is-active{background:var(--tsa-green);border-color:var(--tsa-green);color:#fff}
.tsa-faq{max-width:760px;margin:0 auto}
.tsa-faq details{background:#fff;border:1px solid var(--tsa-line);border-radius:12px;padding:18px 22px;margin-bottom:12px}
.tsa-faq summary{font-weight:700;cursor:pointer;font-family:var(--tsa-font-head)}
.tsa-faq p{margin:12px 0 0;color:var(--tsa-muted)}

/* =========================================================
   12. AUTH + CHECKOUT
   ========================================================= */
.tsa-auth-wrap{max-width:960px;margin:0 auto;padding:56px 22px}
.tsa-auth-card{background:#fff;border:1px solid var(--tsa-line);border-radius:20px;box-shadow:var(--tsa-shadow);overflow:hidden;display:grid;grid-template-columns:1fr 1fr}
.tsa-auth-side{background:linear-gradient(160deg,var(--tsa-green-deep),var(--tsa-green));color:#fff;padding:40px 34px;display:flex;flex-direction:column;justify-content:space-between}
/* v1.6.74: side panel copy centered - tagline heading, intro line and the
   copyright all align center (register page); the checklist stays left. */
.tsa-auth-side h2{color:#fff;text-align:center}
.tsa-auth-side p{color:#FFE3CF;font-size:.93rem;text-align:center}
.tsa-auth-side ul{list-style:none;padding:0;font-size:.9rem;display:flex;flex-direction:column;gap:11px}
.tsa-auth-side li{display:flex;gap:9px;align-items:flex-start;color:#E3F0E9}
.tsa-auth-side li svg{color:#FFC266;flex:0 0 auto;margin-top:3px}
/* v1.6.161: grouped benefit bullets - compact list + amber group label. */
.tsa-auth-side .tsa-auth-side-label{margin:16px 0 -1px;font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#FFC266;text-align:left}
.tsa-auth-side ul + ul{margin-top:10px;gap:9px}
.tsa-auth-form{padding:40px 36px}
.tsa-auth-tabs{display:flex;border-bottom:2px solid var(--tsa-line);margin-bottom:26px}
.tsa-auth-tab{flex:1;text-align:center;padding:12px;font-weight:700;font-family:var(--tsa-font-head);color:var(--tsa-muted);border-bottom:3px solid transparent;margin-bottom:-2px}
.tsa-auth-tab.is-active{color:var(--tsa-green);border-bottom-color:var(--tsa-green)}
.tsa-auth-forgot{margin:16px 0 0;text-align:center;font-size:.88rem}
/* v1.6.182: Sign in with Google - official look: white pill, gray border,
   dark 500-weight label, four-colour G; the "or continue with email"
   divider separates it from the email form. */
.tsa-btn--google,.tsa-auth-form .tsa-btn--google{background:#fff;color:#202124;border:2px solid #c6cbd3;font-weight:700;letter-spacing:0;gap:12px;font-size:1rem;box-shadow:0 2px 10px rgba(60,64,67,.16)} /* v1.6.183: more visible - bold label, darker 2px border, permanent soft shadow, blue hover; the scoped selector out-ranks the MyJobMag .tsa-btn font-size override */
.tsa-btn--google:hover{background:#f4f8ff;color:#202124;border-color:#4285f4;transform:none;box-shadow:0 4px 16px rgba(66,133,244,.28)}
.tsa-btn--google svg{flex:0 0 auto;width:20px;height:20px} /* v1.6.183: bigger G */
.tsa-auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--tsa-muted);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.tsa-auth-divider::before,.tsa-auth-divider::after{content:"";flex:1;height:1.5px;background:var(--tsa-line)}
/* v1.6.179: email verification row on the register form - the 6-digit code
   box with the "Email me a code" button beside it and the JS answer line
   (busy / ok / error). v1.6.180: the muted hint line is GONE (user request)
   and the code box + button are sized EXACTLY equal - the row grid already
   gives both cells the same width (1fr 1fr + full-width children), and a
   fixed 50px height (border-box) makes the heights identical too. On narrow
   phones the row stacks. */
.tsa-vcode-row{align-items:end}
.tsa-vcode-row + .tsa-field,.tsa-vcode-row + .tsa-vcode-status + .tsa-field{margin-top:16px} /* v1.6.183: the Password field after the code row gets the SAME 16px gap every other field has - the row strips its inner fields' margins (and the hidden status <p> sits between them in the DOM), which used to leave the password label glued to the button */
.tsa-vcode-row .tsa-field{margin:0}
.tsa-vcode-row input{height:50px;letter-spacing:.18em;font-weight:700}
.tsa-vcode-btnbox{display:flex;align-items:flex-end}
.tsa-vcode-btnbox .tsa-btn{height:50px;white-space:nowrap}
.tsa-vcode-status{margin:7px 2px 0;font-size:.86rem;font-weight:600;text-align:center} /* v1.6.181: the answer line is centered */
.tsa-vcode-status.is-busy{color:var(--tsa-muted)}
.tsa-vcode-status.is-ok{color:var(--tsa-green)}
.tsa-vcode-status.is-err{color:var(--tsa-red)}
.tsa-checkout-wrap{max-width:880px;margin:0 auto;padding:46px 22px 70px;overflow-x:clip}
.tsa-checkout-grid>*{min-width:0;max-width:100%}
/* v1.6.25: the two checkout boxes are now equal - same width (1fr 1fr, was 1fr 1.4fr)
   and same height (stretch + the right card fills its column via flex). */
.tsa-checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}
.tsa-checkout-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.tsa-checkout-side>.tsa-form-card{flex:1 1 auto}
.tsa-checkout-side>.tsa-empty{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;align-items:center}
/* v1.6.45: all payment methods are combined into ONE card on the right, so the
   right box always matches the left package card - even when a single method
   (e.g. IntaSend only) is active. With one method the content is vertically
   centered so neither box looks half-empty. */
.tsa-form-card.tsa-checkout-pay{display:flex;flex-direction:column}
.tsa-checkout-pay .tsa-method-block{margin-bottom:0}
.tsa-checkout-pay .tsa-method-block+.tsa-method-block{margin-top:14px}
.tsa-checkout-pay--single{justify-content:center}
.tsa-checkout-pay .tsa-pay-ref{margin-top:14px}
/* v1.6.48: trust badges (PCI DSS, Visa, Mastercard, M-Pesa, Sectigo) pinned to
   the bottom of the combined payment card so buyers see the security strip
   under every payment method. v1.6.49: slightly larger strip (340px) + the
   same badges under the price cards on the Pricing page. */
.tsa-checkout-pay .tsa-trust-badges{margin-top:auto;padding-top:18px;border-top:1px solid var(--tsa-line);display:flex;justify-content:center}
.tsa-trust-badges img{display:block;width:100%;max-width:340px;height:auto}
.tsa-checkout-pay--single .tsa-trust-badges{margin-top:18px}
.tsa-trust-badges--page{margin-top:36px;padding-top:24px;border-top:1px solid var(--tsa-line);display:flex;justify-content:center}
.tsa-checkout-signed{font-size:.85rem;color:var(--tsa-muted);margin:auto 0 0;padding-top:16px}
.tsa-checkout-wrap .tsa-form-card>h3,.tsa-checkout-wrap .tsa-method-block h4{justify-content:center;text-align:center}
.tsa-checkout-wrap .tsa-pay-ref{justify-content:center}
.tsa-checkout-wrap .tsa-pay-ref code{margin-left:0}
.tsa-checkout-wrap .tsa-dash-head{margin-bottom:30px}
.tsa-pay-instructions{background:#FFF9EC;border:1px solid #F0DFAE;border-radius:12px;padding:18px 20px;font-size:.92rem}
.tsa-pay-instructions b{display:block;margin-bottom:6px}
.tsa-pay-instructions code{background:#fff;padding:4px 10px;border-radius:7px;border:1px solid #F0DFAE;font-weight:700}
.tsa-method-block{border:1.5px solid var(--tsa-line);border-radius:14px;padding:20px;margin-bottom:14px}
.tsa-method-block.is-active{border-color:var(--tsa-green);background:var(--tsa-green-soft)}
.tsa-checkout-pay h3{align-items:center}
.tsa-pay-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.tsa-pay-tab{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 12px;border:1.5px solid var(--tsa-line);border-radius:11px;background:#fff;font-weight:700;font-size:.92rem;color:var(--tsa-ink);cursor:pointer;transition:all .16s;position:relative}
.tsa-pay-tab input{position:absolute;opacity:0;width:0;height:0}
.tsa-pay-tab svg{color:var(--tsa-muted);transition:color .16s}
.tsa-pay-tab:hover{border-color:#9FBFAE}
.tsa-pay-tab.is-active{border-color:var(--tsa-green);background:var(--tsa-green-soft);color:var(--tsa-green);box-shadow:0 2px 10px rgba(255,102,0,.12)}
.tsa-pay-tab.is-active svg{color:var(--tsa-green)}
.tsa-pay-tab input:focus-visible~span{box-shadow:0 0 0 3px rgba(255,102,0,.18)}
.tsa-pay-method{display:none;margin-bottom:6px}
.tsa-pay-method.is-active{display:block}
.tsa-pay-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;background:none;border:0;counter-reset:tsastep}
.tsa-pay-steps li{counter-increment:tsastep;display:flex;align-items:center;gap:12px;padding:14px 16px;font-size:.92rem;color:var(--tsa-ink);background:#fff;border:1px solid var(--tsa-line);border-radius:12px;box-shadow:var(--tsa-shadow-sm);flex-wrap:wrap;min-width:0}
.tsa-pay-steps li::before{content:counter(tsastep);flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,var(--tsa-green),#FF7A1F);color:#FFC266;font-size:.78rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px -2px rgba(255,102,0,.45)}
.tsa-pay-steps code{background:#FFF9EC;border:1px solid #F0DFAE;padding:3px 10px;border-radius:7px;font-weight:800;color:var(--tsa-green-dark);overflow-wrap:anywhere;max-width:100%}
.tsa-pay-ref{display:flex;align-items:center;gap:10px;margin-top:14px;padding:11px 16px;border:1px dashed #D2DED6;border-radius:10px;background:#FBFCFB;font-size:.85rem;font-weight:700;color:var(--tsa-muted);flex-wrap:wrap}
.tsa-pay-ref code{margin-left:auto;background:var(--tsa-green);color:#fff;padding:4px 12px;border-radius:7px;font-weight:800;letter-spacing:.04em}

/* =========================================================
   13. DASHBOARDS
   ========================================================= */
/* v1.6.200: the nav column grows with the member name (min 250px) so a
   long username still renders in full - no wrap, no ellipsis, no clip. */
.tsa-dash{display:grid;grid-template-columns:minmax(250px,max-content) 1fr;gap:28px;align-items:start;padding:38px 0 70px}
.tsa-dash-nav{background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:14px;position:sticky;top:96px}
.tsa-dash-nav .tsa-dash-user{display:flex;gap:11px;align-items:center;padding:10px 10px 14px;border-bottom:1px solid var(--tsa-line);margin-bottom:10px}
/* v1.6.200 (was v1.6.87): the member name in the dashboard menu renders in
   FULL - one line, no wrap and no ellipsis (works on both seeker and
   employer navs; the nav column grows with the name). */
.tsa-dash-nav .tsa-dash-user>div{min-width:0;flex:1 1 auto}
.tsa-dash-nav .tsa-dash-user b{display:block;font-size:.92rem;line-height:1.3;white-space:nowrap;overflow:visible;text-overflow:clip}
/* v1.6.200: on tiny phones a very long name steps down with a compact chip
   (smaller font, tighter gaps, smaller avatar) so the full name still fits
   the stacked layout on one line - never wrapped, never ellipsised. */
@media (max-width:480px){
  .tsa-dash-nav .tsa-dash-user{gap:8px;padding:8px 8px 12px}
  .tsa-dash-nav .tsa-dash-user .tsa-user-avatar{width:26px;height:26px;font-size:.7rem;flex:0 0 26px}
  .tsa-dash-nav .tsa-dash-user b{font-size:.78rem}
}
.tsa-dash-nav .tsa-dash-user span{font-size:.75rem;color:var(--tsa-muted)}
.tsa-dash-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.tsa-dash-nav a{display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:10px;font-weight:600;font-size:.9rem;color:var(--tsa-ink)}
.tsa-dash-nav a:hover{background:var(--tsa-bg)}
.tsa-dash-nav a.is-active{background:var(--tsa-green);color:#fff}
.tsa-dash-nav a.is-active svg{color:#FFC266}
.tsa-dash-nav svg{color:var(--tsa-muted)}
/* v1.6.202: dashboard menu burger - desktop/tablet (>960px) never shows it,
   the full menu is always visible there; on mobile it opens the collapsed
   menu (see the max-width:960 block in section 17). */
.tsa-dash-burger{display:none;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;border:1px solid var(--tsa-line);border-radius:9px;background:#fff;color:var(--tsa-ink);cursor:pointer;padding:0;transition:.18s}
.tsa-dash-burger:hover{background:var(--tsa-bg)}
.tsa-dash-burger svg{display:block}
.tsa-dash-body{min-width:0}
.tsa-dash-head{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;margin-bottom:26px}
.tsa-dash-head h1{font-size:1.5rem;margin:0}
.tsa-dash-head p{margin:2px 0 0;color:var(--tsa-muted);font-size:.9rem}
.tsa-stat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}
.tsa-stat-card{background:#fff;border:1px solid var(--tsa-line);border-radius:14px;padding:20px;transition:.18s;box-shadow:var(--tsa-shadow-sm);text-align:center}
.tsa-stat-card:hover{transform:translateY(-2px);box-shadow:var(--tsa-shadow)}
.tsa-stat-card b{display:block;font-family:var(--tsa-font-head);font-size:1.65rem;color:var(--tsa-green)}
.tsa-stat-card span{font-size:.82rem;color:var(--tsa-muted)}
.tsa-stat-card--amber b{color:var(--tsa-amber-dark)}
.tsa-table-wrap{background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);overflow:auto}
.tsa-table{min-width:640px}
.tsa-table th{background:#F1F7F3;text-align:left;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#4E6156;padding:14px 18px;border-bottom:1px solid var(--tsa-line);white-space:nowrap}
.tsa-table td{padding:15px 18px;border-bottom:1px solid var(--tsa-line);font-size:.92rem;vertical-align:middle}
.tsa-table tr:last-child td{border-bottom:0}
.tsa-dash-body h3{display:flex;align-items:center;justify-content:center;gap:8px;text-align:center}
/* v1.6.117: the v1.6.24 pill-headroom rule (.tsa-dash-body h3 + .tsa-grid-2
   padding-top:12px) is gone with the badge it made room for. */
.tsa-table th,.tsa-table td{text-align:center}
.tsa-co-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.tsa-co-head h1{margin:0;overflow-wrap:anywhere;text-wrap:balance}
.tsa-co-head-id{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;max-width:100%}
.tsa-co-head-badges{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:4px;max-width:100%;min-width:0}
.tsa-co-head-badges .tsa-chip{max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;display:flex}
.tsa-co-head-badges .tsa-chip svg{flex:0 0 auto}
.tsa-co-head-badges .tsa-chip .tsa-chip-txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tsa-co-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start;padding:38px 18px 70px}
.tsa-co-side{min-width:0}
.tsa-co-empty{margin:0;font-size:.9rem;color:var(--tsa-muted);text-align:center}
a.tsa-mini-job{color:var(--tsa-ink)}
a.tsa-mini-job:hover b{color:var(--tsa-green)}
.tsa-table .tsa-row-title{font-weight:700}
.tsa-table .tsa-row-title a{color:var(--tsa-ink)}
.tsa-table .tsa-row-title a:hover{color:var(--tsa-green)}
/* v1.6.89: employer Applicants table - one column per field (Name, Email,
   Phone, Job, Applied, Cover letter, Resume, Status, Update status) and no
   entry is ever squeezed or cut. white-space:nowrap is inherited by every
   child of these cells, so names, email addresses, phone numbers, job
   titles and dates each render on a single fully visible line: no wrapping
   and no ellipsis anywhere in the table. The wrapper keeps overflow:auto,
   so if the table grows wider than the screen it scrolls sideways instead
   of truncating anything. */
.tsa-apps-table th,.tsa-apps-table td{white-space:nowrap;overflow:visible;text-overflow:clip}
.tsa-apps-table .tsa-row-title,.tsa-apps-table .tsa-chip{overflow:visible;text-overflow:clip}
.tsa-apps-table .tsa-cell-none{color:var(--tsa-muted)}
/* v1.6.90 (tightened in v1.6.93): compact sizing so all columns fit on
   screen. Smaller text + tighter padding everywhere; the applied date uses
   the short "Oct 7, 2026" format; the status selector stacks above its
   Save button to keep that column narrow. v1.6.93: the font is smaller
   again and EVERY column item stays strictly on one line - including the
   job title, however long it is. Nothing wraps and nothing is ever cut
   with an ellipsis; a very long title simply widens the table (the
   wrapper scrolls if that is ever needed) instead of folding the text. */
.tsa-apps-table th{padding:9px 8px;font-size:.6rem}
.tsa-apps-table td{padding:8px 8px;font-size:.7rem}
.tsa-apps-table .tsa-btn--sm{padding:6px 9px;font-size:.7rem}
.tsa-apps-table .tsa-btn--sm svg{width:12px;height:12px}
.tsa-apps-table .tsa-select{padding:5px 24px 5px 8px;background-position:right 8px center;font-size:.7rem}
.tsa-apps-table .tsa-status-form{display:flex;flex-direction:column;gap:6px;align-items:stretch}
.tsa-apps-table .tsa-status-form .tsa-btn{width:100%}
/* v1.6.93: the job cell keeps its tsa-cell-job hook but no special rule -
   it inherits the same white-space:nowrap as every other column, so even a
   long job title renders on one full line with no wrap and no ellipsis. */
/* v1.6.91: boxed grid view - every header and cell carries a full border so
   each column reads as its own box. Name, email and phone share the first
   "Applicant" box again (email + phone stacked under the name in smaller
   muted lines); Job, Applied, Cover letter, Resume, Status and Update
   status keep their own boxes. */
.tsa-apps-table{border-collapse:collapse}
.tsa-apps-table th,.tsa-apps-table td{border:1px solid var(--tsa-line)}
.tsa-apps-table tr:last-child td{border-bottom:1px solid var(--tsa-line)}
.tsa-apps-table .tsa-cell-sub{display:block;font-size:.66rem;font-weight:400;color:var(--tsa-muted);margin-top:2px}
/* v1.6.95: same one-font-size rule for the Applicants table's status pill
   so both employer tables stay identical. v1.6.96: the pill keeps its
   .7rem size but drops the uppercase / heavy-weight / letter-spaced
   styling that made it read a size larger than the rest of the row, and
   the applicant name + priority chip join the same one-size rule (the
   name used to render at 1rem, the chip at .8rem). */
.tsa-apps-table .tsa-status{font-size:.7rem;font-weight:600;text-transform:none;letter-spacing:normal;padding:3px 10px}
.tsa-apps-table .tsa-row-title,.tsa-apps-table .tsa-chip,.tsa-apps-table .tsa-row-title a{overflow:visible;text-overflow:clip;font-size:.7rem}
/* v1.6.94: employer My Jobs table - smaller font and strictly single-line
   column items, matching the Applicants table. No wrapping and no ellipsis
   anywhere: even a long job title renders on one full line (the wrapper
   scrolls if that ever makes the table wider than the screen). Deadlines,
   status labels and the applicant count never fold either. */
.tsa-jobs-table th,.tsa-jobs-table td{white-space:nowrap;overflow:visible;text-overflow:clip}
.tsa-jobs-table th{padding:9px 8px;font-size:.6rem}
.tsa-jobs-table td{padding:8px 8px;font-size:.7rem}
/* v1.6.96: the Job column title used to render at 1rem - the base
   .tsa-row-title / .tsa-row-title a rules set an explicit 1rem that
   outgunned the td's .7rem, so the Job column looked larger than
   Deadline / Applicants even after the earlier passes. The title and
   its link are pinned to the same .7rem as everything else in the row
   (the 700 weight stays, so titles still read as titles - same size,
   just bold). */
.tsa-jobs-table .tsa-row-title,.tsa-jobs-table .tsa-row-title a{overflow:visible;text-overflow:clip;font-size:.7rem}
/* v1.6.95: one font size across the whole row - the status pill (.74rem)
   and the action buttons (.8rem) used to render larger than the cell text
   (.7rem), so the Job, Status and Actions columns looked mismatched. All
   three now share the same .7rem. The action group also stops wrapping:
   flex-wrap:nowrap keeps Edit / Close / Reopen / Delete on ONE row - the
   cell grows instead of folding the buttons onto a second line. */
.tsa-jobs-table .tsa-status{font-size:.7rem;font-weight:600;text-transform:none;letter-spacing:normal;padding:3px 10px}
.tsa-jobs-table .tsa-row-actions{flex-wrap:nowrap}
.tsa-jobs-table .tsa-row-actions a,.tsa-jobs-table .tsa-row-actions button{font-size:.7rem}
.tsa-row-actions{display:flex;gap:8px;flex-wrap:wrap}
.tsa-row-actions a,.tsa-row-actions button{font-size:.8rem;font-weight:700;border:1px solid var(--tsa-line);background:#fff;border-radius:8px;padding:6px 11px;cursor:pointer;color:var(--tsa-ink)}
.tsa-row-actions a:hover,.tsa-row-actions button:hover{border-color:var(--tsa-green);color:var(--tsa-green)}
.tsa-row-actions .is-danger:hover{border-color:var(--tsa-red);color:var(--tsa-red)}
/* v1.6.92: row action controls (My Jobs Edit / Close / Reopen / Delete, and
   the resume View / Delete and alert Delete rows) must all render as
   identical boxes. The form-posted buttons used to keep the browser-default
   font family and line-height while the Edit link inherited the theme font,
   so the controls ended up with different widths AND heights. Every child
   now shares one font, line-height, height and min-width with centred
   text; longer labels simply grow their box instead of breaking the row. */
.tsa-row-actions a,.tsa-row-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:32px;font-family:inherit;line-height:1;white-space:nowrap;text-decoration:none}
.tsa-row-actions form{display:flex;margin:0}
.tsa-credit-box{background:linear-gradient(120deg,var(--tsa-green-dark),var(--tsa-green));color:#fff;border-radius:16px;padding:26px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin-bottom:26px}
.tsa-credit-box b{font-family:var(--tsa-font-head);font-size:1.5rem;display:block;color:#FFC266}
.tsa-credit-box span{color:#FFE3CF;font-size:.86rem}
.tsa-mini-package{border:1px solid var(--tsa-line);border-radius:12px;padding:16px 18px;background:#fff;text-align:center}
.tsa-mini-package b{font-family:var(--tsa-font-head)}
.tsa-mini-package .tsa-chip{margin-left:8px}
/* =========================================================
   14. PROFILE + ALERTS + RESUME VIEW
   ========================================================= */
.tsa-resume-list{display:flex;flex-direction:column;gap:10px}
.tsa-resume-item{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--tsa-line);border-radius:12px;padding:14px 18px}
.tsa-resume-item svg{color:var(--tsa-green);flex:0 0 auto}
.tsa-resume-item b{font-size:.92rem}
.tsa-resume-item span{display:block;font-size:.78rem;color:var(--tsa-muted)}
.tsa-resume-item .tsa-row-actions{margin-left:auto}
.tsa-alert-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--tsa-line);border-radius:12px;padding:16px 20px;margin-bottom:10px;flex-wrap:wrap}
.tsa-alert-item svg{color:var(--tsa-amber-dark)}
.tsa-alert-item .tsa-chip{margin-right:4px}
.tsa-alert-item .tsa-row-actions{margin-left:auto}
.tsa-resume-view{background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:44px;max-width:820px;margin:0 auto}
.tsa-resume-view .tsa-rv-head{text-align:center;border-bottom:3px solid var(--tsa-green);padding-bottom:18px;margin-bottom:22px}
.tsa-resume-view .tsa-rv-head h1{font-size:1.6rem;margin-bottom:2px}
.tsa-resume-view .tsa-rv-head p{color:var(--tsa-muted);margin:0;font-size:.92rem}
.tsa-resume-view h3{color:var(--tsa-green);font-size:1rem;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--tsa-line);padding-bottom:6px;margin:22px 0 10px}
.tsa-resume-view p,.tsa-resume-view li{font-size:.93rem}
@media print{
  .tsa-header,.tsa-footer,.tsa-dash-nav,.tsa-notice,.tsa-btn,#wpadminbar{display:none!important}
  body{background:#fff}
  .tsa-resume-view{border:0;padding:0}
  .tsa-dash{display:block}
}

/* =========================================================
   15. CONTENT (PAGES / POSTS)
   ========================================================= */
.tsa-post-meta{color:var(--tsa-muted);font-size:.88rem;text-align:center;margin:0 0 6px}
.tsa-content h2{margin-top:1.5em}
.tsa-content img{border-radius:12px;margin:1.2em 0}
.tsa-content figure{margin:1.4em 0}
.tsa-content figcaption{font-size:.85rem;color:var(--tsa-muted);text-align:center}

/* =========================================================
   16. FOOTER
   ========================================================= */
.tsa-footer{background:var(--tsa-green-deep);color:#FFCFAF;margin-top:70px;position:relative}
.tsa-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--tsa-amber),#FFC266 30%,#FF7A1F 60%,var(--tsa-amber))}
/* v1.6.173: five footer columns now - brand 1.6fr + Categories between
   About Us and For Candidates, so the link columns go 1fr x4. */
.tsa-footer-cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:36px;padding:56px 0 40px}
.tsa-footer h4{color:#fff;font-size:.95rem;margin-bottom:16px}
.tsa-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:.89rem}
.tsa-footer a{color:#FFCFAF}
.tsa-footer a:hover{color:#FFC266}
.tsa-footer-brand p{font-size:.9rem;margin-top:14px;text-align:justify}
/* v1.6.62: the footer brand row (TSA circle icon + site name) is REMOVED.
   The brand column is now titled "About Us" via a plain <h4> in footer.php,
   which inherits the .tsa-footer h4 widget-title styling below (base rule
   line ~658; skin override with the 44px orange strip line ::after) - so it
   matches the other column titles exactly, left-aligned everywhere. */
.tsa-footer-note{display:block;background:rgba(255,139,62,.1);border:1px solid rgba(255,139,62,.3);border-radius:10px;padding:11px 12px;font-size:.83rem;color:#FFC266;margin-top:18px;white-space:nowrap;text-align:center}
.tsa-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px 0;display:flex;align-items:center;justify-content:center;gap:14px;font-size:.82rem;flex-wrap:wrap;text-align:center}
.tsa-footer-bottom a{color:#B8B8B8}

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width:1200px){
  .tsa-job-layout{grid-template-columns:minmax(0,1fr) 320px;gap:22px}
}
@media (max-width:1080px){
  .tsa-price-cards,.tsa-price-cards--3{grid-template-columns:repeat(2,1fr)}
  .tsa-grid-4{grid-template-columns:repeat(2,1fr)}
  .tsa-industry-grid{grid-template-columns:repeat(3,1fr)}
  .tsa-footer-cols{grid-template-columns:1fr 1fr}
  .tsa-stat-cards{grid-template-columns:repeat(2,1fr)}
  /* v1.6.203: when the layout stacks below 1080px the main column and the
     sidebar's first widget used to touch (the apply band has no bottom
     margin) - a 26px row gap matches the sidebar's internal rhythm. */
  .tsa-job-layout{display:flex;flex-direction:column;align-items:stretch;row-gap:26px}
  .tsa-job-main-col{order:1}
  .tsa-job-side{order:2}
  .tsa-job-hero{padding:42px 0 52px}
}
@media (max-width:960px){
  .tsa-nav{display:none}
  .tsa-mobile-nav{position:fixed;inset:64px 0 auto 0;background:#fff;border-bottom:1px solid var(--tsa-line);box-shadow:var(--tsa-shadow-lg);padding:10px 22px 22px;display:none;margin:0;z-index:49}
  .tsa-mobile-nav.open{display:block}
  .tsa-mobile-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
  .tsa-mobile-nav ul ul{padding-left:16px}
  .tsa-mobile-nav a{padding:13px 14px;font-size:1rem}
  .tsa-header-actions{margin-left:auto}
  .tsa-burger{display:inline-flex}
  .tsa-header-actions .tsa-btn{display:none}
  .tsa-mobile-auth{display:flex}
  .tsa-mobile-auth .tsa-btn{display:inline-flex}
  .tsa-hero-search{grid-template-columns:1fr 1fr}
  .tsa-listing-layout{grid-template-columns:1fr}
  .tsa-dash{grid-template-columns:1fr}
  .tsa-dash-nav{position:static}
  /* v1.6.202: the stacked menu used to push the whole tab content below the
     fold - on mobile the nav becomes a compact chip row (avatar + name +
     burger) and the menu opens on tap, logged-in dashboard only. */
  .tsa-dash-nav{padding:10px 12px}
  .tsa-dash-burger{display:inline-flex}
  .tsa-dash-nav .tsa-dash-user{border-bottom:0;margin-bottom:0;padding:4px 2px}
  .tsa-dash-nav ul{display:none;margin:10px 0 0;padding-top:8px;border-top:1px solid var(--tsa-line)}
  .tsa-dash-nav.open ul{display:flex}
  .tsa-auth-card{grid-template-columns:1fr}
  /* v1.6.183: every /account box is FULL WIDTH whenever the card is single
     column - landscape phones, foldables and small tablets no longer show
     half-width first-name / email / phone / code boxes. */
  .tsa-auth-form .tsa-field-row,.tsa-auth-form .tsa-field-row-3,.tsa-auth-form .tsa-role-cards{grid-template-columns:1fr}
  .tsa-auth-side{display:none}
  .tsa-checkout-grid{grid-template-columns:1fr}
  .tsa-cta-band{padding:40px 26px}
  .tsa-grid-3{grid-template-columns:1fr 1fr}
  .tsa-steps{grid-template-columns:1fr}
  .tsa-co-layout{grid-template-columns:1fr;padding:30px 22px 56px}
}
@media (max-width:640px){
  h1{font-size:1.75rem}
  .tsa-vcode-row{grid-template-columns:1fr} /* v1.6.179: code box + button stack on phones */
  .tsa-hero .tsa-hero-inner{padding:52px 20px 66px}
  .tsa-hero-search{grid-template-columns:1fr}
  .tsa-stats{grid-template-columns:repeat(2,1fr)}
  .tsa-grid-2,.tsa-grid-3,.tsa-grid-4,.tsa-price-cards,.tsa-price-cards--3,.tsa-field-row,.tsa-field-row-3,.tsa-industry-grid,.tsa-inline-grid,.tsa-role-cards{grid-template-columns:1fr}
  .tsa-stat-cards{grid-template-columns:1fr}
  .tsa-footer-cols{grid-template-columns:1fr}
  .tsa-section{padding:44px 0}
  .tsa-job-card{padding:28px 16px 20px}
  .tsa-job-main{padding:24px 18px}
  .tsa-job-sec-title{font-size:1.12rem;gap:10px}
  .tsa-job-sec-ico{width:33px;height:33px;border-radius:10px}
  .tsa-job-hero{padding:36px 0 46px}
  .tsa-job-hero-title{font-size:1.62rem}
  .tsa-job-hero-logo .tsa-company-logo{width:72px;height:72px;border-radius:20px;font-size:1.25rem}
  .tsa-job-hero-co{font-size:.95rem}
  .tsa-glass-chip{font-size:.82rem;padding:6px 13px}
  .tsa-form-card{padding:20px}
  .tsa-side-card{padding:20px}
  .tsa-footer-bottom{justify-content:center;text-align:center}
  /* v1.6.150: the edge padding is now the SAME on every screen - the
     mobile-only 12px squeeze is retired, so the header, footer and all
     content columns sit 18px from the edge on phones exactly like on
     desktop. The base .tsa-container rule (padding:0 18px) simply applies
     everywhere again. */
  .tsa-container.tsa-section{padding:44px 18px}
  .tsa-container.tsa-job-layout{padding:26px 18px 52px}
  .tsa-container.tsa-listing-layout{padding:26px 18px 52px}
  .tsa-container.tsa-co-layout{padding:26px 18px 52px}
  .tsa-footer-note{margin-left:auto;margin-right:auto;text-align:center;max-width:340px;white-space:normal}
  .tsa-industry-item{justify-content:flex-start;gap:10px;padding:14px 16px;text-align:left}
  .tsa-industry-name{flex:1 1 auto;text-align:center}
  .tsa-logo{font-size:.94rem;gap:10px}
  .tsa-logo-text small{display:none}
  .tsa-logo-mark{width:42px;height:42px;border-radius:12px}
  .tsa-logo-mark svg{width:24px;height:24px}
  .tsa-custom-logo img{max-height:52px}
  .tsa-checkout-wrap{padding:40px 18px 60px}
}
@media (max-width:520px){
  .tsa-job-posted{order:3;width:100%}
}

/* =========================================================
   18. MYJOBMAG EDITION COMPONENTS + OVERRIDES (v1.6.0)
   Layout language aligned with classic Kenyan job boards:
   Verdana type, orange #FF6600/#FF8B3E actions, navy #036
   titles, flat white cards with 1px borders, uppercase nav.
   ========================================================= */

/* -- Header: solid white, uppercase nav, orange underline hover -- */
.tsa-header{background:#fff;border-bottom:1px solid #E1E1E1;position:sticky;top:0;z-index:50;backdrop-filter:none;-webkit-backdrop-filter:none}
.tsa-header .tsa-container{max-width:1320px}
.tsa-header-inner{min-height:64px;gap:14px}
.tsa-logo{font-family:var(--tsa-font-head);font-weight:bold;font-size:.95rem;color:#333;letter-spacing:.01em;text-transform:uppercase}
.tsa-logo:hover{color:#FF6600}
.tsa-logo-mark{width:38px;height:38px;border-radius:5px;background:#FF6600;color:#fff;box-shadow:none}
.tsa-logo-text small{color:#FF6600}
.tsa-custom-logo img{max-height:40px}
.tsa-nav ul{gap:0}
.tsa-nav a{display:block;padding:0 10px;height:64px;line-height:64px;border-bottom:3px solid transparent;border-radius:0;font-size:.75rem;font-weight:bold;text-transform:uppercase;color:#333;letter-spacing:.02em;white-space:nowrap}
.tsa-nav a::after{display:none}
.tsa-nav a:hover{background:#EBEBEB;border-bottom-color:#FF6600;color:#333}
.tsa-user-menu>button{background:#fff;border:1px solid #E1E1E1;border-radius:3px;color:#333;font-family:var(--tsa-font-body);font-size:.85rem}
.tsa-user-avatar{background:#FF6600;color:#fff;border-radius:3px}
.tsa-user-menu-panel{border-radius:3px;box-shadow:0 2px 5px #ccc}
.tsa-user-menu-panel a:hover,.tsa-user-menu-panel button:hover{background:#F7F7F7;color:#333}
.tsa-burger{color:#333}

/* -- Buttons: flat MyJobMag actions -- */
.tsa-btn{font-family:var(--tsa-font-body);border-radius:3px;padding:12px 20px;font-size:.92rem;letter-spacing:0}
.tsa-btn::after{display:none!important}
.tsa-btn--primary{background:#FF8B3E;color:#000;box-shadow:none}
.tsa-btn--primary:hover{background:#E85C00;color:#fff;transform:none;box-shadow:none}
.tsa-btn--amber{background:#333;color:#fff;box-shadow:none}
.tsa-btn--amber:hover{background:#000;color:#fff;transform:none;box-shadow:none}
.tsa-btn--ghost{background:#fff;color:#333;border:2px solid #333;border-radius:5px}
.tsa-btn--ghost:hover{background:#fff;border-color:#FF6600;color:#FF6600}
.tsa-btn--light{background:#fff;color:#FF6600;border-color:#fff}
.tsa-btn--light:hover{background:#FFF3EA}
.tsa-btn--danger{background:#fff;color:#F30;border:1px solid #F00;border-radius:3px}
.tsa-btn--danger:hover{background:#EF550F;border-color:#EF550F;color:#fff}
.tsa-btn--sm{padding:8px 14px;font-size:.85rem;border-radius:3px}
.tsa-btn[disabled]{opacity:.5}

/* -- Chips, badges, statuses: flat -- */
.tsa-chip{border-radius:3px;color:#666;font-size:.78rem;padding:4px 10px}
.tsa-chip svg{color:#999}
.tsa-chip--amber{color:#B25B00;background:#FFF3EA;border-color:#FFD9BE}
.tsa-chip--green{color:#009966;background:#E7F5EF;border-color:#CDE8DC;font-weight:bold}
.tsa-chip--red{color:#E53517;background:#FDEDEB;border-color:#F5C6C0}
.tsa-status{border-radius:3px}

/* -- Notices: flat cards -- */
.tsa-notice{border-radius:3px;box-shadow:none}
.tsa-notice--success{background:#E7F5EF;color:#07553B;border:1px solid #CDE8DC;border-left-color:#009966}
.tsa-notice--info{background:#EAF3FC;color:#175A8E;border:1px solid #BFD9F0;border-left-color:#1F6FB2}

/* -- Pagination -- */
.tsa-pagination .page-numbers{border-radius:3px;border-color:#E1E1E1;box-shadow:none;min-width:38px;height:38px;color:#06C;font-weight:bold}
.tsa-pagination .page-numbers.current{background:#FF6600;border-color:#FF6600;color:#fff}
.tsa-pagination .page-numbers:hover:not(.current){background:#FFF3EA;color:#FF6600}

/* -- Forms -- */
.tsa-field label{font-size:.83rem;font-weight:bold;color:#333;margin-bottom:6px}
.tsa-field input,.tsa-field textarea{border:1px solid #CCC;border-radius:3px;background:#fff}
.tsa-field input:focus,.tsa-field select:focus,.tsa-field textarea:focus{outline:none;border-color:#FF8B3E;box-shadow:0 0 4px #FFCF88}
.tsa-form-card{border-radius:5px}
.tsa-select{border-radius:3px;border:1px solid #CCC}
.tsa-check input{accent-color:#FF6600}
.tsa-role-card{border-radius:5px}
.tsa-role-card:hover{border-color:#FF8B3E}

/* -- Section heads: orange left-border editorial -- */
.tsa-section{padding:44px 0}
.tsa-section--alt{background:#F7F7F7;border-top:1px solid #F0F0F0;border-bottom:1px solid #F0F0F0}
.tsa-section-head{max-width:none;margin:0 0 26px;text-align:left}
.tsa-section-head .tsa-kicker{display:inline-block;background:none;border:0;padding:0;margin-bottom:8px;box-shadow:none;color:#FF6600;font-size:.75rem;font-weight:bold;letter-spacing:.12em}
.tsa-section-head .tsa-kicker::before{display:none}
.tsa-section-head h2{font-size:1.35rem;color:#666;border-left:4px solid #FA8022;padding-left:12px;margin:0}
.tsa-section-head p{color:#999;font-size:.92rem;margin:8px 0 0 16px}

/* -- Job cards (dashboard / taxonomy reuse): flat rows-like cards -- */
.tsa-job-card{border-radius:5px;box-shadow:none;align-items:flex-start;text-align:left;padding:20px;gap:12px}
.tsa-job-card:hover{transform:none;box-shadow:0 1px 4px rgba(0,0,0,.08);border-color:#CCC}
.tsa-company-logo{border-radius:5px;box-shadow:none;background:#FFF3EA;border:1px solid #FFE0CC;color:#FF6600}
.tsa-job-card h3 a{color:#036}
.tsa-job-card h3 a:hover{color:orangered}
.tsa-job-company a:hover{color:#FF6600}

/* -- Company card + empty states -- */
.tsa-company-card{border-radius:5px}
.tsa-empty{border-radius:5px;background:#fff;border:1px solid #E1E1E1}
.tsa-empty svg{color:#FF6600}

/* -- Listing layout: main + right sidebar (MyJobMag) -- */
.tsa-listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px;padding:34px 18px 60px;max-width:1320px;margin:0 auto;align-items:start}
.tsa-page-head{background:#fff;border-bottom:1px solid #E1E1E1;padding:30px 0}
.tsa-page-head::before,.tsa-page-head::after{display:none}
.tsa-page-head h1{color:#036;font-size:1.5rem;margin:0}
.tsa-page-head p{color:#999;font-style:italic;font-size:.9rem;margin:6px auto 0}
.tsa-filters{background:#fff;border:1px solid #CCC;border-radius:3px;padding:20px}
.tsa-filters h4{display:flex;align-items:center;gap:7px;color:#333;font-size:.95rem;border-bottom:2px solid #FF8B3E;padding-bottom:8px}
.tsa-filters h4 svg{color:#FF6600}
.tsa-listing-bar{border:1px solid #CCC;border-radius:3px;background:#fff;padding:9px 14px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.tsa-listing-bar form{display:flex;gap:10px;align-items:center;width:100%}
.tsa-listing-bar select{border:1px solid #CCC;border-radius:3px;background-color:#fff;color:#333;font-weight:normal}

/* -- Sort bar + result count -- */
.tsa-sortbar{border:1px solid #CCC;border-radius:3px;background:#fff;padding:9px 14px;margin-bottom:6px}
.tsa-sortbar form{display:flex;align-items:center;gap:10px}
.tsa-sortbar span{font-size:.82rem;font-weight:bold;color:#333;flex:0 0 auto;white-space:nowrap}
.tsa-sortbar select{border:1px solid #CCC;border-radius:3px;background-color:#fff;padding:8px 38px 8px 12px;font-size:.9rem;color:#333;flex:1 1 auto;width:100%;min-width:0}
.tsa-found-count{color:#999;font-style:italic;font-size:.85rem;margin:0 0 14px}

/* -- Featured jobs box (2-col checklist) -- */
.tsa-featured-box{list-style:none;margin:0 0 34px;padding:24px 26px;background:#fff;border:1px solid #E1E1E1;display:grid;grid-template-columns:1fr 1fr;gap:4px 26px}
.tsa-featured-box li{list-style:none;display:flex;align-items:flex-start;gap:8px;padding:5px 0;min-width:0}
.tsa-featured-box li svg{color:#009966;flex:0 0 auto;margin-top:3px}
.tsa-featured-box li a{color:#666;font-size:.86rem;font-weight:bold;line-height:1.5}
.tsa-featured-box li a:hover{color:#F63}
.tsa-featured-more{grid-column:1/-1;margin-top:8px;padding-top:12px;border-top:1px solid #F0F0F0;text-align:right;justify-content:flex-end}
.tsa-featured-more a{color:#06C;font-weight:bold;font-size:.9rem}
.tsa-featured-more a:hover{color:#FF6600}

/* -- Editorial heading + signup strip -- */
.tsa-mjm-h2{font-size:1.25rem;color:#666;border-left:4px solid #FA8022;padding:2px 0 3px 12px;margin:36px 0 16px;line-height:1.35;font-weight:bold}

/* -- Job rows -- */
.tsa-job-rows{list-style:none;margin:0;padding:0}
.tsa-job-row{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #F2F2F2}
.tsa-job-row:first-child{padding-top:8px}
.tsa-job-row--closed{opacity:.62}
.tsa-row-logo{flex:0 0 56px;width:56px;height:56px;border:1px solid #E1E1E1;border-radius:5px;overflow:hidden;background:#fff;display:flex;align-items:center;justify-content:center}
.tsa-row-logo:hover{border-color:#FF6600}
.tsa-row-logo .tsa-company-logo{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;background:#FFF3EA}
.tsa-row-body{flex:1 1 auto;min-width:0}
.tsa-row-title{margin:0 0 5px;font-size:1rem;line-height:1.45;font-weight:bold}
.tsa-row-title a{color:#036;font-size:1rem}
.tsa-row-title a:hover{color:orangered}
.tsa-row-title .tsa-row-at{color:inherit;font-weight:inherit}
.tsa-row-desc{margin:0 0 8px;color:#666;font-size:.87rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tsa-row-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:.8rem;color:#999}
.tsa-row-meta svg{vertical-align:-2px;margin-right:3px}
.tsa-row-date{color:#FF6600}
.tsa-row-closed{color:#F30;font-weight:bold}

/* -- View all jobs band button -- */
.tsa-viewall{display:flex;align-items:center;justify-content:center;gap:8px;background:#FF8B3E;border:1px solid #FF8B3E;color:#000;font-weight:bold;font-size:.95rem;padding:12px;border-radius:3px;margin:26px 0 6px;text-decoration:none;transition:background .2s,color .2s}
.tsa-viewall:hover{background:#F30;border-color:#F30;color:#fff}

/* -- Category boxes -- */
.tsa-cat-box{background:#fff;border:1px solid #CCC;border-radius:3px;padding:24px 26px;margin-bottom:28px}
.tsa-cat-head{margin:0;font-size:.95rem;font-weight:bold;color:#333;display:flex;align-items:center;gap:7px}
.tsa-cat-head svg{color:#FF6600}
.tsa-cat-line{display:block;width:70px;border-bottom:2px solid #999;margin:9px 0 16px}
.tsa-cat-list,.tsa-cat-box ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}
.tsa-cat-list a,.tsa-cat-box ul a{color:#666;font-size:.88rem;padding:3px 0;display:inline-block}
.tsa-cat-list a:hover,.tsa-cat-box ul a:hover{color:#F30;text-decoration:underline}
/* v1.6.39: Top Employers - the abbreviation is glued to the word before it
   (helpers.php, U+00A0) and the box runs slightly tighter type, so wrapped
   names stop at two lines. Verdana renders "Commission (PSC)" at almost
   exactly a 130px column, which used to push "(PSC)" onto a third line. */
.tsa-topco ul{gap:6px 12px}
.tsa-topco ul a{font-size:.84rem}

/* -- Category boxes: Show More fold (MyJobMag view-all button) -- */
.tsa-cat-box--fold .tsa-cat-hide{display:none}
.tsa-cat-box--fold.is-open .tsa-cat-hide{display:list-item}
.tsa-cat-morewrap{margin-top:10px;text-align:right}
.tsa-cat-more{display:inline-flex;align-items:center;gap:6px;background:#FF8B3E;border:none;border-radius:3px;color:#fff;cursor:pointer;font-family:inherit;font-size:.9em;font-weight:bold;padding:6px 14px;transition:background .2s}
.tsa-cat-more:hover{background:#F63;color:#fff;text-decoration:none}
.tsa-cat-more:focus-visible{outline:2px solid #FF6600;outline-offset:2px}

/* -- Sidebar: wrap, subscribe + hiring boxes -- */
.tsa-mjm-wrap{max-width:1320px;margin:0 auto;padding:30px 18px 60px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px}
.tsa-mjm-main,.tsa-mjm-side{min-width:0}
/* The sidebar column is a compact STICKY column: widgets keep one tight
   rhythm at the sidebar's natural height and the whole sidebar sticks
   below the 64px header while the taller column scrolls, so the columns
   read as travelling together WITHOUT stretching the sidebar into big
   distributed gaps. The old space-between fill grew every widget gap
   with the leftover row height - the "sidebar widget spaces are still
   big" report on the homepage (v1.6.198). */
.tsa-mjm-side{display:flex;flex-direction:column;justify-content:flex-start;align-self:start;position:sticky;top:96px}
.tsa-mjm-side>*:last-child{margin-bottom:0}
.tsa-mjm-main>:last-child{margin-bottom:0}
.tsa-mjm-side>*{min-width:0}
.tsa-sub-box{background:#fff;border:1px solid #DFDFDF;border-radius:3px;padding:28px 22px;margin-bottom:26px;text-align:center}
.tsa-sub-box h2{font-size:1.12rem;color:#333;margin:0 0 2px}
.tsa-sub-line{display:block;width:64px;height:0;border-bottom:5px solid #FF8B3E;margin:8px auto 12px}
.tsa-sub-box p{color:#5C5C5C;font-size:.88rem;line-height:1.6;margin:0 0 14px}
.tsa-sub-box .tsa-btn{margin-top:6px}
.tsa-sub-box .tsa-btn+.tsa-btn{margin-top:10px}
.tsa-filter-box{background:#fff;border:1px solid #CCC;border-radius:3px;padding:22px;margin-bottom:26px}
.tsa-filter-box .tsa-field{margin-bottom:13px}
.tsa-filter-box .tsa-btn{margin-top:4px}

/* -- Single job: content + sidebar, flat -- */
.tsa-job-layout{padding:34px 18px 60px;max-width:1320px;margin:0 auto}
.tsa-job-main{background:#fff;border:1px solid #E1E1E1;border-radius:3px;padding:26px;box-shadow:none}
.tsa-job-sec-title{font-size:1.05rem;color:#333;border-left:4px solid #FA8022;padding-left:10px}
.tsa-job-sec-title .tsa-job-sec-ico{display:none}
.tsa-content{color:#333;font-size:.95rem;line-height:1.75}
.tsa-content h2,.tsa-content h3{color:#333}
.tsa-side-card{background:#fff;border:1px solid #E1E1E1;border-radius:3px;box-shadow:none;padding:20px}
.tsa-side-title{color:#333;font-size:.95rem;border-bottom:2px solid #FF8B3E;padding:8px 0}
.tsa-apply-card{background:#fff;border:1px solid #E1E1E1;border-radius:3px;box-shadow:none;padding:20px}
.tsa-apply-card::before{display:none}
/* v1.6.70: grey card overrides removed with the cards */
.tsa-facts ul li{border-bottom-color:#F0F0F0}
.tsa-facts-k{color:#666}
.tsa-mini-job,.tsa-mini-co{border:0;border-bottom:1px dashed #E8E8E8;border-radius:0;background:transparent;padding:10px 0;margin-bottom:0}
.tsa-mini-job:last-child,.tsa-mini-co:last-child{border-bottom:0;padding-bottom:0}
.tsa-mini-job:hover,.tsa-mini-co:hover{background:transparent}
.tsa-mini-job b{color:#036}
.tsa-mini-job small{color:#666}
a.tsa-mini-job:hover b,.tsa-mini-job b:hover{color:orangered}
.tsa-mini-co-txt b{color:#036}
.tsa-mini-co:hover b{color:#FF6600}
/* v1.6.199: Featured Courses rows adopt the same flat palette as the
 * mini job/company rows on the single job sidebar. */
.tsa-mini-course b{color:#036}
.tsa-mini-course small{color:#666}
.tsa-mini-course:hover b,a.tsa-mini-course:hover b{color:orangered}
.tsa-mini-course-more{border-color:#E8E8E8;border-radius:3px;color:#036}
.tsa-mini-course-more:hover{border-color:#FF6600;color:#FF6600}
.tsa-mini-co-txt small{color:#666}
/* v1.6.54: share pill overrides removed - share links are brand icon tiles now */

/* -- Single job: apply band (v1.6.70: buttons/chips/forms only - the salary +
   closing cards below the content are gone), share + similar below content -- */
.tsa-apply-band{background:#fff;border:1px solid #E1E1E1;border-radius:3px;padding:22px 26px;margin:26px 0 0;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch;text-align:center}
.tsa-apply-band > .tsa-btn{grid-column:1 / -1;justify-content:center}
.tsa-apply-actions{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
.tsa-apply-band > .tsa-chip{grid-column:1 / -1;justify-content:center}
.tsa-apply-band form{grid-column:1 / -1;text-align:left}
/* v1.6.119: plan-gate note inside the apply band (no active plan / Basic plan
   blocked from on-site applications) - note spans both grid columns above the
   full-width checkout button. */
.tsa-apply-band > .tsa-apply-gate-note{grid-column:1 / -1;margin:0;font-weight:600;font-size:.95rem;color:#333}
.tsa-apply-band > .tsa-apply-gate-note + .tsa-btn{margin-top:2px}
/* v1.6.54: share box left + follow box right (two separate labeled cards), similar jobs full width below */
.tsa-job-foot{width:100%;max-width:none;margin:18px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}
.tsa-job-foot .tsa-share-card{grid-column:1;text-align:center}
.tsa-job-foot .tsa-follow-card{grid-column:2;text-align:center}
.tsa-job-foot .tsa-similar-card{grid-column:1 / -1}
/* v1.6.67: the v1.6.54 two-column grid above targets the single job page's
   share/follow cards but leaked onto the dashboard card feet - the posted meta
   landed in the left half (not centered) and lost its push-to-bottom margin.
   Card feet keep their centered one-line flex row (single job foot is inside
   .tsa-job-main, never inside .tsa-job-card, so this override cannot touch it). */
.tsa-job-card .tsa-job-foot{display:flex;align-items:center;justify-content:center;gap:8px 14px;flex-wrap:wrap;width:100%;margin-top:auto;padding-top:14px;border-top:1px solid #EDF2EE}
.tsa-similar-card{width:100%}
.tsa-similar-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 26px}
.tsa-similar-grid .tsa-mini-job{border-bottom:0;padding:9px 0;margin:0}
@media (max-width:640px){
.tsa-apply-band{grid-template-columns:1fr;padding:18px 14px;gap:10px}
.tsa-apply-actions{grid-template-columns:1fr}
.tsa-similar-grid{grid-template-columns:1fr}
}

/* -- Follow Us (v1.6.19): brand social tiles below Share this job.
      v1.6.71: tiles flex-grow to fill the card content width, aligned with the
      title underline strip on both ends (same as the share row). -- */
.tsa-follow-card{text-align:center}
.tsa-follow-row{display:flex;flex-wrap:nowrap;gap:10px;justify-content:center}
.tsa-follow-row .tsa-soc{flex:1 1 44px;min-width:0;width:44px;height:44px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:transform .15s,opacity .15s}
.tsa-follow-row .tsa-soc svg{width:20px;height:20px}
.tsa-follow-row .tsa-soc:hover{transform:translateY(-2px);opacity:.85;color:#fff}
.tsa-soc--wa{background:#25D366}
.tsa-soc--fb{background:#1877F2}
.tsa-soc--x{background:#111111}
.tsa-soc--li{background:#0A66C2}
.tsa-soc--ig{background:#E4405F}
.tsa-soc--yt{background:#FF0000}
/* v1.6.71: mobile keeps the tighter gap + smaller basis; grow from the base
   rules still stretches the rows edge to edge at phone widths */
@media (max-width:640px){
.tsa-share-row,.tsa-follow-row{gap:8px}
.tsa-share-row a,.tsa-follow-row .tsa-soc{width:40px;height:40px;flex-basis:40px}
}

/* -- Steps / industry / counties / pricing / dashboards: flatten -- */
.tsa-step{background:#fff;border:1px solid #E1E1E1;border-radius:5px;box-shadow:none}
.tsa-industry-item{background:#fff;border:1px solid #E1E1E1;border-radius:5px;box-shadow:none}
.tsa-industry-item:hover{border-color:#FF8B3E}
.tsa-industry-item svg{color:#FF6600}
.tsa-county-chips a{background:#fff;border:1px solid #E1E1E1;border-radius:3px;color:#06C}
.tsa-county-chips a:hover{border-color:#FF6600;color:#FF6600;background:#FFF9F4}
.tsa-cta-band{background:#FFF9F4;border:1px solid #FFE0CC;border-radius:5px;box-shadow:none}
.tsa-cta-band::before,.tsa-cta-band::after{display:none}
.tsa-price-card{border-radius:5px;box-shadow:var(--tsa-shadow-sm)}
.tsa-dash-nav{background:#fff;border:1px solid #E1E1E1;border-radius:5px;box-shadow:none}
.tsa-table-wrap{border-radius:5px}
.tsa-stat-card{border-radius:5px;box-shadow:var(--tsa-shadow-sm)}
.tsa-auth-card{border-radius:5px}
.tsa-mini-package,.tsa-credit-box,.tsa-resume-item,.tsa-alert-item{border-radius:5px}

/* -- Footer: white, uppercase titles with orange underline -- */
.tsa-footer{background:#fff;color:#666;margin-top:60px}
/* v1.6.40: the footer separation line spans the content width (aligned with
   the columns below it) instead of touching the screen edges. */
.tsa-footer::before{display:block;position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(calc(var(--tsa-container) - 36px),calc(100% - 36px));height:3px;background:#FF8B3E}
.tsa-footer-cols{padding:44px 0 34px}
.tsa-footer h4{color:#333;text-transform:uppercase;font-size:.9rem;letter-spacing:.04em;position:relative;padding-bottom:10px;margin-bottom:14px}
.tsa-footer h4::after{content:"";position:absolute;left:0;bottom:0;width:44px;border-bottom:3px solid #FF8B3E}
.tsa-footer ul{gap:8px}
.tsa-footer a{color:#666;font-size:.86rem}
.tsa-footer a:hover{color:#FF6600;text-decoration:underline}
.tsa-footer-brand p{color:#888;font-size:.85rem}
.tsa-footer-note{background:#F7F7F7;border:1px solid #E1E1E1;color:#777;border-radius:3px}
.tsa-footer-bottom{border-top:1px solid #CCC;padding:16px 0;justify-content:center;row-gap:8px;flex-wrap:wrap;font-size:.82rem;color:#999}
.tsa-footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}
.tsa-footer-bottom a{color:#666;padding:0 12px;border-right:1px solid #CCC}
.tsa-footer-bottom a:hover{color:#FF6600;text-decoration:underline}
.tsa-footer-bottom span{padding-left:12px;color:#999}

/* -- MyJobMag edition responsive -- */
@media (max-width:1200px){
  .tsa-nav a{padding:0 7px;font-size:.7rem;letter-spacing:0}
  .tsa-logo{font-size:.86rem}
  .tsa-header-actions .tsa-btn--sm{padding:8px 12px}
}
@media (max-width:1080px){
  .tsa-mjm-wrap{grid-template-columns:1fr}
  .tsa-listing-layout{grid-template-columns:1fr}
  .tsa-job-head-inner{gap:14px}
  .tsa-head-company{max-width:220px}
}
@media (max-width:1080px){
  /* v1.6.150: the mobile-only header padding is retired - the header bar
     keeps the exact same vertical padding (none) and the same 64px row
     height on phones as on desktop. */
  .tsa-header-actions{margin-left:auto}
}
@media (max-width:960px){
  .tsa-mobile-nav{border:1px solid #E8E8E8;border-top:0;border-radius:0 0 14px 14px;box-shadow:0 18px 40px rgba(0,0,0,.16);padding:12px 14px 16px;background:#fff}
  .tsa-mobile-nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;height:auto;line-height:1.35;padding:13px 12px;border-bottom:0;border-radius:8px;text-transform:uppercase;font-weight:bold;font-size:.83rem;letter-spacing:.03em;color:#444}
  .tsa-mobile-nav a::after{content:"\203A";font-size:1.2rem;line-height:1;color:#C9C9C9;font-weight:normal}
  .tsa-mobile-nav a:hover{background:#FFF3EA;color:#FF6600}
  .tsa-mobile-nav a:hover::after{color:#FF6600}
  .tsa-mobile-nav ul ul{padding-left:14px;margin-top:2px}
  .tsa-mobile-nav ul ul a{font-size:.76rem;color:#777;padding:11px 12px}
}
@media (max-width:640px){
  .tsa-band-search{flex-direction:column;box-shadow:none}
  .tsa-band-cell{border-right:0;border-bottom:1px solid #EBEBEB;padding:0 12px}
  .tsa-band-cell input,.tsa-band-cell select{height:46px}
  .tsa-band-btn{height:46px;width:100%}
  .tsa-featured-box{grid-template-columns:1fr}
  .tsa-featured-more{text-align:center;justify-content:center}
  .tsa-cat-list,.tsa-cat-box ul{grid-template-columns:1fr}
  .tsa-job-row{gap:12px}
  .tsa-row-logo{flex-basis:46px;width:46px;height:46px}
  .tsa-job-head-inner{flex-direction:column;align-items:center;text-align:center}
  .tsa-job-head-meta{justify-content:center}
  .tsa-job-head-times{justify-content:center}
  .tsa-job-head-title{font-size:1.25rem}
  /* v1.6.150: follows the container edge padding (18px each side), so the
     footer separation line stays aligned with the columns above it. */
  .tsa-footer::before,.tsa-job-head::after{width:calc(100% - 36px)}
  .tsa-head-company{width:100%;max-width:280px}
  /* v1.6.215: course single page - the whole stacked head sits on ONE centre
     axis on phones. The provider line (a flex row, so text-align never moved
     it) is centred, and the All-courses box stacks its graduation-cap icon,
     label and button centred instead of hugging the left edge. Scoped to
     .tsa-course-head so the single-job employer box keeps its logo layout. */
  .tsa-course-head .tsa-course-head-provider{justify-content:center}
  .tsa-course-head .tsa-head-company{grid-template-columns:1fr;justify-items:center;row-gap:8px;text-align:center}
  .tsa-course-head .tsa-head-co-ico{display:inline-flex;line-height:0}
  .tsa-course-head .tsa-head-company .tsa-btn{margin-top:0}
  .tsa-mjm-h2{font-size:1.12rem}
  .tsa-viewall{margin:20px 0 0}
  .tsa-section-head p{margin-left:16px}
  .tsa-mobile-auth{gap:6px}
  .tsa-mobile-auth .tsa-btn--sm{padding:7px 10px;font-size:.8rem}
  .tsa-footer-bottom{flex-direction:column;gap:10px}
  /* v1.6.150: the bottom-bar links keep the exact same 12px horizontal
     padding and .82rem size as desktop - on the narrowest screens the row
     simply wraps instead of shrinking the paddings. */
  .tsa-footer-links{flex-wrap:wrap}
  .tsa-footer-links a{padding:0 12px;white-space:nowrap}
  .tsa-footer-links a:last-child{border-right:0}
  .tsa-footer-bottom span{padding-left:0}
}

/* -- Branded lettermark logos: auto-generated for every company without an
   uploaded logo, so all companies always have a real logo sitewide -- */
.tsa-company-logo.tsa-logo-brand{background:none;border:0;box-shadow:none;color:#fff}
.tsa-logo-brand .tsa-logo-svg{display:block;width:100%;height:100%;border-radius:inherit}

/* -- Real directory logos bundled with the theme (assets/logos/{slug}.webp) -- */
.tsa-company-logo.tsa-logo-dir{background:#fff}
.tsa-logo-dir img{width:100%;height:100%;object-fit:contain;border-radius:inherit}

/* -- One-paragraph company profiles -- */
.tsa-company-card-desc{margin:2px 0 0;font-size:.87rem;color:#666;line-height:1.55}
.tsa-co-about{margin:0;color:#333}

/* -- Companies archive: name search filter + responsive 3-column grid -- */
.tsa-co-filter{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #CCC;border-radius:3px;padding:9px 12px;margin:0 0 20px}
.tsa-co-filter-ico{display:flex;align-items:center;color:#999;flex:0 0 auto}
.tsa-co-filter input[type="search"]{flex:1 1 auto;min-width:0;border:0;outline:none;background:transparent;font-family:var(--tsa-font-body);font-size:.95rem;color:#333;padding:7px 2px}
.tsa-co-filter input[type="search"]::placeholder{color:#AAA}
.tsa-co-filter input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.tsa-co-filter-btn{flex:0 0 auto;padding:9px 22px;font-size:.9rem}
.tsa-co-filter-clear{flex:0 0 auto;color:#06C;font-weight:bold;font-size:.88rem}
.tsa-co-filter-clear:hover{color:#FF6600}
@media (max-width:900px){
  .tsa-grid-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .tsa-grid-3{grid-template-columns:1fr}
  .tsa-co-filter{flex-wrap:wrap}
  .tsa-co-filter input[type="search"]{flex:1 1 100%;order:2;border:1px solid #DDD;border-radius:3px;padding:9px 12px}
  .tsa-co-filter-ico{order:1}
  .tsa-co-filter-btn{order:3;flex:1 1 auto}
  .tsa-co-filter-clear{order:4}
}

/* -- v1.6.49: guest header could overflow ~14px on 390px screens (compact
      Log in / Sign up pair + burger wider than the grid content box) --
      Tighten the compact auth pair, grid gaps and burger on small screens. */
@media (max-width:420px){
  .tsa-header-inner{gap:10px}
  .tsa-header-actions{gap:8px}
  .tsa-header-actions .tsa-mobile-auth{gap:6px}
  .tsa-header-actions .tsa-mobile-auth .tsa-btn{padding:8px 9px}
  .tsa-burger{padding:6px 4px}
}

/* -- v1.6.55: extra-narrow phones (<=380px) - the compact guest auth pair
      still overflowed ~22px beyond the viewport; shrink the pair a bit
      more so the header never pushes the page wider than the screen. -- */
@media (max-width:380px){
  .tsa-header-inner{gap:6px}
  .tsa-header-actions{gap:6px}
  .tsa-header-actions .tsa-mobile-auth{gap:4px}
  .tsa-header-actions .tsa-mobile-auth .tsa-btn{padding:8px 6px;font-size:.76rem}
  .tsa-burger{padding:6px 3px}
  .tsa-logo{gap:8px}
  .tsa-logo-text{font-size:.88rem}
  .tsa-logo-text small{display:none}
  .tsa-logo-mark{width:34px;height:34px}
  /* v1.6.67: keep "Posted: 1 day ago · Closes: October 16, 2026" on one centered
     line even on very narrow cards - shrink the meta font slightly. */
  .tsa-job-posted{font-size:.72rem}
}

/* -- v1.6.55: ultra-narrow screens (<=340px) - icon-only header logo -- */
@media (max-width:340px){
  .tsa-logo-text{display:none}
}

/* -- v1.6.51: mobile refinement of the v1.6.50 edge-start layout. The job
      head (headline, meta chips, posted/closes line, company card) and the
      page headline stay CENTERED exactly as they were; only the body copy -
      content paragraphs and list items - starts closer to the edge (tighter
      card/wrapper padding) and is justified, on job pages and static pages. -- */
@media (max-width:640px){
  .tsa-job-main{padding:22px 14px}
  .tsa-content p,.tsa-content li{text-align:justify}
}

/* -- v1.6.54: job foot - "Share This Job" and "Follow Us" labels restored in
      their own separate boxes: share box on the LEFT, follow box on the RIGHT
      on desktop; on mobile share stacks on top, follow below. Share links are
      brand-colored social icon tiles, not text. Mini job rows keep the company
      logo on the left with the original one-line "{Title} at {Company}" text;
      rows stay flat (outer card box only), incl. Featured Companies. -- */
@media (max-width:760px){
  .tsa-job-foot{grid-template-columns:1fr}
  .tsa-job-foot .tsa-share-card,
  .tsa-job-foot .tsa-follow-card,
  .tsa-job-foot .tsa-similar-card{grid-column:auto}
}
@media (max-width:640px){
  .tsa-similar-grid{grid-template-columns:1fr}
}

/* -- v1.6.56: sticky two-column layouts. The content column and the sidebar
      rarely have the same height; whichever column reaches its end first
      while scrolling becomes sticky so it stays in view instead of leaving a
      blank gap beside the longer column. A column that fits the viewport pins
      just below the sticky header; a taller column scrolls normally and pins
      with its END just above the viewport bottom (nothing unreachable). The
      longer column keeps scrolling. The tsa-stick class + per-column top
      offset are applied by assets/js/main.js ONLY while a layout is a live
      2-column grid (.tsa-job-layout / .tsa-co-layout / .tsa-listing-layout),
      so the stacked mobile view and the front page are untouched. -- */
.tsa-stick{position:sticky}

/* -- v1.6.57: the footer trust note ("Every employer is verified. Every
      listing is reviewed.") sits on ONE line on desktop instead of wrapping
      onto two. The 340px cap is lifted and nowrap keeps the sentence together;
      the horizontal padding is trimmed 15px -> 12px so the line fits the brand
      column with room to spare at every 4-column width (901px and up).
      Below 830px the footer drops to two columns / one column, so wrap
      naturally again there (the <=760px block restores the centered 340px
      badge look). -- */
@media (max-width:830px){
  .tsa-footer-note{white-space:normal}
}

/* v1.6.62: the v1.6.59/60/61 mobile brand-row overrides (space-between,
   vertical centering, ultra-narrow font shrink) are gone with the brand row
   itself - "About Us" is a plain h4, left-aligned at every viewport with no
   overflow risk (4 words cannot exceed the 320px column). */

/* =========================================================
   v1.6.63: post-job company picker - searchable dropdown +
   inline add-new-company row (name / website / size)
   ========================================================= */
.tsa-co-pick{position:relative}
.tsa-co-search{width:100%;padding-right:74px}
.tsa-co-ac{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #DDD;border-radius:8px;box-shadow:0 12px 28px rgba(0,0,0,.1);z-index:40;max-height:244px;overflow:auto}
.tsa-co-ac-item{display:block;width:100%;padding:10px 14px;background:none;border:0;border-bottom:1px solid #F0F0F0;font-family:inherit;font-size:.9rem;color:#333;text-align:left;cursor:pointer}
.tsa-co-ac-item:last-child{border-bottom:0}
.tsa-co-ac-item:hover{background:#FFF3EB;color:#E85C00}
.tsa-co-ac-empty{padding:12px 14px;font-size:.84rem;color:#888}
.tsa-co-new-toggle{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:0;background:none;border:0;color:#FF6600;font-family:inherit;font-size:.86rem;font-weight:600;cursor:pointer}
.tsa-co-new-toggle:hover{text-decoration:underline}
.tsa-co-new{margin-top:10px;background:#FAFAFA;border:1px dashed #DDD;border-radius:8px;padding:14px}
.tsa-co-new[hidden]{display:none}
/* v1.6.65: .tsa-co-new-hint rule removed with the hint text itself */
/* v1.6.69: back to three tracks (name / website / size) - the logo upload moved
   to the admin "Job settings" inline ADD COMPANY row; employer form unchanged. */
.tsa-co-new-row{display:grid;grid-template-columns:1.3fr 1.1fr .9fr;gap:12px}
@media (max-width:760px){
  .tsa-co-new-row{grid-template-columns:1fr}
}

/* ---------------------------------------------------------
 * v1.6.100: Public Job Seekers directory
 * ------------------------------------------------------- */
.tsa-seekers-grid{margin-top:4px}
.tsa-seeker-card{background:#fff;border:1px solid #E1E1E1;border-radius:10px;padding:22px 18px 18px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0;transition:.2s;box-shadow:0 1px 2px rgba(51,51,51,.05)}
.tsa-seeker-card:hover{box-shadow:0 10px 24px -12px rgba(51,51,51,.25);transform:translateY(-2px);border-color:#FFD9BE}
.tsa-seeker-ava{width:58px;height:58px;border-radius:50%;background:linear-gradient(140deg,#FF8B3E,#E85C00);color:#fff;font-family:var(--tsa-font-head);font-weight:800;font-size:1.25rem;display:inline-flex;align-items:center;justify-content:center;letter-spacing:.02em}
.tsa-seeker-card h3{margin:2px 0 0;font-size:1.02rem;line-height:1.35;color:#333;max-width:100%;overflow-wrap:anywhere}
.tsa-seeker-meta{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 10px;width:100%}
.tsa-seeker-meta li{display:inline-flex;align-items:center;gap:4px;font-size:.76rem;color:#555;line-height:1.4;text-align:left;max-width:100%}
.tsa-seeker-meta li span{overflow-wrap:anywhere}
.tsa-seeker-meta svg{flex:0 0 auto;color:#FF6600;margin-top:0}
.tsa-dir-banner{display:flex;align-items:center;gap:14px;border-radius:10px;padding:16px 18px;margin:0 0 22px}
.tsa-dir-banner svg{flex:0 0 auto}
.tsa-dir-banner-txt{flex:1;min-width:0}
.tsa-dir-banner h3{margin:0 0 3px;font-size:.98rem;color:#333}
.tsa-dir-banner p{margin:0;font-size:.86rem;color:#666}
.tsa-dir-banner .tsa-btn{flex:0 0 auto}
.tsa-dir-banner--amber{background:#FFF8EE;border:1px solid #FFD9BE}
.tsa-dir-banner--amber>svg{color:#E85C00}
/* v1.6.103: hints are icon-free and centered (was icon + left-aligned). */
.tsa-dir-hint{display:flex;justify-content:center;text-align:center;border-radius:8px;padding:12px 14px;margin:0 0 16px;font-size:.86rem}
.tsa-dir-hint p{margin:0;color:#555;line-height:1.55}
.tsa-dir-hint a{color:#E85C00;font-weight:600;text-decoration:none;white-space:nowrap}
.tsa-dir-hint a:hover{text-decoration:underline}
.tsa-dir-hint--amber{background:#FFF8EE;border:1px solid #FFD9BE}
.tsa-dir-hint--ok{background:#F1FAF4;border:1px solid #BFE6CC}
@media (max-width:760px){
  .tsa-dir-banner{flex-direction:column;text-align:center}
  .tsa-dir-banner .tsa-btn{margin:4px auto 0}
  .tsa-dir-hint a{white-space:normal}
}

/* ---------------------------------------------------------
 * v1.6.102: photo avatars, My Profile photo upload row
 * (plan badge removed; hint centering moved to base rules
 * and the photo helper text dropped in v1.6.103)
 * ------------------------------------------------------- */
.tsa-seeker-ava img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.tsa-photo-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.tsa-photo-prev{width:56px;height:56px;border-radius:50%;object-fit:cover;border:2px solid #E1E1E1;flex:0 0 auto}
/* v1.6.105: two-class selector out-specifies .tsa-field label (display:block
   + margin-bottom:6px bled in, pushed the box above the text). margin:0 lets
   .tsa-photo-row center the control dead-center against the 56px photo. */
.tsa-field .tsa-photo-remove{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:.83rem;font-weight:bold;color:#333;cursor:pointer}

/* ---------------------------------------------------------
 * v1.6.103: the profile photo file input gets the same box
 * look (height, border, radius, focus ring) as every other
 * form control so the photo card matches the other cards.
 * ------------------------------------------------------- */
.tsa-field input[type=file]{flex:1 1 260px;min-width:0;width:100%;box-sizing:border-box;padding:11px 15px;border:1.5px solid var(--tsa-line);border-radius:11px;font-size:.95rem;font-family:var(--tsa-font-body);color:var(--tsa-ink);background:#fff;transition:border-color .15s;line-height:1.5}
.tsa-field input[type=file]:focus{outline:none;border-color:var(--tsa-green);box-shadow:0 0 0 3px rgba(255,102,0,.12)}
.tsa-field input[type=file]::file-selector-button{border:0;border-radius:8px;padding:7px 14px;margin-right:12px;background:linear-gradient(140deg,#FF8B3E,#E85C00);color:#fff;font-family:var(--tsa-font-head);font-weight:700;font-size:.85rem;cursor:pointer}
.tsa-field input[type=file]::file-selector-button:hover{filter:brightness(.95)}

/* ---------------------------------------------------------
 * v1.6.104: custom Remove-photo checkbox - a fixed 17px box
 * (margin:0) that flex centers exactly against the label
 * text, with the tick drawn as a centered background image
 * so the mark is perfectly centered in both axes.
 * ------------------------------------------------------- */
.tsa-photo-remove input[type=checkbox]{appearance:none;-webkit-appearance:none;-moz-appearance:none;box-sizing:border-box;width:17px;height:17px;margin:0;padding:0;flex:0 0 auto;border:1.5px solid #CFCFCF;border-radius:4px;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:11px 11px;cursor:pointer;transition:border-color .15s,background-color .15s}
.tsa-photo-remove input[type=checkbox]:hover{border-color:#F0954E}
.tsa-photo-remove input[type=checkbox]:checked{border-color:#E85C00;background-color:#E85C00;background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")}
.tsa-photo-remove input[type=checkbox]:focus-visible{outline:none;border-color:var(--tsa-green);box-shadow:0 0 0 3px rgba(255,102,0,.12)}

/* ---------------------------------------------------------
 * v1.6.107: TinyMCE rich-text editors inside the dashboard
 * form cards (summary, work experience, education history,
 * job description, about the company)
 * ------------------------------------------------------- */
.tsa-field .wp-editor-container{border:1.5px solid var(--tsa-line);border-radius:11px;background:#fff;box-shadow:none}
.tsa-field .wp-editor-container .mce-panel{background:#fff}
.tsa-field .wp-editor-area{font-family:var(--tsa-font-body);font-size:.95rem;color:var(--tsa-ink);line-height:1.65;padding:12px 15px}
.tsa-field .mce-toolbar-grp{padding:4px 6px}
.tsa-rv-rich{color:#333;line-height:1.65;font-size:.92rem}
.tsa-rv-rich p{margin:0 0 8px}
.tsa-rv-rich ul,.tsa-rv-rich ol{margin:0 0 8px 18px;padding:0}
.tsa-rv-rich li{margin:0 0 4px}
/* v1.6.108: the editors expose headings (h2-h4) and font colors - keep
   user-inserted headings visually subordinate to the resume section h3s. */
.tsa-rv-rich h2,.tsa-rv-rich h3,.tsa-rv-rich h4{margin:12px 0 6px;font-family:var(--tsa-font-head);line-height:1.3;color:var(--tsa-ink)}
.tsa-rv-rich h2{font-size:1.05rem}
.tsa-rv-rich h3{font-size:.98rem}
.tsa-rv-rich h4{font-size:.93rem}

/* ---------------------------------------------------------
 * v1.6.109: Seeker Access - gated seeker detail view,
 * unlock panel and the "View details & CV" card CTA
 * ------------------------------------------------------- */
.tsa-seeker-open{margin-top:12px}
.tsa-backlink{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:700;color:#555;text-decoration:none;margin-bottom:16px}
.tsa-backlink:hover{color:#E85C00}
.tsa-backlink svg{transform:rotate(90deg)}
.tsa-seeker-ava--lg{width:84px;height:84px;font-size:1.7rem;flex:0 0 auto}
.tsa-sd-head{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:36px 24px 32px}
.tsa-sd-head-txt{min-width:0}
.tsa-sd-head-txt h1{margin:0;font-size:1.5rem;line-height:1.25;overflow-wrap:anywhere}
.tsa-sd-role{margin:2px 0 0;color:#555;font-size:.92rem}
.tsa-sd-contact{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px}
.tsa-sd-contact li{display:inline-flex;align-items:center;gap:7px;font-size:.86rem;color:#333;background:#FBF7F2;border:1px solid var(--tsa-line);border-radius:999px;padding:7px 15px}
.tsa-sd-contact svg{color:#FF6600}
.tsa-sd-contact a{color:#333;text-decoration:none;font-weight:700}
.tsa-sd-contact a:hover{color:#E85C00}
.tsa-sd-access-chip{display:inline-flex;align-items:center;gap:6px;margin:12px 0 0;padding:6px 12px;border-radius:999px;background:#EAF7EE;color:#1E7B3C;font-size:.78rem;font-weight:700}
.tsa-sd-grid{display:grid;gap:14px;margin-top:16px}
.tsa-sd-sec h2{margin:0 0 12px;font-size:1.02rem;color:#333;font-family:var(--tsa-font-head)}
.tsa-sd-sec h2::after{content:"";display:block;width:42px;height:3px;border-radius:2px;background:linear-gradient(90deg,#FF8B3E,#E85C00);margin:9px auto 0}
.tsa-sd-nocv{margin:0;color:#666;font-size:.9rem}
.tsa-sd-lock{text-align:center;max-width:560px;margin:16px auto 0;padding:34px 28px}
.tsa-sd-lock-ico{width:58px;height:58px;border-radius:50%;background:#FFF1E6;color:#E85C00;display:inline-flex;align-items:center;justify-content:center;margin-bottom:12px}
.tsa-sd-lock h2{margin:0 0 10px;font-size:1.3rem;color:#333}
.tsa-sd-lock>p{margin:0 0 16px;color:#555;font-size:.93rem;line-height:1.6}
.tsa-sd-lock-list{list-style:none;margin:0 auto 20px;padding:0;display:grid;gap:8px;max-width:400px;text-align:center}
.tsa-sd-lock-list li{display:flex;align-items:flex-start;justify-content:center;gap:8px;font-size:.9rem;color:#333;line-height:1.5;text-align:center}
.tsa-sd-lock-list svg{flex:0 0 auto;color:#1E9E4C;margin-top:2px}
.tsa-sd-lock-cta{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;margin-bottom:10px}
.tsa-sd-price{font-family:var(--tsa-font-head);font-weight:800;font-size:1.7rem;color:#333}
.tsa-sd-price small{font-size:.8rem;font-weight:600;color:#777;margin-left:6px}

/* ---------------------------------------------------------
 * v1.6.110: Seeker Access quota model - the access card is
 * the sixth card inside the employer pricing grid, so the
 * old centered 460px standalone card rules are gone.
 * ------------------------------------------------------- */
.tsa-price-card--access{border-color:#FFD9BE}
.tsa-sd-unlock-form{margin:0 0 4px}

/* ---------------------------------------------------------
 * v1.6.111: single-seeker detail view fully centered - the
 * unlock panels lost their helper copy and every detail block
 * (header, contact chips, profile sections, CV rows) aligns
 * on one clean centered column.
 * ------------------------------------------------------- */
.tsa-seeker-detail{max-width:860px;margin:0 auto;text-align:center}
.tsa-sd-sec .tsa-rv-rich{text-align:center}
.tsa-sd-sec .tsa-rv-rich ul,.tsa-sd-sec .tsa-rv-rich ol{list-style:none;margin:0 0 8px;padding:0}
.tsa-sd-sec .tsa-rv-rich li{margin:0 0 6px}

/* ---------------------------------------------------------
 * v1.6.120: plan notices lose their leading icon and center
 * their text (tsa-notice--center / tsa-dir-banner--center);
 * new dismissible post-registration plan picker panel.
 * ------------------------------------------------------- */
.tsa-notice--center{display:block;text-align:center}
.tsa-dir-banner--center{display:block;text-align:center}
.tsa-dir-banner--center .tsa-btn{display:inline-block;margin-top:12px}
.tsa-plans-intro{position:relative;background:#fff;border:1px solid #E1E1E1;border-radius:5px;box-shadow:var(--tsa-shadow-sm);padding:26px 26px 30px;margin:0 0 26px}
.tsa-plans-intro__close{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;border:1px solid #E1E1E1;background:#fff;color:#777;font-size:20px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .15s ease}
.tsa-plans-intro__close:hover{background:#FDEDEB;border-color:#F5C6C0;color:#8E2B20}
.tsa-plans-intro__head{text-align:center;max-width:640px;margin:0 auto 22px}
.tsa-plans-intro__head h2{margin:0 0 6px;font-size:1.35rem;color:#333}
.tsa-plans-intro__head p{margin:0;color:#666;font-size:.92rem;line-height:1.55}
@media (max-width:640px){.tsa-plans-intro{padding:20px 14px 24px}}

/* ---------------------------------------------------------
 * v1.6.123: the For Job Seekers / For Employers tabs live in
 * the page header band and are centered horizontally AND
 * vertically inside it; pill labels center on both axes too.
 * FAQ heading renamed to "Frequently Asked Questions" (copy
 * only - the .tsa-faq styles are unchanged).
 * ------------------------------------------------------- */
.tsa-page-head .tsa-pricing-tabs{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;margin:18px 0 0}
.tsa-page-head .tsa-pricing-tab{display:inline-flex;align-items:center;justify-content:center;text-align:center}

/* ---------------------------------------------------------
 * v1.6.124: post-registration plan picker - on the seeker side
 * the panel now follows the "Welcome back" head as the second
 * box and its subtitle is gone.
 * v1.6.125: the panel cards are a 2x2 grid on desktop only.
 * The two-column override is scoped to >=641px; at <=640px it
 * no longer applies and the grid falls back to the base
 * single-column layout, so phones stack the four cards.
 * ------------------------------------------------------- */
@media (min-width:641px){.tsa-plans-intro .tsa-price-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* =========================================================
   v1.6.127 - no CSS changes: PHP hardening release.
   The gated CV download endpoint is fatal-proof (Throwable catch ->
   notice redirect; is_file + is_readable file checks), the admin hub
   demo card gained a live photo+CV download health check, and the
   demo-seekers module loads behind a file_exists guard with
   function_exists-guarded admin actions - a partial manual upload can
   no longer fatal the site. Version markers only.
   ========================================================= */


/* =========================================================
   v1.6.128 - CV download diagnostics.
   Every failed CV download now records its exact reason (guest,
   access denied, unregistered CV, incomplete profile, missing or
   unreadable file, PHP error). Admins see the reason instantly in
   the notice popup and the failure log (last 10 + clear button) in
   the admin hub. One new rule: the amber admin debug chip inside
   the centered notice popup.
   ========================================================= */

.tsa-popup-notice__dbg{margin:4px 0 24px;font-size:12px;line-height:1.5;color:#7a5b16;background:#fdf6e3;border:1px solid #ecdfba;border-radius:8px;padding:8px 12px;text-align:left;word-break:break-word}

/* =========================================================
   v1.6.129 - the demo seekers feature is removed.
   No CSS changes: the "Job Seekers directory demo" admin card,
   the 50 demo accounts it created and the demo module itself are
   gone (site owner request). Any leftover demo accounts purge
   automatically on the first dashboard visit. Version markers
   only.
   ========================================================= */

/* =========================================================
   v1.6.130 - CV download failures now explain themselves.
   No CSS changes: the failure reason line reuses the existing
   .tsa-popup-notice__dbg chip (amber, left-aligned) - it is
   simply no longer admin-only, and a second stream_failed
   diagnostic stage was added server-side. Version markers
   only.
   ========================================================= */

/* =========================================================
   v1.6.131 - download endpoint survives a host file problem.
   No CSS changes: the popup reason chip is unchanged and the
   new "Server error: ..." line reuses the same amber
   .tsa-popup-notice__dbg chip. Version markers only.
   ========================================================= */

/* =========================================================
   v1.6.132 - the single seeker view becomes a professional
   CV + a "Download profile as CV" PDF endpoint.
   Two-column CV layout (profile story + credentials sidebar),
   CV-style green section headings, Details & preferences fact
   list, preference tag chips, head action row with the new
   download button, and the auto-generated profile CV row at
   the top of the CV list. The locked view is untouched.
   ========================================================= */

/* Head action row (inside the centered head card). */
.tsa-sd-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}

/* Two-column CV body. */
.tsa-sd-cols{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px;margin-top:16px;align-items:start}
.tsa-sd-main,.tsa-sd-side{display:grid;gap:14px;min-width:0}
.tsa-sd-cols .tsa-sd-sec{text-align:left;padding:22px 24px}
.tsa-sd-cols .tsa-sd-sec h2{margin:0 0 6px;color:#0B5D3B;font-size:.8rem;letter-spacing:.09em;text-transform:uppercase}
.tsa-sd-cols .tsa-sd-sec h2::after{margin:9px 0 0;background:linear-gradient(90deg,#0B5D3B,#1E9E4C)}
.tsa-sd-cols .tsa-sd-sec .tsa-rv-rich{text-align:left}
.tsa-sd-cols .tsa-sd-sec .tsa-rv-rich ul,.tsa-sd-cols .tsa-sd-sec .tsa-rv-rich ol{list-style:disc;margin:0 0 8px;padding-left:18px}
.tsa-sd-cols .tsa-sd-sec .tsa-rv-rich li{margin:0 0 6px}

/* Details & preferences fact list. */
.tsa-sd-facts{margin:8px 0 0;padding:0;border:0}
.tsa-sd-fact{display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:4px 12px;padding:9px 0;border-bottom:1px solid var(--tsa-line)}
.tsa-sd-fact:last-child{border-bottom:0;padding-bottom:2px}
.tsa-sd-fact dt{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#777;padding-top:3px}
.tsa-sd-fact dd{margin:0;font-size:.9rem;font-weight:600;color:#333;overflow-wrap:anywhere}

/* Preference tag chips. */
.tsa-sd-tags{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tsa-sd-tags li{font-size:.76rem;font-weight:700;color:#0B5D3B;background:#EAF7EE;border:1px solid #CBE7D4;border-radius:999px;padding:4px 11px}

/* Auto-generated profile CV row (always first in the CV list). */
.tsa-sd-cv-auto{background:#FBF7F2;border-color:#EADFC8}
.tsa-sd-cv-auto span{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.tsa-sd-cv-auto strong{font-size:.9rem;color:#333}
.tsa-sd-cv-auto small{font-weight:600;font-size:.74rem;color:#777}

@media (max-width:980px){
        .tsa-sd-cols{grid-template-columns:minmax(0,1fr)}
}

/* =========================================================
   v1.6.133 - the single seeker view becomes the purple &
   white professional CV template (user-provided reference).
   Centred purple uppercase name header with a bullet-separated
   contact line, CV sections with light purple rules and purple
   uppercase headings, dated entries (bold title left, date
   range right, purple bullet achievements) for the new work /
   education profile fields, and a template-style Additional
   information block with bold labels. The My Profile form
   gains the matching .tsa-hist dated repeater rows.
   ========================================================= */

/* The whole unlocked profile as one CV document. */
.tsa-cv-doc{--cv-purple:#7C5BA6;--cv-purple-dark:#5F4484;--cv-purple-soft:#F3EEF9;--cv-rule:#C9B6E0;max-width:900px;margin:0 auto;padding:34px 38px 30px}

/* Header: centred avatar, purple uppercase name, bullet-separated contact line. */
.tsa-cv-head{text-align:center;padding-bottom:4px}
.tsa-cv-head .tsa-seeker-ava{margin:0 auto 12px}
.tsa-cv-name{margin:0;color:var(--cv-purple);font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:800;letter-spacing:.03em;text-transform:uppercase;line-height:1.12}
.tsa-cv-role{margin:6px 0 0;font-size:1rem;color:#444}
.tsa-cv-contact{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 0;margin:10px 0 0;padding:0;font-size:.92rem;color:#333}
.tsa-cv-contact li{display:inline-flex;align-items:center}
.tsa-cv-contact li+li::before{content:"•";margin:0 10px;color:var(--cv-purple)}
.tsa-cv-contact a{color:#333;text-decoration:none;font-weight:600}
.tsa-cv-contact a:hover{color:var(--cv-purple-dark);text-decoration:underline}
.tsa-cv-head .tsa-sd-access-chip{justify-content:center}
.tsa-cv-head .tsa-sd-actions{justify-content:center}

/* CV sections: purple uppercase heading under a light purple rule. */
.tsa-cv-sec{margin-top:20px}
.tsa-cv-sec h2{display:block;margin:0 0 12px;padding:11px 0 8px;border-top:1.5px solid var(--cv-rule);color:var(--cv-purple);font-size:.95rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;text-align:left}
.tsa-cv-rich{text-align:left}
.tsa-cv-rich p{margin:0 0 10px}

/* Dated entries: bold title left, date range right, purple bullet achievements. */
.tsa-cv-entries{display:grid;gap:16px}
.tsa-cv-entry-top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 14px}
.tsa-cv-entry-top h3{margin:0;font-size:1.02rem;font-weight:800;color:#222;text-align:left}
.tsa-cv-dates{font-size:.9rem;font-weight:700;color:#222;white-space:nowrap}
/* v1.6.136: the Skills section under its own heading (comma-separated list). */
.tsa-cv-skills{margin:0;font-size:.95rem;line-height:1.6;color:#333;text-align:left}
.tsa-cv-bullets{list-style:none;margin:7px 0 0;padding:0}
.tsa-cv-bullets li{position:relative;padding-left:18px;margin:0 0 5px;font-size:.94rem;line-height:1.5;color:#333;text-align:left}
.tsa-cv-bullets li::before{content:"•";position:absolute;left:2px;top:0;color:var(--cv-purple);font-weight:700}

/* Additional information: template-style bold label lines. */
.tsa-cv-labels{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.tsa-cv-labels li{font-size:.94rem;line-height:1.5;color:#333;text-align:left}
.tsa-cv-labels strong{color:#222}

@media (max-width:640px){
        .tsa-cv-doc{padding:22px 18px}
        .tsa-cv-name{font-size:1.55rem}
        .tsa-cv-entry-top{flex-direction:column;align-items:flex-start;gap:2px}
}

/* =========================================================
   v1.6.133 - My Profile dated history repeaters (work /
   education) with start & end month/year selects.
   ========================================================= */
/* v1.6.137: .tsa-hist-hint removed with the helper line */
.tsa-hist-legacy{margin:0 0 10px;font-size:.82rem;color:#8a6d1f;background:#FDF6E4;border:1px solid #EAD9A0;border-radius:8px;padding:8px 12px}
.tsa-hist-list{display:grid;gap:14px;margin-bottom:10px}
.tsa-hist-row{border:1px solid var(--tsa-line,#E1E1E1);border-radius:12px;padding:14px;background:#FCFBFE}
.tsa-hist-row-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.tsa-hist-row-no{font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8B6FB0}
.tsa-hist-del{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #E4D6F2;border-radius:8px;background:#fff;color:#8B6FB0;cursor:pointer}
.tsa-hist-del:hover{background:#F3EEF9}
/* v1.6.140: ONE row per entry - Qualification / Job title, Institution /
   Company, Start and End share a single grid line (labels included); the
   details editor stays full width below. Cells anchor their input to the
   shared baseline, so a wrapped label can never push one input lower
   than its neighbours. */
.tsa-hist-line{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1.3fr) minmax(0,1.3fr);gap:10px 12px}
.tsa-hist-line .tsa-field{display:flex;flex-direction:column;justify-content:flex-end;margin-bottom:0}
.tsa-hist-date-ctl{display:flex;align-items:center;gap:6px}
.tsa-hist-date-ctl select,.tsa-hist-date-ctl input{min-width:0;width:100%}
.tsa-hist-date-ctl select{flex:1.4}
.tsa-hist-date-ctl input{flex:1;padding-left:10px;padding-right:10px}
/* year box: no spin buttons - the field is typed or left empty */
.tsa-hist-date-ctl input[type=number]{-moz-appearance:textfield;appearance:textfield}
.tsa-hist-date-ctl input[type=number]::-webkit-outer-spin-button,.tsa-hist-date-ctl input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* v1.6.140: the End year box hides while "Present" is the chosen option in the END dropdown (v1.6.139 moved the option in from the checkbox, v1.6.140 renamed it from "I currently work / study here") */
.tsa-hist-date--noyear input[type="number"]{display:none}
@media (max-width:900px){
        .tsa-hist-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:460px){
        .tsa-hist-line{grid-template-columns:minmax(0,1fr)}
}

/* =========================================================
   v1.6.134 - CV sources in one row (auto-generated vs job
   seeker uploaded) + the applicant profile CV inside the
   cover letter popup + apply-with-profile form note.
   ========================================================= */
/* One row, two distinguished CV sources */
.tsa-cv-src-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tsa-cv-src{border:1px solid var(--tsa-line,#E1E1E1);border-radius:12px;padding:13px 16px;display:flex;flex-direction:column;gap:10px}
.tsa-cv-src-top{display:flex;align-items:flex-start;gap:9px}
.tsa-cv-src-top span{display:flex;flex-direction:column;gap:2px;min-width:0}
.tsa-cv-src-top strong{font-size:.9rem;color:#333}
.tsa-cv-src-top small{font-size:.76rem;color:#777;letter-spacing:.02em}
.tsa-cv-src--auto{background:#FBF7F2;border-color:#EADFC8}
.tsa-cv-src--up{background:#fff}
.tsa-cv-src .tsa-btn{align-self:flex-start}
.tsa-cv-src-files{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tsa-cv-src-files li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px}
/* Cover letter popup: the applicant's profile CV under the letter */
.tsa-cover-modal__card{max-width:780px}
.tsa-cover-cv{margin:20px 0 0;padding:18px 0 0;border-top:1px dashed var(--tsa-line,#E1E1E1)}
.tsa-cover-cv-kicker{margin:0 0 14px;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#7C5BA6;text-align:center}
.tsa-cover-cv .tsa-cv-doc{max-width:none;margin:0;padding:0;border:0;background:transparent}
.tsa-cover-cv .tsa-cv-name{font-size:1.45rem}
.tsa-cover-cv .tsa-seeker-ava--lg{width:64px;height:64px;font-size:1.35rem}
.tsa-cover-cv .tsa-cv-sec h2{font-size:.85rem;padding-top:9px}
.tsa-cover-cv-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px 0 0;padding-top:14px;border-top:1.5px solid var(--cv-rule,#C9B6E0)}
.tsa-cover-cv-note{margin:12px 0 0;text-align:center;font-size:.78rem;color:#777}
/* Apply form: applying with the profile note (v1.6.137: tick removed, centred, Complete profile link) */
.tsa-apply-note{display:block;text-align:center;margin:4px 0 12px;font-size:.84rem;line-height:1.55;color:#5F4484;background:#F3EEF9;border:1px solid #E4D6F2;border-radius:10px;padding:10px 12px}
.tsa-apply-note a{color:#5F4484;font-weight:700;text-decoration:underline}
@media (max-width:640px){
        .tsa-cv-src-row{grid-template-columns:minmax(0,1fr)}
        .tsa-cover-cv-actions{flex-direction:column}
        .tsa-cover-cv-actions .tsa-btn{width:100%;justify-content:center}
}

/* =========================================================
   v1.6.136 - the apply note reads "Your profile details are
   sent with this application"; the source cards lose their
   doc icons; education entries read "Qualification,
   Institution"; Skills is its own section right after
   Summary (no longer repeated in Additional information);
   dashboards send no-cache headers so saved profile changes
   are never hidden behind a stale page cache.
   ========================================================= */
.tsa-cv-sec--files h2{text-align:center}
.tsa-cv-src-top{justify-content:center;text-align:center}
.tsa-cv-src-top span{align-items:center}
.tsa-cv-src .tsa-btn{align-self:center}
.tsa-cv-src-files li{justify-content:center}
.tsa-cv-src .tsa-sd-nocv{text-align:center}

/* =========================================================
   v1.6.137 - helpers removed, tiny MCE on the dated repeater
   details, apply note centred with a Complete profile link.
   ========================================================= */

/* =========================================================
   v1.6.138 - the apply note reads "...sent with this
   application to employers. Update profile"; the dated
   repeater rows put everything on one line - the
   "I currently work/study here" group leads the row,
   vertically centred against the Start/End boxes; main.js
   queues the tiny-MCE upgrades until the editor core has
   loaded so the editors always appear on the live site.
   ========================================================= */

/* =========================================================
   v1.6.139 - "I currently work / study here" moved from
   the checkbox into the END month dropdown (picking it
   hides the End year box, .tsa-hist-date--noyear); the
   checkbox label and its CSS are gone; the Achievements
   & duties / Details tiny MCE now shows the exact same
   toolbar as Skills and Professional summary.
   ========================================================= */

/* =========================================================
   v1.6.140 - one row per dated entry (Qualification / Job
   title, Institution / Company, Start, End side by side;
   .tsa-hist-line replaces .tsa-hist-grid + .tsa-hist-dates,
   the dash and the uppercase date labels are gone); the END
   option reads "Present"; Achievements & duties / Details
   are real wp_editor() fields (identical to Skills and
   Professional summary) and main.js builds clones through
   wp.editor.initialize with the page's own editor settings.
   ========================================================= */

/* =========================================================
   v1.6.141 - one CV per seeker: the My CV tab uploads or
   replaces (hint under the card title), the apply form shows
   the current CV as a line with an optional replace upload.
   File inputs get width:100% and the CV name shrinks with
   min-width:0 so neither can push a page sideways on phones.
   ========================================================= */
.tsa-cv-hint{margin:-8px 0 14px;font-size:.85rem;color:var(--tsa-muted)}
.tsa-apply-cv{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--tsa-line);border-radius:10px;padding:10px 13px}
.tsa-apply-cv svg{flex:none;color:var(--tsa-muted)}
.tsa-apply-cv b{flex:1 1 auto;min-width:0;font-size:.88rem;color:var(--tsa-ink);overflow-wrap:anywhere}
.tsa-apply-cv a{margin-left:auto;flex:none;font-size:.8rem;font-weight:700;color:var(--tsa-green)}
.tsa-apply-cv a:hover{color:var(--tsa-green-dark)}
.tsa-apply-cv-hint{display:block;margin-top:6px;font-size:.78rem;color:var(--tsa-muted)}

/* =========================================================
   v1.6.142 - blog single + archive sidebar template: single
   posts and blog archives use the same two-column layout as
   the single job / job archive pages. Sidebar boxes (Latest
   Posts, Popular Posts, Featured Jobs) and the below-post
   cards (Share This Post, Follow Us, Related Posts) reuse
   the job page classes; only the post-specific pieces are
   defined here.
   ========================================================= */
.tsa-post-head{background:#fff;border-bottom:1px solid #E1E1E1;padding:26px 0 24px}
.tsa-post-cats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.tsa-post-cat{display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;background:#FFF3EA;border:1px solid #FFD9BE;color:#E85C00;font-size:.74rem;font-weight:bold;text-transform:uppercase;letter-spacing:.05em;text-decoration:none}
.tsa-post-cat:hover{background:#FFE7D5;color:#C24E00}
.tsa-post-title{margin:0 0 10px;font-size:1.55rem;line-height:1.3;color:#036}
.tsa-post-head-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;color:#999;font-size:.85rem}
.tsa-post-head-meta .tsa-dot{width:4px;height:4px;border-radius:50%;background:#CCC}
.tsa-post-thumb{margin:0 0 20px}
.tsa-post-thumb img{width:100%;height:auto;display:block;border-radius:8px}

/* -- Sidebar / related mini post rows (icon + title + date) -- */
.tsa-mini-post{display:flex;align-items:flex-start;gap:10px;text-align:left;padding:10px 0;border-bottom:1px dashed #E8E8E8}
.tsa-mini-post:last-child{border-bottom:0;padding-bottom:0}
.tsa-mini-post-ico{flex:0 0 52px;width:52px;height:52px;border-radius:8px;background:#FFF3EA;color:#FF6600;display:inline-flex;align-items:center;justify-content:center}
.tsa-mini-post-txt{min-width:0}
.tsa-mini-post-txt b{display:block;font-size:.93rem;color:#036;line-height:1.45;font-weight:bold;overflow-wrap:anywhere}
.tsa-mini-post:hover b{color:#FF6600}
.tsa-mini-post-txt small{display:block;font-size:.78rem;color:#666;margin-top:2px}
.tsa-similar-grid .tsa-mini-post{border-bottom:0;padding:9px 0;margin:0}

/* -- Blog archive grid + post cards -- */
.tsa-blog-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch;margin-top:26px}
.tsa-post-card{background:#fff;border:1px solid #E1E1E1;border-radius:8px;padding:18px;display:flex;flex-direction:column;gap:10px;transition:border-color .2s,box-shadow .2s}
.tsa-post-card:hover{border-color:#FFD9BE;box-shadow:0 10px 26px -14px rgba(51,51,51,.22)}
.tsa-post-card-thumb{display:block;margin:-4px -4px 2px;border-radius:6px;overflow:hidden}
.tsa-post-card-thumb img{width:100%;height:170px;object-fit:cover;display:block}
.tsa-post-card h3{margin:0;font-size:1.02rem;line-height:1.45}
.tsa-post-card h3 a{color:#036;overflow-wrap:anywhere}
.tsa-post-card h3 a:hover{color:#FF6600}
.tsa-post-card p{margin:0;color:#666;font-size:.88rem;line-height:1.55}
.tsa-post-card-foot{margin-top:auto;padding-top:10px;border-top:1px solid #F2F2F2;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.8rem;color:#999}
.tsa-post-card-foot a{display:inline-flex;align-items:center;gap:5px;color:#FF6600;font-weight:bold;text-decoration:none}
.tsa-post-card-foot a:hover{color:#E85C00}

/* -- Sidebar spacing inside the archive flex column -- */
.tsa-blog-side .tsa-side-card{margin-bottom:24px;width:100%}
.tsa-blog-side .tsa-side-card:last-child{margin-bottom:0}

@media (max-width:640px){
  .tsa-post-head{padding:22px 0 20px}
  .tsa-post-title{font-size:1.32rem}
  .tsa-blog-grid{grid-template-columns:1fr;gap:16px}
  .tsa-post-card-thumb img{height:150px}
}

/* =========================================================
   v1.6.142 - blog sidebar template: single posts and blog
   archives use the same two-column layout as the single job
   and job archive pages. Sidebar boxes (Latest Posts, Popular
   Posts, Featured Jobs) and the below-post cards (Share This
   Post, Follow Us, Related Posts) reuse the job page classes;
   the post head band, mini post rows, post cards and the blog
   grid are defined in the v1.6.142 block above.
   ========================================================= */

/* =========================================================
   v1.6.143 - featured images in the Latest Posts, Popular
   Posts and Related Posts rows. tsa_mini_post() leads with the
   post thumbnail ("thumbnail" size, cropped square) when the
   post has one; the document-icon placeholder grows to the
   same 52px footprint so rows stay aligned in mixed lists.
   ========================================================= */
.tsa-mini-post-thumb{flex:0 0 52px;width:52px;min-height:52px;border-radius:8px;overflow:hidden;background:#F2F5F3;position:relative;align-self:stretch}
.tsa-mini-post-thumb img{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

/* =========================================================
   v1.6.144 - pages that use the DEFAULT template (no custom
   page template) join the two-column family: the page title
   and content sit in .tsa-job-main and the blog sidebar
   (tsa_blog_side(): Latest Posts, Popular Posts, Featured
   Jobs) renders in the right column, stacking below the
   content at <=1024px through the shared .tsa-job-layout
   rules. Custom-template pages are untouched.
   ========================================================= */
.tsa-page-main .tsa-page-title{margin-bottom:18px}

/* =========================================================
   v1.6.145 - featured images grow with the row: instead of a
   fixed 52px square, the thumbnail stretches to the full row
   height (min-height keeps 52px on short one-line rows) so a
   3- or 4-line title gets an image that fills the whole row.
   The img is absolutely positioned inside the stretched box so
   the picture can never drive the row height itself, and
   object-fit:cover keeps the crop clean at any height. Width
   stays 52px - shared with the doc-icon placeholder - so the
   title column keeps its aligned left edge in mixed lists.
   ========================================================= */

/* =========================================================
   v1.6.146 - sidebar widget headings: the title sits exactly
   on the heading's vertical and horizontal centerline, ahead
   of its icon. The 1fr auto 1fr grid keeps the title text
   dead-center in the card while the icon hangs just after
   the text, and symmetric 8px padding centers the row above
   the orange underline instead of hugging the top.
   ========================================================= */

/* =========================================================
   v1.6.147 - widget heading icons move to the LEFT of the
   title: the svg swaps from the third grid column to the
   first, end-aligned, so it hangs 8px just before the title
   text instead of after it. Both items are pinned to grid
   row 1 explicitly - the title (column 2) is placed first in
   source order, so an auto-placed icon in the EARLIER first
   column would otherwise drop onto a second row. The 1fr
   auto 1fr grid is symmetric, so the title stays exactly
   centered horizontally and vertically - only the icon's
   side changes.
   ========================================================= */

/* =========================================================
   v1.6.148 - the icons are REMOVED from every sidebar widget
   heading (Latest/Popular Posts, Featured Jobs, Share This
   Post / Share This Job, Follow Us, Related Posts, Similar
   Jobs, Latest/Popular Jobs, Featured Companies, Open
   Positions): the templates no longer echo an svg inside
   .tsa-side-title and the heading icon rule is retired. The
   1fr auto 1fr grid stays, so the bare title remains exactly
   centered horizontally and vertically above the orange
   underline.
   ========================================================= */

/* =========================================================
   v1.6.149 - share headings shortened to "Share This" on
   the single post and single job pages, and the footer
   trust note drops its trailing full stop. The wp-login
   screens (assets/css/login.css) get the requested rows:
   the trust note stands on its own row, the copyright line
   - "(c) <year> <site name>. All Rights Reserved" - is its
   own row beneath it, the lost-password instructions read
   centered, and a set Site Icon replaces the CSS globe in
   the wordmark (the globe tile remains the fallback when
   no Site Icon is configured).
   ========================================================= */

/* =========================================================
   v1.6.152 - the wp-login Site Icon (and the globe fallback
   tile) now sit in a CIRCULAR frame (50% radius) instead of
   the 14px rounded square. The guaranteed login edge padding
   grows 28px -> 48px so short laptop windows keep a clear
   gap between the copyright row and the bottom edge even at
   full scroll, and a new max-height:760px block tightens the
   login group's vertical rhythm on short screens so the
   content fits without scrolling more often. The theme
   screenshot.png is regenerated without the "Connecting
   Minds" tagline in the header.
   ========================================================= */

/* =========================================================
   v1.6.151 - every wp-login.php screen (sign-in, lost
   password, registration, check-email) is vertically
   centered: the whole group - wordmark, card, links, trust
   note, copyright - sits between two flex spacers that
   split the leftover viewport space equally, so the space
   below the last row equals the space above the wordmark
   on every screen. The top-anchored paddings (7% of the
   width on desktop, 32px on phones, nothing at the bottom)
   are retired: short desktop windows no longer run the
   copyright row into the bottom edge, and phones get the
   same breathing room above and below. A guaranteed 28px
   edge padding at both ends keeps the group off the screen
   edge even when the content is taller than the viewport.
   ========================================================= */

/* =========================================================
   v1.6.150 - header and footer spacing is now identical on
   desktop and mobile: the mobile-only 8px header padding
   (max-width:1080px) is retired so the bar keeps the same
   64px row everywhere, and the mobile-only 12px container
   squeeze (max-width:640px) is retired so the header, the
   footer and every content column sit 18px from the screen
   edge on phones exactly as on desktop. The footer
   separation line follows the 18px edges (100% - 36px) and
   the footer bottom-bar links keep the same 12px padding as
   desktop, wrapping instead of shrinking on narrow phones.
   The theme screenshot.png is regenerated from the current
   homepage design. In assets/css/login.css: the core
   "Go to <site name>" back link is removed and the Remember
   Me row gets the same symmetric 16px / 16px spacing above
   and below it on every screen.
   ========================================================= */

   v1.6.175 - COURSES
   Course card grid (archive, taxonomy listings and the
   homepage "Latest Courses" section), course hero + facts
   sidebar on the single course page. The grid mirrors the
   company card grid: 3 tracks on desktop, 2 on tablet,
   1 on phones, with equal-height cards via flex stretch.
   ========================================================= */
.tsa-courses-h2{margin-top:44px}
ul.tsa-course-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tsa-course-grid .tsa-course-card{display:flex;flex-direction:column;background:var(--tsa-card);border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);overflow:hidden;box-shadow:var(--tsa-shadow-sm);transition:box-shadow .2s,transform .2s}
.tsa-course-grid .tsa-course-card:hover{box-shadow:var(--tsa-shadow-lg);transform:translateY(-2px)}
.tsa-course-thumb{position:relative;display:block;aspect-ratio:16/9;background:var(--tsa-green-soft);overflow:hidden}
.tsa-course-thumb img{width:100%;height:100%;object-fit:cover}
.tsa-course-thumb-ico{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--tsa-green-dark)}
.tsa-course-cat{position:absolute;left:10px;top:10px;background:rgba(51,51,51,.82);color:#fff;font-size:.72rem;font-weight:bold;padding:4px 9px;border-radius:999px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tsa-course-body{display:flex;flex-direction:column;flex:1;padding:14px 14px 12px}
.tsa-course-title{margin:0 0 4px;font-size:1rem;line-height:1.35}
.tsa-course-title a{color:var(--tsa-ink)}
.tsa-course-title a:hover{color:var(--tsa-green)}
.tsa-course-provider{margin:0 0 6px;font-size:.8rem;font-weight:bold;color:var(--tsa-muted)}
.tsa-course-desc{margin:0 0 10px;font-size:.84rem;color:var(--tsa-muted);line-height:1.5}
.tsa-course-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:auto 0 12px;padding:0;list-style:none;font-size:.78rem;color:var(--tsa-muted)}
.tsa-course-meta span{display:inline-flex;align-items:center;gap:5px}
.tsa-course-meta svg{flex:0 0 auto;color:var(--tsa-green-dark)}
.tsa-course-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px dashed var(--tsa-line);padding-top:10px}
.tsa-course-fee{font-weight:bold;font-size:.88rem;color:var(--tsa-ink);white-space:nowrap}
.tsa-course-fee--free{color:#0B7A3B}
.tsa-course-view{display:inline-flex;align-items:center;gap:6px;font-weight:bold;font-size:.82rem;color:var(--tsa-green-dark);white-space:nowrap}
.tsa-course-view:hover{color:var(--tsa-green-deep)}
/* Single course page */
.tsa-course-head-provider{display:flex;align-items:center;gap:7px;margin:6px 0 10px;font-weight:bold;color:var(--tsa-muted)}
.tsa-course-hero{margin:0 0 22px;border-radius:var(--tsa-radius);overflow:hidden;border:1px solid var(--tsa-line)}
.tsa-course-hero img{width:100%;max-height:420px;object-fit:cover}
.tsa-facts{list-style:none;margin:0;padding:0}
.tsa-facts li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--tsa-line)}
.tsa-facts li:last-child{border-bottom:0}
.tsa-facts li span{display:inline-flex;align-items:center;gap:7px;color:var(--tsa-muted);font-size:.85rem}
.tsa-facts li span svg{color:var(--tsa-green-dark)}
.tsa-facts li b{font-size:.86rem;text-align:right;overflow-wrap:anywhere}
.tsa-mini-job-ico{flex:0 0 38px;height:38px;width:38px;display:flex;align-items:center;justify-content:center;background:var(--tsa-green-soft);border-radius:var(--tsa-radius-sm);color:var(--tsa-green-dark)}
.tsa-side-more{display:block;margin-top:10px;font-weight:bold;font-size:.85rem}
/* v1.6.203: the single course sidebar now rides .tsa-job-col's 20px flex gap like
   the job/blog/page sidebars - the stacked margins the cat/sub boxes carry on
   listing templates would double the spacing here (and Subscribe to Job Alerts
   is the last widget, so its bottom margin has nothing to push away from). */
.tsa-job-col>.tsa-cat-box,.tsa-job-col>.tsa-sub-box{margin-bottom:0}
@media (max-width:1080px){
  ul.tsa-course-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  ul.tsa-course-grid{grid-template-columns:1fr}
  .tsa-apply-fee{width:100%}
}

/* =========================================================
   v1.6.185 - ON-SITE COURSE LEARNING (lessons, progress,
   certificates, My Courses dashboard, checkout enrolment)
   ========================================================= */
/* Enrolled chip in the course head */
.tsa-chip--enrolled{background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-weight:bold}
/* Shared progress bar */
.tsa-progress{display:inline-block;position:relative;width:100%;max-width:260px;height:9px;border-radius:999px;background:#e8efe9;overflow:hidden;vertical-align:middle}
.tsa-progress-bar{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--tsa-green),#0B7A3B);transition:width .35s ease}
.tsa-progress-pct{font-weight:bold;font-size:.82rem;color:var(--tsa-green-dark);white-space:nowrap}
/* Learning panel (single course, enrolled) */
.tsa-learning{margin-top:26px;background:#fff;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius);padding:24px 26px}
.tsa-learning-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.tsa-learning-title{display:flex;align-items:center;gap:9px;margin:0;font-size:1.15rem}
.tsa-learning-title svg{color:var(--tsa-green-dark)}
.tsa-learning-progress{display:flex;align-items:center;gap:12px;flex:1;min-width:220px;justify-content:flex-end}
.tsa-learning-count{font-size:.82rem;color:var(--tsa-muted);white-space:nowrap}
.tsa-cert-band{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(135deg,#ecfdf5,#f7fef9);border:1px solid #a7f3d0;border-radius:var(--tsa-radius);padding:16px 18px;margin:0 0 18px}
.tsa-cert-band-ico{flex:0 0 46px;height:46px;width:46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tsa-green);color:#fff}
.tsa-cert-band div{flex:1;min-width:200px}
.tsa-cert-band b{display:block;color:#065f46}
.tsa-cert-band span{font-size:.84rem;color:var(--tsa-muted)}
.tsa-learning-empty{background:var(--tsa-green-soft);border:1px dashed var(--tsa-green);border-radius:var(--tsa-radius-sm);padding:18px;font-size:.9rem;color:var(--tsa-green-dark)}
/* Lessons accordion */
ol.tsa-lessons{list-style:none;margin:0;padding:0}
.tsa-lesson{margin:0 0 12px;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius-sm);overflow:hidden;background:#fff;transition:border-color .2s}
.tsa-lesson:hover{border-color:var(--tsa-green)}
.tsa-lesson.is-done{border-color:#a7f3d0;background:#fbfefc}
.tsa-lesson summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;user-select:none}
.tsa-lesson summary::-webkit-details-marker{display:none}
.tsa-lesson summary:hover{background:#f8faf8}
.tsa-lesson-ico{flex:0 0 34px;height:34px;width:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--tsa-green-soft);color:var(--tsa-green-dark)}
.tsa-lesson.is-done .tsa-lesson-ico{background:#0B7A3B;color:#fff}
.tsa-lesson-label{flex:1;min-width:0}
.tsa-lesson-label small{display:block;font-size:.7rem;font-weight:bold;letter-spacing:.08em;text-transform:uppercase;color:var(--tsa-muted)}
.tsa-lesson-label b{font-size:.95rem;color:var(--tsa-ink)}
.tsa-lesson-state{flex:0 0 auto;font-size:.72rem;font-weight:bold;letter-spacing:.06em;text-transform:uppercase;color:var(--tsa-muted);border:1px solid var(--tsa-line);border-radius:999px;padding:5px 12px}
.tsa-lesson.is-done .tsa-lesson-state{color:#0B7A3B;border-color:#a7f3d0;background:#ecfdf5}
.tsa-lesson-body{border-top:1px dashed var(--tsa-line);padding:18px 18px 16px;background:#fdfdfc}
.tsa-lesson-body p{margin:0 0 12px;line-height:1.7;font-size:.93rem;color:#374151}
.tsa-lesson-body p:last-of-type{margin-bottom:0}
.tsa-lesson-body ul,.tsa-lesson-body ol{margin:0 0 12px;padding-left:22px;line-height:1.7;font-size:.93rem;color:#374151}
.tsa-lesson-body a{color:var(--tsa-green-dark);font-weight:600}
.tsa-lesson-todo{font-style:italic;color:var(--tsa-muted)}
.tsa-lesson-body form{margin-top:14px}
/* v1.6.236: the "Mark as complete" / "Mark as not done" toggle sits centred under the lesson content (works for question items too; the AJAX toggle keeps it centred in both states) */
.tsa-lesson-body form[data-tsa-lesson-form]{text-align:center}
/* Curriculum modules (v1.6.187): arranged lessons / questions / assessment.
   v1.6.190: graded question sets replace exercises. */
.tsa-mod{margin:0 0 20px}
.tsa-mod:last-child{margin-bottom:0}
.tsa-mod-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 14px;margin:0 0 12px;background:linear-gradient(135deg,var(--tsa-green-dark),var(--tsa-green));border-radius:var(--tsa-radius-sm);color:#fff}
.tsa-mod-head b{color:#fff;font-size:.95rem;letter-spacing:.01em}
.tsa-mod-head span{font-size:.72rem;font-weight:bold;letter-spacing:.05em;text-transform:uppercase;color:#FFF;border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:4px 11px;white-space:nowrap}
.tsa-lesson--question .tsa-lesson-ico{background:#EEF0FF;color:#4F46E5}
.tsa-lesson--assessment .tsa-lesson-ico{background:#FFF6DF;color:#B8860B}
/* Enrol band (paid) */
.tsa-enrol-pay{display:flex;flex-direction:column;gap:8px;align-items:center}
.tsa-enrol-pay small{color:var(--tsa-muted);font-size:.78rem;text-align:center}
/* My Courses (dashboard) */
/* v1.6.200: aligned panel head - label left, Browse courses button right,
   both on one centered line, and the .tsa-form-card padding keeps the
   button clear of the box edges (it used to touch the course rows). */
.tsa-mycourses-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.tsa-mycourses-head h3{display:flex;align-items:center;gap:9px;margin:0;font-size:1.15rem}
.tsa-mycourses-head h3 svg{color:var(--tsa-green-dark);flex:0 0 auto}
.tsa-mycourses-head .tsa-btn{flex:0 0 auto}
/* v1.6.202: overview "My Courses" card empty line (no enrolments yet). */
.tsa-ov-courses-empty{margin:0;font-size:.92rem;color:var(--tsa-muted);text-align:center}
/* v1.6.200: "Courses not enrolled" pick-up grid under My Courses. */
.tsa-notenrolled{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 28px}
.tsa-notenrolled .tsa-mini-course{padding:11px 0}
.tsa-notenrolled+.tsa-mini-course-more{margin-top:14px}
@media (max-width:700px){
  .tsa-notenrolled{grid-template-columns:1fr}
}
ul.tsa-mycourses{list-style:none;margin:0;padding:0}
.tsa-mycourse{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius-sm);padding:16px 18px;margin-bottom:12px;background:#fff;transition:border-color .2s}
.tsa-mycourse:hover{border-color:var(--tsa-green)}
.tsa-mycourse-main{flex:1;min-width:240px}
.tsa-mycourse-main b{display:block;margin-bottom:3px;font-size:.98rem}
.tsa-mycourse-main b a{color:var(--tsa-ink)}
.tsa-mycourse-main b a:hover{color:var(--tsa-green-dark)}
.tsa-mycourse-meta{display:block;font-size:.8rem;color:var(--tsa-muted);margin-bottom:8px}
.tsa-mycourse-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
@media (max-width:640px){
  .tsa-learning{padding:16px}
  .tsa-learning-progress{justify-content:flex-start}
  .tsa-lesson summary{padding:12px}
  .tsa-lesson-body{padding:14px 12px}
  .tsa-lesson-state{display:none}
  .tsa-cert-band{align-items:flex-start}
}
/* Rich lesson + overview content (v1.6.188): the curriculum builder stores full
   WordPress editor HTML - headings, quotes, tables, code - so the learning
   panel and the course overview render every element cleanly. */
.tsa-lesson-body h2,.tsa-lesson-body h3,.tsa-lesson-body h4{margin:18px 0 8px;line-height:1.35;color:var(--tsa-ink)}
.tsa-lesson-body h2{font-size:1.12rem}
.tsa-lesson-body h3{font-size:1rem}
.tsa-lesson-body h4{font-size:.95rem}
.tsa-lesson-body h2:first-child,.tsa-lesson-body h3:first-child,.tsa-lesson-body h4:first-child{margin-top:0}
.tsa-lesson-body blockquote{margin:0 0 12px;padding:10px 14px;border-left:3px solid var(--tsa-green);background:#fff;border-radius:0 var(--tsa-radius-sm) var(--tsa-radius-sm) 0;color:#374151}
.tsa-lesson-body blockquote p:last-of-type{margin-bottom:0}
.tsa-lesson-body table{width:100%;border-collapse:collapse;margin:0 0 12px;font-size:.86rem;background:#fff;display:block;overflow-x:auto}
/* v1.6.235: lesson tables are justified - multi-line cells read with flush edges, single-line cells are untouched by justify */
.tsa-lesson-body th,.tsa-lesson-body td{border:1px solid var(--tsa-line);padding:8px 10px;text-align:justify;vertical-align:top}
.tsa-lesson-body th{background:#F3F7F4;font-weight:700;color:var(--tsa-ink)}
.tsa-lesson-body hr{border:0;border-top:1px dashed var(--tsa-line);margin:14px 0}
.tsa-lesson-body code{background:#F3F7F4;border-radius:4px;padding:1px 5px;font-size:.85em}
.tsa-lesson-body pre{background:#F3F7F4;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius-sm);padding:10px 12px;overflow:auto;font-size:.85rem;margin:0 0 12px}
@media (max-width:640px){
  .tsa-lesson-body table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
/* Next-item navigation (v1.6.189): the learning panel opens the FIRST
   uncompleted item in course order, completing an item lands the student
   straight on the next one via its anchor, and the current step carries
   an Up next cue so it is always obvious where learning continues. */
.tsa-lesson{scroll-margin-top:96px}
.tsa-lesson.is-upnext{border-color:var(--tsa-green);box-shadow:0 0 0 3px rgba(11,122,59,.08)}
.tsa-lesson.is-upnext .tsa-lesson-state{color:#0B7A3B;border-color:#a7f3d0;background:#ecfdf5}
.tsa-lesson.is-upnext summary{background:#fbfefc}
/* Graded questions + final assessment (v1.6.190): every module carries
   answerable question sets and the course ends with one graded assessment
   (multiple choice / true-false / matching) - pass mark 50%. */
.tsa-learning-note{display:flex;align-items:center;gap:8px;margin-top:16px;padding:10px 14px;border:1px dashed #a7f3d0;background:#f2fdf6;border-radius:var(--tsa-radius-sm);font-size:.85rem;color:#065F46}
.tsa-learning-note svg{flex:none;color:#0B7A3B}
.tsa-quiz{margin-top:14px;border:1px solid var(--tsa-line);border-radius:var(--tsa-radius-sm);background:#fff;overflow:hidden}
.tsa-quiz-qs{list-style:none;margin:0;padding:0}
.tsa-quiz-q{padding:14px 16px;border-bottom:1px dashed var(--tsa-line)}
.tsa-quiz-q:last-child{border-bottom:0}
.tsa-quiz-q.is-ok{background:#f6fdf9}
.tsa-quiz-q.is-bad{background:#fef7f7}
.tsa-quiz-qhead{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.tsa-quiz-qnum{flex:none;width:24px;height:24px;border-radius:50%;background:var(--tsa-green-dark);color:#fff;font-size:.75rem;font-weight:bold;display:flex;align-items:center;justify-content:center;margin-top:1px}
.tsa-quiz-q.is-ok .tsa-quiz-qnum{background:#0B7A3B}
.tsa-quiz-q.is-bad .tsa-quiz-qnum{background:#B91C1C}
.tsa-quiz-qtxt{flex:1;font-weight:600;font-size:.92rem;color:var(--tsa-ink);line-height:1.5}
.tsa-quiz-q.is-bad .tsa-quiz-opts{display:grid;gap:8px}
.tsa-quiz-opt{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--tsa-line);border-radius:8px;background:#fdfdfc;cursor:pointer;font-size:.9rem;color:#374151;transition:border-color .15s,background .15s}
.tsa-quiz-opt:hover{border-color:var(--tsa-green)}
.tsa-quiz-opt input[type=radio]{accent-color:var(--tsa-green-dark);width:16px;height:16px;flex:none;margin:0}
.tsa-quiz-opts--tf{grid-template-columns:1fr 1fr}
.tsa-quiz-pairs{display:grid;gap:8px}
.tsa-quiz-pair{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tsa-quiz-pair-left{flex:1;min-width:140px;font-size:.9rem;color:#374151;font-weight:600}
.tsa-quiz-pair-arrow{flex:none;color:var(--tsa-muted)}
.tsa-quiz-pair-select{flex:1;min-width:160px}
.tsa-quiz-pair-select select{width:100%;padding:8px 10px;border:1px solid var(--tsa-line);border-radius:8px;background:#fff;font-size:.88rem;color:var(--tsa-ink)}
.tsa-quiz-pair.is-ok .tsa-quiz-pair-left{color:#0B7A3B}
.tsa-quiz-pair.is-bad .tsa-quiz-pair-left{color:#B91C1C}
.tsa-quiz-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 16px;background:#fafaf8;border-top:1px solid var(--tsa-line)}
/* v1.6.237: the all-correct hint wraps onto its own line under the submit row */
.tsa-quiz-hint{flex-basis:100%;font-size:.78rem;color:var(--tsa-muted)}
.tsa-quiz-score{font-size:.85rem;font-weight:700;color:#374151}
.tsa-quiz-score.is-pass{color:#0B7A3B}
.tsa-quiz-passband{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 14px;border:1px solid #a7f3d0;border-radius:var(--tsa-radius-sm);background:#ecfdf5;color:#065F46;font-size:.88rem;font-weight:600}
@media (max-width:640px){
  .tsa-quiz-opts--tf{grid-template-columns:1fr}
  .tsa-quiz-pair{align-items:stretch}
}

/* =========================================================
   v1.6.191 - ENROL BAND FEE LINE: "Course Fee: Free" - the
   label + value read as one phrase on a single centered line
   spanning the band, above the enrol actions.
   ========================================================= */
.tsa-apply-band > .tsa-apply-fee{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:center;gap:8px;flex-wrap:wrap}
.tsa-apply-fee-label{font-size:15px;font-weight:600;color:var(--tsa-muted)}
.tsa-apply-fee strong{font-size:17px;font-weight:800;color:var(--tsa-ink)}
.tsa-apply-band > .tsa-enrol-pay{grid-column:1 / -1}

/* =========================================================
   v1.6.193 - ENROL BAND FREE BUTTON CENTERED: the one-click
   enrol form joins the fee line and the paid pay block on
   the band's centerline - compact button, auto width.
   ========================================================= */
.tsa-apply-band > .tsa-enrol-form{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;gap:2px}
.tsa-apply-band > .tsa-enrol-form .tsa-btn{justify-content:center}

/* =========================================================
   v1.6.196 - HOMEPAGE COURSES SIDEBAR: "Latest Courses in
   Kenya" moved into its OWN tsa-mjm-wrap row with its OWN
   sidebar - Top Employers (moved out of the jobs sidebar),
   Courses By Category and a Ready to Get Certified CTA. The
   jobs sidebar keeps only job widgets; the v1.6.194
   main-column filler widgets are retired with their CSS.
   v1.6.199: the Why Learn With TSA bullet box is retired per
   user request and its bullet-list rules with it.
   ========================================================= */
.tsa-mjm-wrap--courses{padding-top:0}
.tsa-mjm-wrap--courses .tsa-courses-h2{margin-top:0}

/* =========================================================
   v1.6.198 - HOMEPAGE SIDEBAR: COMPACT WIDGETS + STICKY
   SIDEBAR. User report: "View All Courses button is pushed
   down with big space, also sidebar widget spaces are still
   big,, they should be reduced by aboout quarter, page
   content and sidebar should end at same line or make them
   sticky".
   - The space-between fill is retired: with align-self:start
     the sidebar keeps its natural height, so widget gaps no
     longer grow with the leftover row height.
   - One tight 20px rhythm everywhere - a quarter under the
     old 26px base - for cat, sub and filter boxes, the blog
     side cards and the gap under the job/course lists. The
     rhythm rule carries :not(:last-child) so it can never
     outrank the last-child reset (0,2,0): the last box always
     meets the row bottom line with zero trailing margin.
   - The "View All" links no longer pin to the column bottom
     (margin-top:auto) - with the courses sidebar the taller
     column, "View All Courses" sat in a huge void under the
     grid. They now follow their list at the same 20px rhythm.
   - The sidebar sticks below the 64px header while the main
     column scrolls (position:sticky;top:96px, the dashboard
     nav convention) and returns to static flow on the stacked
     <=1080px layout.
   ========================================================= */
.tsa-mjm-side>.tsa-cat-box:not(:last-child),.tsa-mjm-side>.tsa-sub-box:not(:last-child),.tsa-mjm-side>.tsa-filter-box:not(:last-child){margin-bottom:20px}
.tsa-mjm-side.tsa-blog-side .tsa-side-card:not(:last-child){margin-bottom:20px}
.tsa-mjm-wrap .tsa-mjm-main{display:flex;flex-direction:column}
.tsa-mjm-wrap .tsa-mjm-main .tsa-mjm-h2{margin-top:0}
.tsa-mjm-wrap .tsa-mjm-main .tsa-viewall{margin-top:0}
.tsa-mjm-wrap .tsa-job-rows,.tsa-mjm-wrap .tsa-course-grid{margin-bottom:20px}
@media (max-width:1080px){.tsa-mjm-side{position:static;top:auto}}
