/* =========================================================
   forum.css — Forum CPT / taxonomies / related pages
   ========================================================= */

.wrapper.style2.forumpage {
  background-color: #ffffff;
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.55) 0,
      rgba(255, 255, 255, 0.92) 160px,
      #ffffff 320px
    ),
    url("../../images/banner4.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.comment-content a:not(.button){
border-bottom: 1px dotted #582f9f;
padding-bottom: .1em;
margin-right: .3em;
color: #000;
}
.comment-content a:not(.button):after{
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
content: "\f0c6";
color: #070707;
margin-left: .2em;
vertical-align: middle;
font-size: 0.8em;

}
#swipebox-close{
z-index: 9999!important;
background-color: rgba(135, 63, 184, 1);
}

.form-group h6{
  margin-top: 2em;
  font-size: 1em;
}
.page-id-218 .entrypost ol li:before,
.page-id-220 .entrypost ol li:before{
position: relative;
display: inline-block;
border: none;
color: #000000;
font-weight:500;
font-size: inherit;
width: auto;
height: inherit;
line-height: inherit;
margin-right: .5em;
top: 0;
}
.page-id-218 .entrypost ol li,
.page-id-220 .entrypost ol li{
  padding: 0.5em 0.5em 0.5em .2em;
}

 .container .actions .aright .button.icon.fa-angle-left{
   width: 11rem;
   min-width: 11rem;
   max-width: 11rem;
   height: 2.75rem;
   min-height: 2.75rem;
   box-sizing: border-box;
 }
.form-group{
  margin-bottom: .5em;
}
.field{
  margin-bottom: 1em;
}
.forum-post-form .field-limited {
  margin-top: 2em;
}
.forum-post-form .field-note {
  margin-bottom: 2em;
}
.forum-post-form button[type="submit"] {
  cursor: pointer;
}

.forum-post-form .contributor-fields {
  display: grid;
  gap: 0.75em;
  margin: 0 0 1em;
}

.forum-post-form .contributor-fields .field {
  margin-bottom: 0;
}

.forum-post-form .contributor-fields label {
  display: block;
  margin: 0 0 0.35em;
  color: #55606c;
  font-size: 0.86em;
  font-weight: 600;
}
/* .post-type-archive-forum #content{
  margin: 2em 0;
} */

.forum-answers h4{
  margin-block: .5em;
  text-align: center;
}
.foinfo{
  text-align: center;
  font-size: .9em;
  line-height: 1.6em;
}
.forum-answers hr{
  margin: 1.3em 0;
  border: none;
  border-top: 1px solid #ababab;
}
.comment-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list > li{
  border-top: 1px dashed #ababab;
  padding: 0;
}
ul.children li{
  border-top: none;
  list-style: none;
}
ul.children{
  margin-bottom: 1.2em;
}
.comment-author{
  margin-bottom: 1em;
}

