/* ==========================================================================
   ProHire Job Portal — Public Stylesheet
   Design system: "Executive Kinetic" (deep blue corporate / minimalist)
   ========================================================================== */

:root {
  --ph-on-secondary-fixed-variant: #2f31b8;
  --ph-on-secondary: #ffffff;
  --ph-outline-variant: #c6c5d7;
  --ph-inverse-surface: #372e31;
  --ph-on-background: #211a1d;
  --ph-secondary-fixed-dim: #c0c1ff;
  --ph-on-tertiary-container: #9694f0;
  --ph-on-primary: #ffffff;
  --ph-primary-container: #1412ad;
  --ph-tertiary: #150b6a;
  --ph-tertiary-fixed: #e2dfff;
  --ph-on-tertiary: #ffffff;
  --ph-tertiary-fixed-dim: #c3c0ff;
  --ph-on-error-container: #93000a;
  --ph-on-secondary-container: #fffbff;
  --ph-primary: #04007b;
  --ph-on-primary-fixed: #03006d;
  --ph-surface: #fff8f8;
  --ph-error: #ba1a1a;
  --ph-on-secondary-fixed: #05006c;
  --ph-secondary: #474ace;
  --ph-surface-container-lowest: #ffffff;
  --ph-secondary-container: #6065e8;
  --ph-on-surface: #211a1d;
  --ph-surface-dim: #e5d6da;
  --ph-tertiary-container: #2c287f;
  --ph-outline: #767686;
  --ph-inverse-primary: #bfc1ff;
  --ph-primary-fixed-dim: #bfc1ff;
  --ph-background: #fff8f8;
  --ph-surface-container-highest: #eddfe3;
  --ph-inverse-on-surface: #fcedf1;
  --ph-on-primary-container: #8f94ff;
  --ph-surface-bright: #fff8f8;
  --ph-on-tertiary-fixed-variant: #3e3b91;
  --ph-primary-fixed: #e1e0ff;
  --ph-on-surface-variant: #454554;
  --ph-surface-variant: #eddfe3;
  --ph-surface-container-high: #f3e4e9;
  --ph-surface-container-low: #fff0f4;
  --ph-on-error: #ffffff;
  --ph-secondary-fixed: #e1e0ff;
  --ph-surface-container: #f9eaee;
  --ph-surface-tint: #464cd5;
  --ph-error-container: #ffdad6;
  --ph-on-primary-fixed-variant: #2c2fbd;
  --ph-on-tertiary-fixed: #0f0366;

  --ph-radius-sm: 0.125rem;
  --ph-radius: 0.25rem;
  --ph-radius-lg: 0.5rem;
  --ph-radius-full: 0.75rem;

  /* Button colors — overridable via Settings > Styling Settings > Buttons. */
  --ph-button-bg: var(--ph-primary);
  --ph-button-text: var(--ph-on-primary);
  --ph-button-hover-bg: var(--ph-primary-container);
  --ph-button-hover-text: var(--ph-on-primary);

  --ph-gutter: 24px;
  --ph-margin-mobile: 16px;
  --ph-margin-desktop: 64px;
  --ph-container-max: 1280px;

  --ph-font-display: 'Hanken Grotesk', system-ui, sans-serif;
  --ph-font-label: 'Geist', system-ui, sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Reset / Base                                                          */
/* ---------------------------------------------------------------------- */

.prohire-root, .prohire-root * {
  box-sizing: border-box;
}

.prohire-root {
  font-family: var(--ph-font-display);
  color: var(--ph-on-surface);
  background: var(--ph-background);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  /* Cross-theme safety: never overflow the theme's content column.
     (No overflow-x:hidden here — it would break position:sticky on the
     filter sidebar / details aside further down the tree.) */
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Media never breaks the layout, whatever the active theme does. */
.prohire-root img,
.prohire-root video,
.prohire-root svg {
  max-width: 100%;
  height: auto;
}

/* Neutralize theme button defaults so plugin button classes render predictably. */
.prohire-root button {
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  text-transform: none;
  line-height: normal;
}

/* Long headings/titles wrap instead of forcing horizontal scroll on narrow themes. */
.prohire-root h1,
.prohire-root h2,
.prohire-root h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.prohire-root a {
  color: inherit;
  text-decoration: none;
}

.prohire-root input,
.prohire-root select,
.prohire-root textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--ph-on-surface);
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.prohire-container {
  max-width: var(--ph-container-max);
  margin: 0 auto;
  padding: 0 var(--ph-margin-mobile);
}

@media (min-width: 768px) {
  .prohire-container {
    padding: 0 var(--ph-margin-desktop);
  }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                               */
/* ---------------------------------------------------------------------- */

.prohire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ph-radius-lg);
  font-family: var(--ph-font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  /* Default: configurable button background/text — applies to every button variant. */
  background: var(--ph-button-bg);
  color: var(--ph-button-text);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.prohire-btn:hover {
  background: var(--ph-button-hover-bg);
  color: var(--ph-button-hover-text);
}

.prohire-btn:active {
  transform: scale(0.97);
}

.prohire-btn-primary {
  background: var(--ph-button-bg);
  color: var(--ph-button-text);
}
.prohire-btn-primary:hover {
  background: var(--ph-button-hover-bg);
  color: var(--ph-button-hover-text);
}
.prohire-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.prohire-btn-outline {
  background: var(--ph-button-bg);
  border-color: var(--ph-button-bg);
  color: var(--ph-button-text);
}
.prohire-btn-outline:hover {
  background: var(--ph-button-hover-bg);
  border-color: var(--ph-button-hover-bg);
  color: var(--ph-button-hover-text);
}

.prohire-btn-ghost {
  background: var(--ph-button-bg);
  color: var(--ph-button-text);
}
.prohire-btn-ghost:hover {
  background: var(--ph-button-hover-bg);
  color: var(--ph-button-hover-text);
}

.prohire-btn-block {
  width: 100%;
}

.prohire-spin {
  animation: prohire-spin 1s linear infinite;
  display: inline-flex;
}
@keyframes prohire-spin {
  to { transform: rotate(360deg); }
}

/* Top Navigation block removed — plugin no longer renders its own header.
   Pages inherit the active theme's header/footer. */


/* ---------------------------------------------------------------------- */
/* Hero                                                                  */
/* ---------------------------------------------------------------------- */

.prohire-hero {
  background: linear-gradient(135deg, #fff8f8 0%, #e1e0ff 100%);
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
}
@media (min-width: 768px) {
  .prohire-hero { padding: 96px 0; }
}

.prohire-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 640px;
}

.prohire-hero h1 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ph-primary);
  margin: 0 0 24px;
  animation: prohire-rise 0.6s ease both;
}
@media (min-width: 768px) {
  .prohire-hero h1 { font-size: 48px; line-height: 56px; letter-spacing: -0.02em; }
}

