/* =========================================================
   TRUCK MACHINES — custom components (loaded after template css)
   ========================================================= */
:root {
  --trm-yellow: #f5b221;
  --trm-yellow-dark: #d99a0b;
  --trm-black: #111111;
  --trm-ink: #1a1a1a;
  --trm-muted: #6b7280;
  --trm-line: #e6e6e6;
  --trm-soft: #f7f7f5;
  --trm-radius: 12px;
  --trm-shadow: 0 18px 40px rgba(17, 17, 17, .10);
}

/* ---------- buttons ---------- */
.thm-btn {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: var(--trm-black) !important;
  border-radius: 6px;
}
.thm-btn:hover {
  background: var(--trm-black);
  border-color: var(--trm-black);
  color: #fff !important;
}
.thm-btn-style2 {
  background: #fff;
  border: 1px solid #fff;
  color: var(--trm-black) !important;
}
.thm-btn-style2:hover {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: var(--trm-black) !important;
}

/* template's white sweep would cover the dark hover background and hide white text */
.thm-btn::before,
.thm-btn-style2::before {
  display: none;
}

/* newsletter quote button sits on a black background, needs light text */
.newslatter-style2 .quote-button a {
  color: #fff !important;
}
.newslatter-style2 .quote-button a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--trm-black) !important;
}

/* ---------- products mega menu ---------- */
.trm-mega {
  position: fixed;
  left: 50%;
  top: 98px;
  transform: translateX(-50%) translateY(12px);
  width: min(1440px, calc(100vw - 24px));
  background: #fff;
  border-radius: var(--trm-radius);
  box-shadow: 0 30px 70px rgba(17, 17, 17, .16);
  padding: 14px 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 999;
  border-top: 3px solid var(--trm-yellow);
}
.trm-has-mega:hover > .trm-mega,
.trm-mega:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.trm-mega__body {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.trm-mega__feature {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.trm-mega__feature__img,
.trm-mega__feature__img img {
  width: 100%;
  height: 100%;
  display: block;
}
/* keeps the feature image from defining the panel height; it fills the grid height instead */
.trm-mega__feature__img {
  position: absolute;
  inset: 0;
}
.trm-mega__feature__img img {
  object-fit: cover;
  transition: transform .5s ease;
}
.trm-mega__feature:hover .trm-mega__feature__img img {
  transform: scale(1.06);
}
.trm-mega__feature__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trm-mega__feature__label i {
  color: var(--trm-yellow);
}
.trm-mega__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 10px;
  align-content: start;
  align-items: start;
  flex: 1;
}
.trm-mega__item {
  display: block;
  text-align: center;
  padding: 4px 4px 6px;
  border-radius: 10px;
  transition: background .2s ease;
  align-self: start;
}
.trm-mega__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.trm-mega__item:hover {
  background: var(--trm-soft);
}
.trm-mega__thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 8px;
  padding: 4px;
}
.trm-mega__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform .45s ease;
}
.trm-mega__item:hover .trm-mega__thumb img {
  transform: scale(1.06);
}
.trm-mega__name {
  display: block;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  color: var(--trm-ink);
  border-bottom: 2px solid var(--trm-yellow);
  padding-bottom: 6px;
  margin-bottom: 6px;
}
.trm-mega__item:hover .trm-mega__name {
  color: var(--trm-yellow-dark);
}
.trm-mega__sub {
  display: block;
  font-size: 11px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: var(--trm-muted);
  text-decoration: none;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trm-mega__sub:hover {
  color: var(--trm-yellow-dark);
  text-decoration: underline;
}
.mobile-menu .trm-mega { display: none !important; }

/* ---------- section heading ---------- */
.trm-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}
.trm-head .trm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--trm-muted);
  margin-bottom: 14px;
}
.trm-head .trm-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--trm-yellow);
  border-radius: 2px;
}
.trm-head h2 {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 12px;
}
.trm-head p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--trm-muted);
}

/* ---------- home category grid ---------- */
.trm-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}
.trm-cat {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  overflow: hidden;
  transition: all .25s ease;
}
.trm-cat:hover {
  border-color: var(--trm-yellow);
  box-shadow: var(--trm-shadow);
  transform: translateY(-4px);
}
.trm-cat__img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--trm-soft);
}
.trm-cat__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  transition: transform .5s ease;
}
.trm-cat:hover .trm-cat__img img {
  transform: scale(1.07);
}
.trm-cat__body {
  display: block;
  padding: 14px 14px 14px;
  text-align: center;
}
.trm-cat__name {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--trm-black);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trm-cat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--trm-muted);
}
.trm-cat__meta i {
  color: var(--trm-yellow);
  font-size: 12px;
}
.trm-cat:hover .trm-cat__meta i {
  transform: translateX(3px);
}
.trm-cat__meta i { transition: transform .2s ease; }
.trm-cats-more {
  margin-top: 40px;
}

/* ---------- product card ---------- */
.trm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trm-prod {
  display: block;
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  overflow: hidden;
  transition: all .25s ease;
}
.trm-prod:hover {
  border-color: var(--trm-yellow);
  box-shadow: var(--trm-shadow);
  transform: translateY(-3px);
}
.trm-prod__img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--trm-soft);
}
.trm-prod__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  transition: transform .5s ease;
}
.trm-prod:hover .trm-prod__img img { transform: scale(1.06); }
.trm-prod__body {
  display: block;
  padding: 16px 18px 18px;
  text-align: center;
}
.trm-prod__cat {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--trm-yellow-dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.trm-prod__name {
  display: block;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--trm-black);
}
.trm-prod:hover .trm-prod__name { color: var(--trm-yellow-dark); }

