.tradder-publications-all-link{display:none!important}
.tradder-publications-mobile-cards{display:none}
@media(max-width:767px){
.tradder-publications-original-slider{display:none!important}
.tradder-publications-mobile-cards{display:block;width:calc(100% - 32px);max-width:460px;margin:18px auto 28px;font-family:inherit}
.tradder-publications-mobile-card{display:block;overflow:hidden;border-radius:12px;border:1px solid #dfe6e0;background:white;text-decoration:none}
.tradder-publications-mobile-card img{display:block;width:100%;height:235px;object-fit:cover}
.tradder-publications-mobile-card span{display:block;padding:14px;font-size:17px;font-weight:600;line-height:1.42;color:#17301c}
.tradder-publications-mobile-controls{display:flex;justify-content:center;align-items:center;gap:24px;padding:14px 0 18px}
.tradder-publications-mobile-controls button{border:1px solid #ddd;border-radius:50%;width:38px;height:38px;background:white;font-size:24px}
.tradder-publications-mobile-all{display:table;margin:0 auto;padding:10px 16px;border:1px solid #ddd;border-radius:9px;color:#315b34;text-decoration:none}
}

@media(max-width:767px){
.tradder-publications-mobile-controls{display:grid!important;grid-template-columns:48px 64px 48px!important;align-items:center!important;justify-content:center!important;column-gap:16px!important;min-height:68px!important}
.tradder-publications-mobile-controls button{display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;float:none!important;min-width:48px!important;max-width:48px!important;width:48px!important;min-height:48px!important;max-height:48px!important;height:48px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:30px!important;font-weight:400!important;flex:0 0 48px!important;border:1px solid #d6ded8!important;color:#1b3022!important;background:#fff!important;border-radius:50%!important;box-shadow:none!important;cursor:pointer!important}
.tradder-publications-mobile-controls span{display:block!important;text-align:center!important;min-width:64px!important;white-space:nowrap!important;color:#253027!important;font-size:16px!important;line-height:48px!important}
}

/* Publication heading: same upper-case convention as other homepage sections. */
@media(max-width:767px){
.tradder-publications-mobile-cards{margin-top:26px!important}
.tradder-publications-mobile-card span{text-transform:none}
}

/* 0.5.2.65: prevent clipping of uppercase Ukrainian heading glyphs on desktop. */
.tradder-publications-home-heading{overflow:visible!important;padding-top:0.16em!important;padding-bottom:0.12em!important;line-height:1.22!important;box-sizing:content-box!important}
.tradder-publications-home-heading .elementor-heading-title{overflow:visible!important}
@media(max-width:767px){
/* The old slider is hidden at its widget, never by hiding entire parent sections. */
.elementor-widget.tradder-publications-original-slider,[data-widget_type].tradder-publications-original-slider{display:none!important}
}

/* Legacy slider: keep the same DOM isolation method as 0.5.2.63. */
@media(max-width:767px){
 body.home .tradder-publications-original-slider,
 body.front-page .tradder-publications-original-slider,
 body.page-template-default .tradder-publications-original-slider {display:none!important}
}


/* 0.5.2.70: consistent publication heading geometry in all languages. */
body.home .tradder-publications-home-heading{
 display:block!important;box-sizing:border-box!important;
 text-transform:uppercase!important;line-height:1.2!important;
 margin:0!important;padding:0.16em 0 0.12em!important;
 overflow:visible!important;
}
@media(max-width:767px){
 body.home .tradder-publications-home-heading{font-size:clamp(28px,8vw,36px)!important;line-height:1.2!important;padding:8px 0!important;margin:0!important;}
 body.home .elementor-widget-heading:has(> .elementor-widget-container > .tradder-publications-home-heading){margin:0!important;padding:0!important;}
 body.home #contract_slider,body.home .contract_slider{visibility:visible!important;}
}

/* 0.5.2.89: the contract and publications headings remain elementor-invisible
   when Elementor's viewport entrance animation does not fire on mobile.
   Target only the verified homepage heading widgets, not sliders or parents. */
@media (max-width:767px) {
 body.home .elementor-element-3bf5a37.elementor-widget-heading,
 body.home .elementor-element-debcb39.elementor-widget-heading,
 body.home .elementor-element-3bf5a37 .elementor-widget-container,
 body.home .elementor-element-debcb39 .elementor-widget-container,
 body.home .elementor-element-3bf5a37 .elementor-heading-title,
 body.home .elementor-element-debcb39 .elementor-heading-title {
   visibility:visible!important;opacity:1!important;
 }
 /* One heading scale for contracts, publications and the contact heading. */
 body.home .elementor-element-3bf5a37 .elementor-heading-title,
 body.home .elementor-element-debcb39 .elementor-heading-title,
 body.home .tradder-publications-home-heading {
   font-size:36px!important;line-height:1.2!important;
 }
 .tcv3-panel .tcv3-original-heading .elementor-heading-title {
   font-size:36px!important;line-height:1.2!important;
 }
}

/* 0.5.2.90: contract title retains the existing textured Elementor heading.
   Restore only its visibility; never reveal hidden sliders or layout containers. */
@media(max-width:767px){
 body.home .elementor-widget-heading.tradder-contracts-visible-heading,
 body.home .elementor-widget-heading.tradder-contracts-visible-heading .elementor-widget-container,
 body.home .elementor-widget-heading.tradder-contracts-visible-heading .elementor-heading-title{
  visibility:visible!important;opacity:1!important;
 }
 body.home .elementor-widget-heading.tradder-contracts-visible-heading .elementor-heading-title{
  font-size:36px!important;line-height:1.2!important;
 }
 body.home .tradder-publications-home-heading,
 body.home .tradder-publications-home-heading.elementor-heading-title{
  font-size:36px!important;line-height:1.2!important;
 }
 .tcv3-panel .tcv3-original-heading .elementor-heading-title{font-size:36px!important;line-height:1.2!important;}
}


/* 0.5.2.93: mobile headings, no added section height or margin.
   Shift only the glyphs inside the existing Elementor geometry. */
@media (max-width:767px) {
  body.home .tradder-publications-home-heading {
    position: relative!important;
    top: 12px!important;
  }

}

/* 0.5.2.94: site-specific differences verified against Elementor's saved
   front-page JSON (309=UA, 364=RU, 365=EN).
   Preserve the existing heading geometry and card layout. */
@media (max-width:767px) {
  /* On UA the heading/shortcode sections inherit the preceding grey
     contract-section backdrop; make BOTH sections white, not just the glyph. */
  body.home.page-id-309 .elementor-element.elementor-element-bfbe609,
  body.home.page-id-309 .elementor-element.elementor-element-6848307 {
    background:#fff!important;
  }
  /* EN shortcode section: desktop 50px top+bottom padding was inherited
     on mobile. RU uses zero. Remove only the EN residual padding. */
  body.home.page-id-365 .elementor-element.elementor-element-26152f63 {
    padding-top:0!important;
    padding-bottom:0!important;
  }
}

/* 0.5.2.95: mobile-only language corrections, scoped to audited home pages.
   Shift UA glyph within its existing widget; never increase section height. */
@media (max-width:767px) {
  body.home.page-id-309 .tradder-publications-home-heading {
    top:24px!important; /* shared 12px plus 12px for UA */
  }
  /* EN has no saved mobile padding override on the shortcode container,
     unlike RU; neutralize layout spacing on that exact container only. */
  body.home.page-id-365 .elementor-element.elementor-element-26152f63 {
    padding-block:0!important;
    margin-block:0!important;
    min-height:0!important;
  }
  body.home.page-id-365 .elementor-element.elementor-element-26152f63 > .e-con-inner {
    padding-block:0!important;
    margin-block:0!important;
    min-height:0!important;
  }
}

/* 0.5.2.99: EN mobile contract slider. The Elementor container has a 114%
   desktop width and houses Swiper loop duplicates that extend off-screen.
   Clip only this slider's paint box; do not clip the page or other carousels. */
@media (max-width: 767px) {
 body.page-id-365 #contract_slider,
 body.page-id-365 .elementor-element-2ef7fbbb.contract_slider {
   box-sizing: border-box !important;
   width: 100% !important;
   max-width: 100% !important;
   overflow-x: clip !important;
 }
}

/* 0.5.2.100: mobile EN horizontal overflow isolated to the first
   Swiper section, Elementor element 74c75059 (audit: 414 -> 402px
   when the section is hidden). Scope clipping to its paint area only. */
@media (max-width: 767px) {
  body.home.page-id-365 .elementor-element.elementor-element-74c75059.swiper-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
  }
}
