@charset "UTF-8";

/* ===== Local-only fixes =====
   Only hide remote elements and fix local display issues.
   Do NOT override the original site's borders, shadows, or card styles.
*/

/* Hide remote header/footer/login elements that don't exist locally */
body::before,
body::after,
#footer-webpages,
.cola-header,
.member,
.login,
.loginbox,
.header-login,
.topbar,
.goTop,
.share-box {
  display: none !important;
}

/* Remove top margin that the original site adds for its header bar */
body,
.container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.container > header h1 {
  display: none !important;
}

/* Sticky nav for local version */
.block-menu {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000;
}

/* Scroll padding to match sticky nav height */
html {
  scroll-padding-top: 92px;
}

/* Fix background-attachment for smoother scrolling on local */
.bg3,
.bg4,
.bg5,
.bg6,
.bg2 {
  background-attachment: scroll !important;
}

/* Ensure images don't exceed container */
img {
  max-width: 100%;
  height: auto;
}

/* Loading placeholder for images */
img[data-local-loaded="false"] {
  min-height: 180px;
  background: linear-gradient(135deg, #edf6ff, #fff7e0);
}

/* Carousel/slider minimum height to prevent layout shift */
.owl-carousel,
.slick-slider {
  min-height: 120px;
}

/* Transition for local-rotating class (used by JS) */
.local-rotating {
  opacity: 1;
  transition: opacity 0.38s ease, transform 0.38s ease, filter 0.38s ease;
  will-change: opacity, transform;
}

.local-rotating.is-swapping {
  opacity: 0.28;
  filter: saturate(0.9);
  transform: scale(1.012);
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
}

/* Fix white margin above poster */
.top_content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide pushy mobile menu as it displays unstyled */
.pushy, .menu-btn, .site-overlay { display: none !important; }

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #1592b0;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: none;
  transition: background-color 0.3s;
}
#back-to-top:hover {
  background-color: #117892;
}

/* Coordinated Recruitment Card Styling */
.recruitment-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 34px 0 54px;
  padding: 0 15px;
  box-sizing: border-box;
}

.recruitment-card {
  width: 100%;
  max-width: 1080px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 255, 0.98)),
    radial-gradient(circle at 8% 10%, rgba(255, 184, 28, 0.12), transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(96, 205, 224, 0.16), transparent 28%);
  border: 1px solid rgba(152, 216, 231, 0.9);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(0, 47, 108, 0.1);
  font-family: "Microsoft JhengHei", "PMingLiU", "Segoe UI", sans-serif;
  color: #253b56;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.recruitment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1592b0, #60cde0, #ffb81c);
}

.recruitment-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 184, 28, 0.08);
  pointer-events: none;
}

.recruitment-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.recruitment-copy {
  min-height: 300px;
  padding: 36px 34px 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(0, 47, 108, 0.94), rgba(13, 126, 155, 0.9)),
    url("../images/p1.webp") center 42%/cover no-repeat;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 47, 108, 0.18);
  overflow: hidden;
}

.recruitment-copy h2 {
  max-width: 620px;
  margin: 14px 0 12px;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0;
  color: #fff;
}

.recruitment-copy p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.85;
}

.recruitment-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.recruitment-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  font-weight: bold;
  font-size: 13px;
}

.recruitment-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.recruitment-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(191, 232, 242, 0.9);
  box-shadow: 0 10px 24px rgba(0, 47, 108, 0.12);
  background: #eef8fb;
}

.recruitment-photos .photo-main {
  grid-row: span 2;
}

.recruitment-photos img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 145px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.recruitment-photos figure:hover img {
  transform: scale(1.04);
}

.recruitment-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px dashed rgba(21, 146, 176, 0.2);
  padding-bottom: 16px;
}

.recruitment-badge {
  background: rgba(255, 184, 28, 0.96);
  color: #002f6c;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(21, 146, 176, 0.2);
}

.recruitment-header h2 {
  font-size: 24px;
  color: #002f6c;
  margin: 10px 0;
  font-weight: bold;
  letter-spacing: 1px;
}

