/* ===== OnlineTeflJob.com — Common Styles (v1) ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors — Forest Green + Sunset Orange */
  --tj-c-primary: #1A3C34;
  --tj-c-primary-light: #2D5E4F;
  --tj-c-primary-dark: #122B25;
  --tj-c-accent: #E06B3A;
  --tj-c-accent-hover: #C85A2E;
  --tj-c-accent-light: #FEF0EB;
  --tj-c-success: #2D8B5E;
  --tj-c-success-light: #E6F5EE;
  --tj-c-warning: #D97706;
  --tj-c-error: #C7432E;
  --tj-c-error-light: #FDECEC;

  /* Backgrounds — warm tones */
  --tj-bg-page: #FAF8F5;
  --tj-bg-surface: #FFFDFB;
  --tj-bg-muted: #F5F2EE;
  --tj-bg-dark: #1A3C34;
  --tj-bg-sidebar: #F0F7F4;

  /* Text */
  --tj-txt-primary: #1C2A26;
  --tj-txt-secondary: #4A5E58;
  --tj-txt-muted: #7A8F88;
  --tj-txt-inverse: #FFFFFF;
  --tj-txt-link: #1A3C34;
  --tj-txt-link-hover: #E06B3A;

  /* Borders */
  --tj-bdr-default: #E4DFD8;
  --tj-bdr-light: #EDE9E3;
  --tj-bdr-focus: #1A3C34;

  /* Fonts — Libre Baskerville + Nunito Sans */
  --tj-f-display: 'Libre Baskerville', Georgia, serif;
  --tj-f-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  /* Shadows — soft & warm */
  --tj-sh-sm: 0 1px 3px rgba(26,60,52,0.06);
  --tj-sh-md: 0 4px 14px rgba(26,60,52,0.08);
  --tj-sh-lg: 0 10px 30px rgba(26,60,52,0.10);

  /* Radius — larger, softer */
  --tj-r-sm: 6px;
  --tj-r-md: 10px;
  --tj-r-lg: 14px;
  --tj-r-xl: 18px;
  --tj-r-pill: 100px;

  /* Timing */
  --tj-dur-fast: 150ms;
  --tj-dur-normal: 250ms;
  --tj-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--tj-f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tj-txt-primary);
  background: var(--tj-bg-page);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--tj-f-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--tj-f-body); }
img { max-width: 100%; display: block; }

.otj-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.otj-topbar { position: sticky; top: 0; z-index: 100; background: var(--tj-bg-surface); border-bottom: 1px solid var(--tj-bdr-default); transition: box-shadow var(--tj-dur-fast) var(--tj-ease); }
.otj-topbar.otj-scrolled { box-shadow: 0 2px 8px rgba(26,60,52,0.08); }
.otj-topbar-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* Logo — thick-thin weight contrast */
.otj-logo { font-family: var(--tj-f-body); font-size: 22px; color: var(--tj-c-primary); letter-spacing: -0.01em; display: inline-flex; align-items: baseline; }
.otj-logo-thin { font-weight: 300; font-size: 17px; }
.otj-logo-bold { font-weight: 700; font-size: 24px; }
.otj-logo-dot { font-weight: 400; font-size: 17px; color: var(--tj-c-accent); }

.otj-topbar-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.otj-topbar-nav a { font-size: 14px; font-weight: 600; color: var(--tj-txt-primary); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-topbar-nav a:hover { color: var(--tj-txt-link-hover); }
.otj-topbar-nav .otj-nav-cta { color: var(--tj-c-accent); }

.otj-topbar-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--tj-r-md); }
.otj-topbar-toggle:hover { background: var(--tj-bg-muted); }
.otj-topbar-toggle svg { width: 22px; height: 22px; stroke: var(--tj-txt-primary); }

/* Mobile drawer */
.otj-slide-overlay { display: none; position: fixed; inset: 0; background: rgba(26,60,52,0.45); z-index: 200; opacity: 0; transition: opacity var(--tj-dur-normal) var(--tj-ease); }
.otj-slide-overlay.open { opacity: 1; }
.otj-slide-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--tj-bg-surface); z-index: 201; transform: translateX(100%); transition: transform var(--tj-dur-normal) var(--tj-ease); padding: 20px; }
.otj-slide-menu.open { transform: translateX(0); }
.otj-slide-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 24px; border-radius: var(--tj-r-md); }
.otj-slide-close:hover { background: var(--tj-bg-muted); }
.otj-slide-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.otj-slide-links a { display: block; padding: 12px 16px; font-size: 16px; font-weight: 600; color: var(--tj-txt-primary); border-radius: var(--tj-r-md); transition: background var(--tj-dur-fast) var(--tj-ease); }
.otj-slide-links a:hover { background: var(--tj-bg-muted); }
.otj-slide-links .otj-nav-cta-mobile { color: var(--tj-c-accent); font-weight: 700; margin-top: 8px; border-top: 1px solid var(--tj-bdr-default); padding-top: 16px; }

/* Employer auth CTA (For Employers / Login / Register / Dashboard / Logout) */
.otj-nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.otj-nav-btn-outline,
.otj-topbar-nav .otj-nav-btn-outline {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border: 1.5px solid var(--tj-c-accent); border-radius: var(--tj-r-pill);
  color: var(--tj-c-accent); font-size: 13px; font-weight: 700;
  transition: all var(--tj-dur-fast) var(--tj-ease);
}
.otj-nav-btn-outline:hover,
.otj-topbar-nav .otj-nav-btn-outline:hover { background: var(--tj-c-accent); color: var(--tj-txt-inverse); }
.otj-nav-actions > a:not(.otj-nav-btn-outline) { font-size: 13px; font-weight: 600; color: var(--tj-txt-primary); }
.otj-nav-actions > a:not(.otj-nav-btn-outline):hover { color: var(--tj-c-accent); }
.otj-topbar-nav li:nth-child(6) { margin-left: auto; }
.otj-drawer-link { color: var(--tj-c-accent); font-weight: 700; }