/* ---------- sidebar ---------- */
.trm-side { position: sticky; top: 110px; }
.trm-side__box {
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  padding: 22px 20px;
  margin-bottom: 24px;
}
.trm-side__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--trm-yellow);
}
.trm-side__list > li { border-bottom: 1px solid #f0f0f0; }
.trm-side__list > li:last-child { border-bottom: 0; }
.trm-side__list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--trm-ink);
  line-height: 1.4;
}
.trm-side__list > li > a:hover,
.trm-side__list > li.active > a { color: var(--trm-yellow-dark); font-weight: 700; }
.trm-side__list > li > a .trm-caret {
  font-size: 12px;
  color: #bbb;
  transition: transform .2s ease;
}
.trm-side__list > li.open > a .trm-caret { transform: rotate(90deg); }
.trm-side__sub {
  display: none;
  padding: 0 0 10px 12px;
}
.trm-side__list > li.open .trm-side__sub { display: block; }
.trm-side__sub a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: #555;
  border-left: 2px solid #eee;
  padding-left: 12px;
}
.trm-side__sub a:hover {
  color: var(--trm-yellow-dark);
  border-left-color: var(--trm-yellow);
}
.trm-side__sub li.active a {
  color: var(--trm-yellow-dark);
  font-weight: 600;
  border-left-color: var(--trm-yellow);
}
.trm-hot { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.trm-hot:last-child { border-bottom: 0; padding-bottom: 0; }
.trm-hot__img {
  width: 74px;
  height: 60px;
  flex: 0 0 74px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--trm-soft);
}
.trm-hot__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trm-hot > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.trm-hot__date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--trm-muted);
}
.trm-hot__name {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--trm-ink);
}
.trm-hot:hover .trm-hot__name { color: var(--trm-yellow-dark); }
.trm-side__cta {
  background: var(--trm-black);
  border-radius: var(--trm-radius);
  padding: 28px 24px;
  text-align: center;
}
.trm-side__cta h4 {
  color: #fff;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.trm-side__cta p {
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.trm-side__cta .thm-btn { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- pagination ---------- */
.trm-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 46px;
}
.trm-pager a,
.trm-pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--trm-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--trm-ink);
  background: #fff;
}
.trm-pager a:hover { border-color: var(--trm-yellow); color: var(--trm-yellow-dark); }
.trm-pager .current {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: var(--trm-black);
}

/* ---------- product detail ---------- */
.trm-gallery__main {
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  overflow: hidden;
  background: var(--trm-soft);
  aspect-ratio: 4 / 3;
}
.trm-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trm-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.trm-gallery__thumbs button {
  padding: 0;
  border: 1px solid var(--trm-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--trm-soft);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color .2s ease;
}
.trm-gallery__thumbs button.is-active { border-color: var(--trm-yellow); }
.trm-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.trm-pinfo__cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--trm-yellow-dark);
  background: rgba(245, 178, 33, .14);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.trm-pinfo h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 16px;
}
.trm-pinfo__desc {
  font-size: 15px;
  line-height: 1.85;
  color: #4b5563;
  margin-bottom: 24px;
}
.trm-pinfo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--trm-line);
}
.trm-pinfo__actions .thm-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
}
.trm-pinfo__actions .trm-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--trm-black);
  border-radius: 6px;
  color: var(--trm-black);
  background: #fff;
}
.trm-pinfo__actions .trm-btn-ghost:hover {
  background: var(--trm-black);
  color: #fff;
}

/* ---------- spec table ---------- */
.trm-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.trm-spec th,
.trm-spec td {
  padding: 13px 18px;
  text-align: left;
  border: 1px solid var(--trm-line);
}
.trm-spec th {
  width: 32%;
  font-weight: 700;
  color: var(--trm-black);
  background: var(--trm-soft);
}
.trm-spec td { color: #4b5563; }
.trm-spec tr:nth-child(even) td { background: #fbfbfa; }

.trm-block {
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  padding: 32px 34px;
}
.trm-block + .trm-block { margin-top: 28px; }
.trm-block h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--trm-yellow);
  display: inline-block;
}
.trm-block p {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 14px;
}

/* ---------- blog list (horizontal) ---------- */
.trm-post {
  display: flex;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all .25s ease;
}
.trm-post:hover {
  border-color: var(--trm-yellow);
  box-shadow: var(--trm-shadow);
  transform: translateY(-2px);
}
.trm-post__img {
  flex: 0 0 330px;
  width: 330px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--trm-soft);
}
.trm-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.trm-post:hover .trm-post__img img { transform: scale(1.05); }
.trm-post__body {
  padding: 24px 26px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trm-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--trm-muted);
  margin-bottom: 10px;
}
.trm-post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.trm-post__meta i { color: var(--trm-yellow); }
.trm-post__title {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 10px;
}
.trm-post:hover .trm-post__title { color: var(--trm-yellow-dark); }
.trm-post__excerpt {
  font-size: 14px;
  line-height: 1.8;
  color: var(--trm-muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trm-post__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--trm-black);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trm-post__more i { color: var(--trm-yellow); }

/* ---------- FAQ ---------- */
.trm-faq .accordion-item {
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.trm-faq .accordion-title {
  padding: 18px 52px 18px 20px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}
.trm-faq .accordion-content { padding: 0 20px 18px; }
.trm-faq .accordion-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--trm-muted);
}
.trm-faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  align-items: start;
}
.trm-faq-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.trm-faq-group h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--trm-ink);
}
.trm-faq-group .accordion-item:last-child { margin-bottom: 0; }
@media (max-width: 991px) {
  .trm-faq-cols { grid-template-columns: 1fr; }
}

