/* =========================================================
   GLOBAL DESIGN SYSTEM v2.0 (NEXT GEN)
   Scope: .global
   Purpose: Full WordPress + Gutenberg + UI System
   Philosophy: Clean, scalable, modern, high-end UI
   ========================================================= */

/* =========================
   ROOT DESIGN TOKENS
   ========================= */

.global {
    /* Typography */
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #1c1c1c;

    /* Layout */
    padding: 24px;
    background: #ffffff;

    /* Smooth rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================
   TYPOGRAPHY SCALE (MODERN)
   ========================= */

.global h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 18px;
    color: #111;
}

.global h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 750;
    margin: 30px 0 15px;
    padding-left: 12px;
    border-left: 5px solid #ff6a00;
}

.global h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 25px 0 12px;
}

.global h4 {
    font-size: 1.25rem;
    font-weight: 650;
    margin: 20px 0 10px;
}

.global h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 15px 0 8px;
}

.global p {
    margin: 0 0 16px;
    color: #444;
    font-size: 1rem;
}

/* =========================
   LINKS
   ========================= */

.global a {
    color: #ff6a00;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s ease;
}

.global a:hover {
    color: #e85d00;
    text-decoration: underline;
}

/* =========================
   LISTS
   ========================= */

.global ul,
.global ol {
    margin: 10px 0 20px 22px;
}

.global li {
    margin-bottom: 8px;
}

/* =========================
   BUTTON SYSTEM (PRO LEVEL)
   ========================= */

.global .btn,
.global button,
.global .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6a00, #ff8c1a);
    color: #fff !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.25);
}

.global .btn:hover,
.global .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 106, 0, 0.35);
}

/* =========================
   WORDPRESS GUTENBERG BLOCKS
   ========================= */

/* Group Block */
.global .wp-block-group {
    padding: 20px;
    border-radius: 14px;
    background: #f9f9f9;
}

/* Columns Block */
.global .wp-block-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.global .wp-block-column {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Cover Block */
.global .wp-block-cover {
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Block */
.global img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Quote Block */
.global blockquote {
    border-left: 4px solid #ff6a00;
    padding: 15px 20px;
    margin: 20px 0;
    background: #fff7f2;
    font-style: italic;
    color: #333;
}

/* Code Block */
.global pre,
.global code {
    background: #111;
    color: #f5f5f5;
    padding: 12px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
}

/* Table Block */
.global table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.global table th,
.global table td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: left;
}

.global table th {
    background: #ff6a00;
    color: #fff;
}

/* =========================
   CARD SYSTEM
   ========================= */

.global .card,
.global .wp-block-group.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.global .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* =========================
   SPACING UTILITIES
   ========================= */

.global .mt-1 { margin-top: 10px; }
.global .mt-2 { margin-top: 20px; }
.global .mt-3 { margin-top: 30px; }

.global .mb-1 { margin-bottom: 10px; }
.global .mb-2 { margin-bottom: 20px; }
.global .mb-3 { margin-bottom: 30px; }

/* =========================
   ALIGNMENT UTILITIES
   ========================= */

.global .text-center { text-align: center; }
.global .text-right { text-align: right; }

/* =========================
   CALLOUT / INFO BOXES
   ========================= */

.global .info-box {
    background: #eef6ff;
    border-left: 5px solid #2b7cff;
    padding: 15px;
    border-radius: 10px;
}

.global .success-box {
    background: #e9fff1;
    border-left: 5px solid #20c997;
    padding: 15px;
    border-radius: 10px;
}

.global .warning-box {
    background: #fff6e5;
    border-left: 5px solid #ff9800;
    padding: 15px;
    border-radius: 10px;
}

/* =========================
   RESPONSIVE SYSTEM
   ========================= */

@media (max-width: 768px) {

    .global {
        padding: 16px;
    }

    .global .wp-block-columns {
        flex-direction: column;
    }

    .global h1 {
        font-size: 2rem;
    }

    .global h2 {
        font-size: 1.6rem;
    }
}