/**
 * Typography styles using IBM Plex fonts
 * IBM Plex Sans: Body text, UI elements
 * IBM Plex Serif: Headings, titles
 */

/* Base body text is defined in base.css */

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 0;
    /* Responsive font sizes defined in responsive.css */
}

h2 {
    font-weight: 400;
    /* Responsive font sizes defined in responsive.css */
}

h3 {
    font-weight: 400;
    /* Responsive font sizes defined in responsive.css */
}

h4 {
    font-size: 1.25rem;
    font-weight: 400;
}

h5 {
    font-size: 1.125rem;
    font-weight: 400;
}

h6 {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paragraphs */
p {
    margin-top: 0;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Lead text (larger intro paragraphs) */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4a4a4a;
}

/* Small text */
small,
.text-small {
    font-size: 0.875rem;
}

/* Bold text */
strong,
b {
    font-weight: 600;
}

/* Emphasis */
em,
i {
    font-style: italic;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Block quotes */
blockquote {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    margin: 0;
    padding-left: 2rem;
    border-left: 4px solid #e0e0e0;
    color: #4a4a4a;
}

/* Code (inline) */
code {
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 0.9em;
    background: #f5f5f5;
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
}

/* Code blocks */
pre {
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 0.875rem;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    line-height: 1.5;
}

pre code {
    background: none;
    padding: 0;
}

/* Lists */
ul,
ol {
    margin: 0;
    padding-left: 1.5rem;
}

li {
    margin: 0;
}

/* Utility classes */
.font-serif {
    font-family: "IBM Plex Serif", Georgia, serif;
}

.font-sans {
    font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.font-mono {
    font-family: "IBM Plex Mono", "Courier New", monospace;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}