.prohire-hero p {
  font-size: 18px;
  line-height: 28px;
  color: var(--ph-on-surface-variant);
  margin: 0 0 32px;
  animation: prohire-rise 0.6s ease 0.08s both;
}

@keyframes prohire-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.prohire-hero-blob {
  position: absolute;
  right: -96px;
  bottom: -96px;
  width: 384px;
  height: 384px;
  background: var(--ph-primary);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(60px);
}

.prohire-search-bar {
  background: var(--ph-surface-container-lowest);
  padding: 8px;
  border-radius: var(--ph-radius-lg);
  box-shadow: 0 1px 2px rgba(20,18,173,0.06);
  border: 1px solid var(--ph-outline-variant);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  animation: prohire-rise 0.6s ease 0.16s both;
}
@media (min-width: 768px) {
  .prohire-search-bar { flex-direction: row; }
  .prohire-search-bar .prohire-btn { flex-shrink: 0; }
}

.prohire-search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.prohire-search-field .material-symbols-outlined { color: var(--ph-outline); flex-shrink: 0; }
.prohire-search-field input {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 0;
}
.prohire-search-field input:focus { outline: none; }

.prohire-search-divider {
  width: 1px;
  height: 40px;
  background: var(--ph-outline-variant);
  margin: auto 0;
  display: none;
}
@media (min-width: 768px) { .prohire-search-divider { display: block; } }

/* ---------------------------------------------------------------------- */
/* Layout: Sidebar + Job Grid                                            */
/* ---------------------------------------------------------------------- */

.prohire-main-section {
  padding: 48px 0;
}

.prohire-layout {
  display: flex;
  flex-direction: column;
  gap: var(--ph-gutter);
}
@media (min-width: 1024px) {
  .prohire-layout { flex-direction: row; }
}

.prohire-sidebar {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .prohire-sidebar { width: 256px; }
}

.prohire-sidebar-sticky {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prohire-results-col {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

.prohire-filter-group h3 {
  font-family: var(--ph-font-label);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ph-primary);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.prohire-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (min-width: 1024px) {
  .prohire-category-list { flex-direction: column; flex-wrap: nowrap; }
}

.prohire-category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  border-radius: var(--ph-radius);
  font-family: var(--ph-font-label);
  font-size: 14px;
  background: transparent;
  border: none;
  color: var(--ph-on-surface);
  transition: background 0.2s ease, color 0.2s ease;
}
.prohire-category-btn:hover { background: var(--ph-surface-container-high); }
.prohire-category-btn.is-active {
  background: var(--ph-primary);
  color: var(--ph-on-primary);
}
.prohire-category-btn .prohire-count {
  font-size: 10px;
  color: var(--ph-outline);
  background: transparent;
  padding: 2px 8px;
  border-radius: 999px;
}
.prohire-category-btn.is-active .prohire-count {
  background: var(--ph-primary-container);
  color: var(--ph-on-primary-container);
}

.prohire-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prohire-checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.prohire-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--ph-primary);
}
.prohire-checkbox-row span {
  font-family: var(--ph-font-label);
  font-size: 14px;
  color: var(--ph-on-surface-variant);
  transition: color 0.2s ease;
}
.prohire-checkbox-row:hover span { color: var(--ph-primary); }

.prohire-range {
  width: 100%;
  accent-color: var(--ph-primary);
  height: 8px;
  background: var(--ph-surface-container-highest);
  border-radius: var(--ph-radius-lg);
  appearance: none;
  -webkit-appearance: none;
}
.prohire-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ph-primary);
  cursor: pointer;
}
.prohire-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--ph-font-label);
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-outline);
}

