/*
Theme Name: Storag Bogota
Author: Fanatic Coders
Description: Custom Gutenberg-ready theme for Storag Bogota, following the Quicklid theme structure. Page sections are managed with blocks.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: storagbogota
*/

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #f5f6f8;
  color: #14161b;
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
:where(a, button, input, textarea, select):focus-visible { outline: 2px solid #262324; outline-offset: 3px; }
/* No block padding: every template's first child is the breadcrumb and its last is a section that
   carries its own `.sb-pad`, exactly as in the reference, where <main> is unpadded and the footer's
   `border-t` sits flush under the last band. The 2rem that used to be here showed as a strip of
   page background between the dark closing band and the footer, and the breadcrumb had to cancel
   the matching top half with a -32px margin. */
.sb-main { min-height: 50vh; }
.sb-container { width: min(100% - 2rem, 760px); margin-inline: auto; }
/* Core's own blocks carry a trailing `margin-block-end` (28px on wp-block-columns, which is the
   last block on /cotizar/). With <main> unpadded that margin is the only thing left between the
   last band and the footer's border, so it reads as a stray strip of page background. */
.sb-main > .sb-content > :last-child, .sb-home > :last-child { margin-bottom: 0; }
.sb-content > :where(:not(.alignfull)) { max-width: 760px; margin-inline: auto; width: calc(100% - 2rem); }
.sb-content > .alignwide { max-width: 1200px; }
.sb-content > .alignfull { width: 100%; max-width: none; }
.sb-post { margin-block-end: 3rem; }
.sb-skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100000; padding: 1rem; background: #fff; color: #14161b; }
.sb-skip-link:focus { top: 1rem; }
