.takesme-quiz-builder .takesme-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.takesme-quiz-builder .takesme-quiz-question {
  border: 1px solid #CFEAF1;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}

.takesme-admin-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(5, 152, 186, 0.08);
  color: #047E99;
}

.takesme-subtle {
  color: #5F6F6F;
}

.takesme-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  color: #047E99;
}

.takesme-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #CFEAF1;
  background: #fff;
  color: #131313;
  text-decoration: none;
}

.takesme-form-card,
.takesme-list-card,
.takesme-community-card,
.takesme-score-card,
.takesme-highlight-block {
  border-radius: 24px;
  border: 1px solid #CFEAF1;
  background: #fff;
  padding: 1.25rem;
}

.takesme-highlight-block {
  background: linear-gradient(135deg, rgba(5, 152, 186, 0.08), rgba(255,255,255,1));
}

.takesme-forum-grid,
.takesme-quiz-grid,
.takesme-score-grid,
.takesme-form-grid,
.takesme-quiz-cards {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
}

.takesme-form-grid {
  grid-template-columns: 1fr 1fr;
}

.takesme-form-grid .takesme-span-2 {
  grid-column: 1 / -1;
}

.takesme-topic-list,
.takesme-leaderboard {
  display: grid;
  gap: 1rem;
}

.takesme-list-card + .takesme-list-card {
  margin-top: 1rem;
}

.takesme-points {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: #047E99;
}

.takesme-points::before {
  content: "✦";
  color: #d9a441;
}

.takesme-alert,
.takesme-success-box {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.takesme-alert {
  background: #fff7ea;
  border: 1px solid #f0d8aa;
  color: #6f5220;
}

.takesme-success-box {
  background: #EAF8FB;
  border: 1px solid #BDE8E8;
  color: #047E99;
}

.takesme-empty-state {
  border: 1px dashed rgba(5, 152, 186, 0.35);
  border-radius: 24px;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.85);
}

.takesme-leaderboard-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.takesme-rank {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #EAF8FB;
  color: #047E99;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.takesme-progress {
  height: 12px;
  background: rgba(5, 152, 186, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.takesme-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0598BA, #047E99);
}

.takesme-quiz-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.takesme-quiz-question {
  padding: 1.2rem;
  border: 1px solid #CFEAF1;
  border-radius: 20px;
  background: #fff;
}

.takesme-quiz-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid #CFEAF1;
  background: #fff;
}

.takesme-quiz-option + .takesme-quiz-option {
  margin-top: 0.55rem;
}

@media (max-width: 980px) {
  .takesme-forum-grid,
  .takesme-quiz-grid,
  .takesme-score-grid,
  .takesme-form-grid,
  .takesme-quiz-cards,
  .takesme-quiz-builder .takesme-form-grid {
    grid-template-columns: 1fr;
  }
}


