/* Reusable RTM article template: semantic blocks and native rich-text compositions.
   Activated by the explicit section profile, independent of article content or page ID. */
@media(min-width:1101px){
 .rtm-classic .rtm-article__hero-inner{display:flex;flex-direction:column;min-height:437px;padding-top:20px;padding-bottom:0}
 .rtm-classic .rtm-article__hero-copy{max-width:none;padding:0 0 0 64px;margin-block:auto;position:relative;top:6px}
 .rtm-classic .rtm-article__eyebrow{display:none}
 .rtm-classic .rtm-article__hero .rtm-article__hero-title{font:700 32px/39px var(--rtm-display);margin:0;color:white;max-width:900px}
 .rtm-classic .rtm-article__subtitle{font:400 24px/28px var(--rtm-display);letter-spacing:.02em;max-width:1140px;margin-top:16px}
 .rtm-classic .rtm-article__hero-copy .rtm-button{margin-top:30px}
 .rtm-classic .rtm-article__hero-photo{opacity:1}
 .rtm-classic .rtm-article__hero::after{inset:0;background:linear-gradient(90deg,#06255c 61.6%,rgba(6,37,92,.6) 71.1%,rgba(255,255,255,0) 86.9%)}
 .rtm-classic .rtm-article__body{--rtm-content:1270px;padding-top:24px}
 .rtm-classic .rtm-article__body:has(>.rtm-article__intro){padding-top:32px}
 .rtm-classic .rtm-article__body>.rtm-story{margin-top:0}
 .rtm-classic .rtm-article__body>.rtm-article__intro{font:400 24px/28px var(--rtm-display);min-height:0;text-align:justify;margin-bottom:44px}
 .rtm-story{font:400 24px/28px var(--rtm-display,'RTM Gilroy',Arial,sans-serif);color:#000}
 .rtm-story h2,.rtm-classic .rtm-article .rtm-story h2{font:700 32px/38px var(--rtm-font,'RTM Roboto',Arial,sans-serif);margin:0 0 16px}
 /* Desktop trial requested by the owner: narrower, balanced section headings. */
 .rtm-classic .rtm-article .rtm-article-section h2{max-width:70%;margin-inline:auto;text-wrap:balance}
 .rtm-story p{text-align:justify}
 .rtm-story li+li,.rtm-classic .rtm-article .rtm-story li+li{margin-top:0}
 .rtm-story .rtm-story-technical{font:400 24px/32px var(--rtm-font,'RTM Roboto',Arial,sans-serif)}
 .rtm-story :is(p,ul,ol){margin:0 0 20px}
 .rtm-story :is(p,ul,ol):last-child{margin-bottom:0}
 .rtm-story .rtm-story-panel{margin:0 0 16px;padding:24px 32px;border-radius:40px;background:#f7f7f7}
 /* Figma's Gilroy body uses 0.02em tracking. Roboto headings/technical
    passages and tables keep the source's zero tracking. */
 .rtm-classic .rtm-article-section{letter-spacing:0}
 .rtm-classic .rtm-section-text_style--spaced{letter-spacing:.02em}
 .rtm-classic .rtm-article__intro{letter-spacing:.02em}
 .rtm-classic .rtm-article-section :is(h2,h3,table),.rtm-classic .rtm-section-text_style--technical,.rtm-classic .rtm-section-appearance--note,.rtm-template-editor :is(h2,h3,table,.rtm-story-technical){letter-spacing:0}
 /* The same section controls apply to every article assembled with this template. */
 .rtm-classic .rtm-article__body>.rtm-article-section{margin:0 0 32px;padding:0}
 .rtm-classic .rtm-article__body>.rtm-section-appearance--panel{background:#f7f7f7;border-radius:40px;padding:24px 32px}
 .rtm-classic .rtm-article__body>.rtm-section-appearance--panel.rtm-section-density--compact{padding:16px 32px}
 .rtm-classic .rtm-article__body>.rtm-section-appearance--panel.rtm-section-density--wide{padding:24px 60px}
 .rtm-classic .rtm-article__body>.rtm-section-appearance--panel.rtm-section-density--spacious{padding:32px 32px 50px}
 .rtm-classic .rtm-article__body>.rtm-section-appearance--note{max-width:970px;margin-inline:auto;background:#e0e7f8;border-radius:40px;padding:24px 70px;font:400 28px/32px var(--rtm-font)}
 .rtm-classic .rtm-section-appearance--note p{text-align:center}
 .rtm-classic .rtm-section-text_style--technical{font:400 24px/32px var(--rtm-font)}
 .rtm-classic .rtm-article__body>.rtm-section-space_after--compact{margin-bottom:16px}
 .rtm-classic .rtm-article__body>.rtm-section-space_after--medium{margin-bottom:24px}
 .rtm-classic .rtm-article__body>.rtm-section-space_after--wide{margin-bottom:48px}
 .rtm-article-section .rtm-article-section__content>:first-child:not(.rtm-table-wrap){margin-top:0}
 .rtm-article-section .rtm-article-section__content>:last-child{margin-bottom:0}
 .rtm-template-editor{padding:20px;--rtm-font:'RTM Roboto',Arial,sans-serif;--rtm-display:'RTM Gilroy',Arial,sans-serif}
 .rtm-story .rtm-story-note{margin:32px auto 10px;padding:24px 70px;border-radius:40px;font:400 28px/32px var(--rtm-font);text-align:center}
 .rtm-story .rtm-story-photo{max-width:597px;margin:18px auto 24px}
 .rtm-story .rtm-story-photo img{display:block;width:100%;height:auto;aspect-ratio:2/1;max-height:none;object-fit:cover}
 .rtm-story .rtm-story-photo--landscape{max-width:621px;margin-bottom:32px}
 .rtm-story .rtm-story-photo--landscape img{aspect-ratio:621/302}
 .rtm-story .rtm-story-gallery{max-width:1218px;gap:24px;margin:32px auto 24px}
 .rtm-story .rtm-story-gallery figure{margin:0;max-width:none}
 .rtm-story .rtm-story-gallery img{height:299px;aspect-ratio:auto;border-radius:50px}
 .rtm-story .rtm-story-gallery--compact{max-width:1000px;gap:78px;margin-top:44px;margin-bottom:34px}
 .rtm-story .rtm-story-gallery--compact img{height:281px;border-radius:20px}
 .rtm-story .rtm-table-wrap{max-width:1210px;margin:48px auto 16px}
 .rtm-story table{font:400 20px/20px var(--rtm-font);table-layout:fixed;margin:0}
 .rtm-story tr{height:61px}
 .rtm-story :is(th,td){padding:10px 30px;border:0;border-bottom:1px solid #aaa;vertical-align:middle}
 .rtm-story .rtm-table--technical tr{height:75px}
 .rtm-story .rtm-table--technical td:first-child{font:400 24px/28px var(--rtm-font)}
 .rtm-story th{font:700 24px/28px var(--rtm-font);background:#e0e7f8;height:75px;border-top:1px solid #888;border-bottom:1px solid #888}
 .rtm-story th:first-child{width:22%;border-left:1px solid #888}
 .rtm-story th:nth-child(2){width:35%}
 .rtm-story th:last-child{width:43%;border-right:1px solid #888}
 .rtm-classic .rtm-article__direct{display:block;min-height:0;background:none;padding:0;margin-top:60px}
 .rtm-classic .rtm-article .rtm-article__direct h2{margin-bottom:32px}
 .rtm-classic .rtm-article__direct ul{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;list-style:none;padding:0;margin:0}
 .rtm-classic .rtm-article .rtm-article__direct li{border:1px solid #333;border-radius:8px;padding:12px 18px;text-align:center;font-size:22px;font-weight:700;line-height:1.3;margin:0}
 .rtm-classic .rtm-article__body>.rtm-project-section{margin-top:16px}
 .rtm-classic .rtm-article__body>.rtm-story:has(>section.rtm-story-panel:last-child)+.rtm-project-section{margin-top:16px}
 .rtm-classic .rtm-projects{gap:20px;grid-auto-columns:calc((100% - 20px)/2)}
 .rtm-classic .rtm-project{border-radius:36px;background:#f7f7f7}
 .rtm-classic .rtm-project__photo{height:250px;aspect-ratio:auto}
 .rtm-classic .rtm-project__copy{padding:20px 24px;font-size:16px;line-height:1.4}
 .rtm-classic .rtm-project__copy p{font-size:16px}
 .rtm-classic .rtm-project__details summary{cursor:pointer;color:#264796;text-decoration:underline}
 .rtm-classic .rtm-panel.rtm-article__related{min-height:403px;border-radius:40px;padding:40px 8px;justify-content:flex-start}
 .rtm-classic .rtm-article__body>.rtm-article__related{margin-top:76px}
 /* The supplied frames place the FAQ heading over the bottom of this surface.
    Keep separate ordered blocks; apply the overlap only while they are adjacent. */
 .rtm-classic .rtm-article__body>.rtm-article__related+.rtm-article__faq-block{margin-top:-52px}
 .rtm-classic .rtm-article .rtm-article__faq-block>h2{margin-bottom:16px}
 .rtm-classic .rtm-article__related-grid{gap:16px}
 .rtm-classic .rtm-article__related-card{min-height:210px;border:1px solid #d6d6d6;border-radius:20px;padding:24px 28px;gap:30px;justify-content:space-between}
 .rtm-classic .rtm-article__related-card h3{font-size:24px;color:#5e82cf;text-transform:uppercase}
 .rtm-classic .rtm-article__related-card a{font-size:24px;line-height:1.2;text-decoration:none}
 .rtm-classic .rtm-faq{max-width:1209px;margin-inline:auto;gap:24px}
 .rtm-classic .rtm-article .rtm-faq details{border:1px solid #000;border-radius:10px;font:400 22px/26px var(--rtm-font)}
 .rtm-classic .rtm-article .rtm-faq details{position:relative}
 .rtm-classic .rtm-article .rtm-faq summary::after{position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:48px;font-weight:700;line-height:1}
 .rtm-classic .rtm-faq details:first-child[open]{margin-bottom:-12px}
 .rtm-classic .rtm-faq summary{min-height:56px;padding:14px 44px}
 .rtm-classic .rtm-faq details p{padding:0 44px 20px}
 .rtm-classic .rtm-article__body>.rtm-article__consultation{padding-top:0;margin-top:32px}
 .rtm-classic .rtm-live-form{margin-top:92px}
 .rtm-classic .rtm-live-form input:not([type=checkbox]):not([type=hidden]){height:60px;border:1px solid #06255c;border-radius:8px;text-align:center;font:400 36px/42px var(--rtm-display);padding:8px 16px}
 .rtm-classic .rtm-live-form .kb-submit-field{display:flex;justify-content:center}
 .rtm-classic .rtm-live-form button[type=submit]{width:auto;flex:0 0 auto;font:400 36px/42px var(--rtm-display);border-radius:8px;padding:8px 24px;min-height:60px}
}
.rtm-project-controls{display:flex;justify-content:center;gap:12px;align-items:center;margin-top:12px}
.rtm-project-controls[hidden]{display:none}
.rtm-project-controls button{color:#264796;background:#e0e7f8;border:0;border-radius:50%;width:32px;height:32px;cursor:pointer;padding:0}
.rtm-project-controls button[aria-current=true]{background:#264796;color:#fff}
.rtm-project-controls button[data-slide]{background:transparent;font-size:0;width:24px;height:24px;display:grid;place-items:center}
.rtm-project-controls button[data-slide]::before{content:'';display:block;width:10px;height:10px;border-radius:50%;background:#d9d9d9}
.rtm-project-controls button[data-slide][aria-current=true]::before{background:#264796}

/* Three-column Diana proportions stay intact; other grids share width evenly. */
.rtm-article-table table[data-rtm-columns]:not([data-rtm-columns="3"]) th{width:auto}

/* Tablet copy spans the photo; keep white text readable over bright images.
   Desktop Diana composition and the solid mobile hero stay unchanged. */
@media(min-width:601px) and (max-width:1100px){
 .rtm-classic .rtm-article__hero::after{inset:0;background:linear-gradient(90deg,#06255c 15%,rgba(6,37,92,.85) 100%)}
}

/* Readable columns scroll inside their wrapper rather than compressing words. */
@media(max-width:1024px){
 .rtm-classic .rtm-article-table .rtm-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
 .rtm-classic .rtm-article-table table{min-width:640px}
 .rtm-classic .rtm-article-table table[data-rtm-columns="3"]{min-width:720px}
 .rtm-classic .rtm-article-table :is(th,td){word-break:normal;overflow-wrap:normal;white-space:normal}
 .rtm-classic .rtm-article-table table[data-rtm-columns="3"] :is(th,td):first-child{min-width:158px;width:22%}
 .rtm-floating-contacts{display:none!important;left:auto!important;right:16px!important;bottom:72px!important;transform:none!important;max-width:calc(100vw - 32px);padding:12px;background:#fff;border:1px solid #d6d6d6;border-radius:16px;box-shadow:0 4px 20px #06255c26;z-index:999}
 .rtm-floating-contacts.is-open{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
 .rtm-contacts-toggle{position:fixed;right:16px;bottom:16px;z-index:1000;min-height:44px;padding:10px 18px;border:1px solid #fff;border-radius:24px;background:#264796;color:#fff;font:600 15px/1.3 var(--rtm-font);box-shadow:0 2px 10px #06255c26;cursor:pointer}
}
.rtm-contacts-toggle{display:none}
@media(max-width:1024px){.rtm-contacts-toggle{display:block}}
@media(max-width:600px){
 .rtm-classic .rtm-article__hero,.rtm-classic .rtm-article__hero-inner{min-height:0}
 .rtm-classic .rtm-article__hero-inner{padding-bottom:36px}
 .rtm-classic .rtm-article__hero-copy{padding-top:24px}
 .rtm-classic .rtm-article__hero-copy .rtm-button{margin-top:28px}
}

/* A migrated intro is the same rich text section with its original lead spacing. */
@media(min-width:1101px){.rtm-classic .rtm-article__body>.rtm-article-section.rtm-section-text_style--lead{font:400 24px/28px var(--rtm-display);letter-spacing:.02em;text-align:justify}.rtm-classic .rtm-article__body>.rtm-article-section.rtm-section-text_style--lead.rtm-section-space_after--regular{margin-bottom:44px}.rtm-section-text_style--lead .rtm-article-section__content>p{margin:0}}
