/* ==========================================================================
   AKSARA DAERAH - MODERN LEARNING HUB
   ========================================================================== */

/* 1. HERO MINI */
.hero-mini {
    background: linear-gradient(135deg, hsla(224, 64%, 33%, 1) 0%, hsla(221, 83%, 53%, 1) 50%, hsla(224, 64%, 33%, 1) 100%);
    color: white;
    padding: 4rem 1rem 5rem 1rem; /* Padding lebih lega */
    margin-bottom: -3rem; /* Overlap effect ke card bawah */
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-mini h1 {
    margin: 0 0 0.8rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-mini p {
    opacity: 0.9;
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 2. MAIN CARD LAYOUT */
.content-wrapper {
    padding-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.aksara-main-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    padding: 3rem 2rem;
    overflow: hidden;
}

@media(max-width: 768px) {
    .aksara-main-card { padding: 2rem 1.5rem; }
}

/* 3. GRID KARTU AKSARA (MENU UTAMA) */
.aksara-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem 0;
}

.aksara-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.aksara-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.ac-icon {
    background: #f8fafc;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s;
    
    /* Font Stack Khusus Aksara */
    font-family: 'Noto Sans Javanese', 'Noto Sans Sundanese', 'Noto Sans Batak', 'Noto Sans Balinese', 'Noto Sans Buginese', 'Noto Sans Rejang', sans-serif;
}

.aksara-card:hover .ac-icon {
    color: #2563eb;
    background: #eff6ff;
}

.ac-content {
    padding: 1.5rem;
}

.ac-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
}

.ac-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* 4. ARTIKEL EDUKASI */
.edu-section {
    margin-top: 4rem;
    border-top: 1px dashed #cbd5e1;
    padding-top: 2rem;
}

.edu-title {
    color: #1E3A8A;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.edu-text {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.edu-highlight {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-style: italic;
    color: #0c4a6e;
}

/* 5. TABEL AKSARA */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.aksara-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.aksara-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

.aksara-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.aksara-char-sample {
    font-size: 1.4rem;
    font-family: 'Noto Sans Javanese', 'Noto Sans Sundanese', 'Noto Sans Batak', 'Noto Sans Balinese', 'Noto Sans Buginese', 'Noto Sans Rejang', serif;
    color: #1e3a8a;
}