.comment-author img{
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.comment-content{
  flex: 1;
}
.comment-meta{
  margin-top: 1em;
}
.comment-meta span{
  font-size: var(--fs-meta);
}

.comment-author .fn{
  font-weight: 600;
  color: #333;
}
.forum-main .entrypost p,
.comment-content p{
  margin: 0 0 1em 0;
  line-height: 1.7;
  color: #444;
}

.comment-content p:last-child{
  margin-bottom: 0;
}
.comment-body a{
  color: #000;
}
a.alink,
.comment-body p a:not(.button){
  border-bottom: 1px dotted #582f9f;
  padding-bottom: .1em;
  color: #000;
}
a.comment-edit-link{
  border: 1px dotted #030303;
  color: #000;
  font-size: .8em;
  padding: .3em .5em;
  align-items: center;
}
.comment-body p a.comment-reply-link{
  background: #e9eef5;
  padding: .3em .5em;
  font-size: .8em;
  border-bottom:none;
  padding-bottom:0;
}

.user-info a{
  margin-left: .5em;
  font-size: 0.9em;
  text-decoration: none;
}
.page .user-info a,
.single-forum .user-info a{
height: 2em;
line-height: 2em;
padding: .1em .5em;
color: #000;
background-color: transparent;
box-shadow: inset 0 0 0 1px #e9eef5;
color: #000;
display: inline-block;
}
.user-info.box.alt a{
  background: #e9eef5;
}

.mypage .user-info a{
background: #e9eef5;
padding: .3em .5em;
font-size: 1em;
color: #000;
font-weight: 700;
margin-left: 0;
}

.single-forum .reply a{
  background: #e9eef5;
  padding: .3em .5em;
  color: #000;
}
.single-forum .reply a:before{
    content: "\f112";
    font-family: FontAwesome;
    margin-right: 6px;
    color: #000;
}
.comment-form-comment .required{
  display: none;
}
.taxent{
margin-bottom: 2em;
}
.taxent textarea{
  height: 300px;
}
.forum-main p i{
font-weight: 700;
}
.forum-term-list{
  display: grid;
  gap: 0.4em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.forum-term-list li{
  margin: 0;
  padding-left: 0;
}

.forum-term-list li:last-child{
  margin-bottom: 0;
}

.forum-term-list a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75em;
  min-height: 2.75em;
  padding: 0.75em 0.85em;
  border: 0;
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.forum-term-list .term-name{
  min-width: 0;
}

.forum-term-list .count{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7em;
  min-height: 1.45em;
  padding: 0.15em 0.45em;
  border: 0;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
}

.forum-term-experiences,
.forum-term-list a.forum-term-experiences{
  background: #9726ec;
}
.forum-term-questions,
.forum-term-list a.forum-term-questions,
.forum-term-knowledge,
.forum-term-list a.forum-term-knowledge{
  background: #51c5e8;
}
.forum-term-insight,
.forum-term-list a.forum-term-insight{
  background: #00B8AE;
}

.forum-term-experiences .count{ color: #9726ec; }
.forum-term-questions .count,
.forum-term-knowledge .count{ color: #1aa3c7; }
.forum-term-insight .count{ color: #008f87; }

.forum-term-list a:hover{
  opacity: 1;
  filter: brightness(0.96);
}

.forum-tag-list{
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-top: 0.35em;
}

.forum-tag{
  display: inline-block;
  padding: 0.35em 0.55em;
  font-size: 0.78em;
  color: #333;
  background: #eef2f7;
  text-decoration: none;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease;
}

.forum-tag::before{
  content: "#";
  margin-right: 0.15em;
  color: #8a94a0;
}

.forum-tag:hover{
  background: #e2e8f0;
  color: #111;
}
hr.dotted{
  border: none;
  text-align: center;
  margin: 1em 0;
}

hr.dotted::after{
  content: "● ● ●";
  font-size: 0.5em;
  color: #bbb;
  letter-spacing: 0.6em;
}

.notice.success{
  background: #ffffff;
  color: #51c5e8;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.forum-layout form{
margin: 0;
}

.forum-auth-links{
  margin-top: 10px;
  text-align: right;
}

.forum-auth-links. a{
  color: #000000;
  text-decoration: none;
}
.forum-auth-links.for a{
  padding: .3em .5em;
  color: #000;
}
.forum-auth-links.new a{
  background: #ffffff;
  padding: .3em .5em;
  color: #000;
}
.forum-login{
  position: relative;
}
.forum-auth-links.new{
  position: absolute;
  right: 1em;
  top: 1em;
}
.forum-auth-links.for{
  font-size: .8em;
}
.post-type-archive-forum .user-info a{
  background: #ffffff;
  padding: .3em .5em;
  font-size: .8em;
  color: #000;
}
.forum-layout{
  display: flex;
  gap: 2em;
  align-items: flex-start;
}

.forum-main{
  width: 70%;
}
.forum-side{
  width: 30%;
  position: sticky;
  top: 5.25em;
  align-self: flex-start;
}

.forum-center{
  width: 500px;
  max-width: 50%;
  margin: 0 auto;
}

.user-info.box.alt{
  margin-bottom: 1em;
}
.comment-delete{
  background: #e9eef5;
  padding: .3em .5em;
  font-size: .8em;
}
.catetag{
  font-size: .8em;
  line-height: 2em;
  border-top: 1px dashed #ababab;
  padding-top: 1.5em;
}
.catetag a{
  color: #000;
}
.comment-respond{
  clear: both;
  width: 100%;
  margin: 1.5em 0 0;
}

.comment-reply-title,
#reply-title.comment-reply-title {
  display: block;
  width: 100%;
  margin: 0 0 0.85em;
  padding: 0 0 0.35em;
  border-bottom: solid 3px #000;
  color: #2a2a2a;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
}

.comment-reply-title small {
  margin-left: 0.75em;
  font-size: 0.75em;
  font-weight: 400;
  line-height: 1.4;
  vertical-align: middle;
}

.comment-reply-title small:has(#cancel-comment-reply-link[style*="display:none"]) {
  display: none;
}

#cancel-comment-reply-link{
  background: #e9eef5;
  padding: .3em .5em;
  color: #000;
  font-size: .8em;
  font-weight: 400;
}

.comment-form {
  margin: 0;
}

.comment-form .comment-form-comment {
  margin: 0 0 1em;
}

.comment-form textarea#comment {
  display: block;
  width: 100%;
  min-height: 10em;
  margin: 0;
  box-sizing: border-box;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .form-submit input[type="submit"].submit {
  display: inline-block;
  width: auto;
  min-width: 12em;
  height: 3.5em;
  margin: 0;
  padding: 0 1.5em;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  line-height: 3.5em;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}

.comment .children{
  margin-top: 1em;
  margin-left: 1em;
  padding-left: 0;
  list-style: none;
}

.comment-body{
  padding: 0;
  margin: 1em 0;
  position: relative;
}

.children .comment-body{
  border: 1px dashed #ababab;
  padding: 1em;
}

.single-forum .comment .reply a{
background: #e9eef5;
font-size: .7em;
}
#wp-submit.button-primary{
  height: 4em;
  line-height: 4em;
  }

.comment-author .name{
    font-weight: 600;
    display: block;
    line-height: 1.6em;
  }
  
.badge{
    background: #51c5e8;
    color: #fff;
    font-size: .7em;
    line-height: .7em;
    padding: 4px 6px;
    position: relative;
    top: -2px;
  }
.my-comment-list{
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
  }
  
  .my-comment-list li{
    display: block;
    padding: 0;
  }
  .item-link{
    padding: 0.8em 1em;
    border: 1px solid #e5e7eb;
    margin-bottom: 1em;
    background: #fff;
    width: 100%;
    text-decoration: none;
    color: #111827;
  }
  .item-main{
    display: block;
  }
  
  .my-comment-list a{
    color: #000000;
    text-decoration: none;
    display: block;
  }
  
  .my-comment-list .date{
    font-size: 0.75rem;
    color: #64748b;
  }
  
  .my-comment-list .label{
    padding: .5em 1em;
    display: inline-block;
    top: 0px;
    width: 80px;
  }
  
  .label-q{
    color: #fff;
    background: #51c5e8;
  }
  
  .label-ex{
    color: #fff;
    background: #00B8AE;
    
  }
  .label-q2{
    color: #51c5e8;
    font-size: 0.75rem;
  }
  
  .label-ex2{
    color: #00B8AE;
    font-size: 0.75rem;
  }
  .status{
    font-size: 0.75rem;
    color: #fff;
    background: #000000;
    padding: .3em 1em;
    height: 1.6em;
    line-height: 1.6em;
  }
  
  .my-comment-list .date{
    font-size: 0.75rem;
    color: #000000;
  }
  .post-type-archive-forum .page-nav a.active1::before,
  .page-id-561 .page-nav a.active2::before,
  .page-id-442 .page-nav a.active3::before,
  .page-id-448 .page-nav a.active4::before,
  .page-id-582 .page-nav a.active5::before,
  .page-id-437 .page-nav a.active6::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #000;
  }
  
.testdrive{
    display: inline-block;
    margin: 1rem 0;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    letter-spacing: 0.05em;
  }
  
  /* 少しだけ目立たせたい場合 */
  .testdrive::before{
    content: "● ";
    font-size: 0.7rem;
    color: #999;
  }
.major .inner{
    position: relative;
  }
  
  .forum-user-nav{
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    background: #51c5e8;
  }
  .user-name{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
  }
  .user-name i{
    font-size:1em;
    color: #000;
  }
  .forum-user-nav .user-name{
    padding: 0.1em 0.7em;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
    background:#ffffff;
  }
  .forum-user-nav .user-links{
    display: flex;
  }
  #main>header.major .forum-user-nav a{
    color: #fff;
    -webkit-transition: 0.5s;-moz-transition: 0.5s;-o-transition: 0.5s;-ms-transition: 0.5s;transition: 0.5s;
  }
  .forum-user-nav a{
    padding: .1em 1em;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background 0.2s;
  }
  
  .forum-user-nav .user-links a + a{
    border-left: 1px solid rgba(255,255,255,0.25);
  }
  
  .forum-user-nav a:hover{
    background: rgba(0,0,0,0.08);
  }
  
  .forum-user-nav a:last-child{
    opacity: 0.8;
    font-weight: 400;
  }
  
  .forum-user-nav a:last-child:hover{
    background: rgba(255,0,0,0.15);
  }
  .forum-post-actions{
    display: grid;
    gap: 0.45em;
    margin: 0 0 1.35em;
  }

  .forum-post-btn{
    display: block;
    padding: 0.85em 0.9em;
    border: 0;
    background: rgba(18, 18, 20, 0.08);
    color: #121214;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .forum-post-btn.is-question{
    border: 0;
    background: rgba(81, 197, 232, 0.1);
    color: #1f8fb0;
  }
  .forum-post-btn.is-insight{
    border: 0;
    background: rgba(0, 184, 174, 0.1);
    color: #0a8f87;
  }
  .forum-post-btn.is-experience{
    border: 0;
    background: rgba(151, 38, 236, 0.08);
    color: #7a1fc0;
  }

  .forum-post-btn:hover,
  .forum-post-btn:focus-visible{
    outline: none;
    transform: none;
    box-shadow: none;
    filter: brightness(0.97);
  }

  .forum-post-btn.is-question:hover,
  .forum-post-btn.is-question:focus-visible{
    background: rgba(81, 197, 232, 0.16);
    color: #1f8fb0;
  }
  .forum-post-btn.is-insight:hover,
  .forum-post-btn.is-insight:focus-visible{
    background: rgba(0, 184, 174, 0.16);
    color: #0a8f87;
  }
  .forum-post-btn.is-experience:hover,
  .forum-post-btn.is-experience:focus-visible{
    background: rgba(151, 38, 236, 0.14);
    color: #7a1fc0;
  }
