/*
Theme Name: SocioEducations Custom
Theme URI: https://socioeducations.com/
Author: SocioEducations
Author URI: https://socioeducations.com/
Description: Premium Mobile-First Education Portal Child Theme for GeneratePress.
Version: 1.0.0
Template: generatepress
Text Domain: socioeducations
*/

/* ========================================
   1. DESIGN SYSTEM
======================================== */

:root {
    --se-navy: #10264B;
    --se-navy-dark: #0B1B36;
    --se-blue: #2457C5;
    --se-orange: #F59E0B;
    --se-green: #16845A;
    --se-purple: #7952B3;

    --se-text: #172033;
    --se-muted: #64748B;
    --se-bg: #F5F7FB;
    --se-white: #FFFFFF;
    --se-border: #E6EAF1;

    --se-container: 1240px;

    --se-radius: 12px;
    --se-radius-sm: 8px;

    --se-shadow: 0 4px 18px rgba(16, 38, 75, 0.06);
}

/* ========================================
   2. GLOBAL RESET
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--se-bg);
    color: var(--se-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--se-blue);
    text-decoration: none;
}

a:hover {
    color: var(--se-orange);
}

/* ========================================
   3. CONTAINER
======================================== */

.grid-container,
.se-container {
    width: 100%;
    max-width: var(--se-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========================================
   4. TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--se-navy);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(28px, 4vw, 42px);
}

h2 {
    font-size: clamp(22px, 3vw, 30px);
}

p {
    margin-bottom: 16px;
}

/* ========================================
   5. BUTTONS
======================================== */

button,
.button,
.wp-element-button {
    border-radius: var(--se-radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--se-orange);
    outline-offset: 3px;
}

/* ========================================
   6. WORDPRESS CONTENT
======================================== */

.site-content {
    padding-top: 24px;
    padding-bottom: 32px;
}

.entry-content {
    color: var(--se-text);
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================
   7. RESPONSIVE BASE
======================================== */

@media (max-width: 768px) {

    body {
        font-size: 15px;
        line-height: 1.65;
    }

    .grid-container,
    .se-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .site-content {
        padding-top: 15px;
        padding-bottom: 24px;
    }

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

}

@media (max-width: 480px) {

    .grid-container,
    .se-container {
        padding-left: 12px;
        padding-right: 12px;
    }

}