/*
 * ELAPLUS English FAQ Manager 1.1.2
 * Refined industrial B2B FAQ interface
 * Brand colors: #00AAFF and #006BB3
 */

.elaplus-faq-template-main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f3f5f7;
}

.elaplus-faq-page,
.elaplus-faq-page * {
  box-sizing: border-box;
}

.elaplus-faq-page {
  --el-brand: #00aaff;
  --el-brand-dark: #006bb3;
  --el-brand-deep: #143b54;
  --el-brand-soft: #eaf8ff;
  --el-dark: #17242c;
  --el-text: #35464f;
  --el-muted: #71818a;
  --el-line: #dfe8ed;
  --el-soft: #f3f5f7;
  --el-white: #ffffff;

  width: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--el-soft);
  color: var(--el-text);
  font-family: Inter, Arial, "Helvetica Neue", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.elaplus-faq-page a {
  color: inherit;
  text-decoration: none;
}

.elaplus-faq-page h1,
.elaplus-faq-page h2,
.elaplus-faq-page p {
  margin-top: 0;
}

.el-faq-container {
  width: calc(100% - 48px);
  max-width: 1460px;
  margin-right: auto;
  margin-left: auto;
}

/* Hero */

.el-faq-hero {
  position: relative;
  width: 100%;
  padding: 66px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid #dce9ef;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 170, 255, 0.11), transparent 27%),
    linear-gradient(135deg, #eef2f5 0%, #f7f9fa 54%, #edf3f6 100%);
}

.el-faq-hero::before {
  content: "";
  position: absolute;
  top: -165px;
  right: -95px;
  width: 430px;
  height: 430px;
  border: 76px solid rgba(0, 107, 179, 0.035);
  border-radius: 50%;
}

.el-faq-breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
  color: var(--el-muted);
  font-size: 14px;
}

.el-faq-breadcrumb span {
  margin: 0 9px;
  color: #a6b3b9;
}

.el-faq-breadcrumb a:hover {
  color: var(--el-brand-dark);
}

.el-faq-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 82px;
}

.el-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--el-brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.el-faq-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--el-brand), var(--el-brand-dark));
}

.el-faq-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--el-dark);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.el-faq-lead {
  max-width: 770px;
  margin-bottom: 0;
  color: var(--el-muted);
  font-size: 18px;
}

.el-faq-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.el-faq-product-links a {
  padding: 8px 15px;
  border: 1px solid #cee6f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #425761;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s ease;
}

.el-faq-product-links a:hover {
  transform: translateY(-2px);
  border-color: var(--el-brand);
  color: var(--el-brand-dark);
  box-shadow: 0 9px 20px rgba(0, 107, 179, 0.08);
}

.el-faq-overview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 48px rgba(25, 67, 91, 0.1);
  backdrop-filter: blur(10px);
}

.el-faq-overview-number {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--el-brand), var(--el-brand-dark));
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 107, 179, 0.2);
}

.el-faq-overview span {
  display: block;
  margin-bottom: 4px;
  color: var(--el-brand-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.el-faq-overview strong {
  display: block;
  margin-bottom: 6px;
  color: var(--el-dark);
  font-size: 16px;
  line-height: 1.35;
}

.el-faq-overview p {
  margin-bottom: 0;
  color: var(--el-muted);
  font-size: 13px;
}

/* Search and filters */

.el-faq-tools {
  position: relative;
  z-index: 8;
  width: 100%;
  margin-top: -30px;
}

.el-faq-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dce7ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(22, 54, 72, 0.13);
}

.el-faq-search {
  position: relative;
  display: block;
}

.el-faq-search-icon {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 16px;
  height: 16px;
  border: 2px solid #7d919b;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.el-faq-search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: #7d919b;
  transform: rotate(45deg);
}

.el-faq-search input {
  width: 100%;
  height: 52px;
  padding: 0 17px 0 49px;
  border: 1px solid #dce6eb;
  border-radius: 13px;
  outline: none;
  background: #f8fafb;
  color: var(--el-dark);
  font: inherit;
  font-size: 14px;
  transition: 0.2s ease;
}

.el-faq-search input::placeholder {
  color: #8a99a1;
}

.el-faq-search input:focus {
  border-color: var(--el-brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 170, 255, 0.1);
}

.el-faq-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.el-faq-filter {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dce6eb;
  border-radius: 11px;
  background: #ffffff;
  color: #445862;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.el-faq-filter:hover {
  border-color: var(--el-brand);
  color: var(--el-brand-dark);
}

.el-faq-filter.is-active {
  border-color: var(--el-brand-deep);
  background: var(--el-brand-deep);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 59, 84, 0.18);
}

/* Guide cards */

.el-faq-guide-cards {
  width: 100%;
  padding: 34px 0 18px;
  background: var(--el-soft);
}

.el-faq-guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.el-faq-guide-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  padding: 25px 26px;
  border: 1px solid #dfe8ed;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(24, 53, 69, 0.05);
  transition: 0.23s ease;
}

.el-faq-guide-card:hover {
  transform: translateY(-3px);
  border-color: #a9ddf7;
  box-shadow: 0 16px 34px rgba(0, 107, 179, 0.09);
}