/* Job Grid */

.prohire-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.prohire-results-count {
  font-family: var(--ph-font-label);
  font-size: 14px;
  color: var(--ph-on-surface-variant);
}
.prohire-results-count strong { color: var(--ph-primary); font-weight: 700; }

.prohire-select {
  background: var(--ph-surface);
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  font-family: var(--ph-font-label);
  font-size: 14px;
  padding: 8px 16px;
}
.prohire-select:focus {
  outline: none;
  border-color: var(--ph-primary);
}

.prohire-job-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
}

/* "Grid" layout — configurable column count (2/3/4) via Settings > Styling
   Settings > Browse Job Page ("Number of Columns"), applied through the
   data-cols attribute. Column count auto-steps down on smaller screens so
   cards never get cramped or clipped, no matter what's configured. */
@media (min-width: 560px) {
  .prohire-job-grid.prohire-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .prohire-job-grid.prohire-layout-grid[data-cols="3"],
  .prohire-job-grid.prohire-layout-grid[data-cols="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1500px) {
  .prohire-job-grid.prohire-layout-grid[data-cols="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* "List" layout — every job stacks one after the other, full width, regardless
   of screen size. Selected via Settings > Styling Settings > Browse Job Page. */
.prohire-job-grid.prohire-layout-list {
  grid-template-columns: minmax(0, 1fr);
}
.prohire-job-grid.prohire-layout-list .prohire-job-card {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .prohire-job-grid.prohire-layout-list .prohire-job-card {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
  .prohire-job-grid.prohire-layout-list .prohire-job-card-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .prohire-job-grid.prohire-layout-list .prohire-job-card-main {
    flex: 1;
    min-width: 0;
  }
  .prohire-job-grid.prohire-layout-list .prohire-job-excerpt {
    -webkit-line-clamp: 2;
  }
  .prohire-job-grid.prohire-layout-list .prohire-job-card-bottom {
    flex-shrink: 0;
    margin-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }
}

.prohire-job-card {
  background: var(--ph-surface-container-lowest);
  border: 1px solid rgba(20,18,173,0.08);
  padding: 24px;
  border-radius: var(--ph-radius-lg);
  box-shadow: 0px 1px 2px rgba(20, 18, 173, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: prohire-card-in 0.4s ease both;
}
.prohire-job-card-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.prohire-job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(4,0,123,0.5);
  box-shadow: 0 8px 24px rgba(10,5,7,0.08);
}

@keyframes prohire-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.prohire-job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.prohire-job-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--ph-surface-container-high);
  border-radius: var(--ph-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-primary);
}

.prohire-badge {
  font-family: var(--ph-font-label);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--ph-radius-sm);
}
.prohire-badge-full { background: var(--ph-secondary-fixed); color: var(--ph-on-secondary-fixed); }
.prohire-badge-intern { background: var(--ph-tertiary-fixed); color: var(--ph-on-tertiary-fixed); }
.prohire-badge-volunteer { background: var(--ph-secondary-container); color: var(--ph-on-secondary-container); }
.prohire-badge-success { background: #d8f5da; color: #1c6b21; }
.prohire-badge-pending { background: var(--ph-error-container); color: var(--ph-on-error-container); }

.prohire-job-card h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  margin: 0 0 4px;
  transition: color 0.2s ease;
}
.prohire-job-card:hover h3 { color: var(--ph-primary); }

.prohire-job-meta {
  font-family: var(--ph-font-label);
  font-size: 14px;
  color: var(--ph-outline);
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.prohire-job-excerpt {
  color: var(--ph-on-surface-variant);
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.prohire-job-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: auto;
  gap: 12px;
}

.prohire-job-salary {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: var(--ph-secondary);
  font-weight: 700;
  font-family: var(--ph-font-label);
  font-size: 14px;
}
.prohire-job-salary .material-symbols-outlined { font-size: 18px; flex-shrink: 0; }
.prohire-job-salary span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.prohire-empty-state, .prohire-loading-state {
  text-align: center;
  padding: 64px 16px;
  color: var(--ph-on-surface-variant);
  grid-column: 1 / -1;
}
.prohire-loading-state .material-symbols-outlined {
  font-size: 32px;
  color: var(--ph-primary);
  animation: prohire-spin 1s linear infinite;
  display: inline-block;
  margin-bottom: 12px;
}

/* Pagination */

.prohire-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.prohire-page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-outline-variant);
  background: transparent;
  font-family: var(--ph-font-label);
  font-size: 14px;
  transition: background 0.2s ease;
}
.prohire-page-btn:hover { background: var(--ph-surface-container-high); }
.prohire-page-btn.is-active {
  background: var(--ph-primary);
  color: var(--ph-on-primary);
  border-color: var(--ph-primary);
}
.prohire-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.prohire-page-ellipsis { padding: 0 6px; color: var(--ph-outline); }

/* CTA section removed — "Don't see your dream role?" resume/job-alert block is no longer rendered. */

/* Footer block removed — plugin no longer renders its own footer.
   Pages inherit the active theme's header/footer. */

/* ---------------------------------------------------------------------- */
/* Post a Job Form                                                       */
/* ---------------------------------------------------------------------- */

