
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
    background: #fff;
}

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- Header ---- */
#masthead {
    background: #f7f7f7;
    border-bottom: 2px solid #0066cc;
    padding: 16px 0;
}

.header-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo {
    height: 56px;
    width: auto;
}

.site-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-title {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    line-height: 1.2;
}

.site-description {
    font-size: 12px;
    color: #777;
    font-style: italic;
}

/* ---- Navigation ---- */
.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.nav-menu li a {
    display: block;
    padding: 6px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #444;
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    background: #0066cc;
    color: #fff;
    text-decoration: none;
}

/* ---- Main ---- */
#main {
    flex: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 36px 20px 48px;
    width: 100%;
}

.entry-header {
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd;
}

.entry-title {
    font-size: 26px;
    font-weight: bold;
    color: #222;
}

/* ---- Content ---- */
.entry-content h1 { font-size: 22px; margin: 28px 0 10px; line-height: 1.3; }
.entry-content h2 { font-size: 19px; margin: 24px 0 8px; }
.entry-content h3 { font-size: 17px; margin: 20px 0 8px; }

.entry-content p,
.entry-content div.block {
    margin-bottom: 1em;
}

.entry-content ol,
.entry-content ul {
    margin: 0.75em 0 0.75em 2em;
}

.entry-content ol { list-style: decimal; }
.entry-content ul { list-style: disc; }
.entry-content li { margin-bottom: 0.4em; line-height: 1.5; }

.entry-content b, .entry-content strong { font-weight: bold; }
.entry-content i, .entry-content em { font-style: italic; }

.blue { color: #0066cc; }

/* ---- Client images ---- */
.client-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.client-row img {
    max-width: 160px;
    height: auto;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.client-info {
    padding-top: 4px;
    font-size: 15px;
    line-height: 1.8;
}

/* ---- Contact info ---- */
.contact-block {
    margin: 16px 0;
    padding: 16px 20px;
    background: #f5f8ff;
    border-left: 3px solid #0066cc;
    font-size: 15px;
    line-height: 2;
}

.support_email {
    color: #0066cc;
}

/* ---- Footer ---- */
#colophon {
    background: #333;
    color: #bbb;
    padding: 18px 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

#colophon a { color: #8ab4e8; }
#colophon a:hover { color: #fff; text-decoration: none; }

/* ---- Responsive ---- */
@media (max-width: 660px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    .site-logo { height: 44px; }
    .entry-title { font-size: 21px; }
    .client-row { flex-direction: column; }
    .client-row img { max-width: 200px; }
}