/* ---------- solutions: alternating rows ---------- */
.trm-sol-rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.trm-sol-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.trm-sol-row__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--trm-soft);
}
.trm-sol-row__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.trm-sol-row__body {
  max-width: 540px;
}
.trm-sol-row__tag {
  display: block;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--trm-yellow-dark);
  margin-bottom: 12px;
}
.trm-sol-row__body h3 {
  font-size: 32px;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--trm-black);
}
.trm-sol-row__body p {
  font-size: 17px;
  line-height: 29px;
  color: #55585f;
  margin-bottom: 18px;
}
.trm-sol-row__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.trm-sol-row__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 23px;
  color: #33363b;
}
.trm-sol-row__list li i {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 23px;
  color: var(--trm-yellow-dark);
}
.trm-sol-row__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--trm-yellow-dark);
}
.trm-sol-row__link i {
  font-size: 16px;
  transition: transform .2s ease;
}
.trm-sol-row__link:hover i {
  transform: translateX(4px);
}
/* even rows: image right, text left - driven purely by position so markup stays identical */
.trm-sol-rows .trm-sol-row:nth-child(even) .trm-sol-row__media {
  order: 2;
}
.trm-sol-rows .trm-sol-row:nth-child(even) .trm-sol-row__body {
  order: 1;
}
@media (max-width: 991px) {
  .trm-sol-row {
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .trm-sol-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .trm-sol-rows .trm-sol-row:nth-child(even) .trm-sol-row__media {
    order: 0;
  }
  .trm-sol-row__body {
    max-width: none;
  }
  .trm-sol-row__body h3 {
    font-size: 24px;
  }
  .trm-sol-rows {
    gap: 40px;
  }
}

/* ---------- about: what we do ---------- */
.trm-wedo .sec-content .sec-img {
  flex: 1 1 auto;
  min-height: 0;
}
.trm-wedo .sec-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- downloads ---------- */
.trm-dl {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: all .2s ease;
}
.trm-dl:hover { border-color: var(--trm-yellow); box-shadow: 0 10px 26px rgba(17,17,17,.06); }
.trm-dl__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(245, 178, 33, .14);
  color: var(--trm-yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.trm-dl__body { flex: 1 1 auto; min-width: 0; }
.trm-dl__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 4px;
}
.trm-dl__meta { font-size: 12px; color: var(--trm-muted); }
.trm-dl__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--trm-black);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.trm-dl__btn:hover { background: var(--trm-yellow); color: var(--trm-black); }

/* ---------- certificates ---------- */
.trm-certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trm-cert {
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  padding: 26px 20px 24px;
  text-align: center;
  transition: all .25s ease;
}
.trm-cert:hover {
  border-color: var(--trm-yellow);
  box-shadow: var(--trm-shadow);
  transform: translateY(-3px);
}
.trm-cert__badge {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--trm-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trm-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  background: rgba(245, 178, 33, .1);
}
.trm-cert__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 6px;
}
.trm-cert__desc { font-size: 12.5px; line-height: 1.7; color: var(--trm-muted); }

/* certificate document preview */
.trm-cert__doc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 196px;
  padding: 18px 14px 16px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #e3ded2;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
  cursor: zoom-in;
  overflow: hidden;
  transition: all .25s ease;
}
.trm-cert__doc::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(245, 178, 33, .45);
  border-radius: 4px;
  pointer-events: none;
}
.trm-cert__doc:hover { border-color: var(--trm-yellow); box-shadow: 0 10px 24px rgba(0, 0, 0, .09); }
.trm-cert__doc .doc-kicker {
  font-size: 8px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #b07d00;
  text-align: center;
}
.trm-cert__doc .doc-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
  margin-top: 7px;
  text-align: center;
}
.trm-cert__doc .doc-line { width: 42px; height: 2px; background: var(--trm-yellow); margin: 8px 0 10px; }
.trm-cert__doc .doc-body {
  font-size: 10px;
  line-height: 1.55;
  color: #777;
  text-align: center;
  max-width: 180px;
}
.trm-cert__doc .doc-seal {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  border: 2px solid var(--trm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #b07d00;
}
.trm-cert__doc--large {
  min-height: 420px;
  padding: 44px 34px;
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
  cursor: default;
}
.trm-cert__doc--large::before { inset: 10px; border-width: 2px; }
.trm-cert__doc--large .doc-kicker { font-size: 11px; }
.trm-cert__doc--large .doc-title { font-size: 30px; margin-top: 14px; }
.trm-cert__doc--large .doc-line { width: 80px; height: 3px; margin: 14px 0 18px; }
.trm-cert__doc--large .doc-body { font-size: 15px; max-width: 380px; line-height: 1.8; }
.trm-cert__doc--large .doc-seal { width: 84px; height: 84px; border-width: 3px; font-size: 12px; margin-top: 22px; }

.trm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
}
.trm-lightbox.is-open { display: flex; }
.trm-lightbox__box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: auto;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
}
.trm-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.trm-lightbox__close:hover { background: var(--trm-yellow); color: #111; }

/* ---------- service cards (support) ---------- */
.trm-svc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.trm-svc__card {
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: var(--trm-radius);
  padding: 30px 24px;
  transition: all .25s ease;
}
.trm-svc__card:hover {
  border-color: var(--trm-yellow);
  box-shadow: var(--trm-shadow);
  transform: translateY(-4px);
}
.trm-svc__icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(245, 178, 33, .14);
  color: var(--trm-yellow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.trm-svc__card h4 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 10px;
}
.trm-svc__card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--trm-muted);
}

