/* Tanelex summary only. Safe to customise: colours, hero padding and images.
   No fixed page heights or hidden text: zoomed content can grow naturally. */
@font-face{font-family:"Spotlight DM Sans";src:url("../assets/tanelex/fonts/dmsans-latin.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Spotlight Manrope";src:url("../assets/tanelex/fonts/manrope-latin.woff2") format("woff2");font-weight:400 800;font-display:swap}
#mgs-tanelex{--mgs-font:"Spotlight DM Sans",Arial,sans-serif;color:#123d3b;background:#f5f8f3;font:400 15px/1.55 "Spotlight DM Sans",Arial,sans-serif}
#mgs-tanelex *{box-sizing:border-box}
#mgs-tanelex :is(h1,h2,h3){font-family:"Spotlight Manrope",Arial,sans-serif!important;color:inherit;letter-spacing:-.035em;line-height:1.2;margin:0}
#mgs-tanelex p{margin:0}
#mgs-tanelex a{text-decoration:none}
#mgs-tanelex a:focus-visible{outline:3px solid #6dbf9f;outline-offset:4px}
#mgs-tanelex .tx-container{width:min(1120px,calc(100% - 48px));margin-inline:auto}
#mgs-tanelex .hero{position:relative;isolation:isolate;overflow:hidden;padding:0;color:#fff;background:linear-gradient(122deg,#0b3130,#16544e 75%,#1c6b5d);--hero-animation-state:paused}
#mgs-tanelex .hero::before,#mgs-tanelex .hero::after{content:none}
#mgs-tanelex .tx-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:44px;align-items:center;padding-block:26px}
#mgs-tanelex .tx-hero-copy{position:relative;z-index:2;min-width:0}
#mgs-tanelex .tx-eyebrow{margin-bottom:7px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.15em;color:#527368}
#mgs-tanelex .hero .tx-eyebrow{color:#b5e8db}
#mgs-tanelex h1{font-size:clamp(48px,5.1vw,70px);letter-spacing:.045em;line-height:1.05;color:#fff}
#mgs-tanelex .hero h2{margin-top:9px;font-size:25px;font-weight:600;color:#cbecdf}
#mgs-tanelex .tx-intro{max-width:570px;margin-top:11px;color:#d4e8e1;font-size:16px}
#mgs-tanelex .tx-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:18px}
#mgs-tanelex .tx-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:42px;padding:10px 17px;border:1px solid transparent;border-radius:7px;font:700 13px/1.4 "Spotlight DM Sans",Arial,sans-serif;color:#123d3b;background:#edf8ef;transition:transform .2s,background .2s}
#mgs-tanelex .tx-button:hover{transform:translateY(-2px);background:#fff}
#mgs-tanelex .tx-text-link{color:#d6eee3;font-size:13px;font-weight:600}
#mgs-tanelex .tx-text-link:hover{text-decoration:underline}
#mgs-tanelex .tx-hero-art{position:relative;perspective:900px}
#mgs-tanelex .tx-hero-stage{position:relative;display:grid;place-items:center;transform:rotateX(var(--hero-tilt-x,0deg)) rotateY(var(--hero-tilt-y,0deg));transition:transform .3s ease-out}
#mgs-tanelex .tx-hero-stage::before{content:"";position:absolute;inset:4%;border:1px solid #ffffff22;border-radius:50%;box-shadow:0 0 0 20px #ffffff06,0 0 0 40px #ffffff04}
#mgs-tanelex .tx-hero-sphere{width:100%;animation:tx-summary-float 8s ease-in-out infinite;animation-play-state:var(--hero-animation-state)}
#mgs-tanelex .tx-hero-sphere img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%;mask-image:radial-gradient(circle,#000 40%,transparent 74%);-webkit-mask-image:radial-gradient(circle,#000 40%,transparent 74%)}
#mgs-tanelex .hero[data-motion-state="playing"]{--hero-animation-state:running}
@keyframes tx-summary-float{50%{transform:translateY(-4px)}}

/* These sections belong only to Tanelex. Keep product copy short; the dedicated
   brand website carries the full detail. No fixed heights clip readable text. */
#mgs-tanelex .hero {
  background: radial-gradient(ellipse at 90% 20%, #2e7c623b, transparent 50%), linear-gradient(122deg,#0b3130,#16544e 75%,#1c6b5d);
}
#mgs-tanelex .tx-float-label {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px;
  padding: 10px 13px; border: 1px solid #d7f0df55; border-radius: 10px;
  color: #eff9ed; background: #154d43c9; backdrop-filter: blur(10px);
  box-shadow: 0 12px 25px #051f2526; font-size: 11px; font-weight: 600;
  animation: tx-info-float 7s ease-in-out infinite;
  animation-play-state: var(--hero-animation-state);
}
#mgs-tanelex .tx-float-label i { width: 6px; height: 6px; border-radius: 50%; background: #b3dda8; box-shadow: 0 0 0 4px #b3dda814; }
#mgs-tanelex .tx-float-one { top: 17%; right: -22px; }
#mgs-tanelex .tx-float-two { bottom: 7%; left: -36px; animation-delay: -3s; }
@keyframes tx-info-float { 50% { transform: translateY(-7px); } }
#mgs-tanelex .tx-overview {
  padding-block: 24px 10px;
  scroll-margin-top: var(--tanelex-header-offset, 100px);
}
#mgs-tanelex .tx-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 16px;
}
#mgs-tanelex .tx-section-heading h2 { font-size: 27px; }
#mgs-tanelex .tx-section-heading > p { max-width: 320px; font-size: 14px; color: #60756c; }
#mgs-tanelex .tx-products { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#mgs-tanelex .tx-product {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d6e5dc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px #123d3b05;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#mgs-tanelex .tx-product:hover { transform: translateY(-4px); box-shadow: 0 15px 32px #123d3b12; border-color: #a3c5b1; }
#mgs-tanelex .tx-product-image { position: relative; background: #e8eee9; }
#mgs-tanelex .tx-product-image img { display: block; width: 100%; height: 100%; min-height: 204px; object-fit: cover; }
#mgs-tanelex .tx-number {
  position: absolute; top: 12px; left: 12px;
  display: grid; place-items: center;
  width: 29px; height: 29px; border: 1px solid #ffffffa6;
  border-radius: 50%; background: #ffffffde; color: #285446;
  font-size: 10px; font-weight: 700;
}
#mgs-tanelex .tx-product-copy { padding: 21px 20px; min-width: 0; }
#mgs-tanelex .tx-format { color: #517f69; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#mgs-tanelex .tx-product h3 { margin-top: 8px; font-size: 21px; }
#mgs-tanelex .tx-product p { margin-top: 10px; color: #5e726a; font-size: 13px; line-height: 1.65; }
#mgs-tanelex .tx-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
#mgs-tanelex .tx-tags span { padding: 4px 7px; border-radius: 4px; color: #547267; background: #eff4ee; font-size: 10px; line-height: 1.4; }
#mgs-tanelex .tx-benefits { padding: 24px 0; }
#mgs-tanelex .tx-benefits-heading { display: flex; align-items: center; gap: 28px; margin-bottom: 14px; }
#mgs-tanelex .tx-benefits-heading .tx-eyebrow { flex: 0 0 auto; margin: 0; }
#mgs-tanelex .tx-benefits h2 { font-size: 22px; }
#mgs-tanelex .tx-benefits ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
#mgs-tanelex .tx-benefits li { display: flex; align-items: flex-start; gap: 12px; padding: 17px 15px; border: 1px solid #dce8df; border-radius: 11px; background: #edf3e9; }
#mgs-tanelex .tx-benefits li:nth-child(2) { background: #edf4f0; }
#mgs-tanelex .tx-benefits li:nth-child(3) { background: #eaf2ee; }
#mgs-tanelex .tx-benefit-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; color: #367961; background: #ffffffc9; border-radius: 9px; }
#mgs-tanelex .tx-benefit-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#mgs-tanelex .tx-benefits h3 { font-size: 14px; line-height: 1.4; }
#mgs-tanelex .tx-benefits p { margin-top: 7px; color: #5d7167; font-size: 12px; line-height: 1.65; }
#mgs-tanelex .tx-enquiry {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 24px; padding: 24px 28px; border-radius: 14px;
  color: #fff; background: radial-gradient(ellipse at 90% 0%, #286755, transparent 65%), #143e38;
}
#mgs-tanelex .tx-enquiry .tx-eyebrow { color: #b4d9bd; }
#mgs-tanelex .tx-enquiry h2 { font-size: 26px; }
#mgs-tanelex .tx-enquiry p:not(.tx-eyebrow) { margin-top: 8px; color: #c5dcd0; font-size: 14px; }
#mgs-tanelex .tx-enquiry-topics { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 13px 0 0; padding: 0; list-style: none; color: #deeee0; font-size: 11px; }
#mgs-tanelex .tx-enquiry-topics li::before { content: "✓"; color: #a8cfad; margin-right: 7px; }
#mgs-tanelex .tx-enquiry-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#mgs-tanelex .tx-enquiry .tx-text-link { font-size: 11px; }
#mgs-tanelex .tx-note { margin-top: 12px; color: #6a7c72; font-size: 10px; line-height: 1.6; }
/* A slim ending replaces the large MGS footer on this page only. */
.tx-endbar { width: min(1120px, calc(100% - 48px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0 15px; color: #698075; font: 11px/1.5 "Spotlight DM Sans", Arial, sans-serif; }
.tx-endbar a { color: #346352; }
.tx-endbar-right { display: flex; align-items: center; gap: 20px; }
.tx-endbar [data-sitelock-verify] img { display: block; width: 66px; max-height: 30px; object-fit: contain; }
@media (max-width: 900px) {
  #mgs-tanelex .tx-hero-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; }
  #mgs-tanelex .tx-product { grid-template-columns: 34% minmax(0, 1fr); }
  #mgs-tanelex .tx-product-copy { padding: 16px 14px; }
  #mgs-tanelex .tx-product h3 { font-size: 18px; }
  #mgs-tanelex .tx-benefits li { display: block; padding: 14px; }
  #mgs-tanelex .tx-benefit-icon { margin-bottom: 9px; }
  #mgs-tanelex .tx-enquiry { padding: 23px; }
  #mgs-tanelex .tx-enquiry h2 { font-size: 23px; }
}
@media (max-width: 600px) {
  #mgs-tanelex .tx-container { width: calc(100% - 32px); }
  #mgs-tanelex .tx-hero-layout { display: block; padding-block: 23px; }
  #mgs-tanelex .tx-hero-art { position: absolute; width: 106px; right: 12px; top: 12px; pointer-events: none; }
  #mgs-tanelex .tx-float-label { padding: 5px 7px; font-size: 8px; gap: 5px; border-radius: 6px; }
  #mgs-tanelex .tx-float-one { top: 10%; right: 0; }
  #mgs-tanelex .tx-float-two { bottom: 0; left: 0; }
  #mgs-tanelex .tx-float-label i { width: 4px; height: 4px; box-shadow: none; }
  #mgs-tanelex .hero h1 { padding-right: 100px; font-size: clamp(36px, 11.5vw, 52px); }
  #mgs-tanelex .hero h2 { margin-top: 13px; font-size: 21px; }
  #mgs-tanelex .tx-intro { font-size: 14px; margin-top: 10px; }
  #mgs-tanelex .tx-eyebrow { font-size: 10px; }
  #mgs-tanelex .tx-actions { gap: 15px; margin-top: 16px; }
  #mgs-tanelex .tx-text-link { font-size: 12px; }
  #mgs-tanelex .tx-overview { padding-top: 21px; }
  #mgs-tanelex .tx-section-heading { display: block; }
  #mgs-tanelex .tx-section-heading h2 { font-size: 23px; }
  #mgs-tanelex .tx-section-heading > p { margin-top: 8px; font-size: 13px; }
  #mgs-tanelex .tx-products { grid-template-columns: 1fr; gap: 12px; }
  #mgs-tanelex .tx-product { grid-template-columns: 34% minmax(0, 1fr); }
  #mgs-tanelex .tx-product-image img { min-height: 180px; }
  #mgs-tanelex .tx-product-copy { padding: 16px 14px; }
  #mgs-tanelex .tx-product h3 { font-size: 18px; }
  #mgs-tanelex .tx-product p { font-size: 12px; margin-top: 8px; }
  #mgs-tanelex .tx-tags { margin-top: 10px; }
  #mgs-tanelex .tx-tags span { font-size: 9px; }
  #mgs-tanelex .tx-benefits { padding-block: 21px; }
  #mgs-tanelex .tx-benefits-heading { display: block; }
  #mgs-tanelex .tx-benefits-heading h2 { margin-top: 7px; font-size: 22px; }
  #mgs-tanelex .tx-benefits ul { grid-template-columns: 1fr; gap: 9px; }
  #mgs-tanelex .tx-benefits li { display: flex; padding: 14px; }
  #mgs-tanelex .tx-benefit-icon { margin-bottom: 0; }
  #mgs-tanelex .tx-benefits p { font-size: 13px; margin-top: 4px; }
  #mgs-tanelex .tx-enquiry { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  #mgs-tanelex .tx-enquiry-actions { align-items: flex-start; }
  #mgs-tanelex .tx-enquiry h2 { font-size: 24px; }
  #mgs-tanelex .tx-enquiry-topics { gap: 6px 14px; }
  .tx-endbar { width: calc(100% - 32px); gap: 12px; font-size: 10px; }
  .tx-endbar-right { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  #mgs-tanelex .tx-hero-sphere { animation: none; }
  #mgs-tanelex .tx-hero-stage { transform: none; transition: none; }
  #mgs-tanelex .tx-button { transition: none; }
  #mgs-tanelex .tx-float-label { animation: none; }
  #mgs-tanelex .tx-product { transition: none; }
  #mgs-tanelex .tx-product:hover { transform: none; }
}

/* Brand-led imagery: contain preserves the complete Tanelex wordmark on phones.
   These visual refinements remain scoped to the Tanelex introduction. */
#mgs-tanelex .tx-benefits { padding-top: 0; padding-bottom: 25px; margin-bottom: 23px; border-bottom: 1px solid #d8e4dc; }
#mgs-tanelex #mgs-product-formats { scroll-margin-top: var(--tanelex-header-offset,100px); }
#mgs-tanelex .tx-product { grid-template-columns: 42% minmax(0,1fr); }
#mgs-tanelex .tx-product-image { background: #eeeee6; }
#mgs-tanelex .tx-product-image img { object-fit: contain; padding: 6px; transition: transform .5s ease; }
#mgs-tanelex .tx-product:hover .tx-product-image img { transform: scale(1.025); }
#mgs-tanelex .tx-format { display: inline-block; padding: 4px 8px; background: #eef4ec; border: 1px solid #e0eadf; border-radius: 20px; font-size: 9px; }
@media(max-width:600px) {
 #mgs-tanelex .tx-product { grid-template-columns: 40% minmax(0,1fr); }
 #mgs-tanelex .tx-product-copy { padding: 15px 12px; }
 #mgs-tanelex .tx-product h3 { font-size: 18px; }
 #mgs-tanelex .tx-benefits { padding-bottom: 21px; margin-bottom: 20px; }
}
@media(prefers-reduced-motion:reduce) { #mgs-tanelex .tx-product-image img { transition: none; } #mgs-tanelex .tx-product:hover .tx-product-image img { transform: none; } }

/* Keep the range and enquiry panels visually separate after reordering. */
#mgs-tanelex .tx-enquiry { margin-top: 24px; }
