/* Resources Page & Comments Style - SEO Optimized */
.comments-area {
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.comment-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.comment-form-row .comment-form-author,
.comment-form-row .comment-form-email {
    flex: 1;
}
.comment-form-wrap p {
    margin: 0 0 20px 0;
}
.comment-form-wrap label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}
.comment-form-wrap input,
.comment-form-wrap textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    background: #f8fafc;
}
.comment-form-wrap textarea {
    min-height: 160px;
    resize: vertical;
}
.comment-submit-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.comment-submit-btn:hover {
    background: #005a87;
}
.required { color: #dc2626; }

.comment-form-cookies-consent {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 20px 0 !important;
    padding: 0 !important;
}
.comment-form-cookies-consent input {
    width: auto !important;
    margin: 0 !important;
}
.comment-form-cookies-consent label {
    margin: 0 !important;
    font-weight: 400 !important;
}

.comment-msg {
    padding: 18px 22px;
    border-radius: 10px;
    margin-top: 20px;
    background: #fffbeb;
    color: #ca8a04;
    border-left: 4px solid #f59e0b;
    display: none;
}

.comment-list {
    margin-top: 60px;
}
.comment-items {
    list-style: none;
    padding: 0;
}
.comment-items li {
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #0073aa;
}

.jjnmkxrtywe {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
}
.sdfsdtrcety a {
    padding: 8px 16px;
    margin-right: 8px;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
}
.sdfsdtrcety a.act {
    color: #0073aa;
    font-weight: 600;
    background: #f0f7fc;
}

/* 统一所有 ul = 实心圆点 */
ul,
ul.wp-block-list {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 1.5em !important;
  margin: 1em 0 !important;
}

ul li,
ul.wp-block-list li {
  text-align: left !important;
  line-height: 1.8 !important;
  padding: 0 !important;
  margin: 0.8em 0 !important;
  list-style: inherit !important;
}

ul li::before,
ul.wp-block-list li::before {
  display: none !important;
}

/* 图 */
.jkjdsfstrerr img {
                display: block !important;
                margin: 20px auto !important;
                border-radius: 12px !important;
                clip-path: inset(0 round 12px) !important;
                max-width: 100% !important;
                height: auto !important;
            }
.jkjdsfstrerr .wp-block-image {
                overflow: visible !important;
                border: none !important;
            }

/* 手机端显示，PC端（≥768px）隐藏 */
.mobile-only {
  display: flex !important;
}
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* 评论标题 - 强制单行，手机绝不换行 */
.comment-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
}

/* 手机端自动缩小字体，确保一行放下 */
@media (max-width: 768px) {
  .comment-title {
    font-size: 23px !important;
    letter-spacing: -0.3px !important;
  }
}
@media (max-width: 390px) {
  .comment-title {
    font-size: 17px !important;
    letter-spacing: -0.5px !important;
  }
}
@media (max-width: 340px) {
  .comment-title {
    font-size: 15px !important;
    letter-spacing: -0.6px !important;
  }
}