/* All-Ling logo (header & footer) */

#header .logo,
#header.on .logo,
#header.scroll .logo,
body#member #header .logo,
body#member #header.sitemap_on .logo,
#header.sitemap_on .logo {
    background: none !important;
    width: auto;
    height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: 0;
    line-height: 0;
    overflow: visible;
    max-width: 50%;
    z-index: 2;
}

#header .logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

#header .logo img.logo-white {
    display: none;
}

#footer .footer_logo {
    display: block;
    margin-bottom: 24px;
}

#footer .footer_logo img {
    height: 24px;
    width: auto;
}

/* Footer — all-ling.com style */
#footer {
    background: #1A1D1E !important;
    padding: 64px 0 !important;
    border-top: 1px solid #1f2937;
}

#footer .inner {
    max-width: 1280px !important;
    padding: 0 24px !important;
    position: relative;
}

#footer .inner > ul {
    display: none !important;
}

#footer .inner > div:not(.al-footer-nav):not(.al-footer-info):not(.al-footer-bottom) {
    display: none !important;
}

#footer .inner > p {
    display: none !important;
}

#footer .al-footer-nav {
    display: flex !important;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 0 !important;
    width: auto !important;
    max-width: none !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #9ca3af;
}

#footer .al-footer-nav > a {
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #9ca3af;
    transition: color 0.2s;
}

#footer .al-footer-nav > a:hover,
#footer .al-footer-nav > a.bold:hover {
    color: #fff;
}

#footer .al-footer-nav > a.bold {
    color: #fff;
    font-weight: 700;
}

#footer .al-family-site {
    position: relative;
}

#footer .al-family-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #4b5563;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: #9ca3af;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
}

#footer .al-family-btn:hover {
    color: #fff;
    border-color: #9ca3af;
}

#footer .al-icon-chevron {
    width: 12px;
    height: 12px;
}

#footer .al-family-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    width: 192px;
    background: #25292A;
    border: 1px solid #374151;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

#footer .al-family-dropdown.hidden {
    display: none;
}

#footer .al-family-dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: #d1d5db;
    transition: background 0.2s, color 0.2s;
}

#footer .al-family-dropdown a:hover {
    background: #374151;
    color: #fff;
}

#footer .al-footer-info {
    color: #d1d5db;
    line-height: 1.75;
    font-size: 13px !important;
    margin-bottom: 12px;
    margin-top: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

#footer .al-footer-info p {
    margin: 0 0 4px;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    color: #d1d5db;
    letter-spacing: 0;
    line-height: 1.75;
    padding: 0;
}

#footer .al-footer-info a {
    color: #d1d5db;
    transition: color 0.2s;
}

#footer .al-footer-info a:hover {
    color: #fff;
}

#footer .al-footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #1f2937;
}

#footer .al-footer-bottom p {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 0;
    line-height: 1.4;
}

#footer .inner a.top_btn {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #2a2d2e;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding-top: 28px;
    transition: background 0.3s;
    z-index: 2;
}

#footer .inner a.top_btn:before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
    background: none;
}

#footer .inner a.top_btn:hover {
    background: #232627;
}

@media (max-width: 768px) {
    #footer {
        padding: 40px 0 30px !important;
    }

    #footer .inner {
        padding: 0 20px !important;
        padding-top: 56px !important;
    }

    #footer .al-footer-nav {
        gap: 16px 24px;
    }

    #footer .inner a.top_btn {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        margin-left: 0 !important;
        width: 46px;
        height: 46px;
        font-size: 11px;
        padding-top: 20px;
    }

    #footer .inner a.top_btn:before {
        top: 12px;
        margin-left: -5px;
        width: 10px;
        height: 6px;
        background-size: 100%;
    }
}

/* Sitemap / hamburger menu — white background, no image */
#header .sitemap_box {
    background: #fff !important;
    background-image: none !important;
}

#header.sitemap_on {
    background-color: #fff !important;
}

#header.sitemap_on:before {
    background-color: #ececec !important;
}

#header.sitemap_on .menu_box .dep1 > a > span,
#header.sitemap_on .member_btn ul li a {
    color: #979b9b !important;
}