/* refinements v2.2 */
.takesme-forum-layout { display:grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.75fr); gap:1.25rem; }
.takesme-forum-filterbar { display:flex; flex-wrap:wrap; gap:.65rem; margin:1rem 0 1.15rem; }
.takesme-filter-pill, .takesme-forum-subtag, .takesme-forum-tag { display:inline-flex; align-items:center; gap:.3rem; padding:.45rem .8rem; border-radius:999px; background:#fff; border:1px solid #CFEAF1; color:#047E99; text-decoration:none; font-size:.92rem; }
.takesme-filter-pill.is-active { background:#047E99; color:#fff; border-color:#047E99; }
.takesme-forum-category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-bottom:1.25rem; }
.takesme-forum-category-card { border-radius:24px; border:1px solid #CFEAF1; background:#fff; padding:1.1rem; box-shadow:0 10px 22px rgba(17,17,17,.04); }
.takesme-forum-category-head { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:.8rem; }
.takesme-forum-category-head h3 { margin:0; font-size:1.05rem; }
.takesme-forum-count { min-width:2rem; height:2rem; border-radius:999px; display:grid; place-items:center; background:#EAF8FB; color:#047E99; font-weight:700; }
.takesme-forum-subcategory-list { display:flex; flex-wrap:wrap; gap:.5rem; }
.takesme-forum-composer { margin-top:1.3rem; }
.takesme-forum-form { grid-template-columns:1fr 1fr; }
.takesme-forum-card-top { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; }
.takesme-forum-tags { display:flex; flex-wrap:wrap; gap:.5rem; margin:.75rem 0; }
.takesme-section-row { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; }
.takesme-mini-card { padding:1rem 1.05rem; background:linear-gradient(135deg, rgba(5, 152, 186, .08), #fff); }
@media (max-width: 980px) { .takesme-forum-layout, .takesme-forum-category-grid, .takesme-forum-form { grid-template-columns:1fr; } .takesme-forum-card-top, .takesme-section-row { flex-direction:column; align-items:flex-start; } }

/* community-plus v2.3 */
.takesme-forum-layout-modern { align-items:start; }
.takesme-forum-panel { padding:1.2rem; }
.takesme-forum-thread-card { padding:1.15rem 1.2rem; background:linear-gradient(180deg,#fff,#F8FEFE); }
.takesme-forum-thread-card h3 a { color:#131313; text-decoration:none; }
.takesme-forum-thread-card h3 a:hover { color:#047E99; }
.takesme-forum-aside { position:sticky; top:5.5rem; align-self:start; }
.takesme-forum-form textarea { min-height:140px; }
.takesme-forum-category-card { transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.takesme-forum-category-card:hover { transform:translateY(-2px); border-color:rgba(5, 152, 186, .28); box-shadow:0 18px 36px rgba(17,17,17,.06); }
.takesme-forum-category-card h3 a { color:#131313; text-decoration:none; }
.takesme-forum-category-card h3 a:hover { color:#047E99; }
.takesme-forum-subtag:hover, .takesme-forum-tag:hover, .takesme-filter-pill:hover { background:#EAF8FB; }
.takesme-profile-hero .takesme-avatar-stack { align-items:flex-start; }
.takesme-profile-hero .takesme-member-meta { margin-top:.6rem; }
.takesme-member-card .takesme-avatar-stack { align-items:flex-start; }
.takesme-member-card .takesme-avatar-stack img { width:56px; height:56px; }
.takesme-member-card p { margin-bottom:0; }
.takesme-profile-form-grid textarea { min-height:130px; }
.takesme-score-grid .takesme-quiz-cards { grid-template-columns:repeat(4,minmax(0,1fr)); }

@media (max-width: 980px) {
  .takesme-forum-aside { position:static; }
  .takesme-score-grid .takesme-quiz-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .takesme-score-grid .takesme-quiz-cards { grid-template-columns:1fr; }
}

/* community ux v3 */
.takesme-forum-layout-modern { grid-template-columns:minmax(0,1.2fr) 340px; gap:1rem; }
.takesme-profile-hero { padding:1.55rem; border-radius:30px; }
.takesme-forum-filterbar { gap:.55rem; overflow:auto; padding-bottom:.2rem; }
.takesme-filter-pill { background:#EAF8FB; }
.takesme-forum-category-grid { grid-template-columns:1fr; }
.takesme-forum-category-card { padding:1rem 1.05rem; }
.takesme-forum-subcategory-list { margin-top:.25rem; }
.takesme-forum-thread-card { padding:1.05rem 1.1rem; border-radius:24px; }
.takesme-forum-thread-card h3 { font-size:1.18rem; line-height:1.2; }
.takesme-forum-card-top { align-items:center; }
.takesme-forum-panel { border-radius:26px; }
.takesme-forum-panel .wp-element-button { width:100%; }
.takesme-topic-list { gap:.85rem; }
.takesme-thread-shell { border-radius:28px; }
@media (max-width: 980px) {
  .takesme-forum-layout-modern { grid-template-columns:1fr; }
}

/* v11 comments, reactions and anonymous posting */
.takesme-anon-toggle {
  display:flex;
  flex-direction:column;
  gap:.4rem;
  padding:.85rem 1rem;
  border:1px dashed rgba(122,31,104,.24);
  border-radius:18px;
  background:rgba(5,152,186,.06);
}
.takesme-anon-toggle label,
.takesme-comment-anon label {
  display:flex;
  align-items:center;
  gap:.55rem;
  font-weight:600;
}
.takesme-avatar-placeholder {
  width:56px;
  height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0598BA,#005F5F);
  color:#fff;
  font-weight:800;
}
.takesme-comment-anon-badge {
  display:inline-flex;
  margin-bottom:.5rem;
  padding:.28rem .65rem;
  border-radius:999px;
  background:rgba(5,152,186,.12);
  color:#005F5F;
  font-size:.78rem;
  font-weight:700;
}
.takesme-comment-reactions {
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin-top:.85rem;
}
.takesme-reaction-form { margin:0; }
.takesme-reaction-button {
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.4rem .75rem;
  border-radius:999px;
  border:1px solid #CFEAF1;
  background:#fff;
  cursor:pointer;
  font-size:.9rem;
}
.takesme-reaction-button:hover { background:#EFFCFC; }
.takesme-reaction-button--heart:hover { background:#ecffff; }
.takesme-reaction-button--dislike:hover { background:#faf4f4; }
.wp-block-comments {
  margin-top:1rem;
}
.wp-block-comments .wp-block-comment-template {
  display:grid;
  gap:1rem;
}
.wp-block-comments .wp-block-comment-template > li,
.wp-block-comments .wp-block-comment-template .comment {
  list-style:none;
  margin:0;
  padding:1.15rem 1.2rem;
  border:1px solid #CFEAF1;
  border-radius:22px;
  background:#fff;
}
.wp-block-comments .children {
  margin-top:1rem;
  padding-left:1rem;
  border-left:3px solid rgba(5,152,186,.18);
}
.wp-block-comments .wp-block-comment-author-name,
.wp-block-comments .wp-block-comment-date {
  font-size:.95rem;
}
.wp-block-comments .comment-reply-link,
.wp-block-comments .wp-block-button__link {
  border-radius:999px;
}


/* v12 softer blue accents */
.takesme-success-box {
  border-color: rgba(4,126,153,.14);
  background: rgba(5, 152, 186, .08);
}
.takesme-points-hero {
  background: linear-gradient(135deg, #0598BA, #047E99);
}
.takesme-topic-card--featured,
.takesme-profile-hero {
  background: linear-gradient(180deg, rgba(5, 152, 186, .10), rgba(255,255,255,.98));
}

/* community hub v36.2.0 */
.takesme-community-shell {
  display: grid;
  gap: 1.25rem;
}

.takesme-community-intro-card {
  border-radius: 30px;
  border: 1px solid #CFEAF1;
  background: linear-gradient(135deg, rgba(5,152,186,.10), #fff 65%);
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.05);
}

.takesme-community-intro-card h2 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
}

.takesme-community-intro-excerpt {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #5E6969;
  margin-bottom: 0.85rem;
}

.takesme-community-more {
  border-top: 1px solid rgba(25, 95, 118, 0.1);
  padding-top: 0.85rem;
}

.takesme-community-more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  color: #047E99;
  background: #EAF8FB;
  font-weight: 700;
}

.takesme-community-more summary::-webkit-details-marker {
  display: none;
}

.takesme-community-more__content {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.takesme-community-more__content p {
  margin: 0;
  color: #5E6969;
  line-height: 1.75;
}

.takesme-community-list-wrap {
  margin-top: 1.25rem;
}

.takesme-community-feature-list {
  margin: 0.75rem 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.takesme-community-feature-list li {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid #CFEAF1;
  color: #1e2b31;
}

.takesme-community-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.takesme-community-cta,
.takesme-community-cta.wp-element-button {
  min-width: 220px;
  text-align: center;
}

.takesme-community-cta--ghost {
  background: #fff;
  color: #047E99;
  border-color: #047E99;
}

.takesme-community-auth-grid {
  align-items: start;
}

.takesme-honeypot-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.takesme-community-dashboard {
  display: grid;
  gap: 1.25rem;
}

.takesme-community-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-community-nav-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem;
  border-radius: 24px;
  text-decoration: none;
  border: 1px solid #CFEAF1;
  background: #fff;
  color: #131313;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.takesme-community-nav-card:hover {
  transform: translateY(-2px);
  border-color: rgba(5,152,186,.35);
  box-shadow: 0 18px 36px rgba(17,17,17,.07);
}

.takesme-community-nav-card__emoji {
  font-size: 1.45rem;
}

.takesme-community-nav-card strong {
  font-size: 1.05rem;
}

.takesme-community-nav-card span:last-child {
  color: #5F6F6F;
  line-height: 1.45;
}

.takesme-community-profile-form textarea {
  min-height: 150px;
}

.takesme-community-photo-preview {
  display: grid;
  gap: 0.8rem;
}

.takesme-community-photo-preview img {
  display: block;
  width: 100%;
  max-width: 180px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid #CFEAF1;
}

.takesme-community-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.takesme-community-gallery-grid img {
  max-width: none;
  aspect-ratio: 1 / 1;
}

.takesme-community-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-community-article-card {
  border-radius: 22px;
  border: 1px solid #CFEAF1;
  background: #fff;
  overflow: hidden;
}

.takesme-community-article-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.takesme-community-article-card .takesme-kicker,
.takesme-community-article-card h4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.takesme-community-article-card .takesme-kicker {
  margin-top: 0.9rem;
  margin-bottom: 0.35rem;
}

.takesme-community-article-card h4 {
  margin: 0 0 1rem;
  line-height: 1.3;
}

.takesme-community-article-card a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .takesme-community-card-grid,
  .takesme-community-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .takesme-community-feature-list,
  .takesme-community-card-grid,
  .takesme-community-articles-grid,
  .takesme-community-gallery-grid {
    grid-template-columns: 1fr;
  }

  .takesme-community-cta,
  .takesme-community-cta.wp-element-button {
    width: 100%;
    min-width: 0;
  }
}


/* v36.2.4 community IA refresh */
.takesme-community-subnav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .55rem;
  margin: 0 0 .85rem;
}

.takesme-community-subnav__item {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  justify-content: center;
  min-height: 48px;
  padding: .62rem .72rem;
  border-radius: 18px;
  border: 1px solid rgba(4,126,153,.12);
  background: rgba(255,255,255,.92);
  color: #005A5A;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(8,85,95,.04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.takesme-community-subnav__item:hover,
.takesme-community-subnav__item.is-active {
  transform: translateY(-1px);
  border-color: rgba(4,126,153,.22);
  box-shadow: 0 18px 40px rgba(8,85,95,.07);
  background: linear-gradient(135deg, rgba(4,126,153,.12), rgba(255,255,255,.96));
  color: var(--takesme-primary-deep);
}

.takesme-community-subnav__icon {
  font-size: .9rem;
  line-height: 1;
}

.takesme-community-intro-card {
  border-color: rgba(4,126,153,.12);
  background: linear-gradient(135deg, rgba(4,126,153,.09), rgba(5,152,186,.05) 28%, #fff 72%);
}

.takesme-community-feature-list li,
.takesme-community-nav-card,
.takesme-community-article-card,
.takesme-forum-category-card,
.takesme-forum-thread-card,
.takesme-chat-room-link,
.takesme-chat-message {
  border-color: rgba(4,126,153,.10);
}

.takesme-community-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-community-nav-card {
  padding: 1.2rem 1.15rem;
  gap: .5rem;
  background: linear-gradient(180deg, #fff, #F6FDFD);
}

.takesme-community-nav-card strong {
  font-size: 1.08rem;
  line-height: 1.2;
}

.takesme-community-flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(4,126,153,.1);
  background: linear-gradient(135deg, rgba(4,126,153,.08), rgba(255,255,255,.96));
}

.takesme-community-flow-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.18rem;
}

.takesme-community-flow-card .takesme-subtle {
  margin: 0;
}

.takesme-community-auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-form-card h3 {
  line-height: 1.18;
}

.takesme-forum-filterbar {
  margin-bottom: 1rem;
}

.takesme-forum-panel,
.takesme-chat-intro,
.takesme-chat-sidebar-card,
.takesme-chat-main {
  border-color: rgba(4,126,153,.10);
}

.takesme-chat-intro {
  background: linear-gradient(135deg, rgba(4,126,153,.09), #fff 68%);
}

.takesme-chat-room-link strong,
.takesme-forum-thread-card h3 a,
.takesme-forum-category-card h3 a,
.takesme-community-article-card h4 a {
  color: #004F4F;
}

.takesme-chat-room-link:hover,
.takesme-forum-thread-card:hover,
.takesme-community-nav-card:hover {
  border-color: rgba(4,126,153,.18);
}

@media (max-width: 1280px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .takesme-community-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  .takesme-community-subnav__item {
    min-height: 46px;
    padding: .6rem .68rem;
    font-size: .84rem;
  }
  .takesme-community-flow-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .takesme-community-subnav {
    grid-template-columns: 1fr;
  }
}

.takesme-quiz-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}

.takesme-quiz-card-advanced .takesme-forum-tags {
  margin-bottom: .75rem;
}

.takesme-quiz-runtime-card {
  border: 1px solid rgba(4,126,153,.12);
}

.takesme-quiz-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(4,126,153,.08);
  margin: 1rem 0 1.2rem;
}

.takesme-quiz-timer.is-expired {
  background: rgba(4, 126, 153, .10);
}

.takesme-quiz-timer__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #004F4F;
}

.takesme-quiz-summary-card ul,

.takesme-quiz-rules-card {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.takesme-score-card ul {
  margin: .3rem 0 0 1.1rem;
}

.takesme-data-table-wrap {
  overflow: auto;
  border: 1px solid rgba(4,126,153,.10);
  border-radius: 18px;
  background: #fff;
}

.takesme-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.takesme-data-table th,
.takesme-data-table td {
  padding: .85rem .95rem;
  border-bottom: 1px solid rgba(4,126,153,.08);
  text-align: left;
  font-size: .96rem;
}

.takesme-data-table th {
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #607171;
  background: rgba(4,126,153,.04);
}

.takesme-data-table tbody tr:hover {
  background: rgba(4,126,153,.03);
}

.takesme-quiz-locked .wp-element-button {
  margin-top: .4rem;
}

@media (max-width: 782px) {
  .takesme-quiz-timer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* v36.4 professional community polish */
.takesme-community-question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.takesme-community-question-grid--forum {
  margin-bottom: 1rem;
}

.takesme-community-question-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(4,126,153,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,244,249,.96));
  color: #004F4F;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(8,85,95,.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.takesme-community-question-card:hover {
  transform: translateY(-2px);
  border-color: rgba(4,126,153,.2);
  box-shadow: 0 20px 40px rgba(8,85,95,.08);
}

.takesme-community-question-card strong {
  font-size: 1rem;
  line-height: 1.3;
}

.takesme-community-question-card span {
  color: #5F6E6E;
  line-height: 1.55;
}

.takesme-community-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.takesme-community-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(4,126,153,.12);
  background: rgba(255,255,255,.84);
}

.takesme-community-step-card__count {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  background: #005A5A;
  color: #fff;
}

.takesme-community-step-card p {
  margin: 0.35rem 0 0;
  color: #5F6E6E;
  line-height: 1.55;
}

.takesme-community-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(4,126,153,.10);
  background: rgba(4,126,153,.05);
  color: #006161;
}

.takesme-community-guidance {
  display: grid;
  gap: 0.4rem;
}

.takesme-community-metrics .takesme-score-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,245,250,.96));
}

.takesme-community-guidance h3,
.takesme-community-intro-card h3 {
  line-height: 1.18;
}

@media (max-width: 1100px) {
  .takesme-community-question-grid,
  .takesme-community-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .takesme-community-question-grid,
  .takesme-community-steps {
    grid-template-columns: 1fr;
  }

  .takesme-community-note {
    flex-direction: column;
  }
}

.takesme-coupon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.takesme-coupon-card{display:flex;flex-direction:column;gap:.9rem}
.takesme-coupon-code-box{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 1rem;border:1px dashed var(--takesme-line);border-radius:16px;background:rgba(4,126,153,.05)}
.takesme-coupon-code-box span{font-size:.82rem;color:var(--takesme-muted)}
.takesme-coupon-code-box strong{font-size:1rem;letter-spacing:.04em}
.takesme-coupon-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center}
.takesme-coupon-history{list-style:none;margin:0;padding:0;display:grid;gap:.85rem}
.takesme-coupon-history li{display:flex;flex-direction:column;gap:.2rem;padding:.85rem 1rem;border:1px solid var(--takesme-line);border-radius:16px;background:#fff}
.takesme-coupon-history span{font-size:.86rem;color:var(--takesme-muted)}
.takesme-forum-tag--strong{background:var(--takesme-primary-deep);color:#fff;border-color:var(--takesme-primary-deep)}
@media (max-width:900px){.takesme-coupon-grid{grid-template-columns:1fr}.takesme-coupon-stats{grid-template-columns:1fr!important}}


/* v36.5.1 community hub readability + polish */
.takesme-community-shell {
  gap: 1.4rem;
}

.takesme-community-shell p,
.takesme-community-shell li,
.takesme-community-shell label,
.takesme-community-shell .takesme-subtle,
.takesme-community-shell .takesme-community-nav-card span:last-child,
.takesme-community-shell .takesme-community-question-card span,
.takesme-community-shell .takesme-community-step-card p,
.takesme-community-shell .takesme-community-intro-excerpt,
.takesme-community-shell .takesme-community-more__content p,
.takesme-community-shell .takesme-community-system-note {
  color: #111111;
  font-size: 1.08rem;
  line-height: 1.7;
}

.takesme-community-intro-card,
.takesme-community-guidance,
.takesme-community-welcome,
.takesme-community-metrics .takesme-score-card,
.takesme-community-nav-card,
.takesme-community-question-card,
.takesme-community-step-card,
.takesme-community-article-card,
.takesme-form-card {
  border-color: rgba(4,126,153,.12);
}

.takesme-community-hero-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin-bottom: .7rem;
}

.takesme-community-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: rgba(4,126,153,.08);
  color: #005555;
  font-weight: 700;
  font-size: .95rem;
}

.takesme-community-hero-emoji-strip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.takesme-community-hero-emoji-strip span {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(4,126,153,.10);
  box-shadow: 0 10px 22px rgba(8,85,95,.05);
  font-size: 1.1rem;
}

.takesme-community-intro-card h2,
.takesme-community-welcome h2 {
  color: #004F4F;
  font-size: clamp(2.15rem, 4.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.takesme-community-intro-card h3,
.takesme-community-guidance h3,
.takesme-community-question-block h3,
.takesme-form-card h3 {
  color: #004F4F;
  font-size: 1.42rem;
  line-height: 1.22;
}

.takesme-community-feature-list--rich {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem 1rem;
}

.takesme-community-feature-list--rich li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .8rem;
  padding: 1rem 1.05rem;
}

.takesme-community-feature-list__emoji {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  background: rgba(4,126,153,.08);
  font-size: 1.2rem;
}

.takesme-community-feature-list--rich strong,
.takesme-community-nav-card strong,
.takesme-community-question-card strong,
.takesme-community-step-card strong {
  color: #004F4F;
}

.takesme-community-feature-list--rich span:last-child {
  display: block;
  margin-top: .24rem;
  color: #111111;
  line-height: 1.6;
  font-size: 1.02rem;
}

.takesme-community-cta-row--single {
  margin-top: -.35rem;
}

.takesme-community-cta-row--single .takesme-community-cta {
  min-width: 210px;
}

.takesme-community-nav-card {
  gap: .62rem;
  padding: 1.25rem 1.2rem;
}

.takesme-community-nav-card__emoji {
  font-size: 1.65rem;
}

.takesme-community-nav-card strong {
  font-size: 1.18rem;
  line-height: 1.25;
}

.takesme-community-question-card {
  padding: 1.15rem 1.15rem;
}

.takesme-community-question-card strong {
  font-size: 1.1rem;
}

.takesme-community-steps--lead {
  margin-top: 1.2rem;
}

.takesme-community-step-card {
  padding: 1.1rem 1.1rem;
}

.takesme-community-step-card__count {
  width: 2.45rem;
  height: 2.45rem;
  font-size: 1rem;
}

.takesme-community-topic-block {
  margin-top: 1.35rem;
}

.takesme-community-system-note {
  margin: 1rem 0 0;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(4,126,153,.05);
  border: 1px solid rgba(4,126,153,.08);
}

.takesme-community-welcome {
  background: linear-gradient(135deg, rgba(4,126,153,.12), rgba(5,152,186,.08) 34%, #ffffff 78%);
}

.takesme-community-metrics .takesme-score-card h3,
.takesme-community-article-card h4,
.takesme-community-articles-grid h4 a {
  color: #004F4F;
}

.takesme-community-articles-grid .takesme-kicker,
.takesme-community-shell .takesme-kicker {
  color: #005C5C;
}

@media (max-width: 980px) {
  .takesme-community-feature-list--rich {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .takesme-community-shell p,
  .takesme-community-shell li,
  .takesme-community-shell label,
  .takesme-community-shell .takesme-subtle,
  .takesme-community-shell .takesme-community-nav-card span:last-child,
  .takesme-community-shell .takesme-community-question-card span,
  .takesme-community-shell .takesme-community-step-card p,
  .takesme-community-shell .takesme-community-system-note {
    font-size: 1rem;
  }

  .takesme-community-intro-card h2,
  .takesme-community-welcome h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .takesme-community-hero-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .takesme-community-hero-emoji-strip span {
    width: 2.1rem;
    height: 2.1rem;
  }
}

/* v36.5.5 forum layout cleanup */
.takesme-forum-composer-panel {
  margin-bottom: 1.2rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,243,249,.96));
}

.takesme-forum-composer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .72fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.takesme-stat-grid--forum {
  margin-top: 0;
}

.takesme-forum-sections-panel {
  background: linear-gradient(180deg, rgba(255,245,251,.98), rgba(247,230,244,.95));
  border-color: rgba(4,126,153,.18);
  box-shadow: 0 18px 34px rgba(4,126,153,.08);
}

.takesme-forum-section-list {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.takesme-forum-section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(4,126,153,.16);
  background: #fff;
  color: #004646;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(4,126,153,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.takesme-forum-section-link:hover,
.takesme-forum-section-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(4,126,153,.3);
  box-shadow: 0 18px 30px rgba(4,126,153,.1);
}

.takesme-forum-section-link__main {
  display: grid;
  gap: .18rem;
}

.takesme-forum-section-link__main strong {
  font-size: 1rem;
  line-height: 1.25;
}

.takesme-forum-section-link__main small {
  color: #5C6C6C;
  font-size: .85rem;
}

.takesme-forum-section-link__count {
  min-width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #047E99;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
}

@media (max-width: 980px) {
  .takesme-forum-composer-head {
    grid-template-columns: 1fr;
  }
}


.takesme-community-more-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.takesme-community-more-row .takesme-community-more {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-top: 0;
  padding-top: 0;
  overflow: visible;
}

.takesme-community-more-row .takesme-community-more summary {
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
}

.takesme-community-more-row .takesme-community-more__content {
  width: 100%;
  max-width: 100%;
  margin-top: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid #CFEAF1;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 28px rgba(17,17,17,.04);
  overflow: visible;
}

.takesme-community-card-grid--hub {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.takesme-community-nav-card--hub {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 78px;
  padding: 0.8rem 0.75rem;
  border-radius: 22px;
  gap: 0.5rem;
}

.takesme-community-nav-card--hub .takesme-community-nav-card__emoji {
  font-size: 1.18rem;
  line-height: 1;
}

.takesme-community-nav-card--hub strong {
  font-size: 0.98rem;
  line-height: 1.15;
  white-space: nowrap;
}

.takesme-community-nav-card--hub span:last-child {
  display: none;
}

@media (max-width: 1280px) {
  .takesme-community-card-grid--hub {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .takesme-community-more-row {
    flex-direction: column;
  }

  .takesme-community-more-row .takesme-community-more {
    min-width: 0;
    width: 100%;
  }

  .takesme-community-card-grid--hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .takesme-community-nav-card--hub {
    min-height: 72px;
    padding: 0.75rem 0.8rem;
  }

  .takesme-community-nav-card--hub strong {
    white-space: normal;
  }
}

/* Forum 36.5.12 layout rebuild */
.takesme-forum-page {
  display: grid;
  gap: 1.2rem;
}

.takesme-forum-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  flex-wrap: wrap;
}

.takesme-forum-current {
  font-weight: 700;
  color: var(--takesme-primary-deep);
}

.takesme-forum-composer-head--simple {
  margin-bottom: 1rem;
}

.takesme-forum-composer-head--simple h2 {
  margin: .25rem 0 0;
}

.takesme-forum-directory {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.takesme-forum-directory__sidebar,
.takesme-forum-stream-panel {
  background: #fff;
  border: 1px solid var(--takesme-line);
  border-radius: 24px;
  padding: 1rem;
}

.takesme-forum-section-list {
  display: grid;
  gap: .9rem;
}

.takesme-forum-section-group {
  display: grid;
  gap: .65rem;
}

.takesme-forum-section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--takesme-line);
  background: var(--takesme-primary-soft);
  text-decoration: none;
  color: var(--takesme-primary-deep);
}

.takesme-forum-section-link.is-active {
  background: linear-gradient(135deg, var(--takesme-primary-deep), var(--takesme-primary));
  border-color: transparent;
  color: #fff;
}

.takesme-forum-section-link__main {
  display: grid;
  gap: .2rem;
}

.takesme-forum-section-link__main small {
  color: inherit;
  opacity: .88;
}

.takesme-forum-subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.takesme-forum-subtag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--takesme-line);
  background: #fff;
  color: var(--takesme-primary-deep);
  text-decoration: none;
  font-weight: 600;
}

.takesme-forum-subtag.is-active {
  background: var(--takesme-primary-deep);
  border-color: var(--takesme-primary-deep);
  color: #fff;
}

.takesme-forum-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-forum-thread-card,
.takesme-comment-card {
  padding: 1rem 1.05rem;
}

.takesme-forum-thread-card h3,
.takesme-comment-card h4 {
  margin: .8rem 0 .45rem;
}

.takesme-comment-stream,
.takesme-topic-list {
  display: grid;
  gap: .85rem;
}

@media (max-width: 980px) {
  .takesme-forum-directory,
  .takesme-forum-stream-grid {
    grid-template-columns: 1fr;
  }
}


/* Forum rebuild 36.5.15 */
.takesme-forum-composer-panel textarea {
  min-height: 96px;
}
.takesme-editor-toolbar {
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin:.35rem 0 .65rem;
}
.takesme-editor-tool {
  appearance:none;
  border:1px solid var(--takesme-line);
  background:#fff;
  color:var(--takesme-primary-deep);
  border-radius:999px;
  padding:.45rem .75rem;
  font:inherit;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.takesme-editor-tool:hover {
  background:var(--takesme-primary-soft);
}
.takesme-editor-help {
  margin-top:.55rem;
}
.takesme-forum-directory {
  grid-template-columns: 218px minmax(0, 1fr);
}
.takesme-forum-directory__content {
  display:grid;
  gap:1rem;
}
.takesme-forum-stream-grid {
  grid-template-columns: 1fr;
}
.takesme-section-row--forum-head {
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.takesme-topic-list--stacked,
.takesme-comment-stream--stacked {
  display:grid;
  gap:.9rem;
}
.takesme-forum-thread-card.is-base,
.takesme-comment-card.is-base {
  background:#fff;
}
.takesme-forum-thread-card.is-alt,
.takesme-comment-card.is-alt {
  background:var(--takesme-primary-soft);
}
.takesme-comment-inline-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.65rem;
  margin-top:.9rem;
}
.takesme-reaction-form--inline {
  margin:0;
}
.takesme-load-more-row {
  margin:.95rem 0 0;
  text-align:center;
}
.takesme-chip--more {
  min-height:42px;
  padding:.65rem 1rem;
}
@media (max-width: 980px) {
  .takesme-forum-directory {
    grid-template-columns:1fr;
  }
}

/* Forum readability + WYSIWYG 36.5.16 */
.takesme-forum-page {
  font-size: 1.08rem;
}
.takesme-forum-page .takesme-kicker,
.takesme-forum-page .takesme-subtle,
.takesme-forum-page .takesme-forum-current,
.takesme-forum-page .takesme-forum-section-link__main small,
.takesme-forum-page .takesme-meta-row,
.takesme-forum-page .takesme-forum-question-topic,
.takesme-forum-page .takesme-forum-question-comments {
  font-size: .96rem;
}
.takesme-forum-page .takesme-forum-directory {
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 1rem;
}
.takesme-forum-page .takesme-forum-composer-panel {
  padding: 1rem;
}
.takesme-forum-form {
  gap: .8rem;
}
.takesme-forum-page .takesme-forum-composer-panel .wp-editor-wrap {
  border: 1px solid var(--takesme-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.takesme-forum-page .takesme-forum-composer-panel .wp-editor-tools {
  padding: .35rem .55rem 0;
  background: #fff;
}
.takesme-forum-page .takesme-forum-composer-panel .mce-toolbar-grp,
.takesme-forum-page .takesme-forum-composer-panel .quicktags-toolbar,
.takesme-forum-page .takesme-forum-composer-panel .wp-editor-tabs {
  border-color: var(--takesme-line);
}
.takesme-forum-page .takesme-forum-composer-panel iframe {
  min-height: 130px !important;
}
.takesme-forum-page .takesme-forum-composer-panel textarea.wp-editor-area,
.takesme-forum-page .takesme-forum-composer-panel textarea#takesme_topic_content {
  min-height: 130px;
}
.takesme-editor-toolbar--emoji {
  margin: 0 0 .55rem;
}
.takesme-editor-tool {
  min-width: 2.25rem;
  padding: .4rem .65rem;
}
.takesme-forum-thread-card--question {
  padding: .95rem 1rem;
}
.takesme-forum-question-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-bottom: .45rem;
  color: #111;
  font-size: 1rem;
  font-weight: 700;
}
.takesme-forum-question-sep {
  opacity: .55;
}
.takesme-forum-question-rank,
.takesme-forum-question-points {
  color: var(--takesme-primary-deep);
}
.takesme-forum-question-title {
  margin: .35rem 0 !important;
  font-size: 1.55rem;
  line-height: 1.15;
}
.takesme-forum-question-title a {
  color: #111;
  text-decoration: none;
}
.takesme-forum-question-title a:hover {
  color: var(--takesme-primary-deep);
}
.takesme-forum-question-topic {
  margin: .25rem 0 .45rem;
  color: #111;
  font-weight: 600;
}
.takesme-forum-question-summary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.takesme-forum-question-summary {
  margin: 0;
  flex: 1 1 360px;
  color: #111;
  line-height: 1.55;
}
.takesme-forum-question-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}
.takesme-forum-question-comments {
  color: #111;
  font-weight: 700;
}
.takesme-comment-card {
  padding: .95rem 1rem;
}
.takesme-comment-card h4 {
  margin: .45rem 0 .35rem;
  font-size: 1.24rem;
  line-height: 1.2;
}
.takesme-comment-card p.takesme-subtle {
  margin: 0;
  color: #111;
  line-height: 1.55;
}
.takesme-comment-card .takesme-subtle,
.takesme-forum-page .takesme-empty-state,
.takesme-forum-page .takesme-alert,
.takesme-forum-page .takesme-success-box {
  color: #111;
}
.takesme-comment-inline-actions {
  margin-top: .7rem;
}
@media (max-width: 980px) {
  .takesme-forum-page {
    font-size: 1rem;
  }
  .takesme-forum-page .takesme-forum-directory {
    grid-template-columns: 1fr;
  }
  .takesme-forum-question-title {
    font-size: 1.35rem;
  }
  .takesme-forum-question-summary-row {
    align-items: flex-start;
  }
}


.takesme-forum-section-group--theme {
  gap: .75rem;
}

.takesme-forum-section-link--theme {
  background: linear-gradient(135deg, rgba(4,126,153,.12), rgba(5,152,186,.18));
  border-color: rgba(4,126,153,.18);
  box-shadow: 0 14px 26px rgba(4,126,153,.08);
}

.takesme-forum-section-link--theme .takesme-forum-section-link__main strong {
  font-size: 1.06rem;
}

.takesme-forum-subcategory-list {
  padding-left: .35rem;
}

.takesme-forum-question-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .55rem;
}

.takesme-taxonomy-pills--forum .takesme-category-chip--strong,
.takesme-forum-question-taxonomy .takesme-forum-tag--strong {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.takesme-taxonomy-pills--forum {
  margin-bottom: .75rem;
}


/* Forum composer polish 36.5.22 */
.takesme-forum-composer-lead {
  margin: .55rem 0 0;
  max-width: 72ch;
  color: #2a4444;
}

.takesme-forum-form--modern {
  gap: 1rem;
}

.takesme-forum-form-intro {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.takesme-forum-form-step {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(5,152,186,.10);
  color: var(--takesme-primary-deep);
  font-size: .88rem;
  font-weight: 800;
}

.takesme-forum-form-block {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(4,126,153,.10);
  background: rgba(255,255,255,.88);
  box-shadow: 0 12px 28px rgba(17,17,17,.04);
}

.takesme-forum-form-block label {
  display: block;
  margin-bottom: .45rem;
  color: #111;
  font-weight: 800;
}

.takesme-forum-form-block input[type="text"],
.takesme-forum-form-block select {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(4,126,153,.18);
  background: #fff;
}

.takesme-forum-form-block input[type="text"]:focus,
.takesme-forum-form-block select:focus,
.takesme-forum-form-block textarea:focus {
  outline: 0;
  border-color: #4FCFCF;
  box-shadow: 0 0 0 4px rgba(5,152,186,.12);
}

.takesme-forum-field-help {
  margin: .55rem 0 0;
}

.takesme-forum-form-block--editor {
  padding-bottom: .9rem;
}

.takesme-forum-form-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .9rem;
  flex-wrap: wrap;
}

.takesme-forum-form-tip {
  color: var(--takesme-muted);
  font-size: .92rem;
  font-weight: 600;
}

.takesme-forum-form--modern .takesme-forum-wysiwyg-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.takesme-forum-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(4,126,153,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,252,252,.9));
}

.takesme-forum-form-actions__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .85rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.takesme-forum-form-actions__right p {
  margin: 0;
}

.takesme-forum-form-actions .wp-element-button {
  width: auto;
  min-height: 48px;
  padding-inline: 1.2rem;
  box-shadow: 0 14px 30px rgba(5,152,186,.2);
}

@media (max-width: 860px) {
  .takesme-forum-form-block__head,
  .takesme-forum-form-actions,
  .takesme-forum-form-actions__right {
    flex-direction: column;
    align-items: flex-start;
  }

  .takesme-forum-form-actions__right {
    margin-left: 0;
    width: 100%;
  }
}


/* v36.5.25 forum single polish */
.takesme-forum-layout--single {
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .78fr);
}

.takesme-thread-shell--single {
  padding: 1.45rem;
  border: 1px solid rgba(4, 126, 153, .14);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,254,254,.98));
}

.single-ts_forum_topic .takesme-thread-shell--single .wp-block-post-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.takesme-thread-featured-photo {
  margin: 0 0 1rem;
}

.takesme-thread-featured-photo img,
.takesme-thread-uploaded-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(4, 126, 153, .12);
}

.takesme-thread-question-box {
  margin-top: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  border: 1px solid rgba(4, 126, 153, .14);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 14px 34px rgba(17,17,17,.04);
}

.single-ts_forum_topic .takesme-thread-question-box p,
.single-ts_forum_topic .takesme-thread-question-box li {
  font-size: 1.344rem;
  line-height: 2.28;
}

.single-ts_forum_topic .takesme-thread-question-box h2,
.single-ts_forum_topic .takesme-thread-question-box h3 {
  line-height: 1.35;
}

.takesme-forum-single-aside {
  position: sticky;
  top: 5.4rem;
  align-self: start;
}

.takesme-forum-sidebar-panel,
.takesme-forum-author-card {
  padding: 1.1rem;
}

.takesme-forum-author-card {
  margin-top: 1rem;
}

.takesme-forum-form-block--upload input[type="file"] {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(4, 126, 153, .22);
  background: rgba(5, 152, 186, .04);
}

.takesme-forum-form-block--upload input[type="file"]:focus {
  outline: 0;
  border-color: #4FCFCF;
  box-shadow: 0 0 0 4px rgba(5,152,186,.12);
}

@media (max-width: 980px) {
  .takesme-forum-layout--single {
    grid-template-columns: 1fr;
  }

  .takesme-forum-single-aside {
    position: static;
    top: auto;
  }

  .single-ts_forum_topic .takesme-thread-question-box p,
  .single-ts_forum_topic .takesme-thread-question-box li {
    font-size: 1.12rem;
    line-height: 1.95;
  }
}


/* v36.5.26 forum sidebar + tags */
.takesme-forum-directory__sidebar,
.takesme-forum-single-aside {
  position: sticky;
  top: 5.4rem;
  align-self: start;
}

.takesme-forum-sidebar-panel--accordion {
  padding: 1rem;
}

.takesme-forum-sidebar-top {
  display: grid;
  gap: .55rem;
  margin-bottom: .8rem;
}

.takesme-forum-sidebar-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .6rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(4,126,153,.14);
  background: #fff;
  color: var(--takesme-primary-deep);
  text-decoration: none;
  font-weight: 700;
}

