/* ============================================================
   Marketing Remix — Main Stylesheet
   Fonts: Bricolage Grotesque (headings) + DM Sans (body)
   ============================================================ */

/* ------ CSS Variables ------ */
:root {
  --c-bg:          #F9F7F4;
  --c-surface:     #FFFFFF;
  --c-border:      #E8E4DE;
  --c-border-soft: #F0EDE8;
  --c-text:        #1A1714;
  --c-text-muted:  #7A746C;
  --c-accent:      #E8440A;
  --c-accent-hover:#C73508;
  --c-premium-bg:  #FFF8E6;
  --c-premium-border: #F5C842;
  --c-premium-badge:  #B8860B;
  --c-tag-bg:      #EEE9E2;
  --c-tag-text:    #4A4540;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.05);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w:        1100px;
  --max-w-narrow: 740px;
}

/* ------ Reset ------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ------ Layout ------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow {
  max-width: var(--max-w-narrow);
}

main.main-content {
  flex: 1;
  padding: 2.5rem 0 5rem;
}

/* ------ Header ------ */
.site-header {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: -.3px;
}
.logo-text strong { font-weight: 700; }

/* ------ Hero ------ */
/* ------ Section Cards ------ */
.section-cards-wrap {
  background: var(--c-surface);
  padding: 2.5rem 0 3rem;
}
.section-cards-intro {
  margin-bottom: 1.5rem;
}
.section-cards-intro h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-text);
  margin-bottom: .25rem;
}
.section-cards-intro p {
  font-size: 14px;
  color: var(--c-text-muted);
}
.section-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.section-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.section-card--on:hover {
  border-color: #C0BAB2;
  box-shadow: var(--shadow-md);
}
.section-card--active {}
.section-card--off {
  background: #fff;
  cursor: default;
}
.section-card__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .35rem;
  font-family: var(--font-display);
  letter-spacing: -.01em;
}
.section-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
  flex: 1;
}
.section-card__coming {
  display: inline-block;
  margin-top: .75rem;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-text-muted);
  background: var(--c-border);
  border-radius: 10px;
  padding: 2px 8px;
}
.section-card__arrow {
  margin-top: .85rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
}
@media (max-width: 700px) {
  .section-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .section-cards { grid-template-columns: 1fr; }
}

/* ------ Section heading ------ */
.section-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  color: var(--c-text);
}

/* ------ More jobs link ------ */
.more-jobs-link {
  margin-top: 1.5rem;
  text-align: center;
}

/* ------ Hero tagline ------ */
.hero-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .5rem;
}

.hero {
  background: var(--c-surface);
  padding: 4.5rem 0 4rem;
}
.hero-content {}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--c-text);
  margin-bottom: .75rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 99px;
  padding: .3rem .8rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
}

/* ------ Filter bar ------ */
.filter-bar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: .85rem 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
  min-width: 140px;
}
.filter-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-text-muted);
}
.filter-select {
  height: 38px;
  padding: 0 2rem 0 .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A746C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .7rem center;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-text);
  cursor: pointer;
  width: 100%;
}
.filter-select:focus { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.filter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  flex-shrink: 0;
}
.filter-meta .jobs-count {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  height: 38px;
  padding: 0 .9rem;
  background: var(--c-tag-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, color .12s, border-color .12s;
}
.filter-clear:hover {
  background: #fde8e2;
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.filter-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--c-text-muted);
}
.filter-clear-link {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: inherit;
  color: var(--c-accent);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* ------ Jobs List ------ */
.jobs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.jobs-count {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-text-muted);
}
.jobs-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.jobs-pagination__btn {
  min-width: 200px;
}
.jobs-pagination__count {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-text-muted);
  margin-left: .4rem;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ------ Job Card ------ */
.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.job-card:hover {
  border-color: #C0BAB2;
  box-shadow: var(--shadow-md);
}

/* Premium: 3-col grid to accommodate logo */
.job-card--premium {
  grid-template-columns: 52px 1fr auto;
  background: var(--c-premium-bg);
  border-color: var(--c-premium-border);
  border-left-width: 4px;
}
.job-card--premium:hover {
  border-color: #E8B800;
  box-shadow: var(--shadow-md);
}

