/* Critical CSS for LCP Optimization */
:root {
  --primary-text: #3E2D18;
  --bg-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-text: #e0e0e0;
    --bg-color: #000000;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Inter', sans-serif;
  font-size: 100%;
  line-height: 1.5;
  color: #3E2D18;
  width: 100%;
  margin: 0 auto;
  letter-spacing: 0.01em;
  background: #ffffff;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-optical-sizing: auto;
}

/* Ensure the layout container is ready immediately */
.container {
  max-width: 800px;
  width: 87%;
  margin: 0 auto;
  display: block;
}


/* =======================
   HEADER
   ======================= */

/* AMENDED: This rule now mirrors the general 'img' rule */

.header a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.8em;
  text-transform: uppercase;
}
.header h1 {
	margin-left: 2px;
	}
	
/* =======================
   HEADINGS
   ======================= */
.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
h1 {
  margin: 2em 0 1em 0.5em;
  font-weight: 600;
  text-align: left;
  opacity:0.9;
  line-height:1.1;
  border-left: 4px solid #333;
  padding-left: 0.75rem;
  padding-right: 1.25rem;
}

h2 {
	margin: 2em 0 1em 0em;
	}
	
h2, h3, h4 {
	font-weight:400;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #333;
    padding-left: 0.75rem;
}
h1 a, h2 a, h3 a, h4 a {
  text-decoration: none !important;
  font-weight: 500 !important;
}

h3 {
  text-align: left;
  font-size: 1.4em;
  margin: 45px 0 5px;
  border-left: 4px solid #333;
}
h3 strong {
   font-style: normal
}

h3.teach {
	font-style: italic;
	font-size: 1em;
	margin:0
	}
	
h4 {
   font-style: normal;
   font-weight:400;
   font-size: 1.3em;
   margin: 50px 0 10px 0;
   border-left: 4px solid #333;
}
/* Header & Logo - Critical for LCP as it's often the first visual element */
header {
  width: 100%;
}

header img {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 40%;
  max-width: 100px;
  opacity: 0.9;
  mix-blend-mode: multiply;
  height: auto;
  padding: 30px 5px 0 0;
}

a.redA {
  text-decoration-color: red !important;
	}
	
a, a b {
  color: #3E2D18;
  font-weight: 500;
  text-decoration: underline solid;
  text-decoration-color: rgba(0, 0, 0, 1.7);
  text-decoration-thickness: 0.6px;
  font-style: normal !important;
}

a:hover {
  text-decoration-style: solid;
}

#Verse-Link-Container {
  min-height:50px !important;
  font-size: 0.9em;
  display: flex;         
  align-items: center;      
  gap: 10px;    
  flex-wrap: wrap;
  margin: 1em auto;
  padding: 0.5em 0.5em;
  max-width: 250px;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
  font-size: 1em;
  color: #ffffff;
  background: linear-gradient(135deg, #0B2B45, #1C5991);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;      
}

.breadcrumb {
  font-size: 0.75em;
  margin-bottom: 2em;
  min-height:50px;
}

p {
  margin: 1.2em 0;
  text-indent: 0;
}

.BLBST_a {
  white-space: normal !important; 
  display: inline !important; 
}

blockquote a[href*="blueletterbible.org"] {
  font-size: 0.6em !important;
  text-decoration: none;
  line-height: 1.8
}

img {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 80%;
  max-width: 200px;
  height: auto;
  min-height:auto;
  max-height:auto;
  opacity: 0.8;
  padding: 0;
  mix-blend-mode: multiply;
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  h1 { border-left-color: #999; }
}

/* Article Intro Styles */
.content article p:first-of-type {
  margin: 1.2em 0;
}

blockquote {
  font-size: 1.05rem;
  margin: 1em auto;
  padding: 10px 5%;
  width: 82%;
  letter-spacing: -0.02em;
}

/* Hamburger remains visible but non-functional until JS/Main CSS loads */
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  padding: 15px;
  font-size: 25px;
  z-index: 2000;
}

/* =======================
   NAV + HAMBURGER
   ======================= */
.navig {
  height: 100vh;
  overflow-y: scroll;
  padding: 0 20px 200px 10px;
}

.hamburger {
  position: fixed;
  top: 0px;
  right: 0px;
  display: none;
  font-size: 25px;
  cursor: pointer;
  padding: 15px;   /* increases clickable area */
  z-index: 2000;
  /* optional: keep it visually centered */
  display: flex;
  align-items: center;
  justify-content: center;
}


.close-btn {
  font-size: 24px;
  cursor: pointer;
  float: right;
}

#sidebar-toggle {
  display: none;
}

#sidebar-toggle:checked ~ .container .sidebar {
  right: 0;
}

#theme-toggle {
	display: none;
	background:transparent;
	border:0;
	color:#3E2D18;
	font-size: 2em;
	vertical-align: baseline;
    padding: 0 0 0 10px ;
    opacity:0.6;
	}

/* Desktop Width Constraint */
@media (min-width: 900px) {
  body {
    width: 60%;
    margin: 0 auto;
  }
}
