/*
Theme Name: Oak13 Clean
Theme URI: https://oak13.com/
Author: QCNetworks
Description: Lightweight custom theme for the Martha G. Bronitsky Chapter 13 Trustee site. Rebuilds the current Oak13 presentation without Divi.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: oak13-clean
*/

:root {
    --oak-content-width: 1040px;
    --oak-blue: #2ea3f2;
    --oak-active: #edf000;
    --oak-orange: #ff6600;
    --oak-text: #666666;
    --oak-heading: #333333;
    --oak-black: #000000;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #ffffff;
    color: var(--oak-text);
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}

a {
    color: var(--oak-blue);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

.oak-site-shell {
    min-height: 100vh;
    background: #fff;
}

.oak-hero {
    position: relative;
    width: 100%;
    min-height: 330px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.oak-hero-inner {
    width: min(var(--oak-content-width), calc(100% - 40px));
    margin: 0 auto;
    padding-top: 10px;
}

.oak-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.oak-nav {
    width: 100%;
    min-height: 72px;
    background: #000;
}

.oak-nav-inner {
    width: min(var(--oak-content-width), calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.oak-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    padding: 0 15px;
    color: #d4d4d4;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    font-weight: 400;
}

.oak-nav a:hover { color: #ffffff; }
.oak-nav a.is-active { color: var(--oak-active); }

.oak-main {
    width: min(var(--oak-content-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 74px;
}

.oak-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 70px;
    align-items: start;
}

.oak-content,
.oak-sidebar {
    min-width: 0;
}

.oak-content h1,
.oak-content h2,
.oak-content h3,
.oak-content h4,
.oak-sidebar h4 {
    color: var(--oak-heading);
    margin-top: 0;
    font-weight: 700;
}

.oak-content h4,
.oak-sidebar h4 {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.2;
}

.oak-content p,
.oak-sidebar p {
    margin: 0 0 15px;
}

.oak-content ul {
    margin: 0 0 18px 18px;
    padding: 0;
}

.oak-content li { margin-bottom: 3px; }

.oak-content strong { color: #4a4a4a; }
.oak-content em { font-style: italic; }
.oak-content span[style*="#ff6600"],
.oak-content span[style*="rgb(255, 102, 0)"] {
    color: var(--oak-orange) !important;
}
.oak-content span[style*="red"] { color: red !important; }

.oak-button-row {
    margin: 26px 0 26px !important;
}

.oak-button {
    display: inline-block;
    padding: 8px 15px;
    background: #1477c9;
    color: #ffffff !important;
    line-height: 1.2;
    border-radius: 0;
    text-decoration: none !important;
    font-size: 14px;
}

.oak-button:hover {
    background: #0f67b0;
    text-decoration: none;
}

.oak-search {
    display: flex;
    width: 100%;
    margin: 0 0 27px;
}

.oak-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.oak-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 7px 10px;
    border: 1px solid #dedede;
    border-right: 0;
    background: #fff;
    color: #444;
    font: inherit;
}

.oak-search button {
    flex: 0 0 62px;
    height: 40px;
    border: 0;
    background: #dedede;
    color: #777;
    font: inherit;
    cursor: pointer;
}

.oak-sidebar h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.oak-sidebar p {
    margin-bottom: 15px;
}

.oak-sidebar strong {
    color: #555;
}

.oak-pledge {
    margin-top: 42px;
    padding: 5px 6px 7px;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

.oak-pledge h4 {
    margin: 0 0 2px;
    color: #444;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
}

.oak-pledge p {
    margin: 0;
    color: #777;
    line-height: 1.55;
}

.oak-preview-note {
    width: min(var(--oak-content-width), calc(100% - 40px));
    margin: 12px auto;
    padding: 8px 12px;
    background: #fff7cf;
    border: 1px solid #eadb82;
    color: #4a4430;
    font-size: 13px;
}

.oak-generic {
    width: min(var(--oak-content-width), calc(100% - 40px));
    margin: 40px auto;
}

@media (max-width: 900px) {
    .oak-hero {
        min-height: 260px;
    }

    .oak-hero h1 {
        font-size: 25px;
    }

    .oak-content-grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .oak-nav-inner {
        flex-wrap: wrap;
        min-height: 58px;
        padding: 6px 0;
    }

    .oak-nav a {
        min-height: 42px;
        padding: 0 11px;
    }
}

@media (max-width: 560px) {
    body { font-size: 15px; }

    .oak-hero {
        min-height: 210px;
    }

    .oak-hero-inner,
    .oak-nav-inner,
    .oak-main,
    .oak-preview-note,
    .oak-generic {
        width: min(100% - 28px, var(--oak-content-width));
    }

    .oak-hero h1 {
        padding-top: 8px;
        font-size: 22px;
    }

    .oak-nav a {
        padding: 0 8px;
        font-size: 13px;
    }
}
