
/* =========================================================
   GLOBAL PAGE SETUP
========================================================= */

html {
    margin: 0;
    padding: 0;
    background: #21233b url(images/gradient.gif) repeat-x;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    color: #21233b;
    background: url(images/TheTrueWorldOrder.jpg) no-repeat center top;
}


/* =========================================================
   HEADER / IMAGE STRIP AREAS
========================================================= */

#image1 {
    background: url(images/Bar1.jpg) repeat-x;
    height: 35px;
    position: relative;
    z-index: 1;
}

#image2 {
    background: url(images/Bar2.jpg) repeat-x;
    position: relative;
    z-index: 2;
}

#image3 {
    background: url(images/Bar3.png) repeat-x;
    height: 358px;
}


/* =========================================================
   TOP NAVIGATION MENU (#first)
========================================================= */

#first ul {
    list-style-type: none;
    margin: 0;
    padding: 3px 5px 5px 5px;
    overflow: hidden;
}

#first li {
    float: left;
}

#first a {
    display: block;
    margin: 3px;
    padding: 3px 20px;
}


/* =========================================================
   SIDE NAVIGATION MENU (#second)
========================================================= */

#second ul {
    list-style-type: none;
    margin: 0;
    padding: 12px 20px 4px 20px;
    overflow: hidden;
}

#second li {
    float: center;
}

#second a {
    display: block;
    height: 15px;
    padding: 2px;
    margin: 3px;
    text-align: center;
}


/* =========================================================
   LINK STYLES (MENU BUTTON LOOKS)
========================================================= */

.class1 a:link,
.class1 a:visited {
    text-decoration: none;
    color: #e8e2fe;
    background-color: #6555a8;
    font-size: 0.875em;
    font-weight: bold;
    text-align: center;
}

.class1 a:hover,
.class1 a:active {
    color: #ffffff;
    background-color: #8c7acc;
}

.class2 a:link,
.class2 a:visited {
    text-decoration: none;
    color: #485366;
    background-color: #ffffff;
    font-size: 0.875em;
    font-weight: bold;
}

.class2 a:hover,
.class2 a:active {
    color: #262c36;
    background-color: #ddb9ff;
}

.class3 a:link,
.class3 a:visited {
    text-decoration: none;
    color: #485366;
    background-color: #ede7f7;
    font-size: 0.875em;
    font-weight: bold;
}

.class3 a:hover,
.class3 a:active {
    color: #262c36;
    background-color: #ddb9ff;
}

.class4 a:link,
.class4 a:visited {
    text-decoration: none;
    color: #aaaaaa;
    background-color: #ffffff;
    font-size: 0.7 em;
}

.class4 a:hover,
.class4 a:active {
    color: #485366;
    background-color: #ede7f7;
}

.class5 a:link,
.class5 a:visited {
    color: #aaaaaa;
    background-color: #ffffff;
    font-size: 0.7em;
}

.class5 a:hover,
.class5 a:active {
    color: #485366;
    background-color: #ede7f7;
}

.class6 a:link,
.class6 a:visited {
    color: #aaaaaa;
    background-color: #ffffff;
    font-size: 0.8em;
}

.class6 a:hover,
.class6 a:active {
    color: #485366;
    background-color: #ede7f7;
}


/* =========================================================
   CURRENT PAGE HIGHLIGHT
========================================================= */

/* SIDE MENU = KEEP YELLOW */
#second a.current-page {
    background-color: #f1e297 !important;
    color: #485366 !important;
}

/* TOP MENU = PURPLE BETWEEN NORMAL + HOVER */
#first a.current-page {
    background-color: #574991 !important;
    color: #ffffff !important;
}

/* =========================================================
   TEXT / CONTENT STYLES
========================================================= */

p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 115%;
    line-height: 1.7;
    text-indent: 30px;
}

p.para2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 115%;
    line-height: 1.7;
    text-indent: 0px;

}

p.copyright,
p.anchor {
    font-size: 95%;
    text-align: center;
    text-indent: 0;
    line-height: 1.7;
}

p.title-center {
    margin: 0;
    padding: 0;
    text-indent: 0;
    text-align: center;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 115%;
    line-height: 1.3;
}

p.author {
    text-align: center;
    text-indent: 0;
    margin: 0;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 115%;
    line-height: 1.3;
}

