/* maestro.se - rebuilt from the Squarespace site (2026). Plain CSS, no build step. */

:root {
  --bg: #f7f7f7;
  --card: #fff;
  --text: #777;
  --heading: #777;
  --strong: #777;
  --link: #0085bd;
  --muted: #999;
  --rule: #ddd;
  --gutter: 34px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 766px; margin: 0 auto; padding: 25px 0 40px; }

/* header */
.site-header .logo img { display: block; width: 115px; height: 115px; object-fit: contain; background: #fff; }
.site-header nav ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-header nav a { color: var(--muted); font-size: 12px; font-weight: 500; }
.site-header nav a[aria-current] { color: #222; }

/* content card */
.card { background: var(--card); box-shadow: 0 0 10px #bbb; padding: 23px; margin-top: 60px; }
.content { overflow-wrap: anywhere; }
.content::after { content: ""; display: block; clear: both; }

h1, h2, h3, h4 { color: var(--heading); font-weight: bold; line-height: 1.3; margin: 0.8em 0 0.5em; }
h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 15px; }
p, ul, ol { margin: 0 0 1em; }
strong, b { color: var(--strong); }
.large { font-size: 1.3em; }
.small { font-size: 0.85em; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; clear: both; }

/* layout grid (Squarespace 12-column rows) */
.row { display: flex; margin: 0 calc(var(--gutter) / -2); clear: both; }
.col { flex: 0 0 calc(var(--span) / 12 * 100%); padding: 0 calc(var(--gutter) / 2); min-width: 0; }
.spacer { height: 24px; }

/* images */
figure { margin: 17px 0 34px; }
.content a { text-decoration: underline; }
.img { margin-left: auto; margin-right: auto; }
.img img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.img .crop { overflow: hidden; }
.img .crop img { width: 100%; height: 100%; object-fit: cover; }
.img.float-right, .img.float-left { width: calc(var(--span, 6) / 12 * 100% - var(--gutter) / 2); }
.img.float-right { float: right; margin-left: var(--gutter); }
.img.float-left { float: left; margin-right: var(--gutter); }
figcaption { margin-top: 10px; }
figcaption p:last-child { margin-bottom: 0; }
.image-title { font-weight: bold; margin-top: 8px; }

/* video */
.video-frame { position: relative; height: 0; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 1.2em; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; }

/* summaries / blog lists */
.summary { list-style: none; padding: 0; margin: 0 0 1.2em; }
.summary-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eee; }
.summary-item img { width: 120px; height: auto; display: block; }
.summary-item time { display: block; font-size: 12px; color: var(--muted); }
.summary-title { font-weight: bold; font-size: 15px; }
.post-meta { color: var(--muted); font-size: 12px; }

.btn { display: inline-block; padding: 8px 18px; border: 1px solid var(--link); border-radius: 2px; }
.btn:hover { background: var(--link); color: #fff; text-decoration: none; }
.code-embed { margin-bottom: 1.2em; overflow-x: auto; }
.code-embed input { max-width: 100%; }

/* footer */
.site-footer { border-top: 2px solid var(--rule); margin-top: 60px; padding: 30px 0; font-size: 12px; color: var(--muted); }

/* phones */
@media (max-width: 800px) {
  .wrap { padding: 16px 16px 32px; }
  .card { margin-top: 32px; padding: 20px 16px; }
}
@media (max-width: 640px) {
  .row { display: block; margin: 0; }
  .col { padding: 0; }
  .col:has(> .spacer:only-child) { display: none; }
  .img.float-right, .img.float-left { float: none; width: auto; margin-left: auto; margin-right: auto; }
}
