/* Azure Theme - PT Sans Font */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

body {
    font-family: 'PT Sans', sans-serif;
    line-height: 1.6;
    margin: 2em auto;
    max-width: 800px;
    padding: 0 1em;
    color: #000;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
}

/* Style for the main post title on its own page */
article > h2 {
    font-size: 2.5em; /* Make the main title significantly larger */
    margin-bottom: 0.2em;
}

/* Styles for headings within the post content */
.post-content h1 {
    font-size: 2em;
    margin-top: 1.5em;
}

.post-content h2 {
    font-size: 1.75em;
    margin-top: 1.5em;
}

.post-content h3 {
    font-size: 1.5em;
    margin-top: 1.5em;
}

a {
    color: #007BFF; /* Blue accent */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1em;
    margin-bottom: 2em;
    border-bottom: 2px solid #000;
}

header h1 { margin: 0; }
header h1 a { text-decoration: none; color: inherit; }
header nav a { margin-left: 1em; }

.post-list { list-style-type: none; margin: 0; padding: 0; }
.post-meta { color: #555; }

/* --- General Content Styles --- */

/* Italicized captions for figures (includes audio, and any manually captioned images/videos) */
figcaption {
    font-style: italic;
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

/* Images */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* Code block styling */
pre {
    overflow-x: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #f8f8f8;
    padding: 1em;
    border-radius: 4px;
    border: 1px solid #eee;
}

code {
    font-family: monospace;
    background-color: #f0f0f0; /* Subtle background for inline code */
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

pre code {
    background-color: transparent; /* Don't double-background */
    padding: 0;
    border-radius: 0;
    border: none;
}

/* Video Embeds */
.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1em auto;
}

.embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
