.blog-detail-container {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-detail-wrapper {
    padding: 60px 0;
}

.blog-detail-grid {
    display: grid;
    grid-template-columns:1fr;
    gap: 48px;
}

@media (min-width: 992px) {
    .blog-detail-grid {
        grid-template-columns:calc(100% - 400px) 350px;
    }
}

/* Main Article */
.blog-detail-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.12);
    color: #0891b2;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

h1.blog-detail-title {
    font-size: clamp(22px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin-bottom: 24px;
}

.blog-detail-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform .4s ease;
}

.blog-detail-content img:hover {
    transform: scale(1.02);
}

article h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin: 42px 0 18px;
    color: #111827;
    border-left: 4px solid #06b6d4;
    padding-left: 16px;
}

article h3, .blog-detail-content a {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    margin: 30px 0 14px;
    color: #374151;
}

article p {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
}

.blog-detail-content ul {
    list-style: none;
    margin: 24px 0 32px;
}

.blog-detail-content ul li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: #374151;
}

.blog-detail-content ul li::before {
    content: "✓";
    color: #06b6d4;
    font-weight: bold;
    font-size: 20px;
}

.blog-detail-highlight-box {
    background: linear-gradient(120deg, rgba(6, 182, 212, 0.08), rgba(34, 211, 238, 0.04));
    border-radius: 14px;
    padding: 26px;
    margin: 36px 0;
    border-left: 5px solid #06b6d4;
}

.blog-detail-faq-item {
    margin-top: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.blog-detail-faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #111827;
}

.blog-detail-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.blog-detail-faq-answer.open {
    max-height: 600px;
    padding-bottom: 20px;
}

/* Sidebar */
.blog-detail-sidebar {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.blog-detail-sidebar-widget {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.07);
    margin-bottom: 32px;
}

.blog-detail-sidebar-widget h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
    padding-bottom: 12px;
    border-bottom: 2px solid #22d3ee;
}

/* Sidebar Inquiry Form */
.sidebar-inquiry-form .required-mark {
    color: #ef4444;
}

.sidebar-inquiry-form input,
.sidebar-inquiry-form select,
.sidebar-inquiry-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.25s;
}

.sidebar-inquiry-form input:focus,
.sidebar-inquiry-form select:focus,
.sidebar-inquiry-form textarea:focus {
    outline: none;
    border-color: #06b6d4;
}

.sidebar-inquiry-form textarea {
    min-height: 90px;
    resize: vertical;
}

.sidebar-submit-btn {
    width: 100%;
    text-align: center;
    background: #06b6d4;
    color: white;
    border: none;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .3s ease, transform .2s ease;
}

.sidebar-submit-btn:hover {
    background: #0891b2;
    transform: translateY(-2px);
}

.sidebar-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message-feedback {
    margin-top: 14px;
    font-size: 14px;
    text-align: center;
}

.feedback-success {
    color: #16a34a;
}

.feedback-error {
    color: #dc2626;
}

@media (max-width: 768px) {
    h1 {
        font-size: 20px;
    }

    .blog-detail-sidebar {
        display: none;
    }
}


/* --- 分享按钮组 --- */
.share-buttons {
    display: flex;
    gap: 5px; /* 按钮之间的间距 */
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
    margin: 10px 0;
}

/* --- 单个分享按钮 --- */
.share-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px; /* 按钮尺寸略微调小，因为图标小了 */
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: white; /* 图标颜色为白色 */
    font-size: 16px; /* *** 字体图标大小改为 16px *** */
}

.share-button:hover {
    transform: translateY(-3px); /* 轻微上浮效果 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-button:active {
    transform: translateY(-1px); /* 点击时的下沉效果 */
}

/* --- 各个平台的专属颜色 --- */
.share-button.facebook {
    background-color: #4267B2;
}

.share-button.x {
    background-color: #000;
}

/* 颜色保持不变 */
.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.pinterest {
    background-color: #bd081c;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.email {
    background-color: #7d7d7d;
}

/* 邮箱按钮使用灰色 */

/* --- 悬停提示框 (Tooltip) --- */
.share-button .tooltip {
    position: absolute;
    bottom: 100%; /* 位于按钮上方 */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: normal;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 10;
}

.share-button .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.share-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* --- 响应式调整 --- */
@media (max-width: 480px) {
    .social-share-widget {
        padding: 20px 15px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-button {
        width: 24px; /* 响应式下进一步调小 */
        height: 24px;
        font-size: 16px;
    }
}