/* Authority Historical Archives Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8f9fa;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5f8d 0%, #1a4d7a 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-top {
    background: #1a3a52;
    padding: 8px 20px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
}

.header-main {
    padding: 25px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 3rem;
    line-height: 1;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: 'Segoe UI', sans-serif;
}

.logo-text p {
    font-size: 0.95rem;
    opacity: 0.95;
    font-style: italic;
}

/* Navigation */
.nav-main {
    background: #1a3a52;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-main ul {
    list-style: none;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-main li {
    flex: 1;
}

.nav-main a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
}

.nav-main a:hover,
.nav-main a.active {
    background: rgba(255,255,255,0.15);
}

.nav-main li:last-child a {
    border-right: none;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-main {
    background: white;
    padding: 50px 60px;
    border-radius: 4px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

/* Typography */
h2 {
    color: #1a4d7a;
    font-size: 2.2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1a4d7a;
    font-weight: 600;
}

h3 {
    color: #2c5f8d;
    font-size: 1.6rem;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e6ed;
    font-weight: 600;
}

h4 {
    color: #2c5f8d;
    font-size: 1.25rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

li {
    margin-bottom: 12px;
    line-height: 1.8;
}

a {
    color: #1a4d7a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

a:hover {
    border-bottom-color: #1a4d7a;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.stat-card {
    background: linear-gradient(135deg, #2c5f8d 0%, #1a4d7a 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(26, 77, 122, 0.2);
}

.stat-card .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Segoe UI', sans-serif;
}

.stat-card .label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    font-size: 1rem;
}

th {
    background: #2c5f8d;
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', sans-serif;
}

td {
    padding: 16px;
    border-bottom: 1px solid #e0e6ed;
}

tr:hover {
    background: #f7fafc;
}

/* Timeline Styles */
.timeline-item {
    margin: 35px 0;
    padding: 25px;
    background: #f7fafc;
    border-left: 5px solid #1a4d7a;
    border-radius: 4px;
}

.timeline-date {
    font-weight: 700;
    color: #1a4d7a;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-family: 'Segoe UI', sans-serif;
}

.timeline-item h4 {
    margin-top: 0;
    color: #2c5f8d;
}

/* Document Box */
.document-box {
    background: #fefaf0;
    border: 2px solid #d4af37;
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.document-box h4 {
    margin-top: 0;
    color: #8b6914;
}

/* Memorial Box */
.memorial-box {
    background: #1a1a1a;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    border-radius: 4px;
}

.memorial-box h3 {
    color: #ffffff;
    border: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.memorial-box .number {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    display: block;
    font-family: 'Segoe UI', sans-serif;
}

/* Educational Resource Box */
.resource-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.resource-card {
    background: #f7fafc;
    padding: 25px;
    border-left: 4px solid #2c5f8d;
    border-radius: 4px;
}

.resource-card h4 {
    margin-top: 0;
    color: #2c5f8d;
}

/* Blockquote */
blockquote {
    background: #e6f4ea;
    padding: 25px 30px;
    border-left: 5px solid #1a4d7a;
    margin: 30px 0;
    font-style: italic;
    border-radius: 4px;
}

blockquote p {
    margin: 0;
}

/* Footer */
.footer {
    background: #1a3a52;
    color: white;
    margin-top: 50px;
    padding: 40px 20px 20px 20px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    border: none;
    padding: 0;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer li {
    margin-bottom: 10px;
}

.footer a {
    color: rgba(255,255,255,0.85);
    font-weight: normal;
    border: none;
}

.footer a:hover {
    color: white;
    border-bottom: 1px solid white;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 5px 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-main ul {
        flex-direction: column;
    }

    .nav-main li {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .content-main {
        padding: 30px 25px;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}
