/* jy_portal 共享页面样式（省厅 / 联盟 / 高校三套官网共用）
 * 依赖：shared/vendor/bootstrap.min.css（仅用其 reset 与栅格）
 * 配色与卡片规则对齐 gov 首页，保证三站视觉统一、移动端自适应
 */

:root {
  --p-primary: #17569b;
  --p-primary-dark: #0f3f76;
  --p-primary-soft: #eaf1fa;
  --p-accent: #c9302c;
  --p-gold: #c78b25;
  --p-text: #1f2937;
  --p-text-2: #5b6675;
  --p-text-3: #8b95a5;
  --p-line: #e6ebf2;
  --p-bg: #f4f7fb;
  --p-white: #fff;
  --p-radius: 12px;
  --p-radius-sm: 8px;
  --p-shadow: 0 8px 28px rgba(23, 86, 155, 0.09);
  --p-shadow-sm: 0 2px 10px rgba(23, 86, 155, 0.06);
  --p-container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--p-bg);
  color: var(--p-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--p-primary);
}

img {
  max-width: 100%;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.p-container {
  width: 100%;
  max-width: var(--p-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== 页头 ==================== */
.p-topbar {
  background: var(--p-primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.p-topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 38px;
}

.p-topbar__home {
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.p-topbar__home:hover {
  color: #fff;
}

.p-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 320px;
  max-width: 42vw;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.p-search input {
  flex: 1;
  width: 100%;
  height: 28px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.p-search input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.p-search button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 28px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
}

.p-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
}

.p-topbar__actions a {
  color: rgba(255, 255, 255, 0.88);
}

.p-topbar__actions a:hover {
  color: #fff;
}

.p-sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.28);
}

.p-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--p-line);
  box-shadow: 0 2px 14px rgba(15, 63, 118, 0.05);
  backdrop-filter: saturate(180%) blur(6px);
}

.p-navbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 66px;
}

.p-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

.p-brand__img {
  max-height: 44px;
  width: auto;
}

.p-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--p-primary) 0%, #2f78c4 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.p-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.p-brand__text strong {
  font-size: 16px;
  color: var(--p-primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.p-brand__text em {
  font-style: normal;
  font-size: 12px;
  color: var(--p-text-3);
  letter-spacing: 2px;
}

.p-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  overflow: visible;
}

.p-nav__item {
  position: relative;
}

.p-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: var(--p-radius-sm);
  color: var(--p-text);
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.p-nav__link:hover,
.p-nav__item:hover > .p-nav__link {
  color: var(--p-primary);
  background: var(--p-primary-soft);
}

.p-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

.p-nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 50;
  min-width: 150px;
  padding: 6px;
  border: 1px solid var(--p-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--p-shadow);
  transform: translate(-50%, 4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.p-nav__item:hover .p-nav__sub,
.p-nav__item.is-open .p-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.p-nav__sub a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--p-text-2);
  font-size: 14px;
  text-align: center;
}

.p-nav__sub a:hover {
  background: var(--p-primary-soft);
  color: var(--p-primary);
}

.p-nav-manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 8px 14px;
  border: 1px solid var(--p-primary);
  border-radius: 999px;
  color: var(--p-primary);
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.p-nav-manage:hover {
  background: var(--p-primary);
  color: #fff;
}

.p-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
}

.p-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.p-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.p-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.p-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 省厅样式微调：页头更紧凑、政务感 */
.p-header.is-gov .p-navbar__inner {
  min-height: 62px;
}

.p-header.is-gov .p-brand__mark {
  background: linear-gradient(135deg, #17569b 0%, #2f78c4 100%);
}

/* 联盟站页头：单行布局（品牌 + 后端菜单 + 搜索 + 登录），样式对齐联盟官网视觉稿 */
.p-header.is-alliance {
  --p-primary: #1c6fd6;
  --p-primary-soft: #f4f8fe;
  --p-line: #e8eef5;
}

.p-header.is-alliance .p-navbar {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  box-shadow: 0 1px 3px rgba(20, 60, 120, 0.04);
  backdrop-filter: none;
}

.p-header.is-alliance .p-navbar__inner {
  min-height: 58px;
  gap: 18px;
}

.p-header.is-alliance .p-brand {
  gap: 9px;
  flex: 0 1 auto;
  min-width: 0;
}

.p-header.is-alliance .p-brand__img {
  max-height: 34px;
}

.p-header.is-alliance .p-brand__mark-svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.p-header.is-alliance .p-brand__name {
  max-width: 320px;
  min-width: 0;
  overflow: hidden;
  color: #16283c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-header.is-alliance .p-nav {
  gap: 2px;
  margin-left: 6px;
}

.p-header.is-alliance .p-nav__link {
  position: relative;
  padding: 7px 10px;
  border-radius: 6px;
  color: #33475d;
  font-size: 12.8px;
}

.p-header.is-alliance .p-nav__link:hover,
.p-header.is-alliance .p-nav__item:hover > .p-nav__link {
  color: var(--p-primary);
  background: var(--p-primary-soft);
}

.p-header.is-alliance .p-nav__link.is-active {
  color: var(--p-primary);
  font-weight: 600;
}

.p-header.is-alliance .p-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--p-primary);
  transform: translateX(-50%);
}

.p-header.is-alliance .p-nav__sub {
  left: 0;
  transform: translate(0, 4px);
}

.p-header.is-alliance .p-nav__item:hover .p-nav__sub,
.p-header.is-alliance .p-nav__item.is-open .p-nav__sub {
  transform: translate(0, 0);
}

.p-header.is-alliance .p-navbar__gap {
  flex: 1 1 auto;
}

.p-header.is-alliance .p-search {
  display: flex;
  flex: 0 1 190px;
  align-items: center;
  gap: 7px;
  width: 190px;
  min-width: 128px;
  max-width: 42vw;
  margin-left: 0;
  padding: 6px 12px;
  border: 1px solid #e4ebf4;
  border-radius: 16px;
  background: #f4f7fb;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-header.is-alliance .p-search:focus-within {
  background: #fff;
  border-color: #bcd7f5;
  box-shadow: 0 0 0 3px rgba(28, 111, 214, 0.08);
}

.p-header.is-alliance .p-search button {
  order: 0;
  width: 14px;
  height: 14px;
  color: #9fb0c2;
}

.p-header.is-alliance .p-search input {
  order: 1;
  height: auto;
  padding: 0;
  color: #1f2d3d;
  font-size: 12.5px;
}

.p-header.is-alliance .p-search input::placeholder {
  color: #a6b3c2;
}

.p-header.is-alliance .p-header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.p-header.is-alliance .p-header__help {
  padding: 6px 8px;
  color: #33475d;
  font-size: 13px;
  white-space: nowrap;
}

.p-header.is-alliance .p-header__help:hover {
  color: var(--p-primary);
}

