/* AXYVERAX 1.10.0 — standalone related stories and reader comments. */
.axv2-page .axvex-related,
.axv2-page .axvex-comments{
  --axvex-accent:var(--axv2-accent,var(--tjx-accent,#bc59d8));
  --axvex-ink:#16243b;
  --axvex-muted:#60728b;
  --axvex-line:#dfe6f2;
  --axvex-surface:#ffffff;
  --axvex-faint:#f5f7fd;
  box-sizing:border-box;
  width:100%;min-width:0;max-width:100%;
  margin:30px 0 0;
  padding:clamp(20px,2.2vw,28px);
  border:1px solid var(--axvex-line);
  border-radius:22px;
  background:var(--axvex-surface);
  box-shadow:0 8px 35px rgba(26,44,78,.05);
  color:var(--axvex-ink);
  overflow:visible;
}
.axv2-page .axvex-related *, .axv2-page .axvex-comments * {box-sizing:border-box;}
.axv2-page .axvex-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:0 0 20px; padding:0 0 16px;
  border:0;border-bottom:1px solid var(--axvex-line);
  background:transparent;
}
.axv2-page .axvex-section-head__copy{min-width:0;display:grid;gap:6px;}
.axv2-page .axvex-kicker{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--axvex-accent);text-transform:uppercase}
.axv2-page .axvex-kicker::before{content:"";width:17px;height:3px;border-radius:20px;background:var(--axvex-accent);}
.axv2-page .axvex-section-head h2{
  margin:0;padding:0;border:0;box-shadow:none;background:transparent;
  color:var(--axvex-ink);font-size:clamp(22px,2vw,29px);font-weight:850;line-height:1.2;letter-spacing:-.03em;
}
.axv2-page .axvex-section-head__link{
  display:inline-flex;align-items:center;gap:8px;flex-shrink:0;
  border:1px solid var(--axvex-line);border-radius:999px;
  padding:9px 13px;background:var(--axvex-faint);font-size:12px;font-weight:750;
  text-decoration:none;color:var(--axvex-ink);
}
.axv2-page .axvex-section-head__link:hover{color:var(--axvex-accent);border-color:var(--axvex-accent);}

/* Controlled intrinsic card sizes — no related-item legacy width or flex basis. */
.axv2-page .axvex-related-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;width:100%;min-width:0;
}
.axv2-page .axvex-story{
  display:flex;flex-direction:column;min-width:0;width:auto;max-width:none;margin:0;padding:0;
  overflow:hidden;border:1px solid var(--axvex-line);border-radius:17px;background:var(--axvex-surface);
  box-shadow:0 6px 18px rgba(19,35,62,.03);transition:transform .2s ease,box-shadow .2s ease;
}
.axv2-page .axvex-story:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(22,38,64,.09);}
.axv2-page .axvex-story__media{
  display:block;position:relative;width:100%;height:auto;aspect-ratio:16/10;
  overflow:hidden;flex:none;margin:0;padding:0;background:#e8eff6;text-decoration:none;
}
.axv2-page .axvex-story__media img{display:block;width:100%;height:100%;object-fit:cover;max-width:100%;transition:transform .3s ease;}
.axv2-page .axvex-story:hover .axvex-story__media img{transform:scale(1.04);}
.axv2-page .axvex-story__content{display:flex;flex:1;min-width:0;flex-direction:column;gap:10px;padding:14px 15px 16px;}
.axv2-page .axvex-story__category{align-self:flex-start;padding:5px 9px;border:1px solid color-mix(in srgb,var(--axvex-accent) 22%, transparent);border-radius:7px;background:color-mix(in srgb,var(--axvex-accent) 9%, #fff);color:var(--axvex-accent);font-size:10px;letter-spacing:.025em;font-weight:850;line-height:1.3;}
.axv2-page .axvex-story__title{margin:0;padding:0;border:0;background:transparent;min-width:0;max-width:100%;font-size:clamp(15px,1.1vw,18px);font-weight:800;line-height:1.38;letter-spacing:-.015em;word-break:normal;overflow-wrap:break-word;writing-mode:horizontal-tb;}
.axv2-page .axvex-story__title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;color:var(--axvex-ink);text-decoration:none!important;word-break:normal!important;overflow-wrap:break-word!important;}
.axv2-page .axvex-story__title a:hover{color:var(--axvex-accent);}
.axv2-page .axvex-story__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;color:var(--axvex-muted);font-size:12px;line-height:1.4;}
.axv2-page .axvex-story__arrow{color:var(--axvex-accent);font-weight:900;font-size:16px;}

