/**
 * Theme Name:     GeneratePress Child
 * Theme URI:      https://gongfree.kr/
 * Description:    Gongfree Tech Lab Official Child Theme - Unified Design System
 * Author:         Gongfree
 * Template:       generatepress
 * Version:        2.1.0
 */

/* ==========================================================================
   1. GLOBAL DESIGN TOKENS & RESET
   ========================================================================== */
:root {
    --gf-primary: #2563eb;
    --gf-primary-hover: #1d4ed8;
    --gf-primary-light: #eff6ff;
    --gf-accent: #06b6d4;
    --gf-dark: #0f172a;
    --gf-dark-surface: #1e293b;
    --gf-text-main: #0f172a;
    --gf-text-muted: #64748b;
    --gf-border: #e2e8f0;
    --gf-bg-subtle: #f8fafc;
    --gf-radius: 14px;
    --gf-radius-lg: 20px;
    --gf-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --gf-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --gf-shadow-lg: 0 20px 35px -10px rgba(37, 99, 235, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: var(--gf-text-main);
    background-color: var(--gf-bg-subtle);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* ==========================================================================
   2. UNIFIED GLOBAL NAVIGATION BAR
   ========================================================================== */
.gongfree-global-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    width: 100%;
}

.gongfree-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.95rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gongfree-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gf-dark) !important;
    text-decoration: none !important;
    letter-spacing: -0.5px;
}

.gongfree-brand .brand-tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gongfree-menu-desktop {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.gongfree-nav-item {
    font-size: 0.94rem;
    font-weight: 600;
    color: #334155 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.gongfree-nav-item:hover {
    color: var(--gf-primary) !important;
}

.gongfree-nav-btn {
    background: var(--gf-primary);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.gongfree-nav-btn:hover {
    background: var(--gf-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.gongfree-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.gongfree-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: 0.3s;
}

.gongfree-mobile-menu {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--gf-border);
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.gongfree-mobile-menu.active {
    display: flex;
}

.gongfree-mobile-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.gongfree-mobile-menu a:last-child {
    border-bottom: none;
}

@media (max-width: 900px) {
    .gongfree-menu-desktop { display: none; }
    .gongfree-mobile-toggle { display: flex; }
}

/* ==========================================================================
   3. UNIFIED GLOBAL FOOTER
   ========================================================================== */
.gongfree-global-footer {
    background: var(--gf-dark);
    color: #94a3b8;
    padding: 4.5rem 1.5rem 2.5rem;
    border-top: 1px solid #1e293b;
    margin-top: auto;
    width: 100%;
}

.gongfree-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.gongfree-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-col-brand h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.footer-col-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    color: #94a3b8;
}

.footer-col h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #cbd5e1;
}

@media (max-width: 900px) {
    .gongfree-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .gongfree-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
    .footer-bottom-links a { margin: 0 8px; }
}

/* ==========================================================================
   4. BLOG ARCHIVE & POST CARD MODERNIZATION
   ========================================================================== */
.site-content {
    padding: 2.5rem 0 4rem;
}

.separate-containers .inside-article,
.inside-article {
    background: #ffffff !important;
    border-radius: var(--gf-radius) !important;
    border: 1px solid var(--gf-border) !important;
    box-shadow: var(--gf-shadow-sm) !important;
    padding: 2.2rem !important;
    margin-bottom: 1.75rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.blog .inside-article:hover,
.archive .inside-article:hover {
    transform: translateY(-3px) !important;
    border-color: #93c5fd !important;
    box-shadow: var(--gf-shadow-md) !important;
}

.entry-title {
    font-size: 1.35rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}

.entry-title a {
    color: var(--gf-dark) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.entry-title a:hover {
    color: var(--gf-primary) !important;
}

.entry-meta {
    font-size: 0.84rem !important;
    color: var(--gf-text-muted) !important;
    margin-top: 0.4rem !important;
    margin-bottom: 1rem !important;
}

.entry-meta a {
    color: inherit !important;
}

.entry-summary p {
    color: #475569 !important;
    line-height: 1.75 !important;
    font-size: 0.98rem !important;
}

.read-more-container a {
    color: var(--gf-primary) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Modern Pagination */
.paging-navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

.paging-navigation .page-numbers {
    background: #ffffff !important;
    border: 1px solid var(--gf-border) !important;
    color: #334155 !important;
    border-radius: 8px !important;
    padding: 8px 15px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.paging-navigation .page-numbers.current,
.paging-navigation .page-numbers:hover {
    background: var(--gf-primary) !important;
    color: #ffffff !important;
    border-color: var(--gf-primary) !important;
}

/* Modern Clean Sidebar */
.widget-area .widget {
    background: #ffffff !important;
    border-radius: var(--gf-radius) !important;
    border: 1px solid var(--gf-border) !important;
    box-shadow: var(--gf-shadow-sm) !important;
    padding: 1.75rem !important;
    margin-bottom: 1.5rem !important;
}

.widget .widget-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--gf-dark) !important;
    padding-bottom: 0.65rem !important;
    border-bottom: 2px solid #eff6ff !important;
    margin-bottom: 1rem !important;
}

/* Modern Search Box */
.search-form {
    display: flex !important;
    gap: 6px !important;
}

.search-field {
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 9px 14px !important;
    font-size: 0.9rem !important;
    flex: 1;
    background: #f8fafc !important;
}

.search-field:focus {
    border-color: var(--gf-primary) !important;
    background: #ffffff !important;
    outline: none !important;
}

.search-submit {
    background: var(--gf-primary) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    border: none !important;
    padding: 0 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s;
}

.search-submit:hover {
    background: var(--gf-primary-hover) !important;
}

/* ==========================================================================
   5. AIRLAN SHARE PAGE DEDICATED STYLING
   ========================================================================== */
.airlan-page-container {
    width: 100%;
    background-color: var(--gf-bg-subtle);
}

.airlan-hero {
    padding: 4.5rem 1.5rem 2.5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 15%, #eff6ff 0%, #f8fafc 80%);
}

.airlan-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.airlan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.airlan-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    animation: gfPulse 2s infinite;
}

@keyframes gfPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.airlan-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.airlan-subtitle {
    font-size: 1.08rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.airlan-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.airlan-features .feature-tag {
    background: #ffffff;
    border: 1px solid var(--gf-border);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.airlan-frame-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.airlan-frame-wrapper {
    width: 100%;
    min-height: 850px;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

.airlan-frame-wrapper iframe {
    width: 100%;
    height: 940px;
    border: none;
    display: block;
}

.airlan-guide-section {
    max-width: 1200px;
    margin: 4.5rem auto 5rem;
    padding: 0 1.5rem;
}

.guide-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

.guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.guide-step-card {
    background: #ffffff;
    border-radius: var(--gf-radius);
    padding: 2rem;
    border: 1px solid var(--gf-border);
    box-shadow: var(--gf-shadow-sm);
    position: relative;
}

.guide-step-card .step-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #93c5fd;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: monospace;
}

.guide-step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.guide-step-card p {
    font-size: 0.92rem;
    color: var(--gf-text-muted);
    line-height: 1.65;
    margin: 0;
}

.airlan-faq {
    background: #ffffff;
    border-radius: var(--gf-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--gf-border);
    box-shadow: var(--gf-shadow-sm);
}

.airlan-faq h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid #eff6ff;
    padding-bottom: 0.75rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 800px) {
    .airlan-title { font-size: 2rem; }
    .guide-steps-grid { grid-template-columns: 1fr; }
    .airlan-frame-wrapper iframe { height: 860px; }
}
