/* The saved Elementor documents and Sayron styles own this visual design. */
body.trofa-legacy-editorial div,body.trofa-legacy-editorial button,body.trofa-legacy-editorial select,body.trofa-legacy-editorial input,body.trofa-legacy-editorial textarea,body.trofa-legacy-editorial h1,body.trofa-legacy-editorial h2,body.trofa-legacy-editorial h3,body.trofa-legacy-editorial h4,body.trofa-legacy-editorial h5,body.trofa-legacy-editorial h6{font-family:IRANSans,sans-serif}
.trofa-legacy-skip{position:absolute;top:-100px;right:16px;z-index:99999;background:#17633c;color:#fff;padding:12px 20px}.trofa-legacy-skip:focus{top:10px}
.trofa-legacy-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.trofa-legacy-editorial :focus-visible{outline:2px solid #17633c;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.trofa-legacy-editorial *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* Editorial reading rhythm: keep the saved Elementor layout, improve text comfort. */
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content{
  max-width:78ch;
  color:#34483d;
  font-size:1rem;
  line-height:2.05;
  overflow-wrap:anywhere;
}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content>h2,
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content>h3{
  color:#173f2e;
  line-height:1.75;
  margin-block:1.55em .55em;
}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content>h2:first-child{margin-top:0}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content>p{margin-block:0 1.05em}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content li{margin-block:.3em}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content ul,
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content ol{padding-inline-start:1.35em}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content table{width:100%;height:auto!important;border-collapse:collapse;overflow:hidden;border-radius:12px}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content th,
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content td{padding:.7rem .85rem;border:1px solid #dce7df;text-align:right}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content th{background:#eff5f0;color:#174a33}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content img{max-width:100%;height:auto;border-radius:14px}
body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content a:not(.trofa-related-product__button){color:#17633c;text-decoration-thickness:1px;text-underline-offset:3px}
body.trofa-legacy-editorial.single-post .rbt-post-list{max-width:100%;min-width:0}

.trofa-related-product{
  display:grid;
  grid-template-columns:100px minmax(0,1fr);
  grid-template-areas:"media body";
  align-items:center;
  gap:10px 16px;
  margin:1.6rem 0;
  padding:16px;
  border:1px solid #dce9df;
  border-radius:18px;
  background:linear-gradient(135deg,#f5faf6,#fff 68%);
  box-shadow:0 8px 24px rgba(23,74,51,.07);
}
.trofa-related-product__media{grid-area:media;display:grid;place-items:center;min-width:0;aspect-ratio:1;background:#fff;border:1px solid #e8eee9;border-radius:13px;overflow:hidden}
.trofa-related-product__image{display:block;width:100%;height:100%;object-fit:contain}
.trofa-related-product__body{grid-area:body;min-width:0}
.trofa-related-product__title{margin:0 0 5px!important;font-size:1rem!important;line-height:1.7!important}
.trofa-related-product__title a{color:#183d2d;text-decoration:none}
.trofa-related-product__description{margin:0 0 7px!important;color:#637268;font-size:.88rem;line-height:1.85}
.trofa-related-product__price{margin:5px 0 9px;color:#173f2e;font-weight:700}
.trofa-related-product__price .woocommerce-Price-amount{font-size:1rem}
.trofa-related-product__availability{margin:5px 0 9px!important;color:#7a5a10;font-size:.85rem}
.trofa-related-product__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.trofa-related-product__button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;border-radius:10px;background:#17633c;color:#fff!important;font-size:.88rem;font-weight:700;text-decoration:none!important;transition:background-color .18s ease,transform .18s ease}
.trofa-related-product__button:hover{background:#104b2c;transform:translateY(-1px)}
.trofa-related-product__contact{color:#17633c;font-size:.86rem;font-weight:700;text-underline-offset:3px}
.trofa-related-product :focus-visible{outline:2px solid #17633c;outline-offset:3px}

/* A shared crop keeps archive cards aligned without changing their content. */
body.blog .post-grid .mz-posts.sp-1 .rbt-carousel-thumbnail{aspect-ratio:16/9;overflow:hidden;border-radius:14px 14px 0 0;background:#f4f7f4}
body.blog .post-grid .mz-posts.sp-1 .rbt-carousel-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}

@media(max-width:767px){
  body.trofa-legacy-editorial.single-post .elementor-widget-rbt-content .rbt-content{font-size:.97rem;line-height:2}
  body.trofa-legacy-editorial.single-post .elementor-widget-rbt-breadcrumb .elementor-widget-container{padding-block:12px!important}
  body.trofa-legacy-editorial.single-post #breadcrumb{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap}
  body.trofa-legacy-editorial.single-post #breadcrumb li.active{display:none}
  .trofa-related-product{grid-template-columns:76px minmax(0,1fr);gap:8px 12px;padding:12px;border-radius:15px}
  .trofa-related-product__button{min-height:40px;padding:7px 12px}
  body.blog .post-grid .mz-posts.sp-1 .rbt-carousel-thumbnail{border-radius:12px 12px 0 0}
}

/* Reading-only repairs: keep Elementor's saved columns and content. */
body.trofa-legacy-editorial.single-post,body.trofa-legacy-editorial.blog,body.trofa-legacy-editorial.archive{font-family:IRANSans,sans-serif;font-size:16px;color:#243c30}
body.trofa-legacy-editorial.single-post main :is(p,a,li,span:not([class*="icon"]):not([class^="fa"]),td,th,h1,h2,h3,h4),body.trofa-legacy-editorial.blog main :is(p,a,li,span:not([class*="icon"]):not([class^="fa"]),h1,h2,h3,h4){font-family:IRANSans,sans-serif!important}
body.trofa-legacy-editorial.single-post .rbt-content{max-width:74ch;font:16px/2.05 IRANSans,sans-serif!important}
body.trofa-legacy-editorial.single-post .rbt-content :is(p,li,td,th){font-size:16px!important;line-height:2.05}
body.trofa-legacy-editorial.single-post .rbt-content p span{font-size:inherit!important;line-height:inherit!important}
body.trofa-legacy-editorial.single-post .rbt-content h2{font-size:24px!important;line-height:1.8!important}
body.trofa-legacy-editorial.single-post .rbt-content h3{font-size:21px!important;line-height:1.8!important}
body.trofa-legacy-editorial.single-post .rbt-content h4{font-size:18px!important;line-height:1.8!important}
body.trofa-legacy-editorial.single-post .rbt-content table{display:block;max-width:100%;overflow-x:auto;border-radius:0}
body.trofa-legacy-editorial.single-post main h1{font-size:28px!important;line-height:1.8!important;font-weight:700!important}
body.trofa-legacy-editorial.single-post .rbt-post-list a{font-size:14px!important;line-height:1.9!important}
body.trofa-legacy-editorial.single-post .rbt-content a{overflow-wrap:anywhere}
body.trofa-legacy-editorial.blog .rbt-post-title a{font-size:18px;line-height:1.9}
@media(max-width:767px){body.trofa-legacy-editorial.single-post main h1{font-size:23px!important}body.trofa-legacy-editorial.single-post .rbt-content h2{font-size:22px!important}body.trofa-legacy-editorial.single-post .rbt-content h3{font-size:20px!important}}