.takesme-forum-sidebar-all.is-active {
  background: var(--takesme-primary-deep);
  color: #fff;
  border-color: var(--takesme-primary-deep);
}

.takesme-forum-section-list--accordion {
  gap: .75rem;
}

.takesme-forum-accordion {
  border: 1px solid rgba(4,126,153,.12);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.takesme-forum-accordion[open],
.takesme-forum-accordion.is-active {
  border-color: rgba(4,126,153,.22);
  box-shadow: 0 14px 30px rgba(4,126,153,.08);
}

.takesme-forum-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: .18rem;
  padding: .95rem 1rem;
  background: linear-gradient(135deg, rgba(4,126,153,.08), rgba(5,152,186,.14));
}

.takesme-forum-accordion__summary::-webkit-details-marker {
  display: none;
}

.takesme-forum-accordion__title {
  color: #0f2f2f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.takesme-forum-accordion__meta {
  color: var(--takesme-muted);
  font-size: .84rem;
  font-weight: 600;
}

.takesme-forum-accordion__panel {
  display: grid;
  gap: .45rem;
  padding: .85rem 1rem 1rem;
  background: #fff;
}

.takesme-forum-subtag--theme {
  background: rgba(5,152,186,.09);
}

.takesme-forum-page .takesme-forum-composer-panel {
  max-width: 980px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(4,126,153,.18);
  box-shadow: 0 18px 46px rgba(4,126,153,.07);
}

