/* Mobile reading and alignment; desktop layout is preserved. */
@media (max-width:767px) {
    .main_content {font-size:16px;line-height:1.65;}
    .main_content p {font-size:16px;line-height:1.65;overflow-wrap:break-word;}
    .main_content [style*="width:75%"],.main_content [style*="width: 75%"] {width:100%!important;}
    .homepage-media-row {gap:22px!important;margin-bottom:28px!important;}
    .homepage-top-media {flex:1 1 100%!important;min-width:0!important;}
    .homepage-media-row>a {margin:0 auto;flex:0 1 200px!important;}
    .homepage-media-row>a img {width:200px!important;display:block;height:auto!important;}
    .homepage-top-media .bx-wrapper {margin-bottom:0!important;box-shadow:none!important;border:0!important;max-width:100%!important;}
    .homepage-top-media .bx-viewport {border:0!important;left:0!important;box-shadow:none!important;}
    #projects_random,#projects1 {display:grid!important;grid-template-columns:minmax(0,1fr);gap:28px;position:relative!important;width:100%!important;height:auto!important;margin:0!important;}
    #projects_random>article,#projects1>article {position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;margin:0!important;min-width:0;}
    #projects_random .project-heading,#projects1 .project-heading {width:100%;}
    #projects_random .thumbnail,#projects1 .thumbnail {margin:0!important;padding:0!important;}
    #projects_random .img-content,#projects1 .img-content {width:100%!important;height:auto!important;aspect-ratio:16/10;background-size:cover!important;}
    #projects_random .info-news,#projects1 .info-news {margin-top:14px!important;}
    #projects_random .cabecalho,#projects1 .cabecalho {font-size:17px!important;line-height:1.45!important;text-transform:none!important;display:block;overflow-wrap:break-word;color:#995200!important;}
    #projects_random .text-style-1,#projects1 .text-style-1 {font-size:16px!important;line-height:1.65!important;margin:10px 0 0!important;color:#383838!important;}
    #projects_random .text-style-1 span,#projects1 .text-style-1 span {font-size:14px!important;line-height:1.6!important;}
    .titulo {font-size:15px!important;line-height:1.5!important;margin-bottom:22px!important;}
    .titulo_d_news,.titulo_pagina {font-size:25px!important;line-height:1.35!important;overflow-wrap:break-word;}
    .news-img-content {width:100%!important;}
    .news-img-content img,.images_d img {max-width:100%!important;height:auto!important;}
    .footer-container {clear:both;width:100%;font-size:15px!important;line-height:1.6!important;}
    .footer-container .footer2 {padding:0!important;}
    .footer-container .footer2>.container {width:100%!important;max-width:100%!important;padding:24px 30px!important;}
    .footer-container .footer2>.container>.col-xs-12 {padding-left:0!important;padding-right:0!important;}
    .footer-container .row {margin-left:0!important;margin-right:0!important;}
    .footer-container .footer-block {float:none!important;width:100%!important;padding:18px 0!important;text-align:left!important;}
    .footer-container .footer-block+.footer-block {border-top:1px solid #d3d3d3;}
    .footer-container .fr_content {width:100%!important;max-width:none!important;margin:0!important;text-align:left!important;}
    .footer-container h4 {font-size:15px!important;line-height:1.4!important;margin:0 0 10px!important;color:#fff!important;text-align:left!important;}
    .footer-container .toggle-footer {display:block!important;padding:0!important;margin:0!important;}
    .footer-container .toggle-footer li {list-style:none;margin:0!important;padding:0!important;text-align:left!important;}
    .footer-container .toggle-footer a {display:block;padding:7px 0!important;font-size:15px!important;line-height:1.5!important;text-align:left!important;color:#fff!important;}
    .footer-container .toggle-footer a span {text-align:left!important;}
    .footer-container .bottom-footer2 {float:none!important;clear:both;width:100%!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:14px;margin:12px 0 0!important;padding:22px 0 0!important;border-top:1px solid #d3d3d3;text-align:left!important;}
    .footer-container .bottom-footer2 a {display:block;margin:0!important;max-width:100%;font-size:13px!important;line-height:1.5!important;color:#fff!important;}
    .footer-container .bottom-footer2 img {display:block;max-width:180px!important;width:auto!important;height:auto!important;}
}
