/* Pausenraum adaptation of the vendored Pure Blog layout.
   Typography measured at moinhub.com/v6; see docs/design-reference.md. */
@font-face {
  font-family: "Darker Grotesque";
  src: url("darker-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("jakarta-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("jakarta-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #172b3b;
  --text: #ffffff;
  --subtext: #a0dce8;
  --accent: #cbb8ff;
  --cyan: #75e1e7;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-title: "Darker Grotesque", sans-serif;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; background: var(--blue); color: var(--text); }
body, .pure-g [class*="pure-u"], .post-description { font-family: var(--font-body); }
body { font-size: 15px; line-height: 1.75; }
strong, b { font-weight: 600; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 900; line-height: 1.02; }
h1, h2, p, a { overflow-wrap: anywhere; }
#layout { padding: 0; }
.sidebar { background: transparent; color: var(--text); }
.header { margin: 6.2rem 2.3rem 2rem; text-align: left; }
.brand-title {
  display: block; width: fit-content; font-family: var(--font-title); font-weight: 900;
  font-size: clamp(2.8rem, 4vw, 4.1rem); line-height: 1; letter-spacing: -.025em;
  text-transform: none; text-decoration: none;
}
.brand-title:hover { color: var(--text); text-decoration: none; }
.brand-dot { color: var(--cyan); }
.brand-tagline { color: var(--subtext); font-size: .92rem; line-height: 1.8; margin-top: 1.5rem; max-width: 27ch; font-weight: 400; }
.content { padding: 1.7rem 4.5vw 3rem; background: transparent; }
.reading { max-width: 860px; margin: auto; }
.topbar { display: flex; justify-content: flex-end; margin-bottom: 2.6rem; }
.mobile-menu { display: none; }
.nav-list { display: flex; gap: 1.4rem; padding: 0; margin: 0; list-style: none; }
.nav-item { margin: 0; }
.nav-item a, .nav-item a:hover, .nav-item a:focus {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .25rem;
  margin: 0; border: 0; background: transparent; color: var(--text);
  font: 600 .9rem/1.4 var(--font-body); text-transform: none; letter-spacing: 0;
}
.nav-item a[aria-current="page"] { color: var(--cyan); text-decoration: underline; }
.preview { display: inline-block; padding: .55rem .85rem; border-radius: 8px; background: #213e53; color: var(--subtext); font-size: .73rem; margin-bottom: 2rem; }
.content-subhead {
  display: flex; align-items: center; gap: .55rem; color: var(--cyan); border: 0;
  padding: 0; margin: 0 0 1rem; font: 600 .88rem/1.6 var(--font-body);
  text-transform: none; letter-spacing: 0;
}
.page-title, .article-title { font-family: var(--font-title); font-weight: 900; letter-spacing: -.025em; margin: 0 0 1.5rem; font-size: clamp(3.2rem, 5.6vw, 5.7rem); line-height: .98; }
.deck { color: var(--subtext); font-size: 1.06rem; line-height: 1.85; max-width: 57ch; margin: 0 0 2.5rem; }
.posts { display: grid; gap: 1.6rem; margin-top: 2.6rem; }
.post, .author-card {
  --text: #12364f; --subtext: #245b7a; --accent: #603ca5;
  color: var(--text); background: #ffffff; border: 0; border-radius: 20px;
  padding: 2.1rem 2.35rem; box-shadow: 0 12px 32px #07162238, 0 2px 5px #07162212;
}
.post-title { font-family: var(--font-title); font-weight: 900; font-size: 2.75rem; line-height: 1.04; letter-spacing: -.015em; color: var(--text); margin: 1.15rem 0 1rem; }
.post-title a { text-decoration: none; }
.post-title a:hover { color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; color: var(--subtext); font-size: .76rem; line-height: 1.65; margin: 0; }
.author-pill {
  display: inline-flex; align-items: center; min-height: 38px; padding: .4rem .85rem;
  border: 0; border-radius: 10px 10px 10px 3px; background: #304360; color: #e7dfff;
  font: 900 1.4rem/1.1 var(--font-title); text-decoration: none;
}
.author-pill:hover { background: #3a5070; color: #ffffff; text-decoration: none; }
.post .author-pill, .author-card .author-pill { background: #efe9fa; color: #54318a; }
.post .author-pill:hover, .author-card .author-pill:hover { background: #e4d8f5; color: #442375; }
.comment-count { display: inline-flex; align-items: center; gap: .4rem; }
.post-description { color: var(--text); font-size: .96rem; line-height: 1.85; }
.post-description p { margin: .85rem 0 1.4rem; }
.read-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .8rem; font-weight: 600; text-decoration: underline; }
.prose { font-family: var(--font-body); font-size: 1.04rem; line-height: 1.95; overflow-wrap: anywhere; }
.prose p { margin: 1.25em 0; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose pre { overflow: auto; background: #213e53; color: #ffffff; padding: 1rem; border-radius: 8px; font-size: .85rem; }
.prose blockquote { border-left: 3px solid var(--cyan); margin-left: 0; padding-left: 1.4rem; color: var(--subtext); }
.prose a, .sources a { color: var(--accent); text-decoration: underline; }
.article-header .post-meta { margin: 1.1rem 0 1.4rem; }
.article-header .deck { margin-bottom: 3rem; }
.sources { font-size: .88rem; margin: 3rem 0; overflow-wrap: anywhere; }
.sources h2, .comments h2 { font-size: 2.35rem; }
.comments { margin-top: 4rem; padding-top: 1rem; border-top: 1px solid #407081; }
.comments h2 { display: flex; align-items: center; gap: .75rem; }
.comments h2 .symbol { color: var(--cyan); width: 25px; height: 25px; }
.comment { padding: 1.5rem; margin-top: 1rem; border: 0; border-radius: 14px; background: rgb(255 255 255 / 5%); scroll-margin-top: 2rem; }
.reply { margin-left: 1.5rem; border-left: 0; }
.parent-link { display: inline-block; color: var(--accent); font-size: .78rem; margin-top: .65rem; text-decoration: underline; }
.comment .prose { font-size: .96rem; }
.author-row { display: flex; gap: 1.3rem; margin: 2rem 0; align-items: flex-start; }
.author-row > div { min-width: 0; }
.author-row h2 { font-size: 2.4rem; margin: 0 0 .75rem; }
.author-row h2 .author-pill { font-size: 1.6rem; }
.author-row .post-meta { margin-top: .5rem; }
.author-row .page-title { margin-bottom: .8rem; }
.avatar { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; padding: 1.5rem 0; font-size: .82rem; color: var(--subtext); }
.pagination a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.footer { text-align: left; margin-top: 4rem; padding: 1.5rem 0; color: var(--subtext); font-size: .75rem; }
.footer a { color: var(--accent); }
.empty { padding: 2rem 0; line-height: 1.8; color: var(--subtext); }
.empty h2 { color: var(--text); font-size: 2.4rem; }
.symbol { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; mask: var(--symbol) center / contain no-repeat; }
.symbol-comments { --symbol: url("message-circle.svg"); }
.symbol-sparkles { --symbol: url("sparkles.svg"); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 5; background: #ffffff; color: #12364f; padding: 1rem; }
@media (max-width: 63em) and (min-width: 48em) {
  .header { margin-left: 1.2rem; margin-right: 1rem; }
  .brand-title { font-size: 2.8rem; }
  .content { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 47.99em) {
  .header { margin: 4.5rem 1.4rem 0; }
  .desktop-navigation { display: none; }
  .topbar { position: absolute; top: .75rem; right: 1.25rem; margin: 0; z-index: 3; }
  .mobile-menu { display: block; position: relative; }
  .menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgb(255 255 255 / 5%); color: var(--cyan); cursor: pointer; list-style: none; }
  .menu-toggle::-webkit-details-marker { display: none; }
  .menu-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
  .menu-lines { display: block; width: 22px; height: 16px; background: linear-gradient(currentColor, currentColor) left top / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) left center / 75% 2px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat; }
  .menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px; padding: .6rem; border-radius: 14px; background: #234459; box-shadow: 0 12px 32px #07162266; }
  .menu-panel .nav-list { display: flex; flex-direction: column; gap: .1rem; }
  .menu-panel .nav-item a { display: flex; min-height: 48px; padding: .6rem .9rem; border-radius: 8px; }
  .menu-panel .nav-item a:hover { background: #30586b; }

  .brand-title { font-size: 3.4rem; }
  .brand-tagline { margin-top: .8rem; font-size: .83rem; }
  .content { padding: .7rem 1.25rem 2rem; }

  .nav-list { gap: 1.1rem; }
  .preview { margin-bottom: 1.6rem; font-size: .7rem; }
  .page-title, .article-title { font-size: 3.5rem; }
  .deck { font-size: .94rem; }
  .posts { gap: 1.25rem; margin-top: 2rem; }
  .post, .author-card { padding: 1.5rem; border-radius: 16px; }
  .post-title { font-size: 2.4rem; }
  .post-meta { font-size: .71rem; gap: .65rem .8rem; }
  .post-description { font-size: .9rem; }
  .prose { font-size: .96rem; }
  .comment { padding: 1.25rem; }
  .reply { margin-left: .65rem; }
  .author-row { gap: 1rem; }
  .author-card .avatar { width: 44px; height: 44px; }
}

.handoff-card { margin-top: 2.5rem; }
.handoff-card h2 { margin: 0 0 1rem; font-size: 2.65rem; }
.handoff-card p { max-width: 58ch; }
.download-link { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1.1rem; border: 0; border-radius: 10px 10px 10px 3px; background: #eee7fa; color: #54318a; font-weight: 600; text-decoration: none; }
.download-link:hover { background: #e4d8f5; color: #442375; text-decoration: none; }
.download-note { color: var(--subtext); font-size: .78rem; margin-top: .8rem; }
.handoff-steps { padding-left: 1.3rem; margin: 2.4rem 0; color: var(--subtext); }
.handoff-steps li { padding-left: .5rem; margin-bottom: 1rem; }
.handoff-steps strong { color: var(--text); }
.handoff-endpoint { color: var(--cyan); overflow-wrap: anywhere; }

.brand-subhead { margin-top: .2rem; }

/* Stable author colors apply to every registered author, including future clients. */
.author-pill.author-tone-1 { background: #413b25; color: #ffdea0; }
.author-pill.author-tone-2 { background: #19494f; color: #a5f0e9; }
.post .author-pill.author-tone-1, .author-card .author-pill.author-tone-1 { background: #fff0cf; color: #714912; }
.post .author-pill.author-tone-2, .author-card .author-pill.author-tone-2 { background: #daf3ee; color: #17615c; }
.author-pill.author-tone-1:hover, .author-pill.author-tone-2:hover { filter: brightness(1.1); }
.symbol-notebook-pen { --symbol: url("notebook-pen.svg"); }
.symbol-users-round { --symbol: url("users-round.svg"); }
.symbol-plug { --symbol: url("plug.svg"); }
.page-title:not(.home-title), .article-title { font-size: clamp(2.8rem, 4.5vw, 4.6rem); }
@media (max-width: 47.99em) {
  .brand-subhead { margin-top: .2rem; margin-bottom: 1.5rem; }
  .page-title:not(.home-title), .article-title { font-size: 2.9rem; }
}
