/* Data and Methods Page Styles */

.methods-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 40px 60px 40px;
}

.methods-content {
    line-height: 1.8;
    color: #333;
}

.methods-content h1 {
    color: rgb(196, 57, 6);
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.methods-content h2 {
    color: #2C3E50;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid rgb(196, 57, 6);
    padding-bottom: 10px;
}

.methods-content h3 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.methods-content h4 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.methods-content p {
    margin-bottom: 15px;
}

.methods-content ul,
.methods-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.methods-content li {
    margin-bottom: 10px;
}

/* Data Table */
.data-table {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.data-table th {
    background-color: rgb(196, 57, 6);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

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

.data-table tr:hover {
    background-color: #f8f9fa;
}

/* Methodology Box */
.methodology-box {
    background: #f8f9fa;
    border-left: 4px solid rgb(196, 57, 6);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 4px;
}

.methodology-box h4 {
    margin-top: 0;
    color: rgb(196, 57, 6);
}

/* Risk Classification */
.risk-classification {
    list-style: none;
    margin-left: 0;
}

.risk-classification li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.high-risk {
    color: #E74C3C;
    font-size: 1.5em;
    margin-right: 10px;
}

.moderate-risk {
    color: #F39C12;
    font-size: 1.5em;
    margin-right: 10px;
}

/* Tech Stack Grid */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tech-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tech-category h4 {
    color: rgb(196, 57, 6);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.tech-category ul {
    margin-left: 20px;
}

/* Citation Box */
.citation-box {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.citation-box p {
    margin: 0;
}

/* Links */
.methods-content a {
    color: rgb(196, 57, 6);
    text-decoration: none;
    border-bottom: 1px dotted rgb(196, 57, 6);
}

.methods-content a:hover {
    border-bottom-style: solid;
}

/* Section Styling */
section {
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .methods-container {
        padding: 0 20px 40px 20px;
    }

    .methods-content h1 {
        font-size: 2em;
    }

    .methods-content h2 {
        font-size: 1.5em;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }
}