p.R2 {
    font-size: 115%;
    text-align: center;
    text-indent: 0;
    margin: 0;
    padding: 0;
    font-weight: 600;
    line-height: 1.3;
    font-family: Georgia, "Times New Roman", serif;
}
/* =========================================================
   "ul" and "li"for table of contents for Books
========================================================= */
ul.toc {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

ul.toc li {
    line-height: 3;
    font-family: Georgia, "Times New Roman", serif;
}
/* =========================================================
   HEADINGS
========================================================= */

h1 {
    font-size: 230%;
    color: #7365a0;
    font-weight: bold;
    letter-spacing: -0.05em;
    position: relative;
    margin: 0.7em 0;
    padding-top: 3px;
    width: 100%;
    font-family: "Times New Roman", Times, serif;
}

h2 {
    font-size: 115%;
    text-align: center;
    position: relative;
    margin: 0; 
    padding: 0;
    font-size: 115%;
    font-weight: 500;
    line-height: 1.5;
    width: 100%;
    font-family: Georgia, "Times New Roman", serif;
}


h3 {
    font-size: 115%;
    text-align: center;
    position: relative;
    font-size: 115%;
    font-weight: 500;
    line-height: 1.5;
    font-family: Georgia, "Times New Roman", serif;
}

h4 {
    font-size: 130%;
    color: #7365a0;
    font-weight: bold;
    letter-spacing: -0.05em;
    position: relative;
    margin: 0.7em 0;
    padding-top: 3px;
    width: 100%;
}


/* =========================================================
   HEADING GRADIENT OVERLAY
========================================================= */

h1 span,
h4 span {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: url(images/gradient_1.png) repeat-x;
}

h1 span,
h3 span {
    background: url(images/gradient_2.png) repeat-x;
}

/* =========================================================
   PURPLE FADED UNDERLINE FOR HEADINGS
========================================================= */

h1::after,
h4::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 6px;

    background: linear-gradient(
        to right,
        #7365a0 0%,
        rgba(115, 101, 160, 0.45) 45%,
        rgba(115, 101, 160, 0) 100%
    );
}


/* =========================================================
   TABLE SPACING HELPERS
========================================================= */

table.padded-table td {
    padding: 7px 64px;
}
/* =========================================================
   MOBILE ADJUSTMENTS
========================================================= */
@media (max-width: 768px) {

    body {
        font-size: 90%;
    }

    p,
    p.para2,
    p.title-center,
    p.R2,
    p.author {
        font-size: 105%;
        line-height: 1.6;
    }

    h1 { font-size: 220%; }
    h2 { font-size: 105%; }
    h3 { font-size: 170%; }
    h4 { font-size: 135%; }
}

/* =========================================================
   ACTIVE PAGE HIGHLIGHT
========================================================= */

a.nav-link.current-page {
    background-color: #f1e297;
    color: #485366;
}
/* =========================================================
   Sections for Books
========================================================= */

section p {
    text-align: left;
    text-indent: 30px;
}




/* =========================
   FOOTER CONTAINER
========================= */

.site-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 10px;
    background-color: #ede7f7;
    border-top: 2px solid #7365a0;
}

/* =========================
   BACK TO TOP LINK
========================= */

.footer-backtop {
    text-align: center;
    margin-bottom: 10px;
}

.footer-backtop a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.85em;
    font-weight: bold;
    color: #485366;
    text-decoration: none;

    padding: 0;
    margin: 0;

    transition: background-color 0.15s ease, color 0.15s ease;
}

.footer-backtop a:hover {
    background-color: #ddb9ff;
    color: #262c36;
}

.footer-backtop a:active {
    transform: translateY(1px);
}

/* =========================
   FOOTER ROWS (GAP SYSTEM)
========================= */

.footer-row {
    list-style: none;
    padding: 0;
    margin: 6px 0;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px; /* <-- controls spacing between links */
}

/* remove default list spacing */
.footer-row li {
    margin: 0;
    padding: 0;
}

/* =========================
   LINK STYLE (NO LAYOUT SHIFT)
========================= */

.footer-row a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.85em;
    font-weight: bold;
    color: #485366;
    text-decoration: none;

    padding: 0;
    margin: 0;

    transition: background-color 0.15s ease, color 0.15s ease;
}

/* hover effect (no movement) */
.footer-row a:hover {
    background-color: #ddb9ff;
    color: #262c36;
}

/* click feedback */
.footer-row a:active {
    transform: translateY(1px);
}
/* =========================================================
   INTERNAL DESIGN SYSTEM NOTE
   (Global UI transition control)
========================================================= */
:root {
    --ui-transition: all 0.15s ease-in-out;
}

/* =========================================================
   GLOBAL UI EASING EXPANSION (SAFE ADD-ON)
   Applies consistent motion feel across site
========================================================= */

/* Links everywhere */
a {
    transition: var(--ui-transition);
}

