/* H-Tags-2.css | Updated by Sienna AI for Nick Ray Ball | 29 March 2025 */

/* --- Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

/* --- Cambria Font Faces (local files) --- */
@font-face {
  font-family: 'Cambria';
  src: url('/fonts/Cambria.woff2') format('woff2'),
       url('/fonts/Cambria.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cambria Italic';
  src: url('/fonts/Cambria-Italic.woff2') format('woff2'),
       url('/fonts/Cambria-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cambria Bold';
  src: url('/fonts/Cambria-Bold.woff2') format('woff2'),
       url('/fonts/Cambria-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cambria Bold Italic';
  src: url('/fonts/Cambria-BoldItalic.woff2') format('woff2'),
       url('/fonts/Cambria-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}


/* --- Header Styles --- */
h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  margin: 0.5em 0;

}

h2 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  margin: 0.5em 0;

  font-style: normal; /* ✅ Prevents any inherited italics */
}


h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 1.8rem;
  margin: 0.5em 0;
  line-height: 1.3;

}
h3 strong, h3 b {
  font-weight: 700;
}

h4 {
  font-family: 'Cambria', serif;
  font-size: 1.8rem;
  margin: 0.5em 0;
  font-weight: 400;
/*  color: #444;*/
}

h5 {
  font-family: 'Cambria', serif;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0.5em 0;
  font-weight: 400;

  
}
.serif-centre {
  /*font-family: 'Cambria', serif;
  font-size: 1.3rem;
  line-height: 1.3;*/
  margin: 1.5em auto;
  padding: 0 15%;
  text-align: justify;
    color: #000;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .serif-centre {
    padding: 0 5%;
    font-size: 1.1rem;
  }
}

h6 {
  font-family: 'Special Elite', monospace;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0.5em 0;
  font-weight: normal;
  color: #666;
}
/* --- Body Text --- */
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.125rem;
/*line-height: 1.6;*/

/*background: #fff; }*/
/* --- Paragraph Text --- */
p {
  font-family: 'Source Sans Pro', 'Aptos', 'Segoe UI', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: inherit;
  margin: 1.2em 0; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*
p {
  font-family: 'Source Sans Pro', 'Aptos', 'Segoe UI', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: inherit;
  margin: 1.2em 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*/
/* Bold emphasis in p, li, blockquote */
p strong,
li strong,
blockquote strong {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;

}

/* Basic bold styling for <b> tags (use current font) */
b {
  font-weight: bold;
}
/* --- Global Link Styling --- */
a {
  color: #27a4ec; /* New light blue from Rich Typewriter */
/*color: #1a73e8; /* Modern light blue */
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

a:hover {
  color: #0b59d0;
  text-decoration: underline;
}

em {
  font-style: italic;
}

small {
  font-size: 0.8em;
  color: #777;
}

code {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  background: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}


/* --- Blockquote Styling --- */
blockquote p {
  margin: 0; /* Remove top and bottom margin within blockquotes */
}
blockquote {
  font-style: italic;
  margin: 1.5em;
  padding: 1em;
  background: #f9f9f9;
  border-left: 5px solid #c00;
  color: #333;
  font-size: 1.125rem;
}

html {
  scroll-behavior: smooth;
}
.anchor-offset {
  display: block;
  position: relative;
  top: -80px; /* Adjust this based on your layout */
  visibility: hidden;
}
