/**
 * page.css
 * @package Thief Custom Theme MVP0
 * @since Thief Custom Theme MVP0
 * Written by BenM Wed 28 Jan 2026 1:06PM
 **/

/* See Fluid p.55 for fonts. */

/**
 * dashd cdashd jsx jstodo jsfixme doclinejs docline doc docjs boxd
 ccc todo add
 */

/* --------------------------------------------------
 Tags */

body {
    font: normal normal normal 1em/1.5 "Tahoma", "Verdana", sans-serif;
    font-size: 62.5%; /* Resets 1em to 10px */
    font-kerning: normal; /* i.e. kerning tables MUST be applied */    
    overflow: auto;
    width: 1180px;    
    min-width: 300px;
    color: #222222; /* Browser safe*/
    margin: 0em auto 0em auto;
    text-align: left;
}

/* All headings softer black */
h1, h2, h3, h4, h5, h6 {
    color: #444;
    color: #333;
/*    border: 1px dotted blue;*/
}

cite {
    font-family: italic;
}

/* The <--more--> comment is wrapped in a para */
p:has(*[display=none]) {
    padding: 0;
    margin: 0;
}

blockquote {
    padding-left: 1.66em;    
/*    border-left: 2px solid red;*/
}

/* Suppress padding after blockquote last p */
blockquote :last-child {
    padding-bottom: 0;
}

/* Para after blockquote */
blockquote + p {
    padding-top: 1em;
}

footer {
    clear: both;
    font-size: 1.3em;
    /* top right bottom left */
    margin: 0.5em auto 1em auto;
    padding-top: 0.4em;
    padding-bottom: 1em;    
    border-top: 2px solid grey;
    display: block;
}

footer p {
/*    padding-top: 0.6em;*/
}

/* Links */
a {
    text-decoration: none;
    border-bottom: .2em solid #999;
    border-bottom: .1em solid red;    
}

a:link {
    color: #666;
}

a:active {
    color: #666;
}

a:visited {
    color: #666;
}

/* --------------------------------------------------
 Container classes */

.site {
/*    border: 1px dotted red;*/
}

/** The main page content container, width depends on device
  properties, see device.css */
.pageframe {
    font-size: 1.13em;
    width: 90%;
/*    color: #333;*/
    /*    color: #202020;*/
}

.pageframe {
    margin: auto auto;
/*    border: 1px dotted blue;	    */
}

.page {
/*    border: 1px dotted green;*/
}

.pageframe {
    font-size: 1.13em;
    width: 90%;
/*    color: #333;*/
    /*    color: #202020;*/
}

/** Specialise to page class where required  */
.banner {
    font-family: VeraMono, "Vera Mono", "Courier New", monospace;
   /* top right bottom left */
    /*    margin: 1em auto 1em auto;*/
    margin: 0;
    margin-top: 1em;
    color: #333;
/*    border: 1px dotted red;*/
}

.callout, .endorsements, .synopsis, .pubinfo, .tradeinfo, .colophon {
    margin-top: -0.5em;
}

.pubinfo .callout, .colophon .callout {
    margin-top: -0.75em;
}

.colophon .callout {
    margin-bottom: -0.5em;
}

.endorsements, .synopsis, .pubinfo, .tradeinfo, .author-biog, .colophon {
    font-size: 1.2em;
}

.slot {
    border-top: grey 1px solid;
/*    border-bottom: pink 1px solid;*/
}

.callout {
    font-size: 1.4em;
    line-height: 1.8em;
    letter-spacing: .09em;
}

/** Synopsis paras  */
.synopsis p {
    margin-top: -0.5em;
/*    border: pink 1px solid;*/
}

.em-wrapper {
    display: block; /* So we can assign it to a span */
    padding-top: 1em;
    padding-bottom: 1em;
}

.em-pad-top {
    display: block; /* So we can assign it to a span */
    padding-top: 1em;
}

