/*
Theme Name:        TalentBridge
Theme URI:         https://talentbridge.in
Author:            Shield Infra Solutions Pvt. Ltd.
Author URI:        https://shieldinfra.in
Description:       A professional Job Portal theme for TalentBridge — featuring Job Seeker, Employer, Freelance, Training, Admin, and Registration panels. Built for VFRES & Shield Infra skill development platform.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       talentbridge
Tags:              job-portal, custom-colors, custom-logo, full-width-template, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  --tb-navy:   #0D1B2A;
  --tb-cobalt: #1A56DB;
  --tb-sky:    #38BDF8;
  --tb-mint:   #10B981;
  --tb-amber:  #F59E0B;
  --tb-rose:   #F43F5E;
  --tb-slate:  #64748B;
  --tb-light:  #F0F4FF;
  --tb-white:  #FFFFFF;
  --tb-border: #E2E8F0;
  --tb-text:   #1E293B;
  --tb-muted:  #64748B;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--tb-light);
  color: var(--tb-text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ==========================================================================
   3. Navigation
   ========================================================================== */
.tb-nav {
  background: var(--tb-navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.tb-nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--tb-white);
  letter-spacing: -0.5px;
}
.tb-nav-logo span { color: var(--tb-sky); }
.tb-nav-links { display: flex; gap: 1.5rem; align-items: center; }
.tb-nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}
.tb-nav-links a:hover { color: var(--tb-sky); }
.tb-nav-cta {
  background: var(--tb-cobalt) !important;
  color: var(--tb-white) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-weight: 600 !important;
}
.tb-nav-cta:hover { background: var(--tb-sky) !important; color: var(--tb-navy) !important; }

/* Hamburger for mobile */
.tb-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   4. Portal Tabs
   ========================================================================== */
.tb-portal-tabs {
  background: var(--tb-navy);
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
}
.tb-tab-btn {
  padding: 0.75rem 2rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.tb-tab-btn:hover { color: var(--tb-white); }
.tb-tab-btn.active { color: var(--tb-sky); border-bottom-color: var(--tb-sky); }

/* ==========================================================================
   5. Panels
   ========================================================================== */
.tb-panel { display: none; }
.tb-panel.active { display: block; }

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.tb-hero {
  background: linear-gradient(135deg, var(--tb-navy) 0%, #162844 60%, #0F3460 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tb-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.tb-hero-badge {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.4);
  color: var(--tb-sky);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.tb-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--tb-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.tb-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--tb-sky), var(--tb-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tb-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   7. Search Bar
   ========================================================================== */
.tb-search-bar {
  background: var(--tb-white);
  border-radius: 14px;
  display: flex;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.tb-search-bar input {
  flex: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--tb-text);
}
.tb-search-bar select {
  border: none;
  border-left: 1px solid var(--tb-border);
  padding: 1rem;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: var(--tb-slate);
  background: var(--tb-white);
  cursor: pointer;
}
.tb-search-bar button {
  background: var(--tb-cobalt);
  color: var(--tb-white);
  border: none;
  padding: 1rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.tb-search-bar button:hover { background: var(--tb-sky); color: var(--tb-navy); }

/* Hero Tags */
.tb-hero-tags { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.tb-hero-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tb-hero-tag:hover { background: rgba(56,189,248,0.2); border-color: var(--tb-sky); color: var(--tb-sky); }

/* ==========================================================================
   8. Stats Row
   ========================================================================== */
.tb-stats-row {
  background: var(--tb-white);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--tb-border);
}
.tb-stat-item {
  padding: 1.5rem 3rem;
  text-align: center;
  border-right: 1px solid var(--tb-border);
}
.tb-stat-item:last-child { border-right: none; }
.tb-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tb-cobalt);
}
.tb-stat-label { font-size: 0.8rem; color: var(--tb-muted); font-weight: 500; }

/* ==========================================================================
   9. Section Wrapper
   ========================================================================== */
.tb-section { padding: 3.5rem 2rem; max-width: 1200px; margin: 0 auto; }
.tb-section-header { margin-bottom: 2rem; }
.tb-section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tb-cobalt);
  margin-bottom: 0.5rem;
}
.tb-section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tb-navy);
  letter-spacing: -0.5px;
}
.tb-section-header p { color: var(--tb-muted); margin-top: 0.4rem; font-size: 0.95rem; }

/* ==========================================================================
   10. Grid Layouts
   ========================================================================== */
.tb-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.tb-grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.25rem; }
.tb-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* ==========================================================================
   11. Job Card
   ========================================================================== */