.prohire-postjob-main {
  padding: 48px 0;
}
.prohire-postjob-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gutter);
}
@media (min-width: 1024px) {
  .prohire-postjob-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.prohire-postjob-intro h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 16px;
  color: var(--ph-on-background);
}
@media (min-width: 768px) { .prohire-postjob-intro h1 { font-size: 48px; line-height: 56px; } }
.prohire-postjob-intro h1 span { color: var(--ph-primary); }
.prohire-postjob-intro p { color: var(--ph-on-surface-variant); max-width: 380px; margin: 0 0 32px; }

.prohire-testimonial-img {
  display: none;
  position: relative;
  height: 400px;
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,5,7,0.12);
  background: linear-gradient(160deg, #1412ad, #04007b);
}
@media (min-width: 1024px) { .prohire-testimonial-img { display: block; } }
.prohire-testimonial-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(4,0,123,0.85), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: white;
}
.prohire-testimonial-overlay p { font-style: italic; margin: 0 0 16px; font-weight: 600; }
.prohire-testimonial-person { display: flex; align-items: center; gap: 16px; min-width: 0; }
.prohire-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: white; color: var(--ph-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  flex-shrink: 0;
}
.prohire-testimonial-person > div { min-width: 0; overflow-wrap: break-word; }
.prohire-testimonial-person small { opacity: 0.8; font-size: 12px; }

.prohire-form-section {
  background: #fff;
  border: 1px solid rgba(20,18,173,0.1);
  padding: 32px;
  border-radius: var(--ph-radius-lg);
  box-shadow: 0 1px 2px rgba(20,18,173,0.04);
  margin-bottom: var(--ph-gutter);
  animation: prohire-rise 0.5s ease both;
}

.prohire-form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.prohire-form-section-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.prohire-form-section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ph-radius-lg);
  background: rgba(4,0,123,0.1);
  color: var(--ph-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prohire-form-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  min-width: 0;
}

.prohire-field { margin-bottom: 24px; }
.prohire-field:last-child { margin-bottom: 0; }
.prohire-field label {
  display: block;
  font-family: var(--ph-font-label);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ph-on-surface);
}
.prohire-field input[type="text"],
.prohire-field input[type="url"],
.prohire-field input[type="number"],
.prohire-field select,
.prohire-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--ph-radius-lg);
  border: 1px solid var(--ph-outline-variant);
  background: var(--ph-surface-container-lowest);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.prohire-field textarea { resize: vertical; min-height: 110px; }
.prohire-field input:focus, .prohire-field select:focus, .prohire-field textarea:focus {
  outline: none;
  border-color: var(--ph-primary);
  box-shadow: 0 0 0 4px rgba(4,0,123,0.1);
}
.prohire-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ph-gutter);
}
@media (min-width: 768px) {
  .prohire-field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.prohire-select-wrap { position: relative; }
.prohire-select-wrap select { appearance: none; padding-right: 40px; }
.prohire-select-wrap .material-symbols-outlined {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ph-on-surface-variant);
}

.prohire-category-select-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.prohire-category-select-row .prohire-select-wrap { flex: 1; min-width: 0; }
.prohire-cat-action-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--ph-radius-lg);
  border: 1px solid var(--ph-outline-variant);
  background: var(--ph-surface-container-lowest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ph-on-surface-variant);
  transition: all 0.2s ease;
}
.prohire-cat-action-btn:hover { border-color: var(--ph-primary); color: var(--ph-primary); }
.prohire-cat-action-btn.danger:hover { border-color: var(--ph-error); color: var(--ph-error); }

.prohire-cat-manage-panel {
  margin-top: 12px;
  border: 1px dashed var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  padding: 16px;
  background: var(--ph-surface-container-low);
  display: none;
  animation: prohire-rise 0.3s ease both;
}
.prohire-cat-manage-panel.is-open { display: block; }
.prohire-cat-manage-panel .prohire-cat-add-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.prohire-cat-manage-panel .prohire-cat-add-row input {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-outline-variant);
}
.prohire-cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.prohire-cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: white;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-outline-variant);
  font-family: var(--ph-font-label);
  font-size: 13px;
}
.prohire-cat-list-item button {
  background: none;
  border: none;
  color: var(--ph-error);
  display: flex;
}
.prohire-cat-list-item button .material-symbols-outlined { font-size: 18px; }

.prohire-others-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.prohire-add-field-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ph-primary);
  font-family: var(--ph-font-label);
  font-size: 14px;
  font-weight: 600;
}
.prohire-add-field-btn:hover { text-decoration: underline; }

.prohire-dynamic-fields { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.prohire-empty-fields {
  padding: 32px 16px;
  border: 1px dashed var(--ph-outline);
  border-radius: var(--ph-radius-lg);
  background: var(--ph-surface-container-low);
  text-align: center;
  color: var(--ph-on-surface-variant);
  font-size: 14px;
}
.prohire-dynamic-field-row {
  position: relative;
  background: var(--ph-surface);
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  animation: prohire-rise 0.3s ease both;
}
@media (min-width: 768px) {
  .prohire-dynamic-field-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.prohire-dynamic-field-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-on-surface-variant);
  display: block;
  margin-bottom: 4px;
}
.prohire-dynamic-field-row input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--ph-radius);
  border: 1px solid var(--ph-outline-variant);
}
.prohire-remove-field-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--ph-error);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.prohire-remove-field-btn:hover { opacity: 1; }

