/* V29_r40: only news archive, price list and topbar divider. */
/* Fully isolated news grid, independent of Porto masonry and post-grid widths. */
body.fast-news-page #main.fast-r39-news-main .fast-r39-news-section {
  display:block!important; width:calc(100% - 80px)!important;
  max-width:1680px!important; margin:0 auto!important;
  padding:36px 0 76px!important; box-sizing:border-box!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid {
  display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:34px 28px!important; max-width:none!important; width:100%!important;
  margin:0!important; padding:0!important; height:auto!important;
  position:static!important; overflow:visible!important; align-items:start!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid > article.fast-news-editorial {
  display:block!important; position:static!important; float:none!important;
  width:100%!important; max-width:none!important; min-width:0!important;
  margin:0!important; padding:0!important; top:auto!important;left:auto!important;
  transform:none!important; grid-column:auto!important; clear:none!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid > article > .grid-box {
  display:flex!important;flex-direction:column!important; min-width:0!important;
  width:100%!important; height:100%!important; border:0!important; padding:0!important;
  margin:0!important; background:transparent!important;box-shadow:none!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-image,
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-image img {
  width:100%!important; height:205px!important; max-height:205px!important;
  min-height:205px!important; display:block!important;object-fit:cover!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-image {
  overflow:hidden!important; margin:0!important; border-radius:7px 7px 0 0!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-body {
  display:flex!important; flex-direction:column!important; flex:1!important;
  min-width:0!important; width:calc(100% - 17px)!important;
  margin:-27px 0 0!important; padding:20px 15px 10px!important;
  position:relative!important; background:#fff!important; border-radius:0 7px 0 0!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid h3.fast-news-editorial-title {
  font:700 20px/1.4 'Segoe UI',Arial,sans-serif!important; padding:0 0 0 15px!important;
  border-left:3px solid #30343a!important; margin:0 0 17px!important;
  overflow-wrap:anywhere!important;color:#23262b!important;
}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid h3.fast-news-editorial-title a {color:inherit!important;text-decoration:none!important;}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-excerpt {line-height:1.65!important;color:#68727b!important;}
body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid .fast-news-editorial-more {margin-top:auto!important;}
@media(max-width:1250px) {body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:990px) {body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:720px) {body.fast-news-page #main.fast-r39-news-main .fast-r39-news-section{width:calc(100% - 32px)!important;}body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 16px!important;}}
@media(max-width:500px) {body.fast-news-page #main.fast-r39-news-main .fast-r40-news-grid{grid-template-columns:minmax(0,1fr)!important;}}
/* Price listing: standard top breathing room and quieter headings. */
body.fast-r38-price-page #main .fast-r38-price-grid {
  margin-top:66px!important;margin-bottom:70px!important;
}
body.fast-r38-price-page #main .fast-r38-price-card h2 {
  font-size:19px!important;line-height:1.35!important;font-weight:650!important;
  margin-bottom:8px!important;
}
body.fast-r38-price-page #main .fast-r38-price-card {padding-top:30px!important;}
@media(max-width:720px){body.fast-r38-price-page #main .fast-r38-price-grid{margin-top:34px!important;}body.fast-r38-price-page #main .fast-r38-price-card h2{font-size:18px!important;}}
/* Prepaint home content, including any old short-lived layout, before JS finishes. */
html.fast-r40-home-pending body.home #main,
html.fast-r40-home-pending body.home .main-content {visibility:hidden!important;}
