/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://mindmaster.6ebook.com
 Description:  Child theme for the Parent Theme Name theme
 Author:       Christopher
 Author URI:   http://example.com/
 Template:     hello-elementor
 Version:      1.0
*/
@font-face{
    font-family: 'audible';
    src: url(./assets/fonts/audiblesans.woff2) format('woff2');
}
body{
    font-family: audible, Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji!important;
}

.ays_grid_view_container{
    justify-content: flex-start;
    gap: 1.33%;
}

div.ays-quiz-container[id^="ays-quiz-container-"]{
    max-width: 100%;
}

.ays-quiz-container p {
    padding: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

div.ays_quiz_results_page{
    padding-bottom: 20px;
}

.ays-quiz-personality-result-box .ays-quiz-personality-result-text-percentage {
    white-space: nowrap;
}

.ays_grid_view_container .ays-field.ays_grid_view_item{
    width: auto!important;
}

.ays-field label.ays_answer_caption[for^='ays-answer-']{
    line-height: 1.2em!important;
    text-align: center;
    font-size: 14px!important;
    background: #EEE;
}

.ays-progress-value{
    color: #FFF!important;
}

.ays-quiz-personality-result-box .ays-quiz-personality-result-bar{
    height: 40px!important;
}

.ays-quiz-personality-result-box .ays-quiz-personality-result-title{
    font-size: 1.2rem!important;
}

.ays-quiz-wrap h3{
    text-align: center;
    font-size: 1.5rem!important;
    margin: 0 auto 1rem!important;
    border: 1px solid #FFF;
    border-radius: 5px;
    padding: 10px;
    display: inline-block;
    align-self: center;
    justify-content: center;
    background: rgba(0,0,0,.1);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/*自定义按钮*/

.ays-quiz-wrap a.link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1em;
  background-color: #f0f4f8;
  color: #0a58ca;
  border: 1px solid #cfe2ff;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  gap: 5px;
}

.ays-quiz-wrap a.link-button i {
  color: #0a58ca;
  font-size: 1em;
}

.ays-quiz-wrap a.link-button:hover {
  background-color: #e0ecff;
  color: #084298;
  border-color: #9ec5fe;
}

.ays-quiz-wrap a.link-button:hover i {
  color: #084298;
}

.ays_quiz_question p {
    margin-left: 0!important;
    padding-left: 0;
    margin-right: 0!important;
    padding-right: 0;
}

.ays-fs-title {
    font-weight: bold;
}

.ays-fs-subtitle p {
    margin-left: 0!important;
    margin-right: 0!important;
    padding-left: 0!important;
    padding-right: 0!important;
    text-align: justify!important;
}

.ays-live-bar-fill span{
    color: #FFF;
}

.ays_grid_view_container .ays-field.ays_grid_view_item{
    max-width: 32%;
}

.ays_grid_view_container .ays-field.ays_grid_view_item .ays-answer-image{
    min-width: auto;
}

.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
    margin-bottom: 15px!important;
}

.eael-timeline-post-title{
    bottom:5px!important;
}

@media screen and (max-width:498px){
    .ays-quiz-personality-result-box .ays-quiz-personality-result-title{
        font-size: 1rem!important;
    }
}


/* Comments Part Style */
/* ===== 标题与提示文字 ===== */
.comment-respond h2,
.comments-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  font-family: "PingFang SC", "Helvetica Neue", sans-serif;
}

.comment-notes {
  font-size: 14px;
  color: #777;
  margin-bottom: 18px;
  line-height: 1.6;
}


/* ===== 评论字段整体容器启用并排布局（仅桌面） ===== */
@media (min-width: 768px) {
  .comment-form .form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }

  .comment-form .form-fields p {
    flex: 1 1 calc(33.33% - 13.33px);
    margin-bottom: 0;
  }
}

/* ===== 所有字段通用样式 ===== */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  margin-bottom: 16px;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
  margin-bottom: 20px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #428DFF;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(66, 141, 255, 0.15);
  outline: none;
}

/* ===== 提交按钮美化（主色蓝 + 动效） ===== */
.comment-form input[type="submit"] {
  background-color: #428DFF;
  color: #fff;
  font-size: 15px;
  padding: 10px 26px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(66, 141, 255, 0.25);
}

.comment-form input[type="submit"]:hover {
  background-color: #3078d8;
  transform: translateY(-1px);
}

/* ===== 复选框优化 ===== */
.comment-form-cookies-consent label {
  font-size: 14px;
  color: #555;
  margin-left: 6px;
}

.comment-form-cookies-consent input {
  transform: scale(1.15);
  vertical-align: middle;
  margin-right: 4px;
}