#header.sitemap_on .member_btn ul li:before {
    background: #c6c6c6 !important;
    opacity: 1 !important;
}

#header.sitemap_on .menu_btn span {
    background-color: #111 !important;
}

#header .sitemap_box .dep1 {
    border-right-color: #e5e7eb;
}

#header .sitemap_box .dep1 > a {
    color: #111827;
    font-family: 'Pretendard', sans-serif;
}

#header .sitemap_box .dep1 > a::before {
    background: #73B854;
}

#header .sitemap_box .dep2_wrap li a {
    color: #6b7280;
}

#header .sitemap_box .dep2_wrap li a:hover {
    color: #73B854;
    text-decoration: none;
}

#header .sitemap_box .dep2_wrap li a:hover {
    color: #73B854;
    text-decoration: none;
}

#header .menu_box.gnb-flat .dep2_wrap {
    display: none !important;
}

@media (max-width: 1200px) {
    #header .menu_box {
        background: #fff !important;
        background-image: none !important;
    }

    #header.m_menu_on .header_box {
        background-color: #fff !important;
        border-bottom: 1px solid #ececec;
    }

    #header .menu_box .dep1 > a {
        color: #111827;
        border-bottom-color: #e5e7eb;
    }

    #header .menu_box .dep2_wrap {
        border-bottom-color: #e5e7eb;
    }

    #header.m_menu_on .member_btn ul li a,
    body#member #header.m_menu_on .member_btn ul li a {
        color: #979b9b !important;
    }

    #header.m_menu_on .member_btn ul li:before,
    body#member #header.m_menu_on .member_btn ul li:before {
        background: #c6c6c6 !important;
        opacity: 1 !important;
    }

    #header.m_menu_on .menu_btn span,
    body#member #header .menu_btn.on span {
        background-color: #111 !important;
    }

    #header .menu_box .dep2_wrap li.on a {
        color: #73B854;
    }

    #header .menu_box.gnb-flat .dep1 > a:before {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #header .logo,
    #header.on .logo,
    #header.scroll .logo {
        height: 24px;
    }

    #header .logo img {
        height: 14px;
    }
}

/* Terms page — all-ling.com/terms (also in terms.css) */
body#terms {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #f9fafb;
}

body#terms #header,
body#contact #header,
body#faq #header,
body#notice #header {
    background-color: #fff;
}

body#terms #header:before,
body#contact #header:before,
body#faq #header:before,
body#notice #header:before {
    background-color: #ececec;
}

body#terms #header .menu_box .dep1 > a > span,
body#terms #header.scroll .menu_box .dep1 > a > span,
body#contact #header .menu_box .dep1 > a > span,
body#contact #header.scroll .menu_box .dep1 > a > span,
body#faq #header .menu_box .dep1 > a > span,
body#faq #header.scroll .menu_box .dep1 > a > span,
body#notice #header .menu_box .dep1 > a > span,
body#notice #header.scroll .menu_box .dep1 > a > span {
    color: #111;
}

body#terms #header .member_btn ul li a,
body#terms #header.scroll .member_btn ul li a,
body#contact #header .member_btn ul li a,
body#contact #header.scroll .member_btn ul li a,
body#faq #header .member_btn ul li a,
body#faq #header.scroll .member_btn ul li a,
body#notice #header .member_btn ul li a,
body#notice #header.scroll .member_btn ul li a {
    color: #979b9b;
}

body#terms #header .member_btn ul li:before,
body#contact #header .member_btn ul li:before,
body#faq #header .member_btn ul li:before,
body#notice #header .member_btn ul li:before {
    background: #c6c6c6;
    opacity: 1;
}

body#terms #header .menu_btn span,
body#contact #header .menu_btn span,
body#faq #header .menu_btn span,
body#notice #header .menu_btn span {
    background-color: #111;
}

.al-terms-page {
    padding-top: 100px;
    padding-bottom: 0;
    background: #f9fafb;
}

.al-terms-hero {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 56px 24px 40px;
}

.al-terms-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.al-terms-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.al-terms-hero h1 {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
}

