* {
  margin: 0;
  padding: 0;
}

figure {
  float: right;
  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  padding: 0.5em;
}
img.scaled {
  width: 100%;
}

hr{
	border-top: 0.2rem solid #999 !important;
	margin: 2.5rem 0 !important;
	position: relative;
}
hr::after {
	content: "✦";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	padding: 0 12px;
	color: #999;
	font-size: 0.8rem;
}

.navbar {
	border-color: darkred;
    border-width: 3px;
    border-style: solid;
    border-right-width: 0px;
    border-left-width: 0px;
    border-top-width: 0px;
    margin-right: 0px;
    padding-top: 16px;
    padding-bottom: 0px;
    margin-bottom: 25px;
    background: linear-gradient(to right, rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.02));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.navbar li {
    float: left;
    margin-bottom: 0;
    font-size: 17px;
}

.navbar li a {
    display: block;
    color: darkred;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin: 0 4px;
}
.navbar li a:hover {
    background-color: rgba(139, 0, 0, 0.1);
    transform: translateY(-1px);
}
@media screen and (orientation:portrait) {
	.navbar li {
	    float: none;
	}
}

body{
	font-family: 'Inter', Helvetica, sans-serif !important;
	color: #000 !important;
	background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
	background-attachment: fixed;
}
/* Standardize text sizes - paragraphs and lists should match */
p {
	font-size: 13px;
	line-height: 1.6;
	margin-bottom: 1rem;
}

/* Ensure all list items have consistent styling */
li{
    font-size: 13px;
    line-height: 1.6;
}

ul li, ol li {
	font-size: 13px;
	line-height: 1.6;
}

/* Nested lists should maintain same size */
ul ul li, ol ol li, ul ol li, ol ul li {
	font-size: 13px;
	line-height: 1.6;
}

.book-chap{
    font-size: 13px;
    line-height: 1.6;
    padding: 3px 0;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
    padding-left: 8px;
    margin-left: -8px;
}
.book-chap:hover {
    border-left-color: rgba(139, 0, 0, 0.3);
    background-color: rgba(139, 0, 0, 0.03);
    padding-left: 12px;
    margin-left: -12px;
}
.book-name{
    font-weight: 500;
}
.book-price{
    font-weight: 500;
	color: #060d86;
	background: linear-gradient(135deg, rgba(6, 13, 134, 0.1), rgba(6, 13, 134, 0.05));
	padding: 2px 6px;
	border-radius: 3px;
	display: inline-block;
}
h3{
    font-size: 15px;
}
h4{
    font-size: 14px;
}
/* H5 level - Main section titles (About, Changelog, 2025 Releases, etc.) */
h5.book-title, .book-title {
	color: darkred;
	position: relative;
	padding-left: 32px;
	font-size: 1.8rem;
	font-weight: 500;
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
	letter-spacing: -0.05rem;
	line-height: 1.5;
}

h5.book-title:first-child, .book-title:first-child {
	margin-top: 0;
}

.book-title::before {
	content: "📚";
	position: absolute;
	left: 0;
	opacity: 0.6;
	width: 24px;
	text-align: center;
}
/* H6 level - Subsections (Months, Genres, etc.) */
h6.book-title-bold, .book-title-bold {
	color: darkred;
	font-weight: 500;
	position: relative;
	margin-top: 1.2rem;
	margin-bottom: 0.5rem;
	border-left: 3px solid darkred;
	padding-left: 12px;
	font-size: 1.1em;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

h6.book-title-bold:first-child, .book-title-bold:first-child {
	margin-top: 0;
}

/* Subsection styling for nested titles */
.book-subsection {
	display: block;
	font-size: 0.95em;
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
}

/* Statistics box - cleaner presentation */
.statistics-box {
	background: linear-gradient(to right, rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.02));
	border-left: 3px solid darkred;
	padding: 15px 20px;
	margin: 1.5rem 0;
	border-radius: 4px;
}

.statistics-box .book-subsection {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1em;
}

.statistics-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.statistics-list li {
	font-size: 13px;
	line-height: 1.8;
	padding: 6px 0;
	border-left: 2px solid transparent;
	padding-left: 12px;
	margin-left: 0;
	transition: all 0.2s ease;
}

.statistics-list li:hover {
	border-left-color: rgba(139, 0, 0, 0.3);
	background-color: rgba(139, 0, 0, 0.02);
}

.statistics-list li strong {
	color: darkred;
	font-weight: 600;
}

.statistics-note {
	font-size: 12px;
	color: #666;
	font-style: italic;
	margin-top: 0.5rem;
	padding-left: 12px;
	line-height: 1.5;
}

