/* ==========================================================================
   Shared visual system and route-level component refinements
   ========================================================================== */

:root {
    --msdl-header-bg: #111c25;
    --msdl-frame-shadow-hover: 0 5px 12px rgba(15,29,40,.08), 0 30px 66px rgba(15,29,40,.18);
}

/* Header: same dark surface as the footer so the transparent MAN mark blends cleanly. */
body.msdl-ui .site-header {
    background: var(--msdl-header-bg);
}

body.msdl-ui .inside-header {
    min-height: 92px;
    padding-block: 12px;
}
body.msdl-ui .site-logo .header-image {
    width: 98px;
    max-width: 98px;
    max-height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 5px 14px rgba(0,0,0,.22));
}

/* Funding/ESPA strip: deliberate card separation from the near-white page surface. */
body.msdl-ui .msdl-espa-banner {
    padding-block: 12px;
    background: transparent !important;
	border: 0px solid #c9d2d8 !important;
}
body.msdl-ui .msdl-espa-banner a {
    padding: 8px 14px;
    border: 1px solid #c9d2d8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15,29,40,.05), 0 14px 32px rgba(15,29,40,.09);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
body.msdl-ui .msdl-espa-banner a:hover,
body.msdl-ui .msdl-espa-banner a:focus-visible {
    transform: translateY(-2px);
    border-color: #b7c3ca;
    box-shadow: 0 5px 12px rgba(15,29,40,.07), 0 20px 42px rgba(15,29,40,.13);
}
body.msdl-ui .msdl-espa-banner img {
    border-radius: 7px;
}

/* Carousel and technical imagery: visible static depth before any hover interaction. */
body.msdl-ui .msdl-home-slider {
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 4px 12px rgba(10,23,34,.12), 0 30px 82px rgba(10,23,34,.22);
}
body.msdl-ui .msdl-home-slide-image {
    max-width: 100%;
    max-height: 420px;
    border-color: #bac6cd;
    border-radius: 18px;
    background: linear-gradient(145deg,#e4e9ec,#f6f8f9);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.82), 0 5px 12px rgba(0,0,0,.09), 0 26px 62px rgba(0,0,0,.28);
    object-fit: contain;
    object-position: center;
}
body.msdl-ui .msdl-home-slide-image.msdl-image-light-source {
    border-color: #adb9c1;
    background: linear-gradient(145deg,#dce3e7 0%,#eef2f4 52%,#d8e0e4 100%);
}

/* Homepage quick actions: reusable semantic variants are assigned by the Catalogue interaction component. */
body.msdl-ui .msdl-home-actions > .wp-block-column {
    --msdl-action-surface: #263542;
    --msdl-action-surface-2: #1c2933;
min-height: 104px;
    padding: 22px 54px 22px 82px;
    border-color: rgba(255,255,255,.08);
    color: #fff;
    background: linear-gradient(135deg,var(--msdl-action-surface),var(--msdl-action-surface-2));
    box-shadow: 0 3px 8px rgba(15,29,40,.08), 0 18px 42px rgba(15,29,40,.16);
}
body.msdl-ui .msdl-home-actions > .wp-block-column::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background-color: rgba(255,255,255,.08);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 23px 23px;
    transform: translateY(-50%);
}
body.msdl-ui .msdl-home-actions > .wp-block-column::after {
    color: rgba(255,255,255,.86);
}
body.msdl-ui .msdl-home-actions h3,
body.msdl-ui .msdl-home-actions h3 a {
    color: #fff;
    text-decoration: none;
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-parts {
    --msdl-action-surface: #303c49;
    --msdl-action-surface-2: #202e39;
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-inspection {
    --msdl-action-surface: #3f4f5c;
    --msdl-action-surface-2: #293844;
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-contact {
    --msdl-action-surface: #d60042;
    --msdl-action-surface-2: #a90035;
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-parts::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5 12 3l8 4.5-8 4.5-8-4.5Z'/%3E%3Cpath d='M4 7.5V16.5L12 21l8-4.5V7.5M12 12v9'/%3E%3C/svg%3E");
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-inspection::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m15.5 15.5 4 4M8.5 11h5M11 8.5v5'/%3E%3C/svg%3E");
}
body.msdl-ui .msdl-home-actions > .wp-block-column.msdl-action-contact::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}
body.msdl-ui .msdl-home-actions > .wp-block-column:hover,
body.msdl-ui .msdl-home-actions > .wp-block-column:focus-within {
    border-color: rgba(255,255,255,.28);
    background: linear-gradient(135deg,var(--msdl-action-surface),var(--msdl-action-surface-2));
    box-shadow: 0 6px 14px rgba(15,29,40,.10), 0 26px 58px rgba(15,29,40,.22);
}

/* Homepage editorial copy: the first intro reads as one professional information panel. */
body.msdl-ui .msdl-source-home > .msdl-shell > h1 {
    width: min(980px,100%);
    margin: 0;
    padding: clamp(34px,4vw,52px) clamp(28px,4vw,48px) 10px;
    border: 1px solid var(--msdl-card-border);
    border-bottom: 0;
    border-left: 4px solid var(--msdl-red);
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,29,40,.055);
}
body.msdl-ui .msdl-source-home > .msdl-shell > h1 + h2 {
    width: min(980px,100%);
    margin: 0;
    padding: 2px clamp(28px,4vw,48px) 12px;
    border-right: 1px solid var(--msdl-card-border);
    border-left: 4px solid var(--msdl-red);
    color: var(--msdl-red-dark);
    background: #fff;
}
body.msdl-ui .msdl-source-home > .msdl-shell > h1 + h2 + p {
    width: min(980px,100%);
    margin: 0 0 clamp(54px,7vw,82px);
    padding: 0 clamp(28px,4vw,48px) clamp(34px,4vw,48px);
    border: 1px solid var(--msdl-card-border);
    border-top: 0;
    border-left: 4px solid var(--msdl-red);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15,29,40,.09);
}
body.msdl-ui .msdl-source-home > .msdl-shell > h2:not(:first-of-type) {
    width: min(980px,100%);
    margin: 24px 0 0;
    padding: 28px 30px 10px;
    border: 1px solid var(--msdl-card-border);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,29,40,.05);
}
body.msdl-ui .msdl-source-home > .msdl-shell > h2:not(:first-of-type)::before {
    top: 0;
    left: 30px;
    width: min(130px,35%);
    height: 3px;
}
body.msdl-ui .msdl-source-home > .msdl-shell > h2:not(:first-of-type) + p {
    width: min(980px,100%);
    margin: 0 0 22px;
    padding: 0 30px 28px;
    border: 1px solid var(--msdl-card-border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 15px 34px rgba(15,29,40,.075);
}
body.msdl-ui .msdl-source-home .msdl-service-card {
    border-color: var(--msdl-card-border);
    box-shadow: 0 3px 7px rgba(15,29,40,.055), 0 18px 42px rgba(15,29,40,.11);
}
body.msdl-ui .msdl-source-home .msdl-service-card:hover {
    border-color: #aebbc3;
    box-shadow: var(--msdl-frame-shadow-hover);
}

/* Page-title accent follows the rendered text width automatically. */
body.msdl-ui:not(.msdl-route-home) .entry-header .entry-title,
body.msdl-ui .msdl-inner-title,
body.msdl-ui .msdl-source-page > .msdl-shell > h1:first-child,
body.msdl-ui .msdl-gallery-section .msdl-section-title {
    width: fit-content;
    max-width: 100%;
}
body.msdl-ui:not(.msdl-route-home) .entry-header .entry-title::after,
body.msdl-ui .msdl-inner-title::after,
body.msdl-ui .msdl-source-page > .msdl-shell > h1:first-child::after,
body.msdl-ui .msdl-gallery-section .msdl-section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 15px;
    border-radius: 999px;
    background: var(--msdl-red);
}

/* Company: restore the original large title-panel treatment, only widen its footprint
 * to the same framed-site edge as the navbar. Content remains source-faithful. */
body.msdl-ui.msdl-route-company .entry-header,
body.msdl-ui.msdl-route-company .msdl-inner-hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: clamp(56px,6vw,82px);
    border-radius: var(--msdl-radius-lg);
}
body.msdl-ui.msdl-route-company .msdl-source-page {
    padding-top: clamp(38px,5vw,64px);
}
body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell {
    grid-template-columns: minmax(240px,.58fr) minmax(0,1.42fr);
    gap: 26px clamp(38px,5vw,72px);
    padding: clamp(28px,4vw,50px);
    border: 1px solid var(--msdl-card-border);
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#f9fbfc);
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell > h2:first-child {
    position: relative;
    min-height: 210px;
    padding: 30px;
    border-top: 4px solid var(--msdl-red);
    box-shadow: 0 14px 34px rgba(15,29,40,.14);
}
body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell > h2:first-child::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 18px;
    border-radius: 99px;
    background: var(--msdl-red);
}
body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell > p {
    padding: 18px 20px 24px;
    border: 1px solid rgba(48,60,73,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 7px 20px rgba(15,29,40,.045);
}
body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell > .wp-block-buttons {
    padding-top: 6px;
}

/* Marine Engines: compact technical image canvases reduce accidental empty side-space
 * without cropping technical renders. */
body.msdl-ui.msdl-route-engines .msdl-service-card {
    min-height: 410px;
    padding: 300px 26px 26px;
    border-color: var(--msdl-card-border);
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-engines .msdl-service-card::before {
    top: 18px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 36px), 410px);
    height: 258px;
    border-color: #bcc8cf;
    border-radius: 14px;
    background-color: #e7ecef;
    background-size: auto 88%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 12px 28px rgba(15,29,40,.09);
    transform: translateX(-50%);
}
body.msdl-ui.msdl-route-engines .msdl-service-card:hover::before {
    transform: translateX(-50%) scale(1.018);
    background-color: #f1f4f6;
}