.takesme-forum-page .takesme-forum-composer-panel iframe {
  min-height: 110px !important;
}

.takesme-forum-page .takesme-forum-composer-panel textarea.wp-editor-area,
.takesme-forum-page .takesme-forum-composer-panel textarea#takesme_topic_content {
  min-height: 110px;
}

.takesme-forum-form--modern {
  max-width: 920px;
}

.takesme-forum-form-block--editor {
  border: 2px solid rgba(4,126,153,.14);
  box-shadow: 0 12px 28px rgba(4,126,153,.06);
}

.takesme-forum-form-block--tag-hint {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,252,252,.92));
}

.takesme-forum-common-tags {
  display: grid;
  gap: .7rem;
}

.takesme-forum-common-tags__lead {
  margin: 0;
}

.takesme-forum-common-tags__list,
.takesme-forum-question-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.takesme-forum-tag--suggested,
.takesme-forum-tag--topic-tag {
  text-decoration: none;
}

.takesme-forum-question-tags {
  margin: 0 0 .55rem;
}

.takesme-forum-tag--topic-tag {
  background: rgba(5,152,186,.08);
  border: 1px solid rgba(4,126,153,.12);
}

.takesme-forum-layout--single {
  grid-template-columns: 292px minmax(0, 1fr);
}

