/*
Theme Name: Axion Technologies
Theme URI: https://axiontechnologies.om/
Author: Axion Technologies Team
Author URI: https://axiontechnologies.om/
Description: Luxury Corporate WordPress Theme for Axion Technologies LLC. Features 6 Dedicated IT Division Landing Pages, Universal 404-Bypass Routing, Live Visual Customizer Controls, Smooth GPU Scroll Entrance Animations, Gutenberg Drag & Drop Blocks, Full Mobile Responsive Navigation, and Standard Widget Areas.
Version: 2.3.1
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: axion-technologies
Tags: block-patterns, full-width-template, custom-header, custom-menu, custom-logo, editor-style, featured-images, theme-options, translation-ready, grid-layout, one-column, two-columns
*/

/* ==========================================================================
   Global Standard Typography & Unified Font Face
   ========================================================================== */
:root {
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: var(--font-main);
    --font-body: var(--font-main);

    /* Standard Heading Hierarchy Scales (h1 through h6) */
    --h1-size: clamp(2.25rem, 4vw + 1rem, 2.85rem);
    --h1-line-height: 1.15;
    --h1-letter-spacing: -0.025em;

    --h2-size: clamp(1.75rem, 2.8vw + 0.6rem, 2.25rem);
    --h2-line-height: 1.22;
    --h2-letter-spacing: -0.02em;

    --h3-size: clamp(1.4rem, 2vw + 0.5rem, 1.75rem);
    --h3-line-height: 1.28;
    --h3-letter-spacing: -0.015em;

    --h4-size: clamp(1.2rem, 1.2vw + 0.4rem, 1.35rem);
    --h4-line-height: 1.35;
    --h4-letter-spacing: -0.01em;

    --h5-size: clamp(1.05rem, 0.8vw + 0.35rem, 1.15rem);
    --h5-line-height: 1.4;
    --h5-letter-spacing: 0;

    --h6-size: clamp(0.875rem, 0.5vw + 0.3rem, 0.95rem);
    --h6-line-height: 1.45;
    --h6-letter-spacing: 0.04em;
}

html, body, button, input, select, textarea, optgroup {
    font-family: var(--font-main);
}

/* Headings Base */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-main);
    color: var(--sultan-navy, #002447);
    margin-top: 0;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
}

h1, .h1 {
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: var(--h1-line-height);
    letter-spacing: var(--h1-letter-spacing);
    margin-bottom: 0.6em;
}

h2, .h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: var(--h2-line-height);
    letter-spacing: var(--h2-letter-spacing);
    margin-bottom: 0.55em;
}

h3, .h3 {
    font-size: var(--h3-size);
    font-weight: 700;
    line-height: var(--h3-line-height);
    letter-spacing: var(--h3-letter-spacing);
    margin-bottom: 0.5em;
}

h4, .h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    line-height: var(--h4-line-height);
    letter-spacing: var(--h4-letter-spacing);
    margin-bottom: 0.45em;
}

h5, .h5 {
    font-size: var(--h5-size);
    font-weight: 600;
    line-height: var(--h5-line-height);
    letter-spacing: var(--h5-letter-spacing);
    margin-bottom: 0.4em;
}

h6, .h6 {
    font-size: var(--h6-size);
    font-weight: 600;
    line-height: var(--h6-line-height);
    letter-spacing: var(--h6-letter-spacing);
    text-transform: uppercase;
    margin-bottom: 0.35em;
}

/* WordPress Content Area Heading Standards */
.entry-content h1 { font-size: var(--h1-size); font-weight: 800; line-height: var(--h1-line-height); margin-bottom: 0.6em; }
.entry-content h2 { font-size: var(--h2-size); font-weight: 700; line-height: var(--h2-line-height); margin-bottom: 0.55em; }
.entry-content h3 { font-size: var(--h3-size); font-weight: 700; line-height: var(--h3-line-height); margin-bottom: 0.5em; }
.entry-content h4 { font-size: var(--h4-size); font-weight: 600; line-height: var(--h4-line-height); margin-bottom: 0.45em; }
.entry-content h5 { font-size: var(--h5-size); font-weight: 600; line-height: var(--h5-line-height); margin-bottom: 0.4em; }
.entry-content h6 { font-size: var(--h6-size); font-weight: 600; line-height: var(--h6-line-height); text-transform: uppercase; margin-bottom: 0.35em; }

/* ==========================================================================
   Axion Technologies — Custom Widgets & Sidebars Design System
   ========================================================================== */
.axion-widget-preview-dock {
    display: none !important;
}