/* ---------- inquiry modal ---------- */
.trm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, .62);
  backdrop-filter: blur(3px);
}
.trm-modal.is-open { display: flex; }
.trm-modal__box {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 34px 34px;
  position: relative;
  animation: trmPop .25s ease;
}
@keyframes trmPop {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.trm-modal__close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--trm-soft);
  border-radius: 50%;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  line-height: 1;
}
.trm-modal__close:hover { background: var(--trm-yellow); color: #111; }
.trm-modal__box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 6px;
}
.trm-modal__box .trm-modal__sub {
  font-size: 13px;
  color: var(--trm-muted);
  margin-bottom: 22px;
}
.trm-field { margin-bottom: 14px; }
.trm-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.trm-field input,
.trm-field textarea {
  width: 100%;
  border: 1px solid var(--trm-line);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--trm-ink);
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}
.trm-field input:focus,
.trm-field textarea:focus { border-color: var(--trm-yellow); }
.trm-field textarea { resize: vertical; min-height: 96px; }
.trm-modal__submit {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--trm-yellow);
  color: var(--trm-black);
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
  margin-top: 6px;
  font-family: inherit;
}
.trm-modal__submit:hover { background: var(--trm-black); color: #fff; }

/* ---------- misc ---------- */
.trm-section { padding: 92px 0; 
    background: var(--thm-bg-deep-white);}
.trm-section--soft { background: var(--trm-soft); }
.trm-breadcrumb {
  font-size: 13px;
  color: #cfcfcf;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
.trm-breadcrumb a { color: #fff; }
.trm-breadcrumb a:hover { color: var(--trm-yellow); }

/* ---------- whole-card clickable ---------- */
.single-service-style .read-more::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
a.single-project { display: block; color: inherit; }
.single-project .project-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  background: var(--thm-orange);
}
.single-project .project-btn span i {
  transform: rotate(-45deg);
  transition: all .3s ease;
}

/* ---------- sidebar widgets ---------- */
.trm-side .blog-sidebar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--trm-line);
  border-radius: 10px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.trm-side .blog-sidebar-search:focus-within {
  border-color: var(--trm-yellow);
  box-shadow: 0 0 0 3px rgba(245, 178, 33, .16);
}
.trm-side .blog-sidebar-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
}
.trm-side .blog-sidebar-search input::placeholder {
  color: #9a9ea6;
}
.trm-side .blog-sidebar-search button {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--trm-yellow);
  color: var(--trm-black);
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.trm-side .blog-sidebar-search button:hover {
  background: var(--trm-black);
  color: var(--trm-yellow);
}
.trm-side__box .blog-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trm-side__box .blog-tags ul li a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--trm-line);
  border-radius: 40px;
  font-size: 12.5px;
  color: #555;
  transition: all .2s ease;
}
.trm-side__box .blog-tags ul li a:hover {
  border-color: var(--trm-yellow);
  color: var(--trm-yellow-dark);
}

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
  .trm-cats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .trm-head h2 { font-size: 38px; }
}
@media (max-width: 1199px) {
  .trm-cats { grid-template-columns: repeat(4, 1fr); }
  .trm-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trm-certs { grid-template-columns: repeat(3, 1fr); }
  .trm-svc { grid-template-columns: repeat(2, 1fr); }
  .trm-post__img { flex-basis: 280px; width: 280px; }
  .trm-mega { top: 92px; }
}
@media (max-width: 991px) {
  .trm-cats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .trm-grid { grid-template-columns: repeat(2, 1fr); }
  .trm-certs { grid-template-columns: repeat(2, 1fr); }
  .trm-mega { display: none !important; }
  .trm-side { position: static; margin-bottom: 34px; }
  .trm-side__box { margin-bottom: 18px; }
  .trm-section { padding: 68px 0; }
  .trm-head h2 { font-size: 32px; }
  .trm-head { margin-bottom: 34px; }
  .trm-pinfo h1 { font-size: 27px; }
  .trm-post { gap: 18px; }
  .trm-post__img { flex-basis: 240px; width: 240px; }
  .trm-post__body { padding: 18px 20px 18px 0; }
  .trm-post__title { font-size: 19px; }
  .trm-block { padding: 24px 22px; }
}
@media (max-width: 767px) {
  .trm-cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trm-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trm-certs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trm-svc { grid-template-columns: 1fr; }
  .trm-post { flex-direction: column; }
  .trm-post__img { flex-basis: auto; width: 100%; aspect-ratio: 16 / 9; }
  .trm-post__body { padding: 0 18px 20px; }
  .trm-head h2 { font-size: 27px; }
  .trm-section { padding: 56px 0; }
  .trm-cat__name { font-size: 13.5px; min-height: 36px; }
  .trm-cat__body { padding: 12px 12px 14px; }
  .trm-prod__name { font-size: 15px; }
  .trm-pinfo h1 { font-size: 23px; }
  .trm-pinfo__actions { flex-direction: column; }
  .trm-pinfo__actions .thm-btn,
  .trm-pinfo__actions .trm-btn-ghost { width: 100%; justify-content: center; }
  .trm-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .trm-dl { flex-wrap: wrap; }
  .trm-dl__btn { width: 100%; justify-content: center; }
  .trm-modal__box { padding: 26px 20px 28px; }
  .trm-pager a, .trm-pager span { min-width: 38px; height: 38px; }
  .trm-block h3 { font-size: 20px; }
}
@media (max-width: 420px) {
  .trm-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trm-grid { grid-template-columns: 1fr; }
  .trm-certs { grid-template-columns: 1fr; }
}