.prohire-form-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  justify-content: flex-end;
  border-top: 1px solid var(--ph-outline-variant);
  padding-top: 32px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .prohire-form-footer { flex-direction: row; align-items: center; }
}
.prohire-form-footer .prohire-btn { width: 100%; }
@media (min-width: 640px) {
  .prohire-form-footer .prohire-btn { width: auto; }
}

.prohire-form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--ph-radius);
  font-size: 14px;
  display: none;
}
.prohire-form-message.is-visible { display: block; animation: prohire-rise 0.3s ease both; }
.prohire-form-message.success { background: #d8f5da; color: #1c6b21; }
.prohire-form-message.error { background: var(--ph-error-container); color: var(--ph-on-error-container); }

/* Locked state (Post a Job, not authorized) */

.prohire-locked-wrap, .prohire-restricted-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 16px;
}
.prohire-locked-card, .prohire-restricted-card {
  max-width: 420px;
  text-align: center;
  background: var(--ph-surface-container-lowest);
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  padding: 48px 32px;
  box-shadow: 0 8px 24px rgba(10,5,7,0.06);
}
.prohire-locked-icon, .prohire-restricted-icon {
  font-size: 48px;
  color: var(--ph-primary);
  margin-bottom: 16px;
  display: inline-block;
}
.prohire-locked-card h2, .prohire-restricted-card h1 {
  font-size: 24px;
  margin: 0 0 12px;
}
.prohire-locked-card p, .prohire-restricted-card p {
  color: var(--ph-on-surface-variant);
  margin: 0 0 24px;
}

/* ---------------------------------------------------------------------- */
/* Job Details Page                                                     */
/* ---------------------------------------------------------------------- */

.prohire-details-main { padding: 48px 0 64px; }

.prohire-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--ph-on-surface-variant);
  font-size: 12px;
  flex-wrap: wrap;
}
.prohire-breadcrumb a:hover { color: var(--ph-primary); }
.prohire-breadcrumb .material-symbols-outlined { font-size: 16px; }
.prohire-breadcrumb .current { color: var(--ph-on-surface); }

.prohire-details-layout {
  display: flex;
  flex-direction: column;
  gap: var(--ph-gutter);
}
@media (min-width: 1024px) {
  .prohire-details-layout { flex-direction: row; }
}
.prohire-details-content { flex: 1; display: flex; flex-direction: column; gap: var(--ph-gutter); min-width: 0; }
.prohire-details-aside { width: 100%; }
@media (min-width: 1024px) { .prohire-details-aside { width: 384px; } }
.prohire-aside-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }

.prohire-job-header-card {
  background: var(--ph-surface-container-lowest);
  padding: 32px;
  border-radius: var(--ph-radius-lg);
  border: 1px solid rgba(20,18,173,0.1);
}
.prohire-job-header-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
@media (min-width: 768px) { .prohire-job-header-top { flex-direction: row; align-items: center; } }
.prohire-job-header-top > div:first-child { min-width: 0; flex: 1; }

