/* K.A. Belstra: shared styles for every page.
   Each page also has a small <style> block in its <head> with its own animations. */

/* Keyboard users: "Skip to content" link appears when tabbing */
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 18px;background:#E4C77E;color:#0B1210;font-family:'EB Garamond',serif;font-weight:700;font-size:16px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;border-radius:2px;transition:top .2s;}
.skip-link:focus{top:12px;}

/* Free-chapters pop-up: hidden until a "Read 3 chapters free" button opens it */
.chapters[hidden]{display:none !important;}

/* Hover (and keyboard focus) effects from the design.
   These names are used as classes in the HTML, e.g. class="hover-gold-btn". */
.hover-link:hover,.hover-link:focus-visible{color:#E4C77E !important}
.hover-gold-btn:hover,.hover-gold-btn:focus-visible{box-shadow:0 0 10px rgba(228,199,126,.5), 0 0 46px rgba(228,199,126,.5), 0 10px 26px rgba(0,0,0,.45) !important;transform:translateY(-2px) scale(1.02) !important;filter:brightness(1.06) !important;animation:shimmer 2.2s linear infinite !important}
.hover-outline-btn:hover,.hover-outline-btn:focus-visible{border-color:#E4C77E !important;color:#F8D794 !important;background:linear-gradient(100deg,rgba(201,163,94,.12),rgba(201,163,94,.20) 35%,rgba(228,199,126,.42) 50%,rgba(201,163,94,.20) 65%,rgba(201,163,94,.12)) !important;background-size:220% auto !important;background-position:0% 50% !important;animation:shimmer 2.2s linear infinite !important;box-shadow:0 0 16px rgba(201,163,94,.20) !important;transform:translateY(-2px) !important}
.hover-underline:hover,.hover-underline:focus-visible{color:#F8D794 !important;border-color:#E4C77E !important;text-shadow:0 0 14px rgba(248,215,148,.4) !important;background-image:linear-gradient(100deg,rgba(201,163,94,.45),#FBE7B0 50%,rgba(201,163,94,.45)) !important;background-size:220% 2px !important;background-position:0% 100% !important;background-repeat:no-repeat !important;animation:shimmerUnderline 2.2s linear infinite !important}
.hover-gold-btn-small:hover,.hover-gold-btn-small:focus-visible{box-shadow:0 0 10px rgba(228,199,126,.5), 0 0 40px rgba(228,199,126,.45) !important;transform:translateY(-2px) !important;filter:brightness(1.06) !important;animation:shimmer 2.2s linear infinite !important}
.hover-gold-border:hover,.hover-gold-border:focus-visible{border-color:#E4C77E !important;color:#F8D794 !important}
.hover-lift:hover,.hover-lift:focus-visible{transform:translateY(-6px) !important}

/* Keep the sign-up form's hidden reCAPTCHA badge from adding a sideways scrollbar inside the pop-up */
[data-dialog]{overflow-x:hidden !important;}