.post-442 .table-wrapper table th,
.post-442 .table-wrapper table td{
    text-align: center;
  }
  .table-wrapper table.vmiddle td{
    vertical-align: middle;
  }
  .wpaiforum .post-442 h5{
    text-align: center;
  }
  .table-wrapper table{
    margin-bottom: 0;
  }
  .table-wrapper table th,
  .table-wrapper table td{
    white-space: nowrap;
  }
  .table-wrapper{
    margin-bottom: 1em;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .table-wrapper > p{
    display: none;
  }
  .delete-btn{
    background: #e9eef5;
    padding: .3em .5em;
    font-size: .8em;
    color: #000;
  }
  .forum-main .forum-search,
  .forum-center .forum-search,
  .forum-side .forum-search{
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    border: 0;
    background: transparent;
    overflow: visible;
  }
  .forum-main .forum-search input[type="text"],
  .forum-main .forum-search input[type="search"],
  .forum-center .forum-search input[type="text"],
  .forum-center .forum-search input[type="search"],
  .forum-side .forum-search input[type="text"],
  .forum-side .forum-search input[type="search"]{
    -webkit-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    box-sizing: border-box;
    width: auto !important;
    max-width: none;
    min-width: 0;
    height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 0.75em !important;
    font-size: 0.9em !important;
    line-height: 2.75rem !important;
    border: 1px solid #e5e7eb !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111;
    outline: none;
  }
  .forum-main .forum-search input[type="search"]::-webkit-search-decoration,
  .forum-main .forum-search input[type="search"]::-webkit-search-cancel-button,
  .forum-center .forum-search input[type="search"]::-webkit-search-decoration,
  .forum-center .forum-search input[type="search"]::-webkit-search-cancel-button,
  .forum-side .forum-search input[type="search"]::-webkit-search-decoration,
  .forum-side .forum-search input[type="search"]::-webkit-search-cancel-button{
    -webkit-appearance: none;
    appearance: none;
    display: none;
  }
  .forum-main .forum-search:focus-within input,
  .forum-center .forum-search:focus-within input,
  .forum-side .forum-search:focus-within input{
    border-color: #9aa3ad !important;
  }
  .forum-main .forum-search button,
  .forum-center .forum-search button,
  .forum-side .forum-search button{
    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    display: block;
    width: auto;
    height: 2.75rem !important;
    min-height: 2.75rem !important;
    max-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 1.05em !important;
    font-size: 0.85em !important;
    font-weight: 600;
    line-height: 2.75rem !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    background: #2a2a2a !important;
    color: #fff !important;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1 !important;
    vertical-align: top;
    transition: background 0.2s ease;
  }
  .forum-main .forum-search button:hover,
  .forum-center .forum-search button:hover,
  .forum-side .forum-search button:hover,
  .forum-main .forum-search button:focus-visible,
  .forum-center .forum-search button:focus-visible,
  .forum-side .forum-search button:focus-visible{
    background: #111 !important;
    border-color: #111 !important;
    opacity: 1 !important;
  }

  .forum-topic-list {
    list-style: none;
    margin: 0;
    padding: 0.25em 0 0;
  }
  .forum-topic-list > .forum-item {
    list-style: none;
    margin: 0 0 0.55em;
    padding: 0;
  }
  .forum-topic-list > .forum-item:last-child {
    margin-bottom: 0;
  }

  .wpaiforum .forum-card {
    --forum-accent: #9aa3ad;
    --forum-tint: rgba(233, 238, 245, 0.7);
    position: relative;
    display: block;
    padding: 1.05em 1.15em 1.05em 1.15em;
    border: 1px solid #e8ecf1;
    border-left: 3px solid var(--forum-accent);
    background: #fff;
    text-decoration: none;
    color: #111;
    transition:
      background 0.25s ease,
      border-color 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  .wpaiforum .forum-item.is-question .forum-card {
    --forum-accent: #51c5e8;
    --forum-tint: rgba(81, 197, 232, 0.08);
  }
  .wpaiforum .forum-item.is-experience .forum-card {
    --forum-accent: #9726ec;
    --forum-tint: rgba(151, 38, 236, 0.07);
  }
  .wpaiforum .forum-item.is-insight .forum-card {
    --forum-accent: #00B8AE;
    --forum-tint: rgba(0, 184, 174, 0.08);
  }
  .wpaiforum .forum-card:hover,
  .wpaiforum .forum-card:focus-visible {
    background: var(--forum-tint);
    border-color: #d9e0ea;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(20, 30, 45, 0.05);
    outline: none;
  }

  .wpaiforum .card-text {
    margin: 0 0 0.85em;
  }
  .wpaiforum .card-text h4 {
    margin: 0 0 0.4em;
    text-align: left;
    font-size: 1.08em;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #141414;
    transition: color 0.2s ease;
  }
  .wpaiforum .forum-card:hover .card-text h4,
  .wpaiforum .forum-card:focus-visible .card-text h4 {
    color: #000;
  }
  .wpaiforum .esctext {
    margin: 0;
    font-size: 0.84em;
    line-height: 1.6;
    color: #66707a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .wpaiforum .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85em;
    margin: 0;
    padding-top: 0.85em;
    border-top: 1px solid #eceff3;
  }
  .wpaiforum .meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
    align-items: center;
    min-width: 0;
  }
  .wpaiforum .meta-right {
    display: flex;
    align-items: center;
    gap: 0.65em;
    flex-shrink: 0;
  }
  .wpaiforum .topnewslist li {
    list-style: none;
    padding-left: 0;
  }
  .wpaiforum h4 {
    font-size: 1em;
  }
  .singlefmeta {
    text-align: center;
  }
  .singlefmeta span,
  .wpaiforum .meta-left span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0.32em 0.72em;
    border: 1px solid transparent;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: #3f4650;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
  }

  /* Soft tint chips */
  .wpaiforum .meta-left span.experience {
    border: 0;
    background: rgba(151, 38, 236, 0.08);
    color: #7a1fc0;
  }

  .wpaiforum .meta-left span.category {
    border: 0;
    background: rgba(81, 197, 232, 0.1);
    color: #1f8fb0;
  }

  .wpaiforum .meta-left span.insight {
    border: 0;
    background: rgba(0, 184, 174, 0.1);
    color: #0a8f87;
  }

  .wpaiforum .meta-left span.unanswered {
    border-color: #e0e5eb;
    background: #f5f7fa;
    color: #5a6470;
    font-weight: 500;
  }

  .singlefmeta span.answered {
    color: #000;
    background: #ffffff;
  }

  .wpaiforum .meta-left span.answered {
    border-color: #e4e9f0;
    background: #fff;
    color: #5a6470;
    font-weight: 500;
  }

  .wpaiforum .meta-left span.newicon {
    border: 0;
    background: #111;
    color: #fff;
    font-family: "proxima-soft", sans-serif;
    font-weight: 600;
    font-size: 0.64em;
    height: auto;
    margin: 0;
    padding: 0.32em 0.72em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .wpaiforum .meta-left span.newicon.newicon-comment {
    background: #38a8da;
    color: #fff;
    letter-spacing: 0.03em;
  }
  .singlefmeta span i,
  .meta-left span i {
    margin-right: 0.3em;
  }
  .wpaiforum .comment-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    font-size: 0.78em;
    color: #7a8490;
  }
  .wpaiforum .comment-count i {
    font-size: 0.95em;
  }
  .wpaiforum .date {
    font-size: 0.78em;
    color: #7a8490;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  @media screen and (max-width: 736px) {
    .wpaiforum .forum-card {
      padding: 0.95em 0.95em 1em 1em;
    }
    .wpaiforum .card-text h4 {
      font-size: 1em;
    }
    .wpaiforum .card-meta {
      align-items: center;
    }
    .wpaiforum .forum-card:hover,
    .wpaiforum .forum-card:focus-visible {
      transform: none;
      box-shadow: none;
    }
  }

  
  .forumtopp-wrap{
    text-align: center;
    margin: 2.5em 0;
  }
  
  .forumtopp{
    font-size: 1.3em;
    line-height: 1.9;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1.2em;
    color: #000;
  }

  @media screen and (max-width: 736px) {
    .forumtopp-wrap {
      margin: 1.5em 0 1.2em;
    }

    .forumtopp {
      font-size: 1.12em;
      line-height: 1.55;
      margin-bottom: 0.8em;
    }
  }
  
  .forumtoppb{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6em;
  }
  
  .forumtoppb span{
    color: #000;
    font-size: 1.2em;
    padding: 0.1em 0 0.1em 1em;
    letter-spacing: 0.03em;
    position: relative;
  }
  
  .forumtoppb span::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #51c5e8;
  }
  .add-nav a{
  display: inline-block;
  background: #111;
  color: #fff;
  text-align: center;
  padding: .5em;
  text-decoration: none;
  letter-spacing: .05em;
  transition: 0.2s;
  font-weight: 400;
  border-radius: 4px;
  font-size: .8em;
  width: 140px;
  }
  .add-nav{
    text-align: center;
    margin-bottom: 2em;
  }
  .forum-actions .add-nav{
    margin-bottom: 0;
    margin-top: 1em;
  }
  .tax-forum_category .forum-actions .add-nav,
  .forum-actions .add-nav .action{
    padding-bottom: 1em;
    border-bottom: 1px solid #e5e7eb;
  }
  .forum-actions h6{
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.8em;
  }
  .forum-actions a{
    margin: .5em auto 0;
  }
  
  .item-link{
    display: block;
    padding: 0.8em 1em;
    border: 1px solid #e5e7eb;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .my-comment-list .item-post{
    font-size: .8em;
    margin-bottom: .3em;
    line-height: 1.8em;
  }
  .my-comment-list .item-main{
    line-height: 1.6em;
  }
  .item-link{
    border-left: 3px solid #51c5e8;
  }
  .forum-main .entrypost ul{
    padding-left: 1em;
  }
  .forum-main .entrypost ul.asterisk{
    padding-left: 0;
  }
  .forum-main .entrypost ul.dot{
    padding-left: .5em;
  }
  .forum-main .entrypost ul i{
    font-weight: 700;
  }
  .forum-main .entrypost h6{
    font-size: 1em;
    padding: 0;
    border: none;
  }
 .forum-main .entrypost ul.nogood,
 .forum-center .entrypost ul.nogood,
 .wpaiforum .entrypost ul.nogood{
   margin: 0.85em 0 1.35em;
   padding: 0.85em 0.95em;
   list-style: none;
   border: 1px solid #eceff3;
   background: #ffffff;
 }

 .forum-main .entrypost ul.nogood li,
 .forum-center .entrypost ul.nogood li,
 .wpaiforum .entrypost ul.nogood li{
   margin: 0 0 0.85em;
   padding-left: 1.7em;
 }
  .wpaiforum h6.sub{
    display: block;
    padding-top: .3em;
    text-align: center;
    font-weight: 600;
  }
  .forumtopp span{
    display: inline-block;
    font-size: .8em;
    font-weight: 400;
  }

  .wpaiforum .forum-introduction h5{
    text-align: center;
  }
  
  .author-name{
    display: block;
    color: #000;
    font-weight: 400;
    font-size: .8em;
  }
  .forum-side-panel .forum-tags,
  .forum-side-panel .forum-wsearch,
  .forum-side-panel .forum-categories{
    margin-top: 1.25em;
    padding-top: 1.15em;
    border-top: 1px solid #e8ecf1;
  }

  .forum-side-panel .forum-wsearch h4,
  .forum-side-panel .forum-categories h4,
  .forum-side-panel .forum-tags h4{
    margin: 0 0 0.65em;
    font-size: 0.84em;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #222;
  }

  .forum-side .forum-empty{
    margin: 0;
    font-size: 0.85em;
    color: #7a8490;
  }

  
  .forum-actions .action{
    display: none;
  }
  
  .forum-list.tab-all .action-all{
    display: block;
  }
  
  .forum-list.tab-questions .action-questions{
    display: block;
  }
  
  .forum-list.tab-experiences .action-experiences{
    display: block;
  }
  .forum-list.tab-insight .action-insight{
      display: block;
   }
   .forum-actions .action{
       display: none;
    }
   
   
    .forum-list.tab-questions .action-questions{
       display: block;
    }
   
    .forum-list.tab-experiences .action-experiences{
       display: block;
    }
   
    .forum-list.tab-insight .action-insight{
       display: block;
    }
  .forum-tabs{
    display: flex;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-bottom: 1em;
  }
  
  .forum-tabs .tab-btn{
    flex: 1;
    appearance: none;
    border: none;
    border-right: 1px solid #ddd;
    background: #e9eef5;
    color: #333;
    padding: .6em 0;
    font-size: .95em;
    line-height: 1.4;
    cursor: pointer;
    text-align: center;
    -webkit-transition: 0.5s;-moz-transition: 0.5s;-o-transition: 0.5s;-ms-transition: 0.5s;transition: 0.5s;
  }
  
  .forum-tabs .tab-btn:last-child{
    border-right: none;
  }
  
  .forum-tabs .tab-btn.active{
    background: #fff;
    color: #333;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 2;
  }
  .forum-list .forum-item{
    display: none;
  }
  
  .forum-list.tab-all .forum-item{
    display: block;
  }
  
  .forum-list.tab-questions .is-question{
    display: block;
  }
  
  .forum-list.tab-experiences .is-experience{
    display: block;
  }
  .forum-list.tab-insight .is-insight{
    display: block;
  }
  .wpaiforum h5{
    background: #f9fafb;
    padding: .5em 1em;
    margin: 0 0 1em;
    color: #000000;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6em;
    position: relative;
    text-shadow: none;
    border-left: none;
    display: block;
    font-size: 1em;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
  }
  .tml-action .entrypost ul{
    text-align: center;
  }
  .tml-action .entrypost ul.tml-dashboard-links li,
  .tml-action .entrypost ul.tml-links li{
    display: inline;
  }
  .tml-action .entrypost ul.tml-dashboard-links li:before,
  .tml-action .entrypost ul.tml-links li:before{
  content: none;
  }
  .tml-action .entrypost .tml-dashboard-links a:not(.button),
  .tml-action .entrypost .tml-links a:not(.button){
  border-bottom: none;
  background: #e9eef5;
  padding: .3em .5em;
  color: #000;
  }
  .tml-action .entrypost .tml-dashboard-links a:not(.button):after,
  .tml-action .entrypost .tml-links a:not(.button):after{
  content: none;
  }
  .tml-checkbox+.tml-label{
  display: block!important;
  }
  .tml-action-confirmaction .success, .tml .tml-error, .tml .tml-message, .tml .tml-success{
  border-left: none;
  box-shadow: none;
  display: block;
  margin: 0 0 1em;
  padding: 1em 0;
  }
  .forum-taxonomy h3{
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 1.1em;
  }
  .my-comment-list .post-actions a{
    display: inline-block;
  }
  .page-id-442 .table-wrapper table{
    min-width: 100%;
  }
  .table-wrapper span,
  .table-wrapper > p{
    display: none;
  }
  .comment-report-action{
    text-align: right; margin-top: -2em;
  }
  .single-forum .comment-report-action,
  .single-forum .comment-toolbar {
    text-align: left;
    margin-top: 0;
  }
  .forumpage span.newicon{
  background: none;
  font-family: "proxima-soft", sans-serif;
  color: #38a8da;
  margin-left: 0;
  font-size: .8em;
  padding: .2em .5em .2em 0;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 3px;
  line-height: 1.7em;
  height: 1.8em;
  letter-spacing: -0.05em;
  }
  .single-forum .post-nav{
    border-bottom:1px solid #ababab;
    padding-bottom: .3em;
    margin-bottom: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ababab;
    padding-bottom: .3em;
    margin-bottom: 1.2em;
  }
  
