.wtav2-footer { font-family:WittytoolInter,Inter,Arial,sans-serif; color:#111; margin:0; }
.wtav2-related { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; margin-bottom:64px; }
.wtav2-related-link { display:flex; flex-direction:column; min-width:0; color:#111 !important; text-decoration:none !important; }
.wtav2-related-tab { align-self:flex-start; display:block; padding:12px 24px 20px; border-radius:12px 12px 0 0; background:#ffcc00; color:#080808; font-weight:700; font-size:18px; line-height:1.3; }
.wtav2-related-card { position:relative; display:block; flex:1; margin-top:-10px; padding:26px; border-radius:12px; background:#fff; box-shadow:0 6px 30px #14233c12; }
.wtav2-related-meta { display:flex; gap:10px; align-items:center; font-size:14px; line-height:1.5; color:#595959; }
.wtav2-related-meta strong { color:#111; font-weight:600; }
.wtav2-related-meta img { width:36px !important; height:36px !important; object-fit:cover; border-radius:50%; flex-shrink:0; }
.wtav2-related-title { display:block; margin-top:14px; font-size:24px; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.wtav2-related-link:hover .wtav2-related-title { text-decoration:underline; text-underline-offset:4px; }
.wtav2-related-link:focus-visible { outline:3px solid #0668ff; outline-offset:5px; }
.wtav2-feedback { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:36px; border-radius:12px; background:#f7f7fa; }
.wtav2-feedback p { color:#111; font:inherit; line-height:1.6; margin:0; }
.wtav2-feedback .wtav2-feedback-title { margin-bottom:18px; font-size:24px; line-height:1.3; font-weight:600; }
.wtav2-feedback .wtav2-feedback-status { margin-top:10px; font-size:14px; color:#40516a; }
.wtav2-feedback-status:empty { display:none; }
.wtav2-feedback-votes { display:flex; gap:24px; flex-shrink:0; }
.wtav2-vote { display:flex; flex-direction:column; align-items:center; gap:10px; font-size:16px; font-weight:600; }
.wtav2-footer .wtav2-vote button { display:grid; place-items:center; width:64px; height:64px; padding:16px; border:2px solid transparent; border-radius:50%; background:#fff; color:#111; box-shadow:0 2px 10px #0002; cursor:pointer; }
.wtav2-footer .wtav2-vote button:disabled { opacity:1; cursor:default; }
.wtav2-footer .wtav2-vote button[aria-pressed="true"] { border-color:#0668ff; background:#eff6ff; color:#0668ff; }
.wtav2-footer .wtav2-vote button:focus-visible { outline:3px solid #0668ff; outline-offset:4px; }
.wtav2-footer .wtav2-vote svg { width:30px; height:30px; fill:none !important; stroke:currentColor; }
.wtav2-footer .wtav2-vote [data-vote="no"] svg { transform:rotate(180deg); }
.wtav2-article-comments { font-family:WittytoolInter,Inter,Arial,sans-serif; margin-top:40px; }
.wtav2-article-comments input:not([type="submit"]):not([type="checkbox"]), .wtav2-article-comments textarea { max-width:100%; border:1px solid #d9e2ed; border-radius:6px; padding:12px; background:#fff; color:#111; }
.wtav2-article-comments input[type="submit"] { background:#0668ff; color:white; border:0; border-radius:8px; padding:12px 20px; cursor:pointer; }
@media(max-width:767px) { .wtav2-related { grid-template-columns:1fr; gap:24px; margin-bottom:32px; } .wtav2-related-card { padding:22px; } .wtav2-related-title { font-size:21px; } .wtav2-feedback { padding:24px; flex-direction:column; align-items:flex-start; gap:24px; } .wtav2-feedback .wtav2-feedback-title { font-size:22px; } }
/* Restore comments inside the Article V2 comments widget. */
.wittytool-article-template
.wtav2-article-comments
#comments.comments-area {
    display: block !important;
}
/* 底部对齐正文栏：为右侧 TOC 280px + 间距 56px 留空 */
@media (min-width: 1025px) {
    .wtav2-bottom > .elementor-widget,
    .wtav2-bottom > .e-con-inner > .elementor-widget {
        width: calc(100% - 336px) !important;
        max-width: calc(100% - 336px) !important;
        align-self: flex-start;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1024px) {
    .wtav2-bottom > .elementor-widget,
    .wtav2-bottom > .e-con-inner > .elementor-widget {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 上一篇／下一篇 */
.wtav2-footer .wtav2-related {
    gap: 24px;
    margin-bottom: 32px;
}

.wtav2-footer .wtav2-related-tab {
    padding: 9px 16px 17px;
    font-size: 15px;
}

.wtav2-footer .wtav2-related-card {
    padding: 20px;
}

.wtav2-footer .wtav2-related-meta {
    font-size: 12px;
    gap: 8px;
}

.wtav2-footer .wtav2-related-meta img {
    width: 30px !important;
    height: 30px !important;
}

.wtav2-footer .wtav2-related-title {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.35;
}

/* 点赞反馈 */
.wtav2-footer .wtav2-feedback {
    padding: 24px;
    gap: 20px;
}

.wtav2-footer .wtav2-feedback-title {
    margin-bottom: 10px;
    font-size: 20px;
}

.wtav2-footer .wtav2-feedback-copy > p:not(.wtav2-feedback-title) {
    font-size: 14px;
    line-height: 1.6;
}

.wtav2-footer .wtav2-feedback-votes {
    gap: 16px;
}

.wtav2-footer .wtav2-vote {
    gap: 6px;
    font-size: 14px;
}

.wtav2-footer .wtav2-vote button {
    width: 48px;
    height: 48px;
    padding: 10px;
}

.wtav2-footer .wtav2-vote svg {
    width: 25px;
    height: 25px;
}

/* 评论区：覆盖主题原来的大间距 */
.wtav2-bottom .wtav2-article-comments {
    margin-top: 24px !important;
}

.wtav2-article-comments #comments,
.wtav2-article-comments #respond {
    margin: 0 !important;
    padding: 0 !important;
}

.wtav2-article-comments #reply-title {
    margin: 0 0 16px !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.wtav2-article-comments #commentform {
    margin: 0 !important;
}

.wtav2-article-comments .dl-comment-body {
    margin: 0 0 12px !important;
}

.wtav2-article-comments #comment {
    box-sizing: border-box;
    width: 100% !important;
    height: 110px !important;
    min-height: 110px !important;
    padding: 12px !important;
    font: 400 16px/1.5 WittytoolInter, Inter, Arial, sans-serif !important;
    background: #fff !important;
    resize: vertical;
}

.wtav2-article-comments .dl-comment-row {
    display: flex;
    gap: 12px;
    margin: 0 0 12px !important;
}

.wtav2-article-comments .dl-comment-col {
    flex: 1;
    min-width: 0;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wtav2-article-comments #author,
.wtav2-article-comments #email {
    box-sizing: border-box;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font: 400 16px/1.5 WittytoolInter, Inter, Arial, sans-serif !important;
}

.wtav2-article-comments .form-submit {
    margin: 0 !important;
    padding: 0 !important;
}

.wtav2-article-comments #submit {
    width: auto !important;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 18px !important;
    font: 600 14px/1.5 WittytoolInter, Inter, Arial, sans-serif !important;
}

@media (max-width: 767px) {
    .wtav2-footer .wtav2-related {
        gap: 20px;
    }

    .wtav2-footer .wtav2-feedback {
        padding: 20px;
    }

    .wtav2-article-comments .dl-comment-row {
        flex-direction: column;
    }
}