/* Separate comments module: no jet-comment-form / old comments.php classes. */
.axv2-page .axvex-comments__count{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:var(--axvex-faint);font-size:12px;font-weight:700;color:var(--axvex-muted);white-space:nowrap;}
.axv2-page .axvex-comments__list{display:grid;gap:14px;margin:0 0 20px;padding:0;list-style:none;}
.axv2-page .axvex-comment{display:block;margin:0;padding:0;list-style:none;}
.axv2-page .axvex-comment__surface{display:flex;gap:12px;min-width:0;padding:15px;border:1px solid var(--axvex-line);border-radius:14px;background:var(--axvex-faint);}
.axv2-page .axvex-comment__avatar{flex:0 0 50px;width:50px;}
.axv2-page .axvex-comment__avatar img{display:block;width:50px;height:50px;border-radius:50%;object-fit:cover;}
.axv2-page .axvex-comment__body{min-width:0;flex:1;}
.axv2-page .axvex-comment__head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 8px;}
.axv2-page .axvex-comment__author a,.axv2-page .axvex-comment__author{color:var(--axvex-ink);font-size:14px;font-weight:800;text-decoration:none;}
.axv2-page .axvex-comment__date{font-size:12px;color:var(--axvex-muted);text-decoration:none;}
.axv2-page .axvex-comment__text{color:var(--axvex-ink);font-size:14px;line-height:1.7;overflow-wrap:break-word;}
.axv2-page .axvex-comment__text p{margin:0 0 8px;}
.axv2-page .axvex-comment__text p:last-child{margin:0;}
.axv2-page .axvex-comment__pending{margin:0 0 10px;font-size:12px;font-weight:700;color:var(--axvex-accent);}
.axv2-page .axvex-comment__actions{display:flex;align-items:center;gap:12px;margin-top:12px;}
.axv2-page .axvex-comment__actions a{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid var(--axvex-line);border-radius:9px;background:var(--axvex-surface);color:var(--axvex-ink);font-size:12px;font-weight:750;text-decoration:none;}
.axv2-page .axvex-comments__list .children{list-style:none;display:grid;gap:10px;margin:12px 0 0 20px;padding:0 0 0 14px;border-left:2px solid var(--axvex-line);}
.axv2-page .axvex-comments__closed{color:var(--axvex-muted);font-size:14px;}
.axv2-page .axvex-reply{margin-top:4px;padding:0;}
.axv2-page .axvex-reply__title,
.axv2-page .axvex-comments #reply-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 9px;padding:0;border:0;background:transparent;color:var(--axvex-ink);font-size:19px;font-weight:800;line-height:1.4;letter-spacing:-.015em;}
.axv2-page .axvex-reply__title::before{content:"";width:4px;height:18px;border-radius:5px;background:var(--axvex-accent);}
.axv2-page .axvex-reply__cancel a{font-size:12px;color:var(--axvex-accent);text-decoration:none;}
.axv2-page .axvex-form__intro{margin:0 0 18px;color:var(--axvex-muted);font-size:13px;line-height:1.7;}
.axv2-page .axvex-form__intro a{color:var(--axvex-accent);font-weight:700;}
.axv2-page .axvex-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px;align-items:start;margin:0;}
.axv2-page .axvex-form__message{grid-column:1/-1;display:grid;gap:6px;margin:0;}
.axv2-page .axvex-form__field{display:grid;gap:6px;min-width:0;margin:0;}
.axv2-page .axvex-form label{display:block;color:var(--axvex-ink);font-size:13px;font-weight:750;line-height:1.45;}
.axv2-page .axvex-form label span{color:var(--axvex-accent);}
.axv2-page .axvex-form :is(input[type=text],input[type=email],input[type=url],textarea){display:block;box-sizing:border-box;min-width:0;width:100%;max-width:100%;min-height:45px;margin:0;padding:11px 13px;border:1px solid var(--axvex-line);border-radius:11px;background:var(--axvex-faint);box-shadow:none;outline:none;color:var(--axvex-ink);font:inherit;font-size:14px;line-height:1.55;}
.axv2-page .axvex-form :is(input[type=text],input[type=email],input[type=url],textarea):focus{border-color:var(--axvex-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--axvex-accent) 15%,transparent);}
.axv2-page .axvex-form textarea{min-height:130px;height:auto;resize:vertical;}
.axv2-page .axvex-form__consent{grid-column:1/-1;display:flex;gap:9px;align-items:flex-start;margin:0;color:var(--axvex-muted);}
.axv2-page .axvex-form__consent input{width:16px;height:16px;flex:0 0 16px;margin:3px 0 0;accent-color:var(--axvex-accent);}
.axv2-page .axvex-form__consent label{font-weight:500;color:var(--axvex-muted);font-size:12px;line-height:1.6;}
.axv2-page .axvex-form__action{grid-column:1/-1;margin:3px 0 0;}
.axv2-page .axvex-form__submit{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:45px;margin:0;padding:11px 17px;border:0;border-radius:11px;background:var(--axvex-accent);color:#fff;font:inherit;font-size:13px;font-weight:850;line-height:1.2;cursor:pointer;}
.axv2-page .axvex-form__submit:hover{filter:brightness(.93);}
.axv2-page .axvex-related :is(a,button,input,textarea):focus-visible,
.axv2-page .axvex-comments :is(a,button,input,textarea):focus-visible{outline:3px solid var(--axvex-accent);outline-offset:3px;}

@media(max-width:900px){.axv2-page .axvex-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){
  .axv2-page .axvex-related,.axv2-page .axvex-comments{padding:17px;border-radius:17px;}
  .axv2-page .axvex-related-grid{grid-template-columns:minmax(0,1fr);gap:12px;}
  .axv2-page .axvex-section-head{flex-wrap:wrap;align-items:start;}
  .axv2-page .axvex-form{grid-template-columns:minmax(0,1fr);}
  .axv2-page .axvex-comment__avatar{flex-basis:40px;width:40px;}
  .axv2-page .axvex-comment__avatar img{width:40px;height:40px;}
}
body.axv2-interior.dark-theme .axv2-page .axvex-related,
body.axv2-interior.dark-theme .axv2-page .axvex-comments{
  --axvex-ink:#f6f8ff;--axvex-muted:#b4c3dc;--axvex-line:#33435c;--axvex-surface:#19283d;--axvex-faint:#20334d;
  box-shadow:none;
}