.prohire-job-badges { display: flex; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.prohire-pill {
  font-family: var(--ph-font-label);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: var(--ph-radius-sm);
  background: rgba(20,18,173,0.1);
  color: var(--ph-primary);
}
.prohire-pill.alt { background: rgba(71,74,206,0.1); color: var(--ph-secondary); }

.prohire-job-header-card h1 { font-size: 32px; line-height: 40px; margin: 0; }
@media (min-width: 768px) { .prohire-job-header-card h1 { font-size: 48px; line-height: 56px; } }
.prohire-job-company {
  font-size: 18px;
  color: var(--ph-on-surface-variant);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: break-word;
}
.prohire-job-company .material-symbols-outlined { color: var(--ph-primary); flex-shrink: 0; }

.prohire-job-header-actions { display: flex; gap: 12px; width: 100%; }
@media (min-width: 768px) { .prohire-job-header-actions { width: auto; } }
.prohire-job-header-actions .prohire-btn { flex: 1; }
@media (min-width: 768px) { .prohire-job-header-actions .prohire-btn { flex: none; } }

.prohire-job-image {
  width: 100%;
  height: 320px;
  border-radius: var(--ph-radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #1412ad, #150b6a);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.prohire-job-image img { width: 100%; height: 100%; object-fit: cover; }
.prohire-job-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}

.prohire-job-body {
  background: var(--ph-surface-container-lowest);
  padding: 32px;
  border-radius: var(--ph-radius-lg);
  border: 1px solid rgba(20,18,173,0.1);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.prohire-job-body h2, .prohire-job-body h3 { font-size: 24px; margin: 0 0 16px; }
.prohire-job-body p { color: var(--ph-on-surface-variant); line-height: 1.7; margin: 0 0 16px; }
.prohire-job-body p:last-child { margin-bottom: 0; }

.prohire-req-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.prohire-req-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ph-on-surface-variant); }
.prohire-req-list .material-symbols-outlined { color: var(--ph-secondary); margin-top: 2px; flex-shrink: 0; }

.prohire-perks-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .prohire-perks-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.prohire-perk-card {
  padding: 16px;
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}
.prohire-perk-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(4,0,123,0.1);
  color: var(--ph-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.prohire-perk-card strong { display: block; font-family: var(--ph-font-label); font-size: 14px; }
.prohire-perk-card small { color: var(--ph-on-surface-variant); font-size: 12px; }

.prohire-overview-card {
  background: var(--ph-surface-container-lowest);
  border: 1px solid rgba(20,18,173,0.1);
  border-radius: var(--ph-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.prohire-overview-card h4 { font-size: 24px; margin: 0; }
.prohire-overview-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.prohire-overview-row .material-symbols-outlined { color: var(--ph-outline); flex-shrink: 0; }
.prohire-overview-row > div { min-width: 0; overflow-wrap: break-word; }
.prohire-overview-row small { display: block; font-size: 12px; color: var(--ph-on-surface-variant); }
.prohire-overview-row strong { font-family: var(--ph-font-label); font-size: 14px; font-weight: 500; }
.prohire-overview-footer { border-top: 1px solid var(--ph-outline-variant); padding-top: 24px; }
.prohire-overview-footer p { text-align: center; font-size: 12px; color: var(--ph-on-surface-variant); margin: 16px 0 0; }

.prohire-company-card {
  background: var(--ph-surface-container-high);
  border-radius: var(--ph-radius-lg);
  padding: 24px;
}
.prohire-company-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; min-width: 0; }
.prohire-company-card-head > div:last-child { min-width: 0; overflow-wrap: break-word; }
.prohire-company-logo {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--ph-radius);
  background: var(--ph-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.prohire-company-card p { color: var(--ph-on-surface-variant); font-size: 12px; line-height: 1.6; margin: 0 0 16px; }
.prohire-company-card a { color: var(--ph-primary); font-family: var(--ph-font-label); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.prohire-company-card a:hover { text-decoration: underline; }

.prohire-share-row { display: flex; justify-content: center; gap: 16px; }
.prohire-share-row button {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ph-surface-container-lowest);
  border: 1px solid var(--ph-outline-variant);
  display: flex; align-items: center; justify-content: center;
  color: var(--ph-on-surface-variant);
  transition: background 0.2s ease;
}
.prohire-share-row button:hover { background: rgba(20,18,173,0.05); }

/* ---------------------------------------------------------------------- */
/* Restricted notice page (for non-shortcode pages restricted by access) */
/* ---------------------------------------------------------------------- */

body.prohire-restricted-body .prohire-restricted-wrap {
  min-height: 60vh;
}

/* ---------------------------------------------------------------------- */
/* Utility / Animations                                                  */
/* ---------------------------------------------------------------------- */

.prohire-fade-in { animation: prohire-rise 0.4s ease both; }

/* ---------------------------------------------------------------------- */
/* Responsive hardening — small phones & narrow theme columns            */
/* ---------------------------------------------------------------------- */

/* Tighter side gutters on small screens so cards aren't cramped. */
@media (max-width: 560px) {
  .prohire-container {
    padding: 0 16px;
  }

  /* Hero scales down and never overflows. */
  .prohire-hero { padding: 40px 0 48px; }
  .prohire-hero h1 { font-size: 26px; line-height: 34px; }
  .prohire-hero p { font-size: 16px; line-height: 24px; }
  .prohire-hero-blob { width: 240px; height: 240px; right: -64px; bottom: -64px; }

  /* Search button goes full width when the bar stacks. */
  .prohire-search-bar .prohire-btn { width: 100%; }

  /* Cards & form sections get smaller padding to maximize usable width. */
  .prohire-main-section,
  .prohire-postjob-main,
  .prohire-details-main { padding: 32px 0; }

  .prohire-job-card,
  .prohire-form-section,
  .prohire-job-header-card,
  .prohire-job-body,
  .prohire-overview-card,
  .prohire-company-card { padding: 20px; }

  /* Big display headings shrink to fit phone widths. */
  .prohire-job-card h3 { font-size: 20px; line-height: 28px; }
  .prohire-postjob-intro h1,
  .prohire-job-header-card h1 { font-size: 28px; line-height: 36px; }
  .prohire-form-section h2,
  .prohire-job-body h2,
  .prohire-job-body h3 { font-size: 20px; }

  /* Results bar stacks cleanly; sort dropdown spans the row. */
  .prohire-results-bar { align-items: stretch; }
  .prohire-results-bar .prohire-select { width: 100%; }

  /* Job header action buttons stack full-width on phones. */
  .prohire-job-header-actions { flex-direction: column; }
  .prohire-job-header-actions .prohire-btn { width: 100%; flex: none; }

  /* Template 2 (Hero Banner) and Template 3 (Minimal) headings/banners. */
  .prohire-details-banner { padding: 32px 0 40px; }
  .prohire-details-banner-title { font-size: 24px; line-height: 32px; }
  .prohire-banner-stats { gap: 16px; }
  .prohire-banner-actions { flex-direction: column; }
  .prohire-banner-actions .prohire-btn { width: 100%; }
  .prohire-tpl3-title { font-size: 22px; line-height: 30px; }
  .prohire-tpl3-actions { flex-direction: column; }
  .prohire-tpl3-actions .prohire-btn { width: 100%; }
  .prohire-tpl3-actions #prohire-copy-link-btn { width: 100%; }
  .prohire-tpl3-details-main { padding: 24px 16px; }
  .prohire-tpl2-details-main { padding-top: 24px; }
  .prohire-tpl2-company-section .prohire-btn { width: 100%; }

  /* Detail hero image is shorter on phones. */
  .prohire-job-image { height: 200px; }

  /* Locked / restricted card no longer needs huge vertical padding. */
  .prohire-locked-wrap,
  .prohire-restricted-wrap { padding: 56px 16px; }
  .prohire-locked-card,
  .prohire-restricted-card { padding: 32px 24px; }
}

/* Extra-small phones (≤380px): make sure nothing clips. */
@media (max-width: 380px) {
  .prohire-hero h1 { font-size: 23px; line-height: 30px; }
  .prohire-job-card h3 { font-size: 18px; }
  .prohire-btn { padding: 12px 18px; }
  .prohire-category-select-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .prohire-root *, .prohire-root *::before, .prohire-root *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ======================================================================== */
/* Browse Jobs — Template 2: "Top Filter Bar" (bold)                        */
/* Filters sit in a horizontal bar above a full-width grid instead of a     */
/* sidebar; the hero band and card icons lean bolder/more colorful.         */
/* ======================================================================== */

.prohire-hero-bold {
  background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-container) 55%, var(--ph-secondary) 100%);
}
.prohire-hero-bold h1,
.prohire-hero-bold p { color: #fff; }
.prohire-hero-bold .prohire-search-bar { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.prohire-topbar-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ph-outline-variant);
}
@media (min-width: 1024px) {
  .prohire-topbar-filters { flex-direction: row; align-items: center; justify-content: space-between; }
}

.prohire-pill-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  min-width: 0;
  scrollbar-width: thin;
}
.prohire-pill-scroll::-webkit-scrollbar { height: 6px; }
.prohire-pill-scroll::-webkit-scrollbar-thumb { background: var(--ph-outline-variant); border-radius: 999px; }

.prohire-pill-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: var(--ph-radius-full);
  border: 1px solid var(--ph-outline-variant);
  background: var(--ph-surface-container-lowest);
  color: var(--ph-on-surface);
  font-family: var(--ph-font-label);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.prohire-pill-btn .prohire-count {
  font-size: 11px;
  opacity: 0.7;
}
.prohire-pill-btn:hover {
  border-color: var(--ph-primary);
}
.prohire-pill-btn.is-active {
  background: var(--ph-primary);
  border-color: var(--ph-primary);
  color: #fff;
}
.prohire-pill-btn.is-active .prohire-count { opacity: 0.85; }

.prohire-topbar-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}
.prohire-checkbox-list-inline {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

/* Template 2's job grid spans the full container width (no sidebar). */
.prohire-tpl2-grid.prohire-layout-grid {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .prohire-tpl2-grid.prohire-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .prohire-tpl2-grid.prohire-layout-grid[data-cols="3"],
  .prohire-tpl2-grid.prohire-layout-grid[data-cols="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .prohire-tpl2-grid.prohire-layout-grid[data-cols="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Bolder card icon treatment for Template 2. */
.prohire-tpl-2 .prohire-job-icon {
  background: var(--ph-button-bg);
  color: #fff;
}

/* ======================================================================== */
/* Browse Jobs — Template 3: "Minimal Compact"                              */
/* No hero, no sidebar — a slim search/filter row and a dense list of       */
/* compact rows, optimized for scanning many jobs quickly.                  */
/* ======================================================================== */

.prohire-tpl3-main { padding-top: 32px; }

.prohire-tpl3-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.prohire-tpl3-header h1 {
  font-size: 28px;
  line-height: 36px;
  margin: 0 0 4px;
}
.prohire-tpl3-header > div:first-child { min-width: 0; }

.prohire-tpl3-search-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--ph-surface-container-lowest);
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  padding: 8px;
  margin-bottom: 24px;
}
@media (min-width: 900px) {
  .prohire-tpl3-search-row { flex-direction: row; align-items: center; }
  .prohire-tpl3-search-row .prohire-btn { flex-shrink: 0; }
}
.prohire-tpl3-search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid transparent;
}
@media (min-width: 900px) {
  .prohire-tpl3-search-field { border-right: 1px solid var(--ph-outline-variant); }
}
.prohire-tpl3-cat-select {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.prohire-tpl3-cat-select select {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 24px 12px 0;
  appearance: none;
  font-family: var(--ph-font-label);
  font-size: 14px;
}
.prohire-tpl3-cat-select select:focus { outline: none; }
.prohire-tpl3-cat-select .material-symbols-outlined {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ph-on-surface-variant);
  font-size: 20px;
}

/* Dense rows: tighter padding, smaller icon, single-line excerpt. */
.prohire-tpl3-list { gap: 12px; }
.prohire-tpl3-list .prohire-job-card {
  padding: 16px 20px;
}
.prohire-tpl3-list .prohire-job-icon {
  width: 40px;
  height: 40px;
}
.prohire-tpl3-list .prohire-job-card-top { margin-bottom: 8px; }
.prohire-tpl3-list .prohire-job-excerpt {
  -webkit-line-clamp: 1;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .prohire-tpl3-list .prohire-job-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .prohire-tpl3-list .prohire-job-card-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .prohire-tpl3-list .prohire-job-card-main { flex: 1; min-width: 0; }
  .prohire-tpl3-list .prohire-job-excerpt { display: none; }
  .prohire-tpl3-list .prohire-job-card-bottom {
    flex-shrink: 0;
    margin-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

/* ======================================================================== */
/* Job Details — Template 2: "Hero Banner"                                  */
/* Full-width colored banner with title/company/stats/actions; single       */
/* column body underneath (no sticky sidebar).                              */
/* ======================================================================== */

.prohire-details-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-container) 55%, var(--ph-secondary) 100%);
  padding: 40px 0 48px;
}
@media (min-width: 768px) { .prohire-details-banner { padding: 56px 0 64px; } }