.recruitment-header p {
  font-size: 14px;
  color: #5a6a85;
  margin: 5px 0 0 0;
  line-height: 1.6;
}

.recruitment-header h3 {
  margin: 0 0 8px;
  color: #073d76;
  font-size: 21px;
  letter-spacing: 0;
}

.recruitment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

@media (max-width: 768px) {
  .recruitment-hero {
    grid-template-columns: 1fr;
  }
  .recruitment-copy {
    min-height: auto;
    padding: 26px 22px;
  }
  .recruitment-copy h2 {
    font-size: 24px;
  }
  .recruitment-photos {
    grid-template-columns: 1fr 1fr;
  }
  .recruitment-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .recruitment-card {
    padding: 20px;
  }
}

.recruitment-item {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 252, 0.86));
  border: 1px solid rgba(154, 220, 234, 0.78);
  border-radius: 10px;
  padding: 18px 18px 17px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-height: 126px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 47, 108, 0.045);
}

.recruitment-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #1592b0, #ffb81c);
}

.recruitment-item::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: rgba(21, 146, 176, 0.06);
  pointer-events: none;
}

.recruitment-item:hover {
  box-shadow: 0 14px 28px rgba(21, 146, 176, 0.13);
  border-color: #9bdcea;
  transform: translateY(-2px);
}

.recruitment-item:nth-child(1) {
  grid-column: span 3;
}

.recruitment-item:nth-child(2) {
  grid-column: span 3;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.98), rgba(255, 255, 255, 0.92));
  border-color: rgba(255, 184, 28, 0.42);
}

.recruitment-item:nth-child(3),
.recruitment-item:nth-child(4) {
  grid-column: span 3;
}

.recruitment-item:nth-child(5),
.recruitment-item:nth-child(6) {
  grid-column: span 3;
}

.recruitment-item.full-width {
  grid-column: span 6;
  min-height: 96px;
}

@media (max-width: 768px) {
  .recruitment-item.full-width {
    grid-column: span 1;
  }
}

.item-icon {
  font-size: 22px;
  background: linear-gradient(145deg, #ffffff, #e9f8fb);
  border: 1px solid rgba(191, 232, 242, 0.95);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(21, 146, 176, 0.06);
  flex-shrink: 0;
}

.item-content {
  flex-grow: 1;
}

.item-content h3 {
  font-size: 17px;
  color: #087996;
  margin: 0 0 7px 0;
  font-weight: bold;
}

.item-content p {
  font-size: 14px;
  color: #3b4b61;
  margin: 0;
  line-height: 1.6;
}

.item-note {
  display: block;
  font-size: 12px;
  color: #b65a14;
  background-color: rgba(255, 248, 232, 0.95);
  border-left: 3px solid #ffb81c;
  padding: 7px 10px;
  border-radius: 8px;
  margin-top: 10px;
  line-height: 1.5;
}

.highlight-salary {
  font-size: 18px !important;
  color: #e53e3e !important;
  font-weight: bold;
}

.badge-days {
  background: #ffb81c;
  color: #002f6c;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
}

.item-content ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.item-content ul li {
  font-size: 14px;
  color: #3b4b61;
  margin-bottom: 6px;
  line-height: 1.5;
}

.insurance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ins-tag {
  background: #e6f6f9;
  color: #0c6a80;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid rgba(21, 146, 176, 0.15);
}

.location-detail {
  color: #718096;
  font-size: 13px;
}

.recruitment-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(21, 146, 176, 0.24);
}

.apply-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0b8fb3, #13a7c6);
  background-size: 200% auto;
  color: white !important;
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(21, 146, 176, 0.25);
  transition: all 0.4s ease;
  letter-spacing: 1px;
}

.apply-btn-hero {
  background: linear-gradient(135deg, #ffb81c, #ffd35f);
  color: #002f6c !important;
  box-shadow: 0 8px 22px rgba(255, 184, 28, 0.26);
}

.apply-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 146, 176, 0.35);
}

.apply-note {
  margin: 12px 0 0;
  color: #5a6a85;
  font-size: 13px;
  line-height: 1.5;
}
