/**
 * Overrides CSS
 * Consolidated file for all layout and style overrides
 * Replaces: about-header-override.css, examples-header-override.css, override-split-layout.css
 */

/* ============================================
   HEADER OVERRIDES
   ============================================ */

/* About Page Header Override */
.about-section h1 {
    color: var(--color-primary, #0028BC);
    font-size: 3rem !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-intro {
    font-size: 1.25rem !important;
    line-height: 1.6;
    color: var(--color-text-secondary, #666666);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Examples Page Header Override */
.section-header h1 {
    color: var(--color-primary, #0028BC);
    font-size: 3rem !important;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-description {
    color: var(--color-text-secondary, #666666);
    font-size: 1.25rem !important;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SPLIT LAYOUT OVERRIDES
   ============================================ */

/* Reset split layouts to block display */
.safety-content-wrapper,
.getting-started-content-wrapper {
    display: block !important;
    gap: 0 !important;
    padding: 1rem !important;
    max-width: 100% !important;
}

/* Reset flex properties */
.safety-image,
.safety-content,
.getting-started-image,
.getting-started-content {
    flex: none !important;
    width: 100% !important;
    text-align: center !important;
}

/* Reset image sizes */
.safety-feature-image,
.getting-started-feature-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}

/* Ensure headings are centered */
.safety-content h2,
.getting-started-content h2,
.safety-content .section-description,
.getting-started-content .section-description {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Override any flexbox container */
.container section {
    flex-direction: column !important;
}

/* Ensure content wrappers have appropriate margin */
.safety-content-wrapper,
.getting-started-content-wrapper {
    margin: 2rem auto !important;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */

@media (max-width: 768px) {
    .about-section h1,
    .section-header h1 {
        font-size: 2.5rem !important;
    }
    
    .about-intro,
    .section-description {
        font-size: 1.1rem !important;
    }
}

