/* Research Page Styles */

.research-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.research-header h1 {
    font-size: 2.2em;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.research-subtitle {
    color: #666;
    font-size: 1.05em;
    font-weight: 300;
}

/* Research Sections */
.research-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e0e0e0;
}

.research-section h2 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.research-section h3 {
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2a2a2a;
}

.research-section h4 {
    font-size: 1.05em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #3a3a3a;
}

.research-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #444;
}

.research-section ul {
    margin-left: 25px;
}

.research-section li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

/* Equation Box */
.equation-box {
    background-color: #f9f9f9;
    border-left: 4px solid #333;
    padding: 20px;
    margin: 25px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.05em;
    text-align: center;
    border-radius: 2px;
}

/* Critical Concept Box */
.critical-box {
    background-color: #fffbf0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 2px;
}

.critical-box p {
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.research-step {
    padding: 25px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}

.research-step h3 {
    margin-top: 0;
    color: #1a1a1a;
}

.research-step p {
    margin-bottom: 0;
    font-size: 0.95em;
    line-height: 1.7;
}

/* Highlight Section */
.highlight-section {
    background-color: #f9f9f9;
    padding: 35px;
    margin: 40px 0;
    border-left: 5px solid #0066cc;
    border-radius: 2px;
}

/* Discombobulator Section */
.discombobulator-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.discombobulator-card {
    padding: 28px;
    background-color: #fff;
    border: 2px solid #0066cc;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.discombobulator-card h3 {
    color: #0066cc;
    margin-top: 0;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 12px;
}

.discombobulator-card p {
    font-size: 0.95em;
}

.details-box {
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-radius: 2px;
}

.details-box h4 {
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.details-box ul {
    list-style-position: inside;
    margin: 12px 0;
}

.details-box li {
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* Architecture Section */
.architecture-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.arch-item {
    padding: 20px;
    background-color: #f5f5f5;
    border-left: 4px solid #0066cc;
    border-radius: 2px;
}

.arch-item h4 {
    margin-top: 0;
    color: #1a1a1a;
}

.arch-item p {
    font-size: 0.95em;
    margin-bottom: 0;
}

/* Z-Scheme Diagram */
.z-scheme-diagram {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(90deg, #f0f0f0, #fff, #f0f0f0);
    border: 1px solid #ddd;
    border-radius: 2px;
}

.z-flow {
    font-family: 'Courier New', monospace;
    font-size: 1.05em;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 2px;
    margin-bottom: 15px;
    word-break: break-word;
    line-height: 1.8;
}

.z-explanation {
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 0.95em;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
}

.data-table th {
    background-color: #f5f5f5;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #0066cc;
    font-weight: 600;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Research List */
.research-list {
    list-style-position: inside;
    margin: 20px 0;
}

.research-list li {
    margin-bottom: 15px;
    line-height: 1.7;
    padding-left: 10px;
}

/* References */
.references-list {
    margin-top: 20px;
}

.reference {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e0e0e0;
}

.reference:last-child {
    border-bottom: none;
}

.reference p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .research-header h1 {
        font-size: 1.6em;
    }

    .research-section h2 {
        font-size: 1.4em;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .discombobulator-section {
        grid-template-columns: 1fr;
    }

    .architecture-section {
        grid-template-columns: 1fr;
    }

    .highlight-section {
        padding: 20px;
    }

    .data-table {
        font-size: 0.85em;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
    }
}
