/* JapanJob visual polish layered on top of the original JobHub template. */
:root {
  --jj-brand: #e25555;
  --jj-brand-dark: #8f2626;
  --jj-text: #4f5e64;
  --jj-muted: #66789c;
  --jj-soft: #fff3f3;
  --jj-border: #f2d6d6;
  --jj-card-shadow: 0 8px 20px rgba(24, 37, 56, 0.06);
  --jj-card-shadow-hover: 0 18px 38px rgba(24, 37, 56, 0.12);
}

body {
  background: #ffffff;
  color: var(--jj-text);
}



.header .header-logo a {
  min-width: 128px;
  text-decoration: none;
}

.header .header-logo span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jj-brand-dark);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.header .header-logo span::before {
  content: "J";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--jj-brand), #ff8a8a);
  font-size: 20px;
  font-weight: 800;
}

.header .block-signin {
  white-space: nowrap;
}

.jj-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid #f2d6d6;
  border-radius: 999px;
  background: #ffffff;
}

.header .header-right .jj-lang-switcher-desktop {
  margin-right: 12px;
  flex: 0 0 auto;
}

.header .header-right {
  gap: 12px;
}

.jj-lang-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #080a28;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jj-lang-button:hover,
.jj-lang-button.is-active {
  color: #ffffff;
  background: #e25555;
}

.jj-flag {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 12px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(8, 10, 40, 0.14);
  flex: 0 0 auto;
}

.jj-flag-id {
  background: linear-gradient(to bottom, #e70011 0 50%, #ffffff 50% 100%);
}

.jj-flag-jp {
  background: #ffffff;
}

.jj-flag-jp::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bc002d;
  transform: translate(-50%, -50%);
}

.jj-google-translate,
.goog-te-banner-frame,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

.header .main-menu li a.active,
.mobile-header-wrapper-style
  .mobile-header-wrapper-inner
  .mobile-header-content-area
  .mobile-menu-wrap
  nav
  .mobile-menu
  li
  a.active {
  color: #e25555;
}

@media (max-width: 1199.98px) {
  .header .header-right .jj-lang-switcher-desktop {
    display: none;
  }

  .mobile-header-top .jj-lang-switcher {
    margin-left: auto;
    margin-right: 14px;
  }
}

