/* CMS adaptations of the existing reference pages. */
.fc-reference .cms-page-main{padding:0 0 var(--page-space)}
.fc-reference .fc-reference-shell{width:100%;max-width:none;margin-inline:0}
.fc-reference-shell>.page-intro{position:relative;overflow:hidden;width:100%;padding:var(--page-space) var(--page-gutter);min-height:clamp(440px,68dvh,900px);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 85% 45%,#43363033,transparent 55%)}
.fc-reference-shell>.page-intro h1{max-width:17em}
.service-page .service-hero::before,.service-page .service-hero::after{display:none}
.fc-reference-shell>.page-intro p:not(.eyebrow){max-width:42em;color:#aeb5bd}
.fc-reference-shell>section:not(.page-intro):not(.hub-hero):not(.contact-command-hero),.fc-reference-related,.fc-solutions{width:calc(100% - 2 * var(--page-gutter));margin-inline:auto}
.fc-reference .fc-solutions{padding-top:var(--page-space);scroll-margin-top:110px}
.fc-solutions>.page-intro{padding:0 0 40px;min-height:0;background:none}
.fc-solutions>.page-intro :is(h1,h2){font-size:var(--page-h2);max-width:22em;margin:0;line-height:1.3}
.fc-solutions>.page-intro h2 em{font-style:normal;color:var(--accent)}
.fc-solutions>.page-intro::before,.fc-solutions>.page-intro::after{display:none}
.fc-solutions .intro-proof{margin-top:30px}
.fc-solutions .solution-grid{margin-top:30px}
.fc-reference :is(.fc-brief,.fc-friendly-links){padding-top:var(--page-space);scroll-margin-top:110px}
.fc-friendly-links .friend-image-grid:empty{display:none}
.fc-friendly-links .friend-image:not(:has(img)){min-height:100px;display:grid;place-items:center;border:1px solid #40505b;background:#14202a}
.fc-friendly-links .links-intro h2{font-size:var(--page-h2);margin:0 0 20px}
.fc-friendly-links .links-intro p{color:#9aaeb9}
.fc-friendly-links .links-apply{margin-top:35px}
.fc-friendly-links .links-apply h2{font-size:var(--page-h3)}
.fc-friendly-links .links-apply p{font-size:var(--page-small)}
.fc-reference .contact-command-channel{overflow-wrap:anywhere}
.fc-reference .contact-command-channel>a{display:flex;margin-bottom:10px}
.fc-reference .fc-editor-content{padding-bottom:35px}
.fc-explorations{margin-top:var(--page-space);padding-top:40px;border-top:1px solid #34424d;scroll-margin-top:110px}
.fc-explorations .section-head{align-items:end;flex-wrap:wrap;gap:15px}
.fc-explorations .section-head h2{font-size:var(--page-h2)}
.fc-explorations-intro{margin:24px 0 35px;font-size:var(--page-text);color:#9daeb8;max-width:55em}
.fc-explorations .content-project-grid{padding-bottom:0}
.fc-explorations .content-card-meta{color:#cfa994;flex-wrap:wrap}
.fc-exploration-detail .content-detail-header{padding-top:25px}
.fc-exploration-detail .content-detail-header h1{font-size:var(--page-h1)}
.fc-exploration-detail .content-detail-layout{grid-template-columns:minmax(160px,.3fr) minmax(0,1fr);gap:clamp(25px,5vw,70px)}
.fc-exploration-detail .content-note{border-color:#dda88f;background:#251f21}
.fc-exploration-detail .content-detail-image img{aspect-ratio:auto;max-height:700px;object-fit:contain}
.fc-reading-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:clamp(30px,5vw,70px);margin-block:35px 55px}
.fc-reading-toc{position:sticky;top:120px;align-self:start;padding:20px 0;border-top:1px solid #394752}
.fc-reading-toc>p{font-size:12px;color:#d8b39d;margin:0 0 15px}
.fc-reading-toc nav{display:grid;gap:14px}
.fc-reading-toc a{font-size:13px;line-height:1.7;color:#a6b9c3}
.fc-reading-toc a:hover{color:#f1c3ac}
.fc-reading-layout .fc-article-content{margin:0!important;width:100%;max-width:none}
.fc-article-content :is(h2,h3){scroll-margin-top:120px}
.fc-news-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.4fr);gap:45px;align-items:end}
.fc-news-intro>p:last-child{font-size:var(--page-text)!important}
.fc-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;border:0}
.fc-news-row{grid-template-columns:100px minmax(0,1fr) 25px;gap:20px;padding:30px;border:1px solid #35434c;background:linear-gradient(135deg,#1b252c,#10171e)}
.fc-news-row:first-child{grid-column:1/-1;background:linear-gradient(120deg,#2c302d,#172028 60%)}
.fc-news-row:hover{background:#1c2931;border-color:#bd8c77}
.fc-comments{padding:clamp(20px,3vw,40px);margin-top:45px;border:1px solid #35434c;background:#111b24}
.fc-comments h4{margin:0 0 25px;font-size:22px;font-weight:500}
.fc-comments .form-group{margin-bottom:20px}
.fc-comments textarea,.fc-comments input,#reply .form-control{width:100%;padding:12px 15px;background:#0c131b;color:#e5edf2;border:1px solid #40525d;border-radius:2px;font:16px/1.7 sans-serif}
.fc-comments textarea{min-height:125px;resize:vertical}
.fc-comments .btn-submit,#reply .btn{padding:12px 20px;color:#f0c4ae;border:1px solid #a07d68;background:#2a2525;cursor:pointer}
#reply .modal-content{background:#15202b;color:#edf3f5;border:1px solid #40525d}
.fc-comments .media{padding-block:20px;border-bottom:1px solid #35434c}
.fc-reading-layout.fc-reading-without-toc{grid-template-columns:minmax(0,1fr)}
.fc-muted{color:#97a9b3}
.fc-comments>h2{margin:25px 0;font-size:22px;font-weight:500}
.fc-comments :is(label,h3),#reply label{display:block;margin:0 0 8px;font-size:15px;line-height:1.7}
.fc-comment-captcha-row{display:flex;gap:12px;align-items:center;max-width:440px}
.fc-comment-captcha-row input{min-width:0;flex:1}
[data-comment-captcha]{flex:0 0 130px;width:130px;height:44px;padding:0;border:1px solid #40525d;background:#fff;cursor:pointer}
[data-comment-captcha] img{display:block;width:100%;height:100%;object-fit:contain}
.fc-comments .replybtn,#reply .close{padding:6px 12px;border:1px solid #40525d;background:#1d2c37;color:#edf3f5;cursor:pointer}
.fc-comments .media{display:flex;gap:12px}.fc-comments .media-body{min-width:0;flex:1;overflow-wrap:anywhere}
.fc-comments .media small{color:#97a9b3;font-size:12px;font-weight:400}
.fc-comments button:disabled,#reply button:disabled{opacity:.5;cursor:wait}
#reply .form-group{margin-bottom:20px}#reply textarea{resize:vertical}
@media(max-width:400px){.fc-comment-captcha-row{flex-wrap:wrap}.fc-comment-captcha-row input{flex-basis:100%}}
@media(max-width:900px){.fc-reading-layout{grid-template-columns:1fr}.fc-reading-toc{position:static}.fc-reading-toc nav{display:flex;flex-wrap:wrap;gap:10px 20px}.fc-news-intro{display:block}.fc-news-list{grid-template-columns:1fr}}
@media(max-width:700px){.fc-reference-shell>.page-intro{min-height:430px}.fc-reference .fc-solutions{padding-top:45px}.fc-exploration-detail .content-detail-layout{display:block}.fc-exploration-detail .content-detail-layout aside{margin-bottom:30px}.fc-explorations .content-project-grid{grid-template-columns:1fr}.fc-solutions .intro-proof{grid-template-columns:1fr}.fc-reference .hub-service-tags span{max-width:100%;white-space:normal}.fc-news-intro>p:last-child{max-width:50em}.fc-friendly-links .links-apply{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.service-background-scene,.service-background-scene *{animation:none!important;transition:none!important}}
@media(max-width:600px){.fc-news-row{grid-template-columns:minmax(0,1fr) 20px;padding:24px 20px;gap:12px}.fc-news-row time{grid-column:1/-1}}