.em-pad-bottom {
    display: block; /* So we can assign it to a span */
    padding-bottom: 1em;
}

.centred {
    text-align: center;
}

.gdpr {
    color: red;
}

.site-credits, .company, .gpsr {
    font-size: smaller;
    width: 90%;
    text-align: center;
}

/* --------------------------------------------------
 Headings */

/** Specialise to page class where required  */
/** NOTE This styles the strapline text excepting the title */
.banner-strapline {
    font-size: 1.2em;
    margin-top: -1em;
}

.banner-strapline-title {
    font-weight: bold;
}

.site-heading, .page-heading, .section-heading {
    margin-top: -0.15em;
    letter-spacing: .05em;
}

.site-heading {
    font-size: 1.6em;
}

.page-heading {
    font-size: 1.4em;
}

.section-heading {
    font-weight: bold;    
    font-size: 1.2em;
}

/* --------------------------------------------------
 Lists */

.quotes-list, .pubinfo-list, .tradeinfo-list {
    margin-top: -0.75em;
}

.img-stack, .quotes-list, .pubinfo-list, .tradeinfo-list {
    padding: 0;
    list-style-type: none;
}

.quotes-list {
    font-family: Georgia, serif;
    font-weight: bold;
    font-style: italic;
    font-size: 1.13em;
    letter-spacing: .05em;
    text-align: center;
    width: 90%;
}

.pubinfo-item, .tradeinfo-item, .address-list {
    line-height: 1.5em;
}

.quotes-list-item {
    display: inline;
}

.quotes-list-item::after {
    content: "\2002"; /** Hair space \2002 = en, \2003 = em*/
}

/* --------------------------------------------------
 Images */

.banner-thieflogotype {
    width: 66%;
    margin: 0;
    padding: 0;
/*    border: 1px dotted red;*/
}

.img-stack-img {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
/*    border: 1px dotted red;    */
}

.jacket-image {
    width: 50%;
    height: 50%;
    border: 1px solid gray;
}

.author-pic {
    width: 25%;
    height: 25%;
}

/* For about 600px */
/* Thu 22 May 2025 3:39PM The image is clamped to the column width =
   546px, but "naturally" displays at full height i.e. 675. Hence we
   need to clamp both. Interestingly % doesn't do it?*/
.img-single-landscape {
    width: 540px;
    height: 405px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.img-single-portrait {
    width: 405px;
    height: 540px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

/* Inline CC BY NC licence image */
.img-single-custom-403-141 {
    display: inline;
    padding-top: 4px;
    width: 50px;
    height: 18px;
}

/* Block CC BY NC licence image */
.post-content .img-single-custom-403-141 {
    width: 134px;
    height: 47px;
    padding-bottom: 0.2em;
}

/* Author pics on About page */
.post-content .img-single-custom-900-600 {
    display: inline;
    margin: 0;
    padding: 0;
    width: 180px;
    height: 120px;
    margin-bottom: -1em;
}

/* --------------------------------------------------
 Typographic */

.run-on {
    display: inline;
}

.callout p {
    margin: 0;
    margin-top: 0.6em;    
    margin-bottom: 0.6em;
    color: #333;
}

.callout-em {
    font-style: italic;
}

.callout-big {
    font-family: Rockwell, Calisto, Georgia, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.6em;
    letter-spacing: .11em;
    line-height: 0.6em;    
}

.callout-big::before {
/*    content: "\200A";*/ /** Hair space */
}

/* First para of slot */
.slot + p {
    padding-top: 1em;
}

/* Josh copyright */
.photo-copy {
    font-size: 0.8em;
    color: #444;
    margin-top: -1em;
}

.plainwords {
    font-family: VeraMono, "Vera Mono", "Courier New", monospace;
    color: #444;
}

.warning {
    font-style: italic;
    font-weight: bold;
    font-size: 1.13em;
    line-height: 1.13em;
}


/** End  */
