body>header{position:sticky;top:0;z-index:100;background-color:#f8ecd8;background-image:linear-gradient(90deg,#f8ecd8cc 0%,#f8ecd877 35%,#f8ecd822 100%),url('assets/header-books.svg?v=3a93c712b4');background-position:center,right center;background-repeat:no-repeat,repeat-x;isolation:isolate;box-shadow:0 2px 10px #073b3f12}
.header-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-basis:100%;width:100%;font-size:14px;line-height:1.4;color:#073b3f;padding-top:8px;border-top:1px solid #007d8020}
.header-signature{font-size:16px;font-weight:700;white-space:nowrap;color:#8b2020}
.header-clock{text-align:right;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#073b3f}
.header-clock time{font-weight:700}.header-clock small{display:block;font-size:12px;color:#536b66}
body>header .brand .logo{letter-spacing:-1px;gap:0}
html{scroll-padding-top:calc(var(--site-header-height,155px) + 18px)}
@media(min-width:701px){.layout>aside{top:var(--site-header-height,155px);height:calc(100vh - var(--site-header-height,155px))}}
@media(max-width:700px){.header-meta{gap:8px;align-items:flex-start;padding-top:10px}.header-signature{font-size:14px}.header-clock{font-size:13px}.header-clock small{font-size:11px}body>header .brand{max-width:100%;min-width:0}body>header .brand>span:last-child{min-width:0}body>header .brand small{white-space:normal}}
@media print{body>header{display:none}}

body>header{flex-wrap:wrap}


@media(max-width:700px){body>header nav{flex-wrap:wrap;justify-content:flex-start;gap:4px 16px;width:100%;min-width:0}body>header nav a{padding:7px 0}}


/* Compact shared header. */
body>header{min-height:0;padding-top:10px;padding-bottom:10px;column-gap:22px;row-gap:6px;background-size:auto,580px 158px}
body>header .brand{font-size:24px;gap:11px;line-height:1.15}
body>header .brand small{margin-top:4px;font-size:13px;line-height:1.2}
body>header .brand .logo{width:58px;height:50px;border-radius:12px;font-size:21px}
.header-meta{padding-top:5px;line-height:1.2;align-items:center}
.header-clock small{display:inline;margin-left:9px;font-size:11px}
.header-signature{font-size:15px}
body>header nav{gap:18px}body>header nav a{padding:6px 0}
@media(max-width:700px){body>header{padding-top:8px;padding-bottom:8px;row-gap:6px;column-gap:12px}body>header .brand{font-size:20px;gap:9px}body>header .brand .logo{width:52px;height:45px;font-size:19px}body>header .brand small{font-size:11px;margin-top:3px}body>header .font-tools button{padding:7px;font-size:12pt}body>header nav{gap:2px 14px}body>header nav a{padding:4px 0}.header-signature{font-size:13px}.header-clock{font-size:12px}.header-clock small{display:none}.header-meta{padding-top:5px}body>header>a:not(.brand){display:none}}

/* Match the cream background of the content block below. */
body>header{background-color:#f8ecd8;background-image:none}


/* Orange accent in the upper-right header corner. */
body>header{background-image:radial-gradient(circle at 100% 0%,#ed8b27 0,#ed8b27 76px,transparent 77px);background-repeat:no-repeat;background-size:100% 100%;background-position:top right}


.header-tagline{font-size:16px;font-weight:700;color:var(--teal,#007d80)}body>header .brand>span:last-child{white-space:normal}.header-divider{padding:0 4px}@media(max-width:700px){.header-tagline{display:block;font-size:12px;margin-top:4px;line-height:1.3}.header-divider{display:none}}

.header-tagline{color:#df651c;font-weight:400}


.header-tagline{color:#ff982e}


body>header>.header-tagline{display:block;order:3;margin:0 0 0 auto;text-align:right;font-size:16px;font-weight:400;color:#ff982e;line-height:1.3}body>header .brand{order:0}body>header nav{order:1}body>header .font-tools{order:2}.header-meta{order:4}@media(max-width:700px){body>header>.header-tagline{flex-basis:100%;font-size:13px;margin:0;text-align:right}}
body>header nav a[href="../../index.html"]{font-weight:700}

/* Faint library illustration, shared by all book headers. */
body>header{background-color:#f8ecd8;background-image:linear-gradient(rgba(248,236,216,.90),rgba(248,236,216,.90)),url('assets/header-library.png');background-repeat:no-repeat;background-size:cover;background-position:center,center 55%}

/* Keep page content close to the shared header. */
body>main{padding-top:12px}
body>main>.catalog-header:first-child{margin-top:0}
body>.layout>main{padding-top:12px}
body>.layout>aside{padding-top:12px}
body>main>.hero:first-child,body>main>.home:first-child,body>main>.intro:first-child,body>main>.container:first-child>.hero:first-child{padding-top:12px}
body>main{padding-top:0}
body>main:has(>.catalog-header:first-child){padding-top:12px}


/* Subtle depth for the library name. */
body>header .brand>span:last-child{text-shadow:1px 2px 3px rgba(7,59,63,.25)}
body>header .brand small{text-shadow:none}

/* Book identity between the library signature and the Bulgarian clock. */
.header-meta.has-book-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px 24px}
.header-book-title{text-align:center;font-size:24pt;font-weight:700;line-height:1.15;color:#df651c;overflow-wrap:break-word}
@media(max-width:900px){.header-meta.has-book-title{grid-template-columns:minmax(0,1fr) auto}.header-book-title{grid-column:1/-1;grid-row:2}.header-meta.has-book-title .header-clock{grid-column:2;grid-row:1}}