/* ---------- header / footer brand tweaks ---------- */
.menu-area { background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.sticky-menu .menu-area { background: #fff; }
.navbar-wrap ul li a { color: #111; }
.navbar-wrap > ul > li.active > a,
.navbar-wrap > ul > li:hover > a { color: var(--trm-yellow-dark); }
.main-header-one__bottom-right .site-contact a.contact-phone { color: #111; }
.main-header-one__bottom-right .site-contact a.contact-phone:hover { color: var(--trm-yellow-dark); }
.footer-widget-logo img { filter: brightness(0) invert(1); max-width: 190px; }
.trm-brand-name { font-size: 22px; font-weight: 700; letter-spacing: .16em; color: #111; opacity: .45; transition: all .25s ease; }
.brand-slider .item:hover .trm-brand-name { opacity: 1; color: var(--trm-yellow-dark); }
.trm-side__list > li > a { cursor: pointer; }
@media (max-width: 991px) {
  .navbar-wrap { display: none; }
  .main-header-one__bottom-right { display: none; }
}

/* ---------- header v2: logo + centered nav + tools ---------- */
.trm-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 0 0px;
}
.trm-navbar__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.trm-navbar__logo img {
  height: 60px;
  width: auto;
  display: block;
}
.trm-navbar__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.trm-navbar__nav ul.navigation {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.trm-navbar__nav ul.navigation > li { white-space: nowrap; }
.trm-navbar__nav ul.navigation > li > a {
  padding: 30px 15px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  color: #111;
}
.trm-navbar__nav ul.navigation > li.menu-item-has-children > a { margin-right: 0; }
.trm-navbar__nav ul.navigation > li.active > a,
.trm-navbar__nav ul.navigation > li:hover > a { color: var(--trm-yellow-dark); }
.trm-navbar .trm-mega { top: 128px; }

.trm-navbar__tools {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trm-navbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  min-width: 42px;
  padding: 0 12px;
  border: 1px solid var(--trm-line);
  border-radius: 8px;
  background: #fff;
  color: var(--trm-ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}
.trm-navbar__icon:hover {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: #111;
}
.trm-navbar__icon span { font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.trm-lang { position: relative; }
.trm-lang__caret { font-size: 10px; opacity: .7; }
.trm-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 156px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  z-index: 1000;
}
.trm-lang:hover .trm-lang__menu,
.trm-lang.open .trm-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.trm-lang__menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 20px;
  color: var(--trm-ink);
}
.trm-lang__menu li a:hover,
.trm-lang__menu li a.active {
  background: var(--trm-soft);
  color: var(--trm-yellow-dark);
}

/* mobile header logo */
.mobile-nav-toggler .site-ligo img { height: 46px; width: auto; display: block; }
.mobile-menu .nav-logo img { height: 50px; width: auto; display: block; }

/* ---------- search overlay ---------- */
.trm-search-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 150px 20px 0;
  background: rgba(17, 17, 17, .55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 10000;
}
.trm-search-overlay.open { opacity: 1; visibility: visible; }
.trm-search-box {
  position: relative;
  width: min(760px, 100%);
  padding: 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(17, 17, 17, .28);
  transform: translateY(-14px);
  transition: transform .25s ease;
}
.trm-search-overlay.open .trm-search-box { transform: translateY(0); }
.trm-search-box form { display: flex; gap: 10px; }
.trm-search-box input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--trm-line);
  border-radius: 8px;
  font-size: 15px;
  color: var(--trm-ink);
  outline: none;
  background: #fff;
}
.trm-search-box input[type="search"]:focus { border-color: var(--trm-yellow); }
.trm-search-box .thm-btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 26px;
  line-height: 50px;
}
.trm-search-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--trm-black);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.trm-search-close:hover { background: var(--trm-yellow); color: #111; }

@media (max-width: 1199px) {
  .trm-navbar__tools { display: none; }
  #sticky-header.menu-area {
    background: #fff;
    border-bottom: 1px solid var(--trm-line);
  }
  .menu-area .mobile-nav-toggler i { color: #111; }
}
@media (max-width: 575px) {
  .trm-search-overlay { padding: 90px 14px 0; }
  .trm-search-box { padding: 20px; }
  .trm-search-box form { flex-direction: column; }
  .trm-search-box .thm-btn { width: 100%; }
}

/* =========================================================
   Header over hero: transparent at top, solid after scroll
   ========================================================= */
.main-header-one {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
#sticky-header.menu-area {
  background: transparent;
  box-shadow: none;
  border-bottom: 0;
  transition: background-color .3s ease, box-shadow .3s ease;
}
#sticky-header .main-header-one__right {
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color .3s ease, border-color .3s ease;
}
#sticky-header .trm-navbar__nav ul.navigation > li > a { color: #fff; }
#sticky-header .trm-navbar__nav ul.navigation > li.active > a,
#sticky-header .trm-navbar__nav ul.navigation > li:hover > a { color: var(--trm-yellow); }
#sticky-header .trm-navbar__icon {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
#sticky-header .trm-navbar__icon:hover {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: #111;
}
.trm-navbar__logo .trm-logo-white { display: block; }
.trm-navbar__logo .trm-logo-dark { display: none; }

/* ---------- solid state ---------- */
#sticky-header.trm-scrolled,
#sticky-header.sticky-menu {
  background: #fff;
  box-shadow: 0 6px 24px rgba(17, 17, 17, .08);
}
#sticky-header.trm-scrolled .main-header-one__right,
#sticky-header.sticky-menu .main-header-one__right {
  background: #fff;
  border-bottom-color: var(--trm-line);
}
#sticky-header.trm-scrolled .trm-navbar__nav ul.navigation > li > a,
#sticky-header.sticky-menu .trm-navbar__nav ul.navigation > li > a { color: #111; }
#sticky-header.trm-scrolled .trm-navbar__nav ul.navigation > li.active > a,
#sticky-header.trm-scrolled .trm-navbar__nav ul.navigation > li:hover > a,
#sticky-header.sticky-menu .trm-navbar__nav ul.navigation > li.active > a,
#sticky-header.sticky-menu .trm-navbar__nav ul.navigation > li:hover > a { color: var(--trm-yellow-dark); }
#sticky-header.trm-scrolled .trm-navbar__icon,
#sticky-header.sticky-menu .trm-navbar__icon {
  background: #fff;
  border-color: var(--trm-line);
  color: var(--trm-ink);
}
#sticky-header.trm-scrolled .trm-navbar__icon:hover,
#sticky-header.sticky-menu .trm-navbar__icon:hover {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: #111;
}
#sticky-header.trm-scrolled .trm-logo-white,
#sticky-header.sticky-menu .trm-logo-white { display: none; }
#sticky-header.trm-scrolled .trm-logo-dark,
#sticky-header.sticky-menu .trm-logo-dark { display: block; }