/* ===== HERO ===== */
.otj-banner { background: var(--tj-bg-dark); position: relative; overflow: hidden; }
.otj-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(45,139,94,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(224,107,58,0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Contour line pattern (replaces grid) */
.otj-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 600px 200px at 50% 60%, rgba(255,255,255,0.04) 30%, transparent 70%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0.015) 0deg 2deg, transparent 2deg 20deg);
  pointer-events: none;
}
.otj-banner-inner { position: relative; z-index: 1; padding: 80px 0 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.otj-banner-content { max-width: 520px; }
.otj-banner h1 {
  font-family: var(--tj-f-display);
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 2.75rem);
  font-weight: 700;
  color: var(--tj-txt-inverse);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.otj-banner-subtitle {
  font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  line-height: 1.6;
}
.otj-banner-cta {
  display: inline-flex;
  align-items: center; gap: 10px;
  background: var(--tj-c-accent);
  color: var(--tj-txt-inverse);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--tj-r-pill);
  transition: background var(--tj-dur-fast) var(--tj-ease), transform var(--tj-dur-fast) var(--tj-ease);
}
.otj-banner-cta:hover { background: var(--tj-c-accent-hover); transform: translateY(-1px); }
.otj-banner-cta svg { width: 18px; height: 18px; }

/* Hero illustration placeholder */
.otj-banner-illustration { display: flex; align-items: center; justify-content: center; }
.otj-banner-illustration svg { width: 100%; max-width: 380px; height: auto; }

/* ===== SECTIONS ===== */
.otj-section, .otj-cta-section { padding: 72px 0; }
.otj-section-header { text-align: center; margin-bottom: 40px; }
.otj-section-header h2 {
  font-family: var(--tj-f-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--tj-txt-primary);
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
/* Decorative line under otj-section title */
.otj-section-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--tj-c-accent);
  border-radius: 2px;
  margin: 12px auto 0;
}
.otj-section-header p { color: var(--tj-txt-secondary); margin-top: 10px; font-size: 15px; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-header-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.otj-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.otj-section-link { font-size: 14px; font-weight: 700; color: var(--tj-c-accent); display: flex; align-items: center; gap: 4px; transition: gap var(--tj-dur-fast) var(--tj-ease); }
.otj-section-link:hover { gap: 8px; }

/* ===== JOB CARDS — left accent stripe, horizontal layout ===== */
.otj-jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.otj-position, a.otj-position {
  background: var(--tj-bg-surface);
  border: none;
  border-left: 4px solid var(--tj-c-primary);
  border-radius: 0 var(--tj-r-lg) var(--tj-r-lg) 0;
  padding: 22px 24px;
  box-shadow: var(--tj-sh-sm);
  transition: transform var(--tj-dur-fast) var(--tj-ease), box-shadow var(--tj-dur-fast) var(--tj-ease), border-color var(--tj-dur-fast) var(--tj-ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.otj-position.otj-partner-card { border-left-color: var(--tj-c-accent); }
a.otj-position:hover { transform: translateX(4px); box-shadow: var(--tj-sh-md); border-left-color: var(--tj-c-accent); color: inherit; text-decoration: none; }

.otj-position-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.otj-position-title { font-size: 17px; font-weight: 700; color: var(--tj-c-primary); line-height: 1.3; transition: color var(--tj-dur-fast) var(--tj-ease); flex: 1; }
.otj-position:hover .otj-position-title { color: var(--tj-c-accent); }
.otj-position-salary {
  font-size: 14px; font-weight: 700;
  color: var(--tj-c-accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.otj-position-company { font-size: 13px; color: var(--tj-txt-muted); font-weight: 600; }
.otj-position-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.otj-position-meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--tj-txt-muted); }
.otj-position-meta-item svg { width: 13px; height: 13px; stroke: var(--tj-txt-muted); }
.otj-position-desc { font-size: 13px; color: var(--tj-txt-secondary); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Badges — inline text style, not pills */
.otj-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--tj-r-sm); letter-spacing: 0.01em; }
.otj-badge-fulltime { background: var(--tj-c-success-light); color: var(--tj-c-success); }
.otj-badge-parttime { background: #EDE9FE; color: #7C3AED; }
.otj-badge-online { background: #E0F7FA; color: #00838F; }
.otj-badge-contract { background: var(--tj-c-accent-light); color: var(--tj-c-accent); }
.otj-badge-remote { background: #F0FDF4; color: #15803D; }

.otj-position-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--tj-bdr-light); }
.otj-position-date { font-size: 11px; color: var(--tj-txt-muted); }
.otj-position-apply {
  font-size: 13px; font-weight: 700;
  color: var(--tj-c-accent);
  display: flex; align-items: center; gap: 4px;
  transition: gap var(--tj-dur-fast) var(--tj-ease);
  border: none; background: none; padding: 0;
}
.otj-position-apply:hover { gap: 8px; }
.otj-position-apply svg { width: 14px; height: 14px; }
.otj-position-source { font-size: 11px; color: var(--tj-txt-muted); display: flex; align-items: center; gap: 4px; }
.otj-position-source svg { width: 12px; height: 12px; stroke: var(--tj-txt-muted); }

/* ===== CTA SECTION — light background, outlined card ===== */
.otj-cta-section { background: var(--tj-bg-page); position: relative; }
.otj-cta-inner {
  position: relative; z-index: 1;
  padding: 56px 48px;
  text-align: center;
  background: var(--tj-bg-surface);
  border: 2px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-xl);
  max-width: 800px;
  margin: 0 auto;
}
.otj-cta-inner h2 {
  font-family: var(--tj-f-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  color: var(--tj-txt-primary);
  margin-bottom: 10px;
}
.otj-cta-inner p { color: var(--tj-txt-secondary); font-size: 15px; max-width: 480px; margin: 0 auto 28px; }

/* Buttons — pill style */
.otj-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tj-c-accent);
  color: var(--tj-txt-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 36px;
  border-radius: var(--tj-r-pill);
  transition: background var(--tj-dur-fast) var(--tj-ease), transform var(--tj-dur-fast) var(--tj-ease);
  border: none;
}
.otj-btn-primary:hover { background: var(--tj-c-accent-hover); transform: translateY(-1px); }
.otj-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--tj-c-primary);
  font-weight: 700; font-size: 15px;
  padding: 12px 28px;
  border: 2px solid var(--tj-c-primary);
  border-radius: var(--tj-r-pill);
  transition: all var(--tj-dur-fast) var(--tj-ease);
}
.otj-btn-secondary:hover { background: var(--tj-c-primary); color: var(--tj-txt-inverse); }

