/* Scoped to homepage: does not modify existing header/footer or global theme */
.teb-home{--teb-blue:var(--main,#042e6a);--teb-light:#eaf3ff;color:#092b58;font-family:var(--font-main,IRANSans),sans-serif;padding:12px 0 30px}
.teb-home *{box-sizing:border-box}.teb-home a{text-decoration:none}.teb-hero{margin-bottom:14px}.teb-hero .carousel,.teb-hero .carousel-inner,.teb-hero .carousel-item,.teb-hero-link{border-radius:14px;overflow:hidden}.teb-hero-link{position:relative;display:block;height:290px;background:linear-gradient(100deg,#dceeff,#9dc8e6)}.teb-hero-link>img{width:100%;height:100%;object-fit:cover}.teb-hero-copy{position:absolute;right:9%;top:50%;transform:translateY(-50%);max-width:44%;text-align:right;color:#072d5c;text-shadow:0 1px 5px #fff}.teb-hero-copy h1{font-size:clamp(20px,3vw,38px);font-weight:900;line-height:1.55}.teb-hero-copy p{font-size:clamp(12px,1.4vw,17px);line-height:1.7}.teb-pill{display:inline-flex;gap:8px;align-items:center;background:var(--teb-blue);color:#fff;padding:9px 18px;border-radius:25px;font-size:12px;text-shadow:none}.teb-hero-empty{border-radius:14px;min-height:290px;background:linear-gradient(110deg,#c7e5ff,#f1f8ff);padding:75px 9%}.teb-hero-empty h1{font-weight:900}.teb-hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:#fff;color:var(--teb-blue);opacity:1}.teb-hero .carousel-control-prev{right:12px;left:auto}.teb-hero .carousel-control-next{left:12px;right:auto}.teb-hero .carousel-indicators{margin-bottom:5px}.teb-hero .carousel-indicators button{width:17px;height:5px;border:0;border-radius:6px;background:var(--teb-blue)}
.teb-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:12px 0 20px}.teb-category{min-height:112px;background:var(--teb-light);border:1px solid #e0ebf9;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--teb-blue);font-weight:800;text-align:center;padding:12px 5px}.teb-category i{font-size:35px}.teb-category img{width:55px;height:55px;object-fit:contain}.teb-category span{font-size:13px}.teb-category:hover{background:#d7eaff;color:var(--teb-blue)}
.teb-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.teb-product-section{min-width:0;border:1px solid #e5ebf3;border-radius:14px;overflow:hidden;background:#fff}.teb-section-head{background:var(--teb-blue);color:#fff;min-height:51px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px}.teb-section-head h2{font-size:14px;font-weight:800;margin:0}.teb-section-head h2 i{font-size:18px;margin-left:5px}.teb-section-head>a{font-size:10px;background:#ffffff25;border-radius:15px;color:#fff;padding:6px 9px;white-space:nowrap}.teb-product-carousel{padding:10px 12px 0}.teb-product-card{min-height:240px;display:flex;flex-direction:column;align-items:stretch}.teb-product-image{height:142px;display:flex;align-items:center;justify-content:center}.teb-product-image img{max-width:100%;height:100%;object-fit:contain}.teb-product-info{flex:1;display:flex;justify-content:space-between;gap:8px;align-items:center}.teb-product-info h3{font-size:12px;font-weight:700;line-height:1.9;margin:0}.teb-price{font-size:13px;font-weight:900;white-space:nowrap;color:#082e60}.teb-price small{font-size:10px}.teb-cart-link{border-top:1px solid #edf1f7;display:block;text-align:center;color:var(--teb-blue);padding:11px 5px;font-size:11px}.teb-product-carousel .owl-dots{text-align:center}.teb-product-carousel .owl-dot span,.teb-client-carousel .owl-dot span{width:6px!important;height:6px!important}.teb-product-carousel .owl-dot.active span,.teb-client-carousel .owl-dot.active span{background:var(--teb-blue)!important;width:16px!important}.teb-product-carousel .owl-nav{position:absolute;top:95px;left:0;right:0;display:flex;justify-content:space-between;pointer-events:none}.teb-product-carousel .owl-nav button{pointer-events:auto;background:#ffffffd9!important;border-radius:50%!important;width:25px;height:25px;color:var(--teb-blue)!important}
.teb-journal{background:#eaf3ff;border-radius:14px;padding:14px;margin-bottom:22px}.teb-heading{display:flex;justify-content:center;align-items:center;position:relative;margin:0 0 15px;gap:12px}.teb-heading:before,.teb-heading:after{content:"";height:1px;background:#b8d2ec;flex:1}.teb-heading h2{font-size:18px;font-weight:900;margin:0;text-align:center}.teb-heading>a{order:-1;background:var(--teb-blue);color:white;border-radius:18px;padding:7px 12px;font-size:11px}.teb-article{display:block;background:white;border-radius:9px;overflow:hidden;color:var(--teb-blue);height:100%;border:1px solid #dfe9f3}.teb-article img{width:100%;height:145px;object-fit:cover}.teb-article h3{font-size:13px;font-weight:800;text-align:center;padding:11px 6px;margin:0;line-height:1.7}.teb-clients{margin:10px 0 20px}.teb-client-carousel{margin-top:15px}.teb-client{border:1px solid #e1e9f4;border-radius:10px;min-height:105px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;text-align:center}.teb-client img{width:50px!important;height:50px;object-fit:contain}.teb-client span{font-size:11px;font-weight:800}.teb-client-carousel .owl-dots{text-align:center}
@media(max-width:1199.98px){.teb-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teb-hero-link{height:250px}.teb-section-head{flex-wrap:wrap}.teb-section-head h2{font-size:12px}}
@media(max-width:991.98px){.teb-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.teb-product-grid{grid-template-columns:1fr}.teb-product-card{min-height:245px}.teb-product-image{height:150px}.teb-section-head{flex-wrap:nowrap}.teb-hero-link{height:230px}.teb-hero-copy{max-width:52%}}
@media(max-width:575.98px){.teb-home{padding-top:7px}.teb-hero-link{height:190px}.teb-hero-copy{right:9%;max-width:62%}.teb-hero-copy h1{font-size:17px}.teb-hero-copy p{font-size:11px;line-height:1.5}.teb-pill{padding:7px 11px;font-size:10px}.teb-hero-arrow{width:27px;height:27px}.teb-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.teb-category{min-height:90px;padding:8px 3px}.teb-category i{font-size:25px}.teb-category img{width:38px;height:38px}.teb-category span{font-size:10px}.teb-section-head h2{font-size:13px}.teb-journal{padding:10px}.teb-heading h2{font-size:13px}.teb-heading>a{font-size:9px;padding:5px 8px}.teb-article img{height:155px}.teb-hero-empty{min-height:190px;padding:30px 8%}.teb-hero-empty h1{font-size:20px}}
/* Final alignment fixes */
.teb-journal .teb-journal-heading{display:flex;align-items:center;justify-content:center;position:relative;min-height:36px;padding:0 125px;margin-bottom:15px}
.teb-journal .teb-journal-heading:before,.teb-journal .teb-journal-heading:after{flex:1}
.teb-journal .teb-journal-heading>a{order:initial;position:absolute;left:0;right:auto;top:50%;transform:translateY(-50%);white-space:nowrap;z-index:1}
.teb-journal .teb-journal-heading h2{white-space:nowrap}
.teb-category-fallback{font-size:32px;color:#082f69}
.teb-hero{position:relative;z-index:1}
.teb-hero-link img{width:100%;height:100%;object-fit:cover}
@media(max-width:575.98px){.teb-journal .teb-journal-heading{padding:0 90px}.teb-journal .teb-journal-heading h2{font-size:12px;white-space:normal}.teb-journal .teb-journal-heading>a{font-size:9px}}