.takesme-thread-shell--related {
  margin-top: 1rem;
  padding: 1.2rem;
}

.takesme-related-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-related-article-card {
  overflow: hidden;
  padding: 0;
}

.takesme-related-article-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.takesme-related-article-card__body {
  padding: 1rem;
}

.takesme-related-article-card__body h3 {
  margin: .55rem 0 .45rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.takesme-related-article-card__body h3 a {
  color: #111;
  text-decoration: none;
}

.takesme-related-article-card__body p {
  margin: 0;
  color: #364747;
  line-height: 1.6;
}

.takesme-allowed-tags-grid {
  display: grid;
  gap: .35rem;
  max-height: 340px;
  overflow: auto;
  padding-right: .2rem;
}

.takesme-allowed-tag-option {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  padding: .3rem 0;
}

@media (max-width: 980px) {
  .takesme-related-article-grid,
  .takesme-forum-layout--single,
  .takesme-forum-directory {
    grid-template-columns: 1fr;
  }

  .takesme-forum-directory__sidebar,
  .takesme-forum-single-aside {
    position: static;
    top: auto;
  }
}

/* v36.5.27 forum left rail + compact composer */
.takesme-forum-directory--full-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 1.35rem;
}

.takesme-forum-directory--full-layout .takesme-forum-directory__content {
  min-width: 0;
}