/* ===== TRUST — alternating layout ===== */
.otj-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.otj-trust-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-lg);
  box-shadow: var(--tj-sh-sm);
}
.otj-trust-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tj-c-accent-light);
  border-radius: var(--tj-r-lg);
  color: var(--tj-c-accent);
  font-size: 22px;
}
.otj-trust-card h3 { font-family: var(--tj-f-display); font-size: 17px; font-weight: 700; color: var(--tj-txt-primary); margin-bottom: 8px; }
.otj-trust-card p { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.55; }

/* ===== FOOTER — light, centered, minimal ===== */
.otj-bottom-bar { background: var(--tj-bg-muted); color: var(--tj-txt-primary); padding: 56px 0 28px; }
.otj-bottom-top { text-align: center; margin-bottom: 36px; }
.otj-bottom-brand {
  font-family: var(--tj-f-body);
  font-size: 20px;
  color: var(--tj-c-primary);
  margin-bottom: 8px;
  display: inline-flex; align-items: baseline;
}
.otj-bottom-brand .otj-logo-thin { font-weight: 300; font-size: 16px; color: var(--tj-c-primary); }
.otj-bottom-brand .otj-logo-bold { font-weight: 700; font-size: 22px; color: var(--tj-c-primary); }
.otj-bottom-brand .otj-logo-dot { font-weight: 400; font-size: 16px; color: var(--tj-c-accent); }
.otj-bottom-tagline { font-size: 14px; color: var(--tj-txt-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.otj-bottom-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--tj-bdr-default); }
.otj-bottom-nav a { font-size: 13px; font-weight: 600; color: var(--tj-txt-secondary); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-bottom-nav a:hover { color: var(--tj-c-accent); }
.otj-bottom-bottom { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 12px; color: var(--tj-txt-muted); flex-wrap: wrap; }
.otj-bottom-bottom a { color: var(--tj-txt-muted); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-bottom-bottom a:hover { color: var(--tj-c-accent); }

/* ===== MODAL (Post a Job + general) ===== */
.otj-popup-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,60,52,0.55);
  z-index: 300;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--tj-dur-normal) var(--tj-ease);
}
.otj-popup-overlay.open { display: flex; opacity: 1; }
.otj-popup {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-xl);
  max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--tj-dur-normal) var(--tj-ease);
  box-shadow: var(--tj-sh-lg);
}
.otj-popup-overlay.open .otj-popup { transform: scale(1) translateY(0); }
.otj-popup-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--tj-r-md); }
.otj-popup-close:hover { background: var(--tj-bg-muted); }
.otj-popup-close svg { width: 18px; height: 18px; stroke: var(--tj-txt-secondary); }
.otj-popup-title { font-family: var(--tj-f-display); font-size: 22px; font-weight: 700; color: var(--tj-txt-primary); margin-bottom: 24px; }