.al-terms-hero p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
    margin: 0;
}

.al-terms-main {
    padding: 24px 0 80px;
}

.al-terms-tabs {
    display: flex;
    gap: 8px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.al-terms-tab {
    flex: 1;
    max-width: 220px;
    padding: 14px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.al-terms-tab.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.al-terms-body-wrap {
    max-width: 960px;
    margin: 24px auto 0;
    padding: 0 24px;
}

.al-terms-panel {
    display: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 48px;
}

.al-terms-panel.is-active {
    display: block;
}

.al-terms-panel > h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #111827;
}

.al-terms-section .al-terms-date,
.al-terms-body .al-terms-date {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px;
}

.al-terms-section h3,
.al-terms-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 28px 0 12px;
}

.al-terms-section h3:first-of-type,
.al-terms-body h3:first-of-type {
    margin-top: 0;
}

.al-terms-section p,
.al-terms-body p {
    font-size: 15px;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 12px;
}

.al-terms-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

.al-terms-list {
    margin: 0 0 16px;
    padding-left: 20px;
    color: #374151;
    font-size: 15px;
    line-height: 1.75;
}

.al-terms-list li {
    margin-bottom: 8px;
}

.al-terms-bullets {
    list-style: disc;
}

.al-terms-table-wrap {
    overflow-x: auto;
    margin: 16px 0 24px;
}

.al-terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.al-terms-table th,
.al-terms-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    color: #374151;
    line-height: 1.5;
}

.al-terms-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.al-terms-contact {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #6b7280;
}

.agree_cont .al-terms-body h3 {
    font-size: 14px;
    margin: 18px 0 8px;
    color: #333;
}

.agree_cont .al-terms-body .al-terms-table {
    font-size: 12px;
}

.agree_cont .al-terms-body .al-terms-table th,
.agree_cont .al-terms-body .al-terms-table td {
    padding: 8px 10px;
}

@media (max-width: 768px) {
    .al-terms-page {
        padding-top: 80px;
    }

    .al-terms-hero h1 {
        font-size: 24px;
    }

    .al-terms-tabs {
        flex-direction: column;
    }

    .al-terms-tab {
        max-width: none;
    }

    .al-terms-panel {
        padding: 24px 20px;
    }

    .al-terms-panel > h2 {
        font-size: 20px;
    }
}

/* Customer center — FAQ / 공지사항 */
body#faq,
body#notice {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #fff;
}

.al-customer-page,
.al-faq-page {
    padding-top: 100px;
    padding-bottom: 0;
    background: #fff;
}

.al-customer-subnav,
.al-faq-subnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 60px;
    border-bottom: 1px solid #e2e2e2;
    background: #fff;
}

.al-customer-subnav-item,
.al-faq-subnav-item {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #888;
    text-decoration: none;
}

.al-customer-subnav-item.is-muted,
.al-faq-subnav-item.is-muted {
    color: #888;
}

.al-customer-subnav-item.is-active,
.al-faq-subnav-item.is-active {
    color: #222;
    font-weight: 500;
}

.al-customer-subnav-dot,
.al-faq-subnav-dot {
    color: #cecece;
    font-size: 18px;
    line-height: 1;
}

body#notice .al-customer-page .sub_tit.al-customer-sub-tit {
    padding-bottom: 32px;
}

.al-customer-page .sub_tit.al-customer-sub-tit,
.al-faq-page .sub_tit.al-faq-sub-tit {
    padding-top: 72px;
    padding-bottom: 0;
}

.al-customer-page .sub_tit.al-customer-sub-tit h3,
.al-faq-page .sub_tit.al-faq-sub-tit h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 54px;
    font-weight: 700;
    letter-spacing: 0;
}

.al-faq-page .faq .sc .sec01 {
    padding: 56px 0 120px;
}

.al-faq-page .faq .sc .sec01 .inner {
    max-width: 1240px;
    padding: 0 60px;
    box-sizing: border-box;
}

.al-faq-page .faq .sc .sec01 .tit_box {
    font-size: 36px;
    margin-bottom: 0;
}

