/* Shared styles for chriscohen.net
   Page-specific styles live in each page's inline <style> block. */

@font-face {
    font-family: 'Windsor';
    src: url('WindsorProBold.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #EEEDE6;
    color: #091405;
    line-height: 1.6;
}

h1, h2, h3, .site-title {
    font-family: 'Windsor', Georgia, serif;
}

/* Header */
header {
    background-color: #EEEDE6;
    padding: 10px 0;
}

.header-content {
    width: 1020px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.inner .header-content {
    align-items: baseline;
}

.site-title {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #245D10;
}

.site-title a {
    color: #245D10;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #1A5C9E;
}

.site-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3em;
    color: #245D10;
    margin-top: 4px;
}

body.inner .site-tagline {
    display: none;
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

nav a {
    font-family: 'Windsor', Georgia, serif;
    color: #245D10;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1A5C9E;
}

/* Main */
main {
    width: 1020px;
    margin: 0 auto;
    padding: 10px 20px 60px 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .site-title {
        font-size: 36px;
        white-space: nowrap;
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    nav a {
        font-size: 14px;
    }

    main {
        width: 100%;
        padding: 30px 20px 60px 20px;
    }
}