.single-forum .post-nav a{
    position: relative;
    color: #000;
    background: #e9eef5;
    height: 1.5em;
    line-height: 1.7em;
    padding: 0 .5em;
    display: inline-block;
    font-size: .8em;
  }
  
  /* Prev（三角を左に） */
  .single-forum .post-nav .prev a::before{
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 0.85em solid transparent;
    border-bottom: 0.85em solid transparent;
    border-right: 10px solid #e9eef5;
  }
  
  /* Next（三角を右に） */
  .single-forum .post-nav .next a::after{
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 0.85em solid transparent;
    border-bottom: 0.85em solid transparent;
    border-left: 10px solid #e9eef5;
  }
  .single-forum .post-nav .prev{
    margin-left: 10px;
  }
  .single-forum .post-nav .next{
    margin-right: 10px;
  }
  .ai-note{
    margin-top: 1em;
    font-size: .8em;
    color: #51c5e8;
    line-height: 1.7em;
  }
  .name-extra{
    font-weight: 400;
    display: block;
    font-size: .8em;
  }
  .page-id-437 .forum-main .user-name{
    display: block;
    font-weight: 600;
    line-height: 1.6em;
    margin-bottom: 1em;
  }
  .single-forum .post-nav.post-nav-btm{
    padding-bottom: .5em;
    border-bottom: none;
  }
  .page-id-437 .user-name.box.alt{
    display: flex;
    gap: 6px;
    align-items: center;
  }
  .status-label{
    background: #f9fafb;
    color: #000;
    display: inline-block;
    padding: .1em .6em;
    font-size: .7em;
    line-height: 1.6em;
    border: 1px solid rgba(0,0,0,0.1);
  }
  .singletg_in,
  .singletg_qe,
  .singletg_ex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0.32em 0.72em;
    border: 0;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.35;
    white-space: nowrap;
  }

  .singletg_qe {
    background: rgba(81, 197, 232, 0.1);
    color: #1f8fb0;
  }

  .singletg_ex {
    background: rgba(151, 38, 236, 0.08);
    color: #7a1fc0;
  }

  .singletg_in {
    background: rgba(0, 184, 174, 0.1);
    color: #0a8f87;
  }
  .login-prompt{
    background: #f9f9f9; padding: 2em; text-align: center; margin-top: 1em;margin-bottom: 2em;
  }
  .login-prompt p{
    margin-bottom: 0;
  }
  .forum-main .entrypost p.last{
    margin-bottom: 0;
  }
