/* Styles for the statically generated chapter/verse pages (tools/build-seo-pages.js) */

* { box-sizing: border-box; }

html {
    background-color: #E6A623;
}

body {
    margin: 0;
    font-family: 'Roboto', -apple-system, 'Segoe UI', sans-serif;
    background: #FFF8E1;
    color: #333;
    line-height: 1.7;
}

.site-header {
    background: #E6A623;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 20px 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header img {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

h1 {
    color: #A5252C;
    font-size: 1.6rem;
    line-height: 1.35;
    margin: 10px 0 4px;
}

h1 .ref {
    font-size: 1rem;
    font-weight: 400;
    color: #8a6d1a;
}

h2 {
    color: #A5252C;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 22px 0 6px;
}

.chapter-name {
    color: #6b5300;
    font-weight: 500;
    margin-top: 0;
}

.chapter-name a { color: inherit; }

.breadcrumbs {
    font-size: 0.85rem;
    color: #8a6d1a;
    margin-bottom: 6px;
}

.breadcrumbs a { color: #A5252C; text-decoration: none; }

.shloka,
.pre {
    white-space: pre-line;
}

.shloka {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5a1000;
    background: rgba(255, 220, 140, 0.5);
    border: 1px solid rgba(230, 166, 35, 0.5);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
}

.translit p, .translit .pre {
    font-style: italic;
    color: #5D4E75;
}

.pager {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    gap: 10px;
}

.pager a,
.lang-switch a {
    color: #A5252C;
    font-weight: 600;
    text-decoration: none;
}

.pager a:hover, .lang-switch a:hover { text-decoration: underline; }

.btn {
    display: inline-block;
    background: #E6A623;
    color: #5a1000;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.verse-list ol {
    padding-left: 18px;
}

.verse-list li {
    margin-bottom: 8px;
}

.verse-list a {
    color: #333;
    text-decoration: none;
}

.verse-list a strong { color: #A5252C; }

.verse-list a:hover { text-decoration: underline; }

.site-footer {
    background: #E6A623;
    text-align: center;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    color: #5a1000;
    font-weight: 500;
}

.site-footer a { color: #5a1000; }