/* Perfect Used gets a stronger static frame and a restrained interactive lift. */
body.msdl-ui.msdl-route-used .msdl-service-card {
    border-color: #c2ccd2;
    box-shadow: 0 3px 7px rgba(15,29,40,.055), 0 18px 44px rgba(15,29,40,.11);
}
body.msdl-ui.msdl-route-used .msdl-service-card:hover,
body.msdl-ui.msdl-route-used .msdl-service-card:focus-within {
    border-color: rgba(228,0,70,.38);
    box-shadow: var(--msdl-frame-shadow-hover);
}

/* Gallery: opposing corners draw the accent border symmetrically on hover. */
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image {
    position: relative;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::before,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::after {
    content: "";
    position: absolute;
    z-index: 6;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    transition: width 260ms ease, height 260ms ease, opacity 180ms ease;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--msdl-red);
    border-left: 2px solid var(--msdl-red);
    border-radius: 16px 0 0 0;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid var(--msdl-red);
    border-bottom: 2px solid var(--msdl-red);
    border-radius: 0 0 16px 0;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image:hover::before,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image:hover::after,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image:focus-within::before,
body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image:focus-within::after {
    width: 56%;
    height: 56%;
    opacity: 1;
}
body.msdl-ui.msdl-route-gallery .msdl-source-gallery .msdl-gallery-open {
    border-color: #bec9d0;
    box-shadow: 0 3px 7px rgba(15,29,40,.055), 0 18px 42px rgba(15,29,40,.11);
}

/* Contact: vertically balanced cards, stronger 24/7 panel contrast, existing form/map behavior unchanged. */
body.msdl-ui.msdl-route-contact .msdl-contact-card {
    display: flex;
    min-height: 292px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 26px;
    text-align: center;
    border-color: #c2ccd2;
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-contact .msdl-contact-card .wp-block-buttons {
    margin-top: 20px !important;
    justify-content: center;
}
body.msdl-ui.msdl-route-contact .msdl-contact-card .msdl-card-index {
    margin-bottom: 22px;
}
body.msdl-ui.msdl-route-contact .msdl-contact-banner {
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 4px 10px rgba(15,29,40,.10), 0 24px 58px rgba(15,29,40,.20);
}
body.msdl-ui.msdl-route-contact .msdl-contact-banner h2,
body.msdl-ui.msdl-route-contact .msdl-contact-banner p {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
body.msdl-ui.msdl-route-contact .msdl-contact-banner .msdl-company-copy {
    color: rgba(255,255,255,.82);
}

/* Footer links: subtle professional movement and MAN-red accent. */
body.msdl-ui .msdl-footer-list a,
body.msdl-ui .msdl-footer-bottom a {
    position: relative;
    display: inline-block;
    transition: color 180ms ease, transform 180ms ease;
}
body.msdl-ui .msdl-footer-list a::after,
body.msdl-ui .msdl-footer-bottom a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    background: var(--msdl-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}
body.msdl-ui .msdl-footer-list a:hover,
body.msdl-ui .msdl-footer-list a:focus-visible,
body.msdl-ui .msdl-footer-bottom a:hover,
body.msdl-ui .msdl-footer-bottom a:focus-visible {
    color: #fff;
    transform: translateX(2px);
}
body.msdl-ui .msdl-footer-list a:hover::after,
body.msdl-ui .msdl-footer-list a:focus-visible::after,
body.msdl-ui .msdl-footer-bottom a:hover::after,
body.msdl-ui .msdl-footer-bottom a:focus-visible::after {
    transform: scaleX(1);
}

/* Global image safety inside reusable frames. */
body.msdl-ui :where(.msdl-feature-image,.msdl-image-frame,.msdl-home-slide,.msdl-engine-card,.msdl-service-card) img {
    max-width: 100%;
    max-height: 100%;
}
body.msdl-ui :where(.msdl-feature-image,.msdl-image-frame) img {
    object-fit: contain;
    object-position: center;
}

@media (max-width: 1080px) {
    body.msdl-ui .site-logo .header-image { width: 88px; max-width: 88px; }
    body.msdl-ui.msdl-route-engines .msdl-service-card { min-height: 390px; padding-top: 280px; }
    body.msdl-ui.msdl-route-engines .msdl-service-card::before { height: 238px; width:min(calc(100% - 32px),380px); }
}

@media (max-width: 768px) {
    body.msdl-ui .inside-header { min-height: 78px; }
    body.msdl-ui .site-logo .header-image { width: 74px; max-width:74px; max-height:54px; }
    body.msdl-ui .msdl-espa-banner a { padding: 6px 8px; border-radius: 10px; }
    body.msdl-ui .msdl-home-actions > .wp-block-column { min-height: 82px; padding: 18px 48px 18px 72px; }
    body.msdl-ui .msdl-home-actions > .wp-block-column::before { left:18px; width:38px; height:38px; background-size:21px 21px; }

    body.msdl-ui.msdl-route-company .entry-header,
    body.msdl-ui.msdl-route-company .msdl-inner-hero { width:100%; padding:44px 24px; }
    body.msdl-ui.msdl-route-company .msdl-source-page { padding-top:28px; }
    body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell { grid-template-columns:1fr; padding:22px 18px; }
    body.msdl-ui.msdl-route-company .msdl-source-page > .msdl-shell > h2:first-child { min-height:0; }

    body.msdl-ui.msdl-route-engines .msdl-service-card { min-height: 350px; padding: 244px 20px 22px; }
    body.msdl-ui.msdl-route-engines .msdl-service-card::before { top:14px; height:208px; width:min(calc(100% - 28px),340px); background-size:auto 86%; }

    body.msdl-ui.msdl-route-contact .msdl-contact-card { min-height:0; }
}

@media (prefers-reduced-motion: reduce) {
    body.msdl-ui .msdl-espa-banner a,
    body.msdl-ui .msdl-footer-list a,
    body.msdl-ui .msdl-footer-bottom a,
    body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::before,
    body.msdl-ui.msdl-route-gallery .msdl-source-gallery figure.wp-block-image::after {
        transition: none !important;
        transform: none !important;
    }
}


/* Route specificity bridge. Historical page-id selectors remain in the
 * compatibility stylesheet, so these selectors intentionally match their
 * specificity without relying on !important or duplicate markup. */
body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-source-page {
    padding-top: clamp(38px,5vw,64px);
}
body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-source-page > .msdl-shell {
    max-width: none;
    grid-template-columns: minmax(240px,.58fr) minmax(0,1.42fr);
    gap: 26px clamp(38px,5vw,72px);
    padding: clamp(28px,4vw,50px);
    border: 1px solid var(--msdl-card-border);
    border-top: 1px solid var(--msdl-card-border);
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#f9fbfc);
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-source-page > .msdl-shell > p {
    margin-top: 0;
    padding: 18px 20px 24px;
    border: 1px solid rgba(48,60,73,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 7px 20px rgba(15,29,40,.045);
}

body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card {
    min-height: 410px;
    padding: 300px 26px 26px;
    border-color: var(--msdl-card-border);
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card::before {
    top: 18px;
    left: 50%;
    right: auto;
    width: min(calc(100% - 36px), 410px);
    height: 258px;
    border-color: #bcc8cf;
    border-radius: 14px;
    background-color: #e7ecef;
    background-size: auto 88%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 12px 28px rgba(15,29,40,.09);
    transform: translateX(-50%);
}
body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card:hover::before {
    transform: translateX(-50%) scale(1.018);
}

body.msdl-ui.msdl-route-used :is(#post-4638, #post-4744) .msdl-service-card {
    border-color: #c2ccd2;
    box-shadow: 0 3px 7px rgba(15,29,40,.055), 0 18px 44px rgba(15,29,40,.11);
}
body.msdl-ui.msdl-route-used :is(#post-4638, #post-4744) .msdl-service-card:hover,
body.msdl-ui.msdl-route-used :is(#post-4638, #post-4744) .msdl-service-card:focus-within {
    border-color: rgba(228,0,70,.38);
    box-shadow: var(--msdl-frame-shadow-hover);
}

body.msdl-ui.msdl-route-gallery :is(#post-4665, #post-4745) .msdl-source-gallery figure.wp-block-image {
    position: relative;
    border-color: #bec9d0;
    box-shadow: 0 3px 7px rgba(15,29,40,.055), 0 18px 42px rgba(15,29,40,.11);
}

body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .msdl-contact-card {
    display: flex;
    min-height: 292px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 26px;
    text-align: center;
    border-color: #c2ccd2;
    box-shadow: var(--msdl-card-shadow);
}
body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .msdl-contact-banner {
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 4px 10px rgba(15,29,40,.10), 0 24px 58px rgba(15,29,40,.20);
}

@media (max-width: 768px) {
    body.msdl-ui.msdl-route-company :is(#post-3587, #post-4742) .msdl-source-page > .msdl-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 18px;
    }
    body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card {
        min-height: 350px;
        padding: 244px 20px 22px;
    }
    body.msdl-ui.msdl-route-engines :is(#post-4619, #post-4743) .msdl-service-card::before {
        top: 14px;
        height: 208px;
        width: min(calc(100% - 28px), 340px);
        background-size: auto 86%;
    }
    body.msdl-ui.msdl-route-contact :is(#post-3589, #post-4746) .msdl-contact-card {
        min-height: 0;
    }
}

