/* Only the collage-approved mentor page layout; shared links and watermarks stay untouched. */
#dxMentorPage .mentor-two-table .mentor-collage-table-group th{padding-top:32px;padding-bottom:12px;font-size:17px;font-weight:500!important;color:var(--mentor-ink,#1a1a1a)!important;-webkit-text-fill-color:currentColor!important;border-bottom:1px solid #ebebeb}
#dxMentorPage .mentor-collage-case-intro{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 28px;margin:0 0 24px}
#dxMentorPage .mentor-collage-case-intro>p{margin:0!important;font-size:17px!important;line-height:1.75!important}
#dxMentorPage .mentor-collage-case{display:block;width:100%;min-width:0;padding:24px 0;border-top:1px solid var(--dx-color-line,#ebebeb)}
#dxMentorPage .mentor-collage-case:last-child{padding-bottom:0}
#dxMentorPage .mentor-collage-case .mentor-collage-case-category{margin:0 0 16px!important;font-size:14px!important;color:var(--dx-color-text-muted,#707070)!important;line-height:1.65!important}
#dxMentorPage .mentor-collage-case h3{margin:0 0 20px!important;font-size:18px!important;font-weight:600!important;line-height:1.75!important;overflow-wrap:anywhere}
#dxMentorPage .mentor-collage-case>p:not(.mentor-collage-case-category){margin:0 0 8px!important;font-size:16px!important;line-height:1.75!important}
#dxMentorPage .mentor-collage-case>p:last-child{margin-bottom:0!important}
#dxMentorPage .mentor-collage-case .mentor-collage-case-label{font-weight:600!important}
#dxMentorPage .mentor-collage-title-tail{white-space:nowrap}
#dxMentorPage #mentor-about .mentor-collage-capability-entry{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0 0!important;text-align:center;font-size:17px!important;line-height:1.75!important}
#dxMentorPage #mentor-about .dx-mentor-profile-identity{align-self:start}
#dxMentorPage .mentor-collage-fixed-header{position:fixed;z-index:900;overflow:hidden;pointer-events:none;background:var(--mentor-paper,#fff);box-shadow:none;box-sizing:border-box}
#dxMentorPage .mentor-collage-fixed-header[hidden]{display:none!important}
#dxMentorPage .mentor-collage-fixed-header .mentor-two-table{margin:0!important;max-width:none!important;border-collapse:collapse;background:var(--mentor-paper,#fff)}
#dxMentorPage .mentor-collage-fixed-header th{background:var(--mentor-paper,#fff)}
@media(max-width:768px){
 #dxMentorPage .mentor-collage-case-intro{display:block;margin-bottom:20px}
 #dxMentorPage .mentor-collage-case-intro>p+p{margin-top:12px!important}
 #dxMentorPage .mentor-collage-case{padding-top:20px;padding-bottom:24px}
 #dxMentorPage .mentor-collage-case h3{margin-bottom:16px!important}
 #dxMentorPage #mentor-about .mentor-collage-capability-entry{margin:12px 0 24px!important;text-align:center}
 #dxMentorPage .mentor-two-table .mentor-collage-table-group th{padding-top:24px;padding-bottom:12px}
}