@media (max-width: 1199px) {
  #sticky-header.menu-area,
  #sticky-header.trm-scrolled,
  #sticky-header.sticky-menu {
    background: #fff;
    box-shadow: 0 6px 24px rgba(17, 17, 17, .08);
  }
  #sticky-header .main-header-one__right { background: #fff; border-bottom-color: var(--trm-line); }
  .menu-area .mobile-nav-toggler i { color: #111; }
}

/* ---------- news module ---------- */
.trm-news-featured {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}
.trm-news-featured__img,
.trm-news-featured__img img {
  width: 100%;
  height: 100%;
  display: block;
}
.trm-news-featured__img img {
  object-fit: cover;
  transition: transform .6s ease;
}
.trm-news-featured:hover .trm-news-featured__img img {
  transform: scale(1.06);
}
.trm-news-featured__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.12) 72%, transparent);
  color: #fff;
}
.trm-news-featured__date {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--trm-black);
  background: var(--trm-yellow);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.trm-news-featured__title {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.trm-news-featured__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 0;
}
.trm-news-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.trm-news-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--trm-line);
  border-radius: 12px;
  padding: 16px;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.trm-news-item:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  border-color: var(--trm-yellow);
}
.trm-news-item__img {
  flex: 0 0 150px;
  width: 150px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
}
.trm-news-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.trm-news-item:hover .trm-news-item__img img {
  transform: scale(1.06);
}
.trm-news-item__body {
  min-width: 0;
}
.trm-news-item__date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--trm-yellow-dark);
  margin-bottom: 6px;
}
.trm-news-item__title {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--trm-black);
  margin-bottom: 6px;
  transition: color .3s ease;
}
.trm-news-item:hover .trm-news-item__title {
  color: var(--trm-yellow-dark);
}
.trm-news-item__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--trm-muted);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trm-news-more {
  margin-top: 26px;
}

/* ---------- contact: right column image fills remaining height ---------- */
.trm-cq-img {
  flex: 1 1 0%;
  min-height: 200px;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
}
.trm-cq-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 991px) {
  .trm-cq-img {
    flex: none;
    height: 280px;
  }
}

/* ---------- footer copyright bar: blend with footer, divider line ---------- */
.footer-copyright {
  background: rgba(21, 22, 17, .92);
  padding: 0 0 18px;
}
.footer-copyright .container {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 18px;
}

/* ---------- pager: keep CMS generated markup on the same flex row ---------- */
.trm-pager > div,
.trm-pager > nav,
.trm-pager > ul,
.trm-pager ul,
.trm-pager li {
  display: contents;
}
.trm-pager a.active,
.trm-pager a.current,
.trm-pager .active > a,
.trm-pager .current > a,
.trm-pager li.active > a,
.trm-pager li.current > a {
  background: var(--trm-yellow);
  border-color: var(--trm-yellow);
  color: var(--trm-black);
}
.trm-pager a.disabled,
.trm-pager .disabled > a {
  opacity: .45;
  pointer-events: none;
}
/* footer social icons: single row, natural size */
.footer-social-icon.d-flex {
  flex-wrap: nowrap;
  justify-content: center;

}

.footer-social-icon.d-flex a { flex-shrink: 0; }