.tb-job-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.tb-job-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-color: var(--tb-cobalt); transform: translateY(-2px); }
.tb-job-card-top { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.tb-company-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.tb-job-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--tb-navy);
  margin-bottom: 0.15rem;
}
.tb-company-name { font-size: 0.85rem; color: var(--tb-muted); }
.tb-job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tb-tag { font-size: 0.75rem; padding: 0.25rem 0.7rem; border-radius: 6px; font-weight: 500; }
.tb-tag-blue  { background: #EFF6FF; color: var(--tb-cobalt); }
.tb-tag-green { background: #ECFDF5; color: var(--tb-mint); }
.tb-tag-amber { background: #FFFBEB; color: var(--tb-amber); }
.tb-tag-rose  { background: #FFF1F2; color: var(--tb-rose); }
.tb-tag-slate { background: #F1F5F9; color: var(--tb-slate); }
.tb-job-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.tb-salary { font-weight: 700; color: var(--tb-navy); font-size: 0.95rem; }
.tb-salary small { color: var(--tb-muted); font-weight: 400; font-size: 0.78rem; }
.tb-posted { font-size: 0.78rem; color: var(--tb-muted); }
.tb-badge-new {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--tb-mint); color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.18rem 0.55rem; border-radius: 5px; letter-spacing: 0.5px;
}
.tb-badge-hot {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--tb-rose); color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.18rem 0.55rem; border-radius: 5px; letter-spacing: 0.5px;
}

/* ==========================================================================
   12. Buttons
   ========================================================================== */
.tb-apply-btn {
  background: var(--tb-cobalt);
  color: var(--tb-white);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.tb-apply-btn:hover { background: var(--tb-sky); color: var(--tb-navy); }

.tb-enroll-btn {
  background: var(--tb-mint);
  color: white;
  border: none;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.tb-enroll-btn:hover { background: #059669; }

.tb-hire-btn {
  background: var(--tb-navy);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  width: 100%;
}
.tb-hire-btn:hover { background: var(--tb-cobalt); }

.tb-submit-btn {
  background: var(--tb-cobalt);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  width: 100%;
}
.tb-submit-btn:hover { background: var(--tb-sky); color: var(--tb-navy); }

/* ==========================================================================
   13. Course Card
   ========================================================================== */
.tb-course-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}
.tb-course-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-2px); }
.tb-course-thumb { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.tb-course-body { padding: 1.25rem; }
.tb-course-meta { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; align-items: center; }
.tb-course-level { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tb-course-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.97rem; color: var(--tb-navy); margin-bottom: 0.4rem; }
.tb-course-instructor { font-size: 0.8rem; color: var(--tb-muted); margin-bottom: 0.75rem; }
.tb-course-footer { display: flex; align-items: center; justify-content: space-between; }
.tb-course-price { font-weight: 700; color: var(--tb-navy); font-size: 1rem; }
.tb-course-price .free { color: var(--tb-mint); }
.tb-stars { color: var(--tb-amber); font-size: 0.8rem; }
.tb-rating-count { font-size: 0.75rem; color: var(--tb-muted); }

/* ==========================================================================
   14. Freelancer Card
   ========================================================================== */
.tb-freelancer-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.tb-freelancer-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-color: var(--tb-amber); transform: translateY(-2px); }
.tb-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: var(--tb-light);
}
.tb-freelancer-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--tb-navy); }
.tb-freelancer-title { font-size: 0.82rem; color: var(--tb-muted); margin-bottom: 0.75rem; }
.tb-hourly-rate { font-weight: 700; color: var(--tb-amber); font-size: 1rem; margin-bottom: 0.75rem; }
.tb-skill-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-bottom: 1rem; }
.tb-chip {
  background: var(--tb-light);
  border: 1px solid var(--tb-border);
  color: var(--tb-slate);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  font-weight: 500;
}

/* ==========================================================================
   15. Dashboard
   ========================================================================== */