.p-header.is-alliance .p-header__login {
  display: inline-flex;
  align-items: center;
  padding: 7px 17px;
  border-radius: 16px;
  background: var(--p-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(28, 111, 214, 0.28);
  transition: background 0.2s ease;
}

.p-header.is-alliance .p-header__login:hover {
  background: #1660bd;
  color: #fff;
}

/* ==================== 页脚 ==================== */
.p-footer {
  margin-top: 48px;
  background: #0f2f55;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.p-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 30px;
}

/* 联盟站页脚：品牌 + 学生服务 + 单位招聘 + 联系我们 四列 */
.p-footer__main--alliance {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
}

.p-footer__brand h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}

.p-footer__brand p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  max-width: 420px;
}

.p-footer__qr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.p-footer__qr img {
  width: 84px;
  height: 84px;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
  object-fit: contain;
}

.p-footer__qr span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.p-footer h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.p-footer__nav li {
  margin-bottom: 8px;
}

.p-footer__nav a {
  color: rgba(255, 255, 255, 0.72);
}

.p-footer__nav a:hover {
  color: #fff;
}

.p-footer__contact p {
  margin-bottom: 8px;
  line-height: 1.7;
}

.p-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.p-footer__bottom .p-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 50px;
}

.p-footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 高校 classic1：网安备案号贴右显示 */
body.p-site-cl1 .p-footer__wa {
  margin-left: auto;
}

.p-footer__wa img {
  height: 16px;
}

/* ==================== 联盟高校选择层（页脚单位招聘入口） ==================== */
.p-univpick {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.p-univpick[hidden] {
  display: none;
}

.p-univpick__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 47, 85, 0.55);
}

.p-univpick__dlg {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 760px;
  max-height: 82vh;
  padding: 22px 24px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(15, 47, 85, 0.28);
}

.p-univpick__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-univpick__head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--p-text);
}

.p-univpick__close {
  padding: 0 4px;
  font-size: 24px;
  line-height: 1;
  color: #98a2b3;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.p-univpick__close:hover {
  color: var(--p-primary);
}

.p-univpick__tip {
  margin: 6px 0 16px;
  font-size: 13px;
  color: var(--p-text-3);
}

.p-univpick__body {
  overflow-y: auto;
}

.p-univpick__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.p-univpick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  font: inherit;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.p-univpick__item:hover {
  border-color: var(--p-primary);
  box-shadow: 0 8px 20px rgba(23, 86, 155, 0.12);
  transform: translateY(-2px);
}

.p-univpick__item img,
.p-univpick__ph {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.p-univpick__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--p-primary);
  background: var(--p-primary-soft);
  border-radius: 50%;
}

.p-univpick__item span {
  width: 100%;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--p-text);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-univpick__item:hover span {
  color: var(--p-primary);
}

.p-univpick__state {
  padding: 32px 0;
  font-size: 13px;
  color: var(--p-text-3);
  text-align: center;
}

@media (max-width: 640px) {
  .p-univpick__dlg {
    padding: 18px 16px 20px;
  }
  .p-univpick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==================== 通用区块 ==================== */
.p-page {
  padding: 26px 0 40px;
}

.p-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.p-page-head h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--p-primary-dark);
}

.p-page-head h1 .p-bar {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--p-primary);
}

.p-page-head p {
  color: var(--p-text-3);
  font-size: 13px;
}

.p-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-crumbs a:hover {
  color: var(--p-primary);
}

.p-card {
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
}

.p-panel {
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.p-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--p-line);
}

.p-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
}

.p-panel__head h2 .p-bar {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--p-primary);
}

.p-panel__more {
  color: var(--p-text-3);
  font-size: 13px;
}

.p-panel__more:hover {
  color: var(--p-primary);
}

.p-panel__body {
  padding: 16px 18px;
}

/* ==================== 筛选栏 ==================== */
.p-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
}

.p-filter input[type="text"],
.p-filter input[type="search"],
.p-filter select {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
  outline: 0;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.p-filter input:focus,
.p-filter select:focus {
  border-color: var(--p-primary);
}

.p-filter .p-grow {
  flex: 1;
  min-width: 180px;
}

.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 18px;
  border: 1px solid var(--p-primary);
  border-radius: var(--p-radius-sm);
  background: var(--p-primary);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.p-btn:hover {
  opacity: 0.88;
  color: #fff;
}

.p-btn--ghost {
  background: #fff;
  color: var(--p-primary);
}

.p-btn--ghost:hover {
  background: var(--p-primary-soft);
  color: var(--p-primary);
}

.p-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: #eef3f9;
}

.p-tabs button,
.p-tabs span {
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--p-text-2);
  font-size: 13px;
  white-space: nowrap;
}

.p-tabs button.is-active,
.p-tabs span.is-active,
.p-tabs .on {
  background: var(--p-primary);
  color: #fff;
}

/* ==================== 列表 ==================== */
.p-list {
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.p-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--p-line);
}

.p-list__item:last-child {
  border-bottom: 0;
}

.p-list__item:hover {
  background: #fafcff;
}

.p-list__main {
  flex: 1;
  min-width: 0;
}

.p-list__title {
  display: block;
  color: var(--p-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-list__title:hover {
  color: var(--p-primary);
}

.p-list__desc {
  display: -webkit-box;
  margin-top: 6px;
  color: var(--p-text-3);
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 8px;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-list__date {
  flex: 0 0 auto;
  color: var(--p-text-3);
  font-size: 13px;
  white-space: nowrap;
}

.p-list__thumb {
  flex: 0 0 auto;
  width: 132px;
  height: 88px;
  border-radius: var(--p-radius-sm);
  overflow: hidden;
  background: #eef3f9;
}

.p-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 时间块（活动列表） */
.p-date-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--p-radius-sm);
  background: var(--p-primary-soft);
  color: var(--p-primary-dark);
}

.p-date-block b {
  font-size: 22px;
  line-height: 1.1;
}

.p-date-block span {
  font-size: 11px;
  color: var(--p-text-2);
}

/* 标签 */
.p-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--p-primary-soft);
  color: var(--p-primary);
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
}

.p-tag--success {
  background: #e9f8f2;
  color: #1f8a70;
}

.p-tag--warning {
  background: #fef4e6;
  color: #b5750f;
}

.p-tag--info {
  background: #eef3f9;
  color: var(--p-text-3);
}

.p-tag--danger {
  background: #fdeceb;
  color: var(--p-accent);
}

/* ==================== 岗位卡片 ==================== */
.p-job-list {
  display: grid;
  gap: 12px;
}

.p-job {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-job:hover {
  transform: translateY(-1px);
  box-shadow: var(--p-shadow);
}

.p-job__logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--p-radius-sm);
  background: #eef3f9;
  color: var(--p-primary);
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
}

.p-job__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-job__main {
  flex: 1;
  min-width: 0;
}

