/* ===== AI SECTION ONLY ===== */
.ai-section {
    padding: 16px;
    display: flex;
    justify-content: center;
}

/* WIDTH CONTROL */
.ai-section .ai-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ai-section .ai-content {
    width: 100%;
    max-width: 52rem; /* safe width */
}

/* IMAGE */
.ai-section .ai-card-image img {
    width: 100%;
    height: 360px; /* adjustable */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    margin-bottom: 24px;
}

/* BLOG DATE (under hero) */
.blog-date-hero {
    font-size: 14px;
    color: #ffffff;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CARDS */
.ai-section .ai-cards {
    display: grid;
    gap: 18px;
}

.ai-section .ai-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-section .ai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* TEXT */
.ai-section .ai-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #222;
}

.ai-section .ai-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap; /* preserve line breaks */
}




/* 📱 TABLET */
@media (min-width: 768px) {
    .ai-section .ai-card-image img {
        height: 400px;
    }

    .ai-section .ai-card h3 {
        font-size: 1.25rem;
    }
}

/* 🖥 DESKTOP */
@media (min-width: 1024px) {
    .ai-section .ai-cards {
        grid-template-columns: 1fr;
    }
}