.takesme-forum-topbar--compact {
  margin-bottom: .9rem;
}

.takesme-forum-directory--full-layout .takesme-forum-composer-panel {
  max-width: 820px;
  margin-bottom: 1.15rem;
}

.takesme-forum-directory--full-layout .takesme-forum-form--modern {
  max-width: 760px;
}

.takesme-forum-directory--full-layout .takesme-forum-form-block--editor {
  border: 2px solid rgba(4,126,153,.18);
  box-shadow: 0 18px 38px rgba(4,126,153,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(243,252,252,.96));
}

.takesme-forum-directory--full-layout .takesme-forum-wysiwyg-wrap {
  border: 1px solid rgba(4,126,153,.14);
  border-radius: 18px;
  padding: .45rem;
  background: #fff;
}

.takesme-forum-directory--full-layout .takesme-forum-composer-panel iframe {
  min-height: 96px !important;
}

.takesme-forum-directory--full-layout textarea.wp-editor-area,
.takesme-forum-directory--full-layout textarea#takesme_topic_content {
  min-height: 96px;
}

.takesme-forum-directory__sidebar,
.takesme-forum-single-aside {
  width: 100%;
}

.takesme-forum-sidebar-panel {
  border: 1px solid rgba(4,126,153,.16);
  box-shadow: 0 16px 36px rgba(4,126,153,.07);
}

