/* =============================================================
   MAIN STYLESHEET
   Playfair Display headings / Georgia body text
   Centred readable column, warm grey blockquotes
   ============================================================= */


/* ── GOOGLE FONT IMPORT ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');


/* ── BASE ── */

body {
  color: black;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18pt;
  line-height: 1.6;
  text-align: left;
  max-width: 65ch;       /* comfortable reading width */
  margin: 0 auto;        /* centre the column */
  padding: 0 5%;
}


/* ── HEADINGS ── */

/* H1–H3 use Playfair Display with the house red */
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  color: #611010;
  font-weight: bold;
  line-height: 1.8;
  margin-top: 1em;
  margin-bottom: 1em;
}

h1 {
  font-size: xx-large;
  text-align: center;
}

h2 {
  font-size: x-large;
  text-align: center;
}

h2.smallcaps {
  font-variant: small-caps;
}

h2.black {
  color: black;
}

h3 {
  font-size: 110%;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
}

h3.left   { text-align: left;   font-weight: bold;   margin-top: 1em; }
h3.center { text-align: center; font-weight: normal; margin-top: 1em; }

/* H4–H5 use Playfair Display in a slightly smaller weight */
h4, h5 {
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  text-align: center;
  width: 80%;
  max-width: 80%;
  margin: 2rem auto;
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

h5 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

h4.center { text-align: center; font-weight: normal; margin-top: 1em; }
h5.center { text-align: center; font-weight: normal; margin-top: 1em; }

/* H6 — small centred sans label, house red */
h6 {
  font-family: "Lucida Grande", Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: #611010;
  font-size: small;
  font-weight: normal;
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h6.center { text-align: center; font-weight: normal; margin-top: 1em; }


/* ── BODY TEXT ── */

p {
  text-align: left;
  line-height: 1.7em;
  margin-top: 1em;
  margin-bottom: 1em;
}

p.center    { text-align: center; }
p.right     { text-align: right; }
p.italic    { font-style: italic; }
p.smallcaps { font-variant: small-caps; }
p.uppercase { text-transform: uppercase; }
p.lowercase { text-transform: lowercase; }
p.capitalize{ text-transform: capitalize; }

/* Weight variants */
p.light   { font-weight: lighter; }
p.normal  { font-weight: normal; }
p.thick   { font-weight: bold; }
p.thicker { font-weight: 900; }

/* Size variants */
p.small    { font-size: 14pt; }
p.bigintro { font-size: 150%; font-weight: bold; margin-top: 2em; margin-bottom: 2em; }

/* Indented paragraph — matches blockquote geometry */
p.indent {
  padding: 30px 50px;
  margin: 50px 80px;
}

/* Drop-cap first character */
p.dropcap {
  color: black;
  float: left;
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  font-size: 400%;
  line-height: 80%;
  margin-top: 14px;
  margin-right: 5px;
}

/* Intro paragraph — bold lead-in */
p.intro {
  font-weight: 700;
  line-height: 1.5;
  max-width: 25em;
  margin-top: 2em;
  margin-bottom: 3em;
}

p.introcentered {
  font-weight: bold;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 2em;
}

p.introital {
  font-weight: bold;
  font-style: italic;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* Image caption — sans-serif, centred, moderate size */
p.caption {
  font-family: "Lucida Grande", Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: medium;
  text-align: center;
  line-height: 1.4;
  margin-top: 1em;
  padding: 2% 15% 0;
}

/* Marginal comment — slightly smaller, indented both sides */
p.comment {
  font-size: 14pt;
  margin-left: 15%;
  margin-right: 10%;
  margin-top: 2%;
  margin-bottom: 2%;
}

/* Footnote / small annotation */
p.note {
  font-size: 0.9em;
  margin-left: 2cm;
}

/* Sans-serif centred paragraph (e.g. pull quotes, labels) */
p.sans {
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  color: grey;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* Indented list-style paragraphs */
p.one   { font-size: 0.9em; padding-left: 1cm; }
p.two   { padding-left: 2cm; }
p.three { padding-left: 3cm; }

p.onebold   { padding-left: 1cm; font-weight: 900; }
p.twobold   { padding-left: 2cm; font-weight: 900; }
p.threebold { padding-left: 3cm; font-weight: 900; }


/* ── BLOCKQUOTE ── */

blockquote {
  font-size: 18pt;
  background-color: #F2F2EF;  /* warm light grey */
  padding: 30px 50px;
  margin: 50px 80px;
}

/* Prevents paragraph margins from collapsing outside the
   blockquote box and breaking the background tint */
blockquote p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
blockquote p:first-child { margin-top: 0; }
blockquote p:last-child  { margin-bottom: 0; }


/* ── HORIZONTAL RULE ── */

hr {
  width: 100%;
  height: 1px;
  background-color: #666;
  border: none;
  margin: 50px auto 30px;
}

/* Thicker decorative rule */
.line {
  border: none;
  border-bottom: 3px solid black;
}


/* ── IMAGES ── */

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.clickable-image {
  border: 1px solid #000;
  padding: 8px;
}


/* ── LINKS ── */

a:link    { color: #8d1717; text-decoration: underline; }
a:visited { color: #8d1717; }           /* keep house red after visiting */
a:hover   { color: fuchsia; text-decoration: underline; }
a:active  { background-color: hotpink; }


/* ── LISTS ── */

ul { margin-left: 0; padding-left: 5em; }
li { padding-left: 5em; }


/* ── UTILITY CLASSES ── */

/* Small-caps sans block (e.g. bylines, labels) */
.sanscap {
  font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 100%;
  color: dimgrey;
  text-align: center;
  line-height: 1.4;
  padding: 10px 0;
}