@media screen and (max-width: 1280px) {
.forum-taxonomy h3{
  font-size: 1em;
}
}
@media screen and (max-width: 1180px) {
.forum-taxonomy h3{
  font-size: .85em;
}
}
@media screen and (max-width: 980px) {
  .forum-taxonomy h3{
    font-size: 1em;
  }
  .forum-layout{
  flex-direction: column;
}
#wp-submit.button-primary{
  width: 100%;
}
.forum-taxonomy .inner{
padding: 1em 0 0 0;
}
.forum-side{
  border-top: solid 3px #e9eef5;
  margin: 2em 0 0 0;
  padding-top: 2em;
  position: static;
}
.forum-main,
.forum-side{
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.forum-post-btn:hover,
.forum-post-btn:focus-visible{
  transform: none;
  box-shadow: none;
}
.wc-block-components-radio-control .wc-block-components-radio-control__input{
    left: 0!important;
}

#swipebox-close{
right: 1em;
top: 5em;
}

.forum-auth-links.for{
  margin-top: 2em;
  text-align: center;
}

}

@media screen and (max-width: 736px) {
    .single-forum .post-nav{
    padding-bottom: 1em;
    }
    .page-id-437 .user-name.box.alt{
      display: block;
      text-align: center;
    }
    .name-extra{
     display: block; 
    }
    .status-label{
     display: block; 
     border:none;
     background:0;
     margin: .5em 0;
    }
    .user-info.box.alt .user-name{
    display: block;
    }
    .user-info.box.alt{
      text-align: center;
    }
    .user-info.box.alt a{
      margin-left:0;
    }
    .page-id-442 .table-wrapper,
    .table-wrapper:has(table.vmiddle){
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow: visible;
    }

    .page-id-442 .table-wrapper > table,
    .table-wrapper:has(table.vmiddle) > table{
      grid-row: 2;
      grid-column: 1;
      display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      margin: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      background:
        linear-gradient(to right, #fff 35%, rgba(255, 255, 255, 0)) 0 0 / 1.25rem 100% local,
        linear-gradient(to left, #fff 35%, rgba(255, 255, 255, 0)) 100% 0 / 2rem 100% local,
        linear-gradient(to left, rgba(18, 18, 20, 0.1), transparent) 100% 0 / 1.1rem 100% scroll;
      background-repeat: no-repeat;
    }

    .page-id-442 .table-wrapper > table > *:first-child,
    .table-wrapper:has(table.vmiddle) > table > *:first-child{
      display: table;
      width: max-content;
      min-width: 700px;
      border-collapse: collapse;
    }

    .page-id-442 .table-wrapper table,
    .table-wrapper:has(table.vmiddle) table{
      min-width: 0;
      width: 100%;
    }

    .page-id-442 .table-wrapper::after,
    .table-wrapper:has(table.vmiddle)::after{
      content: "›";
      grid-row: 2;
      grid-column: 1;
      justify-self: end;
      align-self: center;
      z-index: 2;
      margin-right: 0.05em;
      padding: 0.55em 0.45em 0.55em 1.35em;
      font-size: 1.15em;
      font-weight: 500;
      line-height: 1;
      color: #5a6470;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.88) 38%,
        #fff 70%
      );
      pointer-events: none;
    }

    .page-id-442 .table-wrapper > p,
    .table-wrapper:has(table.vmiddle) > p,
    .table-wrapper span{
      grid-row: 1;
      grid-column: 1;
      display: flex;
      align-items: center;
      gap: 0.3em;
      margin: 0 0 0.55em;
      padding: 0;
      font-size: 0.78em;
      font-weight: 600;
      letter-spacing: 0.02em;
      line-height: 1.4;
      color: #5a6470;
    }
    button.tml-button,
    .page-id-448 .forum-post-form button,
    .page-id-641 .forum-post-form button{
      margin-top: 1em;
      width: 100%;
      font-weight: 700;
      font-size: 1.1em;
    }
    .forum-tag{
      font-size: 1em;
    }
    .page-id-448 .forum-side,
    .page-id-641 .forum-side{
      display: none;
    }
    
    #wp-submit.button-primary{
    height: 3em;
    line-height: 3em;
    }
    .forum-login #wp-submit.button-primary{
    height: 4em;
    line-height: 4em;
    }
    .forum-login.box p{
      font-size: .8em;
    }
    .forumtoppb{
      flex-direction: column;
      align-items: center;
      gap: 0;
    }
    .forum-login{
    width: 100%;
    margin: 2em auto 0;
    }
    .forumtoppb span{
      width: auto;
    }
    .post-type-archive-forum .page-nav a.active1::before,
    .page-id-561 .page-nav a.active2::before,
    .page-id-442 .page-nav a.active3::before,
    .page-id-448 .page-nav a.active4::before,
    .page-id-582 .page-nav a.active5::before,
    .page-id-437 .page-nav a.active6::before{
      bottom: 0px;
      height: 5px;
    }
    .page-nav-wrap::after{
      content: "›";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      font-size: 1.15em;
      font-weight: 500;
      line-height: 1;
      color: #5a6470;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.88) 38%,
        #fff 70%
      );
      padding: 0.85em 0.55em 0.85em 1.6em;
      pointer-events: none;
    }
    .forumpage .page-nav a:last-child{
      padding-right: 2.1em;
    }
    .forumpage .page-nav{
      justify-content: flex-start;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: nowrap;
    }
    .forum-user-nav{
      flex-direction: column;
      align-items: flex-start;
    }
    
    .forum-user-nav .user-name{
      font-size: 0.7rem;
      margin-bottom: 0;
      width: 100%;
    }
    
    .forum-user-nav .user-links{
      display: flex;
    }
    
    .forum-user-nav a{
      font-size: 0.75rem;
    }
    .forum-user-nav a{
    padding: 0 1em;
    }
    .forum-center{
      width: 100%;
      max-width: 100%;
    }
   .forum-user-nav{
     position: relative;
     display: flex;
     flex-direction:unset;
     justify-content: center;
     align-items: center;
     right: auto;
     background: #51c5e8;
     width: fit-content;
     margin: 0 auto 2em auto;
   }
   .submitfit,
   .form-submit input[type="submit"].submit{
     width: 100%;
     padding: .5em;
   }
}

