/* about-join-v2 */

.jn-page { --brand: #c30d23; background: #fff; color: #404040; }

.jn-page a { text-decoration: none; }

.jn-page .neiermenu { display: none !important; }



.jn-page .about-hero {

  background:

    url('/dist/images/about-hero-bg.jpg') right center / cover no-repeat;

  padding: 0;

  height: 400px;

  min-height: 400px;

  box-sizing: border-box;

  display: flex; align-items: center; justify-content: center;

  color: #fff; position: relative; overflow: hidden;

}

.jn-page .about-hero::before {

  content: ''; position: absolute; inset: 0;

  background:

    radial-gradient(circle at 20% 30%, rgba(14,165,233,0.14) 0%, transparent 45%),

    radial-gradient(circle at 80% 70%, rgba(195,13,35,0.10) 0%, transparent 40%);

  pointer-events: none;

}

.jn-page .about-hero .inner {

  width: 100%; max-width: var(--site-maxw); margin: 0 auto;

  position: relative; z-index: 1; text-align: left; padding: 0 0;

}

.jn-page .about-hero h1 {

  font-size: 32px; font-weight: 400; margin: 0 0 16px;

  letter-spacing: 0.01em; color: #fff;

}

.jn-page .about-hero .sub {

  font-size: 15px; color: rgba(255,255,255,0.82);

  line-height: 1.85; max-width: 720px; margin: 0;

}



.jn-page .section {

  max-width: var(--site-maxw); margin: 0 auto; padding: 36px 0 8px;

  overflow: visible; /* 覆盖 layout.css .section，避免 hover 阴影被裁 */

}

.jn-page .section--cats { padding-top: 40px; padding-bottom: 24px; overflow: visible; }

.jn-page .section--jobs { padding-top: 28px; }

.jn-page .section:last-of-type { padding-bottom: 56px; }

.jn-page .section-head {

  position: relative; display: flex; align-items: center;

  justify-content: center; margin-bottom: 20px;

}

.jn-page .section-title {

  text-align: center; /* section via type-v2 */  line-height: 1.3;

}



.jn-page .join-cats {

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;

  /* hover 上浮 + 阴影留白，负 margin 保持版心对齐 */
  padding: 8px 6px 20px;

  margin: -8px -6px -12px;

}

.jn-page .join-cat {

  background: #fff;

  border: 1px solid rgba(15,23,42,0.08);

  border-top: 3px solid #c30d23;

  border-radius: 4px;

  padding: 22px 20px;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

}

.jn-page .join-cat:hover {

  transform: translateY(-4px);

  box-shadow: 0 12px 32px rgba(15,23,42,0.1);

  border-color: rgba(195,13,35,0.35);

  border-top-color: #c30d23;

}

.jn-page .join-cat h4 {

  font-size: 16px; color: #282323; margin: 0 0 10px; font-weight: 700;

}

.jn-page .join-cat p {

  font-size: var(--av-fs-caption, 13px); color: #404040; line-height: 1.7; margin: 0;

}



.jn-page .job-list {

  background: #fff; border: 1px solid rgba(15,23,42,0.08);

  border-radius: 4px; padding: 24px 24px; margin-top: 0;

}

.jn-page .job-accordion {

  border: 1px solid rgba(15,23,42,0.08); border-radius: 4px;

  overflow: hidden; background: #fff;

}

.jn-page .job-item { border-bottom: 1px solid rgba(15,23,42,0.08); }

.jn-page .job-item:last-child { border-bottom: none; }

.jn-page .job-header {

  display: flex; align-items: center; justify-content: space-between;

  gap: 16px; padding: 16px 24px; background: #b0000c; color: #fff;

  cursor: pointer; transition: background 0.2s;

}

.jn-page .job-item:not(.active) .job-header { background: #fff; color: #282323; }

.jn-page .job-item:not(.active) .job-header:hover { background: #fff5f6; }

.jn-page .job-header .left {

  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;

}

.jn-page .job-header .name { font-size: 16px; font-weight: 700; }

.jn-page .job-header .meta { font-size: var(--av-fs-caption, 13px); color: rgba(255,255,255,0.85); }

.jn-page .job-item:not(.active) .job-header .meta { color: #555555; }

.jn-page .job-header .arrow {

  width: 22px; height: 22px; display: flex; align-items: center;

  justify-content: center; transition: transform 0.3s; flex-shrink: 0;

}

.jn-page .job-header .arrow svg {

  display: block; width: 14px; height: 14px; stroke: currentColor;

  stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;

}

.jn-page .job-item.active .job-header .arrow { transform: rotate(180deg); }

.jn-page .job-body {

  max-height: 0; overflow: hidden; opacity: 0;

  transition: max-height 0.35s ease, opacity 0.25s ease;

}

.jn-page .job-item.active .job-body { opacity: 1; }

.jn-page .job-body-inner { background: #f4f4f4; padding: 24px; }

.jn-page .job-section { margin-bottom: 18px; }

.jn-page .job-section:last-child { margin-bottom: 0; }

.jn-page .job-section h5 {

  font-size: 14px; font-weight: 700; color: #282323; margin: 0 0 10px;

}

.jn-page .job-section p {

  font-size: 14px; color: #404040; line-height: 1.8; margin: 0;

}

.jn-page .job-section ul { list-style: none; margin: 0; padding: 0; }

.jn-page .job-section li {

  font-size: 14px; color: #404040; line-height: 1.9;

  padding-left: 16px; position: relative;

}

.jn-page .job-section li::before {

  content: ''; position: absolute; left: 0; top: 10px;

  width: 6px; height: 6px; border-radius: 50%; background: #c30d23;

}

.jn-page .job-footer {

  margin-top: 18px; padding-top: 16px;

  border-top: 1px solid rgba(15,23,42,0.08);

  font-size: var(--av-fs-caption, 13px); color: #404040;

}

.jn-page .job-footer a { color: #c30d23; font-weight: 400; }

.jn-page .job-footer a:hover { text-decoration: underline; }



.jn-page .join-mail {

  margin-top: 20px; background: #fff5f6; border: 1px solid #ffd9dd;

  border-radius: 4px; padding: 16px 22px; font-size: 14px; color: #404040;

}

.jn-page .join-mail a { color: #c30d23; font-weight: 400; }

.jn-page .join-mail a:hover { text-decoration: underline; }



@media (max-width: 900px) {

  .jn-page .about-hero .inner { padding: 0 16px; }

  .jn-page .about-hero h1 { font-size: 24px; }

  .jn-page .about-hero .sub { font-size: 14px; }

  .jn-page .section { padding: 28px 16px 8px; }

  .jn-page .section:last-of-type { padding-bottom: 48px; }

  .jn-page /* .section-title size via type-v2 breakpoints */

  .jn-page .join-cats { grid-template-columns: repeat(2, 1fr); }

  .jn-page .join-cat:hover { transform: none; }

}

@media (max-width: 768px) {

  .jn-page .join-cats { grid-template-columns: 1fr; }

  .jn-page .job-header { padding: 14px 16px; }

  .jn-page .job-header .name { font-size: 14px; }

  .jn-page .job-header .left { gap: 6px 12px; }

  .jn-page .job-body-inner { padding: 18px; }

  .jn-page .job-list { padding: 18px 14px; }

}



/* ===== Overflow / ellipsis ===== */

.jn-page .about-hero h1 {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  text-overflow: ellipsis;

  word-break: break-word;

  overflow-wrap: anywhere;

  max-height: 2.5em;

  max-width: min(900px, 100%);

}

.jn-page .about-hero .sub {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 3;

  line-clamp: 3;

  text-overflow: ellipsis;

  word-break: break-word;

  overflow-wrap: anywhere;

  max-height: 5.25em;

}

.jn-page .join-cat {

  min-width: 0;

  overflow: visible; /* 自身 overflow:hidden 会裁掉 box-shadow */

}

.jn-page .join-cat h4 {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  text-overflow: ellipsis;

  word-break: break-word;

  overflow-wrap: anywhere;

  max-height: 2.8em;

}

.jn-page .join-cat p {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 3;

  line-clamp: 3;

  text-overflow: ellipsis;

  word-break: break-word;

  overflow-wrap: anywhere;

  max-height: 5.25em;

}

.jn-page .job-header .left {

  min-width: 0;

  flex: 1 1 auto;

}

.jn-page .job-header .name {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  text-overflow: ellipsis;

  word-break: break-word;

  overflow-wrap: anywhere;

  max-height: 2.8em;

  min-width: 0;

}

.jn-page .job-section p,

.jn-page .job-section li {

  overflow: hidden;

  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 6;

  line-clamp: 6;

  word-break: break-word;

  overflow-wrap: anywhere;

}

/* av-fold-mobile */
/* Dual/triple fold (Mate XT unfolded CSS size, or a hinge). Excludes 1920 desktop and 1440x900 laptop. */
@media (min-width: 1200px) and (max-width: 1650px) and (min-aspect-ratio: 4/3) and (max-aspect-ratio: 29/20),
       (min-width: 769px) and (max-width: 1199px) and (max-aspect-ratio: 3/2),
       (min-width: 769px) and (max-width: 1200px) and (max-aspect-ratio: 3/4),
       (spanning: single-fold-vertical),
       (spanning: single-fold-horizontal),
       (horizontal-viewport-segments: 2),
       (horizontal-viewport-segments: 3),
       (vertical-viewport-segments: 2),
       (vertical-viewport-segments: 3) {


  .jn-page .about-hero .inner { padding: 0 16px; }

  .jn-page .about-hero h1 { font-size: 24px; }

  .jn-page .about-hero .sub { font-size: 14px; }

  .jn-page .section { padding: 28px 16px 8px; }

  .jn-page .section:last-of-type { padding-bottom: 48px; }

  .jn-page /* .section-title size via type-v2 breakpoints */

  .jn-page .join-cats { grid-template-columns: repeat(2, 1fr); }

  .jn-page .join-cat:hover { transform: none; }

  .jn-page .job-header { padding: 14px 16px; }

  .jn-page .job-header .name { font-size: 14px; }

  .jn-page .job-header .left { gap: 6px 12px; }

  .jn-page .job-body-inner { padding: 18px; }

  .jn-page .job-list { padding: 18px 14px; }

}
