/* ========================================
   WIDE SCREEN LAYOUT - FULL WIDTH
   ======================================== */

/* Remove the centered container - use full width */
.bd-page-width {
    max-width: 100% !important;
}

/* Main container - remove left margin, full width */
.bd-main {
    margin-left: 0 !important;
}

/* Left sidebar - fixed width, no extra padding */
.bd-sidebar-primary {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    padding-left: 1rem !important;
}

/* Content area - expand to fill available space */
.bd-main .bd-content {
    max-width: 100% !important;
    width: 100% !important;
}

.bd-main .bd-content .bd-article-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: 2rem !important;
}

/* Right sidebar (table of contents) - slimmer */
.bd-sidebar-secondary {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
}

/* On very wide screens, limit content width for readability */
@media (min-width: 1800px) {
    .bd-main .bd-content .bd-article-container {
        max-width: 1200px !important;
    }
}

/* ========================================
   FONT SIZE IMPROVEMENTS
   ======================================== */

/* Base font size for readability */
.bd-article-container {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

/* Slightly larger headings */
.bd-article-container h1 {
    font-size: 2.2rem !important;
}

.bd-article-container h2 {
    font-size: 1.8rem !important;
}

.bd-article-container h3 {
    font-size: 1.4rem !important;
}

/* Code blocks - slightly larger */
.bd-article-container pre {
    font-size: 0.95rem !important;
}

/* ========================================
   BIG SCREEN SCALING (Auto-zoom effect)
   ======================================== */

/* On large screens (1600px+), scale everything up */
@media (min-width: 1600px) {
    html {
        font-size: 120% !important;
    }
}

/* On very large screens (1920px+), scale up more */
@media (min-width: 1920px) {
    html {
        font-size: 135% !important;
    }
}

/* On ultra-wide screens (2560px+), scale up even more */
@media (min-width: 2560px) {
    html {
        font-size: 150% !important;
    }
}

/* ========================================
   EXISTING STYLES
   ======================================== */

/* Reduce intro page logo to 50% */
.bd-article-container img[alt="CodeVision Logo"] {
    max-width: 150px;
    height: auto;
}

/* Contact support link in footer */
.contact-support {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

.contact-support a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-support a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.contact-support i {
    margin-right: 0.5rem;
}