.statistics-box .statistics-note {
	margin-top: 0.25rem;
	margin-bottom: 0;
	padding-left: 24px;
}
.year{
	font-weight: bold;
    font-size: 11px;
}
.series{
	font-style:italic;
    font-size: 11px;
	color: red;
}
.mag_wt, .mag_stmt, .mag_mcos{
	color: darkred;
}
.story_writer{
    text-decoration: underline;
}
a {
    text-decoration: underline;
}
a:link, a:visited {
    color: blue;
}
a:hover {
    color: red;
	font-weight: bold;
    text-decoration: underline;
}
.story_writer a {
    text-decoration: underline;
}
.story_writer a:link, .story_writer a:visited {
    color: black;
}
.story_writer a:hover {
    color: red;
	font-weight: bold;
}
#content {
  list-style-type: none;
}
body {
 counter-reset: css-counter;
}
.story_writer::before {
  counter-increment: css-counter 1;
  content: counter(css-counter) ". ";
}
.button-kindle {
  background-color: #e81111 !important;
  border-color: #e81111 !important;
}
.button-kindle.button-clear,
.button-kindle.button-outline {
  background-color: transparent !important;
  color: #e81111 !important;
}
.button-kindle.button-clear {
  border-color: transparent !important;
}
.button-green {
  background-color: darkred !important;
  border-color: darkgreen !important;
}
.button-green.button-clear,
.button-green.button-outline {
  background-color: transparent !important;
  color: darkgreen !important;
}
.button-green.button-clear {
  border-color: transparent !important;
}
.button-red {
  background-color: darkred !important;
  border-color: darkred !important;
}
.button-red.button-clear,
.button-red.button-outline {
  background-color: transparent !important;
  color: darkred !important;
}
.button-red.button-clear {
  border-color: transparent !important;
}
.button-black {
  background-color: black !important;
  border-color: black !important;
}
.button-black.button-clear,
.button-black.button-outline {
  background-color: transparent !important;
  color: black !important;
}
.button-black.button-clear {
  border-color: transparent !important;
}
.button-small {
  height: 3rem !important;
  line-height: 2.8rem !important;
  padding: 0 1.5rem !important;
}
.img-details{
	border-color: darkred;
	border-width: 1px;
	border-style: solid;
}
ul.breadcrumb {
  padding: 10px 16px;
  list-style: none;
  background-color: #eee;
}
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}
ul.breadcrumb li a:hover {
  color: #01447e;
}
.book-list{
	border-color: darkred;
	border-width: 1px;
	border-style: solid;
	width: auto;
}
@media screen and (orientation:portrait) {
	.book-list{
		width: 50%;
    }
}
@media screen and (orientation:portrait) {
	.mobile-view{
		max-width: 100% !important;
    }
}
.book-preview{
	border-color: darkred;
	border-width: 1px;
	border-style: solid;
	width: auto;
}
@media screen and (orientation:portrait) {
	.book-preview{
		max-width: 50%;
    }
}
.press-description{
text-align: justify;
background: linear-gradient(to right, rgba(139, 0, 0, 0.03), transparent);
	padding: 20px;
	border-radius: 8px;
	border-left: 4px solid darkred;
	margin-bottom: 20px;
}
.footer{
text-align:center;
font-size: smaller;
	padding-top: 30px;
	margin-top: 40px;
	border-top: 1px solid rgba(139, 0, 0, 0.2);
	color: #666;
}
.toc{
  list-style-type: square;
}
.logo-style{
width: 100px;
}
.logo-item{
    padding-left: 0px !important;
}
.question{
color: darkred;
font-weight: 500;
}
.row .column.column-14 {
  flex: 0 0 14.2857%;
  max-width: 14.2857%;
}
.row .column.column-16 {
  flex: 0 0 16.6666%;
  max-width: 16.6666%;
}

/* Only genre headers get icon padding */
h6.book-title-bold[data-genre] {
	padding-left: 26px;
}

/* Genre-specific icons */
h6.book-title-bold[data-genre="anthologies"]::before {
	content: "📚";
}

h6.book-title-bold[data-genre="art"]::before {
	content: "🎨";
}

h6.book-title-bold[data-genre="crime"]::before {
	content: "🕵️";
}

h6.book-title-bold[data-genre="fantasy"]::before {
	content: "⚔️";
}

h6.book-title-bold[data-genre="gothics"]::before {
	content: "🧛";
}

h6.book-title-bold[data-genre="horror"]::before {
	content: "💀";
}

h6.book-title-bold[data-genre="library"]::before {
	content: "👁️";
}

h6.book-title-bold[data-genre="masters-sf"]::before {
	content: "🚀";
}

h6.book-title-bold[data-genre="masters-weird"]::before {
	content: "🐙";
}

h6.book-title-bold[data-genre="sf"]::before {
	content: "🛸";
}

h6.book-title-bold[data-genre="studies-horror"]::before {
	content: "🎬";
}

h6.book-title-bold[data-genre="vintage-horror"]::before {
	content: "🕰️";
}

h6.book-title-bold[data-genre="slipcase"]::before {
	content: "📦";
}

h6.book-title-bold[data-genre="maybe"]::before {
	content: "❓";
}

/* Common styling for all genre icons */
h6.book-title-bold[data-genre]::before {
	position: absolute;
	left: 0;
	opacity: 0.7;
	font-size: 1.2em;
	line-height: 1;
}

.book-name a {
	transition: all 0.2s ease;
}

.book-name a:hover {
	color: darkred !important;
	text-shadow: 0 0 1px rgba(139, 0, 0, 0.3);
}

/* Container enhancement - narrower for better readability */
.container {
	background-color: #ffffff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
	max-width: 80rem !important; /* ~800px - optimal reading width */
}

/* Month section styling */
h6.book-title-bold + ul.toc {
	margin-top: 0.3rem;
	margin-bottom: 1rem;
}

/* Changelog styling */
#description + hr + h5.book-title + .row .column ul li {
	border-left: 2px solid transparent;
	padding-left: 8px;
	transition: all 0.2s ease;
}

#description + hr + h5.book-title + .row .column ul li:hover {
	border-left-color: rgba(139, 0, 0, 0.3);
	padding-left: 12px;
}