.el-faq-guide-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--el-brand-soft);
  color: var(--el-brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.el-faq-guide-card small {
  display: block;
  margin-bottom: 3px;
  color: var(--el-brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.el-faq-guide-card h2 {
  margin-bottom: 8px;
  color: var(--el-dark);
  font-size: 19px;
  line-height: 1.35;
}

.el-faq-guide-card p {
  margin-bottom: 0;
  color: var(--el-muted);
  font-size: 14px;
}

/* FAQ main */

.el-faq-main {
  width: 100%;
  padding: 42px 0 86px;
  background: var(--el-soft);
}

.el-faq-section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dbe5ea;
}

.el-faq-section-intro > div > p {
  margin-bottom: 2px;
  color: var(--el-brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.el-faq-section-intro h2 {
  margin-bottom: 0;
  color: var(--el-dark);
  font-size: 30px;
}

.el-faq-section-intro > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--el-muted);
  font-size: 14px;
}

.el-faq-section {
  scroll-margin-top: 24px;
  margin-bottom: 54px;
}

.el-faq-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.el-faq-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.el-faq-number {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--el-brand), var(--el-brand-dark));
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 107, 179, 0.16);
}

.el-faq-section-head p {
  margin-bottom: 0;
  color: var(--el-brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.el-faq-section-head h2 {
  margin-bottom: 0;
  color: var(--el-dark);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
}

.el-faq-question-count {
  padding: 6px 11px;
  border-radius: 999px;
  background: #eaf4f8;
  color: #607780;
  font-size: 12px;
  font-weight: 800;
}

.el-faq-list {
  display: grid;
  gap: 11px;
}

.el-faq-item {
  overflow: hidden;
  border: 1px solid #dfe8ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(24, 48, 62, 0.04);
  transition: 0.2s ease;
}

.el-faq-item:hover {
  border-color: #c7e0ec;
  box-shadow: 0 10px 24px rgba(24, 48, 62, 0.065);
}

.el-faq-item[open] {
  border-color: #8fd8ff;
  box-shadow: 0 12px 28px rgba(0, 107, 179, 0.09);
}

.el-faq-item > summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  padding: 18px 19px;
  color: var(--el-dark);
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.el-faq-item > summary::-webkit-details-marker {
  display: none;
}

.el-faq-item > summary:hover,
.el-faq-item[open] > summary {
  color: var(--el-brand-dark);
}

.el-faq-q,
.el-faq-a {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.el-faq-q {
  background: var(--el-brand-soft);
  color: var(--el-brand-dark);
}

.el-faq-a {
  flex: 0 0 auto;
  background: var(--el-brand-deep);
  color: #ffffff;
}

.el-faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
}

.el-faq-plus::before,
.el-faq-plus::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: #7b8c94;
  transition: transform 0.2s ease;
}

.el-faq-plus::after {
  transform: rotate(90deg);
}

.el-faq-item[open] .el-faq-plus::after {
  transform: rotate(0);
}

.el-faq-answer {
  display: flex;
  gap: 13px;
  padding: 0 19px 20px 64px;
}

.el-faq-answer > div {
  color: var(--el-muted);
  font-size: 14px;
}

.el-faq-answer p:last-child {
  margin-bottom: 0;
}

.el-faq-empty {
  display: none;
  margin: 5px 0 36px;
  padding: 22px;
  border: 1px dashed #b9d9e8;
  border-radius: 13px;
  background: #f5fbff;
  color: var(--el-muted);
  text-align: center;
}

.el-faq-empty.is-visible {
  display: block;
}

.el-faq-section[hidden],
.el-faq-item[hidden] {
  display: none !important;
}

/* Related */

.el-faq-related {
  margin-top: 60px;
  padding: 32px;
  border: 1px solid #dce8ed;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(25, 55, 70, 0.05);
}

.el-faq-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}

.el-faq-related-head > div > p {
  margin-bottom: 2px;
  color: var(--el-brand-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.el-faq-related-head h2 {
  margin-bottom: 0;
  color: var(--el-dark);
  font-size: 27px;
}

.el-faq-related-head > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--el-muted);
  font-size: 14px;
}

.el-faq-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.el-faq-related-grid a {
  min-height: 126px;
  padding: 18px;
  border: 1px solid #e0e8ec;
  border-radius: 14px;
  background: #fafcfd;
  transition: 0.2s ease;
}

.el-faq-related-grid a:hover {
  transform: translateY(-3px);
  border-color: var(--el-brand);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 107, 179, 0.08);
}

.el-faq-related-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--el-brand);
  font-size: 11px;
  font-weight: 900;
}

.el-faq-related-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--el-dark);
  font-size: 16px;
}

.el-faq-related-grid small {
  color: var(--el-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* CTA */

.el-faq-contact {
  width: 100%;
  padding: 62px 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 170, 255, 0.17), transparent 29%),
    linear-gradient(135deg, #142633, #123f5c);
  color: #ffffff;
}

.el-faq-contact-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
  gap: 40px;
}