/* Top + side navigation */
#first a,
#second a {
    transition: var(--ui-transition);
}

/* Footer links (already included but reinforced safely) */
.footer-row a,
.footer-backtop a {
    transition: var(--ui-transition);
}

/* Menu button styles (class-based nav items) */
.class1 a,
.class2 a,
.class3 a,
.class4 a,
.class5 a,
.class6 a {
    transition: var(--ui-transition);
}

/* Headings with hover or interactive effects (future-proofing) */
h1,
h2,
h3,
h4 {
    transition: var(--ui-transition);
}

/* Images used as interactive elements (optional safety net) */
a img {
    transition: var(--ui-transition);
}

/* =========================================================
   REFTAGGER LINK COLORS (alt colors:#3498db, #2980b9, #5dade2)
========================================================= */
a.rtBibleRef {
    color: #5b9bd5 !important;
}

a.rtBibleRef:visited {
    color: #4472c4 !important;
}

a.rtBibleRef:hover {
    color: #7fb3e6 !important;
}

/* =========================================================
Picture Caption Text
========================================================= */
figcaption {
    margin-top: 8px;
    font-size: 0.9em;
    font-style: italic;
    color: #555;
    text-align: center;
}
@media (max-width: 600px) {
    figcaption {
        font-size: 0.8em;
        margin-top: 6px;
        padding: 0 10px;
    }
}


/* =========================================================
   SCRIPTURE EXPLORER / DAILY SCRIPTURE
========================================================= */

.scripture-card {
    max-width: 850px;
    margin: 20px auto 30px auto;
    padding: 25px 35px;

    background: #f8f5ff;

    border: 1px solid #d8d0ef;

    border-radius: 8px;

    text-align: center;
}

/* DATE */
.daily-date {
    text-align: left;
    text-indent: 0;
    margin: 0 0 20px 0;
    font-style: italic;
    font-weight: 500;
    color: #7365a0;
}

/* MAIN VERSE REFERENCE */
.verse-reference {
    text-align: center;
    font-size: 135%;
    font-weight: bold;
    color: #7365a0;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

/* FEATURED VERSE */
.daily-verse {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 115%;
    line-height: 1.8;
    text-align: left;
    text-indent: 0;
    margin-top: 20px;
    margin-bottom: 25px;
}

/* CONTEXT REFERENCE */
.context-reference {
    text-align: center;
    text-indent: 0;
    font-size: 120%;
    font-weight: bold;
    color: #7365a0;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* CONTEXT PASSAGE */
.scripture-paragraph {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 115%;
    line-height: 1.8;
    text-align: left;
    text-indent: 0;
}

/* SMALL SUPERSCRIPT VERSE NUMBERS */
.verse-number {
    color: #7365a0;
    font-size: 50%;
    font-weight: bold;
    vertical-align: super;
    margin-right: 2px;
}

/* RELATED ARTICLES */
.related-teachings {
    text-align: center;
    margin-top: 30px;
}

.related-teachings h3 {
    margin-bottom: 12px;
}

.related-list {
    display: inline-block;
    text-align: left;
    list-style: disc;
    padding-left: 25px;
    margin: 15px auto;
}

.related-list li {
    margin: 10px 0;
}

/* BULLETS MATCH LINK COLOR */
.related-list li::marker {
    color: #5b9bd5;
}

/* ARTICLE LINKS */
.scripture-link {
    color: #5b9bd5;
    text-decoration: none;
    font-weight: bold;
}

.scripture-link:visited {
    color: #5b9bd5;
}

.scripture-link:hover {
    color: #7fb3e6;
    text-decoration: underline;
}

/* PREVIOUS / SHARE / NEXT */
.scripture-nav {
    margin: 30px 0;
    text-align: center;
}

.scripture-nav a {
    margin: 0 12px;
    text-decoration: none;
    font-weight: bold;
    color: #7365a0;
}

.scripture-nav a:hover {
    color: #9b8acb;
}

/* MOBILE */
@media (max-width: 768px) {

    .scripture-card {
        width: 100%;
        padding: 20px;
    }

.verse-box {
    background: #ffffff;
    border: 1px solid #e5e0f2;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 20px;

    margin-bottom: 25px;
}

.context-box {
    background: #ffffff;
    border: 1px solid #e5e0f2;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    padding: 20px;

    margin-top: 10px;
    margin-bottom: 25px;
}
    .verse-reference {
        font-size: 125%;
    }

    .context-reference {
        font-size: 110%;
    }

    .daily-verse,
    .scripture-paragraph {
        font-size: 105%;
        line-height: 1.7;
    }

    .related-list {
        padding-left: 20px;
    }
}