/* Other Page Styles */

/* Page header specific to other */
#other-page .page-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Main content container */
.other-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Section styling */
.other-content section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.other-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.other-content h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.other-content p {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.other-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.other-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* About section specific styling */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.mdm-logo {
    width: 150px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.about-text {
    flex: 1;
}

/* Areas section styling */
.domain-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.domain-list li {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #3498db;
}

.domain-list a {
    font-weight: 600;
    font-size: 1.1rem;
}

.domain-sub-list {
    list-style: disc;
    margin: 0.75rem 0 0.25rem 1.5rem;
    padding-left: 0.75rem;
}

.domain-sub-list li {
    margin: 0.35rem 0;
    padding: 0;
    background: transparent;
    border-left: none;
}

.domain-sub-list a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Comments section styling */
.comments-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

#remark42 {
    margin-top: 1.5rem;
    min-height: 200px;
}

/* Loading states */
.loading, .error {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
    font-style: italic;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.error {
    color: #e74c3c;
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 768px) {
    #other-page .page-header h2 {
        font-size: 1.6rem;
    }
    
    .other-content {
        padding: 1rem;
        margin: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mdm-logo {
        width: 120px;
        align-self: center;
    }
    
    .other-content h3 {
        font-size: 1.3rem;
    }
    
    .domain-list li {
        padding: 0.5rem;
    }
    
    .domain-list a {
        font-size: 1rem;
    }

    .domain-sub-list {
        margin-left: 1rem;
    }
    
    .comments-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    #other-page .page-header h2 {
        font-size: 1.4rem;
    }
    
    .other-content {
        padding: 0.75rem;
        margin: 0.5rem;
    }
    
    .other-content h3 {
        font-size: 1.2rem;
    }
    
    .mdm-logo {
        width: 100px;
    }
    
    .other-content section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}