@media (max-width: 575.98px) {
  .mobile-header-top .jj-lang-switcher {
    margin-right: 10px;
  }

  .jj-lang-button {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

.jj-program-page .banner-about .banner-inner {
  padding-top: 70px;
  padding-bottom: 75px;
}

.jj-program-page .card-grid-4 {
  min-height: 100%;
}

.jj-program-page .card-grid-4 .card-grid-4-info p {
  min-height: 84px;
}

.jj-program-check,
.jj-step-card,
.jj-sector-mini {
  height: 100%;
}

.jj-program-check .list-icons li {
  color: var(--jj-muted);
  font-size: 15px;
  line-height: 1.7;
}

.jj-step-card {
  padding: 30px;
}

.jj-step-card .btn-tags-sm {
  background-color: #fdeaea;
  color: #e25555;
}

.jj-sector-mini {
  padding: 26px 28px;
}

.jj-sector-mini h5 {
  margin-bottom: 12px;
}

.jj-sector-mini p {
  color: var(--jj-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 0;
}

.jj-sector-link {
  background: #fff5f5;
}

.jj-articles-page .archive-header h3 {
  color: var(--jj-brand-dark);
  line-height: 1.25;
}

.jj-articles-page .card-blog-1 {
  height: 100%;
}

.jj-articles-page .card-blog-1 .post-thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.jj-articles-page .card-blog-1 h3.post-title.small {
  min-height: 92px;
}

.jj-articles-page .card-blog-1 .post-excerpt {
  min-height: 78px;
}

.section-box {
  position: relative;
}

.section-title {
  color: var(--jj-brand-dark);
  line-height: 1.2;
  font-size: 2.6em;
}

.banner-hero.hero-1 {
  background: linear-gradient(180deg, #fff5f5 0%, #fdeaea 100%);
  border-bottom: 1px solid var(--jj-border);
}

.banner-hero .banner-inner {
  padding-top: 82px;
  padding-bottom: 82px;
}

.breacrumb-cover {
    background-color: #eff4ff;
    padding: 20px 0;
}

.banner-hero .heading-banner {
  max-width: 760px;
  color: var(--jj-brand-dark);
  line-height: 1.08;
  font-size: 4em;
}

.banner-hero .banner-description {
  max-width: 680px;
  color: var(--jj-muted);
  font-size: 18px;
  line-height: 1.7;
}

.jj-workflow-section .row.align-items-stretch > [class*="col-"] {
  display: flex;
}

.jj-workflow-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}

.jj-workflow-card {
  width: 100%;
  padding: 34px 36px;
}

.jj-workflow-card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.jj-workflow-card-head h4 {
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--jj-brand-dark);
  font-size: 28px;
  line-height: 1.24;
}

.jj-workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #ffffff;
  background: #e25555;
  box-shadow: 0 12px 28px rgba(60, 101, 245, 0.2);
  font-size: 22px;
  font-weight: 800;
  flex: 0 0 auto;
}

.jj-workflow-icon-alt {
  background: #e25555;
  box-shadow: 0 12px 28px rgba(226, 85, 85, 0.24);
}

.jj-workflow-card .list-icons li {
  margin-bottom: 12px;
  color: var(--jj-muted);
  font-size: 15px;
  line-height: 1.55;
}

.jj-announcement-panel {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.jj-announcement-panel.hover-up:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 101, 245, 0.18);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.jj-announcement-hero {
  position: relative;
  min-height: 176px;
  padding: 32px 38px 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f9ff 0%, #fdeaea 100%);
}

.jj-announcement-shape {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  pointer-events: none;
}

.jj-announcement-shape-left {
  top: -28px;
  left: -22px;
  width: 120px;
  height: 120px;
  border: 26px solid #e25555;
}

.jj-announcement-shape-right {
  right: -36px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border: 30px solid #12c7d8;
  box-shadow: -58px -42px 0 -20px #e25555;
}

.jj-announcement-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.jj-announcement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #ffffff;
  background: #e25555;
  font-size: 26px;
  box-shadow: 0 16px 30px rgba(60, 101, 245, 0.22);
}

.jj-announcement-title h4 {
  margin-bottom: 0;
  color: #222b45;
  font-size: 28px;
}

.jj-announcement-search {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.jj-announcement-search input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: #ffffff;
  color: var(--jj-text);
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jj-announcement-search input:focus {
  outline: none;
  border-color: rgba(60, 101, 245, 0.4);
  box-shadow: 0 10px 24px rgba(60, 101, 245, 0.10);
}

.jj-announcement-search i {
  position: absolute;
  top: 50%;
  right: 18px;
  color: #a0aec0;
  transform: translateY(-50%);
}

.jj-announcement-content {
  padding: 34px 42px 18px;
}

.jj-announcement-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.jj-announcement-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.20);
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jj-announcement-tabs a.active,
.jj-announcement-tabs a:hover {
  color: #ffffff;
  border-color: #e25555;
  background: linear-gradient(135deg, #e25555, #ff9e9e);
  box-shadow: 0 10px 20px rgba(60, 101, 245, 0.18);
}

.jj-announcement-list {
  display: grid;
  gap: 10px;
}

.jj-announcement-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  padding: 16px 18px;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.jj-announcement-item:hover strong {
  color: #e25555;
}

.jj-announcement-item:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 101, 245, 0.20);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.jj-announcement-empty {
  padding: 18px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  color: #667085;
  text-align: center;
  background: rgba(248, 250, 252, 0.9);
}

.jj-announcement-date {
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.jj-announcement-copy {
  position: relative;
  display: block;
  padding-left: 24px;
}

.jj-announcement-copy::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e25555;
  box-shadow: 0 0 0 5px rgba(60, 101, 245, 0.12);
}

.jj-announcement-copy strong {
  display: block;
  color: #222b45;
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.jj-announcement-copy small {
  display: block;
  margin-top: 7px;
  color: var(--jj-muted);
  font-size: 13px;
  line-height: 1.6;
}

.jj-announcement-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 42px 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.65), #fff);
}

.jj-announcement-footer strong {
  color: #222b45;
  font-size: 16px;
}

