html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    max-height: 100%;
    font-size: 62.5%;
}

body {
    margin: 0;
    height: 100%;
    max-height: 100%;
    font-family: "Open Sans", sans-serif;
    letter-spacing: 0.01rem;
    font-size: 1.8rem;
    line-height: 1.75em;
    color: #3A4145;
    text-rendering: geometricPrecision;
}

@media only screen and (max-width: 600px) {
    body {
        font-size: 1.6rem;
        line-height: 1.7em;
    }
    
    .site-wrapper main {
        justify-content: flex-start !important;
        padding-top: 2rem;
    }
}

a {
    color: #4A4A4A;
    transition: color 0.3s ease;
}

a:hover {
    color: #111;
}

h2, h4 {
    color: #2E2E2E;
    line-height: 1.15em;
    margin: 0 0 0.4em 0;
    font-family: "Open Sans", sans-serif;
    text-rendering: geometricPrecision;
}

h2 {
    font-size: 3.6rem;
    letter-spacing: -1px;
}

h4 {
    font-size: 2.5rem;
}

p {
    margin: 0 0 1.75em 0;
    text-rendering: geometricPrecision;
}

.site-wrapper {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
}

main {
    margin-bottom: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.post {
    position: relative;
    width: 80%;
    max-width: 710px;
    margin: 4rem auto;
    padding-bottom: 4rem;
}

.post-header {
    margin-bottom: 1rem;
}

.post-title {
    font-size: 3.6rem;
    margin-bottom: 0;
}

.post-excerpt {
    margin-top: 0;
}

.post-excerpt p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.7em;
}

.post-meta {
    display: block;
    margin: 0.5rem 0 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1.5rem;
    line-height: 2.2rem;
    color: #9EABB3;
}

.post-date {
    display: inline-block;
    margin-left: 8px;
    padding-left: 12px;
    border-left: #d5dbde 1px solid;
    text-transform: uppercase;
    font-size: 1.3rem;
    white-space: nowrap;
}

/* Footer styles for wave animation */
.footer-wrapper {
    position: relative;
    flex-shrink: 0;
    height: 84px;
}

#waveCanvas {
    width: 100%;
    height: 84px;
    background: #ffffff;
    color: #000000;
    border: none;
    outline: none;
}

@media only screen and (max-width: 600px) {
    .post {
        width: auto;
        margin: 1.5rem 16px;
        padding-bottom: 1.5rem;
    }
    
    .post-header {
        margin-bottom: 0.5rem;
    }

    .post-title {
        font-size: 3.0rem;
        line-height: 1.2em;
        margin-bottom: 0;
    }

    h4 {
        font-size: 2.2rem;
        line-height: 1.3em;
    }

    .post-excerpt p {
        font-size: 1.0em;
        line-height: 1.6em;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.6em;
    }

    .post-excerpt p:has(.description) {
        margin-bottom: 0.7em;
    }

    .post-meta {
        font-size: 1.6rem;
        line-height: 0;
        margin-bottom: 2rem;
    }

    .post-date {
        display: inline-block !important;
    }
    
    /* Keep title and description inline on mobile */
    .description {
        display: inline;
        line-height: 1.5em;
    }
} 