body {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    background-color: #4B0082;
    color: white;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ddd;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.nav-dropdown-trigger::after {
    content: "▾";
    font-size: 0.78rem;
    line-height: 1;
    opacity: 0.9;
    transition: transform 0.18s ease;
}

.nav-dropdown.is-open .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.15rem);
    left: 0;
    z-index: 60;
    width: min(94vw, 980px);
    max-height: min(78vh, 42rem);
    overflow: hidden;
    background: #ffffff;
    color: #2b2b2b;
    border: 1px solid #d7c8ea;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(26, 8, 44, 0.2);
    padding: 0.75rem;
    display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}


.nav-bible-mega-menu {
    width: min(94vw, 980px);
}

.nav-catechism-mega-menu {
    width: min(92vw, 820px);
}

.nav-mega-layout {
    display: grid;
    gap: 0.75rem;
}

.nav-layout-three {
    grid-template-columns: 200px 300px minmax(260px, 1fr);
}

.nav-layout-two {
    grid-template-columns: 220px minmax(300px, 1fr);
}

.nav-mega-pane {
    min-height: 19rem;
    border: 1px solid #eadff5;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdfd 0%, #fbf7ff 100%);
}

.nav-mega-pane-header {
    padding: 0.9rem 1rem 0.75rem;
    border-bottom: 1px solid #eee4f7;
    background: linear-gradient(180deg, rgba(247, 240, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.nav-mega-pane-title {
    margin: 0;
    color: #4B0082;
    font-size: 1rem;
    font-weight: 700;
}

.nav-mega-pane-subtitle {
    margin: 0.22rem 0 0;
    color: #6d5c80;
    font-size: 0.82rem;
}

.nav-mega-pane-body {
    padding: 0.45rem;
}

.nav-mega-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 24rem;
    overflow: auto;
}

.nav-mega-selector,
.nav-mega-link {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #4B0082;
    text-align: left;
    text-decoration: none;
    font: inherit;
}

.nav-mega-selector {
    cursor: pointer;
    padding: 0.82rem 0.9rem;
    font-weight: 700;
}

.nav-mega-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.78rem 0.9rem;
    box-sizing: border-box;
}

.nav-mega-selector:hover,
.nav-mega-selector:focus-visible,
.nav-mega-link:hover,
.nav-mega-link:focus-visible,
.nav-mega-selector.is-active,
.nav-book-entry.is-active {
    background: #f2e9fb;
    color: #5f1496;
    outline: none;
}

.nav-entry-text {
    display: block;
    font-weight: 700;
    line-height: 1.35;
}

.nav-entry-meta {
    color: #80659f;
    font-size: 0.8rem;
    white-space: nowrap;
}

.nav-chapter-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 0.45rem;
    max-height: 24rem;
    overflow: auto;
}

.nav-chapter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 9px;
    border: 1px solid #d9cbe9;
    background: #faf7ff;
    color: #4B0082;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
}

.nav-chapter-link:hover,
.nav-chapter-link:focus-visible {
    background: #4B0082;
    border-color: #4B0082;
    color: white;
    text-decoration: none;
    outline: none;
}

.nav-catechism-entry {
    align-items: center;
}

.nav-dropdown-small {
    font-size: 0.85rem;
    color: #6b5a7d;
    margin-top: 0.4rem;
}

@media (max-width: 980px) {

    .nav-dropdown-menu,
    .nav-bible-mega-menu,
    .nav-catechism-mega-menu {
        position: fixed;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-height: 72vh;
    }

    .nav-layout-three,
    .nav-layout-two {
        grid-template-columns: 1fr;
    }

    .nav-mega-pane {
        min-height: 0;
    }

    .nav-mega-list,
    .nav-chapter-list {
        max-height: 12rem;
    }
}

.site-search {
    max-width: 800px;
    margin: 1rem auto 0;
    text-align: left;
    box-shadow: 0 8px 24px rgba(24, 8, 46, 0.14);
}

.site-search h2,
.site-search .bible-search-help,
.site-search .bible-search-feedback {
    color: inherit;
}

.site-search h2 {
    color: #4B0082;
}

.site-search .bible-search-help {
    color: #5c4a75;
}

.site-search .bible-search-feedback {
    color: #6a6a6a;
}

.site-search-row input {
    min-width: 0;
}

#site-search-button {
    border: 1px solid #4B0082;
    background: #4B0082;
    color: #fff;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

