/*
Theme Name: IQA ASIA
Theme URI: https://iqa.asia
Author: Nidhin
Author URI: https://iqa.asia
Description: IQA ASIA is a powerful, modern WordPress theme built for educational platforms, registration systems, and WooCommerce integration. Fully compatible with the IQA Query Plugin, Elementor, and major caching plugins. Features multiple header/footer layouts, customizable colors, typography, dark mode, and responsive design.
Version: 1.7.2
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iqa-asia
Tags: education, registration, woocommerce, elementor, custom-header, custom-background, custom-logo, custom-menu, featured-images, flexible-header, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, two-columns, three-columns, left-sidebar, right-sidebar, wide-blocks, block-styles

IQA ASIA WordPress Theme, (C) 2024 IQA ASIA
IQA ASIA is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# CSS Variables
# Reset
# Typography
# Grid System
# Base Styles
# WordPress Core
--------------------------------------------------------------*/

/*---------------------------------------
# CSS Variables
---------------------------------------*/
:root {
    --iqa-primary: #1a237e;
    --iqa-primary-rgb: 26, 35, 126;
    --iqa-secondary: #283593;
    --iqa-accent: #ff6f00;
    --iqa-accent-rgb: 255, 111, 0;
    --iqa-text: #333333;
    --iqa-text-light: #666666;
    --iqa-bg: #ffffff;
    --iqa-bg-alt: #f5f5f5;
    --iqa-border: #e0e0e0;
    --iqa-success: #2e7d32;
    --iqa-error: #c62828;
    --iqa-warning: #f9a825;
    --iqa-font-heading: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    --iqa-font-body: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    --iqa-font-size-base: 16px;
    --iqa-font-size-sm: 14px;
    --iqa-font-size-lg: 18px;
    --iqa-font-size-xl: 24px;
    --iqa-font-size-2xl: 32px;
    --iqa-font-size-3xl: 40px;
    --iqa-line-height: 1.6;
    --iqa-content-width: 1200px;
    --iqa-wide-width: 1400px;
    --iqa-sidebar-width: 320px;
    --iqa-gap: 30px;
    --iqa-gap-sm: 15px;
    --iqa-radius: 4px;
    --iqa-radius-lg: 8px;
    --iqa-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --iqa-shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --iqa-transition: 0.3s ease;
}

/*---------------------------------------
# Reset
---------------------------------------*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--iqa-font-body);
    font-size: var(--iqa-font-size-base);
    line-height: var(--iqa-line-height);
    color: var(--iqa-text);
    background-color: var(--iqa-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section {
    display: block;
}

figure {
    margin: 0;
}

ul, ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

ul { list-style: disc; }
ol { list-style: decimal; }

li > ul, li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--iqa-primary);
    text-decoration: none;
    transition: color var(--iqa-transition);
}

a:hover {
    color: var(--iqa-accent);
}

a:focus {
    outline: 2px solid var(--iqa-accent);
    outline-offset: 2px;
}

/*---------------------------------------
# Typography
---------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--iqa-font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: var(--iqa-primary);
    clear: both;
}

h1 { font-size: var(--iqa-font-size-3xl); }
h2 { font-size: var(--iqa-font-size-2xl); }
h3 { font-size: var(--iqa-font-size-xl); }
h4 { font-size: var(--iqa-font-size-lg); }
h5 { font-size: var(--iqa-font-size-base); }
h6 { font-size: var(--iqa-font-size-sm); }

p {
    margin-bottom: 1.5em;
}

small { font-size: var(--iqa-font-size-sm); }

/*---------------------------------------
# Grid System
---------------------------------------*/
.iqa-asia-container {
    max-width: var(--iqa-content-width);
    margin: 0 auto;
    padding: 0 15px;
}

.iqa-asia-container-wide {
    max-width: var(--iqa-wide-width);
    margin: 0 auto;
    padding: 0 15px;
}

.iqa-asia-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.iqa-asia-col {
    flex: 1;
    padding: 0 15px;
}

.iqa-asia-col-12 { width: 100%; padding: 0 15px; }
.iqa-asia-col-11 { width: 91.666%; padding: 0 15px; }
.iqa-asia-col-10 { width: 83.333%; padding: 0 15px; }
.iqa-asia-col-9 { width: 75%; padding: 0 15px; }
.iqa-asia-col-8 { width: 66.666%; padding: 0 15px; }
.iqa-asia-col-7 { width: 58.333%; padding: 0 15px; }
.iqa-asia-col-6 { width: 50%; padding: 0 15px; }
.iqa-asia-col-5 { width: 41.666%; padding: 0 15px; }
.iqa-asia-col-4 { width: 33.333%; padding: 0 15px; }
.iqa-asia-col-3 { width: 25%; padding: 0 15px; }
.iqa-asia-col-2 { width: 16.666%; padding: 0 15px; }
.iqa-asia-col-1 { width: 8.333%; padding: 0 15px; }

@media (max-width: 768px) {
    .iqa-asia-col-12, .iqa-asia-col-11, .iqa-asia-col-10,
    .iqa-asia-col-9, .iqa-asia-col-8, .iqa-asia-col-7,
    .iqa-asia-col-6, .iqa-asia-col-5, .iqa-asia-col-4,
    .iqa-asia-col-3, .iqa-asia-col-2, .iqa-asia-col-1 {
        width: 100%;
    }
}

/*---------------------------------------
# Base Styles
---------------------------------------*/
.iqa-asia-screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.iqa-asia-site-content {
    min-height: 60vh;
    padding: 60px 0;
}

/*---------------------------------------
# WordPress Core
---------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; }
.wp-caption-text { text-align: center; font-size: var(--iqa-font-size-sm); padding: 10px 0; }
.wp-block-image figcaption { text-align: center; font-size: var(--iqa-font-size-sm); }
.gallery { margin-bottom: 1.5em; }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto; }
.sticky { display: block; }
.bypostauthor { display: block; }
.wp-block-cover { border-radius: var(--iqa-radius-lg); }
