.content-column {
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.content-inner {
    padding: 48px 64px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
}

.content-column h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.content-column .intro {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.content-column h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    padding-top: 56px;
    border-top: 1px solid var(--border-color);
    line-height: 1.25;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.content-column h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.content-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.25;
    transition: color 0.3s ease;
}

.content-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.content-column p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: color 0.3s ease;
}

.content-column a {
    color: var(--link-color) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-column a:hover {
    color: var(--link-hover) !important;
    text-decoration: underline;
}

.content-column code a,
.content-column pre a,
.content-column pre code a {
    color: var(--link-color) !important;
}

.content-column a[href^="http"],
.content-column a[href^="https"] {
    color: var(--link-color) !important;
    text-decoration: underline;
}

.content-column a[href^="http"]:hover,
.content-column a[href^="https"]:hover {
    color: var(--link-hover) !important;
}

.content-column ul, .content-column ol {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.content-column li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.field-description {
    margin-bottom: 24px;
}

.field-name {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.field-type {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-left: 8px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.field-required {
    color: var(--error-color);
    font-size: 12px;
    margin-left: 8px;
    transition: color 0.3s ease;
}

.field-details {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Show code blocks in content (base URL, etc.) */
.content-column pre {
    background: var(--code-bg);
    padding: 12px 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Hide all code blocks - they go to right column */
.content-column pre {
    display: none;
}

/* But keep inline code visible */
.content-column code.inline-code {
    display: inline;
}

.content-column pre code {
    background: transparent;
    padding: 0;
    color: var(--text-secondary) !important;
    font-size: inherit;
    font-family: inherit;
}

/* Style links in code blocks */
.content-column pre code a {
    color: var(--link-color) !important;
    text-decoration: underline;
}

.content-column pre code a:hover {
    color: var(--link-hover) !important;
}

.content-column code:not(.inline-code):not(pre code) {
    display: none;
}

.content-column img {
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 24px auto;
    display: block;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.content-column img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* For DCTCE diagrams, make them more compact */
.content-column img[alt*="DCTCE"],
.content-column img[alt*="5-Corner"],
.content-column img[alt*="corner"],
.content-column img[alt*="Corner"] {
    max-width: 600px !important;
    max-height: 300px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    margin: 20px auto;
    display: block;
}

@media (max-width: 1200px) {
    .content-column img[alt*="DCTCE"],
    .content-column img[alt*="5-Corner"],
    .content-column img[alt*="corner"],
    .content-column img[alt*="Corner"] {
        max-width: 500px !important;
        max-height: 250px !important;
    }
}

.content-column code.inline-code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 85%;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    color: var(--code-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Show URLs and base URLs even if in code blocks */
.content-column code.inline-code a,
.content-column a[href^="http"],
.content-column a[href^="https"] {
    color: var(--link-color) !important;
    text-decoration: underline;
}

.content-column a[href^="http"]:hover,
.content-column a[href^="https"]:hover {
    color: var(--link-hover) !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

table th {
    text-align: left;
    padding: 12px;
    background: var(--table-header-bg);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
    transition: border-color 0.3s ease, color 0.3s ease;
}

}
