/* Blue gradient background for all non-homepage pages */
body {
    background: #f9f9f9 !important;
    min-height: 100vh;
    margin-right: 280px !important;
    overflow-x: hidden;
}

/* Keep the main content area readable and within margins */
.centred, .center, .content, .entry-content, #content, .site-content {
    background: #f9f9f9;
    border-radius: 0;
    padding: 60px 80px;
    max-width: 100% !important;
    overflow: hidden;
    word-wrap: break-word;
}

/* Constrain all content width */
.centred {
    max-width: 100% !important;
    margin: 0 auto;
    padding-left: 80px !important;
    padding-right: 80px !important;
    box-sizing: border-box;
}

/* Heading area blends with gradient */
.heading {
    background: transparent !important;
}

/* Navigation text stays white on gradient */
.nav ul li a, .nav li a {
    color: #ffffff !important;
}
.nav ul li a:hover, .nav li a:hover {
    color: #99bbee !important;
}

/* Logo white on gradient */
.logo h1, .logo a {
    color: #ffffff !important;
}

/* Images should not exceed container */
img {
    max-width: 100%;
    height: auto;
}

/* Tables should not overflow */
table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Alphabet navigation - single line */
.author-vert-menu, .book-vert-menu {
    white-space: nowrap !important;
    overflow: hidden;
    font-size: 11px;
}
.author-vert-menu a, .book-vert-menu a {
    display: inline !important;
    padding: 2px 3px;
}

/* Footer blends */
.footer, .site-footer {
    background: rgb(5, 10, 45) !important;
    color: #ffffff;
}
.footer a { color: #99bbee !important; }

/* Space between page title and content */
.page-content > h2 {
    margin-bottom: 30px;
}

/* Match FAQ page headings to homepage style */
.page-content h2, .page-content .wp-block-heading {
    font-family: 'Kotta One', 'Helvetica', Arial, sans-serif;
    font-size: 24px;
    color: #333;
}
.page-content h3, .page-content h3.wp-block-heading {
    font-family: 'Kotta One', 'Helvetica', Arial, sans-serif;
    font-size: 16px;
    color: #333;
}
.page-content .has-large-font-size {
    font-size: 24px !important;
    font-weight: normal !important;
}

/* Responsive */
@media (max-width: 768px) {
    body { margin-right: 0 !important; }
    .centred, .center, .content, .entry-content, #content, .site-content {
        padding: 20px;
    }
    .new-site-footer { width: 100% !important; }
}