.jj-announcements-page .box-head-single h4 {
  color: var(--jj-brand-dark);
}

.jj-announcement-list-page {
  display: grid;
  gap: 22px;
}

.jj-announcement-list-card,
.jj-home-announcement {
  display: block;
  color: inherit;
}

.jj-announcement-list-card h4,
.jj-home-announcement h5 {
  margin-top: 16px;
  margin-bottom: 10px;
  color: var(--jj-brand-dark);
  transition: color 0.2s ease;
}

.jj-announcement-list-card:hover h4,
.jj-home-announcement:hover h5 {
  color: #e25555;
}

.jj-announcement-list-card p,
.jj-home-announcement p {
  margin-bottom: 0;
}

.jj-announcement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: #98a2b3;
  font-size: 13px;
}

.jj-announcement-detail {
  padding: 36px 40px;
}

.jj-announcement-detail h3,
.jj-announcement-detail h4 {
  color: var(--jj-brand-dark);
}

.jj-announcement-detail p {
  color: var(--jj-muted);
  font-size: 16px;
  line-height: 1.8;
}

.jj-home-announcement {
  height: calc(100% - 24px);
  margin-bottom: 24px;
}

.banner-hero .block-banner .form-find {
  max-width: 100%;
  padding: 18px;
  border: 1px solid var(--jj-border);
  border-radius: 12px;
  box-shadow: var(--jj-card-shadow);
}

.banner-hero .block-banner .form-find form {
  align-items: center;
  gap: 12px;
}

.banner-hero .block-banner .form-find .form-input,
.form-input {
  min-height: 48px;
  border: 1px solid var(--jj-border);
  border-radius: 8px;
  color: var(--jj-brand-dark);
  background-color: #ffffff;
}

.banner-hero .block-banner .form-find .btn-find {
  min-width: 142px;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
}

.btn-default {
  background-color: var(--jj-brand);
  border-color: var(--jj-brand);
}

.btn-border,
.btn-border-brand-2 {
  border-radius: 8px;
}

.box-head-single.none-bg {
  padding: 74px 0 40px;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.box-head-single h4 {
  color: var(--jj-brand-dark);
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0;
}

.breadcrumbs li,
.breadcrumbs li a,
.text-mutted,
.color-text-paragraph,
.color-text-paragraph-2 {
  color: var(--jj-muted) !important;
}

.card-grid-1,
.card-grid-2,
.card-grid-3,
.sidebar-shadow,
.box-shadow-bdrd-15 {
  border: 1px solid var(--jj-border);
  border-radius: 12px;
  box-shadow: var(--jj-card-shadow);
  background: #ffffff;
}

.card-grid-1,
.card-grid-2 {
  padding: 28px;
}

.card-grid-3 {
  padding: 18px;
  overflow: hidden;
}

.card-grid-1:hover,
.card-grid-2:hover,
.card-grid-3:hover,
.sidebar-shadow:hover {
  border-color: #c8d5ff;
  box-shadow: var(--jj-card-shadow-hover);
  transform: translateY(-2px);
}

.card-grid-1 h3,
.card-grid-1 h5,
.card-grid-2 h4,
.card-grid-2 h5,
.card-grid-3 h5,
.sidebar-title {
  color: var(--jj-brand-dark);
  line-height: 1.3;
}

.card-grid-2 p,
.card-grid-3 p,
.content-single p,
.sidebar-shadow p,
.sidebar-shadow li {
  color: var(--jj-muted);
  line-height: 1.7;
}

.card-grid-3 img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.card-grid-2 .img-rounded,
.heading-image-rd figure img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #edf3ff;
}

.btn-tags-sm {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--jj-brand);
  background: #eff4ff;
  border: 1px solid #dce6ff;
  font-size: 12px;
  font-weight: 700;
}

.list-icons {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.list-icons li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 30px;
  color: var(--jj-muted);
  line-height: 1.55;
}

.list-icons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e9f0ff;
  border: 5px solid var(--jj-brand);
}

.sidebar-shadow {
  padding: 26px;
}

.sidebar-shadow ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-shadow li {
  padding: 10px 0;
  border-bottom: 1px solid #eff2f8;
}

