 /* Base styles */
body {
  font-family: 'Mukta Malar', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0; /* Reset browser default margin */
  padding: 1rem; /* Adds space inside the viewport */
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}


@media (min-width: 768px) {
  body {
    padding: 2rem 4rem;
  }
  }
  
  
  /* Line height - Titles */
  @media screen and (max-width: 768px) {
  h5[style], h3[style] {
    line-height: 1.2 !important;
  }
}

  
  /* Hide navigation icons on screens <= 768px (tablets and mobiles) */
@media (max-width: 768px) {
  .icon-container {
    display: none;
  }
}
  
/* Example CSS for icons */
.icon {
  width: 40px; /* fixed size, or use relative units like '2em' */
  height: auto;
  margin: 0 10px; /* spacing between icons */
  vertical-align: middle; /* align with text if needed */
  display: inline-block; /* Ensure proper inline display */
}

.icon-container {
  margin-bottom: 20px;
}


/* Override size for the specific icon */
#home-icon {
  width: 60px; /* or any size */
/*  margin: 10px;       /* adds space outside the element */
  padding: 5px;       /* adds space inside the element's border */
}


#bwd-icon {
  margin-left: 1rem; /* aligns with body's padding */
}

/* Headings with fluid sizes */
h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);   /* 32px to 40px */
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #111;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.125rem); /* 28px to 34px */
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  color: #838996 ;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 1.875rem);  /* 24px to 30px */
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #111;
  font-weight: 400;
  text-align: center; /* Added to center align the title */
  border-top: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
  }

h4 {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);  /* 20px to 24px */
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  color: #111;
  font-weight: 500;
}

h5 {
  font-size: clamp(1.125rem, 3vw, 1.25rem);  /* 18px to 20px */
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #111;
  font-weight: 300;
  text-align: center; /* Added to center align the title */
}

h6 {
  font-size: clamp(1rem, 2.5vw, 1.125rem);  /* 16px to 18px */
  margin-top: 0.85em;
  margin-bottom: 0.5em;
  color: #111;
  font-weight: 200;
}
  p { margin-bottom: 1em; }
  dl dt { font-weight: bold; margin-top: 0.8em; }
  dl dd { margin-left: 2em; margin-bottom: 0.5em; }
  
  /* Target the <dt> inside the <dl> */
dl dt {
  border-top: 1px solid #989898; /* or any color you prefer */
  border-bottom: 1px solid #989898;
  padding: 0.5em 0; /* optional: add some padding for spacing */
}

h3.styled-border {
  border-top: 2px solid #838996 ;
  border-bottom: 2px solid #838996 ;
  padding: 0.5em 0;

 }
  
  .heading { margin-top: 1.5em; }
  .h2, .h3 { margin-top: 0.5em; }
  
  .redLetter {
	color: #de0700;
	display: inline
}
  
  
.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* buttons will wrap if screen is narrow */
    gap: 1rem;
    margin-top: 2rem;
	width: 100%; /* ensure full width */
  }

  .bible-button {
    display: inline-block;
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Mukta Malar', sans-serif;
    text-decoration: none !important; /* ← removes underline */
    transition: all 0.3s ease;
    text-align: center;
  }

  .bible-button:hover {
    background-color: #EDEEED;
    color: black;
    border: 1px solid black;
    text-decoration: none !important; /* again to prevent underline on hover */
  }
  
  .bible-button:hover {
  /* change border color on hover */
  border-color: #EDEEED;
}

 
 #search-box {
        width: 100%;
        max-width: 600px; /* Limits the width on larger screens */
        padding: 12px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 20px;
        box-sizing: border-box; /* Ensures padding is included in width */
    }

    #results {
        margin-top: 10px;
    }

    .result-item {
        background: white;
        border-radius: 8px;
        margin: 8px 0;
        padding: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .result-item:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }




