body.asap-studio .entry-content { margin: 0; padding: 0; }
body.asap-studio .wp-block-group { box-sizing: border-box; }
.admin-bar .site-header { scroll-margin-top: 32px; }
.footer-brand .custom-logo-link { width: 215px; }
.blog-image-link > img, .article-cover-image > img { display: block; width: 100%; height: auto; object-fit: cover; }
.blog-image-link > img { aspect-ratio: 3 / 2; }
.article-cover-image { margin: 0; overflow: hidden; }
.asap-blog-pagination { margin-top: 36px; font-size: 1rem; }
.asap-blog-pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 8px 13px; margin: 4px; border: 1px solid #393228; border-radius: 4px; }
.asap-blog-pagination .current { background: #f2aa16; color: #111; }
.article-prose .wp-block-table { overflow-x: auto; }

/* Footer: one contact block, a compact link grid and a clear legal row. */
body.asap-studio .site-footer { padding-top: 40px; padding-bottom: 0; }
body.asap-studio .site-footer .footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start; gap: 48px; padding-bottom: 32px;
}
body.asap-studio .site-footer .footer-identity {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0;
}
body.asap-studio .site-footer .footer-brand { width: min(230px, 100%); margin: 0 0 4px; }
body.asap-studio .site-footer .footer-brand :is(.brand, .custom-logo-link) { display: block; width: 100%; max-width: 100%; }
body.asap-studio .site-footer .footer-brand img { display: block; width: 100%; height: auto; }
body.asap-studio .site-footer .footer-address {
  margin: 0; max-width: 100%; color: #b0b0b0; font: normal 400 1rem/1.8 var(--font);
}
body.asap-studio .site-footer .footer-phone {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%;
  color: #ededed; font-size: 18px; line-height: 1.5; text-decoration: none;
}
body.asap-studio .site-footer .footer-nav {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px; justify-self: end; width: 100%; max-width: 400px; min-width: 0;
}
body.asap-studio .site-footer .footer-nav > a {
  display: flex; align-items: center; min-height: 44px; min-width: 0;
  padding: 8px 0; color: #b0b0b0; font-size: 1rem; line-height: 1.5;
  text-decoration: none; overflow-wrap: anywhere;
}
body.asap-studio .site-footer .footer-bottom {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px; margin: 0;
  padding: 22px 0 calc(76px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); color: #aaa; font-size: 1rem; line-height: 1.6;
}
body.asap-studio .site-footer .footer-bottom > * { margin: 0; min-width: 0; max-width: 100%; }
body.asap-studio .site-footer .footer-bottom > a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 0; color: #b0b0b0; }
body.asap-studio .site-footer :is(.footer-nav > a, .footer-phone, .footer-bottom > a):hover { color: var(--gold); }
body.asap-studio .site-footer a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 760px) {
  body.asap-studio .site-footer { padding-top: 32px; }
  body.asap-studio .site-footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
  body.asap-studio .site-footer .footer-brand { width: min(230px, 100%); }
  body.asap-studio .site-footer .footer-nav {
    justify-self: stretch; max-width: none; gap: 4px 20px; padding-top: 20px; border-top: 1px solid var(--line);
  }
  body.asap-studio .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 20px; }
}