.prohire-details-banner-inner {
  position: relative;
  z-index: 10;
  max-width: 840px;
}

.prohire-breadcrumb-on-banner,
.prohire-breadcrumb-on-banner a,
.prohire-breadcrumb-on-banner .current {
  color: rgba(255,255,255,0.85);
}
.prohire-breadcrumb-on-banner .material-symbols-outlined { color: rgba(255,255,255,0.6); }
.prohire-breadcrumb-on-banner a:hover { color: #fff; }

.prohire-pill-on-banner {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.prohire-details-banner-title {
  font-size: 30px;
  line-height: 38px;
  color: #fff;
  margin: 12px 0 8px;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { .prohire-details-banner-title { font-size: 44px; line-height: 52px; } }

.prohire-job-company-on-banner {
  color: rgba(255,255,255,0.85);
}
.prohire-job-company-on-banner .material-symbols-outlined { color: #fff; }

.prohire-banner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
}
.prohire-banner-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
}
.prohire-banner-stat .material-symbols-outlined { flex-shrink: 0; opacity: 0.85; }
.prohire-banner-stat small { display: block; font-size: 12px; opacity: 0.75; }
.prohire-banner-stat strong { font-family: var(--ph-font-label); font-size: 14px; font-weight: 600; overflow-wrap: break-word; }

.prohire-banner-actions { width: 100%; }
@media (min-width: 768px) { .prohire-banner-actions { width: auto; } }

.prohire-btn-on-banner {
  background: #fff;
  color: var(--ph-primary);
}
.prohire-btn-on-banner:hover { background: rgba(255,255,255,0.85); }

.prohire-btn-ghost-on-banner {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.prohire-btn-ghost-on-banner:hover { background: rgba(255,255,255,0.22); }

.prohire-tpl2-details-main {
  max-width: 840px;
  padding-top: 40px;
}

.prohire-tpl2-company-section {
  background: var(--ph-surface-container-lowest);
  border: 1px solid var(--ph-outline-variant);
  border-radius: var(--ph-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 600px) {
  .prohire-tpl2-company-section { flex-direction: row; align-items: center; justify-content: space-between; }
  .prohire-tpl2-company-section .prohire-btn { width: auto; flex-shrink: 0; }
}
.prohire-company-card-inline { background: transparent; padding: 0; border: none; }
.prohire-company-card-inline .prohire-company-card-head { margin-bottom: 0; }

.prohire-tpl2-share-row {
  justify-content: flex-start;
  margin-top: 24px;
}

/* ======================================================================== */
/* Job Details — Template 3: "Minimal Compact"                              */
/* Single narrow column, inline chips instead of a sidebar overview card.   */
/* ======================================================================== */

.prohire-tpl3-details-main {
  max-width: 720px;
  padding: 32px 24px;
}

.prohire-tpl3-title {
  font-size: 26px;
  line-height: 34px;
  margin: 16px 0 8px;
}
@media (min-width: 768px) { .prohire-tpl3-title { font-size: 34px; line-height: 42px; } }

.prohire-tpl3-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.prohire-tpl3-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--ph-radius-full);
  background: var(--ph-surface-container-high);
  color: var(--ph-on-surface-variant);
  font-family: var(--ph-font-label);
  font-size: 13px;
  min-width: 0;
}
.prohire-tpl3-chip .material-symbols-outlined { font-size: 16px; color: var(--ph-primary); flex-shrink: 0; }

.prohire-tpl3-actions {
  width: 100%;
  margin-bottom: 24px;
}
.prohire-tpl3-actions .prohire-btn:not(:last-child) { flex: 1; }
.prohire-tpl3-actions #prohire-copy-link-btn { flex: 0 0 auto; width: 44px; padding: 0; }
@media (min-width: 600px) { .prohire-tpl3-actions { width: auto; } .prohire-tpl3-actions .prohire-btn { flex: none; } }

.prohire-tpl3-divider {
  border: none;
  border-top: 1px solid var(--ph-outline-variant);
  margin: 0 0 24px;
}

.prohire-tpl3-footer-apply {
  margin-top: 32px;
  border-top: 1px solid var(--ph-outline-variant);
  padding-top: 24px;
}
