/*
Theme Name: NW Monthly
Theme URI: https://nwmonthly.com/
Author: NW Monthly
Description: Minimal WordPress shell for Local Directory Framework.
Version: 0.1.2
Text Domain: northwest-monthly
*/

:root {
    --nwmt-navy: #172033;
    --nwmt-blue: #2563eb;
    --nwmt-border: #dbe4f0;
    --nwmt-background: #f4f7fb;
    --nwmt-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--nwmt-background);
    color: var(--nwmt-navy);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: var(--nwmt-blue);
}

img {
    max-width: 100%;
    height: auto;
}

.nwmt-shell {
    width: min(920px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

.nwmt-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--nwmt-navy);
    color: var(--nwmt-white);
    text-decoration: none;
    transform: translateY(-150%);
}

.nwmt-skip-link:focus {
    transform: translateY(0);
}

.nwmt-site-header {
    border-bottom: 1px solid var(--nwmt-border);
    background: var(--nwmt-white);
}

.nwmt-site-header__inner {
    display: flex;
    min-height: 64px;
    align-items: center;
}

.nwmt-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--nwmt-navy);
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.nwmt-site-brand:hover,
.nwmt-site-brand:focus-visible {
    color: var(--nwmt-navy);
}

.nwmt-site-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: var(--nwmt-blue);
    color: var(--nwmt-white);
    font-size: 0.72rem;
}

.nwmt-main {
    padding: 40px 0 56px;
}

.nwmt-content {
    padding: clamp(22px, 5vw, 40px);
    border: 1px solid var(--nwmt-border);
    border-radius: 18px;
    background: var(--nwmt-white);
}

.nwmt-content + .nwmt-content {
    margin-top: 24px;
}

.nwmt-entry-title {
    margin: 0 0 20px;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.15;
}

.nwmt-entry-title a {
    color: var(--nwmt-navy);
    text-decoration: none;
}

.nwmt-entry-content > :first-child {
    margin-top: 0;
}

.nwmt-entry-content > :last-child {
    margin-bottom: 0;
}

.nwmt-empty {
    text-align: center;
}

@media (max-width: 620px) {
    .nwmt-shell {
        width: min(100% - 28px, 920px);
    }

    .nwmt-main {
        padding-top: 28px;
    }

    .nwmt-content {
        border-radius: 16px;
    }
}