/* --- migrated from main.css --- */

.forum-main .entrypost p.image.sml{
	display: block;
	width: 60%;
	margin: 0 auto 1em auto;
}
.forum-login label{
	margin: 0;
}

.wpaiforum .gallery-item{
background: #fff;
}
.wpaiforum .gallery-caption{
padding: .1em 1em;
font-size: .8em;
background: #e9eef5;
color: #000;
}
.wpaiforum .wp-caption-text.gallery-caption{
margin-bottom: 1em;
margin-top: 0;
}
.comment-form-comment label{
  display: none;
}
.forum-main .entrypost p.simg{
	margin: 1em auto;
}


@media screen and (max-width: 736px) {
	.forum-main .entrypost p.image.sml{
		width: 100%;
		max-width: 100%;
	  }
	.forum-layout .news-list_label{
		float: none;
		display: inline-block;
	}
	.forum-layout .news-list_text{
	margin-left: 0;
	}
	.forum-login input[type="text"],
	.forum-login input[type="password"]{
		height: 2.5em;
	line-height: 2em;
	}
}

.form-group-spaced {
  margin-top: 15px;
}
.leave-reason {
  height: 150px;
  width: 100%;
}


/* =========================================================
   2026 forum layout — archive shell, tabs, side, cards
   Scoped under .forumpage / .wpaiforum; keep brand colors.
   ========================================================= */

.wrapper.style2.forumpage {
  background-color: #ffffff;
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.55) 0,
      rgba(255, 255, 255, 0.92) 160px,
      #ffffff 320px
    ),
    url("../../images/banner4.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.forumpage #content.wpaiforum {
  margin-top: 0.5em;
}

.forumpage .forum-board {
  padding-bottom: 3em;
}

.forumpage .page-nav-wrap {
  margin-bottom: 1.75em;
}

.forumpage .page-nav {
  gap: 0.15em;
  margin-bottom: 0;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: transparent;
}

.forumpage .page-nav a {
  padding: 0.85rem 1.25rem;
  color: #4a5560;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background 0.2s ease;
}

.forumpage .page-nav a:not(:last-child)::after {
  display: none;
}

.forumpage .page-nav a:hover {
  background: transparent;
  color: #111;
}

.forumpage .page-nav a.active1,
.forumpage .page-nav a.active2,
.forumpage .page-nav a.active3,
.forumpage .page-nav a.active4,
.forumpage .page-nav a.active5,
.forumpage .page-nav a.active6 {
  color: #111;
  font-weight: 600;
}

.post-type-archive-forum .page-nav a.active1::before,
.page-id-561 .page-nav a.active2::before,
.page-id-442 .page-nav a.active3::before,
.page-id-448 .page-nav a.active4::before,
.page-id-582 .page-nav a.active5::before,
.page-id-437 .page-nav a.active6::before {
  height: 2px;
  background: #111;
}

.forumpage .forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 2rem;
  align-items: start;
}

.forumpage .forum-main,
.forumpage .forum-side {
  width: auto;
}

.forumpage .forum-main-head {
  display: block;
  margin: 0 0 1em;
}

.forumpage .forum-main-head h3 {
  margin: 0 0 0.3em;
  padding: 0;
  border: 0;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 1.35;
}

.forumpage .forum-main-lead {
  margin: 0;
  font-size: 0.86em;
  color: #6a7380;
  line-height: 1.55;
}

/* Filter tabs — equal-width, easy tap targets (PC + mobile) */
.forumpage .forum-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.35em;
  margin: 0 0 1.25em;
  padding: 0.3em;
  border: 1px solid #e4e9f0;
  border-radius: 0;
  background: #f3f5f8;
  box-sizing: border-box;
}