/* ===== topbar ===== */
.trm-topbar {
  background: transparent;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1;
  padding: 10px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.trm-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.trm-topbar__info {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trm-topbar__info a {
  color: rgba(255,255,255,.75);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trm-topbar__info a:hover { color: var(--trm-yellow, #ffc800); }
.trm-topbar__info i { font-size: 12px; opacity: .85; }
.trm-topbar__social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trm-topbar__social a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
  transition: transform .2s;
}
.trm-topbar__social a:hover { transform: translateY(-2px); }
.trm-topbar__social a:nth-child(1) { background: #1877f2; }
.trm-topbar__social a:nth-child(2) { background: #0a66c2; }
.trm-topbar__social a:nth-child(3) { background: #000; }
.trm-topbar__social a:nth-child(4) { background: #e4405f; }
.trm-topbar__social a:nth-child(5) { background: #ff0000; }
.trm-topbar__social a:nth-child(6) { background: #4c75a3; }
.trm-topbar__social a:nth-child(7) { background: #010101; }
.trm-topbar__social a:nth-child(8) { background: #25d366; }
@media (max-width: 768px) {
  .trm-topbar__inner { flex-direction: column; gap: 8px; }
  .trm-topbar__info { gap: 12px; font-size: 11px; }
}

/* ===== floating quick contact bar ===== */
.trm-float {
  position: fixed;
  right: 52px;
  bottom: 170px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trm-float__item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--trm-yellow, #ffc800);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s, background .2s;
  border: none;
  cursor: pointer;
  padding: 0;
}
.trm-float__item:hover { transform: translateY(-3px); }
.trm-float--wa:hover { background: #25d366; }
.trm-float--me:hover { background: #0084ff; }
.trm-float--mail:hover { background: #e63946; }
/* topbar text color when header becomes white after scroll */
#sticky-header.trm-scrolled .trm-topbar,
#sticky-header.sticky-menu .trm-topbar {
  color: #666;
  border-bottom-color: rgba(0,0,0,.08);
}
#sticky-header.trm-scrolled .trm-topbar__info a,
#sticky-header.sticky-menu .trm-topbar__info a { color: #666; }
#sticky-header.trm-scrolled .trm-topbar__info a:hover,
#sticky-header.sticky-menu .trm-topbar__info a:hover { color: var(--trm-yellow-dark, #d9a400); }

/* footer logo spacing from content below */
.footer-widget-logo { margin-bottom: 20px !important; }
.footer-widget-content { margin-top: 0; }

/* footer copyright bar alignment */
.footer-copyright .row { align-items: center; }
.footer-copyright-text { margin: 0; }
.footer-copyright-text p { margin: 0; line-height: 1; }
ul.footer-short-link {
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
ul.footer-short-link li { margin-left: 24px; line-height: 1; }
ul.footer-short-link li:first-child { margin-left: 0; }
@media (max-width: 767px) {
  ul.footer-short-link { justify-content: flex-start; margin-top: 10px; }
  ul.footer-short-link li { margin: 0 16px 0 0; }
}

/* force copyright bar: left text, right links, vertically centered */
.footer-copyright .row { align-items: center !important; }
.footer-copyright .row > div { display: flex; align-items: center; }
ul.footer-short-link {
  width: 100% !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
ul.footer-short-link li { margin: 0 0 0 28px !important; line-height: 1; }
ul.footer-short-link li:first-child { margin-left: 0 !important; }
.footer-copyright-text { width: 100%; }
.footer-copyright-text p { margin: 0 !important; }

/* hard force copyright row alignment */
.footer-copyright .row { align-items: center !important; }
.footer-copyright [class*="col-md"] {
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
}
.footer-copyright-text { margin: 0 !important; display: flex !important; align-items: center !important; }
.footer-copyright-text p { margin: 0 !important; padding: 0 !important; }

/* restyle original scroll-top button to match float bar (round, yellow) */
.scroll-top.scroll-to-target {
  width: 46px !important;
  height: 46px !important;
  line-height: 46px !important;
  border-radius: 50% !important;
  right: 52px !important;
  bottom: 30px !important;
  background: var(--trm-yellow, #ffc800) !important;
  color: #1a1a1a !important;
  font-size: 18px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.scroll-top.scroll-to-target:hover {
  background: var(--trm-yellow-dark, #d9a400) !important;
  transform: translateY(-3px);
}


/* ===== blog category filter pills ===== */
.trm-blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}
.trm-blog-filter__btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: #f1f2f4;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}
.trm-blog-filter__btn:hover {
  background: var(--trm-yellow, #ffc800);
  color: #111;
}
.trm-blog-filter__btn.active {
  background: var(--trm-yellow, #ffc800);
  color: #111;
}

/* ===== blog filter pills v2: centered + light bg container ===== */
.trm-blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 16px 20px;
  background: #f6f7f9;
  border-radius: 14px;
}
#trm-post-list { transition: opacity .2s; }

/* blog filter v3: no big container bg, pills only */
.trm-blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.trm-blog-filter__btn { background: #eef0f3 !important; }
.trm-blog-filter__btn.active,
.trm-blog-filter__btn.active:hover { background: var(--trm-yellow, #ffc800) !important; color: #111 !important; }

/* ============================================
   MOBILE ONLY (max-width: 767px) — desktop untouched
   ============================================ */
@media (max-width: 767px) {
  /* topbar social icons smaller */
  .trm-topbar__social a {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    margin-left: 5px !important;
  }
  .trm-topbar__info { font-size: 12px !important; }
  .trm-topbar__info a { font-size: 12px !important; }
  .trm-topbar__info a i { margin-right: 3px !important; }

  /* logo smaller */
  .main-header__logo img,
  .sticky-header .main-header__logo img { max-height: 38px !important; width: auto !important; }

  /* float buttons smaller, tucked to edge */
  .trm-float { right: 12px !important; bottom: 80px !important; gap: 8px !important; }
  .trm-float__item { width: 40px !important; height: 40px !important; font-size: 16px !important; }
  .scroll-top.scroll-to-target { right: 12px !important; bottom: 16px !important; width: 40px !important; height: 40px !important; font-size: 16px !important; }

  /* hero title + subtitle smaller */
  .banner-content .title-text,
  .banner-content h1 { font-size: 28px !important; line-height: 1.25 !important; }
  .banner-content p { font-size: 14px !important; line-height: 1.5 !important; }
  .banner-content .thm-btn,
  .banner-content .thm-btn2 { padding: 10px 18px !important; font-size: 13px !important; margin: 4px 4px 0 0 !important; }

  /* blog filter pills smaller */
  .trm-blog-filter { gap: 6px !important; margin-bottom: 20px !important; }
  .trm-blog-filter__btn { padding: 6px 14px !important; font-size: 12px !important; }

  /* section headings smaller */
  .trm-head h2 { font-size: 22px !important; }
  .trm-head { margin-bottom: 20px !important; }

  /* post card stack */
  .trm-post { flex-direction: column !important; }
  .trm-post__img, .trm-post__img img { width: 100% !important; height: 200px !important; }
  .trm-post__body { padding: 16px !important; }

  /* sidebar stacks below content */
  .col-lg-4 { margin-top: 30px; }

  /* breadcrumb title smaller */
  .breadcumb-title { font-size: 28px !important; }

  /* footer stacks */
  .footer-widget { margin-bottom: 24px; }
}

/* ===== mobile topbar fix (force) ===== */
@media (max-width: 767px) {
  .trm-topbar { padding: 6px 0 !important; }
  .trm-topbar__inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .trm-topbar__info { display: none !important; }
  .trm-topbar__social { justify-content: center !important; gap: 6px !important; }
  .trm-topbar__social a {
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 11px !important;
    margin: 0 !important;
  }
  .main-header-one, .main-header { padding: 8px 0 !important; }
}

/* ===== mobile footer copyright stacked ===== */
@media (max-width: 767px) {
  .footer-copyright .row { flex-direction: column !important; text-align: center !important; gap: 10px !important; }
  .footer-copyright [class*="col-md"] { width: 100% !important; justify-content: center !important; }
  .footer-copyright-text p { justify-content: center !important; }
  ul.footer-short-link { justify-content: center !important; flex-wrap: wrap !important; gap: 8px 16px !important; }
  .footer-copyright { padding: 16px 0 !important; font-size: 13px !important; }
  /* keep float buttons clear of copyright bar */
  .trm-float { bottom: 90px !important; }
  .scroll-top.scroll-to-target { bottom: 20px !important; }
}

/* mobile: keep float buttons below offcanvas menu */
@media (max-width: 767px) {
  .trm-float { z-index: 50 !important; }
  .scroll-top.scroll-to-target { z-index: 50 !important; }
}

/* ===== mobile hero fix ===== */
@media (max-width: 767px) {
  /* show topbar info small on one line */
  .trm-topbar__info {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    margin-bottom: 4px;
  }
  .trm-topbar__info a { font-size: 11px !important; }

  /* hero padding so title not hidden under sticky header */
  .banner-area, .banner-content, #banner, .trm-banner, section[style*="background-image"] {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
  }

  /* force float buttons yellow on mobile too */
  .trm-float__item {
    background: var(--trm-yellow, #ffc800) !important;
    color: #1a1a1a !important;
  }
}

/* mobile hero-area padding so title not hidden under fixed header */
@media (max-width: 767px) {
  .hero-area { padding-top: 110px !important; }
  .hero-area .slider-content-wrapper { padding-top: 20px !important; }
}

/* mobile topbar compact fix */
@media (max-width: 767px) {
  .trm-topbar { padding: 4px 0 !important; }
  .trm-topbar__inner {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    gap: 4px 10px !important;
  }
  .trm-topbar__info {
    display: flex !important;
    justify-content: center !important;
    gap: 4px 10px !important;
    width: 100%;
    margin-bottom: 2px;
  }
  .trm-topbar__info a { font-size: 10px !important; }
  .trm-topbar__social { gap: 4px !important; }
  .trm-topbar__social a { width: 20px !important; height: 20px !important; line-height: 20px !important; font-size: 10px !important; }
}

/* mobile topbar text color + no gap */
@media (max-width: 767px) {
  .trm-topbar {
    background: #fff !important;
    padding: 4px 0 !important;
    margin: 0 !important;
  }
  .trm-topbar__info a, .trm-topbar__info { color: #555 !important; }
  .trm-topbar__info a:hover { color: #111 !important; }
  #sticky-header { padding-top: 0 !important; }
}

/* mobile header row compact */
@media (max-width: 767px) {
  .main-header-one, .main-header { padding: 6px 0 !important; }
  .main-header__logo img { max-height: 36px !important; }
  .main-header__inner, .main-one__inner { padding: 0 10px !important; }
}

/* mobile offcanvas megamenu: stacked, hidden until toggle */
@media (max-width: 767px) {
  .mobile-menu .trm-mega {
    display: none !important;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
    background: #f6f7f9 !important;
  }
  .mobile-menu li.mega-open > .trm-mega { display: block !important; }
  .mobile-menu .trm-mega__grid { display: block !important; }
  .mobile-menu .trm-mega__item { padding: 6px 0 !important; }
  .mobile-menu .trm-mega__link { font-size: 14px !important; }
  .mobile-menu .trm-mega__feature { display: none !important; }
}

/* mobile header compact - hamburger container */
@media (max-width: 767px) {
  .mobile-nav-toggler {
    padding: 8px 10px !important;
    height: auto !important;
    line-height: 1 !important;
  }
  .menu-area__inner { padding: 6px 0 !important; }
  .site-logo img { max-height: 36px !important; width: auto !important; }
}

/* mobile header padding 0 */
@media (max-width: 767px) {
  .menu-area__inner { padding: 0 !important; }
  .main-header-one, .main-header { padding: 0 !important; }
}

/* mobile megamenu: text-only, no images, no sub-items */
@media (max-width: 767px) {
  .mobile-menu .trm-mega__thumb,
  .mobile-menu .trm-mega__feature,
  .mobile-menu .trm-mega__sub { display: none !important; }
  .mobile-menu .trm-mega__item { padding: 4px 0 !important; border-bottom: 1px solid #eee !important; }
  .mobile-menu .trm-mega__link { display: block !important; padding: 8px 0 !important; }
  .mobile-menu .trm-mega__name { font-size: 15px !important; color: #222 !important; }
}

/* mobile swiper height compact so buttons fit */
@media (max-width: 991px) {
  .hero-area .swiper,
  .swiper-container { height: 72vh !important; }
}

/* megamenu hover gap fix - extend invisible hover area upward */
.trm-mega::before {
  content: "";
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  height: 20px;
  background: transparent;
}



/* scroll-top at 110px */
.scroll-top.open { bottom: 110px !important; }

/* topbar social icons center fix */
.trm-topbar__social a { line-height: 1 !important; padding: 0 !important; }
.trm-topbar__social a i { display: block; line-height: 1 !important; }

/* 移动端侧边菜单：菜单面板必须显示在遮罩层之上，避免被层级遮住 */
.mobile-menu { z-index: 100000; }
.mobile-menu > .menu-backdrop { z-index: 5; }
.mobile-menu .menu-box { position: relative; z-index: 6; }
body.mobile-menu-visible .menu-backdrop { background: rgba(0, 0, 0, 0.55); }