/* Forms */
.otj-input-block { margin-bottom: 18px; }
.otj-field-label { display: block; font-size: 14px; font-weight: 700; color: var(--tj-txt-primary); margin-bottom: 6px; }
.otj-field-label .required { color: var(--tj-c-error); margin-left: 2px; }
.otj-form-optional { font-size: 12px; color: var(--tj-txt-muted); font-weight: 400; margin-left: 4px; }
.otj-form-hint { font-size: 12px; color: var(--tj-txt-muted); margin-top: 4px; }
.otj-field-error { display: block; font-size: 12px; color: var(--tj-c-error); margin-top: 4px; font-weight: 600; }
.otj-field {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  outline: none;
  transition: border-color var(--tj-dur-fast) var(--tj-ease), box-shadow var(--tj-dur-fast) var(--tj-ease);
  background: var(--tj-bg-surface);
}
.otj-field:focus { border-color: var(--tj-bdr-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.otj-field::placeholder { color: var(--tj-txt-muted); }
textarea.otj-field { min-height: 160px; resize: vertical; line-height: 1.6; }
.otj-form-warning { display: flex; align-items: flex-start; gap: 10px; background: var(--tj-c-accent-light); border-radius: var(--tj-r-md); padding: 12px 16px; margin-bottom: 20px; }
.otj-form-warning-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.otj-form-warning p { font-size: 13px; color: var(--tj-c-accent-hover); line-height: 1.5; }
.otj-form-submit {
  width: 100%;
  background: var(--tj-c-accent);
  color: var(--tj-txt-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--tj-r-pill);
  transition: background var(--tj-dur-fast) var(--tj-ease);
  border: none;
}
.otj-form-submit:hover { background: var(--tj-c-accent-hover); }
.otj-form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.otj-form-note { text-align: center; font-size: 13px; color: var(--tj-txt-muted); margin-top: 12px; }
.otj-form-divider { border: none; border-top: 1px dashed var(--tj-bdr-default); margin: 24px 0 20px; }
.otj-form-intro { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.6; margin-bottom: 18px; font-weight: 500; }

/* Private fields block (phone + third-party IM) */
.otj-private-block {
  background: var(--tj-bg-sidebar);
  border: 1.5px dashed var(--tj-c-success);
  border-radius: var(--tj-r-md);
  padding: 20px;
  margin-bottom: 20px;
}
.otj-private-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--tj-c-success);
  margin-bottom: 12px;
}
.otj-private-header svg { width: 16px; height: 16px; }
.otj-private-note { font-size: 12px; color: var(--tj-txt-muted); line-height: 1.5; margin-bottom: 14px; }
.otj-phone-row { display: flex; gap: 8px; margin-bottom: 14px; }
.otj-phone-code {
  width: 140px; padding: 12px 10px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  background: var(--tj-bg-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}
.otj-phone-number {
  flex: 1; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  outline: none;
  background: var(--tj-bg-surface);
  transition: border-color var(--tj-dur-fast) var(--tj-ease);
}
.otj-phone-number:focus { border-color: var(--tj-bdr-focus); }
.otj-im-options { display: flex; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.otj-im-option {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--tj-txt-secondary);
  cursor: pointer;
}
.otj-im-option input[type="radio"] { accent-color: var(--tj-c-primary); }
.otj-im-account {
  width: 100%; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  outline: none;
  background: var(--tj-bg-surface);
  transition: border-color var(--tj-dur-fast) var(--tj-ease);
}
.otj-im-account:focus { border-color: var(--tj-bdr-focus); }

/* Salary row */
.otj-salary-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.otj-salary-row input[type="number"] {
  width: 140px; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary); outline: none;
  transition: border-color var(--tj-dur-fast) var(--tj-ease);
}
.otj-salary-row input[type="number"]:focus { border-color: var(--tj-bdr-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.otj-salary-row select {
  padding: 12px 36px 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  background: var(--tj-bg-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer; outline: none;
}
.otj-salary-row select:focus { border-color: var(--tj-bdr-focus); }

/* Modal success state */
.otj-popup-success { display: none; text-align: center; padding: 24px 0; }
.otj-popup-success.show { display: block; }
.otj-popup-form.hide { display: none; }
.otj-success-icon { width: 56px; height: 56px; background: var(--tj-c-success-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }

/* ===== SECONDARY MODAL (Detail page — contact reveal) ===== */
.otj-contact-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,60,52,0.6);
  z-index: 300;
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--tj-dur-normal) var(--tj-ease);
}
.otj-contact-overlay.open { display: flex; opacity: 1; }
.otj-contact-popup {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-xl);
  max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--tj-dur-normal) var(--tj-ease);
  box-shadow: var(--tj-sh-lg);
}
.otj-contact-overlay.open .otj-contact-popup { transform: scale(1) translateY(0); }
.otj-contact-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--tj-r-md); }
.otj-contact-close:hover { background: var(--tj-bg-muted); }
.otj-contact-close svg { width: 18px; height: 18px; stroke: var(--tj-txt-secondary); }
.otj-contact-title { font-family: var(--tj-f-display); font-size: 20px; font-weight: 700; color: var(--tj-txt-primary); margin-bottom: 6px; }
.otj-contact-subtitle { font-size: 14px; color: var(--tj-txt-secondary); margin-bottom: 24px; line-height: 1.5; }
.otj-contact-popup .otj-form-submit { margin-top: 8px; }
/* Contact revealed state */
.otj-contact-revealed-box {
  display: none;
  text-align: center;
  padding: 16px 0;
}
.otj-contact-revealed-box.show { display: block; }
.otj-contact-revealed-icon { font-size: 48px; margin-bottom: 12px; }
.otj-contact-revealed-title { font-family: var(--tj-f-display); font-size: 20px; font-weight: 700; color: var(--tj-c-success); margin-bottom: 16px; }
.otj-contact-revealed-detail {
  background: var(--tj-c-success-light);
  border-radius: var(--tj-r-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 16px;
}
.otj-contact-revealed-detail p { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.6; margin-bottom: 6px; }
.otj-contact-revealed-detail strong { color: var(--tj-txt-primary); }
.otj-contact-revealed-detail a { color: var(--tj-c-primary); font-weight: 700; text-decoration: underline; }
.otj-contact-revealed-luck { font-size: 14px; color: var(--tj-txt-muted); font-style: italic; }

/* ===== CAPTCHA COMPONENT ===== */
.otj-captcha-box {
  background: var(--tj-bg-muted);
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.otj-captcha-label { font-size: 13px; font-weight: 700; color: var(--tj-txt-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.otj-captcha-label svg { width: 14px; height: 14px; }

/* Math captcha */
.otj-captcha-math { display: flex; align-items: center; gap: 10px; }
.otj-captcha-math-question { font-size: 16px; font-weight: 700; color: var(--tj-txt-primary); white-space: nowrap; }
.otj-captcha-math-input {
  width: 80px; padding: 8px 12px;
  font-size: 16px; font-weight: 700;
  text-align: center;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary);
  outline: none;
  background: var(--tj-bg-surface);
}
.otj-captcha-math-input:focus { border-color: var(--tj-bdr-focus); }
.otj-captcha-refresh {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--tj-r-sm);
  color: var(--tj-txt-muted);
  transition: background var(--tj-dur-fast) var(--tj-ease);
}
.otj-captcha-refresh:hover { background: var(--tj-bdr-light); }
.otj-captcha-refresh svg { width: 16px; height: 16px; }
.otj-captcha-question { font-size: 16px; font-weight: 700; color: var(--tj-txt-primary); white-space: nowrap; }
.otj-captcha-input {
  width: 80px; padding: 8px 12px;
  font-size: 16px; font-weight: 700;
  text-align: center;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-sm);
  color: var(--tj-txt-primary);
  outline: none;
  background: var(--tj-bg-surface);
}
.otj-captcha-input:focus { border-color: var(--tj-bdr-focus); }
.otj-captcha-ok { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tj-c-success); margin-top: 6px; }
.otj-captcha-ok.show { display: flex; }

