/* ============================================
   ENCARTA 2000 - Estilos
   ============================================ */

.encarta-container {
    background: #f0f0f0;
    margin: 20px;
    border: 3px solid #666;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.encarta-header {
    background: linear-gradient(to right, #800000, #a00000);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 3px solid #600000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.encarta-logo {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.encarta-title {
    font-family: 'Times New Roman', serif;
}

.encarta-title h1 {
    font-size: 24px;
    margin-bottom: 3px;
}

.encarta-title p {
    font-size: 12px;
    opacity: 0.9;
    font-style: italic;
}

.encarta-toolbar {
    background: linear-gradient(to bottom, #e0e0e0, #c0c0c0);
    padding: 8px 15px;
    border-bottom: 2px solid #999;
    display: flex;
    gap: 10px;
}

.encarta-btn {
    background: linear-gradient(to bottom, #f0f0f0, #d0d0d0);
    border: 1px solid #999;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.encarta-btn:hover {
    background: linear-gradient(to bottom, #fff, #e0e0e0);
}

.encarta-content {
    display: flex;
    background: white;
}

.encarta-sidebar {
    width: 250px;
    background: #f9f9f9;
    border-right: 2px solid #ddd;
    padding: 15px;
    overflow-y: auto;
    height: 700px;
}

.encarta-menu-title {
    font-weight: bold;
    color: #800000;
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 2px solid #800000;
    padding-bottom: 5px;
}

.encarta-menu-item {
    padding: 6px 10px;
    margin-bottom: 3px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    transition: background 0.2s;
}

.encarta-menu-item:hover {
    background: #e0e0ff;
}

.encarta-menu-item.active {
    background: #0066cc;
    color: white;
    font-weight: bold;
}

.encarta-article {
    flex: 1;
    padding: 30px;
    max-width: 800px;
    overflow-y: auto;
    height: 700px;
}

.encarta-article h2 {
    color: #800000;
    border-bottom: 3px solid #800000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif;
}

.encarta-article h3 {
    color: #0066cc;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}

.encarta-article p {
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    font-size: 14px;
}

.encarta-infobox {
    background: #ffffcc;
    border: 2px solid #cccc00;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.encarta-infobox h4 {
    color: #666600;
    margin-bottom: 10px;
    font-size: 14px;
}

.encarta-data-row {
    display: flex;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0aa;
}

.encarta-data-label {
    font-weight: bold;
    width: 150px;
    color: #666;
}

.encarta-data-value {
    color: #333;
}

.encarta-image-placeholder {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    border: 3px solid #999;
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-style: italic;
    border-radius: 5px;
}

.encarta-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.article-content {
    display: none;
}
