/* Base Layout Styles */
.sw-single-social .sw-single-social-sticky,
.sw-single-aside .sw-single-aside-sticky {
    position: sticky;
    top: 30px;
}

/* Social Share Components */
.swp-social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.swp-social-share--column {
    flex-direction: column;
}

.swp-social-share--row {
    flex-direction: row;
}

.swp-share-btn,
.swp-share-btn__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Notification System */
.swp-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 99999;
    opacity: 1;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swp-notification--success {
    background-color: #4CAF50;
    color: white;
}

.swp-notification--error {
    background-color: #f44336;
    color: white;
}

.swp-notification--fade {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
}

/* Language-specific Font Settings */
.swp-notification[data-lang="ja"] {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.swp-notification[data-lang="vi"] {
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Content Typography */
.sw-single-content {
    --heading-color: #29294B;
    --text-line-height: 1.8;
    --blockquote-bg: #f8f8f8;
}

.sw-single-content h1,
.sw-single-content h2,
.sw-single-content h3,
.sw-single-content h4,
.sw-single-content h5,
.sw-single-content h6 {
    color: var(--heading-color);
}

.sw-single-content figcaption {
    margin-top: 10px;
}

.sw-single-content ul,
.sw-single-content ol {
    padding-left: 2em;
}

.sw-single-content li {
    font-size: 1.125rem;
    line-height: var(--text-line-height);
    margin-bottom: 0.5em;
}

.sw-single-content blockquote {
    margin: 1.5em 0;
    padding: 1em 2em;
    border-left: 4px solid var(--heading-color);
    background-color: var(--blockquote-bg);
    font-style: italic;
}

.sw-single-content blockquote p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .sw-single-content {
        --base-font-size: 1rem;
    }

    .sw-single-content h1 {
        font-size: 2.2rem;
    }

    .sw-single-content h2 {
        font-size: 1.8rem;
    }

    .sw-single-content h3 {
        font-size: 1.6rem;
    }

    .sw-single-content h4 {
        font-size: 1.4rem;
    }

    .sw-single-content h5 {
        font-size: 1.2rem;
    }

    .sw-single-content h6 {
        font-size: 1rem;
    }

    .sw-single-content p,
    .sw-single-content li {
        font-size: var(--base-font-size);
        line-height: 1.7;
    }
}

@media screen and (max-width: 767px) {
    .sw-single-content {
        --base-font-size: 0.95rem;
        padding: 0 15px;
    }

    .sw-single-content h1 {
        font-size: 1.8rem;
    }

    .sw-single-content h2 {
        font-size: 1.6rem;
    }

    .sw-single-content h3 {
        font-size: 1.4rem;
    }

    .sw-single-content h4 {
        font-size: 1.3rem;
    }

    .sw-single-content h5 {
        font-size: 1.2rem;
    }

    .sw-single-content h6 {
        font-size: 1.1rem;
    }

    .sw-single-content blockquote {
        padding: 1em;
    }

    .sw-single-content ul,
    .sw-single-content ol {
        padding-left: 1.5em;
    }

    .sw-single-content figure {
        margin: 1.5em 0;
    }

    .sw-single-content figcaption {
        font-size: 0.85rem;
    }
}