#site-search-button:hover {
    background: #5f1496;
    border-color: #5f1496;
}

#site-search-input {
    border: 1px solid #c8badf;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
    outline: none;
}

#site-search-input:focus {
    border-color: #7c57b1;
    box-shadow: 0 0 0 3px rgba(124, 87, 177, 0.15);
}

main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #746159;
}

footer p {
    margin: 0.35rem 0;
}

#readings-content h2 {
    color: #4B0082;
    border-bottom: 2px solid #4B0082;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

#readings h3 {
    color: #4B0082;
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.reading {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-left: 5px solid #4B0082;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.reading:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.devotional {
    margin: 2.5rem 0;
    padding: 2rem;
    border: 1px solid #e7dff3;
    border-left: 5px solid #6b0c9b;
    border-radius: 8px;
    background: linear-gradient(180deg, #fffdfd 0%, #f7f1fb 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.devotional h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: #4B0082;
    font-size: 1.3rem;
}

.devotional p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.devotional-prayer {
    margin-top: 1rem;
    color: #4a345d;
}

.reading h4 {
    color: #4B0082;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.reading p {
    margin: 0.5rem 0;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    hyphens: auto;
    word-spacing: 0.1em;
}

.reading p:first-of-type {
    text-indent: 0;
}

.reading strong {
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
    display: block;
    margin-bottom: 0.5rem;
}

.prayer {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-left: 5px solid #4B0082;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.prayer:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prayer h3 {
    color: #4B0082;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.prayer p {
    margin: 0.5rem 0;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    text-indent: 1.5em;
    margin-bottom: 1.2rem;
    hyphens: auto;
    word-spacing: 0.1em;
}

.prayer p:first-of-type {
    text-indent: 0;
}

.verse {
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.verse sup {
    font-size: 0.8em;
    color: #666;
    font-weight: bold;
    margin-right: 0.3em;
}

/* Bible Books Styles */
#bible-books h2 {
    color: #4B0082;
    border-bottom: 2px solid #4B0082;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.testament {
    margin-bottom: 3rem;
}

.testament h3 {
    color: #4B0082;
    font-size: 1.4em;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.book-link {
    display: block;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.book-link:hover {
    background-color: #4B0082;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 0, 130, 0.2);
}

.book-link:active {
    transform: translateY(0);
}

/* Chapter and Verse Display */

#chapter-list {
    display: block;
}

#chapter-view {
    margin-top: 2rem;
}

.chapter-navigation,
.verse-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.nav-button {
    background-color: #4B0082;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #6B0C9B;
}

.chapter-carousel {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0 1.5rem;
}

.chapter-carousel-title {
    margin: 0;
    text-align: center;
    color: #4B0082;
    letter-spacing: 0.3px;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.2rem 0.55rem;
}

.chapter-carousel-title:hover {
    background: #f5f1fa;
}

.chapter-carousel-title:focus-visible {
    outline: 2px solid #4B0082;
    outline-offset: 2px;
}

.chapter-browser-popover {
    border: 1px solid #e4d8f1;
    border-radius: 12px;
    background: #fff;
    padding: 0.9rem;
    margin: 0.2rem 0 1rem;
    box-shadow: 0 8px 24px rgba(37, 14, 58, 0.12);
}

.chapter-browser-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.chapter-browser-header label {
    font-weight: 700;
    color: #4B0082;
}

#chapter-browser-book {
    border: 1px solid #cfbfdf;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    font-size: 0.96rem;
}

.chapter-browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 0.45rem;
    max-height: 13rem;
    overflow: auto;
}

.chapter-browser-chapter {
    min-height: 36px;
    border: 1px solid #d9cbe9;
    border-radius: 8px;
    background: #faf7ff;
    color: #4B0082;
    font-weight: 700;
    cursor: pointer;
}

.chapter-browser-chapter:hover,
.chapter-browser-chapter:focus-visible,
.chapter-browser-chapter.is-active {
    background: #4B0082;
    color: #fff;
    border-color: #4B0082;
    outline: none;
}