/* Slider captcha (alternative) */
.otj-captcha-slider { margin-top: 8px; }
.otj-captcha-slider-track {
  position: relative;
  height: 40px;
  background: var(--tj-bg-surface);
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  overflow: hidden;
}
.otj-captcha-slider-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: var(--tj-c-success-light);
  border-radius: var(--tj-r-md) 0 0 var(--tj-r-md);
  transition: width 0.05s;
}
.otj-captcha-slider-thumb {
  position: absolute; top: 50%;
  width: 36px; height: 36px;
  background: var(--tj-bg-surface);
  border: 2px solid var(--tj-c-primary);
  border-radius: var(--tj-r-sm);
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  cursor: grab;
  box-shadow: var(--tj-sh-sm);
}
.otj-captcha-slider-thumb svg { width: 16px; height: 16px; stroke: var(--tj-c-primary); }
.otj-captcha-slider-text { font-size: 12px; color: var(--tj-txt-muted); text-align: center; margin-top: 6px; user-select: none; }
.otj-captcha-verified { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--tj-c-success); }
.otj-captcha-verified.show { display: flex; }

/* Submit cooldown */
.otj-btn-cooldown { opacity: 0.5; pointer-events: none; position: relative; }
.otj-btn-cooldown::after {
  content: attr(data-countdown);
  position: absolute; right: 16px;
  font-size: 13px; font-weight: 600;
}

