/* Fresh mobile layout: structure only. Theme colours stay in source stylesheets. */
@media (max-width: 767px) {
 html,body{max-width:100%;overflow-x:hidden} body{min-width:0!important}
 .navDivLeft,.navDivRight,.topMenu,.topMenu2, #footerMenu, #footerMenu_trigger{display:none!important}
 header{margin:0!important;padding:0!important} header img[src*="banner"]{display:block!important;width:min(60%,320px)!important;height:auto!important;margin:0.2rem auto!important;}
 .skin{position:relative!important;float:none!important;top:auto!important;left:auto!important;right:auto!important;width:auto!important;margin:.3rem auto!important;padding:0!important;text-align:center!important}
 .skin .textResize{display:none!important} .resize_tools{display:inline-flex!important;gap:3px;align-items:center;justify-content:center}
 .resize_tools a{min-width:30px;min-height:30px;display:inline-flex!important;justify-content:center;align-items:center;cursor:pointer}
 .colorTheme{position:relative!important;left:auto!important;right:auto!important;top:auto!important;float:none!important;width:auto!important;max-width:100%!important;margin:.25rem auto!important;text-align:center!important;}
 .colorTheme p{display:none!important}.colorTheme button{padding:.3rem .45rem!important;font:normal 12px Arial,sans-serif!important}
 section.introStyles, section.pageStyling, section.bibleContent{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:12px!important;padding-right:12px!important;}
 section.introStyles{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
 section.introStyles h1,section.introStyles h2,section.introStyles h3,section.introStyles h4{font:normal 600 16px/1.3 Arial,sans-serif!important;text-align:center;margin:.2rem 0!important;padding:0!important;text-shadow:none!important;}
 section.bibleContent{padding-top:0!important}
 section.bibleContent h2,section.bibleContent h3{font:normal 600 17px/1.35 Arial,sans-serif!important;margin:.5rem 0 .35rem!important;padding:0!important;text-align:center;text-shadow:none!important}
 section.bibleContent p{font-family:Arial,Helvetica,sans-serif!important;font-size:16px;line-height:1.55;margin-top:.4rem;margin-bottom:.65rem;max-width:100%;overflow-wrap:break-word}
 .fresh-mobile-nav{display:block!important;margin:0 auto .4rem;padding:0 9px;max-width:700px;font:normal 14px/1.4 Arial,sans-serif}
 .fresh-mobile-links{display:flex;gap:5px}.fresh-mobile-links a{flex:1;text-align:center;text-decoration:none;background:#164078;color:#fff;padding:7px 3px;border-radius:4px}
 .fresh-mobile-nav details{margin-top:5px;background:#164078;color:white;border-radius:4px}
 .fresh-mobile-nav summary{padding:8px 10px;cursor:pointer}
 .fresh-mobile-nav details a{color:#172d59;background:#f4f8ff;display:block;padding:7px 9px;margin:2px;border-radius:2px;text-decoration:none;overflow-wrap:anywhere}
 .fresh-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:3px}
 .fresh-mobile-nav details details{margin:4px;background:#e0eafd;color:#142951}.fresh-mobile-nav details details summary{padding:7px;color:#142951}
 .fresh-mobile-opening{display:block!important;font:normal 16px/1.6 Arial,Helvetica,sans-serif;margin:.25rem 0 .65rem}
 .fresh-mobile-opening .first-word{font-weight:700;letter-spacing:.01em}
 section.bibleContent .firstWordWrapper, section.bibleContent p.opening{display:none!important}
 .fresh-mobile-opening .verse-no{font-size:.74em;vertical-align:super;margin-right:5px}
}
@media(min-width:768px){.fresh-mobile-nav,.fresh-mobile-opening{display:none!important}}


/* Mobile navigation reliability patch - 2026-10-10. Desktop untouched. */
@media screen and (max-width: 767px) {
 body > .fresh-mobile-nav, body > nav.fresh-mobile-nav {
   display:block !important; position:relative !important; z-index:20 !important;
   visibility:visible !important; opacity:1 !important; width:100% !important;
   max-width:100% !important; box-sizing:border-box !important;
   margin:3px auto 10px !important; padding:0 10px !important;
 }
 body > nav:not(.fresh-mobile-nav), body > nav:not(.fresh-mobile-nav) *#footerMenu_trigger,
 body #footerMenu, body #footerMenu_trigger, body .footer_fullwidth,
 body .navDivLeft,body .navDivRight {display:none !important;}
 .fresh-mobile-nav > details, .fresh-mobile-nav details {display:block !important; position:relative !important; max-width:100% !important;}
 .fresh-mobile-nav details:not([open]) > :not(summary){display:none !important;}
 .fresh-mobile-nav details[open] > .fresh-nav-grid {display:grid !important;}
 .fresh-mobile-nav summary {display:list-item !important; touch-action:manipulation; font:600 15px/1.4 Arial,Helvetica,sans-serif !important;}
 .fresh-mobile-nav a {touch-action:manipulation;}
 section.pageStyling, section.bibleContent {width:100% !important; max-width:100% !important;box-sizing:border-box !important;}
 body > section.pageStyling {margin:0 auto !important; padding:5px 10px !important;}
 body > section.pageStyling section.bibleContent {padding:0 4px !important;}
 section.bibleContent > .titles.blueTable {box-sizing:border-box !important;width:100% !important;max-width:100% !important;margin:8px auto !important;padding:12px !important;}
 section.bibleContent > .titles.blueTable * {max-width:100%;}
 section.bibleContent > .titles.blueTable a {overflow-wrap:anywhere;}
 section.bibleContent > .titles.blueTable ul {max-width:100%;}
}
@media screen and (min-width:768px) {
 body > .fresh-mobile-nav {display:none !important;}
}

/* Additional responsive support for Psalms and poetry-formatted pages. */
@media (max-width:767px){
 section.poetryPageStyling,section.poetryContent{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:12px!important;padding-right:12px!important;}
 section.poetryContent p{max-width:100%!important;overflow-wrap:break-word;}
}

/* Bibles.my: reader-controlled Hebrew poetry / standard paragraph layout. */
@media screen and (max-width:767px) {
  .poetry-layout-control {box-sizing:border-box; display:flex; align-items:center; justify-content:center;
    gap:.55rem; flex-wrap:wrap; margin:.35rem auto .55rem; padding:.35rem .65rem;
    max-width:calc(100% - 1rem); font:normal 14px/1.35 Arial,Helvetica,sans-serif;
    border:1px solid #819ac0; border-radius:.4rem; background:#eef4ff; color:#142f66;}
  .poetry-layout-control button {appearance:none; cursor:pointer; padding:.36rem .7rem;
    border:1px solid #45659a; border-radius:.3rem; background:#234b94; color:#fff;
    font:600 13px/1.35 Arial,Helvetica,sans-serif;}
  .poetry-layout-control button:focus-visible {outline:3px solid #f7bd3c;outline-offset:2px;}
  body.poetry-prose-view .bibleContent p.column-paragraph {
    display:block; position:static; float:none; clear:none; width:auto; max-width:100%;
    height:auto; white-space:normal; margin:.65rem 0 1rem; padding:0; text-indent:0;
    text-align:left; line-height:1.7; letter-spacing:normal;
  }
  body.poetry-prose-view .bibleContent p.column-paragraph .poetryIndentBlock,
  body.poetry-prose-view .bibleContent p.column-paragraph .poetryIndent,
  body.poetry-prose-view .bibleContent p.column-paragraph .poetryTextIndent {
    display:inline; margin:0; padding:0; text-indent:0;}
}
@media screen and (min-width:768px) {.poetry-layout-control{display:none!important;}}

/* Psalm chapters use .poetryContent / p.psalmCenter rather than p.PoetryParagraph. */
@media screen and (max-width:767px) {
  body.poetry-prose-view .poetryPageStyling,
  body.poetry-prose-view .poetryContent,
  body.poetry-prose-view .poetryContent .psalmWrapper,
  body.poetry-prose-view .poetryContent p.psalmCenter,
  body.poetry-prose-view .bibleContent p.PoetryParagraph {
    display:block; position:static; float:none; clear:none;
    box-sizing:border-box; width:100%; max-width:100%; min-width:0;
    margin:.45rem 0 .85rem; padding:0; text-align:left; text-indent:0;
    white-space:normal; letter-spacing:normal; line-height:1.7;
  }
  body.poetry-prose-view .poetryContent .poetryIndentBlock,
  body.poetry-prose-view .poetryContent .poetryHeadingDiv,
  body.poetry-prose-view .poetryContent .poetryFirstLetterDropCap,
  body.poetry-prose-view .poetryContent .poetrySecondLetterDropCap,
  body.poetry-prose-view .bibleContent .poetryIndentBlock,
  body.poetry-prose-view .bibleContent .poetryIndent,
  body.poetry-prose-view .bibleContent .poetryTextIndent {
    display:inline; position:static; float:none; width:auto; height:auto;
    margin:0; padding:0; text-indent:0; vertical-align:baseline;
    letter-spacing:normal; line-height:inherit;
  }
  body.poetry-prose-view .poetryContent .poetryFirstLetterDropCap,
  body.poetry-prose-view .poetryContent .poetrySecondLetterDropCap {
    font-size:inherit; font-weight:inherit; text-shadow:none;
  }
  body.poetry-prose-view .poetryContent .poetryBreak {display:none;}
  body.poetry-prose-view .poetryContent .psalmImageWrapper {float:none;}
  body.poetry-prose-view .poetryContent br[style*="display: none"],
  body.poetry-prose-view .bibleContent br[style*="display: none"] {display:none;}
}

/* Bibles.my: mobile Hebrew poetry horizontal scrollbar.
   Hidden automatically when the existing Normal paragraphs toggle is active. */
@media screen and (max-width: 767px) {
  body:not(.poetry-prose-view) .bibles-poetry-scroll {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0 0 10px;
  }
  /* Wider poetry layout creates horizontal travel where the original
     line breaks and indentations would otherwise overflow a phone. */
  body:not(.poetry-prose-view) .bibles-poetry-scroll > .psalmWrapper,
  body:not(.poetry-prose-view) .bibles-poetry-scroll > p.PoetryParagraph {
    box-sizing: border-box;
    width: max-content;
    min-width: max(100%, 820px);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .bibles-poetry-scroll::-webkit-scrollbar { height: 13px; }
  .bibles-poetry-scroll::-webkit-scrollbar-track {
    background: #d4deec; border-radius: 8px;
  }
  .bibles-poetry-scroll::-webkit-scrollbar-thumb {
    background: #6586b9; border-radius: 8px; border: 2px solid #d4deec;
  }
  body.poetry-prose-view .bibles-poetry-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    overflow-y: visible;
    padding: 0;
  }
  body.poetry-prose-view .bibles-poetry-scroll > .psalmWrapper,
  body.poetry-prose-view .bibles-poetry-scroll > p {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
}
@media screen and (min-width: 768px) {
  .bibles-poetry-scroll { display: contents; }
}


/* PSALMS — SMALLER DECORATIVE OPENING LETTERS */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  /* First decorative letter: 3px larger */
  .poetryFirstLetterDropCap {
    font-size: calc(1em + 3px) !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Second decorative letter: 1px larger */
  .poetrySecondLetterDropCap {
    font-size: calc(1em + 1px) !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
  }

}


/* PSALMS — COMPACT VERSE NUMBER SPACING */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter .verse {
    display: inline !important;
    position: static !important;
    float: none !important;

    margin: 0 0.3em 0 0 !important;
    padding: 0 !important;

    width: auto !important;
    min-width: 0 !important;

    text-indent: 0 !important;
    vertical-align: baseline !important;
  }

}


/* PSALMS — OPENING VERSE NUMBER SPACING */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper .poetryHeadingDiv .verseHeadingPoetry {
    display: inline !important;
    position: static !important;
    float: none !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 0.8em 0 0 !important;
    padding: 0 !important;

    text-indent: 0 !important;
    vertical-align: baseline !important;
    line-height: inherit !important;
  }

}


/* PSALMS — REMOVE POETRY LINE INDENTATION */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper .poetryIndentBlock,
  .PoetryParagraph .poetryIndentBlock {

    display: inline !important;
    position: static !important;
    float: none !important;

    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;

    text-indent: 0 !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
  }

}

/* PSALMS — DISABLE POETRY LINE BREAKS */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper br,
  .PoetryParagraph br,
  .poetryHeadingDiv br {
    display: none !important;
  }

}


/* PSALMS — EACH VERSE BEGINS ON A NEW LINE */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper span.verse,
  .PoetryParagraph span.verse {

    display: inline-block !important;
    position: static !important;
    float: none !important;

    margin: 0 0.3em 0 0 !important;
    padding: 0 !important;

    width: auto !important;
    text-indent: 0 !important;
    vertical-align: baseline !important;
  }

  /* Insert a line break before each verse number */
  .psalmWrapper span.verse::before,
  .PoetryParagraph span.verse::before {
    content: "" !important;
    display: block !important;
  }

}

/* PSALMS — THREE-SPACE GAP AFTER VERSE NUMBERS */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter span.verse {
    display: inline !important;
    position: static !important;
    float: none !important;

    margin: 0 0.75em 0 0 !important;
    padding: 0 !important;

    width: auto !important;
    text-indent: 0 !important;
    vertical-align: baseline !important;
    line-height: inherit !important;
  }

}


/* PSALMS — ALIGNED HEBREW POETRY */
/* Mobile and tablet screens */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter {
    position: relative !important;
    display: block !important;

    /* Indent all poetry text */
    padding-left: 2.5em !important;
    text-indent: 0 !important;

    margin-left: 0 !important;
    text-align: left !important;
  }

  /* Position verse number in the left margin */
  .psalmWrapper p.psalmCenter > span.verse {
    position: absolute !important;
    left: 0 !important;

    display: inline !important;
    float: none !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    text-indent: 0 !important;
    line-height: inherit !important;
  }

  /* Remove existing poetry indentation */
  .psalmWrapper p.psalmCenter .poetryIndentBlock {
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    left: auto !important;
    transform: none !important;
  }

}