/* Old absolute badge — hidden, replaced by inline version */
.premium-badge { display: none; }

/* Logo cell */
.job-card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}
.job-card__logo img { width: 100%; height: 100%; object-fit: contain; }

.logo-placeholder {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--c-text-muted);
  text-transform: uppercase;
}
.logo-placeholder--lg {
  width: 60px;
  height: 60px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Body cell */
.job-card__body { min-width: 0; }
.job-card__meta {
  font-size: 12.5px;
  color: var(--c-text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin-bottom: .2rem;
}
.job-sep { color: var(--c-border); }
.job-company { font-weight: 500; }
.job-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: .3rem;
  white-space: normal;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-top: .35rem;
}
.tag {
  display: inline-block;
  background: var(--c-tag-bg);
  color: var(--c-tag-text);
  border-radius: 4px;
  padding: .15rem .5rem;
  font-size: 11.5px;
  font-weight: 500;
}
.tag--md { font-size: 13px; padding: .25rem .65rem; }

/* Aside cell */
.job-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  flex-shrink: 0;
}
.job-age {
  font-size: 12px;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.job-arrow {
  font-size: 16px;
  color: var(--c-text-muted);
  transition: transform .15s ease, color .15s ease;
}
.job-card:hover .job-arrow { transform: translateX(3px); color: var(--c-accent); }

/* ------ Job Detail Page ------ */
.breadcrumb-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: .6rem 0;
  font-size: 13px;
}
.breadcrumb-bar a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumb-bar a:hover { color: var(--c-accent); }

.job-detail {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.job-detail--premium {
  border-color: var(--c-premium-border);
  background: var(--c-premium-bg);
}

.job-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.job-detail__logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-detail__logo img { width: 100%; height: 100%; object-fit: contain; }

.job-detail__intro { flex: 1; }
.job-detail__intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: .5rem;
}
.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  font-size: 13.5px;
  color: var(--c-text-muted);
}

.job-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}

.job-detail__description {
  font-size: 15.5px;
  margin-bottom: 2.5rem;
}

.job-detail__cta { text-align: center; }
.cta-note {
  margin-top: .6rem;
  font-size: 12.5px;
  color: var(--c-text-muted);
}

.back-link {
  text-align: center;
  font-size: 13.5px;
  color: var(--c-text-muted);
}
.back-link a { color: var(--c-text-muted); transition: color .15s; }
.back-link a:hover { color: var(--c-accent); }

/* ------ Buttons ------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-outline:hover { border-color: var(--c-text); }
.btn-ghost {
  background: transparent;
  color: var(--c-text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--c-text); }
.btn-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.btn-danger:hover { background: #b91c1c; }
.btn-sm { font-size: 12.5px; padding: .35rem .8rem; }
.btn-lg { font-size: 16px; padding: .8rem 2rem; border-radius: var(--radius-md); font-weight: 600; }

/* ------ Forms ------ */
.form-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.form-page-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .5rem;
}
.form-page-header p { color: var(--c-text-muted); font-size: 15px; }

.job-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text);
}
.req { color: var(--c-accent); }
.field-hint {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: .1rem;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: .6rem .85rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  color: var(--c-text);
  transition: border-color .15s;
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-accent); }
textarea { resize: vertical; line-height: 1.6; }

.tag-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tag-checkbox {
  cursor: pointer;
}
.tag-checkbox input { display: none; }
.tag-checkbox span {
  display: inline-block;
  background: var(--c-tag-bg);
  color: var(--c-tag-text);
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: .25rem .65rem;
  font-size: 13px;
  font-weight: 500;
  transition: all .12s;
}
.tag-checkbox input:checked + span {
  background: #fde8e0;
  color: var(--c-accent);
  border-color: var(--c-accent);
}

.form-submit { padding-top: .5rem; }

.error-box {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: #991B1B;
}
.error-box ul { padding-left: 1.2rem; margin-top: .35rem; }
.success-box {
  background: #F0FDF4;
  border: 1.5px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: .85rem 1.25rem;
  font-size: 14px;
  color: #065F46;
  margin-bottom: 1rem;
}

.success-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .6rem;
}
.success-card p { color: var(--c-text-muted); margin-bottom: 1.5rem; }

/* ------ Footer ------ */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 1.5rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-brand { font-size: 13.5px; color: var(--c-text-muted); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a {
  font-size: 13.5px;
  color: var(--c-text-muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--c-accent); }

/* ------ Empty State ------ */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--c-text-muted);
  font-size: 15px;
}

/* ------ Misc Utils ------ */
.text-muted { color: var(--c-text-muted); }

/* ------ Login Page ------ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--c-bg);
}
.login-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.login-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
  justify-content: center;
}
.login-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}

/* ------ Responsive ------ */
@media (max-width: 600px) {
  .filter-bar { flex-direction: column; }
  .filter-group { min-width: 0; width: 100%; }
  .filter-group--channel { display: none; }
  .filter-meta { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

@media (max-width: 700px) {

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 2rem 0 1.75rem; }
  .hero-sub { font-size: 15px; }
  .hero-badges { gap: .4rem; }
  .badge { font-size: 12px; padding: .25rem .65rem; }

  /* Job list header */
  .jobs-header { margin-bottom: 1rem; }

  /* Standard job card */
  .job-card {
    grid-template-columns: 1fr auto;
    gap: .6rem;
    padding: 1rem;
    align-items: start;
  }

  /* Premium card — keep logo but smaller */
  .job-card--premium {
    grid-template-columns: 40px 1fr auto;
  }
  .job-card__logo {
    width: 40px;
    height: 40px;
  }

  /* Job card meta — wrap freely so employer/location/salary aren't truncated */
  .job-card__meta {
    font-size: 12.5px;
    gap: .2rem .4rem;
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }
  .job-sep { display: inline; }
  .job-location, .job-salary {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  /* Tags — hidden on mobile to free up space */
  .job-tags { display: none; }

  /* Job title */
  .job-title {
    font-size: 14.5px;
    white-space: normal;
    margin-bottom: .25rem;
  }

  /* Aside — stack vertically, align right */
  .job-card__aside {
    gap: .35rem;
    align-items: flex-end;
  }
  .job-age { font-size: 11px; }
  .view-job-cta { font-size: 11px; padding: .3rem .6rem; }

  /* Job detail page */
  .job-detail { padding: 1.25rem; border-radius: var(--radius-md); }
  .job-detail__header { flex-direction: column; gap: .75rem; }
  .job-detail__intro h1 { font-size: 1.4rem; }

  /* Footer — single column, links wrap neatly */
  .site-footer { padding: 1.25rem 0; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .75rem;
  }
  .footer-links a { font-size: 12.5px; }

  /* Articles hub */
  .article-card { padding: 1rem; }
  .article-card__title { font-size: 15px; }
}



/* ------ Coloured tags — PHP class based ------ */
.tag-owned-social    { background: #EDE9FE; color: #5B21B6; border: 1px solid #C4B5FD; }
.tag-paid-search     { background: #DBEAFE; color: #1D4ED8; border: 1px solid #93C5FD; }
.tag-paid-social     { background: #E0F2FE; color: #0369A1; border: 1px solid #7DD3FC; }
.tag-seo             { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.tag-pr              { background: #FCE7F3; color: #9D174D; border: 1px solid #F9A8D4; }
.tag-copywriting     { background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; }
.tag-content         { background: #FFEDD5; color: #C2410C; border: 1px solid #FDB272; }
.tag-events          { background: #F3E8FF; color: #7E22CE; border: 1px solid #D8B4FE; }
.tag-crm             { background: #ECFDF5; color: #047857; border: 1px solid #6EE7B7; }
.tag-email-marketing { background: #FEF9C3; color: #854D0E; border: 1px solid #FDE047; }
.tag-influencer      { background: #FDF2F8; color: #BE185D; border: 1px solid #F9A8D4; }
.tag-brand           { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.tag-strategy        { background: #F0FDF4; color: #166534; border: 1px solid #86EFAC; }
.tag-analytics       { background: #F0F9FF; color: #0C4A6E; border: 1px solid #7DD3FC; }
.tag-video           { background: #FFF1F2; color: #BE123C; border: 1px solid #FECDD3; }
.tag-design          { background: #FDF4FF; color: #86198F; border: 1px solid #E879F9; }

/* ------ View Job CTA pill ------ */
.view-job-cta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 99px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.job-card:hover .view-job-cta {
  background: var(--c-accent-hover);
  transform: translateX(2px);
}

/* ------ Promoted post option (submission form) ------ */
.promoted-option {
  border: 2px solid var(--c-premium-border);
  border-radius: var(--radius-md);
  background: var(--c-premium-bg);
  overflow: hidden;
}
.promoted-option__label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  cursor: pointer;
}
.promoted-option__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--c-accent);
  cursor: pointer;
}
.promoted-option__content { flex: 1; }
.promoted-option__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .4rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.promoted-option__top strong { font-size: 15px; color: var(--c-text); }
.promoted-price-tag {
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 99px;
}
.promoted-option__content p {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* ------ Logo upload panel (revealed on Promoted Post) ------ */
.logo-upload-optional {
  font-weight: 400;
  color: var(--c-text-muted);
}
.logo-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.5rem 1rem;
  border: 1.5px dashed var(--c-premium-border);
  border-radius: var(--radius-md);
  background: var(--c-premium-bg);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s;
}
.logo-upload-dropzone:hover {
  border-color: var(--c-premium-badge);
  background: #fff6d6;
}
.logo-upload-dropzone__icon {
  font-size: 1.75rem;
  line-height: 1;
}
.logo-upload-dropzone__main {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
}
.logo-upload-dropzone__meta {
  font-size: 12px;
  color: var(--c-text-muted);
}
.logo-upload-input {
  display: none;
}

/* ------ Content pages & articles ------ */
.content-page { padding: 2.5rem 0 4rem; }
.content-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.article-meta { margin-bottom: .75rem; }
.article-date {
  font-size: 13px;
  color: var(--c-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-excerpt {
  font-size: 18px;
  color: var(--c-text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
}

/* ------ Prose (rendered markdown) ------ */
.prose { font-size: 16px; line-height: 1.8; color: var(--c-text); }
.prose h1, .prose h2, .prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  line-height: 1.2;
}
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; }
.prose p { margin-bottom: 1.25rem; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { line-height: 1.7; }
.prose blockquote {
  border-left: 3px solid var(--c-accent);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--c-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--c-text-muted);
}
.prose hr { border: none; border-top: 1px solid var(--c-border); margin: 2rem 0; }

/* ------ Nav link (non-button) ------ */
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: .35rem .5rem;
  transition: color .15s;
}
.nav-link:hover,
.nav-link--active { color: var(--c-text); }

/* ------ Green Read more pill ------ */
.view-job-cta--green {
  background: #16A34A;
}
.job-card:hover .view-job-cta--green,
.article-card:hover .view-job-cta--green {
  background: #15803D;
}

/* ------ Hero small variant ------ */
.hero--sm {
  padding: 2.5rem 0 2rem;
}
.hero--sm h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .5rem;
}

/* ------ Article hub list ------ */
.article-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
/* ------ Tools grid ------ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.tool-card__header {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.tool-card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 1px solid var(--c-border);
  background: #fff;
  flex-shrink: 0;
}
.tool-card__logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-muted);
  flex-shrink: 0;
}
.tool-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .25rem;
}
.tool-card__meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.tool-card__rating { display: flex; gap: 2px; }
.star { font-size: 15px; }
.star--on  { color: #F5A623; }
.star--off { color: var(--c-border); }
.tool-card__desc {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* ------ Review rating ------ */
.review-rating {
  margin: .75rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  display: inline-flex;
  flex-direction: column;
  gap: .35rem;
}
.review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.review-stars .star { font-size: 20px; }
.review-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  margin-left: .5rem;
}
.review-verdict {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin: 0;
}

/* ------ Audience tag ------ */
.audience-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: .6rem;
}
.audience-tag--job_seekers {
  background: #E8F4EC;
  color: #1A6B35;
}
.audience-tag--recruiters {
  background: #E8EEFF;
  color: #1A3B8B;
}

.article-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.article-card:hover {
  border-color: #C0BAB2;
  box-shadow: var(--shadow-md);
}
.article-card__body { width: 100%; }
.article-card .view-job-cta { margin-top: 1rem; align-self: flex-start; }
.article-card__body { flex: 1; min-width: 0; }
.article-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.article-card__excerpt {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* ------ Nav spacing fix ------ */
.header-nav {
  gap: 1rem;
}

/* ------ Hamburger menu (mobile) ------ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.hamburger:hover { background: var(--c-tag-bg); }
.hamburger__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
/* Animated X state */
.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: .75rem 1.5rem 1rem;
  gap: .25rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link {
  display: block;
  padding: .55rem 0;
  font-size: 15px;
  border-bottom: 1px solid var(--c-border-soft);
}
.mobile-nav .nav-link:last-of-type { border-bottom: none; }

@media (max-width: 680px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
}

/* ------ Inline Featured badge (next to salary) ------ */
.premium-badge-inline {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-premium-badge);
  background: rgba(245,200,66,.25);
  border: 1px solid rgba(245,200,66,.6);
  border-radius: 4px;
  padding: .1rem .45rem;
  white-space: nowrap;
}

/* ------ Articles hub list spacing ------ */
.article-card__excerpt {
  margin-top: .4rem;
}


/* ------ Articles hub — wider container ------ */
.container--articles {
  max-width: 900px;
}

/* article-card--stacked now handled by base .article-card */

/* ------ Free Courses page ------ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.course-card:hover {
  border-color: #C0BAB2;
  box-shadow: var(--shadow-md);
}
.course-card__body { flex: 1; }
.course-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--c-accent);
  margin-bottom: .5rem;
}
.course-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: .5rem;
  color: var(--c-text);
}
.course-card__desc {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}
.course-card__cta {
  margin-top: 1.25rem;
  align-self: flex-start;
  text-decoration: none;
}
@media (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .courses-grid { grid-template-columns: 1fr; }
}

/* ------ Recent Articles (homepage) ------ */
.recent-articles-section {
  padding: 3.5rem 0;
}
.recent-articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.recent-articles-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin: 0;
}
.recent-articles-subtitle {
  font-size: 14.5px;
  color: var(--c-text-muted);
  margin: .3rem 0 0;
}
.recent-articles-all {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.recent-articles-all:hover { text-decoration: underline; }
.recent-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.recent-article-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.recent-article-card:hover {
  border-color: #C0BAB2;
  box-shadow: var(--shadow-md);
}
.recent-article-card__body {
  flex: 1;
}
.recent-article-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: .5rem;
  color: var(--c-text);
}
.recent-article-card__excerpt {
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin: 0;
}
.recent-article-card__cta {
  margin-top: 1.25rem;
  align-self: flex-start;
}
@media (max-width: 700px) {
  .recent-articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ------ FAQ Section ------ */
.faq-section {
  background: var(--c-surface);
  padding: 4rem 0;
}
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 1.75rem;
  color: var(--c-text);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 760px;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  transition: background .15s;
}
.faq-question:hover { background: var(--c-border-soft); }
.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--c-text-muted);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--c-border-soft);
}
.faq-answer p { margin-top: .75rem; }
.faq-answer a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.faq-item.open .faq-answer { display: block; }

/* ------ Expired job notice ------ */
.expired-notice {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.expired-notice__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.expired-notice__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .75rem;
  color: var(--c-text);
}
.expired-notice__body {
  color: var(--c-text-muted);
  font-size: 15px;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ------ Related jobs ------ */
.related-jobs {
  margin-top: 2rem;
}
.related-jobs__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  color: var(--c-text);
}

/* ------ Article CTA ------ */
.article-cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
}
.article-cta__inner {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.article-cta__inner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: .6rem;
  color: var(--c-text);
}
.article-cta__inner p {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ------ Example premium card on post-a-job ------ */
.example-premium-card {
  margin: 1rem 0 2rem;
}
.example-premium-card__inner {
  opacity: .9;
}
.example-premium-card__label {
  font-size: 12.5px;
  color: var(--c-text-muted);
  margin-top: .6rem;
  text-align: center;
}
