/* Typography */
h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1.25rem 0;
    color: #212529;
    line-height: 1.4;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #212529;
    line-height: 1.4;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    color: #212529;
    line-height: 1.4;
}

p {
    margin: 1.25rem 0;
    color: #343a40;
    line-height: 1.8;
}

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

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin: 0.75rem 0;
    color: #343a40;
    line-height: 1.7;
}

/* Text emphasis */
strong {
    font-weight: 600;
    color: #212529;
}

em {
    color: #6c757d;
    font-style: italic;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

a:hover {
    border-bottom-color: #2563eb;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #212529;
    border-bottom: 2px solid #dee2e6;
}

tbody tr {
    border-bottom: 1px solid #e9ecef;
}

tbody tr:last-child {
    border-bottom: none;
}

td {
    padding: 1rem;
    color: #343a40;
}

/* Horizontal rule */
hr {
    margin: 2.5rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(to right, #e9ecef, #dee2e6, #e9ecef);
    border-radius: 2px;
}

/* Step Images */
.step-images {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.step-images--single {
    justify-content: center;
}

.step-figure {
    margin: 0;
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.step-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-caption {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}