/* Sidebar & Body Column Layout */
@media (max-width: 991px) {
    .page-layout-wrapper.has-active-sidebar,
    .single-layout-wrapper.has-active-sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }
    .page-sidebar-column,
    .single-sidebar-column {
        width: 100% !important;
    }
}

.axion-primary-sidebar .widget {
    margin-bottom: 28px;
}
.axion-primary-sidebar .widget:last-child {
    margin-bottom: 0;
}
.axion-primary-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #002447;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 164, 228, 0.2);
}
.axion-primary-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.axion-primary-sidebar ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}
.axion-primary-sidebar ul li:last-child {
    border-bottom: none;
}
.axion-primary-sidebar ul li a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.axion-primary-sidebar ul li a:hover {
    color: #00a4e4;
    transform: translateX(4px);
}

/* Header Utility Area Widget */
.header-top-widget-area {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.header-top-widget-area .widget {
    margin: 0;
}
.header-banner-widget-area {
    background: #00172e;
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Corporate Card Widget */
.axion-corporate-card:hover {
    transform: translateY(-4px);
}
.axion-corporate-card a.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* CTA Banner Widget */
.axion-cta-banner-inner {
    transition: transform 0.3s ease;
}
.axion-cta-banner-inner:hover {
    transform: translateY(-2px);
}

/* Button Widget */
.axion-button-container a:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

/* Footer Widget Columns */
.footer-widget {
    margin-bottom: 24px;
}
.footer-widget:last-child {
    margin-bottom: 0;
}
.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-quick-links-list li a:hover {
    color: #00a4e4 !important;
}
.footer-assoc-list li a:hover {
    color: #00a4e4 !important;
}

/* ==========================================================================
   DEVELOPER & CORPORATE FOOTER CREDIT PROTECTION (IMMUTABLE & NON-HIDEABLE)
   ========================================================================== */
html body #axion-copyright-bar,
html body .footer-bottom-bar,
html body .axion-protected-copyright-bar,
html body #footer-copyright-text,
html body [data-axion-locked="true"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    height: auto !important;
    min-height: 24px !important;
    max-height: none !important;
    width: auto !important;
    min-width: 100% !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    filter: none !important;
    pointer-events: auto !important;
    text-indent: 0 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent !important;
    overflow: visible !important;
    margin: 0 auto !important;
    padding: 16px 20px !important;
    z-index: 99999 !important;
}

/* ==========================================================================
   STANDARD WORDPRESS PAGE & GUTENBERG CONTENT TYPOGRAPHY
   ========================================================================== */
.axion-standard-page-main {
    font-family: var(--font-main, 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.axion-standard-page-card {
    transition: box-shadow 0.3s ease;
}

.entry-content {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.85;
}

.entry-content > *:first-child {
    margin-top: 0 !important;
}

.entry-content > *:last-child {
    margin-bottom: 0 !important;
}

.entry-content p {
    margin: 0 0 1.5em 0;
    color: #334155;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #002447;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.6em 0 0.6em 0;
}

.entry-content h1 { font-size: 2.2rem; }
.entry-content h2 { font-size: 1.75rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 0.3em; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content h5 { font-size: 1.05rem; }
.entry-content h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }

.entry-content a {
    color: #00a4e4;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: #00629b;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.6em 1.5em;
    padding: 0;
}

.entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.entry-content blockquote,
.wp-block-quote {
    margin: 1.8em 0;
    padding: 20px 24px;
    background: #f8fafc;
    border-left: 4px solid #00a4e4;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #475569;
}

.entry-content blockquote p {
    margin-bottom: 0.5em;
}

.entry-content blockquote cite,
.wp-block-quote cite {
    display: block;
    font-size: 0.88rem;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
}

.entry-content table,
.wp-block-table table {
    width: 100%;
    margin: 1.8em 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.entry-content th,
.wp-block-table th {
    background: #002447;
    color: #ffffff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #002447;
}

.entry-content td,
.wp-block-table td {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.entry-content tr:nth-child(even) td {
    background: #f8fafc;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content figure {
    margin: 1.8em 0;
}

.entry-content figure.aligncenter {
    text-align: center;
}

.entry-content figure figcaption,
.wp-caption-text {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

.entry-content hr,
.wp-block-separator {
    border: none;
    border-top: 1.5px solid #e2e8f0;
    margin: 2.5em 0;
}

/* Gutenberg Core Blocks */
.wp-block-button__link {
    background: #00a4e4;
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.25s ease;
}

.wp-block-button__link:hover {
    background: #0082b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 164, 228, 0.35);
}

.wp-block-columns {
    display: flex;
    gap: 24px;
    margin-bottom: 1.8em;
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }
    .axion-standard-page-card {
        padding: 26px 20px !important;
    }
}



