/*
Theme Name: JoinOpstar
*/
.pt-0{
  padding-top: 0 !important;
}
:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1e40af;
  --color-secondary: #64748b;
  --color-accent: #3b82f6;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Background Colors */
  --color-bg-primary: #f5f5f5;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-bg-overlay: rgba(15, 23, 42, 0.5);
  
  /* Text Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;
  
  /* Border Colors */
  --color-border: #e2e8f0;
  --color-border-light: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #516b81 0%, #516b81 50%, #516b81 100%);
  --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  
  /* Spacing */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */
  
  /* Typography */
  --font-family-primary: 'Montserrat',sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */
  --font-size-6xl: 3.75rem;  /* 60px */
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Borders & Radius */
  --border-radius-sm: 0.375rem;  /* 6px */
  --border-radius-md: 0.5rem;    /* 8px */
  --border-radius-lg: 0.75rem;   /* 12px */
  --border-radius-xl: 1rem;      /* 16px */
  --border-radius-2xl: 1.5rem;   /* 24px */
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}
/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
/* CSS Reset */

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; background: #fff; color: #111; line-height: 1.7; }
a { color: #111; text-decoration: underline; }
a:hover { color: #555; }
img { max-width: 100%; display: block; filter: grayscale(100%); }

/* ── Hero ──────────────────────────────────── */
.gaideu-hero {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 60px 16px;
}
.gaideu-hero .hero-content p {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: -1px;
    color: #e0e0e0;
    margin-bottom: 12px;
}
.gaideu-hero .hero-content h1 {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}
.gaideu-hero .hero-content a {
    border-radius: 4px;
    background-color: #e7e7e7;
    padding: 5px 12px;
    border: none;
    text-decoration: none;
    cursor: pointer;
}
.gaideu-hero .hero-content a:hover {
    background-color: #d4d4d4;
}

/* ── Content wrapper ───────────────────────── */
.content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Section headings ──────────────────────── */
.content section { padding: 0.5rem 0 1rem; }
.content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #111;
    padding: 1rem 0 0.6rem;
    border-bottom: 2px solid #111;
    margin-bottom: 0.8rem;
}
.content h3 { font-size: 1.5rem; color: #222; padding: 0.8rem 0 0.4rem; }
.content h4 { font-size: 1.2rem; color: #333; padding: 0.6rem 0 0.3rem; }
.content h5 { font-size: 1rem; font-weight: 700; color: #444; padding: 0.4rem 0; }
.content p  { color: #444; margin-bottom: 0.6rem; }
.content ul, .content ol { padding-left: 1.8rem; color: #333; }
.content li { margin-bottom: 0.3rem; }
.content .blog-post-card { padding: 0.4rem 0; }

/* ── Table ─────────────────────────────────── */
.content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.content table th, .content table td { padding: 0.5rem 0.8rem; border: 1px solid #bbb; }
.content table th { background: #e8e8e8; font-weight: 600; }

/* ── Banner / image block ──────────────────── */
.banner-block {
    display: flex;
    gap: 16px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.banner-block .banner-item {
    flex: 1 1 calc(50% - 8px);
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    min-height: 120px;
    border-radius: 4px;
}

/* ── Blog section ──────────────────────────── */
.blog-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    padding: 2rem 0 1.2rem;
    border-top: 2px solid #ccc;
}
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}
.blog-post-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
.blog-post-card .card-thumb {
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    height: 140px;
}
.blog-post-card .card-body { padding: 14px; }
.blog-post-card .card-body h3 { font-size: 0.95rem; color: #111; margin-bottom: 6px; }
.blog-post-card .card-body p  { font-size: 0.82rem; color: #555; line-height: 1.5; }
.blog-post-card .card-body .card-meta { font-size: 0.75rem; color: #888; margin-top: 8px; }
.blog-post-card .card-body a.read-more { font-size: 0.82rem; color: #111; font-weight: 600; text-decoration: underline; display: inline-block; margin-top: 8px; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
    .content { padding: 2rem 1rem; }
    .blog-posts-grid { grid-template-columns: 1fr; padding: 0 1rem 2rem; }
    .banner-block .banner-item { flex: 1 1 100%; }
}