/* Footer compartido con demo_1, adaptado al Bootstrap de Altroz. */
.demo1-footer { margin-top: 45px; background:#0d0f12; color:#d1d5db; font-family:'Open Sans',sans-serif; }
.demo1-footer .footer-area-top { padding:55px 0 35px; }
.demo1-footer .footer-box { margin-bottom:25px; }
.demo1-footer h2 { position:relative; margin:0 0 28px; padding-bottom:12px; color:#fff; font-size:18px; font-weight:700; line-height:1.3; }
.demo1-footer h2::after { content:''; position:absolute; left:0; bottom:0; width:45px; height:2px; background:#ec0000; }
.demo1-footer ul { margin:0; padding:0; list-style:none; }
.demo1-footer a { color:#fff; }
.demo1-footer a:hover { color:#ec0000; }
.demo1-footer .most-view-post > li { margin-bottom:18px; padding-bottom:18px; border-bottom:1px solid #292c30; }
.demo1-footer .most-view-post > li:last-child { border:0; }
.demo1-footer .most-view-post .media { display:flex; align-items:flex-start; margin:0; }
.demo1-footer .most-view-post .media > a { flex:0 0 100px; width:100px; height:75px; margin-right:14px; overflow:hidden; background:#222; }
.demo1-footer .most-view-post .media img { width:100%; height:100%; object-fit:cover; }
.demo1-footer .media-body { min-width:0; }
.demo1-footer .media-body h3 { margin:0 0 8px; font-size:14px; line-height:1.35; font-weight:600; }
.demo1-footer .post-date-light { color:#9ca3af; font-size:12px; }
.demo1-footer .post-date-light li { padding:0; border:0; }
.demo1-footer .post-date-light i { margin-right:6px; color:#ec0000; }
.demo1-footer .popular-categories li { border-bottom:1px solid #292c30; }
.demo1-footer .popular-categories a { display:flex; justify-content:space-between; padding:10px 0; font-size:14px; }
.demo1-footer .popular-categories span { color:#9ca3af; }
.demo1-footer .post-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.demo1-footer .post-gallery li { margin:0; }
.demo1-footer .post-gallery figure { position:relative; aspect-ratio:1; margin:0; overflow:hidden; background:#222; }
.demo1-footer .post-gallery img { width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.demo1-footer .post-gallery a:hover img { transform:scale(1.07); }
.demo1-footer .footer-area-bottom { padding:28px 0 20px; border-top:1px solid #292c30; text-align:center; }
.demo1-footer .footer-logo { display:inline-block; margin-bottom:15px; }
.demo1-footer .footer-logo img { max-width:210px; max-height:85px; object-fit:contain; }
.demo1-footer .site-copyright { margin:8px 0; color:#d1d5db; }
.demo1-footer .site-contact { margin:8px 0 18px; }
.demo1-footer .site-contact > * { margin:0 8px; }
.demo1-footer .footer-area-bottom > .container > .row > div > p:last-child img { max-width:260px!important; }
@media(max-width:991px) { .demo1-footer .footer-area-top { padding-top:40px; } }
@media(max-width:575px) { .demo1-footer .post-gallery { grid-template-columns:repeat(3,1fr); } }

/* Footer identity follows this design's accent. */
.demo1-footer { --footer-accent: #ec0000; }

/* Brand group copied from masdanzapy.com; scoped for all five footer templates. */
.demo1-footer .footer-area-bottom {background:#090a0c!important;color:#fff!important;padding:36px 0 20px;text-align:center;}
.demo1-footer .footer-area-bottom .footer-bottom-inner {box-sizing:border-box;width:min(1140px,calc(100% - 32px));max-width:none;margin:0 auto;padding:0;display:flex;flex-direction:column;align-items:center;gap:28px;}
.demo1-footer .footer-brand-group {display:flex;align-items:stretch;gap:32px;width:max-content;max-width:100%;}
.demo1-footer .footer-brand-group .footer-logo {display:block;position:relative;align-self:stretch;flex:0 1 auto;width:clamp(180px,32vw,400px);min-width:0;margin:0;padding:0;}
.demo1-footer .footer-brand-group .footer-logo img {display:block;position:absolute;inset:0;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain;margin:0!important;padding:0!important;}
.demo1-footer .footer-identity-info {display:block;flex:0 1 auto;min-width:0;padding-left:32px;border-left:2px solid var(--footer-accent, currentColor);text-align:left;}
.demo1-footer .footer-identity-name {margin:0 0 10px;padding:0;border:0;color:#fff;font:800 26px/1.15 "Barlow",Arial,sans-serif;text-transform:none;}
.demo1-footer .footer-identity-name::after,.demo1-footer .footer-identity-name::before {content:none;}
.demo1-footer .footer-area-bottom .footer-identity-info .site-copyright {margin:0 0 16px;color:#c4c4c4!important;font-size:12px;line-height:1.5;}
.demo1-footer .footer-area-bottom .footer-brand-group .site-contact {display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px 16px;margin:0;font-size:13px;line-height:1.5;}
.demo1-footer .footer-area-bottom .footer-brand-group .site-contact > * {margin:0;}
.demo1-footer .footer-area-bottom .footer-brand-group .site-social {margin-top:10px;}
.demo1-footer .footer-area-bottom a,.demo1-footer .footer-area-bottom .site-contact span {color:#fff!important;}
.demo1-footer .footer-area-bottom a:hover,.demo1-footer .footer-area-bottom a:focus-visible {color:var(--footer-accent, currentColor)!important;}
.demo1-footer .footer-bottom-inner .site-credit {box-sizing:border-box;grid-column:1 / -1;width:100%;margin:12px 0 0!important;padding-top:18px;border-top:1px solid #292929;color:#c4c4c4!important;font-size:12px;line-height:1.6;text-align:center;}
@media(max-width:600px) {
  .demo1-footer .footer-brand-group {gap:20px;}
  .demo1-footer .footer-brand-group .footer-logo {width:clamp(130px,28vw,180px);}
  .demo1-footer .footer-identity-info {padding-left:20px;}
  .demo1-footer .footer-identity-name {font-size:22px;}
  .demo1-footer .footer-area-bottom .footer-brand-group .site-contact {gap:8px 12px;}
}
@media(max-width:767px) {
  .demo1-footer .footer-area-bottom {padding-top:28px;padding-bottom:72px;}
  .demo1-footer .footer-area-bottom .footer-bottom-inner {gap:24px;}
  .demo1-footer .footer-brand-group {flex-direction:column;gap:22px;width:100%;}
  .demo1-footer .footer-brand-group .footer-logo {align-self:center;flex:none;width:min(280px,100%);height:90px;}
  .demo1-footer .footer-identity-info {border-left:0;padding-left:0;text-align:center;}
  .demo1-footer .footer-identity-name {font-size:24px;line-height:1.2;}
  .demo1-footer .footer-area-bottom .footer-brand-group .site-contact {display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;}
  .demo1-footer .footer-area-bottom .footer-brand-group .site-contact a {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:4px 6px;overflow-wrap:anywhere;}
  .demo1-footer .footer-area-bottom .footer-brand-group .site-contact > span {padding:6px 0;}
  .demo1-footer .footer-bottom-inner .site-credit {padding:18px 12px 0;line-height:1.9;text-wrap:balance;}
}