.date-picker-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.date-title-button {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.date-title-button:hover {
    background: #f5f1fa;
}

.date-title-button:focus-visible {
    outline: 2px solid #4B0082;
    outline-offset: 2px;
}

.date-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.date-input-hidden.date-input-mobile-active {
    position: fixed;
    top: 5.25rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    height: 2.9rem;
    margin: 0;
    padding: 0 0.75rem;
    clip: auto;
    white-space: normal;
    border: 1px solid rgba(75, 0, 130, 0.35);
    border-radius: 10px;
    background: #ffffff;
    color: #2f2340;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
    z-index: 120;
    box-shadow: 0 10px 24px rgba(32, 14, 54, 0.2);
}

.chapter-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: #fff;
    color: #4B0082;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.chapter-arrow:hover {
    background-color: #f5f1fa;
    border-color: #bba2d8;
}

.chapter-arrow:active {
    background-color: #ece3f8;
}

.chapter-arrow.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: #fafafa;
    border-color: #e8e8e8;
    color: #9b9b9b;
}

#catechism-content {
    max-width: 900px;
    margin: 0 auto;
}

#catechism-controls {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
}

.catechism-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #6c6a14;
    background: #ffffff;
    font-size: 1.6rem;
    font-weight: 400;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.catechism-arrow:hover {
    background: #fbf8eb;
    border-color: rgba(181, 177, 41, 0.5);
    color: #247300;
}

.catechism-page-section {
    margin-top: 1.75rem;
}

.catechism-page-title {
    margin: 0 0 1rem;
    color: #1d1d1d;
    font-size: 1.5rem;
    line-height: 1.25;
}

.catechism-heavy-header,
.catechism-heading {
    margin: 1.1rem 0 0.65rem;
    color: #2f2f2f;
    line-height: 1.35;
}

.catechism-heavy-header {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.catechism-heading {
    font-size: 1rem;
}

.catechism-paragraph {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0.8rem 0;
}

.catechism-paragraph-highlighted {
    background: linear-gradient(90deg, rgba(255, 242, 172, 0.38) 0%, rgba(255, 242, 172, 0) 100%);
    border-radius: 8px;
}

.catechism-paragraph-text,
.catechism-copy {
    margin: 0;
    line-height: 1.65;
    color: #2b2b2b;
}

.catechism-paragraph-text-indented,
.catechism-copy-indented {
    margin-left: 2rem;
    margin-right: 2rem;
}

.catechism-number {
    display: inline-block;
    color: #b5b129;
    font-weight: 700;
    border-left: 3px solid #b5b129;
    margin-right: 0.55rem;
    padding-left: 0.65rem;
}

.catechism-footnote-ref a,
.catechism-inline-arrow,
.catechism-footnote a {
    color: #b5b129;
    text-decoration: none;
}

.catechism-footnote-ref a:hover,
.catechism-inline-arrow:hover,
.catechism-footnote a:hover {
    color: #247300;
}

.catechism-footnote-ref {
    font-size: 0.75em;
    line-height: 0;
    margin-left: 0.1rem;
}

.catechism-inline-arrow {
    margin-left: 0.25rem;
    font-weight: 700;
}

.catechism-footnotes {
    margin-top: 1.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid #ece3c6;
}

.catechism-footnotes-title {
    margin: 0 0 0.5rem;
    color: #6a6a6a;
    font-size: 0.95rem;
    font-weight: 500;
}

.catechism-footnote {
    margin: 0.4rem 0;
    font-size: 0.86rem;
    line-height: 1.55;
}

.catechism-footnote-number {
    border-left: 3px solid #247300;
    margin-right: 0.3rem;
    padding-left: 0.55rem;
    font-weight: 700;
}


@media (max-width: 640px) {
    .chapter-carousel {
        grid-template-columns: 32px 1fr 32px;
        gap: 0.45rem;
    }

    .chapter-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.92rem;
    }

    .catechism-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.35rem;
    }

    .catechism-page-title {
        font-size: 1.3rem;
    }

    .catechism-paragraph-text-indented,
    .catechism-copy-indented {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .nav-book-submenu,
    .nav-chapter-submenu,
    .nav-section-submenu {
        top: calc(100% - 1px);
        left: 0;
        width: 240px;
    }

}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.chapter-link {
    display: block;
    padding: 0.75rem;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.chapter-link:hover {
    background-color: #4B0082;
    color: white;
    transform: translateY(-1px);
}




#verses {
    line-height: 1.8;
    font-size: 1.1em;
}

#verses-list .chapter-verses-result {
    margin-top: 0.4rem;
}

#chapters-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.testament-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
    max-width: 920px;
    margin: 0 auto;
}

.testament-panel {
    background: #fff;
    border: 1px solid #e7dff3;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testament-panel h3 {
    margin: 0 0 0.85rem;
    color: #4B0082;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    text-align: center;
}

