/* Shared look for every page. Change it here and every page changes. */

:root {
  --text: #1f2328;
  --muted: #59636e;
  --bg: #ffffff;
  --line: #e3e6e9;
  --accent: #1d5fa8;
  --accent-dark: #164a83;
  --placeholder-bg: #fff6d6;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top bar with the site name */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

main { padding: 28px 0 40px; }

h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 8px;
}
h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 36px 0 8px;
}
p { margin: 0 0 16px; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* Affiliate disclosure under the page title */
.disclosure {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 24px;
}

/* Photos */
figure { margin: 24px 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Amazon buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  margin: 4px 0 16px;
}
.btn:hover { background: var(--accent-dark); color: #ffffff; }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 10px 18px;
}
.btn-secondary:hover { background: var(--accent); color: #ffffff; }

/* Yellow boxes mark text Jason still needs to write. Remove before publishing. */
.placeholder {
  background: var(--placeholder-bg);
  padding: 2px 6px;
  border-radius: 4px;
}
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--placeholder-bg);
  border: 2px dashed #d9c27a;
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .wrap {
  padding-top: 20px;
  padding-bottom: 28px;
}