.el-faq-contact p {
  margin-bottom: 5px;
  color: #75d3ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.el-faq-contact h2 {
  margin-bottom: 9px;
  color: #ffffff;
  font-size: clamp(29px, 3.8vw, 40px);
  line-height: 1.22;
}

.el-faq-contact-inner > div > div {
  color: #c5d5dd;
  font-size: 14px;
}

.el-faq-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.el-faq-contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}

.el-faq-primary-btn {
  background: linear-gradient(135deg, var(--el-brand), var(--el-brand-dark));
  color: #ffffff !important;
}

.el-faq-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 170, 255, 0.22);
}

.el-faq-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.el-faq-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.el-faq-disclaimer {
  width: 100%;
  padding: 17px 0;
  background: #0f1b22;
  color: #92a3ab;
  font-size: 12px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 960px) {
  .el-faq-hero-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 38px;
  }

  .el-faq-toolbar {
    grid-template-columns: 1fr;
  }

  .el-faq-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .el-faq-hero-grid,
  .el-faq-contact-inner {
    grid-template-columns: 1fr;
  }

  .el-faq-overview {
    max-width: 520px;
  }

  .el-faq-guide-card-grid {
    grid-template-columns: 1fr;
  }

  .el-faq-section-intro,
  .el-faq-related-head {
    display: block;
  }

  .el-faq-section-intro > p,
  .el-faq-related-head > p {
    margin-top: 8px;
  }

  .el-faq-contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .el-faq-container {
    width: calc(100% - 24px);
  }

  .el-faq-hero {
    padding: 44px 0 64px;
  }

  .el-faq-hero h1 {
    font-size: 37px;
  }

  .el-faq-lead {
    font-size: 16px;
  }

  .el-faq-overview {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 20px;
  }

  .el-faq-overview-number {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .el-faq-tools {
    margin-top: -25px;
  }

  .el-faq-toolbar {
    padding: 10px;
    border-radius: 15px;
  }

  .el-faq-filter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .el-faq-filter {
    flex: 0 0 auto;
  }

  .el-faq-guide-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 21px 19px;
  }

  .el-faq-guide-index {
    width: 42px;
    height: 42px;
  }

  .el-faq-guide-card h2 {
    font-size: 17px;
  }

  .el-faq-main {
    padding: 38px 0 62px;
  }

  .el-faq-section-intro h2 {
    font-size: 25px;
  }

  .el-faq-section-head h2 {
    font-size: 22px;
  }

  .el-faq-question-count {
    display: none;
  }

  .el-faq-item > summary {
    grid-template-columns: 31px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 16px 14px;
    font-size: 14px;
  }

  .el-faq-answer {
    padding: 0 14px 18px 56px;
  }

  .el-faq-a {
    display: none;
  }

  .el-faq-related {
    padding: 23px 17px;
  }

  .el-faq-related-grid {
    grid-template-columns: 1fr;
  }

  .el-faq-contact {
    padding: 50px 0;
  }

  .el-faq-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* v1.1.1 width and category emphasis overrides */
.elaplus-faq-page .el-faq-filter {
  font-weight: 800;
}

.elaplus-faq-page .el-faq-section-head p {
  font-weight: 900;
}

.elaplus-faq-page .el-faq-section-head h2 {
  font-weight: 800;
}

.elaplus-faq-page .el-faq-question-count {
  font-weight: 800;
}

@media (max-width: 1508px) {
  .el-faq-container {
    width: calc(100% - 48px);
  }
}

@media (max-width: 640px) {
  .el-faq-container {
    width: calc(100% - 24px);
  }
}


/* v1.1.2 hero adjustment: match Chinese FAQ background and remove number panel */
.elaplus-faq-page .el-faq-hero {
  position: relative;
  width: 100%;
  padding: 78px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid #dce9ef;
  background:
    radial-gradient(circle at 84% 18%, rgba(0, 170, 255, 0.13), transparent 28%),
    linear-gradient(135deg, #eef2f5 0%, #f7f9fa 54%, #edf3f6 100%);
}

.elaplus-faq-page .el-faq-hero::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 20px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(0, 170, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 170, 255, 0.04);
}

.elaplus-faq-page .el-faq-hero::after {
  content: "FAQ";
  position: absolute;
  right: 8%;
  bottom: -52px;
  color: rgba(0, 170, 255, 0.06);
  font-size: clamp(150px, 18vw, 260px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.elaplus-faq-page .el-faq-hero-grid {
  display: block;
}

.elaplus-faq-page .el-faq-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.elaplus-faq-page .el-faq-hero h1 {
  max-width: 920px;
}

.elaplus-faq-page .el-faq-lead {
  max-width: 980px;
}

.elaplus-faq-page .el-faq-overview,
.elaplus-faq-page .el-faq-overview-number {
  display: none !important;
}

@media (max-width: 640px) {
  .elaplus-faq-page .el-faq-hero {
    padding: 52px 0 62px;
  }

  .elaplus-faq-page .el-faq-hero::before {
    top: 10px;
    right: 10px;
    width: 110px;
    height: 110px;
  }

  .elaplus-faq-page .el-faq-hero::after {
    right: 4%;
    bottom: -20px;
    font-size: 120px;
  }
}
