/*
 * =========================================================
 * AlterMind — Module Core
 * File: assets/css/modules/module-core.css
 *
 * Responsibility:
 * - Shared structural styling for module pages
 * - Shared module/tool wrappers
 * - Shared module spacing and box sizing
 *
 * This file does NOT:
 * - define module-specific colors
 * - define module-specific visual identity
 * - style the existing homepage
 * - style the existing sphere
 * - contain tool-specific styling
 * =========================================================
 */


/* =========================================================
   MODULE ROOT
   ========================================================= */

.altermind-module {
    position: relative;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   MODULE CONTENT
   ========================================================= */

.altermind-module__content {
    position: relative;

    width: 100%;
    min-height: inherit;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   TOOL ROOT
   ========================================================= */

.altermind-tool {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   TOOL CHILDREN
   ========================================================= */

.altermind-module *,
.altermind-module *::before,
.altermind-module *::after {

    box-sizing: border-box;

}


/* =========================================================
   TOOL INNER
   ========================================================= */

.altermind-tool__inner {
    position: relative;

    width: min(
        1240px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .altermind-tool__inner {

        width: calc(
            100% - 30px
        );

    }

}