/* Shared presentation pages, large work images and filterable product galleries. */
.cmd-profile-hero { padding: clamp(60px, 8vw, 110px) 20px; text-align: center; color: white; background: linear-gradient(120deg, #053855, #027a8b); }
.cmd-profile-hero h1 { color: white; font-family: futura-heavy-font, sans-serif; font-size: clamp(32px, 4.5vw, 56px); }
.cmd-profile-hero p { max-width: 760px; margin: 20px auto 0; font-size: 18px; line-height: 1.7; }
.cmd-profile-row { padding: clamp(40px, 6vw, 80px) 0; }
.cmd-profile-row:nth-child(odd), .cmd-related { background: #eef5f8; }
.cmd-profile-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.cmd-profile-row.is-flip .cmd-profile-media { order: 2; }
.cmd-profile-media { margin: 0; background: white; padding: 16px; border: 1px solid #dfeaef; border-radius: 18px; box-shadow: 0 16px 36px #05385512; }
.cmd-profile-media img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.cmd-profile-media figcaption { padding: 12px 0 0; color: #536b78; font-size: 14px; }
.cmd-profile-copy h2, .cmd-related h2 { color: #053855; font-family: futura-heavy-font, sans-serif; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.cmd-profile-copy p, .cmd-profile-copy li { font-size: 17px; line-height: 1.8; color: #425866; }
.cmd-profile-copy .cmd-kicker { color: #027a8b; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }
.cmd-capability-overview { padding: 60px 0; }
.cmd-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cmd-capability-grid article { border: 1px solid #dfeaef; border-top: 4px solid #027a8b; border-radius: 12px; padding: 28px; background: #fff; }
.cmd-capability-grid h2 { color: #053855; font-size: 24px; }
.cmd-capability-grid li { margin-bottom: 10px; line-height: 1.5; }
.cmd-profile-cta { padding: 50px 20px; text-align: center; }
.modern-page .mp-split.mp-has-media, .modern-page .mp-split.mp-has-media.mp-media-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.modern-page .mp-split.mp-has-media .mp-side { position: static; }
.modern-page .mp-split.mp-has-media .cmd-zz-inline { width: 100%; max-width: none; padding: 16px; }
.modern-page .mp-split.mp-has-media .cmd-zz-inline a { aspect-ratio: 4 / 3; }
.modern-page .mp-split.mp-has-media .cmd-zz-inline img { max-height: none; }
.cmd-related { padding: 65px 0; }
.cmd-related h2 { text-align: center; margin-bottom: 28px; }
.cmd-filter-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 24px; }
.cmd-filter-buttons button { border: 1px solid #027a8b; background: white; color: #053855; padding: 10px 20px; border-radius: 30px; cursor: pointer; font: inherit; }
.cmd-filter-buttons button[aria-pressed="true"] { background: #027a8b; color: white; }
.cmd-filter-buttons button:focus-visible, .cmd-related-card a:focus-visible { outline: 3px solid #053855; outline-offset: 4px; }
.cmd-filter-count { text-align: center; color: #536b78; margin-bottom: 24px; }
.cmd-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cmd-related-card { margin: 0; background: white; border: 1px solid #dfeaef; border-radius: 14px; overflow: hidden; }
.cmd-related-card img { width: 100%; height: 280px; object-fit: contain; padding: 16px; }
.cmd-related-card figcaption { padding: 16px 20px; color: #053855; font-size: 17px; border-top: 1px solid #eef5f8; }
.cmd-related-card[hidden], .cmd-products01[hidden] { display: none !important; }
.cmd-products01 .products-box02 img { width: 100%; height: 250px; max-height: none; object-fit: contain; }
body.cmd-product-index .products-col-01 { flex: 0 0 28%; max-width: 28%; }
body.cmd-product-index .products-col-02 { flex: 0 0 72%; max-width: 72%; }
body.cmd-product-index .cmd-products01:nth-of-type(even) .products-col-01 { order: 2; }
body.cmd-product-index .products-col-02 .row > div:has(.products-box02) { flex: 0 0 50%; max-width: 50%; }
@media (max-width: 991px) {
  .cmd-profile-split, .modern-page .mp-split.mp-has-media, .modern-page .mp-split.mp-has-media.mp-media-right { grid-template-columns: 1fr; }
  .cmd-profile-row.is-flip .cmd-profile-media, .modern-page .mp-split.mp-has-media.mp-media-right > .mp-side { order: 0; }
  .cmd-capability-grid { grid-template-columns: 1fr; }
  .cmd-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.cmd-product-index .products-col-01, body.cmd-product-index .products-col-02 { flex: 0 0 100%; max-width: 100%; }
  body.cmd-product-index .cmd-products01:nth-of-type(even) .products-col-01 { order: 0; }
}
@media (max-width: 575px) {
  .cmd-related-grid { grid-template-columns: 1fr; }
  .cmd-related-card img { height: 260px; }
  body.cmd-product-index .products-col-02 .row > div:has(.products-box02) { flex: 0 0 100%; max-width: 100%; }
}

/* Complete detail-page design: editorial hero, section navigation and work rows. */
.cmd-detail-page { --mp-soft: #f0f6f7; background: #fff; }
.cmd-detail-hero { background: #053855; color: #fff; padding: clamp(44px, 6vw, 86px) 0; overflow: hidden; }
.cmd-detail-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.cmd-detail-eyebrow { color: #74dce0; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.cmd-detail-hero h1 { font-family: futura-heavy-font, sans-serif; color: #fff; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.08; margin-bottom: 24px; }
.cmd-detail-hero p { font-size: 18px; line-height: 1.8; color: #dcecef; max-width: 600px; }
.cmd-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cmd-detail-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 5px; background: #027a8b; color: white; font-weight: 700; }
.cmd-detail-actions a + a { background: transparent; border: 1px solid #91b6c2; }
.cmd-detail-hero figure { background: #fff; border-radius: 20px 20px 60px 20px; padding: 24px; margin: 0; }
.cmd-detail-hero figure img { width: 100%; height: 390px; object-fit: contain; }
.cmd-detail-hero figcaption { color: #053855; border-top: 1px solid #e1ebee; padding-top: 18px; margin-top: 14px; font-size: 15px; }
.cmd-detail-nav { background: white; border-bottom: 1px solid #dfeaef; }
.cmd-detail-nav .container { display: flex; gap: 28px; overflow-x: auto; padding-top: 20px; padding-bottom: 20px; }
.cmd-detail-nav a { color: #536b78; white-space: nowrap; font-size: 15px; }
.cmd-detail-nav a:hover { color: #027a8b; }
.cmd-detail-page.modern-page .service-tool-1.mp-intro { background: #fff; padding: 52px 0; }
.cmd-detail-page .service-title { max-width: 1000px; margin: auto; }
.cmd-detail-page.modern-page .service-title h2 { font-size: 30px; color: #053855; }
.cmd-detail-page.modern-page .service-title h2::after { display: none; }
.cmd-detail-page .service-title p { margin-top: 18px; font-size: 17px; line-height: 1.8; }
.cmd-detail-page.modern-page .mp-sec { padding: 64px 0; border: 0; }
.cmd-detail-page.modern-page .mp-sec .mp-wrap { max-width: 1320px; padding: 0 24px; }
.cmd-detail-page.modern-page .mp-split { grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: 56px; }
.cmd-detail-page.modern-page .mp-split.mp-has-media, .cmd-detail-page.modern-page .mp-split.mp-has-media.mp-media-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cmd-detail-page.modern-page .mp-side { position: static; }
.cmd-detail-page.modern-page .mp-side h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.cmd-detail-page .mp-sec-icon { width: 46px; height: 46px; font-size: 22px; border-radius: 10px; box-shadow: none; margin-bottom: 18px; }
.cmd-detail-page.modern-page .mp-sec .mp-textcard { background: transparent; padding: 0; border: 0; box-shadow: none; columns: auto; }
.cmd-detail-page.modern-page .mp-sec .grid-box, .cmd-detail-page.modern-page .mp-sec .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cmd-detail-page.modern-page .mp-sec .info-box, .cmd-detail-page.modern-page .mp-sec .process-box { padding: 24px; border: 1px solid #dfeaef; border-radius: 10px; background: white; box-shadow: none; transform: none; }
.cmd-detail-page.modern-page .mp-sec .info-box::before { display: none; }
.cmd-detail-page.modern-page .mp-sec .info-box h4, .cmd-detail-page.modern-page .mp-sec .process-box h4 { color: #053855; font-size: 20px; }
.cmd-detail-page.modern-page .mp-sec .info-box p, .cmd-detail-page.modern-page .mp-sec .process-box p { font-size: 15px; line-height: 1.75; }
.cmd-detail-page.modern-page .mp-sec .mp-ic { position: static; background: #eaf5f5; color: #027a8b; width: 40px; height: 40px; border-radius: 8px; margin-bottom: 16px; box-shadow: none; }
.cmd-detail-page.modern-page .mp-sec .expertise-list, .cmd-detail-page.modern-page .mp-sec .why-list, .cmd-detail-page.modern-page .mp-sec .info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; }
.cmd-detail-page.modern-page .mp-sec .expertise-list li, .cmd-detail-page.modern-page .mp-sec .why-list li, .cmd-detail-page.modern-page .mp-sec .info-list li { border: 0; border-left: 3px solid #027a8b; border-radius: 0; box-shadow: none; padding: 18px 18px 18px 42px; background: #fff; }
.cmd-detail-page.modern-page .mp-sec-cta, .cmd-detail-page.modern-page .mp-sec-end { background: #053855 !important; }
.cmd-detail-page .cmd-related { background: #f0f6f7; }
@media (max-width: 991px) {
  .cmd-detail-hero .container { grid-template-columns: 1fr; gap: 32px; }
  .cmd-detail-hero figure img { height: 320px; }
  .cmd-detail-page.modern-page .mp-split, .cmd-detail-page.modern-page .mp-split.mp-has-media, .cmd-detail-page.modern-page .mp-split.mp-has-media.mp-media-right { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 575px) {
  .cmd-detail-page.modern-page .mp-sec { padding: 42px 0; }
  .cmd-detail-page.modern-page .mp-sec .mp-wrap { padding: 0 16px; }
  .cmd-detail-page.modern-page .mp-sec .grid-box, .cmd-detail-page.modern-page .mp-sec .process-list,
  .cmd-detail-page.modern-page .mp-sec .expertise-list, .cmd-detail-page.modern-page .mp-sec .why-list, .cmd-detail-page.modern-page .mp-sec .info-list { grid-template-columns: 1fr; }
  .cmd-detail-hero figure img { height: 260px; }
}