.sidebar-shadow li:last-child {
  border-bottom: 0;
}

.sidebar-shadow li a {
  color: var(--jj-brand-dark);
  font-weight: 600;
}

.box-shadow-bdrd-15 {
  border-radius: 14px;
}

form.box-shadow-bdrd-15,
.box-shadow-bdrd-15.p-40 {
  padding: 34px !important;
}

label {
  margin-bottom: 8px;
  color: var(--jj-brand-dark);
  font-size: 14px;
  font-weight: 700;
}

textarea.form-input {
  min-height: auto;
  padding-top: 14px;
}

.table {
  margin-bottom: 0;
  color: var(--jj-text);
  border-collapse: separate;
  border-spacing: 0;
}

.table thead th {
  padding: 16px 14px;
  color: var(--jj-brand-dark);
  background: var(--jj-soft);
  border: 0;
  font-size: 13px;
  font-weight: 800;
}

.table tbody td {
  padding: 16px 14px;
  vertical-align: middle;
  border-top: 1px solid #edf1f8;
  font-size: 14px;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background-color: #edf2ff;
}

.progress-bar {
  background-color: var(--jj-brand);
  border-radius: 999px;
  font-size: 10px;
  line-height: 12px;
}

.box-newsletter {
  padding-top: 64px;
  padding-bottom: 64px;
}

.box-newsletter .text-md-newsletter {
  font-size: 34px;
  line-height: 1.2;
}

.box-newsletter .text-lg-newsletter {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  font-size: 40px;
  line-height: 1.22;
}

.box-newsletter .jj-newsletter-actions .btn {
  min-width: 190px;
  margin-bottom: 12px;
  font-size: 16px;
}

.box-newsletter .jj-newsletter-actions .btn-border-brand-2,
.box-newsletter .jj-newsletter-actions .btn:not(.btn-default):not(.btn-border-brand-2) {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.box-newsletter .jj-newsletter-actions .btn-border-brand-2:hover,
.box-newsletter .jj-newsletter-actions .btn:not(.btn-default):not(.btn-border-brand-2):hover {
  color: #ffffff;
  border-color: #ffffff;
}

.footer {
  margin-top: 80px !important;
  padding-top: 62px;
  border-top: 1px solid var(--jj-border);
  background: #fff5f5;
}

.footer .font-lg-bold {
  color: var(--jj-brand-dark);
  font-size: 26px;
}

.footer h6 {
  color: var(--jj-brand-dark);
}

.footer .menu-footer {
  margin-top: 24px !important;
}

.footer .menu-footer li {
  margin-bottom: 10px;
}

.footer-bottom {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--jj-border);
}

