/* bible menu items */

/* Style the wrapper so the menus line up neatly */
.bgw-selectors {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: flex-end;
}
.bgw-ref-select-wrap, .bgw-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;       
    margin-top: 0.5rem;
}

.bgw-selector-reference {
	justify-content: left;
	align-items: flex-end;
}

.bgw-selector-translation {
	justify-content: right;
	align-items: flex-end;
}


/* Uppercase "Translation" label similar to Today in the Word */
.bgw-selectors label {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary-blue);      /* muted grey for labels */
    padding: .5rem;
    display: block;
}

/* Base styling for all selects */
.bgw-selectors select {
    -webkit-appearance: none; /* remove native arrow */
    -moz-appearance: none;
    appearance: none;
    background-color: #eee;
    border: 1px solid #E3E3E3;
    padding: .75rem 3rem .75rem .75rem;
    font-size: 1rem;
    font-family: inherit;
    color: #003057;      /* dark blue from the brand palette:contentReference[oaicite:3]{index=3} */
    cursor: pointer;
    min-width: 8ch;
    /* custom arrow using an inline SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23003057' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 12px 8px;
}

/* Highlight the border on keyboard focus for better accessibility */
.bgw-selectors select:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary-blue);  /* use the dark blue brand colour */
}

/* Ensure option text uses the same dark‑blue colour */
.bgw-selectors select option {
    color: #003057;
    background-color: #FFFFFF;
}

.mainBibleWrapper {
	min-height: 400px;
	max-width: 1000px;
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--primary-blue);
	margin: 1rem auto;
	border-radius: 1rem;
}
.bible-attribution {
	max-width: 1000px;
	padding: 1.25rem;
	margin: .25rem auto;
}

/* overlay a nav layer across the wrapper */
.bgw-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  max-width:1200px;
  margin:0px auto;
  padding: 150px 10px;
}

/* shared button look */
.bgw-nav button {
  position: sticky;
  top: 50vh;                   /* center in viewport while scrolling */
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--wp--preset--color--radio-moody-green);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background .2s, transform .2s;
}
button:disabled {
  background: #eee;
  cursor: not-allowed;
	display: none;
}
.bgw-nav button:hover {
  background: var(--wp--preset--color--radio-moody-light-green);
  transform: translateY(-50%) scale(1.1);
}

/* stick to the wrapper edges */
.bgw-prev { float: left;  margin-left: 5px; }
.bgw-next { float: right; margin-right: 5px; }

/* hide inner text if you keep it for screen readers */
.bgw-nav button span,
.bgw-nav button::after { display: none; }

.woj {
	color: #990000;
}

.crossreference, .footnote {
	display: none;
}

/* bibel search results */
.bible-search-results {
  margin-top: .25rem;
  padding-top: .25rem;
  border-top: 1px solid #ccc;
}

.bible-search-results h2 {
	font-size: 1.75rem;
}

.bible-results-list, .bible-suggested-list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.bible-verse h3 {
  margin-bottom: 0.25em;
}




@media screen and (max-width: 1200px) {
	.bgw-nav {
	  padding: 250px 10px;
	}
	.bgw-nav button {
		  width: 40px;
 		 height: 40px;
	}
}

@media screen and (max-width: 900px) {
	.bgw-nav {
	  padding: 300px 10px;
	}
	.bgw-nav button {
		  width: 30px;
 		 height: 30px;
	}
	.bgw-selectors {
		flex-wrap: wrap-reverse;
	}
	.bgw-selectors label {
		font-size: .8rem;
		font-weight: 700;
		padding: .3rem;
	}
	/* Base styling for all selects */
	.bgw-selectors select {
		padding: .5rem 2.5rem .5rem .5rem;
		font-size: .8rem;
	}
}
