/* Phase 4: product, case and news detail pages */

.detail-article-page .met_module2,
.detail-product-legacy .met_module2,
.geo-product-page .met_module2 {
  padding: 0;
  background: transparent;
  border: 0;
}

.detail-article-page .met_module2 h1.met_title,
.detail-product-legacy .met_module2 h1.met_title {
  max-width: 820px;
  margin: 0 auto 12px;
  padding: 4px 0;
  color: #17263a;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.detail-article-page .met_module2 .met_infos,
.detail-product-legacy .met_module2 .met_infos {
  display: flex;
  max-width: 820px;
  margin: 0 auto 30px;
  padding: 0 0 20px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #7b8797;
  font-size: 13px;
  border-bottom: 1px solid #e2e9f1;
}

.detail-article-page .met_module2 .met_infos span,
.detail-product-legacy .met_module2 .met_infos span {
  line-height: 24px;
}

.detail-article-page .met_module2 .met_editor,
.detail-product-legacy .met_module2 .met_editor {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  overflow-wrap: anywhere;
  color: #3e4d61;
  font-size: 16px;
  line-height: 1.95;
}

.detail-article-page .met_module2 .nyabout,
.detail-product-legacy .met_module2 .nyabout {
  color: #3e4d61;
  font-size: 16px;
  line-height: 1.95;
}

.detail-article-page .met_module2 .nyabout p,
.detail-article-page .met_module2 .nyabout div,
.detail-article-page .met_module2 .nyabout span,
.detail-product-legacy .met_module2 .nyabout p,
.detail-product-legacy .met_module2 .nyabout div,
.detail-product-legacy .met_module2 .nyabout span {
  max-width: 100%;
  line-height: 1.95 !important;
}

.detail-article-page .met_module2 .nyabout h1,
.detail-article-page .met_module2 .nyabout [data-geo-original-heading="h1"],
.detail-article-page .met_module2 .nyabout h2,
.detail-article-page .met_module2 .nyabout h3,
.detail-product-legacy .met_module2 .nyabout h1,
.detail-product-legacy .met_module2 .nyabout [data-geo-original-heading="h1"],
.detail-product-legacy .met_module2 .nyabout h2,
.detail-product-legacy .met_module2 .nyabout h3 {
  margin: 30px 0 12px !important;
  color: #173e67 !important;
  font-weight: 700;
  line-height: 1.5 !important;
}

.detail-article-page .met_module2 .nyabout h2,
.detail-product-legacy .met_module2 .nyabout h2 {
  padding-left: 13px;
  font-size: 22px;
  border-left: 4px solid #0d63b8;
}

.detail-article-page .met_module2 .nyabout h3,
.detail-product-legacy .met_module2 .nyabout h3 {
  font-size: 18px;
}

.detail-article-page .met_module2 .nyabout img,
.detail-product-legacy .met_module2 .nyabout img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 20px auto;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(25, 54, 87, 0.1);
}

.detail-article-page .met_module2 .nyabout table,
.detail-product-legacy .met_module2 .nyabout table {
  width: 100% !important;
  margin: 22px 0 !important;
  border-collapse: collapse;
  background: #fff;
}

.detail-article-page .met_module2 .nyabout td,
.detail-article-page .met_module2 .nyabout th,
.detail-product-legacy .met_module2 .nyabout td,
.detail-product-legacy .met_module2 .nyabout th {
  height: auto !important;
  padding: 12px 14px !important;
  color: #405066;
  line-height: 1.65 !important;
  border: 1px solid #dce5ef !important;
}

.detail-article-page .met_module2 .nyabout tr:nth-child(even),
.detail-product-legacy .met_module2 .nyabout tr:nth-child(even) {
  background: #f7faff;
}

.detail-support-cta {
  display: flex;
  max-width: 820px;
  margin: 34px auto 6px;
  padding: 24px 26px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #083d73, #0e6dbc);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(9, 75, 132, 0.18);
}

.detail-support-cta .detail-support-copy {
  min-width: 0;
}

.detail-support-cta span {
  display: block;
  margin-bottom: 5px;
  color: #a9d8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.detail-support-cta strong {
  display: block;
  font-size: 21px;
  line-height: 1.45;
}

.detail-support-cta p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
}

.detail-support-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.detail-support-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}

.detail-support-actions a:first-child {
  color: #07579e;
  background: #fff;
  border-color: #fff;
}

.detail-support-actions a:hover {
  color: #07579e;
  background: #fff;
}

.detail-article-page .met_tools,
.detail-product-legacy .met_tools {
  max-width: 820px;
  height: auto;
  margin: 28px auto 0;
  padding: 20px 0 0;
  line-height: normal;
  border-top: 1px solid #e2e9f1;
}

.detail-article-page .met_tools .met_page,
.detail-product-legacy .met_tools .met_page {
  display: grid;
  position: static;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-article-page .met_tools .met_page li,
.detail-product-legacy .met_tools .met_page li {
  display: block;
  float: none !important;
  min-width: 0;
  padding: 14px 16px;
  box-sizing: border-box;
  color: #6c798b;
  font-size: 13px;
  line-height: 1.7;
  background: #f6f9fc;
  border: 1px solid #e0e8f0;
  border-radius: 8px;
}

.detail-article-page .met_tools .met_page li:last-child,
.detail-product-legacy .met_tools .met_page li:last-child {
  text-align: right;
}

.detail-article-page .met_tools .met_page a,
.detail-product-legacy .met_tools .met_page a {
  display: block;
  color: #42617f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-article-page .met_tools .met_page a:hover,
.detail-product-legacy .met_tools .met_page a:hover {
  color: #0d63b8;
}

/* New product detail template */
.geo-product-page .met_article_head {
  margin-bottom: 30px;
}

.geo-product-page .met_article_head .geo-breadcrumb {
  margin: 0 0 9px;
  color: #718096;
  font-size: 13px;
  line-height: 1.7;
}

.geo-product-page .met_article_head h1 {
  padding-top: 0;
  font-size: 27px;
  line-height: 1.45 !important;
}

.geo-product-page .showpro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.geo-product-page .showpro .box {
  position: static;
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  background: #f7f9fc;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
}

.geo-product-page .tb-booth,
.geo-product-page .tb-s310,
.geo-product-page .tb-s310 a {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
}

.geo-product-page .tb-booth {
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 8px;
}

.geo-product-page .tb-pic a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-product-page .tb-s310 img {
  width: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.geo-product-page .tb-thumb {
  display: flex;
  margin: 12px 0 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
}

.geo-product-page .tb-thumb li,
.geo-product-page .tb-thumb .tb-selected {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  margin: 0;
  padding: 2px;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 7px;
}

.geo-product-page .tb-thumb .tb-selected {
  border-color: #0d63b8;
}

.geo-product-page .tb-s40,
.geo-product-page .tb-s40 a {
  width: 100%;
  height: 100%;
}

.geo-product-page .showprojj {
  min-height: 0;
}

.geo-product-page .showproleft {
  padding: 0;
}

.geo-product-page .showproleft .title {
  margin: 0 0 18px;
  padding: 0 0 17px;
  color: #17263a;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  border-bottom: 1px solid #dfe7f0;
}

.geo-product-page .geo-summary {
  border-color: #dce5ef;
  border-radius: 9px;
}

.geo-product-page .geo-summary > div {
  grid-template-columns: 96px 1fr;
}

.geo-product-page .geo-summary span,
.geo-product-page .geo-summary strong {
  padding: 11px 13px;
}

.geo-product-page .geo-trust {
  margin: 18px 0;
  padding: 14px 16px;
  background: #f3f8fd;
  border-left-color: #0d63b8;
  border-radius: 0 8px 8px 0;
}

.geo-product-page .geo-actions .advisory,
.geo-product-page .geo-actions .geo-phone {
  min-height: 44px;
  padding: 0 21px;
  box-sizing: border-box;
  border-radius: 7px;
}

.geo-product-page .geo-actions .advisory {
  width: auto;
  height: auto;
  line-height: normal;
  background: linear-gradient(135deg, #1676ce, #0a559e);
  border-color: #0d63b8;
}

.geo-product-page .slideTxtBox {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #dfe7f0;
  border-radius: 11px;
}

.geo-product-page .slideTxtBox .hd {
  height: 56px;
  background: #f6f9fc;
  border-bottom: 1px solid #dfe7f0;
}

.geo-product-page .slideTxtBox .hd ul {
  position: static;
  height: 56px;
}

.geo-product-page .slideTxtBox .hd ul li,
.geo-product-page .slideTxtBox .hd ul li.on {
  height: 56px;
  padding: 0 24px;
  color: #173e67;
  font-size: 17px;
  line-height: 56px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid #0d63b8;
}

.geo-product-page .slideTxtBox .bd ul {
  padding: 24px;
  color: #3e4d61;
  font-size: 16px;
  line-height: 1.9;
}

.geo-product-page .slideTxtBox .bd img {
  max-width: 100% !important;
  height: auto !important;
}

.geo-product-page .geo-inquiry {
  margin-top: 32px;
  border-color: #d7e3ef;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 59, 96, 0.09);
}

.geo-product-page .geo-inquiry-head {
  padding: 25px 28px;
  background: linear-gradient(135deg, #eaf5ff, #f8fbff);
}

.geo-product-page .geo-inquiry form {
  padding: 26px 28px 30px;
}

.geo-product-page .geo-inquiry input[type="text"],
.geo-product-page .geo-inquiry input[type="tel"],
.geo-product-page .geo-inquiry input[type="email"],
.geo-product-page .geo-inquiry textarea {
  border-radius: 7px;
}

.geo-product-page .geo-submit-row button {
  min-height: 44px;
  padding: 0 26px;
  background: linear-gradient(135deg, #1676ce, #0a559e);
  border-radius: 7px;
}

@media only screen and (max-width: 980px) {
  .geo-product-page .showpro {
    grid-template-columns: 1fr;
  }

  .geo-product-page .showpro .box {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

@media only screen and (max-width: 850px) {
  .detail-article-page .met_module2 h1.met_title,
  .detail-product-legacy .met_module2 h1.met_title {
    font-size: 25px;
  }

  .detail-article-page .met_module2 .met_infos,
  .detail-product-legacy .met_module2 .met_infos {
    margin-bottom: 24px;
  }

  .detail-support-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-support-actions {
    width: 100%;
  }

  .detail-support-actions a {
    flex: 1;
  }

  .geo-product-page .met_article_head h1 {
    font-size: 23px;
  }

  .geo-product-page .slideTxtBox .bd ul {
    padding: 18px;
  }

  .geo-product-page .geo-inquiry-head,
  .geo-product-page .geo-inquiry form {
    padding: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .detail-article-page .met_module2 h1.met_title,
  .detail-product-legacy .met_module2 h1.met_title {
    font-size: 21px;
    text-align: left;
  }

  .detail-article-page .met_module2 .met_infos,
  .detail-product-legacy .met_module2 .met_infos {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .detail-article-page .met_module2 .met_editor,
  .detail-product-legacy .met_module2 .met_editor,
  .detail-article-page .met_module2 .nyabout,
  .detail-product-legacy .met_module2 .nyabout {
    font-size: 15px;
    line-height: 1.85;
  }

  .detail-article-page .met_module2 .met_editor,
  .detail-product-legacy .met_module2 .met_editor {
    overflow-x: auto;
  }

  .detail-support-cta {
    margin-top: 26px;
    padding: 20px;
  }

  .detail-support-cta strong {
    font-size: 19px;
  }

  .detail-support-actions {
    flex-direction: column;
  }

  .detail-article-page .met_tools .met_page,
  .detail-product-legacy .met_tools .met_page {
    grid-template-columns: 1fr;
  }

  .detail-article-page .met_tools .met_page li:last-child,
  .detail-product-legacy .met_tools .met_page li:last-child {
    text-align: left;
  }

  .geo-product-page .showpro .box {
    padding: 9px;
  }

  .geo-product-page .showproleft .title {
    font-size: 20px;
  }

  .geo-product-page .geo-summary > div {
    grid-template-columns: 80px 1fr;
  }

  .geo-product-page .geo-summary span,
  .geo-product-page .geo-summary strong {
    padding: 9px 10px;
    font-size: 13px;
  }
}
