/* mmmnetwork blog theme */
:root {
  --accent: #4338ca;
  --accent-soft: #e0e7ff;
  --ink: #1f2937;
  --paper: #fcfcfd;
  --muted: #57534e;
  --line: #e7e5e4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "PT Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PT Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.column { width: 100%; max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

.skip-link { position: absolute; top: -4rem; left: 1rem; padding: .5rem .9rem; background: var(--ink); color: #ffffff; z-index: 10; }
.skip-link:focus { top: 1rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* masthead */
.masthead { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.masthead__title { color: var(--ink); font-family: var(--serif); font-size: 2.1rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.masthead__title:hover { color: var(--accent); }
.masthead__tagline { margin: .35rem 0 1.25rem; color: var(--muted); }
.masthead__nav ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.masthead__nav a { display: inline-block; padding: .3rem 0; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.masthead__nav a:hover, .masthead__nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* feed */
.feed { margin: 0; padding: 0; list-style: none; }
.entry { padding: 0 0 2.25rem; margin: 0 0 2.25rem; border-bottom: 1px solid var(--line); }
.entry:last-child { border-bottom: 0; }
.meta { margin: 0 0 .4rem; color: var(--muted); font-size: .9rem; }
.entry__title { margin: 0 0 .6rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }
.entry__title a { color: var(--ink); text-decoration: none; }
.entry__title a:hover { color: var(--accent); text-decoration: underline; }
.entry__excerpt { margin: 0 0 .6rem; }
.entry__more { font-weight: 600; }

/* post */
.post__header { margin-bottom: 2rem; }
.post__header h1 { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; }
.post__body h2 { margin: 2.25rem 0 .75rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.post__body p, .post__body ul, .post__body ol { margin: 0 0 1.1rem; }
.post__body li { margin-bottom: .4rem; }
.post__body code { font-family: var(--mono); font-size: .9em; padding: .1em .3em; border-radius: 4px; background: var(--accent-soft); color: var(--ink); }
.post__body pre { margin: 0 0 1.4rem; padding: 1rem 1.15rem; overflow-x: auto; border-radius: 8px; background: #1c1917; color: #f5f5f4; font-size: .875rem; line-height: 1.6; }
.post__body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

.more-posts { margin: 3rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line); }
.more-posts h2 { margin: 0 0 .75rem; font-family: var(--serif); font-size: 1.25rem; }
.more-posts ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.more-posts li { margin-bottom: .4rem; }

.not-found { min-height: 40vh; }

/* footer */
.footer { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer p { margin: 0 0 .3rem; }
