/*
© 2025 Sharon Aicler (saichler@gmail.com)

Layer 8 Ecosystem is licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* ============================================ */
/* LAYER 8 SECTION RESPONSIVE STYLES */
/* Media queries for generic section layout */
/* ============================================ */

/* ============================================ */
/* TABLET BREAKPOINT (1024px) */
/* ============================================ */

@media (max-width: 1024px) {
    .l8-header-frame,
    .hcm-header-frame {
        height: 96px;
    }

    .l8-title,
    .hcm-title {
        font-size: 28px;
    }

    .l8-subtitle,
    .hcm-subtitle {
        font-size: 11px;
    }

    .l8-module-tab,
    .hcm-module-tab {
        padding: 10px 16px;
        font-size: 12px;
    }

    .l8-subnav,
    .hcm-subnav {
        width: 180px;
        min-width: 180px;
    }
}

/* ============================================ */
/* MOBILE BREAKPOINT (768px) */
/* ============================================ */

@media (max-width: 768px) {
    /* Header */
    .l8-header-frame,
    .hcm-header-frame {
        height: 84px;
    }

    .l8-header-title,
    .hcm-header-title {
        padding: 16px 18px;
        gap: 10px;
    }

    .l8-icon,
    .hcm-icon {
        font-size: 30px;
    }

    .l8-title,
    .hcm-title {
        font-size: 24px;
    }

    .l8-subtitle,
    .hcm-subtitle {
        font-size: 10px;
        display: block;
    }

    /* Module Tabs */
    .l8-module-tab .tab-label,
    .hcm-module-tab .tab-label {
        display: none;
    }

    .l8-module-tab,
    .hcm-module-tab {
        padding: 10px 14px;
    }

    /* Module Content */
    .l8-module-content,
    .hcm-module-content {
        flex-direction: column;
    }

    /* Sub-navigation (horizontal on mobile) */
    .l8-subnav,
    .hcm-subnav {
        width: 100%;
        min-width: 100%;
        min-height: auto;
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
        margin: 0 -7px;
        border-right: none;
        border-bottom: 1px solid var(--layer8d-border);
    }

    .l8-subnav-item,
    .hcm-subnav-item {
        padding: 8px 12px;
        border-left: none;
        border-radius: 6px;
        flex: 0 0 auto;
    }

    .l8-subnav-item.active,
    .hcm-subnav-item.active {
        border-left: none;
        background: var(--layer8d-primary);
        color: white;
    }

    /* Service Content */
    .l8-service-content,
    .hcm-service-content {
        padding: 16px 0;
    }
}
