
body.main {	background: #000000; color: #ffffff;  margin-top: 20px; font: normal 12px Verdana, Tahoma; }

a:link { font-weight: bold; text-decoration: none; color: #c73333;}
a:visited { font-weight: bold; text-decoration: none; color: #c73333;}
a:active { font-weight: bold; text-decoration: none; color: #c73333;}
a:hover { font-weight: bold; text-decoration: underline; color: #000000;}

a.purp:link { color: #a573ba; }
a.purp:active { text-decoration: none; color: #4e2464;}
a.purp:hover { text-decoration: underline; color: #4e2464;}
a.purp:visited { text-decoration: none; color: #4e2464;}


a h2:active { text-decoration: none; color: #fff;}
a h2:link { text-decoration: none; color: #fff;}
a h2:visited { text-decoration: none; color: #fff;}
a h2:link { text-decoration: none; color: #fff;}

table { border: 0px; }
table.thumbs { margin-bottom: 30px; }

p. { font: normal 11px Verdana; color: #ffffff; text-align: left; padding: 2px; }
p.biog { font: normal 16px Verdana; color: #000000; text-align: justify; padding: 2px; }
font.reviewer { font: normal 16px Arial; color: #8c9aa6; font-weight: normal; }

.main h2{
  font: normal 14px Verdana;
  font-weight: bold;
  color: #fff;
  background-color: #c73333;
  border: 1px solid #222222;
  padding: 2px 5px;
  margin: 12px 0;
}

/* Lightbox title override: soften global h2 */
.lightbox-text h2#lightboxTitle{
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0 0 8px 0;
  color: #c73333;
  font: bold 18px Verdana;
  letter-spacing: .5px;
}


h2.goodreads { margin: 0 0 10px !important; padding: 0 !important; font-style: italic; font-size: 14px; line-height: 14px; font-weight: normal; text-align: center; color: #555; background-color: #fff; border: 0px;}

img.buylink { border: 0px; margin: 2px 2px 2px 2px; }
img.lt { border: 0px; margin: 0px 3px 0px 1px; float: left; }
img.rt { border: 1px; margin: 0px 1px 0px 3px; float: right; }
.rtbio { border: 5px; margin: 0px 1px 0px 5px; float: right; }
img.footer { margin: 0px; padding: 0px; }


.scrollbox {
    border: solid 1px #fff; background: #fff; color: #000; padding: 0px; width:600px; height: 500px; overflow: auto;
    }

.hide {
display: none;
padding: 2px;
margin: 0px; 
border: 5px solid #c73333;
z-index: 5;
position: fixed;

top: 300px;
background-color: #e8e7e3;
border-radius: 15px;
box-shadow: 10px 10px 25px #000000;
}

.stone {
display: none;
padding: 2px;
margin: 0px; 
border: 5px solid #777777;
z-index: 5;
position: fixed;
top: 100px;
left: 300px;
background-color: #f9f9f9;
border-radius: 15px;
box-shadow: 10px 10px 25px #000000;
}

.fancy { width: 650px; display: none; }

/* Accordion Style */
.anchor {
position:relative;
}

.newsbox { 
	width: 600px; 
	text-align: left;
	margin: 10px 0px 10px 0px;
	}

.bookbox { 
	width: 892px; 
	text-align: left;
	margin: 10px 0px 10px 0px;
	}

.book {
	width: 200px;
	margin: 5px 10px 20px 10px;
	border: 1px dotted #000000;
	background: #c3d7df;
	padding: 2px 5px 5px 5px;
	display: inline;
}

.ui-widget-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ui-accordion .ui-accordion-header {
	display: block;
	cursor: pointer;
	position: relative;

	min-height: 0; /* support: IE7 */
}
.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
	position: absolute;
	left: .5em;
	top: 10%;
	margin-top: -8px;
}
.ui-accordion .ui-accordion-content {
	
	border-top: 0;
	overflow: hide;
}

/* top nav */
.topnav{
  text-align:center;
  margin: 0 0 30px 0;
}
.topnav .sep{ padding: 0 10px; }
.topnav .active{ font-weight: bold; }

/* page wrapper */
.books-page{
  margin: 0 auto;
  padding: 0 12px 30px;
  max-width: 1200px; /* keeps the whole page sane */
}

/* section header */
.books-section{
  margin: 14px auto 22px;
}
.section-head{
  background: #ffffff;
  border: 2px solid #000; /* change if your site uses 6px elsewhere */
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 auto 12px;
}
.section-head h2{
  margin: 0;
  text-align: center;
}

/* grid: phone-friendly, caps at 5 columns */
.books-grid{
  display: grid;
  gap: 12px;
  justify-content: center;

  /* This minmax controls card width; adjust if you want denser/wider */
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 1050px; /* cap so it never grows beyond ~5 columns */
  margin: 0 auto;
}

/* hard cap at 5 columns on large screens */
@media (min-width: 1100px){
  .books-grid{
    grid-template-columns: repeat(5, 1fr);
  }
}

/* details card */
.book-card{
  background: #e6e6e6;   /* matches your new box background */
  border: 2px solid #000;
  border-radius: 16px;
  overflow: hidden;
}

/* clickable summary */
.book-summary{
  list-style: none;
  cursor: pointer;
  padding: 10px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}
.book-summary::-webkit-details-marker{ display:none; }


.book-title{
  font-weight: bold;
  line-height: 1.2;
}

/* expanded area */
.book-body{
  background: #ffffff;
  border-top: 2px solid #000;
  padding: 12px 14px 14px;
  text-align: left;
}

.book-meta{
  font-weight: bold;
  margin: 0 0 8px 0;
}

.book-desc{
  margin: 0 0 10px 0;
}

.book-link{
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* optional: a subtle open state */
.book-card[open] .book-summary{
  background: #f3f3f3;
}

/* ================================
   Modern Books Grid (Non-Table)
   ================================ */

/* page wrapper */
.books-page{
  margin: 0 auto;
  padding: 0 12px 40px;
  max-width: 1200px;
}


/* responsive grid, capped at 5 columns */
.books-grid{
  display: grid;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: 1050px; /* visual cap ≈ 5 books */
  margin: 0 auto;
}

/* hard cap at 5 columns */
@media (min-width: 1100px){
  .books-grid{
    grid-template-columns: repeat(5, 1fr);
  }
}

/* individual book card */
.book-card{
  background: #e6e6e6;
  border: 1px solid #222;
  border-radius: 18px;
  overflow: hidden;
}

/* clickable summary (cover + title) */
.book-summary{
  list-style: none;
  cursor: pointer;
  padding: 10px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

/* remove default disclosure triangle */
.book-summary::-webkit-details-marker{ display:none; }

.book-cover{
  width: 100%;
  max-width: 180px;
  height: auto;
  border: 1px solid #000;
  border-radius: 6px;
  display: block;
}

.book-title{
  font-weight: bold;
  font-size: 13px;
  line-height: 1.35;
}

/* expanded content */
.book-body{
  background: #ffffff;
  border-top: 1px solid #222;
  padding: 14px 16px 16px;
  text-align: left;
}

.book-body .book-badges{
  margin-bottom: 10px;
  margin-top: 8px;
}

.book-meta-block .book-badges{
  justify-content: flex-start;
}

.book-meta{
  font-weight: bold;
  margin-bottom: 8px;
}

.book-desc{
  margin-bottom: 10px;
}

/* link style stays consistent with site */
.book-link{
  display: inline-block;
  margin-top: 6px;
}

/* subtle open state */
.book-card[open] .book-summary{
  background: #f2f2f2;
}

.book-badges{
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 14px;
  border: 1px solid #222;
  background: #fff;
  color: #000;
  font-weight: bold;
}



/* optional subtle variants */
.badge-series{
  background: #ffffff;
  font-weight: 700;
}

.badge-num{
  background: #f2f2f2;
  font-weight: 700;
}

.badge-standalone{
  background: #ffffff;
}

.badge-anthology{
  background: #ffffff;
}
.reading-order-note{
  text-align: center;
  font-style: italic;
  font-size: 12px;
  color: #555;
  margin: 10px 0 18px;
}

/* =========================
   Book Detail Page Layout
   ========================= */
.book-page .book-meta-row .book-meta-block p.largeright{
  margin: 0 !important;
}

.topnav{
  text-align: center;
  margin-bottom: 30px;
}

.book-page .book-buy img.buylink{
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  object-fit: contain;
}


/* main wrapper */
.book-page{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px 30px;
}

/* two-column on desktop, one-column on mobile */
.book-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* desktop */
@media (min-width: 900px){
  .book-layout{
    grid-template-columns: 1fr 420px;
    gap: 22px;
  }
}

/* text side */
.book-text{
  text-align: center; /* keeps your existing centered vibe */
}

/* make your existing paragraph classes behave better on mobile */
.book-text .largeleft,
.book-text .largeright,
.book-text .quoteleft{
  text-align: left; /* readability on phones */
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
}

/* quote mark image */
.quote-mark{
  float: left;
  margin: 2px 8px 0 0;
}

/* meta + buy links row */
.book-meta-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 650px){
  .book-meta-row{
    grid-template-columns: 1fr 1fr;
  }
}

/* buy links as a wrap-friendly row */
.book-buy{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: nowrap;   /* 👈 key line */
  padding-top: 4px;
}


.buy-item{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* 👈 key fix */
}


.book-buy .pc{
  font-size: 11px;
  line-height: 1.1;
}


/* cover side */

.book-cover img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* cover side */

.book-cover{
  text-align: center;
  justify-self: end;      /* makes it sit cleanly on the right on desktop */
  max-width: 460px;       /* soft cap so it doesn’t go insane */
}

.book-buy img.buylink{
  width: 36px;
  height: 36px;
  object-fit: contain;
}


@media (max-width: 699px){
  .book-cover{
    max-width: 520px;
    justify-self: center;
  }
}


.book-extras{
  margin-top: 24px;
  text-align: center;
}

.book-promo{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto 0;
}


/* =========================
   Site Header Title
   ========================= */

.site-header{
  text-align: center;
  margin: 16px 0 22px;
}

.site-title{
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c73333;
  font-size: 32px;
  line-height: 1;

  /* thin, universal text stroke */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
	 
}



/* Mobile tuning */
@media (max-width: 600px){
  .site-title{
    font-size: 24px;
    letter-spacing: 3px;
  }
}

/* =========================
   ABOUT PAGE LAYOUT
   ========================= */


.about-page{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px 30px;
}

.about-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

/* desktop: text + image column */
@media (min-width: 900px){
  .about-layout{
    grid-template-columns: 1fr 360px;
    gap: 22px;
  }
}

.about-text{
  /* keep bio readable */
  text-align: left;
}

.about-aside{
  text-align: left;
  width: 100%;
  max-width: 360px; /* or whatever feels right */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* safety: don't let images blow out the layout */
.about-aside img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* =========================
   NEWS PAGE LAYOUT
   ========================= */

.news-page{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 12px 30px;
}

.news-title{
  text-align: center;
  font-size: 18px;
  margin: 10px 0 18px;
}

.news-list{
  display: grid;
  gap: 12px;
}

.news-empty{
  text-align: center;
  color: #555;
}


/* =========================
   NEWS CARD / DRAWER
   ========================= */

.news-card{
  background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    url("/images/nav/bg.jpg") repeat;
  border: 1px solid #222;
  border-radius: 18px;
  overflow: hidden;
}

.news-card:hover{
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


/* =========================
   SUMMARY (COLLAPSED VIEW)
   ========================= */

.news-summary{
  cursor: pointer;
  padding: 14px 16px;
  list-style: none;
}

.news-summary::-webkit-details-marker{
  display: none;
}

.news-summary-top{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.news-date{
  font-size: 11px;
  color: #555;
  white-space: nowrap;
}

.news-expand{
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}

.news-title{
  font-weight: bold;
  color: #c73333;
  margin-bottom: 6px;
}

.news-snippet{
  color: #222;
  opacity: 0.9;
}


/* =========================
   EXPANDED BODY
   ========================= */

.news-body{
  padding: 0 16px 14px;
  border-top: 1px solid rgba(0,0,0,0.15);
}

.news-body p{
  margin: 10px 0;
}

.news-body img{
  max-width: 100%;
  height: auto;
}


/* =========================
   OPEN STATE POLISH
   ========================= */
   
details[open] .news-expand{
  opacity: 0.7;
}

.news-expand{
  transition: opacity 0.2s ease;
}

details[open] .news-snippet{
  display: none;
}

@media (max-width: 700px){

  /* Stack the meta line nicely */
  .news-summary-top{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
  }

  /* Make the title read like the headline */
  .news-title{
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    padding-left: 10px;
    border-left: 3px solid #c73333;
    margin-bottom: 8px;
  }

  /* Make the snippet feel like body text, not an afterthought */
  .news-snippet{
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.95;
  }

  /* De-emphasize the date a touch */
  .news-date{
    font-size: 11px;
    opacity: 0.75;
  }

  /* Keep the affordance from crowding */
  .news-expand{
    font-size: 12px;
    opacity: 0.7;
  }
}

.buy-item.is-disabled{
  opacity: 0.55;
  cursor: default;
  text-decoration: none;
}
.buy-item.is-disabled img{
  filter: grayscale(1);
}