.p-job__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-job__ent {
  margin-top: 3px;
  color: var(--p-text-2);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 6px;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-job__salary {
  flex: 0 0 auto;
  color: var(--p-accent);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==================== 企业卡片 ==================== */
.p-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.p-company {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-company:hover {
  transform: translateY(-1px);
  box-shadow: var(--p-shadow);
}

.p-company__logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--p-radius-sm);
  background: #eef3f9;
  color: var(--p-primary);
  font-weight: 700;
  overflow: hidden;
}

.p-company__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-company__main {
  min-width: 0;
}

.p-company__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-company__meta {
  margin-top: 2px;
  color: var(--p-text-3);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================== 招聘岗位概览（最新职位 + 热门企业） ==================== */
.p-jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.p-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  border-bottom: 1px solid var(--p-line);
}

.p-block-head__title {
  margin: 0;
  color: var(--p-text);
  font-size: 17px;
  font-weight: 700;
}

.p-more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  height: 40px;
  color: var(--p-text-3);
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.p-more:hover {
  color: var(--p-primary);
}

.p-tabbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.p-tabbar__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-text-3);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.p-tabbar__item:hover {
  color: var(--p-primary);
}

.p-tabbar__item.is-active {
  color: var(--p-text);
  font-size: 17px;
  font-weight: 700;
}

.p-tabbar__item.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--p-primary);
  transform: translateX(-50%);
}

.p-job-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
}

.p-job-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-job-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--p-shadow);
}

.p-job-card:hover .p-job-card__title {
  color: var(--p-primary);
}

.p-job-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.p-job-card__title {
  flex: 1;
  min-width: 0;
  color: var(--p-text);
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.p-job-card__salary {
  flex: 0 0 auto;
  color: var(--p-accent);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.p-job-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-job-card__sep {
  font-style: normal;
  color: #c9cdd4;
}

.p-job-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--p-line);
}

.p-job-card__logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f4f7fb;
  color: var(--p-primary);
  font-weight: 700;
  overflow: hidden;
}

.p-job-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-job-card__ent {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.p-job-card__ent-name {
  color: var(--p-text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-job-card__nature {
  color: var(--p-text-3);
  font-size: 12px;
}

.p-hot-ents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
}

.p-hot-ent {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 14px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-hot-ent:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--p-shadow);
}

.p-hot-ent__logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f4f7fb;
  color: var(--p-primary);
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
}

.p-hot-ent__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-hot-ent__name {
  display: -webkit-box;
  height: 36px;
  margin-top: 12px;
  color: var(--p-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-hot-ent:hover .p-hot-ent__name {
  color: var(--p-primary);
}

.p-hot-ent__jobs {
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--p-line);
  color: var(--p-text-3);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .p-jobs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-hot-ents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .p-tabbar {
    gap: 18px;
  }
  .p-job-cards,
  .p-hot-ents {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==================== 列表卡片（资讯 / 岗位 / 招聘信息） ==================== */
.p-board {
  min-height: 400px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
}

.p-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--p-line);
}

.p-board-head__title {
  margin: 0;
  color: var(--p-text);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.p-board-tabs {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 24px;
  min-width: 260px;
}

.p-board-tabs button {
  position: relative;
  flex: none;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-text-2);
  font-size: 15px;
  white-space: nowrap;
}

.p-board-tabs button:hover {
  color: var(--p-primary);
}

.p-board-tabs button.is-active {
  color: var(--p-primary);
  font-weight: 600;
}

.p-board-tabs button.is-active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--p-primary);
}

.p-board-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 240px;
  height: 36px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  background: #fff;
}

.p-board-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--p-text);
  font-size: 13px;
  outline: none;
}

.p-board-search button {
  display: grid;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-text-3);
}

.p-board-search button:hover {
  color: var(--p-primary);
}

/* 列表卡片页头：标题 + 结果数量 */
.p-board-head__title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.p-board-head__count {
  flex: none;
  color: var(--p-text-3);
  font-size: 13px;
  white-space: nowrap;
}

/* 列表卡片筛选行（岗位列表保留城市/学历/类型筛选） */
.p-board-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--p-line);
}

.p-board-filter input[type='text'],
.p-board-filter input[type='search'],
.p-board-filter select {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  background: #fff;
  color: var(--p-text-2);
  font-size: 13px;
  outline: none;
}

.p-board-filter input:focus,
.p-board-filter select:focus {
  border-color: var(--p-primary);
}

/* 列表页岗位卡片：自适应多列 */
.p-job-cards--list {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.p-job-cards > .p-empty,
.p-job-cards > .p-loading {
  grid-column: 1 / -1;
}

/* ==================== 招聘信息列表卡片 ==================== */
.p-activity-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px dashed var(--p-line);
  transition: background 0.2s ease;
}

.p-activity-card:last-child {
  border-bottom: 0;
}

.p-activity-card:hover {
  background: #f7faff;
  color: inherit;
}

.p-activity-card:hover .p-activity-card__title {
  color: var(--p-primary);
}

.p-activity-card__date {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--p-primary), #13deb9);
  color: #fff;
}

.p-activity-card__date.is-over {
  background: linear-gradient(135deg, #c9cdd4, #e5e6eb);
}

.p-activity-card__date strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.p-activity-card__date em {
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.9;
}

.p-activity-card__main {
  flex: 1;
  min-width: 0;
}

.p-activity-card__title {
  display: block;
  margin-bottom: 8px;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.p-activity-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-activity-card__meta:last-child {
  margin-bottom: 0;
}

.p-activity-card__text,
.p-activity-card__loc {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-activity-card__time {
  flex: none;
  color: #3598dc;
  font-weight: 600;
}

/* 宣讲会卡片：日期块纯色蓝底白字，标题与信息行放大 */
.p-activity-card--talk {
  align-items: stretch;
}

.p-activity-card--talk .p-activity-card__title {
  font-size: 16px;
}

.p-activity-card--talk .p-activity-card__meta {
  font-size: 14px;
}

.p-activity-card--talk .p-activity-card__date {
  height: auto;
  background: #3598dc;
}

.p-activity-card--talk .p-activity-card__date.is-over {
  background: #c9cdd4;
}

.p-activity-card--talk .p-activity-card__date strong {
  width: 100%;
  margin-top: 0;
  padding-top: 3px;
  border-top: 1px solid #fff;
  text-align: center;
}

/* 高校 classic1 模板：招聘信息列表沿用首页「日期块 + 时间 / 单位 / 地址」样式 */
body.p-site-cl1 .p-cl1-activity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e5e5;
  color: inherit;
  transition: background 0.2s ease;
}

body.p-site-cl1 .p-cl1-activity:last-child {
  border-bottom: 0;
}

body.p-site-cl1 .p-cl1-activity:hover {
  background: #fafcff;
  color: inherit;
}

body.p-site-cl1 .p-cl1-activity__date {
  display: flex;
  flex: 0 0 60px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 64px;
  border-radius: 6px;
  background: #3498db;
  color: #fff;
}

body.p-site-cl1 .p-cl1-activity__date em {
  width: 100%;
  border-bottom: 1px solid #fff;
  font-size: 14px;
  font-style: normal;
  line-height: 25px;
  text-align: center;
}

body.p-site-cl1 .p-cl1-activity__date strong {
  font-size: 24px;
  font-weight: 400;
  line-height: 38px;
}

body.p-site-cl1 .p-cl1-activity__main {
  flex: 1;
  min-width: 0;
}

body.p-site-cl1 .p-cl1-line {
  display: flex;
  margin: 0;
  color: #222;
  font-size: 14px;
  line-height: 22px;
}

body.p-site-cl1 .p-cl1-line__label {
  flex: 0 0 auto;
  color: #555;
}

body.p-site-cl1 .p-cl1-line__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #222;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.p-site-cl1 .p-cl1-line__value.is-time {
  color: #3498db;
}

@media (max-width: 640px) {
  .p-job-cards--list {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-activity-card {
    gap: 12px;
    padding: 14px 12px;
  }
  .p-activity-card__date {
    width: 56px;
    height: 56px;
  }
  .p-activity-card__meta {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  body.p-site-cl1 .p-cl1-activity {
    gap: 10px;
    padding: 12px;
  }
  body.p-site-cl1 .p-cl1-activity__date {
    flex-basis: 52px;
    width: 52px;
    height: 58px;
  }
  body.p-site-cl1 .p-cl1-line {
    font-size: 13px;
  }
}

/* ==================== 企业列表卡片 ==================== */
.p-company-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding-top: 18px;
}

.p-company-cards > .p-empty,
.p-company-cards > .p-loading {
  grid-column: 1 / -1;
}

.p-company-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 14px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: var(--p-shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-company-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--p-shadow);
}

.p-company-card__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f4f7fb;
  color: var(--p-primary);
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
}

