/* Astra: 단일 페이지 제목 숨김 */
.page .entry-title,
.page .ast-single-entry-title {
  display: none !important;
}

/* 제목 영역 여백도 제거 (옵션) */
.page .entry-header {
  margin: 0 !important;
  padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

footer,
.site-footer,
.elementor-location-footer {
    margin-bottom: 0 !important;
}

.elementor-section:last-child {
    margin-bottom: 0 !important;
}



/* ==========================================
   Tobin Square Footer - Centered & Clean
   ========================================== */

/* Reset */
.footer-wrapper,
.footer-wrapper * {
    box-sizing: border-box !important;
}

/* Main Footer Wrapper */
body .footer-wrapper,
body.astra-theme .footer-wrapper,
.entry-content .footer-wrapper {
    background: linear-gradient(180deg, #fafbff 0%, #f5f7ff 100%) !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 70px 40px 40px !important;
    margin: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Animated Gradient Line at Top */
body .footer-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4facfe, #00d2ff, #667eea) !important;
    background-size: 300% 100% !important;
    animation: gradientFlow 6s ease infinite !important;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50% !important; }
    50% { background-position: 100% 50% !important; }
    100% { background-position: 0% 50% !important; }
}

/* Container */
body .footer-wrapper .footer-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Top Section - Brand Only */
body .footer-wrapper .footer-top {
    text-align: center !important;
    margin-bottom: 60px !important;
    padding-bottom: 50px !important;
    border-bottom: 1px solid #e0e7ff !important;
}

/* Brand Section */
body .footer-wrapper .footer-brand {
    max-width: 600px !important;
    margin: 0 auto !important;
}

body .footer-wrapper .footer-logo {
    font-size: 36px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 16px !important;
    display: block !important;
    letter-spacing: -1px !important;
}

body .footer-wrapper .footer-tagline {
    font-size: 17px !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* Main Content Grid - 가운데 정렬 */
body .footer-wrapper .footer-content {
    display: flex !important;
    justify-content: center !important;
    gap: 80px !important;
    margin-bottom: 50px !important;
    flex-wrap: wrap !important;
}

/* Column Base */
body .footer-wrapper .footer-column {
    display: block !important;
    min-width: 150px !important;
}

body .footer-wrapper .footer-column h3 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #667eea !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 20px 0 !important;
    position: relative !important;
    padding-bottom: 12px !important;
}

body .footer-wrapper .footer-column h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #667eea, #764ba2) !important;
    border-radius: 2px !important;
}

/* Links */
body .footer-wrapper .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .footer-wrapper .footer-links li {
    margin-bottom: 12px !important;
    list-style: none !important;
}

body .footer-wrapper .footer-links li:last-child {
    margin-bottom: 0 !important;
}

body .footer-wrapper .footer-links a {
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    position: relative !important;
}

body .footer-wrapper .footer-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #667eea, #764ba2) !important;
    transition: width 0.3s ease !important;
}

body .footer-wrapper .footer-links a:hover {
    color: #667eea !important;
}

body .footer-wrapper .footer-links a:hover::after {
    width: 100% !important;
}

/* Bottom Section - 가운데 정렬 */
body .footer-wrapper .footer-bottom {
    padding-top: 35px !important;
    border-top: 1px solid #e0e7ff !important;
    position: relative !important;
}

body .footer-wrapper .footer-bottom-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Animated Gradient Line at Bottom */
body .footer-wrapper .footer-bottom::after {
    content: '' !important;
    position: absolute !important;
    bottom: -40px !important;
    left: -40px !important;
    right: -40px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #4facfe, #00d2ff, #667eea) !important;
    background-size: 300% 100% !important;
    animation: gradientFlow 6s ease infinite !important;
}

body .footer-wrapper .footer-copyright {
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Social Links - Font Awesome */
body .footer-wrapper .footer-social {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
}

body .footer-wrapper .social-link {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 2px solid #e0e7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #667eea !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1) !important;
    font-size: 18px !important;
}

body .footer-wrapper .social-link i {
    transition: transform 0.3s ease !important;
}

body .footer-wrapper .social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    transform: translateY(-3px) rotate(5deg) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3) !important;
}

body .footer-wrapper .social-link:hover i {
    transform: scale(1.1) !important;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 992px) {
    body .footer-wrapper {
        padding: 60px 32px 32px !important;
    }

    body .footer-wrapper .footer-top {
        margin-bottom: 50px !important;
        padding-bottom: 40px !important;
    }

    body .footer-wrapper .footer-content {
        gap: 50px !important;
    }
}

@media (max-width: 768px) {
    body .footer-wrapper {
        padding: 50px 24px 24px !important;
    }

    body .footer-wrapper .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 36px !important;
        margin-bottom: 40px !important;
    }

    body .footer-wrapper .footer-column {
        text-align: center !important;
    }

    body .footer-wrapper .footer-column h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    body .footer-wrapper .footer-bottom-content {
        padding-top: 28px !important;
    }
}

@media (max-width: 480px) {
    body .footer-wrapper .footer-logo {
        font-size: 28px !important;
    }

    body .footer-wrapper .footer-tagline {
        font-size: 15px !important;
    }

    body .footer-wrapper .social-link {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
    }
}