#old-testament-list,
#new-testament-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
}

.book-item,
.chapter-item {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.book-item:hover,
.chapter-item:hover {
    background-color: #4B0082;
    color: white;
}

.bible-search {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e1d8ef;
    border-radius: 10px;
    background: #fff;
}

/* Search Results Page */
#search-results-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

#search-status {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

#bible-results-section,
#catechism-results-section {
    margin-bottom: 2.5rem;
}

#bible-results-section h2,
#catechism-results-section h2 {
    color: #4B0082;
    font-size: 1.5rem;
    border-bottom: 2px solid #4B0082;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

#bible-results,
#catechism-results {
    display: block;
}

.search-result-item {
    background: #fff;
    border: 1px solid #e1d8ef;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(75, 0, 130, 0.08);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 16px rgba(75, 0, 130, 0.15);
    transform: translateY(-2px);
}

.search-result-item h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.search-result-item h3 a {
    color: #4B0082;
    text-decoration: none;
    font-weight: 700;
}

.search-result-item h3 a:hover {
    text-decoration: underline;
    color: #6f1da6;
}

.search-result-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.search-result-content {
    white-space: pre-wrap;
}

/* Grouped verse list inside a single Bible card */
.result-verses-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.75rem 0 1rem;
}

.result-verse-row {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.35rem 0.85rem;
    align-items: baseline;
}

.result-verse-ref {
    font-weight: 700;
    color: #4B0082;
    white-space: nowrap;
    font-size: 0.88rem;
    font-family: 'Manrope', sans-serif;
}

.result-verse-text {
    color: #333;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* Grouped paragraph list inside a single Catechism card */
.result-paragraphs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0.75rem 0 1rem;
}

.result-paragraph-row {
    border-top: 1px solid #e1d8ef;
    padding: 0.75rem 0;
}

.result-paragraph-row:first-child {
    border-top: none;
    padding-top: 0;
}

.result-para-ref {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    color: #4B0082;
}

.result-para-text {
    margin: 0;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}

.search-result-actions {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.result-action-link,
.result-action-button {
    border: 1px solid #d3c2ea;
    border-radius: 6px;
    padding: 0.38rem 0.62rem;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    color: #4B0082;
    background: #faf7ff;
}

.result-action-button {
    cursor: pointer;
}

.result-action-link:hover,
.result-action-button:hover {
    background: #4B0082;
    color: #fff;
}

.result-action-button.is-success {
    background: #0b7a3f;
    border-color: #0b7a3f;
    color: #fff;
}

.result-action-button.is-failure {
    background: #9a1f1f;
    border-color: #9a1f1f;
    color: #fff;
}

.bible-search h2 {
    margin: 0;
    color: #4B0082;
    font-size: 1.25rem;
}

.bible-search-help {
    margin: 0.4rem 0 0.8rem;
    color: #5c4a75;
    font-size: 0.95rem;
}

.bible-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
}

#bible-search-input {
    border: 1px solid #c8badf;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
    outline: none;
}

#bible-search-input:focus {
    border-color: #7c57b1;
    box-shadow: 0 0 0 3px rgba(124, 87, 177, 0.15);
}

#bible-search-button {
    border: 1px solid #4B0082;
    background: #4B0082;
    color: #fff;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

#bible-search-button:hover {
    background: #5f1496;
    border-color: #5f1496;
}

.bible-search-feedback {
    min-height: 1.2em;
    margin: 0.55rem 0 0;
    color: #6a6a6a;
    font-size: 0.93rem;
}

.search-result-group {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #e7dff3;
    border-radius: 8px;
    background: #fff;
}

.search-result-ref {
    margin: 0 0 0.5rem;
    color: #4B0082;
    font-weight: 700;
}

.search-result-error {
    margin: 0;
    color: #9d3d2f;
}

.search-result-meta {
    margin: 0 0 0.5rem;
    color: #6a5d7b;
    font-size: 0.9rem;
}