.p-company-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-company-card__name {
  display: -webkit-box;
  height: 40px;
  margin-top: 12px;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.p-company-card:hover .p-company-card__name {
  color: var(--p-primary);
}

.p-company-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--p-line);
  color: var(--p-text-3);
  font-size: 12px;
}

.p-company-card__jobs {
  color: var(--p-primary);
}

/* ==================== 企业详情 ==================== */
.p-detail.p-company-view {
  padding: 24px 32px 36px;
}

.p-company-view__bar {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--p-line);
}

.p-company-view__back {
  color: var(--p-text-3);
  font-size: 13px;
  transition: color 0.2s ease;
}

.p-company-view__back:hover {
  color: var(--p-primary);
}

.p-company-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 0 20px;
}

.p-company-hero__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 18px;
  border: 1px solid var(--p-line);
  background: #f7f8fa;
  color: var(--p-primary);
  font-size: 26px;
  font-weight: 700;
  overflow: hidden;
}

.p-company-hero__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-company-hero__main {
  flex: 1;
  min-width: 0;
}

.p-company-hero__name {
  margin: 0 0 6px;
  color: var(--p-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.p-company-hero__short {
  margin: 0 0 10px;
  color: var(--p-text-3);
  font-size: 14px;
}

.p-company-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-company-hero__tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f2f6ff;
  color: var(--p-primary);
  font-size: 12px;
}

.p-company-hero__stats {
  display: flex;
  flex: none;
  gap: 28px;
}

.p-company-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.p-company-hero__stat strong {
  color: var(--p-primary);
  font-size: 24px;
  font-weight: 700;
}

.p-company-hero__stat span {
  color: var(--p-text-3);
  font-size: 12px;
}

.p-company-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--p-line);
}

.p-company-block__title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  color: var(--p-text);
  font-size: 17px;
  font-weight: 700;
}

.p-company-block__title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--p-primary);
  transform: translateY(-50%);
}

.p-company-block__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.p-company-block__count {
  color: var(--p-text-3);
  font-size: 13px;
}

.p-company-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.p-company-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f7f8fa;
}

.p-company-info-item--tags {
  grid-column: 1 / -1;
}

.p-company-info-item__label {
  color: var(--p-text-3);
  font-size: 12px;
}

.p-company-info-item__value {
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
}

.p-company-info-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-company-promos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.p-company-promo {
  border: 1px solid var(--p-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-company-promo:hover {
  border-color: rgba(23, 86, 155, 0.35);
  box-shadow: var(--p-shadow-sm);
  color: inherit;
}

.p-company-promo__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f7f8fa;
  color: var(--p-primary);
  font-size: 13px;
  overflow: hidden;
}

.p-company-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-company-promo__title {
  display: block;
  padding: 8px 12px;
  color: var(--p-text-2);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-company-jobs {
  border: 1px solid var(--p-line);
  border-radius: 12px;
  overflow: hidden;
}

.p-company-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--p-line);
}

.p-company-job:last-child {
  border-bottom: 0;
}

.p-company-job:hover {
  background: #fbfdff;
}

.p-company-job__main {
  min-width: 0;
}

.p-company-job__name {
  margin: 0 0 5px;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
}

.p-company-job__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-company-job__dot {
  width: 3px;
  height: 3px;
  margin: 0 3px;
  border-radius: 50%;
  background: #c9cdd4;
}

.p-company-job__major {
  color: var(--p-text-2);
}

.p-company-job__side {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}

.p-company-job__salary {
  color: #e5484d;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.p-company-job__apply {
  padding: 5px 18px;
  border-radius: 999px;
  background: var(--p-primary);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}

.p-company-job__apply:hover {
  background: var(--p-primary-dark);
  color: #fff;
}

/* ==================== 招聘信息详情 ==================== */
.p-detail.p-activity-view {
  padding: 24px 32px 36px;
}

.p-activity-view__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--p-line);
}

.p-activity-view__back {
  color: var(--p-text-3);
  font-size: 13px;
  transition: color 0.2s ease;
}

.p-activity-view__back:hover {
  color: var(--p-primary);
}

.p-activity-view__share {
  padding: 6px 16px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  background: #fff;
  color: var(--p-text-2);
  font-size: 13px;
}

.p-activity-view__share:hover {
  border-color: var(--p-primary);
  color: var(--p-primary);
}

.p-activity-view__title {
  margin: 18px 0 0;
  color: var(--p-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.p-activity-view__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-activity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.p-activity-stat {
  padding: 14px;
  border-radius: 10px;
  background: #f7faff;
  text-align: center;
}

.p-activity-stat strong {
  display: block;
  color: var(--p-primary);
  font-size: 22px;
  font-weight: 700;
}

.p-activity-stat span {
  color: var(--p-text-3);
  font-size: 12px;
}

.p-activity-checkin__body {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 992px) {
  .p-company-promos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .p-company-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .p-detail.p-company-view,
  .p-detail.p-activity-view {
    padding: 20px 18px 24px;
  }
  .p-company-hero {
    flex-wrap: wrap;
  }
  .p-company-hero__stats {
    width: 100%;
  }
  .p-company-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-company-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-activity-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-activity-view__title {
    font-size: 20px;
  }
}

/* ==================== 资讯中心列表（与 Vue 版官网一致） ==================== */
.p-notice-board {
  min-height: 400px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
}

.p-notice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--p-line);
}

