/*
Theme Name: AI SCHOOL BD Theme
Author: AI SCHOOL BD
Description: Scalable education-first WordPress theme foundation for AI SCHOOL BD, with WooCommerce support and future LMS/AI integration boundaries.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ai-school-bd
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --aisbd-color-primary: #2563eb;
    --aisbd-color-text: #111827;
    --aisbd-color-background: #ffffff;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
    margin: 0;
    color: var(--aisbd-color-text);
    background: var(--aisbd-color-background);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aisbd-container {
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
}

.aisbd-card {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    background: #fff;
}

.aisbd-card__title {
    margin: 0 0 0.75rem;
}

.aisbd-card__content {
    line-height: 1.7;
}

/* PHASE 03.2 — WordPress template layer */
.aisbd-page { padding: 2rem 0 4rem; }
.aisbd-entry__title { margin: 0 0 1rem; line-height: 1.15; }
.aisbd-entry__content { line-height: 1.75; }
.aisbd-entry__meta { opacity: .7; }
.aisbd-entry__thumbnail img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.aisbd-post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.aisbd-post-card__image img { display: block; width: 100%; height: auto; border-radius: .75rem; }
.aisbd-post-card__title { margin: 1rem 0 .5rem; font-size: 1.25rem; }
.aisbd-post-card__title a { text-decoration: none; color: inherit; }
.aisbd-post-card__excerpt { line-height: 1.6; }
.aisbd-404__content { max-width: 700px; margin: 4rem auto; text-align: center; }
.aisbd-404__code { font-size: clamp(4rem, 12vw, 8rem); line-height: .9; margin: 0; font-weight: 800; }
.aisbd-button { display: inline-block; padding: .75rem 1.25rem; border-radius: .75rem; background: var(--aisbd-color-primary); color: #fff; text-decoration: none; border: 0; cursor: pointer; }
.aisbd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 72px; }
.aisbd-primary-nav__list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) {
    .aisbd-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .aisbd-header__inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; }
    .aisbd-post-list { grid-template-columns: 1fr; }
}