.search-highlight {
    background: #fff2ac;
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

@media (max-width: 800px) {
    .testament-columns {
        grid-template-columns: 1fr;
    }

    .bible-search-row {
        grid-template-columns: 1fr;
    }

    .nav-dropdown-menu {
        width: min(92vw, 240px);
        left: auto;
        right: -1rem;
    }

    .nav-chapter-grid {
        grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
        max-height: 11rem;
    }

    .nav-book-submenu,
    .nav-chapter-submenu {
        left: 0;
        top: calc(100% - 1px);
        width: min(82vw, 320px);
    }
}

body.home-page {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 243, 218, 0.92) 0%, rgba(255, 243, 218, 0) 32%),
        linear-gradient(180deg, #f7efe2 0%, #fbf7ef 42%, #f6efdf 100%);
    color: #2f2340;
}

body.app-page {
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 243, 218, 0.92) 0%, rgba(255, 243, 218, 0) 32%),
        linear-gradient(180deg, #f7efe2 0%, #fbf7ef 42%, #f6efdf 100%);
    color: #2f2340;
}

body.home-page header,
body.app-page header {
    background: transparent;
    color: #2f2340;
    padding: 1.4rem 1.5rem 0;
    text-align: left;
    box-shadow: none;
}

.home-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
}

.home-brand-logo-shell {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(42, 25, 2, 0.24);
}

.home-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2.2);
    transform-origin: center;
}

.home-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.home-brand-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.home-brand-tagline {
    font-size: 0.84rem;
    color: #6e5e74;
}

.home-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-nav li {
    display: block;
    margin: 0;
}

.home-nav a,
.home-nav .nav-dropdown-trigger {
    position: relative;
    color: #3f3150;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.home-nav a::after,
.home-nav .nav-dropdown-trigger::after {
    color: currentColor;
}

.home-nav a.is-current::before,
.home-nav .is-open>.nav-dropdown-trigger::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.85rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d8a53c 0%, #b97f15 100%);
}

.home-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    position: relative;
}

.translation-picker-select {
    min-width: 0;
    width: 100%;
    margin-left: 0.015in;
}

.top-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 360px) auto;
    align-items: center;
    gap: 0.3;
    min-width: 0;
}

.top-search>* {
    min-width: 0;
}

.top-search #site-search-input,
.translation-picker-select {
    min-height: 46px;
    border: 1px solid rgba(91, 46, 130, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #2f2340;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.top-search #site-search-input:focus,
.translation-picker-select:focus {
    border-color: rgba(91, 46, 130, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 87, 177, 0.16);
}

.top-search #site-search-button {
    border: 1px solid #4d1b84;
    background: #4d1b84;
    color: #fff;
    border-radius: 10px;
    padding: 0.55rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 46px;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 0.45rem;
}

.top-search #site-search-button:hover {
    background: #6124a2;
    border-color: #6124a2;
}

.top-search-feedback {
    position: absolute;
    right: 0;
    bottom: -1.35rem;
    margin: 0;
    font-size: 0.75rem;
    min-height: 0;
}

.home-action-link {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(91, 46, 130, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: #5e2d88;
    box-shadow: 0 6px 14px rgba(83, 43, 107, 0.09);
}

.home-action-link svg,
.home-search-card button svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.home-page main,
body.app-page main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 3rem;
}

.app-main {
    width: 100%;
}

.app-content-card {
    border-radius: 24px;
    border: 1px solid rgba(157, 123, 72, 0.15);
    background: rgba(255, 251, 246, 0.92);
    box-shadow: 0 16px 36px rgba(98, 74, 43, 0.08);
    padding: 1.4rem;
}

.home-shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(540px, 2.15fr) minmax(250px, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.home-hero-panel,
.home-readings-panel,
.home-shortcuts-card,
.home-reflection-card {
    border: 1px solid rgba(157, 123, 72, 0.12);
    box-shadow: 0 16px 40px rgba(98, 74, 43, 0.08);
}

.home-hero-panel {
    position: relative;
    overflow: hidden;
    min-height: clamp(260px, 52vh, 480px);
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 249, 240, 0.98) 0%, rgba(251, 243, 225, 0.97) 60%, rgba(245, 234, 208, 0.95) 100%);
}

.home-hero-panel::before {
    content: '';
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    width: 11rem;
    height: 11rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 90, 0.22) 0%, rgba(255, 200, 90, 0) 72%);
    pointer-events: none;
}

.home-hero-panel::after {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 0, 130, 0.07) 0%, rgba(75, 0, 130, 0) 72%);
    pointer-events: none;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    text-align: center;
    z-index: 1;
}

.home-hero-overlay::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    bottom: 1.5rem;
    width: 2.1rem;
    height: 0.18rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #4B0082 0%, rgba(75, 0, 130, 0) 100%);
    opacity: 0.25;
}