.p-notice-head__title {
  margin: 0;
  color: var(--p-text);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.p-notice-tabs {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 24px;
  min-width: 260px;
}

.p-notice-tabs button {
  position: relative;
  flex: none;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-text-2);
  font-size: 15px;
  white-space: nowrap;
}

.p-notice-tabs button:hover {
  color: var(--p-primary);
}

.p-notice-tabs button.is-active {
  color: var(--p-primary);
  font-weight: 600;
}

.p-notice-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--p-primary);
}

.p-notice-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 240px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  background: #fff;
}

.p-notice-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--p-text);
  font-size: 13px;
  outline: none;
}

.p-notice-search button {
  display: grid;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-text-3);
}

.p-notice-search button:hover {
  color: var(--p-primary);
}

.p-notice-list {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.p-notice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--p-line);
}

.p-notice-item:last-child {
  border-bottom: 0;
}

.p-notice-item__dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9cdd4;
  transition: background 0.2s ease;
}

.p-notice-item__title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  color: var(--p-text-2);
  font-size: 14px;
  transition: color 0.2s ease;
}

.p-notice-item__title > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-notice-item__date {
  flex: none;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-notice-item:hover .p-notice-item__title {
  color: var(--p-primary);
}

.p-notice-item:hover .p-notice-item__dot {
  background: #13deb9;
}

@media (max-width: 640px) {
  .p-notice-board {
    padding: 18px 16px;
  }
  .p-notice-head {
    gap: 12px;
  }
  .p-notice-tabs {
    width: 100%;
    min-width: 0;
    gap: 18px;
  }
  .p-notice-search {
    width: 100%;
  }
}

.p-pager--center {
  justify-content: center;
}

/* ==================== 资讯详情 ==================== */
.p-detail-side {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.p-detail.p-notice-view {
  padding: 28px 40px 40px;
}

.p-notice-view__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.p-notice-view__back {
  color: var(--p-text-3);
  font-size: 13px;
  transition: color 0.2s ease;
}

.p-notice-view__back:hover {
  color: var(--p-primary);
}

.p-notice-view__cat {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--p-primary-soft);
  color: var(--p-primary);
  font-size: 12px;
}

.p-notice-view__title {
  margin: 0;
  color: var(--p-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.p-notice-view__subtitle {
  margin: 10px 0 0;
  color: var(--p-text-2);
  font-size: 15px;
  text-align: center;
}

.p-notice-view__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-notice-view__meta a {
  color: var(--p-primary);
}

.p-notice-view__divider {
  height: 1px;
  margin: 24px 0;
  background: var(--p-line);
}

.p-notice-view__summary {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--p-primary);
  border-radius: 0 var(--p-radius-sm) var(--p-radius-sm) 0;
  background: #f7f8fa;
  color: var(--p-text-2);
  font-size: 14px;
  line-height: 1.8;
}

.p-notice-view__cover {
  margin-bottom: 24px;
  text-align: center;
}

.p-notice-view__cover img {
  max-width: 100%;
  border-radius: 10px;
}

/* 富文本正文：表格 / 图片 / 长链接均不得撑破卡片 */
.p-richtext {
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.p-richtext p {
  margin: 0 0 14px;
}

.p-richtext h1,
.p-richtext h2,
.p-richtext h3,
.p-richtext h4 {
  margin: 20px 0 10px;
  color: var(--p-text);
  font-weight: 600;
}

.p-richtext h1 {
  font-size: 20px;
}

.p-richtext h2 {
  font-size: 18px;
}

.p-richtext h3,
.p-richtext h4 {
  font-size: 16px;
}

.p-richtext img,
.p-richtext video,
.p-richtext iframe {
  max-width: 100%;
  height: auto;
}

.p-richtext a {
  color: var(--p-primary);
  word-break: break-all;
}

.p-richtext ul,
.p-richtext ol {
  margin: 0 0 14px;
  padding-left: 24px;
}

.p-richtext ul {
  list-style: disc;
}

.p-richtext ol {
  list-style: decimal;
}

.p-richtext li {
  margin: 4px 0;
}

.p-richtext blockquote {
  margin: 0 0 14px;
  padding: 10px 16px;
  border-left: 3px solid #c9cdd4;
  background: #f7f8fa;
  color: var(--p-text-2);
}

.p-richtext pre {
  max-width: 100%;
  padding: 12px 14px;
  overflow-x: auto;
  border-radius: 8px;
  background: #f7f8fa;
}

.p-richtext code {
  word-break: break-all;
}

.p-richtext table {
  width: 100%;
  border-collapse: collapse;
}

.p-richtext th,
.p-richtext td {
  padding: 8px 12px;
  border: 1px solid var(--p-line);
  font-size: 14px;
  text-align: left;
  word-break: break-word;
}

.p-richtext th {
  background: #f7f8fa;
  font-weight: 600;
}

/* 宽表格：仅富文本正文内包滚动容器，横向滚动不撑破卡片 */
.p-richtext .p-table-wrap {
  max-width: 100%;
  margin: 0 0 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.p-richtext .p-table-wrap table {
  width: max-content;
  min-width: 100%;
  margin-bottom: 0;
}

/* 附件下载 */
.p-notice-attach {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--p-line);
}

.p-notice-attach__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--p-text);
  font-size: 15px;
  font-weight: 600;
}

.p-notice-attach__title::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--p-primary);
}

.p-notice-attach__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p-notice-attach__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #f7f8fa;
  transition: background 0.2s ease;
}

.p-notice-attach__item:hover {
  background: var(--p-primary-soft);
}

.p-notice-attach__link {
  flex: 1;
  min-width: 0;
  color: var(--p-text);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-notice-attach__link:hover {
  color: var(--p-primary);
}

.p-notice-attach__size {
  flex: none;
  color: var(--p-text-3);
  font-size: 12px;
}

/* 侧栏资讯条 */
.p-notice-side-panel .p-panel__body {
  display: flex;
  flex-direction: column;
}

.p-notice-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--p-line);
}

.p-notice-mini:last-child {
  border-bottom: 0;
}

.p-notice-mini__dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9cdd4;
  transition: background 0.2s ease;
}

.p-notice-mini__top {
  flex: none;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--p-accent);
  color: #fff;
  font-size: 11px;
  line-height: 15px;
}