@media (max-width: 1100px) {
  .takesme-forum-directory--full-layout,
  .takesme-forum-layout--single {
    grid-template-columns: 1fr;
  }

  .takesme-forum-directory--full-layout .takesme-forum-composer-panel,
  .takesme-forum-directory--full-layout .takesme-forum-form--modern {
    max-width: none;
  }
}


/* v36.5.28 forum sidebar width rollback */
.takesme-forum-layout--single,
.takesme-forum-directory--full-layout {
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 1rem;
}

.takesme-forum-directory__sidebar,
.takesme-forum-single-aside {
  width: 258px;
  max-width: 258px;
  justify-self: start;
}

.takesme-forum-sidebar-panel,
.takesme-forum-sidebar-panel--accordion {
  padding: .8rem;
}

.takesme-forum-sidebar-top {
  gap: .45rem;
  margin-bottom: .65rem;
}

.takesme-forum-sidebar-all {
  min-height: 36px;
  padding: .48rem .72rem;
  font-size: .9rem;
  border-radius: 12px;
}

.takesme-forum-section-list--accordion {
  gap: .55rem;
}

.takesme-forum-accordion {
  border-radius: 14px;
}

.takesme-forum-accordion__summary {
  gap: .12rem;
  padding: .72rem .82rem;
}

