/* Database blocks use normal flow; static geometry remains source-derived. */
.content-line { display: inline; }
.content-line + .content-line::before { content: " "; }
@media(min-width:1400px) {
 .content-line { display: block; }
 .content-line + .content-line::before { content: none; }
}
.round-btn[hidden], .stories__nav[hidden] { display: none !important; }
.site-rendered .stat, .site-rendered .story, .site-rendered .job-card { min-width: 0; overflow-wrap: anywhere; }
.site-rendered .stats { height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-rendered .stat { padding: 26px 25px 25px; }
.site-rendered .stat__value { margin: 0; font: 600 60px/64.2px Inter, sans-serif; }
.site-rendered .stat__label { margin: 15px 0 0; font: 400 18px/21.6px Inter, sans-serif; max-width: 283px; }
.site-rendered .stat:nth-child(3n+1) .stat__label { max-width: 247px; }

.site-rendered .job-card { height: auto; min-height: 92px; }
.site-rendered .job-card.is-open { height: auto; min-height: 288px; padding-bottom: 24px; }
.site-rendered .job-description { position: static; width: auto; max-width: none; margin: 0 28px 0 30px; white-space: normal; }
@media(min-width:1400px) {
 .site-rendered .job-description { position: absolute; top: 91px; left: 30px; margin: 0; }
}
.site-rendered .job-toggle { height: auto; min-height: 92px; text-align: left; overflow-wrap: anywhere; }
.site-rendered .job-logo img { max-width: 144px; max-height: 52px; object-fit: contain; }
.site-rendered .job-card[data-service="tenchat"] .job-logo img { width: 144px; height: 52px; }
.site-rendered .job-logo { flex: none; }
.site-error { margin: 15vh auto; max-width: 1120px; padding: 40px; font-family: Inter, sans-serif; color: #202022; background: #f4f6f8; border-radius: 20px; }

/* Story text is clipped by whole lines so the mock-up card geometry never changes: 13 lines is the tallest
   current text below 1400 (flowing card); 10 lines is what fits the fixed 315 px bubble above the button. */
.site-rendered .story__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 13; line-clamp: 13; overflow: hidden; }
.site-rendered .story__bubble button.btn { font-family: inherit; cursor: pointer; background: transparent; }
.site-rendered .story__bubble .btn[hidden] { display: none; }
@media(min-width:1400px) { .site-rendered .story__text { -webkit-line-clamp: 10; line-clamp: 10; } }

@media(min-width:1400px) {
 .site-rendered .stats { min-height: 175px; }
 .site-rendered .stories { min-height: 586px; height: 586px; }
 .site-rendered .story { width: 361px; }
 .site-rendered .story__bubble { position: relative; height: 315px; padding: 25px 10px 0 28px; box-sizing: border-box; }
 .site-rendered .story:nth-child(3n+2) .story__bubble { padding: 34px 14px 0 28px; }
 .site-rendered .story:nth-child(3n) .story__bubble { padding: 25.4631px 22px 0 28px; }
 .site-rendered .story__text { font: 500 16px/21px Inter, sans-serif; color: #4b4b4c; margin: 0; }
 .site-rendered .story__bubble .btn { position: absolute; left: 28px; top: 247.4631px; margin: 0; }
 
 .site-rendered .story__person { position: relative; margin-top: 35px; height: 126px; }
 .site-rendered .story__avatar { position: absolute; left: 0.544922px; top: 0.105225px; width: 75.8211px; height: 75.8211px; object-fit: contain; }
 .site-rendered .story:nth-child(3n+2) .story__avatar { left: 0px; }
 .site-rendered .story:nth-child(3n) .story__avatar { left: 0.72px; }

 .site-rendered .story__name { position: absolute; left: 98px; top: 1.46313px; width: 208px; margin: 0; font: 500 20px/26px Inter, sans-serif; color: #292929; }
 .site-rendered .story:nth-child(3n+2) .story__name { left: 93px; }
 .site-rendered .story:nth-child(3n) .story__name { left: 99px; }

 .site-rendered .story__role { position: absolute; left: 98px; top: 55px; width: 233px; margin: 0; font: 500 18px/23px Inter, sans-serif; color: #adadad; }
 .site-rendered .story:nth-child(3n+2) .story__role { left: 93px; width: 233px; }
 .site-rendered .story:nth-child(3n) .story__role { left: 99px; width: 261px; }

 .site-rendered.self-page main { height: auto; padding-top: 40px; padding-bottom: 120px; }
 .site-rendered.self-page main > .layout-section { position: relative; top: auto; }
 .site-rendered.self-page .hero-section { margin-top: 0; }
 .site-rendered.self-page [data-fig-node="why"], .site-rendered.self-page [data-fig-node="apply"], .site-rendered.self-page [data-fig-node="platforms"] { margin-top: 120px; }
 .site-rendered.self-page [data-fig-node="platforms"] { height: auto; min-height: 738px; padding-top: 226px; }
 .site-rendered.self-page .job-grid { position: static; width: 100%; }
}
@media(min-width:1024px) and (max-width:1399px) {
 .site-rendered .stat__value { font-size: clamp(46px,4.3vw,60px); }
}
@media(max-width:1023px) {
 .site-rendered .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .site-rendered .stat__value { font-size: 46px; line-height: 1.07; }
}
@media(max-width:640px) {
 .site-rendered .stats { grid-template-columns: 1fr; }
}
@media(min-width:1400px) {
 .site-rendered .stat:nth-child(3n+2) .stat__label { margin-top: 15.8px; }
 .site-rendered .stat:nth-child(3n) .stat__label { margin-left: 3px; }
}
