.glass-nav { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); }
.hero-overlay { background: linear-gradient(105deg, rgba(15, 23, 42, 0.95) 0%, rgba(185, 28, 28, 0.8) 60%, rgba(15, 23, 42, 0.95) 100%); }
.card-transition { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.text-gradient { background: linear-gradient(to right, #F97373, #FFFFFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.accordion-content { max-height: 0; transition: max-height 0.3s ease-in-out; }
.accordion-item.active .accordion-content { max-height: 200px; }
.accordion-item.active .icon-rotate { transform: rotate(180deg); }

/* FAQ trang Liên hệ: nội dung dài, dùng chiều cao động (JS) thay vì max-height 200px */
.scuti-contact-page .accordion-content {
  max-height: none !important;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.28s ease, opacity 0.28s ease;
}
.scuti-contact-page .accordion-item.active .accordion-content {
  opacity: 1;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* Image lift hover effect used across index.html */
.img-lift {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.img-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px -25px rgba(2, 6, 23, 0.35);
}

.img-lift img {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.img-lift:hover img {
  transform: scale(1.05);
}

/*
 * Trang chủ Elementor: các Container cấp 1 (thường là e-con-boxed) bị giới hạn
 * --width / --content-width của Site Settings → hero & section không full như source/index.html.
 * Chỉ áp dụng cho flex con trực tiếp của .elementor trang wp-page trong <main>.
 */
body.scuti-front-elementor-home main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-front-elementor-life main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-front-elementor-news main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-front-elementor-news main .elementor > .elementor-element.e-con,
body.scuti-front-elementor-jobs main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-front-elementor-jobs main .elementor > .elementor-element.e-con,
body.page-tuyen-dung main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-tuyen-dung main .elementor > .elementor-element.e-con,
body.page-jobs-builder main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-jobs-builder main .elementor > .elementor-element.e-con,
body.page-job-detail main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-job-detail main .elementor > .elementor-element.e-con,
body.page-chi-tiet-vi-tri main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-chi-tiet-vi-tri main .elementor > .elementor-element.e-con,
body.scuti-single-job-elementor-shell main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-single-job-elementor-shell main .elementor > .elementor-element.e-con,
body.page-jobs main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-jobs main .elementor > .elementor-element.e-con,
body.page-life-at-scuti main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-van-hoa-va-con-nguoi main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-cuoc-song-va-con-nguoi main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-news main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-news main .elementor > .elementor-element.e-con,
body.page-tin-tuc main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-tin-tuc main .elementor > .elementor-element.e-con,
body.page-chi-tiet-tin main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-chi-tiet-tin main .elementor > .elementor-element.e-con,
body.scuti-front-elementor-contact main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.scuti-front-elementor-contact main .elementor > .elementor-element.e-con,
body.page-contact main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-contact main .elementor > .elementor-element.e-con,
body.page-lien-he main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con,
body.page-lien-he main .elementor > .elementor-element.e-con {
  --width: 100%;
  --column-gap: 0px;
  --row-gap: 0px;
}
body.scuti-front-elementor-home main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-life main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-news main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-news main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-jobs main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-jobs main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-tuyen-dung main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-tuyen-dung main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-jobs-builder main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-jobs-builder main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-job-detail main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-job-detail main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-chi-tiet-vi-tri main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-chi-tiet-vi-tri main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-single-job-elementor-shell main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-single-job-elementor-shell main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-jobs main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-jobs main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-life-at-scuti main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-van-hoa-va-con-nguoi main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-cuoc-song-va-con-nguoi main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-news main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-news main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-tin-tuc main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-tin-tuc main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-chi-tiet-tin main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-chi-tiet-tin main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-contact main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.scuti-front-elementor-contact main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-contact main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-contact main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-lien-he main .elementor[data-elementor-type="wp-page"] > .elementor-element.e-con.e-con-boxed > .e-con-inner,
body.page-lien-he main .elementor > .elementor-element.e-con.e-con-boxed > .e-con-inner {
  max-width: none;
  width: 100%;
}

/* Nút cuộn lên đầu trang (toàn site) */
.scuti-scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 95;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 9999px;
  background: #b91c1c;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(185, 28, 28, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.scuti-scroll-top.scuti-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scuti-scroll-top:hover {
  background: #ef4444;
}

.scuti-scroll-top:focus-visible {
  outline: 2px solid #b91c1c;
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  .scuti-scroll-top {
    right: 1.75rem;
    bottom: 2rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scuti-scroll-top {
    transition: none;
  }
}

/* Trang chủ Elementor: tránh tràn ngang do flex/grid + nội dung dài */
body.scuti-front-elementor-home main {
  min-width: 0;
}

body.scuti-front-elementor-home main .elementor-widget-scuti-index-hero,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-about,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-investor,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-vision-core,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-services,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-news,
body.scuti-front-elementor-home main .elementor-widget-scuti-index-home,
body.scuti-front-elementor-home main .elementor-widget-scuti-apply-modal {
  min-width: 0;
}

/* Trang Văn hóa & con người: tránh tràn ngang */
body.scuti-front-elementor-life main {
  min-width: 0;
}

body.scuti-front-elementor-life main .elementor-widget-scuti-life-hero,
body.scuti-front-elementor-life main .elementor-widget-scuti-life-work,
body.scuti-front-elementor-life main .elementor-widget-scuti-life-activities,
body.scuti-front-elementor-life main .elementor-widget-scuti-life-values,
body.scuti-front-elementor-life main .elementor-widget-scuti-life-benefits {
  min-width: 0;
}

/* Trang Tuyển dụng & chi tiết job */
body.scuti-front-elementor-jobs main,
body.page-tuyen-dung main {
  min-width: 0;
}

body.scuti-front-elementor-jobs main .elementor-widget-scuti-jobs-board,
body.page-tuyen-dung main .elementor-widget-scuti-jobs-board,
body.scuti-front-elementor-jobs main .elementor-widget-scuti-job-detail,
body.page-tuyen-dung main .elementor-widget-scuti-job-detail,
body.scuti-single-job-elementor-shell main .elementor-widget-scuti-job-detail {
  min-width: 0;
}

/* Tin tức & chi tiết tin (Elementor) */
body.scuti-front-elementor-news main {
  min-width: 0;
}

body.scuti-front-elementor-news main .elementor-widget-scuti-news-page,
body.scuti-front-elementor-news main .elementor-widget-scuti-news-detail {
  min-width: 0;
}

.scuti-news-page-root {
  min-width: 0;
}

.scuti-news-detail-el .prose {
  overflow-wrap: break-word;
}

.scuti-news-detail-el .prose img,
.scuti-news-detail-el .prose video,
.scuti-news-detail-el .prose iframe,
.scuti-news-detail-el .prose embed,
.scuti-news-detail-el .prose object {
  max-width: 100%;
  height: auto;
}

.scuti-news-detail-el .prose table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

/* Liên hệ (Elementor) */
body.scuti-front-elementor-contact main {
  min-width: 0;
}

body.scuti-front-elementor-contact main .elementor-widget-scuti-contact-page,
body.page-lien-he main .elementor-widget-scuti-contact-page,
body.page-contact main .elementor-widget-scuti-contact-page {
  min-width: 0;
}

.scuti-contact-page {
  min-width: 0;
}

.scuti-contact-page .scuti-contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.scuti-contact-page .g-recaptcha {
  max-width: 100%;
  overflow-x: auto;
}

/* Modal ứng tuyển: đủ rộng/cao, cuộn nội bộ nếu cần — ẩn thanh scrollbar */
.scuti-apply-modal-panel {
  max-height: min(94dvh, calc(100dvh - 2.5rem));
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scuti-apply-modal-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@supports not (height: 94dvh) {
  .scuti-apply-modal-panel {
    max-height: calc(100vh - 2.5rem);
  }
}

/* Thông báo ứng tuyển mở sau redirect (mọi trang, kể cả không có modal) */
.scuti-open-apply-global-notice {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99991;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid transparent;
}

body.admin-bar .scuti-open-apply-global-notice {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .scuti-open-apply-global-notice {
    top: 46px;
  }
}

.scuti-open-apply-global-notice--success {
  background: #f0fdf4;
  border-bottom-color: #bbf7d0;
  color: #14532d;
}

.scuti-open-apply-global-notice--error {
  background: #fef2f2;
  border-bottom-color: #fecaca;
  color: #991b1b;
}

.scuti-open-apply-global-notice__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
}

@media (min-width: 640px) {
  .scuti-open-apply-global-notice__inner {
    align-items: center;
    padding: 1rem 1.5rem;
  }
}

.scuti-open-apply-global-notice__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.125rem;
}

@media (min-width: 640px) {
  .scuti-open-apply-global-notice__icon {
    margin-top: 0;
  }
}

.scuti-open-apply-global-notice__text {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .scuti-open-apply-global-notice__text {
    font-size: 1rem;
  }
}

.scuti-open-apply-global-notice__title {
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.scuti-open-apply-global-notice__body {
  margin: 0;
  opacity: 0.95;
}

.scuti-open-apply-global-notice__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: -0.25rem -0.25rem -0.25rem 0;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.75;
}

.scuti-open-apply-global-notice__close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.06);
}

.scuti-open-apply-global-notice--error .scuti-open-apply-global-notice__close:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Custom select — modal ứng tuyển mở */
.scuti-custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.scuti-custom-select--open {
  z-index: 30;
}

.scuti-custom-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.scuti-custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.4;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  cursor: pointer;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

@media (min-width: 640px) {
  .scuti-custom-select__trigger {
    min-height: 3.5rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
  }
}

.scuti-custom-select__trigger:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.scuti-custom-select--open .scuti-custom-select__trigger {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.2);
  background: #fff;
}

.scuti-custom-select__trigger:focus-visible {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.25);
}

.scuti-custom-select__trigger--invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.35);
}

.scuti-custom-select__value {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}

.scuti-custom-select__value--placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.scuti-custom-select__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #64748b;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.scuti-custom-select--open .scuti-custom-select__chev {
  transform: rotate(180deg);
  color: #b91c1c;
}

.scuti-custom-select__list {
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow:
    0 10px 40px -12px rgba(15, 23, 42, 0.18),
    0 4px 16px -4px rgba(15, 23, 42, 0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.scuti-custom-select__list::-webkit-scrollbar {
  width: 6px;
}

.scuti-custom-select__list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.scuti-custom-select__option {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #1e293b;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

@media (min-width: 640px) {
  .scuti-custom-select__option {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

.scuti-custom-select__option:hover,
.scuti-custom-select__option:focus {
  outline: none;
  background: rgba(185, 28, 28, 0.07);
  color: #7f1d1d;
}

.scuti-custom-select__option--active {
  background: rgba(185, 28, 28, 0.11);
  font-weight: 700;
  color: #7f1d1d;
}

.scuti-custom-select__option--placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.scuti-custom-select__option--placeholder.scuti-custom-select__option--active {
  font-weight: 500;
}

