/* ═══════════════════════════════════════
   AIPC Content Engine — Frontend Styles
   ═══════════════════════════════════════ */

.aipc-content-engine-wrap {
    margin-top: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Bilingual Section ── */
.aipc-bilingual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .aipc-bilingual-section {
        grid-template-columns: 1fr;
    }
}

.aipc-lang-block {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.aipc-lang-badge {
    display: inline-block;
    background: #1a56db;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.aipc-local-badge {
    background: #0e9f6e;
}

.aipc-lang-content {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
}

.aipc-lang-content p {
    margin: 0 0 10px;
}

/* ── Section Titles ── */
.aipc-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* ── Highlights Grid ── */
.aipc-highlights-section {
    margin-bottom: 28px;
}

.aipc-highlights-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aipc-highlight-card {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
}

/* ── Nearby PIN Codes Grid ── */
.aipc-nearby-section {
    margin-bottom: 24px;
}

.aipc-nearby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.aipc-nearby-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.aipc-nearby-card:hover {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.2);
}

.aipc-nearby-card:hover .aipc-nearby-pin,
.aipc-nearby-card:hover .aipc-nearby-label {
    color: #fff;
}

.aipc-nearby-pin {
    font-size: 16px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 4px;
}

.aipc-nearby-label {
    font-size: 11px;
    color: #6b7280;
}