.tb-dashboard {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tb-dashboard-header {
  background: var(--tb-navy);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tb-dashboard-header h3 { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--tb-white); font-size: 1rem; }
.tb-dashboard-header p { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.tb-dashboard-body { padding: 1.5rem; }
.tb-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.tb-kpi { background: var(--tb-light); border-radius: 10px; padding: 1rem; text-align: center; }
.tb-kpi-value { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--tb-navy); }
.tb-kpi-label { font-size: 0.75rem; color: var(--tb-muted); font-weight: 500; }
.tb-kpi-delta { font-size: 0.72rem; margin-top: 0.2rem; font-weight: 600; }
.tb-delta-up { color: var(--tb-mint); }
.tb-delta-down { color: var(--tb-rose); }

/* ==========================================================================
   16. Form Card
   ========================================================================== */
.tb-form-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 600px;
}
.tb-form-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--tb-navy); margin-bottom: 1.5rem; }
.tb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tb-form-group { margin-bottom: 1.1rem; }
.tb-form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--tb-text); margin-bottom: 0.4rem; }
.tb-form-group input,
.tb-form-group select,
.tb-form-group textarea {
  width: 100%;
  border: 1.5px solid var(--tb-border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  color: var(--tb-text);
  background: var(--tb-white);
}
.tb-form-group input:focus,
.tb-form-group select:focus,
.tb-form-group textarea:focus { border-color: var(--tb-cobalt); }
.tb-form-group textarea { resize: vertical; min-height: 90px; }

/* ==========================================================================
   17. Pipeline
   ========================================================================== */
.tb-pipeline { display: flex; align-items: center; margin-bottom: 2rem; overflow-x: auto; padding-bottom: 0.5rem; }
.tb-pipe-step { display: flex; align-items: center; }
.tb-pipe-node {
  background: var(--tb-white);
  border: 2px solid var(--tb-border);
  border-radius: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tb-slate);
  white-space: nowrap;
  transition: all 0.2s;
}
.tb-pipe-node.done  { background: var(--tb-cobalt); border-color: var(--tb-cobalt); color: white; }
.tb-pipe-node.active { background: var(--tb-amber);  border-color: var(--tb-amber);  color: white; }
.tb-pipe-arrow { color: var(--tb-border); font-size: 1.1rem; padding: 0 0.3rem; }
.tb-pipe-arrow.done { color: var(--tb-cobalt); }

/* ==========================================================================
   18. Notification / Feature List
   ========================================================================== */
.tb-notif-list { display: flex; flex-direction: column; gap: 0.75rem; }
.tb-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 12px;
  border-left: 4px solid var(--tb-cobalt);
}
.tb-notif-item.green { border-left-color: var(--tb-mint); }
.tb-notif-item.amber { border-left-color: var(--tb-amber); }
.tb-notif-item.rose  { border-left-color: var(--tb-rose); }
.tb-notif-icon { font-size: 1.4rem; flex-shrink: 0; }
.tb-notif-title { font-weight: 600; font-size: 0.88rem; color: var(--tb-navy); }
.tb-notif-desc { font-size: 0.8rem; color: var(--tb-muted); }
.tb-notif-time { font-size: 0.72rem; color: var(--tb-muted); margin-top: 0.2rem; }

/* ==========================================================================
   19. Match Chips
   ========================================================================== */
.tb-match-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--tb-white);
  border: 1px solid var(--tb-border);
  border-radius: 30px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem; font-weight: 600;
}
.tb-match-score {
  background: var(--tb-mint); color: white;
  padding: 0.15rem 0.55rem; border-radius: 12px;
  font-size: 0.75rem; font-weight: 700;
}
.tb-match-score.med { background: var(--tb-amber); }
.tb-match-score.low { background: var(--tb-slate); }

/* ==========================================================================
   20. Alerts
   ========================================================================== */
.tb-alert {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  font-size: 0.87rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.tb-alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: var(--tb-cobalt); }
.tb-alert-success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.tb-alert-warn    { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }

/* ==========================================================================
   21. Progress Bar
   ========================================================================== */
.tb-progress-bar { background: var(--tb-border); border-radius: 20px; height: 8px; margin-top: 0.4rem; }
.tb-progress-fill { height: 8px; border-radius: 20px; }

/* ==========================================================================
   22. Table
   ========================================================================== */
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--tb-light);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--tb-slate);
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--tb-border);
}
td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--tb-border); font-size: 0.87rem; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--tb-light); }
.tb-status-badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.tb-s-active    { background: #ECFDF5; color: var(--tb-mint); }
.tb-s-pending   { background: #FFFBEB; color: var(--tb-amber); }
.tb-s-rejected  { background: #FFF1F2; color: var(--tb-rose); }
.tb-s-shortlist { background: #EFF6FF; color: var(--tb-cobalt); }

/* ==========================================================================
   23. Footer
   ========================================================================== */
.tb-footer {
  background: var(--tb-navy);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  margin-top: 3rem;
}
.tb-footer strong { color: var(--tb-sky); }

/* ==========================================================================
   24. WordPress Alignment Classes
   ========================================================================== */
.alignleft  { float: left;  margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem;  margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   25. Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .tb-nav-links { display: none; }
  .tb-nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--tb-navy); padding: 1rem 2rem; gap: 1rem; }
  .tb-nav-toggle { display: block; }
  .tb-kpi-row { grid-template-columns: 1fr 1fr; }
  .tb-form-row { grid-template-columns: 1fr; }
  .tb-stat-item { padding: 1rem 1.5rem; }
  .tb-pipeline { gap: 0; }
  .tb-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tb-kpi-row { grid-template-columns: 1fr; }
  .tb-search-bar { flex-direction: column; border-radius: 12px; }
  .tb-search-bar select { border-left: none; border-top: 1px solid var(--tb-border); }
}