.forumpage .forum-tabs .tab-btn {
  flex: 1 1 0;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.65em 0.5em;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5a6470;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  opacity: 1;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.forumpage .forum-tabs .tab-btn:first-child {
  padding-left: 0.5em;
}

.forumpage .forum-tabs .tab-btn:hover {
  color: #111;
  background: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

.forumpage .forum-tabs .tab-btn:focus-visible {
  outline: 2px solid #9726ec;
  outline-offset: 1px;
  z-index: 1;
}

.forumpage .forum-tabs .tab-btn.active {
  background: #fff;
  color: #111;
  border-bottom: 0;
  box-shadow: 0 1px 2px rgba(18, 18, 20, 0.08);
  z-index: 1;
}

/* Topic cards */
.forumpage .forum-topic-list {
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  padding: 0;
}

.forumpage .forum-topic-list > .forum-item {
  margin: 0;
}

.forumpage .wpaiforum .forum-card,
.forumpage .forum-card {
  padding: 1.1em 1.15em 1.1em 1.2em;
  border: 1px solid #e4e9f0;
  background: #fff;
  box-shadow: none;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.forumpage .wpaiforum .forum-card:hover,
.forumpage .wpaiforum .forum-card:focus-visible,
.forumpage .forum-card:hover,
.forumpage .forum-card:focus-visible {
  background: var(--forum-tint, #f7f9fc);
  border-color: #d5dde8;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(20, 30, 45, 0.06);
}

.forumpage .wpaiforum .card-text h4,
.forumpage .forum-card .card-text h4 {
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.forumpage .wpaiforum .esctext,
.forumpage .forum-card .esctext {
  color: #667280;
}

.forumpage .wpaiforum .card-meta,
.forumpage .forum-card .card-meta {
  padding-top: 0.85em;
  border-top-color: #eceff3;
}

/* Inline tab CTA */
.forumpage .forum-actions .action {
  margin: 0 0 0.85em;
  padding: 0.95em 1em;
  border: 0;
  border-bottom: 0;
  background: none;
  text-align: center;
}

.forumpage .forum-actions .action-copy,
.forumpage .forum-actions h6 {
  margin: 0 0 0.55em;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.5;
  color: #333;
}

.forumpage .add-nav a,
.forumpage .forum-actions a {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0.45em 0.9em;
  background: #111;
  color: #fff;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s ease;
}

.forumpage .add-nav a:hover,
.forumpage .forum-actions a:hover {
  background: #333;
}

/* Side panel */
.forumpage .forum-side {
  position: sticky;
  top: 5.25em;
}

.forumpage .forum-side-panel {
  padding: 1.1em 1.05em 1.2em;
  border: 1px solid #e4e9f0;
  background: #fff;
}

.forumpage .forum-side-kicker,
.forumpage .forum-side-panel .forum-wsearch h4,
.forumpage .forum-side-panel .forum-categories h4,
.forumpage .forum-side-panel .forum-tags h4 {
  margin: 0 0 0.7em;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.forumpage .forum-post-actions {
  margin: 0 0 0.35em;
  gap: 0.4em;
}

.forumpage .forum-post-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75em 0.85em;
  border: 0;
  background: rgba(18, 18, 20, 0.08);
  color: #121214;
  font-size: 0.88em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  box-shadow: none;
  transform: none;
}

.forumpage .forum-post-btn.is-question {
  border: 0;
  background: rgba(81, 197, 232, 0.1);
  color: #1f8fb0;
}

.forumpage .forum-post-btn.is-insight {
  border: 0;
  background: rgba(0, 184, 174, 0.1);
  color: #0a8f87;
}

.forumpage .forum-post-btn.is-experience {
  border: 0;
  background: rgba(151, 38, 236, 0.08);
  color: #7a1fc0;
}

.forumpage .forum-post-btn:hover,
.forumpage .forum-post-btn:focus-visible {
  border: 0;
  transform: none;
  box-shadow: none;
}

.forumpage .forum-post-btn.is-question:hover,
.forumpage .forum-post-btn.is-question:focus-visible {
  background: rgba(81, 197, 232, 0.16);
  color: #1f8fb0;
}

.forumpage .forum-post-btn.is-insight:hover,
.forumpage .forum-post-btn.is-insight:focus-visible {
  background: rgba(0, 184, 174, 0.16);
  color: #0a8f87;
}

.forumpage .forum-post-btn.is-experience:hover,
.forumpage .forum-post-btn.is-experience:focus-visible {
  background: rgba(151, 38, 236, 0.14);
  color: #7a1fc0;
}

.forumpage .forum-side-panel .forum-tags,
.forumpage .forum-side-panel .forum-wsearch,
.forumpage .forum-side-panel .forum-categories {
  margin-top: 1.1em;
  padding-top: 1em;
  border-top: 1px solid #eef1f5;
}

.forumpage .forum-term-list a {
  min-height: 2.75em;
  padding: 0.75em 0.85em;
  border: 0;
  font-size: 0.88em;
}

.forumpage .forum-term-list a:hover {
  opacity: 1;
  filter: brightness(0.96);
}

.forumpage .forum-term-list .count {
  min-width: 1.7em;
  min-height: 1.45em;
  background: rgba(255, 255, 255, 0.94);
}

.forumpage .forum-tag {
  padding: 0.32em 0.55em;
  background: #f0f3f7;
  color: #44505c;
  font-size: 0.76em;
}

.forumpage .forum-tag:hover {
  background: #e4eaf1;
  color: #111;
}

.forumpage .forum-side .forum-search {
  border: 0;
}

.forumpage .forum-side .forum-search input[type="search"],
.forumpage .forum-side .forum-search input[type="text"] {
  background: #f7f9fc !important;
}

.forumpage .forum-empty-item p,
.forumpage .forum-empty {
  margin: 0;
  color: #7a8490;
  font-size: 0.9em;
}

/* Back link hr (button styles live in site.css) */
.forumpage .inner > hr {
  margin: 1.75em 0 1.25em;
  border: 0;
  border-top: 1px solid #eef1f5;
}

@media screen and (max-width: 980px) {
  .forumpage .forum-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .forumpage .forum-side {
    position: static;
    order: 2;
  }

  .forumpage .forum-main {
    order: 1;
  }

  .forumpage .forum-side-panel {
    padding: 1em;
  }
}

@media screen and (max-width: 736px) {
  .wrapper.style2.forumpage {
    background-size: 160% auto;
  }

  .forumpage .forum-main-head {
    margin-bottom: 0.9em;
  }

  .forumpage .forum-main-head h3 {
    font-size: 1.18em;
  }

  .forumpage .forum-tabs {
    margin-bottom: 1.1em;
    gap: 0.28em;
    padding: 0.28em;
    overflow: visible;
  }

  .forumpage .forum-tabs .tab-btn {
    flex: 1 1 0;
    min-height: 3rem;
    font-size: 0.88em;
    padding: 0.7em 0.35em;
  }

  .forumpage .forum-tabs .tab-btn:first-child {
    padding-left: 0.35em;
  }

  .forumpage .page-nav {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .forumpage .page-nav a {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
  }

  .forumpage ul.actions.last:not(.fixed),
  .forumpage ul.actions:not(.fixed) {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }

  .forumpage ul.actions.last:not(.fixed) > li,
  .forumpage ul.actions:not(.fixed) > li,
  .forumpage ul.actions.last > li.aright {
    flex: none;
    float: none;
    width: 100%;
    margin: 0 0 0.55em;
    padding: 0;
    text-align: left;
  }

  .forumpage ul.actions.last:not(.fixed) > li:last-child,
  .forumpage ul.actions:not(.fixed) > li:last-child {
    margin-bottom: 0;
  }

  .forumpage ul.actions.last:not(.fixed) > li > .button,
  .forumpage ul.actions:not(.fixed) > li > .button,
  .forumpage ul.actions.last .button.special.small.icon.fa-angle-left {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .forumpage .post-actions,
  .forumpage .comment-toolbar,
  .single-forum .post-actions,
  .single-forum .comment-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45em;
  }

  .forumpage .post-actions .button,
  .forumpage .comment-toolbar .button,
  .forumpage .comment-toolbar button,
  .single-forum .post-actions .button,
  .single-forum .comment-toolbar .button,
  .single-forum .comment-toolbar button {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: 0 0 auto;
  }

  .forumpage .forum-post-btn,
  .forumpage .forum-side-panel .forum-post-btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .forumpage .wpaiforum .forum-card:hover,
  .forumpage .forum-card:hover {
    transform: none;
    box-shadow: none;
  }

  .forumpage .forum-post-btn:hover,
  .forumpage .forum-post-btn:focus-visible {
    box-shadow: none;
  }
}

/* =========================================================
   Forum single — clean reading layout (2026)
   ========================================================= */

.single-forum .forum-single {
  margin: 0 0 2em;
}

.single-forum .forum-single-head {
  margin: 0 0 1.35em;
  padding: 0 0 1em;
  border-bottom: 1px solid #e3e6eb;
}

.single-forum .forum-single-head .singletg_in,
.single-forum .forum-single-head .singletg_qe,
.single-forum .forum-single-head .singletg_ex {
  margin: 0 0 0.7em;
}

.single-forum .forum-single-title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #111;
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.single-forum .forum-single-author,
.single-forum .forum-single-head .author-name {
  display: block;
  margin: 0.55em 0 0;
  color: #6a7380;
  font-size: 0.88em;
  font-weight: 500;
  line-height: 1.5;
}

.single-forum .forum-single-contributor {
  margin: 0 0 1.25em;
  padding: 0.95em 1em;
  border: 1px solid #eef1f5;
  background: #f7f9fc;
}

.single-forum .forum-single-contributor p {
  margin: 0;
  color: #44505c;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.85;
}

.single-forum .forum-single-contributor a {
  color: #334155;
  border-bottom: 1px dotted #9aa3ad;
  word-break: break-all;
}

.single-forum .forum-single-contributor a:hover {
  color: #111;
  border-bottom-color: #111;
}

.single-forum .forum-single-body {
  margin: 0 0 1.5em;
}

.single-forum .forum-main .entrypost.forum-single-body p,
.single-forum .forum-single-body p {
  margin: 0 0 1.15em;
  color: #333;
  font-size: 1em;
  line-height: 1.9;
}

.single-forum .forum-single-body p:last-child {
  margin-bottom: 0;
}

.single-forum .forum-single-foot {
  margin: 0 0 0.5em;
  padding: 0;
  /* border-top: 1px solid #e3e6eb; */
}

.single-forum .catetag {
  margin: 0 0 0.85em;
  color: #6a7380;
  font-size: 0.84em;
  line-height: 1.7;
}

.single-forum .catetag time {
  color: #55606c;
  font-weight: 500;
}

.single-forum .catetag a {
  color: #3f4650;
  text-decoration: none;
}

.single-forum .catetag a:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.single-forum .catetag .fornm-tag {
  margin-right: 0.35em;
  color: #5a6470;
}

.single-forum .post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin: 0 0 0.65em;
}

.single-forum .comment-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  margin: 0 0 0.65em;
}

.single-forum .comment-toolbar .comment-report-form {
  display: inline-flex;
  margin: 0;
}

.single-forum .post-actions .button.xsmall,
.single-forum .comment-toolbar .button.xsmall,
.single-forum .comment-toolbar button.xsmall,
.single-forum .comment-report-action .button.xsmall,
.single-forum .comment-report-action button.xsmall {
  margin: 0;
  min-height: 2.2em;
  padding: 0 0.85em;
  border: 1px solid #d5dae2;
  background: #fff;
  box-shadow: none;
  color: #3f4650 !important;
  font-size: 0.78em;
  font-weight: 600;
  line-height: 2.2em;
}

.single-forum .post-actions .button.xsmall:hover,
.single-forum .comment-toolbar .button.xsmall:hover,
.single-forum .comment-toolbar button.xsmall:hover,
.single-forum .comment-report-action .button.xsmall:hover,
.single-forum .comment-report-action button.xsmall:hover {
  border-color: #b8bfc9;
  background: #f7f8fa;
  color: #111 !important;
}

.single-forum .comment-report-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin: 0;
  text-align: left;
}

.single-forum .post-nav {
  margin-bottom: 1.35em;
  padding-bottom: 0.55em;
  border-bottom: 1px solid #e3e6eb;
}

.single-forum .post-nav a {
  background: #f3f5f8;
  color: #333;
  font-weight: 600;
}

.single-forum .post-nav .prev a::before {
  border-right-color: #f3f5f8;
}

.single-forum .post-nav .next a::after {
  border-left-color: #f3f5f8;
}

.single-forum .post-nav.post-nav-btm {
  margin: 1.5em 0 1.25em;
  padding: 0.55em 0 0;
  border-top: 1px solid #e3e6eb;
  border-bottom: 0;
}

.single-forum .forum-answers {
  margin-top: 2em;
  padding-top: 0.25em;
}

.single-forum .forum-answers-head {
  margin: 0 0 1.15em;
  text-align: center;
}

.single-forum .forum-answers h4 {
  margin: 0 0 0.45em;
  color: #111;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.single-forum .foinfo {
  margin: 0;
  color: #6a7380;
  font-size: 0.86em;
  line-height: 1.65;
  text-align: center;
}

.single-forum .foinfo-after {
  margin: 1.25em 0 0;
}

.single-forum .forum-answers hr {
  display: none;
}

.single-forum .comment-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #d0d5dc;
  list-style: none;
}

.single-forum .comment-list > li {
  margin: 0;
  padding: 1em 0.15em 1.1em;
  border-top: 0;
  border-bottom: 1px solid #e3e6eb;
  background: transparent;
}

.single-forum .comment-body {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-forum .comment-author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25em 0.55em;
  margin: 0 0 0.65em;
}

.single-forum .comment-author .badge {
  padding: 0.15em 0.45em;
  border: 1px solid #d5dae2;
  background: #f7f8fa;
  color: #55606c;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.single-forum .comment-author .name {
  display: inline;
  color: #222;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.4;
}

.single-forum .comment-author .name-extra {
  flex: 1 0 100%;
  display: block;
  width: 100%;
  margin: 0.1em 0 0;
  color: #6a7380;
  font-size: 0.78em;
  font-weight: 400;
  line-height: 1.5;
}

.single-forum .comment-content {
  margin: 0 0 0.75em;
}

.single-forum .comment-content p {
  margin: 0 0 0.85em;
  color: #333;
  line-height: 1.8;
}

.single-forum .comment-content p:last-child {
  margin-bottom: 0;
}

.single-forum .comment-meta {
  margin: 0 0 0.65em;
}

.single-forum .comment-meta a {
  color: #7a828c;
  font-size: 0.8em;
  text-decoration: none;
}

.single-forum .comment-meta a:hover {
  color: #4f5963;
  text-decoration: underline;
}

.single-forum .comment .children {
  margin: 0.85em 0 0;
  padding: 0 0 0 0.85em;
  border-left: 2px solid #e3e6eb;
}

.single-forum .children .comment-body {
  margin-top: 0.75em;
  padding-top: 0.75em;
  border-top: 1px dashed #e3e6eb;
}

.single-forum .reply {
  margin-top: 0.55em;
}

.single-forum .reply a {
  background: #f3f5f8;
  color: #333;
  font-size: 0.78em;
  font-weight: 600;
}

.single-forum .comment-respond {
  margin-top: 0.5em;
  padding: 1.15em 1em 1em;
  border: 1px solid #e3e6eb;
  background: #fafbfc;
}

.single-forum .comment-reply-title,
.single-forum #reply-title.comment-reply-title {
  margin: 0 0 0.85em;
  color: #111;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
}

.single-forum .comment-form textarea#comment {
  min-height: 9em;
  border-color: #cfd4dc;
  background: #fff;
}

