/* =========================================
   Daisuki Korea - Common Static Page
========================================= */

.dk-page {
    --dk-primary: #273c75;
    --dk-primary-light: #425bb0;
    --dk-accent: #5b7cfa;
    --dk-ink: #20283a;
    --dk-muted: #697386;
    --dk-line: #e5e9f1;
    --dk-page-bg: #f5f7fb;

    width: 100%;
    margin-bottom: 20px;
    color: var(--dk-ink);
    font-family: -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", "Noto Sans KR",
        "Noto Sans JP", "Malgun Gothic", sans-serif;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.dk-page *,
.dk-page *::before,
.dk-page *::after {
    box-sizing: border-box;
}

/* Header */
.dk-page-header {
    padding: 30px 25px;
    color: #fff;
    background: linear-gradient(135deg, #273c75, #425bb0);
    border-radius: 13px 13px 0 0;
}

.dk-page-eyebrow {
    margin: 0 0 7px;
    color: #d5defe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.dk-page-header h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.45;
}

.dk-page-header p {
    margin: 9px 0 0;
    color: #e4e9ff;
    font-size: 13px;
    line-height: 1.7;
}

/* Language Tabs */
.dk-page-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--dk-line);
    border-top: 0;
    backdrop-filter: blur(12px);
}

.dk-page-tab {
    min-height: 43px;
    padding: 9px 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #f0f2f8;
    color: #5e687d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.dk-page-tab[aria-selected="true"] {
    background: var(--dk-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(39, 60, 117, .18);
}

.dk-page-tab:focus-visible {
    outline: 3px solid var(--dk-accent);
    outline-offset: 3px;
}

/* Content */
.dk-page-content {
    padding: 18px 16px 28px;
    background: var(--dk-page-bg);
}

.dk-page-notice {
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid #dfe6ff;
    border-radius: 11px;
    background: #edf1ff;
    color: #3d4e80;
    font-size: 13px;
    line-height: 1.8;
}

.dk-page-panel[hidden] {
    display: none !important;
}

/* Content Section */
.dk-page-section {
    padding: 22px 20px;
    margin-bottom: 13px;
    border: 1px solid var(--dk-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(28, 42, 76, .025);
}

.dk-page-section h3 {
    margin: 0 0 13px;
    color: var(--dk-primary);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.dk-page-section p {
    margin: 0 0 10px;
    color: #515c70;
    font-size: 13.5px;
    line-height: 1.9;
}

.dk-page-section p:last-child {
    margin-bottom: 0;
}

.dk-page-section ul,
.dk-page-section ol {
    padding-left: 20px;
    margin: 0;
    color: #515c70;
    font-size: 13.5px;
    line-height: 2;
}

.dk-page-section li {
    padding-left: 2px;
    margin-bottom: 3px;
}

/* Footer */
.dk-page-footer {
    padding: 20px 10px 5px;
    color: var(--dk-muted);
    font-size: 12px;
    text-align: center;
}

.dk-page-footer strong {
    display: block;
    margin-top: 5px;
    color: var(--dk-primary);
    font-size: 13px;
    letter-spacing: .5px;
}

/* Quick Navigation */
.dk-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.dk-quick-nav .btn-quick-links {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
    padding: 11px 5px;
    border-radius: 8px !important;
    font-size: 13px;
    font-weight: 600;
}
.dk-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin-right: 7px;
    border-radius: 7px;
    background: rgba(39, 60, 84, 0.08);
    color: var(--dk-primary, #273c54);
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}
/* Advertisement */
.dk-page-ad {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .05);
}

.dk-page-ad img {
    display: block;
    width: 100%;
    height: auto;
}
.dk-page-video {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.dk-page-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* About page */
.dk-page-service {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f5;
}

.dk-page-service:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dk-page-service-icon {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf1ff;
    font-size: 21px;
}

.dk-page-service-content {
    min-width: 0;
}

.dk-page-service-content strong {
    display: block;
    margin-bottom: 3px;
    color: #35415c;
    font-size: 14px;
}

.dk-page-service-content span {
    display: block;
    color: #697386;
    font-size: 13px;
    line-height: 1.7;
}

.dk-page-contact {
    padding: 17px;
    border: 1px solid #e9edf5;
    border-radius: 10px;
    background: #f7f8fc;
}

.dk-page-contact p {
    margin: 4px 0;
    font-size: 13px;
}

.dk-page a {
    color: #3659c7;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* =========================================
   Daisuki Korea FAQ
========================================= */

.dk-faq-tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--dk-line, #e5e9f1);
    border-top: 0;
    backdrop-filter: blur(12px);
}

.dk-faq-panel[hidden] {
    display: none !important;
}

.dk-faq-item {
    margin-bottom: 12px;
    padding: 21px 20px;
}

.dk-faq-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--dk-primary, #273c75);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

.dk-faq-qmark {
    display: inline-flex;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf1ff;
    color: var(--dk-primary, #273c75);
    font-size: 11px;
    font-weight: 800;
}

.dk-faq-answer {
    padding-left: 39px;
    color: #515c70;
    font-size: 13.5px;
    line-height: 1.9;
}

.dk-faq-answer p {
    margin: 0 0 8px;
}

.dk-faq-answer p:last-child {
    margin-bottom: 0;
}

.dk-faq-answer a {
    color: #3659c7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dk-faq-footer {
    padding: 20px 10px 5px;
    text-align: center;
}

.dk-faq-footer strong {
    display: block;
    margin-top: 5px;
    color: var(--dk-primary, #273c75);
    font-size: 13px;
    letter-spacing: .5px;
}
/* Responsive */
@media (min-width: 768px) {
    .dk-page-header {
        padding: 35px 28px;
    }

    .dk-page-content {
        padding: 22px 20px 35px;
    }

    .dk-page-section {
        padding: 24px 25px;
        margin-bottom: 14px;
    }

    .dk-page-section p,
    .dk-page-section ul,
    .dk-page-section ol {
        font-size: 14px;
    }
    .dk-faq-item {
        margin-bottom: 14px;
        padding: 24px 25px;
    }

    .dk-faq-answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dk-page-header {
        padding: 25px 18px;
    }

    .dk-page-header h2 {
        font-size: 22px;
    }

    .dk-page-tabs {
        gap: 5px;
        padding: 10px 8px;
    }

    .dk-page-tab {
        min-height: 40px;
        padding: 8px 3px;
        font-size: 11px;
    }

    .dk-page-content {
        padding: 13px 10px 25px;
    }

    .dk-page-section {
        padding: 18px 15px;
    }

    .dk-page-section h3 {
        font-size: 14px;
    }

    .dk-page-section p,
    .dk-page-section ul,
    .dk-page-section ol {
        font-size: 13px;
        word-break: normal;
    }

    .dk-page-notice {
        padding: 12px;
    }

    .dk-quick-nav {
        gap: 5px;
    }

    .dk-quick-nav .btn {
        padding: 9px 10px;
        font-size: 12px;
    }
      .dk-faq-item {
        padding: 18px 15px;
    }

    .dk-faq-question {
        font-size: 14px;
    }

    .dk-faq-answer {
        padding-left: 0;
        font-size: 13px;
        word-break: normal;
    }
}

/* Print */
@media print {
    .dk-page-tabs {
        display: none !important;
    }

    .dk-page-panel[hidden] {
        display: block !important;
    }

    .dk-page-header {
        color: #000;
        background: #fff;
        border: 1px solid #ddd;
    }

    .dk-page-header h2 {
        color: #000;
    }
     .dk-faq-tabs {
        display: none !important;
    }

    .dk-faq-panel[hidden] {
        display: block !important;
    }
}