/* PSALMS — FORCE NEW LINE BEFORE EACH VERSE */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter span.verse::before {
    content: "\A" !important;
    /*white-space: pre !important;*/
  }

  .psalmWrapper p.psalmCenter span.verse {
    display: inline !important;
    float: none !important;
    position: static !important;
    clear: none !important;
    margin: 0 0.75em 0 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
  }

}



/* BIBLES.MY — PSALMS FULL-WIDTH MOBILE LAYOUT */

@media screen and (max-width: 767px) {

  /* Main poetry container */
  body.responsive-bible-chapter .poetryContent,
  body.responsive-bible-chapter .psalmWrapper {

    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 8px !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  /* Psalm paragraphs */
  body.responsive-bible-chapter
  .psalmWrapper p.psalmCenter {

    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 0 1em 0 !important;
    padding: 0 !important;

    text-align: left !important;
    text-indent: 0 !important;

    left: auto !important;
    right: auto !important;
    transform: none !important;

    white-space: normal !important;
    overflow-wrap: break-word;
  }

  /* Remove additional poetry indentation */
  body.responsive-bible-chapter
  .psalmWrapper .poetryIndentBlock {

    display: inline !important;
    position: static !important;

    margin: 0 !important;
    padding: 0 !important;

    text-indent: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  /* Keep verse numbers inline */
  body.responsive-bible-chapter
  .psalmWrapper .verse {

    position: static !important;
    display: inline !important;
    float: none !important;

    margin: 0 0.75em 0 0 !important;
    padding: 0 !important;
  }

}



/* BIBLES.MY — REMOVE POETRY LAYOUT TOGGLE */

#bibles-poetry-layout-control {
  display: none !important;
}



/* BIBLES.MY — RESPONSIVE PSALM POETRY */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  /* Full-width Psalm paragraph */
  .psalmWrapper,
  .psalmWrapper p.psalmCenter {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    text-align: left !important;
    text-indent: 0 !important;
    white-space: normal !important;
  }

  /* Opening verse container */
  .psalmWrapper .poetryHeadingDiv {
    display: inline !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
  }

  /* Opening verse number */
  .psalmWrapper .verseHeadingPoetry {
    display: inline !important;
    position: static !important;
    float: none !important;
    margin: 0 0.55em 0 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
  }

  /* First decorative letter — 3px larger */
  .psalmWrapper .poetryFirstLetterDropCap {
    display: inline !important;
    position: static !important;
    float: none !important;
    font-size: calc(1em + 3px) !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
  }

  /* Second decorative letter — 1px larger */
  .psalmWrapper .poetrySecondLetterDropCap {
    display: inline !important;
    position: static !important;
    float: none !important;
    font-size: calc(1em + 1px) !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
  }

  /* Remove poetry indentation */
  .psalmWrapper .poetryIndentBlock {
    display: inline !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  /* Normal verse numbers */
  .psalmWrapper p.psalmCenter .verse {
    display: inline !important;
    position: static !important;
    float: none !important;
    margin: 0 0.55em 0 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
  }

  /* Preserve line breaks between poetry lines */
  .psalmWrapper p.psalmCenter br {
    display: inline !important;
  }

}


/* Fresh mobile layout: structure only. Theme colours stay in source stylesheets. */
@media (max-width: 767px) {
 html,body{max-width:100%;overflow-x:hidden} body{min-width:0!important}
 .navDivLeft,.navDivRight,.topMenu,.topMenu2, #footerMenu, #footerMenu_trigger{display:none!important}
 header{margin:0!important;padding:0!important} header img[src*="banner"]{display:block!important;width:min(60%,320px)!important;height:auto!important;margin:0.2rem auto!important;}
 .skin{position:relative!important;float:none!important;top:auto!important;left:auto!important;right:auto!important;width:auto!important;margin:.3rem auto!important;padding:0!important;text-align:center!important}
 .skin .textResize{display:none!important} .resize_tools{display:inline-flex!important;gap:3px;align-items:center;justify-content:center}
 .resize_tools a{min-width:30px;min-height:30px;display:inline-flex!important;justify-content:center;align-items:center;cursor:pointer}
 .colorTheme{position:relative!important;left:auto!important;right:auto!important;top:auto!important;float:none!important;width:auto!important;max-width:100%!important;margin:.25rem auto!important;text-align:center!important;}
 .colorTheme p{display:none!important}.colorTheme button{padding:.3rem .45rem!important;font:normal 12px Arial,sans-serif!important}
 section.introStyles, section.pageStyling, section.bibleContent{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:12px!important;padding-right:12px!important;}
 section.introStyles{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
 section.introStyles h1,section.introStyles h2,section.introStyles h3,section.introStyles h4{font:normal 600 16px/1.3 Arial,sans-serif!important;text-align:center;margin:.2rem 0!important;padding:0!important;text-shadow:none!important;}
 section.bibleContent{padding-top:0!important}
 section.bibleContent h2,section.bibleContent h3{font:normal 600 17px/1.35 Arial,sans-serif!important;margin:.5rem 0 .35rem!important;padding:0!important;text-align:center;text-shadow:none!important}
 section.bibleContent p{font-family:Arial,Helvetica,sans-serif!important;font-size:16px;line-height:1.55;margin-top:.4rem;margin-bottom:.65rem;max-width:100%;overflow-wrap:break-word}
 .fresh-mobile-nav{display:block!important;margin:0 auto .4rem;padding:0 9px;max-width:700px;font:normal 14px/1.4 Arial,sans-serif}
 .fresh-mobile-links{display:flex;gap:5px}.fresh-mobile-links a{flex:1;text-align:center;text-decoration:none;background:#164078;color:#fff;padding:7px 3px;border-radius:4px}
 .fresh-mobile-nav details{margin-top:5px;background:#164078;color:white;border-radius:4px}
 .fresh-mobile-nav summary{padding:8px 10px;cursor:pointer}
 .fresh-mobile-nav details a{color:#172d59;background:#f4f8ff;display:block;padding:7px 9px;margin:2px;border-radius:2px;text-decoration:none;overflow-wrap:anywhere}
 .fresh-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:3px}
 .fresh-mobile-nav details details{margin:4px;background:#e0eafd;color:#142951}.fresh-mobile-nav details details summary{padding:7px;color:#142951}
 .fresh-mobile-opening{display:block!important;font:normal 16px/1.6 Arial,Helvetica,sans-serif;margin:.25rem 0 .65rem}
 .fresh-mobile-opening .first-word{font-weight:700;letter-spacing:.01em}
 section.bibleContent .firstWordWrapper, section.bibleContent p.opening{display:none!important}
 .fresh-mobile-opening .verse-no{font-size:.74em;vertical-align:super;margin-right:5px}
}
@media(min-width:768px){.fresh-mobile-nav,.fresh-mobile-opening{display:none!important}}


/* Mobile navigation reliability patch - 2026-10-10. Desktop untouched. */
@media screen and (max-width: 767px) {
 body > .fresh-mobile-nav, body > nav.fresh-mobile-nav {
   display:block !important; position:relative !important; z-index:20 !important;
   visibility:visible !important; opacity:1 !important; width:100% !important;
   max-width:100% !important; box-sizing:border-box !important;
   margin:3px auto 10px !important; padding:0 10px !important;
 }
 body > nav:not(.fresh-mobile-nav), body > nav:not(.fresh-mobile-nav) *#footerMenu_trigger,
 body #footerMenu, body #footerMenu_trigger, body .footer_fullwidth,
 body .navDivLeft,body .navDivRight {display:none !important;}
 .fresh-mobile-nav > details, .fresh-mobile-nav details {display:block !important; position:relative !important; max-width:100% !important;}
 .fresh-mobile-nav details:not([open]) > :not(summary){display:none !important;}
 .fresh-mobile-nav details[open] > .fresh-nav-grid {display:grid !important;}
 .fresh-mobile-nav summary {display:list-item !important; touch-action:manipulation; font:600 15px/1.4 Arial,Helvetica,sans-serif !important;}
 .fresh-mobile-nav a {touch-action:manipulation;}
 section.pageStyling, section.bibleContent {width:100% !important; max-width:100% !important;box-sizing:border-box !important;}
 body > section.pageStyling {margin:0 auto !important; padding:5px 10px !important;}
 body > section.pageStyling section.bibleContent {padding:0 4px !important;}
 section.bibleContent > .titles.blueTable {box-sizing:border-box !important;width:100% !important;max-width:100% !important;margin:8px auto !important;padding:12px !important;}
 section.bibleContent > .titles.blueTable * {max-width:100%;}
 section.bibleContent > .titles.blueTable a {overflow-wrap:anywhere;}
 section.bibleContent > .titles.blueTable ul {max-width:100%;}
}
@media screen and (min-width:768px) {
 body > .fresh-mobile-nav {display:none !important;}
}

/* Additional responsive support for Psalms and poetry-formatted pages. */
@media (max-width:767px){
 section.poetryPageStyling,section.poetryContent{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:12px!important;padding-right:12px!important;}
 section.poetryContent p{max-width:100%!important;overflow-wrap:break-word;}
}


/* BIBLES.MY — COLLAPSIBLE GO TO CHAPTER SELECTOR */
@media screen and (max-width: 767px) {
  body.responsive-bible-chapter nav.fresh-mobile-nav #bibles-direct-chapter-navigation {
    width:100%;box-sizing:border-box;margin:5px 0 0;border:1px solid #799ed7;
    background:#f3f6fc;color:#182d54;border-radius:5px;overflow:hidden;
    font:normal 15px/1.4 Arial,Helvetica,sans-serif;
  }
  body.responsive-bible-chapter nav.fresh-mobile-nav #bibles-direct-chapter-navigation > summary {
    display:list-item;cursor:pointer;padding:10px 12px;background:#1b417e;color:white;
    font-weight:600;text-align:center;list-style-position:inside;
  }
  body.responsive-bible-chapter .bibles-direct-chapter-fields {
    display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;
    background:#f3f6fc;color:#182d54;
  }
  body.responsive-bible-chapter .bibles-direct-chapter-fields label {
    display:flex;flex-direction:column;gap:4px;min-width:0;font:normal 13px/1.4 Arial,Helvetica,sans-serif;
    color:#182d54;
  }
  body.responsive-bible-chapter .bibles-direct-chapter-fields label:first-child{grid-column:1/-1;}
  body.responsive-bible-chapter .bibles-direct-chapter-fields select{
    box-sizing:border-box;min-width:0;width:100%;min-height:40px;padding:7px 6px;
    font:normal 16px Arial,Helvetica,sans-serif;color:#122b55;background:white;
    border:1px solid #8c9fbe;border-radius:4px;
  }
  body.responsive-bible-chapter .bibles-direct-chapter-fields button {
    grid-column:1/-1;cursor:pointer;min-height:42px;color:white;background:#1b417e;
    border:0;border-radius:4px;font:600 16px Arial,Helvetica,sans-serif;
  }
  body.responsive-bible-chapter .bibles-direct-chapter-fields button:focus-visible,
  body.responsive-bible-chapter .bibles-direct-chapter-fields select:focus-visible{outline:3px solid #eaad2b;outline-offset:2px;}
}
@media screen and (min-width: 768px) {
  #bibles-direct-chapter-navigation{display:none!important;}
}


/* BIBLES.MY — PSALM MOBILE WIDTH AND DROP-CAP FIX, 2026-10-10.
   Keeps Go to Chapter and theme selectors unchanged. No theme colours set. */
@media screen and (max-width:767px) {
  body.responsive-bible-chapter section.poetryPageStyling,
  body.responsive-bible-chapter section.poetryPageStyling section.poetryContent,
  body.responsive-bible-chapter section.poetryPageStyling div.psalmWrapper,
  html.js body.responsive-bible-chapter section.poetryPageStyling section.poetryContent div.psalmWrapper {
    display:block !important;
    float:none !important;
    position:static !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:0 8px !important;
    margin:0 auto !important;
    text-align:left !important;
    transform:none !important;
  }
  body.responsive-bible-chapter section.poetryPageStyling div.psalmWrapper p.psalmCenter,
  html.js body.responsive-bible-chapter section.poetryPageStyling section.poetryContent div.psalmWrapper p.psalmCenter {
    display:block !important;
    float:none !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 0 .85rem !important;
    padding:0 !important;
    text-align:left !important;
    text-indent:0 !important;
    white-space:normal !important;
    overflow-wrap:break-word;
    font-family:"Noto Sans Display",Arial,Helvetica,sans-serif !important;
    font-size:16px !important;
    font-style:normal !important;
    font-weight:400 !important;
    letter-spacing:normal !important;
    word-spacing:normal !important;
    line-height:1.6 !important;
  }
  /* Remove the old fixed-width / wide-margin illuminated first-verse treatment. */
  body.responsive-bible-chapter .psalmWrapper .poetryHeadingDiv,
  body.responsive-bible-chapter .psalmWrapper .poetryFirstLetterDropCap,
  body.responsive-bible-chapter .psalmWrapper .poetrySecondLetterDropCap,
  body.responsive-bible-chapter .psalmWrapper .poetrySecondLetterDropCap span {
    display:inline !important;
    float:none !important;
    position:static !important;
    width:auto !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    text-indent:0 !important;
    vertical-align:baseline !important;
    font-family:inherit !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    font-style:inherit !important;
    letter-spacing:inherit !important;
    line-height:inherit !important;
    color:inherit !important;
    -webkit-text-fill-color:currentColor !important;
    background:transparent !important;
    background-image:none !important;
    text-shadow:none !important;
    box-shadow:none !important;
    filter:none !important;
    -webkit-text-stroke:0 !important;
  }
  body.responsive-bible-chapter .psalmWrapper .poetryIndentBlock {
    display:inline !important;
    position:static !important;
    float:none !important;
    margin:0 !important;
    padding:0 !important;
    text-indent:0 !important;
    transform:none !important;
  }
  /* Preserve the individual theme's verse-number colour and visible verse labels. */
  body.responsive-bible-chapter .psalmWrapper .verse,
  body.responsive-bible-chapter .psalmWrapper .verseHeadingPoetry {
    display:inline !important;
    position:static !important;
    float:none !important;
    width:auto !important;
    margin:0 .4em 0 0 !important;
    padding:0 !important;
    vertical-align:baseline !important;
  }
  /* Don't make poetry a wider-than-screen horizontal strip by default. */
  body.responsive-bible-chapter .psalmWrapper,
  body.responsive-bible-chapter .psalmWrapper p.psalmCenter {
    white-space:normal !important;
  }
}



/* BIBLES.MY — CENTRE PSALM SUPERSCRIPTIONS */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper .superscription {
    display: block !important;
    position: static !important;
    float: none !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto 0.75rem !important;
    padding: 0 !important;

    text-align: center !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  .psalmWrapper .superscriptionSpecs {
    display: inline !important;
    position: static !important;
    float: none !important;

    margin: 0 0 0 0 !important;
    padding: 0 0 0 0 !important;

    text-align: center !important;
    text-indent: 0 !important;
  }

}


/* BIBLES.MY — CENTRED PSALM SUPERSCRIPTION */
/* 25px gap before the first Scripture verse */

@media screen and (max-width: 767px) {

  /* Superscription is a child of poetryContent */
  .poetryContent > .superscription {
    display: block !important;
    position: static !important;
    float: none !important;

    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 10px !important;
    padding: 0 !important;
font-size:14px;

    text-align: center !important;
    text-indent: 0 !important;
  }

  /* Preserve existing text styling */
  .poetryContent > .superscription
  .superscriptionSpecs {
    display: inline !important;
    position: static !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

}



/* PSALMS — REMOVE FIRST LINE BREAK */
/* Smartphones and tablets */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter > br {
    display: none !important;
  }

}


/* PSALMS — EXACT 12px GAP BETWEEN VERSE 1 AND FIRST LETTER */

@media screen and (max-width: 767px) {

  .psalmWrapper p.psalmCenter
  .poetryHeadingDiv > .verseHeadingPoetry {
    display: inline !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .psalmWrapper p.psalmCenter
  .poetryHeadingDiv > .poetryFirstLetterDropCap {
    display: inline-block !important;
    position: static !important;
    float: none !important;

    margin: 0 0 0 12px !important;
    padding: 0 !important;

    vertical-align: baseline !important;
  }

}


/* BIBLES.MY — DESKTOP BANNER AT 30% WIDTH */

@media screen and (min-width: 768px) {

  img[src*="banner.png"] {
    display: block !important;
    width: 30% !important;
    max-width: 30% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

}


/* BIBLES.MY — DESKTOP BANNER SIZE AND SPACING */

@media screen and (min-width: 768px) {

  img[src*="banner.png"] {
    display: block !important;
    width: 30% !important;
    max-width: 30% !important;
    height: auto !important;

    margin: 50px auto 15px auto !important;
    padding: 0 !important;
  }

}



/* BIBLES.MY — FIX DESKTOP PSALMS CHAPTER MENU */

@media screen and (min-width: 768px) {

  /* Main Psalms dropdown container */
  #footerMenu .PsalmBibleChapters.footer_dropup {
    box-sizing: border-box !important;
    width: 90% !important;
    max-width: 1100px !important;
    height: auto !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
    padding: 15px 20px 25px !important;
  }

  /* Arrange all 150 Psalms into columns */
  #footerMenu .PsalmBibleChapters.footer_dropup ul.navul {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 4px 12px !important;

    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Individual Psalm chapter items */
  #footerMenu .PsalmBibleChapters.footer_dropup ul.navul > li,
  #footerMenu .PsalmBibleChapters.footer_dropup ul.navul > li:last-of-type {
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Psalm chapter links */
  #footerMenu .PsalmBibleChapters.footer_dropup ul.navul > li > a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

}



/* BIBLES.MY — MOBILE TEXT RESIZE BUTTONS */

@media screen and (max-width: 767px) {

  .skin {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .skin .resize_tools {
    display: flex !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px !important;
    box-sizing: border-box !important;
  }

  .skin .resize_tools a {
    display: flex !important;
    position: static !important;
    flex: 1 1 0 !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 0 !important;
    height: 42px !important;
    padding: 0 4px !important;
    margin: 0 !important;

    background: #204677 !important;
    border: 1px solid #497ab9 !important;
    border-radius: 5px !important;

    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;

    box-sizing: border-box !important;
  }

  .skin > .textResize {
    display: none !important;
  }

}

/* =================================================
   BIBLES.MY — FIVE-BUTTON MOBILE CONTROL ROW
   ================================================= */

@media screen and (max-width: 767px) {

  #bibles-mobile-tools {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 4px !important;
    margin: 6px auto 22px !important;
    padding: 0 !important;
  }

  /* Text resizing occupies three fifths */

  #bibles-mobile-tools .skin {
    position: static !important;
    display: block !important;
    float: none !important;
    flex: 3 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  #bibles-mobile-tools .resize_tools {
    display: flex !important;
    position: static !important;
    width: 100% !important;
    height: 44px !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
  }

  /* Text buttons: − A + */

  #bibles-mobile-tools .resize_tools a {
    display: flex !important;
    position: static !important;
    float: none !important;
    flex: 1 1 0 !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #204677 !important;
    border: 1px solid #6896cc !important;
    border-radius: 5px !important;

    color: #ffffff !important;
    font: 600 15px Arial, sans-serif !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
  }

  /* Theme buttons occupy two fifths */

  #bibles-mobile-tools .colorTheme {
    position: static !important;
    display: flex !important;
    float: none !important;
    align-items: stretch !important;

    flex: 2 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;

    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
    box-shadow: none !important;
  }

  /* Light and Dark theme buttons */

  #bibles-mobile-tools .colorThemeButton {
    display: flex !important;
    position: static !important;
    float: none !important;
    flex: 1 1 0 !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 1px !important;

    background: #204677 !important;
    border: 1px solid #6896cc !important;
    border-radius: 5px !important;

    color: #ffffff !important;
    font: 600 11px Arial, sans-serif !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
  }

  /* Hide old descriptive labels */

  #bibles-mobile-tools .skin > .textResize,
  #bibles-mobile-tools .colorTheme > p {
    display: none !important;
  }

}