.p-notice-mini__title {
  flex: 1;
  min-width: 0;
  color: var(--p-text-2);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.p-notice-mini__date {
  flex: none;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-notice-mini:hover .p-notice-mini__title {
  color: var(--p-primary);
}

.p-notice-mini:hover .p-notice-mini__dot {
  background: #13deb9;
}

@media (max-width: 992px) {
  .p-detail-side {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .p-board {
    padding: 18px 16px;
  }
  .p-board-head {
    gap: 12px;
  }
  .p-board-tabs {
    width: 100%;
    min-width: 0;
    gap: 18px;
  }
  .p-board-search {
    width: 100%;
  }
  .p-detail.p-notice-view {
    padding: 20px 18px 24px;
  }
  .p-notice-view__title {
    font-size: 20px;
  }
  .p-richtext th,
  .p-richtext td {
    padding: 6px 8px;
    font-size: 13px;
  }
}

/* ==================== 详情 ==================== */
.p-detail {
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  padding: 28px 32px;
}

.p-detail__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--p-text);
}

.p-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 12px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--p-line);
  color: var(--p-text-3);
  font-size: 13px;
}

.p-detail__body {
  color: #334155;
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}

.p-detail__body img,
.p-detail__body video,
.p-detail__body iframe {
  max-width: 100%;
  height: auto;
}

.p-detail__body p {
  margin-bottom: 1em;
}

.p-detail__body table {
  width: 100%;
  border-collapse: collapse;
}

.p-detail__body td,
.p-detail__body th {
  border: 1px solid var(--p-line);
  padding: 8px;
}

.p-detail__summary {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--p-primary);
  border-radius: 0 var(--p-radius-sm) var(--p-radius-sm) 0;
  background: #f7faff;
  color: var(--p-text-2);
}

.p-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.p-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.p-info-grid dt {
  color: var(--p-text-3);
  font-size: 12px;
}

.p-info-grid dd {
  margin-top: 2px;
  font-size: 14px;
  word-break: break-all;
}

.p-side-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--p-line);
}

.p-side-list li:last-child {
  border-bottom: 0;
}

.p-side-list a {
  display: -webkit-box;
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-side-list a:hover {
  color: var(--p-primary);
}

.p-side-list time {
  display: block;
  margin-top: 4px;
  color: var(--p-text-3);
  font-size: 12px;
}

/* ==================== 轮播 ==================== */
.p-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--p-radius);
  background: #0f3f76;
}

.p-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.p-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  height: 100%;
}

.p-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 18px;
  background: linear-gradient(transparent, rgba(8, 26, 48, 0.78));
  color: #fff;
}

.p-carousel__caption strong {
  display: block;
  font-size: 20px;
}

.p-carousel__caption em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 13px;
  opacity: 0.82;
}

.p-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 40px;
  height: 56px;
  margin-top: -28px;
  border: 0;
  background: rgba(8, 26, 48, 0.28);
  color: #fff;
  font-size: 0;
}

.p-carousel__arrow.is-prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.p-carousel__arrow.is-next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

.p-carousel__arrow::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.p-carousel__arrow.is-prev::after {
  transform: rotate(-135deg);
}

.p-carousel__arrow.is-next::after {
  transform: rotate(45deg);
}

.p-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.p-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.p-carousel__dot.is-active {
  width: 20px;
  border-radius: 4px;
  background: #fff;
}

/* ==================== 分页 / 状态 ==================== */
.p-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.p-pager__info {
  color: var(--p-text-3);
  font-size: 13px;
}

.p-pager__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.p-pager__btns button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
  color: var(--p-text-2);
  font-size: 13px;
}

.p-pager__btns button:hover:not(:disabled) {
  border-color: var(--p-primary);
  color: var(--p-primary);
}

.p-pager__btns button.is-active {
  border-color: var(--p-primary);
  background: var(--p-primary);
  color: #fff;
}

.p-pager__btns button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.p-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 20px;
  color: var(--p-text-3);
  font-size: 14px;
  text-align: center;
}

.p-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 20px;
  color: var(--p-text-3);
  font-size: 14px;
}

.p-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--p-line);
  border-top-color: var(--p-primary);
  border-radius: 50%;
  animation: p-spin 0.8s linear infinite;
}

@keyframes p-spin {
  to {
    transform: rotate(360deg);
  }
}

.p-skeleton {
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef3f9 25%, #f7faff 50%, #eef3f9 75%);
  background-size: 200% 100%;
  animation: p-shimmer 1.4s infinite;
}

@keyframes p-shimmer {
  to {
    background-position: -200% 0;
  }
}

.p-toast {
  position: fixed;
  left: 50%;
  bottom: 56px;
  z-index: 999;
  max-width: 78vw;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 31, 46, 0.9);
  color: #fff;
  font-size: 13px;
  transform: translateX(-50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* ==================== 栅格辅助 ==================== */
.p-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.p-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.p-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.p-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-muted {
  color: var(--p-text-3);
}

/* ==================== 招聘信息检索 ==================== */
.p-filter-panel {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.p-filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--p-line);
}

.p-filter-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.p-filter-panel__head h2 .p-bar {
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--p-primary);
}

.p-filter-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--p-primary);
  font-size: 13px;
}

.p-filter-toggle:hover {
  text-decoration: underline;
}

.p-filter-panel__body {
  padding: 4px 18px 16px;
}

.p-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--p-line);
}

.p-filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.p-filter-row__label {
  flex: 0 0 72px;
  color: var(--p-text-2);
  font-size: 13px;
}

.p-filter-select,
.p-filter-input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
  font-size: 13px;
  outline: 0;
}

.p-filter-select {
  min-width: 170px;
}

.p-filter-input {
  width: 210px;
}

.p-filter-select:focus,
.p-filter-input:focus {
  border-color: var(--p-primary);
}

.p-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.p-chip-group button {
  padding: 4px 14px;
  border: 1px solid var(--p-line);
  border-radius: 999px;
  background: #fff;
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 1.6;
}

.p-chip-group button:hover {
  border-color: var(--p-primary);
  color: var(--p-primary);
}

.p-chip-group button.is-active {
  border-color: var(--p-primary);
  background: var(--p-primary);
  color: #fff;
}

.p-type-tabs {
  margin-bottom: 14px;
}

/* ==================== 招聘活动详情 ==================== */
.p-activity-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.p-activity-fact {
  padding: 14px 16px;
  border: 1px solid #dce8f7;
  border-radius: 10px;
  background: #f7faff;
}

.p-activity-fact__label {
  display: block;
  margin-bottom: 4px;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-activity-fact strong {
  color: var(--p-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.p-activity-checkin {
  display: block;
}

.p-activity-checkin #pCheckinQr img {
  border-radius: var(--p-radius-sm);
}

/* ==================== 活动详情页签 ==================== */
.p-activity-tabs {
  margin-top: 24px;
}

.p-activity-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--p-line);
}

.p-activity-tab {
  position: relative;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--p-text-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.p-activity-tab:hover {
  color: var(--p-primary);
}

.p-activity-tab.is-active {
  color: var(--p-primary);
}

.p-activity-tab.is-active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--p-primary);
}

.p-activity-tabs__body {
  padding-top: 18px;
}

.p-activity-tab-pane[hidden] {
  display: none;
}

.p-activity-tab-pane .p-detail-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.p-unit .p-unit__head--plain {
  cursor: default;
}

.p-unit .p-unit__head--plain:hover {
  background: transparent;
}

.p-detail-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--p-line);
}

.p-detail-section__title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 12px;
  color: var(--p-text);
  font-size: 17px;
  font-weight: 600;
}

.p-detail-section__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--p-primary);
  transform: translateY(-50%);
}

.p-ent-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fbfdff;
}

.p-ent-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.p-ent-card__logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--p-primary-soft);
  color: var(--p-primary);
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
}

.p-ent-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-ent-card__info,
.p-ent-card__main {
  min-width: 0;
}

.p-ent-card__name {
  display: block;
  color: var(--p-text);
  font-size: 16px;
  font-weight: 600;
}

.p-ent-card__name:hover {
  color: var(--p-primary);
}

.p-ent-card__meta {
  display: block;
  margin-top: 4px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-ent-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.p-mini-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: #eef4fd;
  color: var(--p-primary);
  font-size: 12px;
}

.p-ent-card__desc {
  width: 100%;
  margin-top: 4px;
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 1.7;
}

.p-ent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.p-ent-card--sm {
  display: flex;
  gap: 10px;
  padding: 12px;
}

.p-ent-card--sm .p-ent-card__logo {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.p-ent-card--sm .p-ent-card__main {
  display: block;
}

.p-ent-card--sm .p-ent-card__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-ent-grid__more {
  margin-top: 10px;
  font-size: 12px;
}

.p-table-wrap {
  overflow-x: auto;
}

.p-job-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.p-job-table th,
.p-job-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--p-line);
  text-align: left;
  vertical-align: top;
}

.p-job-table th {
  background: #f6f9fd;
  color: var(--p-text-2);
  font-weight: 600;
  white-space: nowrap;
}

.p-job-table tbody tr:hover {
  background: #fbfdff;
}

.p-job-table__name {
  display: block;
  color: var(--p-text);
  font-weight: 600;
}

.p-job-table__ent {
  display: block;
  margin-top: 2px;
  color: var(--p-text-3);
  font-size: 12px;
  font-style: normal;
}

.p-job-table__salary {
  color: var(--p-accent);
  font-weight: 600;
  white-space: nowrap;
}

.p-side-stack {
  display: flex;
  flex-direction: column;
}

.p-side-jobs {
  display: flex;
  flex-direction: column;
}

.p-side-job {
  display: block;
  padding: 10px 0;
  border-bottom: 1px dashed var(--p-line);
}

.p-side-job:first-child {
  padding-top: 0;
}