/* Scoped case titles: one inline background underline includes the arrow. */
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link{display:inline!important;width:auto!important;max-width:100%!important;color:var(--dx-color-text-title,#1a1a1a)!important;-webkit-text-fill-color:currentColor!important;font-size:18px!important;font-weight:600!important;font-variation-settings:normal!important;line-height:1.75!important;text-decoration:none!important;-webkit-text-decoration:none!important;background:none!important;background-image:none!important;transition:color .22s ease!important}
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link::before,#dxMentorPage #mentor-cases a.mentor-collage-case-article-link::after{content:none!important;display:none!important}
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link .mentor-collage-case-link-content{display:inline!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;font:inherit!important;white-space:normal!important;padding-bottom:0;background-image:linear-gradient(transparent,transparent)!important;background-size:100% 1px!important;background-repeat:no-repeat!important;background-position:left bottom!important;-webkit-box-decoration-break:clone;box-decoration-break:clone}
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link .mentor-collage-title-tail{color:inherit!important;-webkit-text-fill-color:currentColor!important;font:inherit!important;white-space:nowrap!important;text-decoration:none!important}
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link:is(:hover,:focus-visible){color:var(--dx-content-link-hover-color,#0066ff)!important;-webkit-text-fill-color:currentColor!important}
#dxMentorPage #mentor-cases a.mentor-collage-case-article-link:is(:hover,:focus-visible) .mentor-collage-case-link-content{background-image:linear-gradient(currentColor,currentColor)!important}
@media(prefers-reduced-motion:reduce){#dxMentorPage #mentor-cases a.mentor-collage-case-article-link{transition:none!important}}

/* Remove only the mentor feedback gallery's decorative image frame. */
#dxMentorPage #mentor-purchase .dx-testimonial-gallery__item--framed::after{display:none}

/* Price row label uses the same regular weight as other row labels. */
#dxMentorPage #mentor-plans .mentor-two-table>tbody>tr:first-child>th{font-weight:400!important}

/* Body emphasis only; headings retain their existing hierarchy. */
#dxMentorPage .dx-mentor-main .dx-mentor-section-panel :is(p,li,td) :is(strong,b),#dxMentorPage #mentor-plans .mentor-two-intro-heading{font-weight:600!important;font-variation-settings:normal!important}
#dxMentorPage .dx-mentor-main .dx-mentor-section-panel :is(p,li,td) :is(strong,b) sup{font-weight:600!important;font-variation-settings:normal!important}
/* Text slashes use spacing rather than literal spaces, including price units. */
#dxMentorPage .dx-mentor-main .dx-mentor-section-panel .mentor-collage-text-slash{display:inline-block;margin-inline:2px;color:#A6A6A6!important;-webkit-text-fill-color:#A6A6A6!important;letter-spacing:0}
#dxMentorPage #mentor-plans .mentor-two-price>span{margin-left:0}
/* Only the two table heading separators change color. */
#dxMentorPage .mentor-two-table thead th,#dxMentorPage .mentor-two-history-table thead th{border-bottom-color:#CCCCCC!important}

/* Lighter ordinary row separators; heading separators retain their own color. */
#dxMentorPage .mentor-two-table tbody :is(th,td),#dxMentorPage .mentor-two-history-table tbody :is(th,td){border-bottom-color:#F2F2F2!important}

/* This page's article entry reuses the existing public indicator appearance. */
#dxMentorPage #mentor-about .mentor-collage-capability-status{display:inline-flex;align-items:center;flex:0 0 auto;line-height:1}
#dxMentorPage #mentor-about .mentor-collage-capability-status>span{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;min-width:0;line-height:1;vertical-align:middle;box-sizing:border-box;padding:1px 3px 1px 4px;border:1px solid currentColor;border-radius:6px;background:transparent;color:var(--riix-access-public-icon,#FF4013)}
#dxMentorPage #mentor-about .mentor-collage-capability-status>span>span{color:currentColor;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap}
@media(max-width:768px){
 #dxMentorPage #mentor-about .mentor-collage-capability-status>span{padding:var(--dx-mobile-public-padding-top,1px) var(--dx-mobile-public-padding-right,2px) var(--dx-mobile-public-padding-bottom,1px) var(--dx-mobile-public-padding-left,3px)!important;border-radius:var(--dx-mobile-public-radius,5px)!important}
 #dxMentorPage #mentor-about .mentor-collage-capability-status>span>span{font-size:var(--dx-mobile-public-label-size,10px)!important}
}

/* Inline contact details are limited to the mentor application section. */
#dxMentorPage #mentor-apply .mentor-collage-application-layout{display:grid;grid-template-columns:minmax(0,var(--mentor-apply-left-width,240px)) minmax(0,1fr);column-gap:var(--mentor-apply-column-gap,40px);align-items:start;padding-top:var(--mentor-apply-padding-top,0);padding-bottom:var(--mentor-apply-padding-bottom,0)}
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat{display:block;min-width:0;margin:0}
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat>img{display:block;width:var(--mentor-apply-mobile-qr-size,160px)!important;max-width:100%!important;height:auto!important;margin:0!important;border:0!important}
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat>div{min-width:0;margin-top:var(--mentor-apply-caption-gap,10px)}
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat p{margin:0!important;font-size:14px!important;line-height:1.4!important;color:#7A7A7A!important;-webkit-text-fill-color:currentColor!important;overflow-wrap:anywhere}

/* Case badges reflect the linked article's effective public permission. */
#dxMentorPage #mentor-cases .mentor-collage-case-status{display:inline-flex;align-items:center;line-height:1;vertical-align:2px;margin-right:8px}
#dxMentorPage #mentor-cases .mentor-collage-case-status>span{display:inline-flex;align-items:center;justify-content:flex-start;gap:0;min-width:0;line-height:1;box-sizing:border-box;padding:1px 3px 1px 4px;border:1px solid currentColor;border-radius:6px;background:transparent;color:var(--riix-access-public-icon,#FF4013)}
#dxMentorPage #mentor-cases .mentor-collage-case-status>span>span{color:currentColor;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap}
@media(max-width:768px){
 #dxMentorPage #mentor-cases .mentor-collage-case-status>span{padding:var(--dx-mobile-public-padding-top,1px) var(--dx-mobile-public-padding-right,2px) var(--dx-mobile-public-padding-bottom,1px) var(--dx-mobile-public-padding-left,3px)!important;border-radius:var(--dx-mobile-public-radius,5px)!important}
 #dxMentorPage #mentor-cases .mentor-collage-case-status>span>span{font-size:var(--dx-mobile-public-label-size,10px)!important}
}

#dxMentorPage #mentor-apply .mentor-collage-application-copy{min-width:0;width:100%;max-width:var(--mentor-apply-right-width,100%)}
#dxMentorPage #mentor-apply .mentor-collage-application-copy p{margin:0!important;font-size:17px!important;line-height:1.75!important}
#dxMentorPage #mentor-apply .mentor-collage-application-copy p+p{margin-top:var(--mentor-apply-paragraph-gap,24px)!important}
@media(max-width:768px){#dxMentorPage #mentor-apply .mentor-collage-application-layout{grid-template-columns:minmax(0,1fr);row-gap:var(--mentor-apply-mobile-row-gap,28px)}}

@media(max-width:768px){
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat{text-align:center}
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat>img{margin:0 auto!important}
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat p{text-align:center!important}
}

/* Desktop application contact spacing only; mobile keeps its existing layout. */
@media(min-width:769px){
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat{text-align:center}
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat>img{width:var(--mentor-apply-qr-size,200px)!important;margin:0 auto!important}
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat p{text-align:center!important}
}

/* Finalized page-specific price typography. */
#dxMentorPage #mentor-plans .mentor-two-price{font-weight:400!important}
#dxMentorPage .mentor-collage-currency{display:inline-block;margin-right:2px;letter-spacing:0}
@media(max-width:768px){
 #dxMentorPage #mentor-apply .mentor-collage-application-copy{max-width:100%}
}

/* Right copy top offset is independent of the QR column and mobile stack. */
@media(min-width:769px){#dxMentorPage #mentor-apply .mentor-collage-application-copy{margin-top:var(--mentor-apply-copy-top,0px)}}

/* Only the application QR caption and account label use these requested sizes. */
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat p.mentor-apply-wechat-caption{font-size:12px!important}
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat p.mentor-apply-wechat-id{font-size:12px!important;margin-top:0px!important}

/* The QR caption follows the image's existing load/decode fade state. */
#dxMentorPage #mentor-apply .mentor-collage-direct-wechat>div{opacity:1;transition:opacity var(--dx-image-load-fade-duration,520ms) var(--dx-motion-easing,cubic-bezier(.2,.8,.2,1))}
html.dx-image-fade #dxMentorPage #mentor-apply .mentor-collage-direct-wechat>img:not(.dx-image-fade-loaded):not(.dx-image-fade-error):not(.dx-image-fade-skip)+div{opacity:0}
@media(prefers-reduced-motion:reduce){#dxMentorPage #mentor-apply .mentor-collage-direct-wechat>div{transition:none}}

/* Mobile mentor version marks: lower the two 4.0 labels and section version range. */
@media(max-width:620px){
  body.page-id-23002 .dx-breadcrumb-current .dx-mentor-version-mark{
    top:calc(.08em + 2px)!important;
  }
  #dxMentorPage .dx-mentor-hero .dx-article-title .dx-mentor-version-mark{
    top:calc(.32em + 2px)!important;
  }
  #dxMentorPage .dx-mentor-section-title .dx-mentor-service-name sup{
    top:calc(.08em + 2px)!important;
  }
}

/* Mentor mobile refinement: keep both complete tables within the viewport. */
@media(max-width:768px){
 #dxMentorPage .mentor-two-table-wrap{overflow-x:visible}
 #dxMentorPage .mentor-two-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed}
 #dxMentorPage .mentor-two-table col:nth-child(1){width:24%}
 #dxMentorPage .mentor-two-table col:nth-child(2),#dxMentorPage .mentor-two-table col:nth-child(3){width:38%}
 #dxMentorPage .mentor-two-table :is(th,td),#dxMentorPage .mentor-two-history-table :is(th,td){height:auto!important;padding:9px 6px!important;font-size:14px!important;line-height:1.55!important;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
 #dxMentorPage .mentor-two-table tr>:first-child,#dxMentorPage .mentor-two-history-table tr>:first-child{padding-left:0!important}
 #dxMentorPage .mentor-two-table tr>:last-child,#dxMentorPage .mentor-two-history-table tr>:last-child{padding-right:0!important}
 #dxMentorPage .mentor-two-table .mentor-two-plan-name,#dxMentorPage .mentor-two-table .mentor-two-price,#dxMentorPage .mentor-two-table .mentor-two-price span{font-size:14px!important;line-height:1.55!important}
 #dxMentorPage .mentor-two-history-table th:first-child{width:36%;white-space:nowrap;overflow-wrap:normal}
 #dxMentorPage #mentor-process .mentor-two-process-image{width:100vw!important;max-width:none!important;margin:24px calc(50% - 50vw)!important;padding:0!important}
 #dxMentorPage #mentor-process .mentor-two-process-image img{width:100%!important;max-width:none!important;height:auto!important;margin:0!important}
 #dxMentorPage #mentor-cases .mentor-collage-case h3,#dxMentorPage #mentor-cases a.mentor-collage-case-article-link{line-height:1.45!important}
 #dxMentorPage #mentor-apply .mentor-collage-direct-wechat>img{width:160px!important}
}
/* These two agreement headings use the same size as body copy. */
#dxMentorPage #mentor-handbook h2.mentor-agreement-service-heading{font-size:17px!important;font-weight:600!important;font-variation-settings:normal!important}

/* Pending annual entitlements use the same light grey as unavailable entries. */
#dxMentorPage #mentor-plans .mentor-two-table .mentor-two-pending{color:#B8B8B8!important;-webkit-text-fill-color:currentColor!important}

/* Slower mobile section motion; desktop and reduced-motion behavior stay intact. */
@media(max-width:760px){
 #dxMentorPage{--dx-service-accordion-duration:520}
 #dxMentorPage .dx-mentor-section-summary::before,#dxMentorPage .dx-mentor-section-summary::after{transition-duration:.42s,.36s}
}

/* Center only the pending annual cells and the history table's date cells. */
#dxMentorPage #mentor-plans .mentor-two-table td:has(>.mentor-two-pending){vertical-align:middle!important}
#dxMentorPage #mentor-price-history .mentor-two-history-table tbody th:first-child{vertical-align:middle!important}

/* The plan descriptions now follow their comparison table. */
#dxMentorPage #mentor-plans .mentor-two-table-wrap + .mentor-two-plans-intro{margin-top:24px!important}
/* First content items use the panel padding, without an extra mobile top margin. */
@media(max-width:768px){
 #dxMentorPage .dx-mentor-main > .dx-mentor-section > .dx-mentor-section-panel > :first-child{margin-top:0!important}
}

/* Agreement service labels retain their requested body size with semantic H3 tags. */
#dxMentorPage #mentor-handbook h3.mentor-agreement-service-heading{font-size:17px!important;font-weight:600!important;font-variation-settings:normal!important}

/* Service introductions are ordinary paragraphs below the table. */
#dxMentorPage #mentor-plans .mentor-two-plans-intro>p{margin:0!important}
#dxMentorPage #mentor-plans .mentor-two-plans-intro>p+p{margin-top:var(--dx-space-paragraph,26px)!important}

/* Tighten only the two table sections; preserve all other accordion spacing. */
#dxMentorPage :is(#mentor-plans,#mentor-price-history)>.dx-mentor-section-panel{padding-top:5px}
@media(max-width:768px){#dxMentorPage :is(#mentor-plans,#mentor-price-history)>.dx-mentor-section-panel{padding-top:0}}

/* Keep agreement authorization and its click counter before the toggle. */
#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden])){grid-template-columns:28px minmax(0,1fr) max-content auto 28px!important}
#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))>.riix-service-title-stat{grid-column:4}
#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))::before,#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))::after{grid-column:5!important}
@media(max-width:620px){#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden])){grid-template-columns:28px minmax(0,1fr) max-content auto 24px!important}}

/* Keep mobile headings readable while the page total identifies each metric. */
@media(max-width:768px){#dxMentorPage .dx-mentor-section-summary .riix-mentor-stat-kind{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}

/* Keep the authorized agreement title complete when owner statistics are visible. */
@media(max-width:768px){
 #dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden])){grid-template-columns:28px minmax(0,1fr) auto 24px!important}
 #dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))>.riix-service-title-stat{grid-column:3}
 #dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))>.mentor-two-agreement-status{grid-column:2;grid-row:2;justify-self:start}
 #dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))::before,#dxMentorPage #mentor-handbook>.dx-mentor-section-summary:has(>.riix-service-title-stat>[data-riix-stat]:not([hidden]))::after{grid-column:4!important}
}

/* One closing divider for application, also when the authorized agreement follows. */
#dxMentorPage #mentor-apply{position:relative;border-bottom:0!important}
#dxMentorPage #mentor-apply::after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:1px;background:var(--dx-color-line,#EBEBEB);pointer-events:none}
#dxMentorPage #mentor-apply+#mentor-handbook{border-top:0!important}
#dxMentorPage #mentor-apply+#mentor-handbook::before{content:none!important}