/* ===== PAGE LAYOUT (for inner pages) ===== */
.otj-page-header {
  background: var(--tj-bg-dark);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.otj-page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 70%, rgba(45,139,94,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.otj-page-header h1 {
  font-family: var(--tj-f-display);
  font-size: clamp(1.5rem, 1.125rem + 1.5vw, 2.25rem);
  font-weight: 700;
  color: var(--tj-txt-inverse);
  position: relative; z-index: 1;
}
.otj-page-header p { color: rgba(255,255,255,0.6); margin-top: 8px; font-size: 15px; position: relative; z-index: 1; }
.otj-page-content { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.otj-page-content h2 { font-family: var(--tj-f-display); font-size: 22px; font-weight: 700; margin-top: 36px; margin-bottom: 12px; }
.otj-page-content h3 { font-size: 18px; font-weight: 700; margin-top: 28px; margin-bottom: 8px; }
.otj-page-content p { color: var(--tj-txt-secondary); line-height: 1.7; margin-bottom: 16px; }
.otj-page-content ul, .otj-page-content ol { color: var(--tj-txt-secondary); line-height: 1.7; margin-bottom: 16px; padding-left: 24px; }
.otj-page-content li { margin-bottom: 6px; }
.otj-page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.otj-page-content th { background: var(--tj-bg-muted); padding: 12px 16px; text-align: left; font-weight: 700; border-bottom: 2px solid var(--tj-bdr-default); }
.otj-page-content td { padding: 12px 16px; border-bottom: 1px solid var(--tj-bdr-light); color: var(--tj-txt-secondary); }
.otj-page-content tr:hover td { background: var(--tj-bg-muted); }

/* ===== JOB DETAIL ===== */
.otj-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; max-width: 1200px; margin: 0 auto; padding: 44px 24px; }
.otj-detail-main { min-width: 0; }
.otj-detail-sidebar { display: flex; flex-direction: column; gap: 20px; }
.otj-detail-breadcrumb { font-size: 13px; color: var(--tj-txt-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.otj-detail-breadcrumb a { color: var(--tj-txt-muted); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-detail-breadcrumb a:hover { color: var(--tj-txt-link-hover); }
.otj-detail-title { font-family: var(--tj-f-display); font-size: 28px; font-weight: 700; color: var(--tj-txt-primary); line-height: 1.2; margin-bottom: 8px; }
.otj-detail-company { font-size: 16px; color: var(--tj-txt-secondary); font-weight: 600; margin-bottom: 16px; }
.otj-detail-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.otj-detail-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--tj-txt-secondary); }
.otj-detail-meta-item svg { width: 16px; height: 16px; stroke: var(--tj-txt-muted); }
.otj-detail-section { margin-bottom: 36px; }
.otj-detail-section h2 { font-family: var(--tj-f-display); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.otj-detail-section p, .otj-detail-section li { white-space: pre-wrap; font-size: 15px; color: var(--tj-txt-secondary); line-height: 1.7; margin-bottom: 8px; }
.otj-detail-section ul { padding-left: 20px; }

/* Apply box — light green sidebar */
.otj-apply-box {
  background: var(--tj-bg-sidebar);
  border-radius: var(--tj-r-lg);
  padding: 28px;
  position: sticky; top: 88px;
}
.otj-apply-box-title { font-family: var(--tj-f-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.otj-apply-box-desc { font-size: 13px; color: var(--tj-txt-secondary); line-height: 1.5; margin-bottom: 20px; }
.otj-apply-btn {
  width: 100%;
  background: var(--tj-c-accent);
  color: var(--tj-txt-inverse);
  font-weight: 700; font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--tj-r-pill);
  border: none;
  transition: background var(--tj-dur-fast) var(--tj-ease);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 12px;
}
.otj-apply-btn:hover { background: var(--tj-c-accent-hover); }
.otj-apply-note { font-size: 12px; color: var(--tj-txt-muted); line-height: 1.5; }

/* Contact revealed (inline fallback for non-modal mode) */
.otj-contact-revealed {
  background: var(--tj-c-success-light);
  border-radius: var(--tj-r-md);
  padding: 18px;
  margin-top: 16px;
}
.otj-contact-revealed-title { font-size: 14px; font-weight: 700; color: var(--tj-c-success); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.otj-contact-revealed p { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.6; margin-bottom: 6px; }
.otj-contact-revealed a { color: var(--tj-c-primary); font-weight: 700; text-decoration: underline; }
.otj-contact-revealed.hidden { display: none; }
.otj-contact-warning { background: var(--tj-c-accent-light); border-radius: var(--tj-r-md); padding: 12px; margin-top: 12px; font-size: 12px; color: var(--tj-c-accent-hover); line-height: 1.5; }
.otj-contact-apply { cursor: pointer; }

/* Partner apply */
.otj-partner-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--tj-bg-muted); border-radius: var(--tj-r-md); padding: 8px 14px; font-size: 13px; color: var(--tj-txt-secondary); margin-bottom: 16px; }
.otj-partner-badge svg { width: 14px; height: 14px; }

/* Related jobs sidebar */
.otj-sidebar-card {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-lg);
  padding: 24px;
  box-shadow: var(--tj-sh-sm);
}
.otj-sidebar-card-title { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.otj-sidebar-job { padding: 12px 0; border-bottom: 1px solid var(--tj-bdr-light); }
.otj-sidebar-job:last-child { border-bottom: none; padding-bottom: 0; }
.otj-sidebar-job-title { font-size: 14px; font-weight: 700; color: var(--tj-c-primary); margin-bottom: 2px; transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-sidebar-job-title:hover { color: var(--tj-c-accent); }
.otj-sidebar-job-company { font-size: 12px; color: var(--tj-txt-muted); }
.otj-sidebar-job-meta { font-size: 12px; color: var(--tj-txt-muted); margin-top: 4px; }

/* ===== FILTER BAR (jobs page) — pill tabs ===== */
.otj-filter-bar { background: var(--tj-bg-surface); border-bottom: 1px solid var(--tj-bdr-default); padding: 14px 0; position: sticky; top: 64px; z-index: 50; }
.otj-filter-bar-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.otj-filter-pill {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-pill);
  color: var(--tj-txt-secondary);
  background: var(--tj-bg-surface);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--tj-dur-fast) var(--tj-ease);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}
.otj-filter-pill:focus { border-color: var(--tj-bdr-focus); outline: none; }
.otj-filter-pill.active { background: var(--tj-c-primary); color: var(--tj-txt-inverse); border-color: var(--tj-c-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M2 3.5l3 3 3-3'/%3E%3C/svg%3E"); }
.otj-filter-count { font-size: 14px; color: var(--tj-txt-muted); margin-left: auto; white-space: nowrap; }

/* ===== PAGINATION ===== */
.otj-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 36px 0; }
.otj-pagination a, .otj-pagination span {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: var(--tj-r-pill);
  color: var(--tj-txt-secondary);
  transition: all var(--tj-dur-fast) var(--tj-ease);
}
.otj-pagination a:hover { background: var(--tj-bg-muted); color: var(--tj-txt-primary); }
.otj-pagination .active { background: var(--tj-c-primary); color: var(--tj-txt-inverse); font-weight: 700; }
.otj-pagination .disabled { color: var(--tj-txt-muted); pointer-events: none; }

/* ===== BREADCRUMB (subpages) ===== */
.otj-breadcrumb { font-size: 13px; color: var(--tj-txt-muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 16px 0 0; }
.otj-breadcrumb a { color: var(--tj-txt-muted); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-breadcrumb a:hover { color: var(--tj-txt-link-hover); }

/* ===== MOBILE STICKY APPLY BUTTON ===== */
.otj-mobile-apply { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--tj-bg-surface); border-top: 1px solid var(--tj-bdr-default); padding: 12px 16px; z-index: 90; box-shadow: 0 -2px 10px rgba(26,60,52,0.08); }
.otj-mobile-apply .otj-apply-btn { margin-bottom: 0; }

/* ===== JOB DETAIL PREV/NEXT NAVIGATION ===== */
.otj-detail-pagination { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--tj-bdr-default); padding-top: 24px; margin-top: 36px; gap: 16px; }
.otj-detail-pagination a { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--tj-txt-secondary); padding: 12px 18px; border: 1.5px solid var(--tj-bdr-default); border-radius: var(--tj-r-pill); transition: all var(--tj-dur-fast) var(--tj-ease); max-width: 48%; }
.otj-detail-pagination a:hover { border-color: var(--tj-c-accent); color: var(--tj-c-accent); }
.otj-detail-pagination a div { display: flex; flex-direction: column; gap: 2px; }
.otj-detail-pagination .pag-label { font-size: 11px; color: var(--tj-txt-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.otj-detail-pagination .pag-title { font-weight: 700; color: var(--tj-txt-primary); font-size: 14px; line-height: 1.35; }
.otj-detail-pagination a svg { color: var(--tj-txt-muted); flex-shrink: 0; }

/* ===== CONTACT FORM ===== */
.otj-contact-form-wrapper { max-width: 600px; margin: 0 auto; }
.otj-contact-form { display: flex; flex-direction: column; gap: 0; }
.otj-contact-form .otj-input-block { margin-bottom: 20px; }
.otj-contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--tj-txt-primary); margin-bottom: 6px; }
.otj-contact-form input, .otj-contact-form select, .otj-contact-form textarea {
  width: 100%; padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--tj-bdr-default);
  border-radius: var(--tj-r-md);
  color: var(--tj-txt-primary); outline: none;
  transition: border-color var(--tj-dur-fast) var(--tj-ease), box-shadow var(--tj-dur-fast) var(--tj-ease);
  background: var(--tj-bg-surface);
  font-family: var(--tj-f-body);
}
.otj-contact-form input:focus, .otj-contact-form select:focus, .otj-contact-form textarea:focus { border-color: var(--tj-bdr-focus); box-shadow: 0 0 0 3px rgba(26,60,52,0.08); }
.otj-contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237A8F88' stroke-width='2'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.otj-contact-form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.otj-contact-form .otj-btn-primary { width: 100%; justify-content: center; margin-top: 4px; border: none; font-size: 16px; padding: 14px 24px; }
.otj-contact-response-time { text-align: center; font-size: 13px; color: var(--tj-txt-muted); margin-top: 16px; }

/* ===== Q&A CONTENT FILTER WARNING ===== */
.otj-qa-warning {
  display: none;
  align-items: flex-start;
  gap: 8px;
  background: #FEF9E7;
  border: 1.5px solid #F5C518;
  border-radius: var(--tj-r-md);
  padding: 12px 14px;
  margin-top: 8px;
  font-size: 13px;
  color: #7A6200;
  line-height: 1.5;
}
.otj-qa-warning.show { display: flex; }
.otj-qa-warning svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: #B45309; }

/* ===== TEFL TIPS CARDS ===== */
.otj-tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.otj-tip-card {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-lg);
  padding: 24px;
  box-shadow: var(--tj-sh-sm);
  transition: transform var(--tj-dur-fast) var(--tj-ease), box-shadow var(--tj-dur-fast) var(--tj-ease);
  display: flex; flex-direction: column; gap: 10px;
}
.otj-tip-card:hover { transform: translateY(-2px); box-shadow: var(--tj-sh-md); }
.otj-tip-card-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tj-c-accent); }
.otj-tip-card-title { font-size: 16px; font-weight: 700; color: var(--tj-txt-primary); line-height: 1.35; }
.otj-tip-card-body { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.55; flex: 1; }
.otj-tip-card-link { font-size: 13px; font-weight: 700; color: var(--tj-c-accent); display: flex; align-items: center; gap: 4px; transition: gap var(--tj-dur-fast) var(--tj-ease); }
.otj-tip-card-link:hover { gap: 8px; }

