:root {
  --content-width: 68ch;
  --title-width: 49ch;
  --content-wide: 1100px;
  --space-sm: 0.5rem;
  --space-md: 1.25rem;
  --space-lg: 3rem;
  --font-heading: Merriweather, serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: #1846ba;
  --bg-page: linear-gradient(45deg, hsla(218, 100%, 12%, 1) 0%, hsla(204, 100%, 68%, 1) 100%);
  --bg-section: #f5f6f8;
  --bg-muted: #e2e5ea;
}

.panel-muted {
  background-color: var(--bg-muted);
  padding: var(--space-md);
  border-radius: 6px;
}


.site-header {
  background-color: var(--bg-muted);
  display: flex;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-md);
}

.main-nav a.inactive {
  font-weight: 500;
  text-decoration: none;
  color: #444;
}

.main-nav a.active {
  color: #000;
  text-decoration: none;
  font-weight: 900;
}

.main-nav a::after {
  content: "";
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--bg-muted);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}



.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a:hover {
	color: #000
}



h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
}




h3 {
  font-size: 1.2rem;
}


.page-title {
  text-align: center;
  color: black; 
  background: rgba(255, 255, 255, 0.33);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  max-width: var(--title-width);
  margin: 0.5rem auto 0.5rem;
}


.page-title h1 {
  font-size: 2.5rem;
}





* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.2;
  margin: 0 auto;
  color: #222;
  background: var(--bg-page) ;
  min-height: 100%;  
}


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


a:hover {
  text-decoration: underline;
}










.series-title {
  margin: 0 0 0.5rem;	
}

.series-title h2 {
  margin: 0;	
}

.series-title a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.series-title a:hover {
  text-decoration: underline;
}


.book-series-eleusis {
  display: flex;
  margin-bottom: var(--space-sm);
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  background-image: linear-gradient(45deg, hsla(0, 0%, 0%, 1) 0%, hsla(42, 100%, 30%, 1) 25%, hsla(222, 100%, 69%, 1) 100%);  
}

.series-page-eleusis {
  display: flex;
  margin-bottom: var(--space-sm);
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  background-image: linear-gradient(135deg, hsla(0, 0%, 0%, 1) 0%, hsla(42, 100%, 30%, 1) 25%, hsla(222, 100%, 69%, 1) 100%);  
}

.book-series-ironborn {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(45deg, hsla(0, 0%, 27%, 1) 0%, hsla(22, 65%, 55%, 1) 50%, hsla(53, 100%, 58%, 1) 100%);
}

.series-page-ironborn {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(135deg, hsla(0, 0%, 27%, 1) 0%, hsla(22, 65%, 55%, 1) 50%, hsla(53, 100%, 58%, 1) 100%);
}

.book-series-pact {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(45deg, hsla(0, 0%, 0%, 1) 0%, hsla(53, 100%, 58%, 1) 100%);
}

.series-page-pact {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(135deg, hsla(0, 0%, 0%, 1) 0%, hsla(53, 100%, 58%, 1) 100%);
}

.book-series-brokenisles {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(45deg, hsla(218, 100%, 12%, 1) 0%, hsla(204, 100%, 68%, 1) 100%);
}

.series-page-brokenisles {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  background-image: linear-gradient(135deg, hsla(218, 100%, 12%, 1) 0%, hsla(204, 100%, 68%, 1) 100%);
}


.series-page {
  display: flex;
  max-width: var(--content-width);
  margin: 0 auto;
  margin-inline: auto;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}


.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-top: var(--space-md);
  gap: var(--space-md);
}

.book {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.book-cover {
  max-width: 200px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.33);
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
}


.series-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: var(--content-width);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.33);
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  margin: 0 auto;
  margin-inline: auto;
  margin-bottom: var(--space-sm);	
}





.book-card-series {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.33);
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  margin-bottom: var(--space-sm);
}

.book-card:hover {
  transform: translateY(-2px);
}

.book-card-main {
  display: flex;
  justify-content: space-between;
}

.book-card-column1 {
  flex: 1;
  padding: 5px;
  max-width: 20ch
}

.book-card-column2 {
  flex: 1;
  padding: 5px;
  max-width: 38ch
}

.book-card-blurb {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #222;
}

.book-card-blurb p {
  margin: 0;
}







.book-title {
  font-size: 1.2rem;
  gap: 0;
  margin: 0;
}

.book-meta {
  font-size: 0.9rem;
  font-style: italic;
  gap: 0;
  margin: 0;
}



.series-book {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
  align-items: flex-start;
}


.series-summary {
  display: flex;
  gap: var(--space-sm);
  font-size: 1rem;	
}


.layout-prose {
  max-width: var(--content-width);
  background-color: var(--bg-section);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  margin: 0 auto;
  margin-inline: auto;
  padding: 2rem 1.5rem;
}

.layout-wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
  background-color: transparent;
  border-radius: 8px;
}


.book-links {
  display: flex;
  gap: 0.5rem;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.35rem 0.6rem;
  border-radius: 6px;

  background-color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.buy-button img {
  height: 22px;
  width: auto;
  display: block;
}

.buy-button:hover {
  background-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}


.buy-button.amazon {
  background-color: rgba(255, 255, 255, 0.7);
}



.site-footer {
	margin-top: var(--space-lg);
	padding: var(--space-md);
	border-top: 1px solid #ccc;
	text-align: center;
	font-size: 0.9rem;
	color: #666;
    background-color: var(--bg-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.site-footer p {
  margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}


.pub-logo {
  height: 72px;
  width: auto;
  opacity: 0.9;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  transition: opacity 0.2s ease;
}

.pub-logo-lg {
  height: 82px;
  width: auto;
  display: block;
  margin: auto;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: opacity 0.2s ease;
}


.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.footer-socials-label {
  font-size: 0.8rem;
  color: #777;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  width: 24px;
  height: 24px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social-links img {
  max-width: 100%;
  max-height: 100%;
  fill: #777;
  transition: fill 0.15s ease, transform 0.15s ease;
  height: 18px;
  width: 18px;
  display: block;
}

.social-link:focus-visible svg {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form label {
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
}

.newsletter-form input {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
  background-color: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form button:hover {
  opacity: 0.9;
}