.al-faq-page .faq_list {
    margin-top: 36px;
}

.al-faq-page .faq_list .box:hover {
    border-color: #73B854;
}

.al-faq-page .faq_list .box.on {
    border-color: #73B854;
    box-shadow: 0 14px 46px 0 rgba(115, 184, 84, 0.12);
}

.al-faq-page .faq_list .box > a span:before {
    color: #73B854;
}

.al-faq-page .faq_list .box > a span {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.al-faq-page .faq_list .box > div p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: -0.02em;
}

.al-faq-page .faq_list .box > div p + p {
    border-top: 0;
    padding-top: 0;
    margin-top: -8px;
}

.al-faq-page .faq_list .box > div p strong {
    color: #111;
    font-weight: 700;
}

/* faq_arr 이미지 없을 때 SVG chevron */
.al-faq-page .faq_list .box > a span:after {
    width: 24px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14' fill='none'%3E%3Cpath d='M2 3L12 11L22 3' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.al-faq-page .faq_list .box.on > a span:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14' viewBox='0 0 24 14' fill='none'%3E%3Cpath d='M2 11L12 3L22 11' stroke='%2373B854' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 1200px) {
    .al-customer-subnav,
    .al-faq-subnav {
        padding: 28px 24px;
    }

    .al-customer-page .notice .sc .inner,
    .al-faq-page .faq .sc .sec01 .inner {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .al-customer-page,
    .al-faq-page {
        padding-top: 80px;
    }

    .al-customer-subnav,
    .al-faq-subnav {
        padding: 24px 20px;
        gap: 12px;
    }

    .al-customer-subnav-item,
    .al-customer-subnav-dot,
    .al-faq-subnav-item,
    .al-faq-subnav-dot {
        font-size: 16px;
    }

    .al-customer-page .sub_tit.al-customer-sub-tit,
    .al-faq-page .sub_tit.al-faq-sub-tit {
        padding-top: 48px;
    }

    .al-customer-page .sub_tit.al-customer-sub-tit h3,
    .al-faq-page .sub_tit.al-faq-sub-tit h3 {
        font-size: 36px;
    }

    body#notice .al-customer-page .sub_tit.al-customer-sub-tit {
        padding-bottom: 20px;
    }

    .al-customer-page .notice .sc {
        margin-top: 28px;
    }

    .al-customer-page .notice .sc,
    .al-faq-page .faq .sc .sec01 {
        padding-bottom: 80px;
    }

    .al-customer-page .notice .sc .inner,
    .al-faq-page .faq .sc .sec01 .inner {
        padding: 0 20px;
    }

    .al-faq-page .faq .sc .sec01 .tit_box {
        font-size: 24px;
    }

    .al-customer-page .notice_view.al-notice-view {
        padding-top: 0;
    }
}

/* Notice list / view — sub.css + 올링 */
.al-customer-page .notice .sc {
    margin-top: 48px;
    padding-bottom: 120px;
}

.al-customer-page .notice .sc .inner {
    max-width: 1240px;
    padding: 0 60px;
    box-sizing: border-box;
}

.al-customer-page .notice .search_box > div a,
.al-customer-page .notice .search_box > div .al-notice-search-btn {
    border: 0;
    cursor: pointer;
}

.al-customer-page .notice .search_box > div .al-notice-search-btn {
    display: block;
    width: 60px;
    height: 60px;
    background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='white' stroke-width='2'/%3E%3Cpath d='M20 20L16.5 16.5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 50% 50% no-repeat;
    float: left;
}

.al-customer-page .page_box a.num.on {
    background: #73B854;
    border-color: #73B854;
}

.al-customer-page .notice_view.al-notice-view {
    padding: 0 0 120px;
}

.al-customer-page .notice_view.al-notice-view .inner {
    max-width: 1240px;
    padding: 0 60px;
    box-sizing: border-box;
}

.al-customer-page .notice_view .nv_top strong {
    font-weight: 500;
}

.al-customer-page .notice_view .nv_cont .prev_box dd span,
.al-customer-page .notice_view .nv_cont .next_box dd span {
    font-size: 16px;
    color: #bbb;
}