@media (max-width: 1199px) {
  .header .block-signin .ml-40 {
    margin-left: 16px !important;
  }

  .banner-hero .block-banner .form-find form {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .banner-hero .block-banner .form-find .btn-find {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .banner-hero .banner-inner {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .banner-hero .heading-banner,
  .box-head-single h4 {
    font-size: 34px;
  }

  .banner-hero .banner-description {
    font-size: 16px;
  }

  .banner-hero .block-banner .form-find form {
    grid-template-columns: 1fr;
  }

  .card-grid-1,
  .card-grid-2,
  .sidebar-shadow,
  form.box-shadow-bdrd-15,
  .box-shadow-bdrd-15.p-40 {
    padding: 22px !important;
  }

  .table {
    min-width: 760px;
  }

  .box-shadow-bdrd-15:has(.table) {
    overflow-x: auto;
  }
}

/* Trainee listing follows the original JobHub candidates-grid visual rhythm. */
.jj-trainees-page {
  background: #fbfcff;
}

.jj-trainees-page .section-box.mt-80 {
  margin-top: 78px !important;
}

.jj-trainees-page .box-filters-job {
  padding: 0 0 18px;
}

.jj-trainees-page .text-small {
  color: #667085;
  font-size: 16px;
}

.jj-trainees-page .text-small strong {
  color: #344054;
}

.jj-trainees-page .display-flex2 {
  justify-content: flex-end;
  gap: 10px;
}

.jj-trainees-page .dropdown-sort .btn {
  padding: 0 10px;
  color: #1f2937;
  background: transparent;
  border: 0;
  font-size: 16px;
}

.jj-trainees-page .box-view-type {
  display: inline-flex;
  gap: 12px;
  margin-left: 14px;
}

.jj-trainees-page .box-view-type .view-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.jj-trainees-page .box-view-type .view-type:hover {
  border-color: #e25555;
  box-shadow: 0 0 0 3px rgba(226, 85, 85, 0.12);
}

.jj-trainees-page .sidebar-with-bg {
  padding: 44px;
  border-radius: 12px;
  background: #e8f1ff;
}

.jj-trainees-page .sidebar-with-bg h5 {
  color: #1f2937;
  font-size: 27px;
  line-height: 1.25;
}

.jj-trainees-page .sidebar-with-bg .text-body-999 {
  color: #98a2b3;
  font-size: 18px;
  line-height: 1.55;
}

.jj-trainees-page .sidebar-with-bg .form-control {
  height: 72px;
  border: 0;
  border-radius: 10px;
  color: #667085;
  background: #ffffff;
  box-shadow: none;
}

.jj-trainees-page .sidebar-with-bg .btn {
  min-width: 138px;
  height: 54px;
  border-radius: 10px;
  background: #8f69f8;
  border-color: #8f69f8;
  font-size: 20px;
}

.jj-trainees-page .sidebar-shadow.none-shadow {
  margin-top: 38px;
  padding: 30px;
  border-color: #e4e7ec;
  box-shadow: none;
}

.jj-trainees-page .filter-block {
  padding-bottom: 2px;
}

.jj-trainees-page .medium-heading {
  color: #1f2937;
  font-size: 22px;
  line-height: 1.3;
}

.jj-trainees-page .form-control.form-icons {
  height: 58px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
}

.jj-trainees-page .list-checkbox li {
  padding: 8px 0;
  border-bottom: 0;
}

.jj-trainee-card.card-grid-2 {
  min-height: 430px;
  margin-bottom: 32px;
  padding: 28px 28px 24px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
}

.jj-trainee-card.card-grid-2:hover {
  border-color: #d0d7e2;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.08);
}

.jj-trainee-card .card-grid-2-link {
  top: 28px;
  right: 28px;
}

.jj-trainee-card .card-grid-2-link a {
  color: #98a2b3;
  font-size: 25px;
}

.jj-trainee-card .card-grid-2-image-rd {
  padding-top: 18px;
}

.jj-trainee-card .card-grid-2-image-rd figure {
  width: 128px;
  height: 128px;
  margin: 0 auto;
}

.jj-trainee-card .card-grid-2-image-rd figure img {
  width: 128px;
  height: 128px;
}

.jj-trainee-card.is-locked .card-grid-2-image-rd figure img,
.jj-trainees-locked .jj-trainee-card .card-grid-2-image-rd figure img {
  filter: blur(8px);
  transform: scale(1.04);
}

.jj-trainee-card .card-profile {
  text-align: center;
}

.jj-trainee-card .card-profile strong {
  display: block;
  margin-top: 22px;
  color: #1f2937;
  font-size: 25px;
  line-height: 1.25;
}

.jj-trainee-card .card-profile .text-sm {
  display: block;
  margin-top: 8px;
  color: #98a2b3;
  font-size: 14px;
}

.jj-trainee-card .rate-reviews-small {
  margin-top: 14px;
}

.jj-trainee-card .rate-reviews-small img {
  width: 17px;
}

.jj-trainee-card .employers-info {
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #667085;
  font-size: 14px;
}

.jj-trainee-card .employers-info span {
  margin-left: 0 !important;
}

.jj-trainee-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.jj-trainee-meta span {
  padding: 5px 10px;
  color: #e25555;
  background: #eff4ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.jj-trainee-card .card-2-bottom-candidate .btn-tags-sm {
  min-width: 0;
  padding: 8px 18px;
  color: #344054;
  background: #eaf2ff;
  border: 0;
  font-size: 15px;
  font-weight: 500;
}

.jj-trainee-card .btn-brand-hover {
  min-width: 178px;
  height: 56px;
  padding: 14px 30px;
  border-color: #b59cff;
  color: #1f2937;
  border-radius: 10px;
  font-size: 16px;
}

.jj-trainee-card .card-2-bottom-candidate {
  margin-top: 18px !important;
}

.jj-featured-trainee-slider {
  position: relative;
  padding: 0 8px;
}

.jj-featured-trainee-slider .swiper-container {
  overflow: hidden;
}

.jj-featured-trainee-slider .swiper-slide {
  height: auto;
}

.jj-featured-trainee-slider .jj-trainee-card {
  height: 100%;
  margin-bottom: 0;
}

.jj-featured-trainee-slider .swiper-wrapper {
  align-items: stretch;
}

.jj-featured-trainee-slider .swiper-button-next,
.jj-featured-trainee-slider .swiper-button-prev {
  width: 42px;
  height: 42px;
  border: 1px solid #f2d6d6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(24, 37, 56, 0.08);
}

.jj-featured-trainee-slider .swiper-button-next::after,
.jj-featured-trainee-slider .swiper-button-prev::after {
  color: #e25555;
  font-size: 16px;
  font-weight: 800;
}

.jj-featured-trainee-slider .swiper-button-next {
  right: -12px;
}

.jj-featured-trainee-slider .swiper-button-prev {
  left: -12px;
}

.jj-featured-trainee-slider .swiper-pagination {
  bottom: 12px;
}

.jj-featured-trainee-slider .swiper-pagination-bullet-active {
  background: #e25555;
}

.jj-trainees-page .paginations {
  margin-top: 22px;
}

/* Homepage sector cards use the original JobHub category card pattern. */
.jj-sector-categories .section-title {
  font-size: 42px;
  line-height: 1.2;
}

.jj-sector-categories .color-black-5 {
  max-width: 650px;
  color: #66789c !important;
}

.jj-sector-categories .row.mt-70 {
  row-gap: 30px;
}

@media (min-width: 1200px) {
  .jj-sector-categories .row.mt-70 > [class*="col-"] {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.jj-sector-categories .card-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 245px;
  padding: 34px 24px 30px;
  border: 1px solid #f2d6d6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(24, 37, 56, 0.04);
}

.jj-sector-categories .card-grid:hover {
  border-color: #b4c4ff;
  box-shadow: 0 18px 38px rgba(24, 37, 56, 0.1);
}

.jj-sector-categories .card-grid figure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 88px;
  margin: 0 auto;
  border-radius: 18px;
  background: #f2f6fd;
}

.jj-sector-categories .card-grid figure img {
  width: 81px;
  height: 68px;
  object-fit: contain;
}

.jj-sector-categories .card-heading {
  min-height: 58px;
  margin-bottom: 0;
  color: #8f2626;
  font-size: 20px;
  line-height: 1.35;
}

.jj-sector-categories .card-heading a {
  color: #8f2626;
}

.jj-sector-categories .text-stroke-40 {
  color: #66789c;
  font-size: 15px;
  line-height: 1.45;
}

.jj-sector-categories .box-button-shadow .btn {
  min-width: 132px;
}

@media (max-width: 991px) {
  .jj-trainees-page .row.flex-row-reverse {
    flex-direction: column-reverse !important;
  }

  .jj-trainees-page .sidebar-with-bg {
    margin-top: 30px;
  }

  .jj-workflow-section .row.align-items-stretch > [class*="col-"] {
    display: block;
  }

  .jj-announcement-panel {
    margin-top: 8px;
  }
}

@media (max-width: 767.98px) {
  .jj-workflow-card {
    padding: 28px 24px;
  }

  .jj-workflow-card-head {
    gap: 14px;
  }

  .jj-workflow-card-head h4 {
    font-size: 23px;
  }

  .jj-workflow-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 19px;
  }

  .jj-announcement-hero {
    min-height: auto;
    padding: 28px 24px;
  }

  .jj-announcement-title h4 {
    font-size: 25px;
  }

  .jj-announcement-content {
    padding: 26px 24px 14px;
  }

  .jj-announcement-tabs {
    gap: 18px;
  }

  .jj-announcement-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .jj-announcement-date {
    text-align: left;
  }

  .jj-announcement-footer {
    display: block;
    padding: 22px 24px 30px;
  }

  .jj-announcement-footer .btn {
    margin-top: 18px;
  }
}

