/* ========================================
   InchRuler.com - Shared content-page styles
   Used by About, Contact, Privacy, Terms,
   Cookies, Disclaimer, and topic guides.
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: #2a2a2a;
    background: #f5f5f5;
}

a { color: #222; text-decoration: underline; }
a:hover { color: #b58a00; }

.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.logo:hover { color: #b58a00; }

.primary-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    list-style: none;
}

.primary-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.primary-nav a:hover { color: #b58a00; }

.container {
    max-width: 880px;
    margin: 30px auto 0;
    padding: 0 20px 60px;
}

.content {
    background: #fff;
    padding: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 14px;
    color: #222;
    line-height: 1.2;
}

h2 {
    font-size: 1.55rem;
    margin-top: 38px;
    margin-bottom: 14px;
    color: #222;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 8px;
}

h3 {
    font-size: 1.2rem;
    margin-top: 26px;
    margin-bottom: 10px;
    color: #222;
}

p { margin-bottom: 14px; }

ul, ol {
    margin: 10px 0 18px 28px;
}

li { margin-bottom: 8px; }

.last-reviewed {
    color: #777;
    font-style: italic;
    margin: -6px 0 26px;
    font-size: 14px;
}

table.conversion {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 22px;
    font-size: 15px;
}

table.conversion th,
table.conversion td {
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    text-align: left;
}

table.conversion th {
    background: #faf4d4;
    font-weight: 700;
}

.callout {
    background: #fff9db;
    border-left: 4px solid #FFD700;
    padding: 14px 18px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 15px;
}

.site-footer {
    background: #222;
    color: #ddd;
    padding: 28px 20px;
    text-align: center;
}

.site-footer-inner { max-width: 1000px; margin: 0 auto; }

.site-footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 2px;
}

.site-footer a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.site-footer .copyright {
    margin-top: 12px;
    color: #888;
    font-size: 13px;
}

@media (max-width: 768px) {
    .content { padding: 26px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.3rem; }
    .primary-nav { gap: 14px; font-size: 14px; }
}