.p-side-job:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.p-side-job__name {
  display: block;
  overflow: hidden;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-side-job__name:hover {
  color: var(--p-primary);
}

.p-side-job__meta {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--p-text-3);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-side-job__salary {
  display: block;
  margin-top: 2px;
  color: var(--p-accent);
  font-size: 12px;
  font-weight: 600;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1100px) {
  .p-company-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .p-topbar__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 20px;
  }
  .p-search {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .p-topbar__actions {
    margin-left: auto;
  }
  .p-nav-toggle {
    display: flex;
  }
  .p-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 70vh;
    padding: 8px 12px 16px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--p-line);
    box-shadow: 0 12px 24px rgba(15, 63, 118, 0.1);
  }
  .p-nav.is-open {
    display: flex;
  }
  .p-nav__link {
    padding: 11px 12px;
    font-size: 15px;
  }
  .p-nav__sub {
    position: static;
    display: none;
    padding: 0 0 4px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .p-nav__item.is-open .p-nav__sub {
    display: block;
  }
  .p-nav-manage {
    display: none;
  }
  .p-navbar__inner {
    position: relative;
    min-height: 60px;
  }
  .p-footer__main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .p-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-grid-3,
  .p-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-detail {
    padding: 20px 18px;
  }
  .p-detail__title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .p-container {
    padding: 0 14px;
  }
  .p-brand__text strong {
    max-width: 190px;
    font-size: 15px;
  }
  .p-topbar__actions {
    gap: 8px;
    font-size: 12px;
  }
  .p-topbar__actions a[data-help] {
    display: none;
  }
  .p-company-grid,
  .p-grid-2,
  .p-grid-3,
  .p-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-list__item {
    padding: 14px;
  }
  .p-list__thumb {
    width: 96px;
    height: 68px;
  }
  .p-job {
    flex-wrap: wrap;
    padding: 14px;
  }
  .p-job__salary {
    width: 100%;
    text-align: right;
  }
  .p-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-pager {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 联盟站单行页头：中等宽度先收紧间距、收起帮助，避免搜索框被挤压 */
@media (max-width: 1100px) {
  .p-header.is-alliance .p-navbar__inner {
    gap: 12px;
  }
  .p-header.is-alliance .p-brand__name {
    max-width: 200px;
  }
  .p-header.is-alliance .p-header__help {
    display: none;
  }
}

/* 联盟站单行页头：窄屏收起搜索，品牌占满剩余宽度，登录/菜单按钮靠右 */
@media (max-width: 900px) {
  .p-header.is-alliance .p-navbar__inner {
    gap: 10px;
  }
  .p-header.is-alliance .p-brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .p-header.is-alliance .p-brand__name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .p-header.is-alliance .p-navbar__gap,
  .p-header.is-alliance .p-search,
  .p-header.is-alliance .p-header__help {
    display: none;
  }
  .p-header.is-alliance .p-header__actions {
    order: 2;
    margin-left: auto;
  }
  .p-header.is-alliance .p-nav-toggle {
    order: 3;
    flex: 0 0 auto;
    margin-left: 0;
  }
  .p-header.is-alliance .p-nav {
    margin-left: 0;
  }
  .p-header.is-alliance .p-nav__link.is-active::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .p-header.is-alliance .p-brand__name {
    font-size: 14px;
  }
  .p-header.is-alliance .p-header__login {
    padding: 6px 13px;
    font-size: 12.5px;
  }
}

/* 招聘信息检索 / 详情：窄屏单列堆叠 */
@media (max-width: 760px) {
  .p-filter-row__label {
    flex-basis: 100%;
  }
  .p-filter-select,
  .p-filter-input {
    flex: 1 1 100%;
    width: 100%;
  }
  .p-activity-facts,
  .p-ent-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==================== 招聘会详情：报名引导 / 签到 / 参会单位 ==================== */
.p-activity-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
  padding: 16px 20px;
  border: 1px solid #dce8f7;
  border-radius: var(--p-radius-sm);
  background: linear-gradient(135deg, #f2f7ff 0%, #fff 100%);
}

.p-activity-action__tip {
  flex: 1 1 260px;
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 1.7;
}

.p-activity-action .p-btn {
  flex: none;
}

.p-activity-checkin__qr {
  display: grid;
  flex: none;
  place-items: center;
  width: 132px;
  height: 132px;
  padding: 8px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
}

.p-activity-checkin__qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-activity-checkin__qr .p-muted {
  padding: 0 6px;
  line-height: 1.6;
  text-align: center;
}

.p-activity-checkin__tip-title {
  color: var(--p-text);
  font-size: 15px;
  font-weight: 600;
}

.p-activity-checkin__tip-desc {
  margin-top: 6px;
  color: var(--p-text-2);
  font-size: 13px;
  line-height: 1.7;
}

.p-activity-checkin__tip-sub {
  margin-top: 4px;
  color: var(--p-text-3);
  font-size: 12px;
}

/* ==================== 扫码签到落地页（/portal/checkin） ==================== */
.p-checkin-panel {
  max-width: 560px;
  margin: 40px auto;
}

.p-checkin-panel .p-panel__body {
  padding: 32px 28px;
  text-align: center;
}

.p-checkin-panel__title {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.p-checkin-panel__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* 签到结果状态：绿色对勾 / 红色叉号，一眼可见 */
.p-checkin-result {
  margin: 2px auto 4px;
  text-align: center;
}

.p-checkin-result__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  animation: p-checkin-result-pop 0.36s ease-out both;
}

.p-checkin-result__icon svg {
  display: block;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-checkin-result.is-success .p-checkin-result__icon {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
}

.p-checkin-result.is-fail .p-checkin-result__icon {
  background: linear-gradient(135deg, #fb7185, #e11d48);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.24);
}

.p-checkin-result__label {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.p-checkin-result.is-success .p-checkin-result__label {
  color: #047857;
}

.p-checkin-result.is-fail .p-checkin-result__label {
  color: #be123c;
}

.p-checkin-result__desc {
  margin: 8px 0 0;
  color: var(--p-text-3);
  font-size: 14px;
  line-height: 1.6;
}

@keyframes p-checkin-result-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-checkin-result__icon {
    animation: none;
  }
}

/* 本场签到人次 */
.p-checkin-stat {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #e9eef5;
  border-radius: 12px;
  background: #f7f9fc;
}

.p-checkin-stat__main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-checkin-stat__main b {
  margin: 0 2px;
  color: var(--p-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.p-checkin-stat__sub {
  margin-top: 5px;
  color: var(--p-text-3);
  font-size: 12px;
}

/* 学生个人信息（姓名 / 院系 / 学号） */
.p-checkin-student {
  margin-top: 14px;
  padding: 12px 16px 2px;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  text-align: left;
}

.p-checkin-student__title {
  color: var(--p-text-3);
  font-size: 13px;
}

.p-checkin-student .p-checkin-rows {
  margin-top: 6px;
  border-top: 0;
}

.p-checkin-student .p-checkin-rows__row:last-child {
  border-bottom: 0;
}

.p-checkin-guest {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff7ed;
  color: #b45309;
  font-size: 13px;
  text-align: left;
}

.p-checkin-head {
  margin-bottom: 18px;
}

.p-checkin-head__title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
}

.p-checkin-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.p-checkin-form label {
  margin-top: 6px;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 500;
}

.p-checkin-form .p-checkin-form__req {
  margin-left: 2px;
  color: #e5484d;
}

.p-checkin-form select,
.p-checkin-form input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
  color: var(--p-text);
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s ease;
}

.p-checkin-form select:focus,
.p-checkin-form input:focus {
  border-color: var(--p-primary);
}

.p-checkin-form .p-checkin-form__hint {
  color: var(--p-text-3);
  font-size: 12px;
  line-height: 1.6;
}

.p-checkin-form .p-checkin-form__error {
  min-height: 18px;
  color: #e5484d;
  font-size: 13px;
}

.p-checkin-form .p-checkin-form__submit {
  height: 42px;
  margin-top: 6px;
  font-size: 15px;
}

.p-checkin-form .p-checkin-form__submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.p-checkin-rows {
  margin-top: 16px;
  border-top: 1px solid var(--p-line);
  text-align: left;
}

.p-checkin-rows__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--p-line);
  font-size: 14px;
}

.p-checkin-rows__row span {
  flex: none;
  color: var(--p-text-3);
}

.p-checkin-rows__row b {
  color: var(--p-text);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.p-units-tip {
  margin-bottom: 12px;
  color: var(--p-text-3);
  font-size: 13px;
}

.p-unit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-unit {
  overflow: hidden;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
}

.p-unit__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.p-unit__head:hover {
  background: #fbfdff;
}

.p-unit__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--p-primary-soft);
  color: var(--p-primary);
  font-size: 17px;
  font-weight: 700;
  overflow: hidden;
}

.p-unit__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-unit__info {
  flex: 1;
  min-width: 0;
}

.p-unit__name {
  display: block;
  overflow: hidden;
  color: var(--p-text);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-unit__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-unit__booth {
  color: var(--p-primary);
}

.p-unit__toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  color: var(--p-primary);
  font-size: 13px;
}

.p-unit__arrow {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.p-unit.is-open .p-unit__arrow {
  transform: rotate(90deg);
}

.p-unit__jobs {
  padding: 0 16px 12px;
  border-top: 1px dashed var(--p-line);
  background: #fbfdff;
}

.p-unit__empty {
  padding: 14px 0;
  color: var(--p-text-3);
  font-size: 13px;
  text-align: center;
}

.p-unit-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--p-line);
}

.p-unit-job:last-child {
  border-bottom: 0;
}

.p-unit-job__main {
  min-width: 0;
}

.p-unit-job__name {
  display: block;
  color: var(--p-text);
  font-size: 14px;
  font-weight: 600;
}

.p-unit-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  color: var(--p-text-3);
  font-size: 12px;
}

.p-unit-job__tags em {
  margin-right: 3px;
  color: #a6b3c2;
  font-style: normal;
}

.p-unit-job__side {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}

.p-unit-job__side em {
  color: var(--p-text-3);
  font-size: 12px;
  font-style: normal;
}

.p-unit-job__side strong {
  color: var(--p-accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* 主办企业宣传资料 */
.p-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}

.p-promo-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--p-line);
  border-radius: var(--p-radius-sm);
  background: #fff;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-promo-card:hover {
  border-color: #bcd7f5;
  box-shadow: var(--p-shadow-sm);
  color: inherit;
}

.p-promo-card__media {
  display: grid;
  place-items: center;
  height: 100px;
  background: #f2f6fb;
  color: var(--p-text-3);
  font-size: 12px;
  letter-spacing: 1px;
}

.p-promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-promo-card__title {
  display: block;
  padding: 8px 10px;
  overflow: hidden;
  color: var(--p-text-2);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-promo-card:hover .p-promo-card__title {
  color: var(--p-primary);
}

@media (max-width: 760px) {
  .p-activity-checkin__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .p-activity-action {
    align-items: stretch;
    flex-direction: column;
  }

  .p-activity-action .p-btn {
    width: 100%;
  }

  .p-unit-job {
    flex-wrap: wrap;
  }

  .p-unit-job__side {
    width: 100%;
    justify-content: space-between;
  }

  .p-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

