.ag-product-content--fences .ag-grating-info__title{max-width:420px!important;margin-bottom:26px!important;}
.ag-product-content--fences .ag-grating-info__text{max-width:420px!important;}
@media(max-width:1200px) and (min-width:901px){
 .ag-product-content--fences .ag-grating-info__title,.ag-product-content--fences .ag-grating-info__text{max-width:390px!important;}
}
@media(max-width:900px){
 .ag-product-content--fences .ag-grating-info__title,.ag-product-content--fences .ag-grating-info__text{max-width:650px!important;}
}
@media(max-width:560px){
 .ag-product-content--fences .ag-grating-info__title{max-width:100%!important;margin-bottom:20px!important;}
 .ag-product-content--fences .ag-grating-info__text{max-width:100%!important;}
}

/* Responsive fence heading: allow saved ES/EN title spans to flow safely. */
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__content{min-width:0!important;}
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__title{max-width:100%!important;overflow-wrap:normal;word-break:normal;}
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__title-line{white-space:normal!important;max-width:100%!important;}
.ag-what-is-grating-widget.ag-product-content--fences[lang="en"] .ag-grating-info__title-line{display:inline!important;width:auto!important;}
.ag-what-is-grating-widget.ag-product-content--fences[lang="en"] .ag-grating-info__title-line:not(:last-child)::after{content:" ";}
@media(min-width:901px) and (max-width:1200px){
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__title{font-size:clamp(30px,3.5vw,42px);line-height:1.25;}
}
@media(max-width:900px){
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__title-line{display:inline!important;width:auto!important;}
.ag-what-is-grating-widget.ag-product-content--fences .ag-grating-info__title-line:not(:last-child)::after{content:" ";}
}