/* ===== TEFL PROVIDERS ===== */
.otj-provider-list { display: flex; flex-direction: column; gap: 16px; }
.otj-provider-card {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-lg);
  padding: 28px;
  box-shadow: var(--tj-sh-sm);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: start;
}
.otj-provider-card.otj-highlighted { border: 2px solid var(--tj-c-accent); }
.otj-provider-rank {
  width: 44px; height: 44px;
  background: var(--tj-bg-muted);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  color: var(--tj-txt-muted);
}
.otj-provider-card.otj-highlighted .otj-provider-rank { background: var(--tj-c-accent-light); color: var(--tj-c-accent); }
.otj-provider-info h3 { font-size: 18px; font-weight: 700; color: var(--tj-txt-primary); margin: 4px 0; }
.otj-provider-score { font-size: 13px; font-weight: 700; color: var(--tj-c-accent); margin-bottom: 8px; }
.otj-provider-desc { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.55; margin-bottom: 10px; }
.otj-provider-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.otj-provider-tag { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--tj-r-pill); background: var(--tj-bg-sidebar); color: var(--tj-c-primary-light); }
.otj-provider-action {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.otj-provider-visit {
  font-size: 13px; font-weight: 700;
  color: var(--tj-c-accent);
  padding: 8px 20px;
  border: 2px solid var(--tj-c-accent);
  border-radius: var(--tj-r-pill);
  transition: all var(--tj-dur-fast) var(--tj-ease);
  white-space: nowrap;
}
.otj-provider-visit:hover { background: var(--tj-c-accent); color: var(--tj-txt-inverse); }

/* ===== Q&A LIST ===== */
.otj-qa-list { display: flex; flex-direction: column; gap: 14px; }
.otj-qa-card {
  background: var(--tj-bg-surface);
  border-radius: var(--tj-r-lg);
  padding: 22px;
  box-shadow: var(--tj-sh-sm);
  transition: transform var(--tj-dur-fast) var(--tj-ease), box-shadow var(--tj-dur-fast) var(--tj-ease);
}
.otj-qa-card:hover { transform: translateY(-2px); box-shadow: var(--tj-sh-md); }
.otj-qa-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.otj-qa-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.qa-avatar-1 { background: #2D8B5E; }
.qa-avatar-2 { background: #E06B3A; }
.qa-avatar-3 { background: #3B82F6; }
.qa-avatar-4 { background: #8B5CF6; }
.qa-avatar-5 { background: #0891B2; }
.otj-qa-name { font-size: 13px; font-weight: 700; color: var(--tj-txt-primary); }
.otj-qa-time { font-size: 11px; color: var(--tj-txt-muted); }
.otj-qa-card-title { font-size: 16px; font-weight: 700; color: var(--tj-txt-primary); line-height: 1.35; margin-bottom: 6px; }
.otj-qa-card-body { font-size: 14px; color: var(--tj-txt-secondary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.otj-qa-card-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.otj-qa-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.otj-qa-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--tj-r-pill); background: var(--tj-bg-sidebar); color: var(--tj-c-primary-light); }
.otj-qa-answers { font-size: 12px; font-weight: 700; color: var(--tj-c-accent); margin-left: auto; }
.otj-qa-votes { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--tj-txt-muted); }
.otj-qa-vote-btn {
  width: 24px; height: 24px;
  border-radius: var(--tj-r-sm);
  border: 1px solid var(--tj-bdr-default);
  background: var(--tj-bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all var(--tj-dur-fast) var(--tj-ease);
}
.otj-qa-vote-btn:hover { border-color: var(--tj-c-accent); color: var(--tj-c-accent); }

/* ===== SUBPAGE HEADER/FOOTER COMPATIBILITY ===== */
.otj-site-header { position: sticky; top: 0; z-index: 100; background: var(--tj-bg-surface); border-bottom: 1px solid var(--tj-bdr-default); }
.otj-site-header .otj-topbar-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.otj-site-header .otj-logo-text { font-family: var(--tj-f-body); font-size: 22px; color: var(--tj-c-primary); display: inline-flex; align-items: baseline; }
.otj-site-header .otj-logo-text .otj-logo-thin { font-weight: 300; font-size: 17px; }
.otj-site-header .otj-logo-text .otj-logo-bold { font-weight: 700; font-size: 24px; }
.otj-site-header .otj-logo-text .otj-logo-dot { font-weight: 400; font-size: 17px; color: var(--tj-c-accent); }
.otj-site-header .otj-main-nav { display: flex; align-items: center; gap: 28px; }
.otj-site-header .otj-main-nav a { font-size: 14px; font-weight: 600; color: var(--tj-txt-primary); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-site-header .otj-main-nav a:hover { color: var(--tj-txt-link-hover); }
.otj-site-header .otj-main-nav .otj-btn-nav { color: var(--tj-c-accent); }
.otj-site-header .otj-hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: var(--tj-r-md); }
.otj-site-header .otj-hamburger:hover { background: var(--tj-bg-muted); }
.otj-site-header .otj-hamburger span { display: block; width: 20px; height: 2px; background: var(--tj-txt-primary); border-radius: 2px; }

/* Subpage mobile drawer */
.otj-mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--tj-bg-surface); z-index: 201; transform: translateX(100%); transition: transform var(--tj-dur-normal) var(--tj-ease); padding: 20px; }
.otj-mobile-drawer.open { transform: translateX(0); }
.otj-mobile-drawer .otj-drawer-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 24px; border-radius: var(--tj-r-md); font-size: 24px; color: var(--tj-txt-secondary); }
.otj-mobile-drawer .otj-drawer-close:hover { background: var(--tj-bg-muted); }
.otj-mobile-drawer .otj-drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.otj-mobile-drawer .otj-drawer-nav a { display: block; padding: 12px 16px; font-size: 16px; font-weight: 600; color: var(--tj-txt-primary); border-radius: var(--tj-r-md); transition: background var(--tj-dur-fast) var(--tj-ease); }
.otj-mobile-drawer .otj-drawer-nav a:hover { background: var(--tj-bg-muted); }
.otj-mobile-drawer .otj-drawer-nav .otj-btn-nav { color: var(--tj-c-accent); font-weight: 700; margin-top: 8px; border-top: 1px solid var(--tj-bdr-default); padding-top: 16px; }
.otj-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(26,60,52,0.45); z-index: 200; }
.otj-drawer-overlay.open { display: block; }

/* Subpage otj-bottom-bar */
.otj-site-footer { background: var(--tj-bg-muted); color: var(--tj-txt-primary); padding: 56px 0 28px; }
.otj-site-footer .otj-bottom-top { text-align: center; margin-bottom: 36px; }
.otj-site-footer .otj-bottom-brand { font-family: var(--tj-f-body); font-size: 20px; color: var(--tj-c-primary); margin-bottom: 8px; display: inline-flex; align-items: baseline; }
.otj-site-footer .otj-bottom-brand .otj-logo-thin { font-weight: 300; font-size: 16px; color: var(--tj-c-primary); }
.otj-site-footer .otj-bottom-brand .otj-logo-bold { font-weight: 700; font-size: 22px; color: var(--tj-c-primary); }
.otj-site-footer .otj-bottom-brand .otj-logo-dot { font-weight: 400; font-size: 16px; color: var(--tj-c-accent); }
.otj-site-footer .otj-bottom-tagline { font-size: 14px; color: var(--tj-txt-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }
.otj-site-footer .otj-bottom-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--tj-bdr-default); }
.otj-site-footer .otj-bottom-nav a { font-size: 13px; font-weight: 600; color: var(--tj-txt-secondary); transition: color var(--tj-dur-fast) var(--tj-ease); }
.otj-site-footer .otj-bottom-nav a:hover { color: var(--tj-c-accent); }
.otj-site-footer .otj-bottom-bottom { display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 12px; color: var(--tj-txt-muted); flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .otj-topbar-nav { display: none; }
  .otj-topbar-toggle { display: flex; }
  .otj-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .otj-banner-content { max-width: 100%; margin: 15px auto; }
  .otj-banner-illustration { display: none; }
  .otj-jobs-grid { grid-template-columns: 1fr; }
  .otj-guide-grid { grid-template-columns: 1fr; }
  .otj-trust-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .otj-tips-grid { grid-template-columns: repeat(2, 1fr); }
  .otj-detail-layout { grid-template-columns: 1fr; padding-bottom: 80px; }
  .otj-detail-sidebar { order: 1; }
  .otj-apply-box { position: static; display: none; }
  .otj-mobile-apply { display: block; }
  .otj-mobile-apply .otj-apply-btn { margin-bottom: 0; border-radius: var(--tj-r-pill); box-shadow: 0 4px 14px rgba(224,107,58,0.35); }
  .otj-detail-pagination { gap: 12px; }
  .otj-detail-pagination a { padding: 14px 16px; border-radius: var(--tj-r-lg); max-width: none; flex: 1; }
  .otj-detail-pagination a:first-child { justify-content: flex-start; }
  .otj-detail-pagination a:last-child { justify-content: flex-end; }
  .otj-detail-pagination a:last-child div { align-items: flex-end; }
  .otj-detail-pagination .pag-title { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .otj-provider-card { grid-template-columns: auto 1fr; }
  .otj-provider-action { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .otj-site-header .otj-main-nav { display: none; }
  .otj-site-header .otj-hamburger { display: flex; }
}
@media (max-width: 767px) {
  .otj-banner-inner { padding: 56px 0 64px; }
  .otj-jobs-grid { grid-template-columns: 1fr; }
  .otj-guide-grid { grid-template-columns: 1fr; }
  .otj-trust-grid { grid-template-columns: 1fr; }
  .otj-tips-grid { grid-template-columns: 1fr; }
  .otj-bottom-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .otj-section, .otj-cta-section { padding: 52px 0; }
  .otj-popup { padding: 28px 22px; }
  .otj-contact-popup { padding: 28px 22px; }
  .otj-filter-bar-inner { gap: 6px; }
  .otj-cta-inner { padding: 40px 24px; }
  .otj-provider-card { grid-template-columns: 1fr; }
  .otj-provider-rank { width: auto; height: auto; background: none; font-size: 13px; color: var(--tj-txt-muted); }
  .otj-site-footer .otj-bottom-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 639px) {
  .otj-shell { padding: 0 16px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.otj-animate { animation: fadeUp 0.5s var(--tj-ease) both; }
.otj-delay-1 { animation-delay: 0.1s; }
.otj-delay-2 { animation-delay: 0.2s; }
.otj-delay-3 { animation-delay: 0.3s; }

/* ===== JOB CARD FULL CLICKABLE ===== */
.otj-position-link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.otj-position-link:hover { text-decoration: none; }
.otj-contact-revealed.hidden { display: none; }