.takesme-forum-accordion__title {
  font-size: .94rem;
}

.takesme-forum-accordion__meta {
  font-size: .76rem;
}

.takesme-forum-accordion__panel {
  gap: .36rem;
  padding: .68rem .82rem .82rem;
}

@media (max-width: 1100px) {
  .takesme-forum-directory__sidebar,
  .takesme-forum-single-aside {
    width: 100%;
    max-width: none;
  }
}


/* v36.5.29 forum overlap fix */
.single-ts_forum_topic .takesme-forum-layout--single {
  display: grid !important;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column {
  margin: 0 !important;
  min-width: 0;
  width: auto !important;
  flex: 0 0 auto !important;
}

.single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column:last-child {
  flex: 1 1 auto !important;
}

.single-ts_forum_topic .takesme-forum-single-aside {
  position: sticky;
  top: 5.4rem;
  width: 258px;
  max-width: 258px;
  justify-self: start;
  z-index: 1;
}

.single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column:not(.takesme-forum-single-aside) {
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .single-ts_forum_topic .takesme-forum-layout--single {
    grid-template-columns: 1fr;
  }

  .single-ts_forum_topic .takesme-forum-single-aside,
  .single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
  }
}


/* v36.5.30 forum sidebar track sizing fix */
.takesme-forum-directory,
.takesme-forum-directory--full-layout,
.single-ts_forum_topic .takesme-forum-layout--single {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  align-items: start;
}

.takesme-forum-directory__sidebar,
.takesme-forum-single-aside,
.single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column,
.single-ts_forum_topic .takesme-forum-layout--single > .wp-block-column:last-child {
  min-width: 0;
  box-sizing: border-box;
}

.takesme-forum-directory__sidebar,
.takesme-forum-single-aside {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
}

.takesme-forum-sidebar-panel,
.takesme-forum-sidebar-panel--accordion,
.takesme-forum-directory__content,
.takesme-thread-shell--single,
.takesme-forum-composer-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.single-ts_forum_topic .takesme-forum-single-aside {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .takesme-forum-directory,
  .takesme-forum-directory--full-layout,
  .single-ts_forum_topic .takesme-forum-layout--single {
    grid-template-columns: 1fr;
  }
}


/* v36.5.31 forum card taxonomy smaller + topic reactions + club latest */
.takesme-forum-thread-card .takesme-forum-tag,
.takesme-forum-thread-card .takesme-forum-tag--strong,
.takesme-forum-thread-card .takesme-forum-question-tags .takesme-forum-tag {
  font-size: .5rem;
  padding: .22rem .5rem;
  border-radius: 999px;
  letter-spacing: .01em;
}

.takesme-forum-thread-card .takesme-forum-question-taxonomy {
  gap: .32rem;
  margin-bottom: .35rem;
}

.takesme-topic-reaction-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(4,126,153,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,252,252,.92));
}

.takesme-topic-reaction-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: .45rem 0 .2rem;
}

.takesme-reaction-form--topic {
  margin: 0;
}

.takesme-club-latest-articles {
  margin-top: 1.1rem;
}

.takesme-related-article-grid--club {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.takesme-taxonomy-pill--article {
  text-decoration: none;
}

@media (max-width: 980px) {
  .takesme-related-article-grid--club {
    grid-template-columns: 1fr;
  }

  .takesme-forum-thread-card .takesme-forum-tag,
  .takesme-forum-thread-card .takesme-forum-tag--strong,
  .takesme-forum-thread-card .takesme-forum-question-tags .takesme-forum-tag {
    font-size: .58rem;
  }
}

/* v36.5.38 community nav + latest articles + tags */
.takesme-community-subnav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 .95rem;
}

.takesme-community-subnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  min-height: 92px;
  padding: .9rem .8rem;
  border-radius: 22px;
  font-size: .96rem;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
}

.takesme-community-subnav__icon {
  font-size: 1.2rem;
}

.takesme-community-subnav__label {
  display: block;
}

.takesme-forum-common-tags {
  gap: .56rem;
}

.takesme-forum-common-tags__lead {
  font-size: .7rem;
  line-height: 1.15;
}

.takesme-forum-common-tags .takesme-forum-tag,
.takesme-forum-common-tags .takesme-forum-tag--suggested {
  font-size: .64rem;
  line-height: 1.1;
  padding: .26rem .54rem;
}

.takesme-related-article-grid--club {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
}

.takesme-related-article-card--compact {
  overflow: hidden;
}

.takesme-related-article-card--compact .takesme-related-article-card__thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.takesme-related-article-card--compact .takesme-related-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.takesme-related-article-card__body--compact {
  padding: .75rem .85rem .9rem;
}

.takesme-related-article-card__body--compact h3 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.28;
}

@media (max-width: 980px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .takesme-related-article-grid--club {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .takesme-related-article-grid--club,
  .takesme-community-subnav {
    grid-template-columns: 1fr;
  }
}


/* v36.5.43 community nav full width + stacked sidebars */
.takesme-community-subnav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
  gap: .55rem;
  margin: 0 0 1rem;
}

.takesme-community-subnav__item {
  min-height: 64px;
  padding: .58rem .5rem;
  border-radius: 18px;
  font-size: .68rem;
  gap: .22rem;
}

.takesme-community-subnav__icon {
  font-size: .95rem;
}

.takesme-score-grid--stacked {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.takesme-score-grid--stacked > .takesme-score-grid__aside {
  order: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.takesme-score-grid--stacked > .takesme-score-grid__aside .takesme-score-card {
  margin-top: 0 !important;
}

.takesme-score-grid--stacked > .takesme-score-grid__main {
  order: 2;
  min-width: 0;
}

@media (max-width: 1100px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .takesme-community-subnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .takesme-score-grid--stacked > .takesme-score-grid__aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .takesme-community-subnav {
    grid-template-columns: 1fr;
  }
}

.takesme-quiz-grid--single-column {
  grid-template-columns: 1fr;
}

.takesme-quiz-grid--single-column > * {
  min-width: 0;
}