.home-hero-verse {
    position: relative;
    z-index: 1;
    max-width: 14ch;
    margin: 0 auto;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.55rem, 1.9vw, 2.2rem);
    line-height: 1.25;
    color: #2f2340;
}

.home-hero-reference {
    position: relative;
    z-index: 1;
    margin: 0.75rem 0 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1rem, 1.1vw, 1.25rem);
    font-weight: 700;
    color: #4B0082;
}

.home-readings-panel {
    border-radius: 30px;
    background: rgba(255, 250, 243, 0.88);
    padding: 2rem 1.8rem 1.2rem;
    backdrop-filter: blur(10px);
}

.home-readings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.home-section-label,
.home-sidebar-eyebrow {
    margin: 0 0 0.45rem;
    color: #6d2ca0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-readings-header h1 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 0.95;
    color: #35214b;
    max-width: 13ch;
}

.home-carousel {
    display: none;
}

.home-date-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.25rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 250, 243, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(194, 154, 90, 0.18);
    box-shadow: 0 4px 16px rgba(98, 74, 43, 0.07);
}

.home-arrow {
    width: 2.9rem;
    height: 2.9rem;
    flex-shrink: 0;
    border-radius: 999px;
    border-color: rgba(194, 154, 90, 0.28);
    color: #c58616;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(177, 129, 53, 0.12);
}

.home-arrow:hover {
    background: #fff5e4;
    border-color: rgba(194, 154, 90, 0.5);
}

.home-date-button {
    flex: 1;
    text-align: center;
    margin-top: 0;
    padding: 0.3rem 0.5rem;
    color: #8d6720;
    font-size: 0.98rem;
    font-weight: 700;
}

.home-readings-body {
    min-height: 420px;
}

.readings-season-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.readings-season-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.readings-season-label {
    color: #61506d;
    font-size: 0.92rem;
    font-weight: 700;
}

.readings-season-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #f6df9f;
    color: #8d6120;
    font-size: 0.84rem;
    font-weight: 800;
}

.readings-season-share {
    border: 1px solid rgba(109, 44, 160, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #6d2ca0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 0.34rem 0.74rem;
    cursor: pointer;
    white-space: nowrap;
}

.readings-season-share:hover,
.readings-season-share:focus-visible {
    background: #ffffff;
    border-color: rgba(109, 44, 160, 0.46);
    outline: none;
}

.reading-panel-stack {
    display: grid;
    gap: 0.85rem;
}

.reading-panel {
    border-radius: 18px;
    background: #fffdf9;
    border: 1px solid rgba(198, 171, 129, 0.24);
    box-shadow: 0 10px 24px rgba(105, 74, 43, 0.06);
    overflow: hidden;
}

.reading-panel-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 0;
    background: transparent;
    text-align: left;
}

.reading-panel-number {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #d4a12f 0%, #b87a15 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.reading-panel-heading {
    display: grid;
    gap: 0.28rem;
}

.reading-panel-title {
    color: #5a2c84;
    font-size: 1rem;
    font-weight: 800;
}

.reading-panel-citation {
    color: #2f2340;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 0.95;
}

.reading-panel-icon {
    width: 2rem;
    height: 2rem;
    position: relative;
    border-radius: 999px;
    border: 1px solid rgba(197, 166, 118, 0.26);
    color: #b97b17;
}

.reading-panel-icon::before,
.reading-panel-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.7rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.reading-panel-icon::before {
    transform: translate(-80%, -50%) rotate(45deg);
}

.reading-panel-icon::after {
    transform: translate(-20%, -50%) rotate(-45deg);
}

.reading-panel.is-open .reading-panel-icon::before {
    transform: translate(-80%, -50%) rotate(-45deg);
}

.reading-panel.is-open .reading-panel-icon::after {
    transform: translate(-20%, -50%) rotate(45deg);
}

.reading-panel-body {
    padding: 0 1.1rem 1.15rem 4rem;
}

.reading-panel-preview,
.reading-panel-empty {
    margin: 0 0 0.9rem;
    color: #544664;
    font-size: 1rem;
    line-height: 1.65;
}

.reading-panel-scripture {
    display: grid;
    gap: 0.3in;
    color: #392b48;
}

.reading-panel-scripture .verse {
    display: block;
    margin-bottom: 0;
    line-height: 1.7;
}