.single-forum .comment-form .form-submit input[type="submit"].submit {
  background: #111;
  border: 0;
  color: #fff;
  font-weight: 600;
}

.single-forum .forum-post-header {
  margin: 0 0 0.85em;
}

.single-forum .forum-post-header .user-info.box.alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em 0.65em;
  margin: 0;
  padding: 0.75em 0.85em;
  border: 1px solid #e3e6eb;
  background: #fff;
}

.single-forum .forum-comment-notes {
  margin: 0.85em 0 0;
  color: #6a7380;
  font-size: 0.82em;
}

.single-forum .login-prompt {
  margin: 0 0 1em;
  padding: 1.15em 1em;
  border: 1px solid #e3e6eb;
  background: #fafbfc;
  text-align: center;
}

.single-forum .login-prompt p.last {
  margin: 0;
  color: #55606c;
  line-height: 1.7;
}

.single-forum .forum-comments-closed {
  margin: 1em 0 0;
  color: #6a7380;
  font-size: 0.9em;
  text-align: center;
}

@media screen and (max-width: 736px) {
  .single-forum .forum-single-title {
    font-size: 1.22em;
  }

  .single-forum .forum-main .entrypost.forum-single-body p,
  .single-forum .forum-single-body p {
    font-size: 0.95em;
    line-height: 1.85;
  }

  .single-forum .forum-single-head {
    margin-bottom: 1.1em;
    padding-bottom: 0.85em;
  }

  .single-forum .comment-list > li {
    padding: 0.9em 0;
  }

  .single-forum .comment-respond {
    padding: 1em 0.85em;
  }

  .single-forum .comment .children {
    padding-left: 0.65em;
  }
}