.reading-panel-link,
.readings-source a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: #6d2ca0;
    font-weight: 800;
    text-decoration: none;
}

.reading-panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.reading-panel-link::after {
    content: '\2192';
}

.reading-loading,
.readings-empty {
    padding: 1.1rem 0;
    color: #5f5465;
    font-weight: 600;
}

.readings-source {
    margin: 1rem 0 0;
}

.home-sidebar {
    display: grid;
    gap: 1rem;
    align-self: start;
}

.home-shortcuts-card,
.home-reflection-card {
    border-radius: 22px;
    padding: 1.3rem;
    background: rgba(255, 249, 240, 0.94);
}

.home-shortcuts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-shortcuts-list li+li {
    border-top: 1px solid rgba(121, 89, 49, 0.12);
}

.home-shortcuts-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: #4a2b66;
    font-weight: 700;
    text-decoration: none;
}

.home-reflection-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 249, 232, 0.98) 0%, rgba(251, 235, 190, 0.96) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.home-reflection-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 212, 117, 0.35) 0%, rgba(255, 212, 117, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

.home-reflection-card h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    line-height: 0.95;
    color: #4a2b1d;
}

.home-reflection-card p {
    position: relative;
    z-index: 1;
}

#home-reflection-text {
    margin: 0.95rem 0 0;
    color: #624d3a;
    line-height: 1.7;
}

#home-reflection-text .reflection-para {
    display: block;
    margin-top: 0.85rem;
}

#home-reflection-text .reflection-para:first-child {
    margin-top: 0;
}

#home-reflection-reference {
    margin: 0.95rem 0 0;
    color: #7c6335;
    font-weight: 800;
}

/* Reflection questions block */
.home-reflection-questions {
    position: relative;
    z-index: 1;
    margin: 1.1rem 0 0;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-left: 3px solid rgba(122, 84, 42, 0.28);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.42);
}

.home-reflection-questions-label {
    margin: 0 0 0.55rem !important;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #8c5e2a !important;
}

.home-reflection-questions p:not(.home-reflection-questions-label) {
    margin: 0.55rem 0 0 !important;
    color: #4a2b1d;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-reflection-questions p:not(.home-reflection-questions-label)::before {
    content: '\2014\00A0';
    opacity: 0.55;
}

.home-reflection-share {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(122, 84, 42, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #623f1e;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.home-reflection-share::before {
    content: '\2197';
    font-size: 0.9rem;
}

.home-reflection-share:hover,
.home-reflection-share:focus-visible {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(122, 84, 42, 0.55);
    text-decoration: none;
    outline: none;
}

.home-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
    color: #746159;
}

@media (max-width: 1180px) {
    .home-shell {
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.5fr);
    }

    .home-sidebar {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-readings-header h1 {
        max-width: none;
    }
}

@media (max-width: 900px) {

    .home-header-inner,
    .home-shell {
        grid-template-columns: 1fr;
    }

    .home-nav ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1rem 1.25rem;
    }

    .home-header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .top-search {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .top-search #site-search-button {
        grid-column: 1 / -1;
        min-height: 46px;
    }

    .top-search-feedback {
        position: static;
        width: 100%;
        margin-top: 0.2rem;
    }

    .home-hero-panel {
        min-height: clamp(220px, 42vh, 360px);
    }

    .home-sidebar {
        grid-template-columns: 1fr;
    }

    .home-readings-header {
        flex-direction: column;
        align-items: stretch;
    }

    .home-date-nav {
        top: 0;
    }

    .home-footer {
        flex-direction: column;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {

    .home-brand-logo-shell {
        width: 3.4rem;
        height: 3.4rem;
    }

    body.home-page header,
    body.home-page main,
    .home-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-readings-panel,
    .home-shortcuts-card,
    .home-reflection-card {
        padding: 1.15rem;
    }

    .home-hero-overlay {
        padding: 2rem 1.25rem;
    }

    .home-hero-verse {
        font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    }

    .home-readings-header h1 {
        font-size: 2.3rem;
    }

    .reading-panel-toggle {
        grid-template-columns: auto 1fr;
    }

    .reading-panel-icon {
        display: none;
    }

    .reading-panel-body {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .top-search {
        width: 100%;
        grid-template-columns: 1fr auto;
    }

    .top-search #site-search-input {
        grid-column: 1 / -1;
    }

    .translation-picker-select {
        margin-left: 0;
    }

    .top-search #site-search-button {
        min-height: 46px;
    }
}