/* Shared category tabs: keep one row and scroll to reach overflowed items. */


.ms-cat-scroll::-webkit-scrollbar {
    display: block;
    height: 6px;
}

.ms-cat-scroll::-webkit-scrollbar-track {
    background: #edf3f2;
    border-radius: 999px;
}

.ms-cat-scroll::-webkit-scrollbar-thumb {
    background: #22a887;
    border-radius: 999px;
}

.ms-footer-products {
    padding: 30px 0;
    overflow: hidden;
    background: #f3f6f8;
    border-top: 1px solid #dfe8eb;
}

.ms-products-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.ms-products-eyebrow {
    color: #22a887;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ms-products-head h2 {
    margin: 4px 0 0;
    color: #26323c;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.35;
}

.ms-products-controls {
    display: flex;
    gap: 8px;
}

.ms-products-controls button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid #dfe8eb;
    border-radius: 50%;
    background: #fff;
    color: #26323c;
    cursor: pointer;
}

.ms-products-controls button:hover {
    border-color: #22a887;
    background: #22a887;
    color: #fff;
}

.ms-products-controls i {
    font-size: 22px;
}

.ms-products-track {
    display: grid;
    grid-auto-columns: calc((100% - 80px) / 6);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ms-products-track::-webkit-scrollbar {
    display: none;
}

.ms-product-card {
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(31, 49, 64, .07);
}

.ms-product-image {
    display: flex;
    height: 115px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    color: #71808a;
    font-size: 12px;
}

.ms-product-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform .25s ease;
}

.ms-product-card:hover .ms-product-image img {
    transform: scale(1.04);
}

.ms-product-body {
    padding: 10px 12px 12px;
    border-top: 1px solid #edf1f2;
}

.ms-product-body h3 {
    margin: 0 0 4px;
    overflow: hidden;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.ms-product-body h3 a,
.ms-product-buy {
    text-decoration: none;
}

.ms-product-body p {
    min-height: 18px;
    margin: 0 0 8px;
    color: #71808a;
    font-size: 11px;
}

.ms-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ms-product-bottom strong {
    color: #26323c;
    font-size: 15px;
}

.ms-product-buy {
    padding: 6px 10px;
    border-radius: 999px;
    background: #22a887;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.ms-product-buy:hover {
    background: #178b70;
    color: #fff;
}

@media (max-width: 900px) {
    .ms-products-track {
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@media (max-width: 520px) {
    .ms-footer-products {
        padding: 24px 0;
    }

    .ms-products-track {
        grid-auto-columns: 47%;
    }

    .ms-product-image {
        height: 140px;
    }
}

.ms-author-profile h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid #edf1f2;
}

.ms-author-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
}

.ms-author-avatar {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border: 3px solid #e8f7f3;
    border-radius: 50%;
    object-fit: cover;
}

.ms-author-name,
.ms-author-role {
    display: block;
}

.ms-author-name {
    color: #26323c;
    font-size: 14px;
    line-height: 1.4;
}

.ms-author-role {
    margin-top: 3px;
    color: #22a887;
    font-size: 10px;
    font-weight: 700;
}

.ms-author-bio {
    margin: 0 0 12px;
    color: #71808a;
    font-size: 12px;
    line-height: 1.75;
}

.ms-author-link {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 7px 12px !important;
    border-radius: 999px;
    background: #e8f7f3;
    color: #178b70;
    font-size: 11px !important;
    font-weight: 700;
    justify-content: center;
}

.ms-author-link:hover {
    background: #22a887;
    color: #fff;
}

@media (max-width: 767px) {
    aside .ms-author-profile {
        display: block !important;
    }
}

/* Accessibility and resilient interaction states. */
.ms-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.ms-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100000;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    color: #116b58;
    font-weight: 700;
    transform: translateY(-150%);
}

.ms-skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: none !important;
    outline-offset: 3px !important;
    box-shadow: none !important;
}

.ms-search button,
.ms-pill.active,
.ms-pill:hover,
.ms-product-buy,
.ms-products-controls button:hover,
.ms-author-link:hover {
    background-color: #116b58;
    border-color: #116b58;
}

.ms-category,
.ms-more,
.ms-products-eyebrow,
.ms-author-role,
.ms-breadcrumb a {
    color: #116b58;
}

.ms-not-found {
    padding: 50px;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Homepage feature carousel. */
.ms-hero-slide {
    width: 100%;
    height: 422px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(31, 49, 64, .1);
}

.ms-hero-link {
    height: 100%;
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
    min-height: 0;
}

.ms-hero-carousel .owl-stage {
    display: flex;
}

.ms-hero-carousel .owl-item {
    display: flex;
    height: auto;
}

.ms-hero-carousel .owl-item>.ms-hero-slide {
    flex: 1 0 100%;
}

.ms-hero-image {
    position: relative;
    height: 422px;
    background: #eef5f3;
}

.ms-hero-image::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    box-shadow: inset -18px 0 24px rgba(20, 52, 45, .05);
}

.ms-hero-thumb {
    width: 100%;
    height: 100% !important;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

.ms-hero-content {
    min-width: 0;
    justify-content: center;
    padding: 38px clamp(34px, 4vw, 58px);
}

.ms-hero-content .ms-category {
    align-self: flex-start;
    width: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #168b70;
    font-size: 12px;
    font-weight: 800;
    text-transform: none;
}

.ms-hero-content h2 {
    max-width: 820px;
    margin: 12px 0 14px;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.34;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
}

.ms-hero-content p {
    max-width: 720px;
    margin-bottom: 14px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #64757d;
    font-size: 15px;
    line-height: 1.7;
}

.ms-hero-content .ms-meta {
    margin-top: 0;
    font-size: 11px;
    letter-spacing: .03em;
}



.owl-carousel .owl-item {
    border-radius: 18px;
    overflow: hidden;
}

@media (max-width: 900px) and (min-width: 768px) {
    .ms-hero-slide {
        height: 360px;
    }

    .ms-hero-link {
        grid-template-columns: 50% 50%;
        min-height: 0;
    }

    .ms-hero-image {
        height: 100%;
    }

    .ms-hero-content {
        padding: 30px;
    }

    .ms-hero-content h2 {
        font-size: 27px;
    }
}

@media (max-width: 767px) {
    .ms-hero-slide {
        height: 520px;
    }

    .ms-hero-link {
        display: flex;
        flex-direction: column;
    }

    .ms-hero-slide {
        border-radius: 16px;
    }

    .ms-hero-image {
        height: 220px;
        flex: 0 0 220px;
        aspect-ratio: auto;
    }

    .ms-hero-thumb {
        object-position: center;
    }

    .ms-hero-image::after {
        display: none;
    }

    .ms-hero-content {
        flex: 1;
        justify-content: flex-start;
        padding: 22px 20px 24px;
    }

    .ms-hero-content h2 {
        margin: 10px 0 12px;
        font-size: 22px;
        line-height: 1.38;
        letter-spacing: -.015em;
    }

    .ms-hero-content p {
        margin-bottom: 12px;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 380px) {
    .ms-hero-slide {
        height: 540px;
    }

    .ms-hero-image {
        height: 200px;
        flex-basis: 200px;
    }
}

/* Consistent card sizing across listing sections. */
.ms-featured,
.ms-grid {
    align-items: stretch;
}

.ms-card {
    display: flex;
    min-width: 0;
    height: 100%;
}

.ms-card>.ms-card-inner {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
}

.ms-card .ms-thumb {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 17.5 / 10;
    object-fit: contain;
	background:#fff;
}

.ms-card .ms-body {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.ms-card h3 {
    display: -webkit-box;
    min-height: calc(1.55em * 2);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ms-card .ms-excerpt {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: #6f7d84;
    font-size: 12px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ms-featured .ms-card:first-child .ms-excerpt {
    max-width: 92%;
    font-size: 13px;
}

.ms-card .ms-meta {
    margin-top: auto;
    padding-top: 10px;
}

.ms-hero-content h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ms-product-card {
    display: flex;
    height: 222px;
    flex-direction: column;
}

.ms-product-body {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
}

.ms-product-body h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ms-product-bottom {
    margin-top: 0;
}

@media (max-width: 767px) {
    .ms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-card h3 {
        font-size: 14px;
    }

    .ms-card .ms-excerpt {
        -webkit-line-clamp: 2;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .ms-grid {
        grid-template-columns: 2fr 2fr;
    }

    .ms-featured {
        grid-template-columns: 2fr 2fr;
    }


}

@media (max-width: 520px) {

    .ms-product-image {
        height: 140px;
    }
}

/* Author archive; namespaced to avoid the compact sidebar profile styles. */
.ms-author-archive {
    padding: 0 0 72px;
}

.ms-author-hero {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    min-height: 280px;
    padding: 46px 52px;
    overflow: hidden;
    border: 1px solid #dcece7;
    border-radius: 24px;
    background: linear-gradient(120deg, #fff 0%, #f5fcfa 58%, #e9f7f3 100%);
    box-shadow: 0 14px 40px rgba(31, 76, 65, .08);
}

.ms-author-hero-art,
.ms-author-hero-art::before {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.ms-author-hero-art {
    right: -75px;
    bottom: -130px;
    width: 330px;
    height: 330px;
    background: rgba(34, 168, 135, .08);
}

.ms-author-hero-art::before {
    top: -105px;
    left: -80px;
    width: 150px;
    height: 150px;
    border: 26px solid rgba(46, 159, 218, .07);
}

.ms-author-hero-avatar {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 150px;
    padding: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 76, 65, .15);
}

.ms-author-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ms-author-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.ms-author-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #116b58;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ms-author-hero h1 {
    margin: 0 0 12px;
    color: #26323c;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
}

.ms-author-hero-bio,
.ms-author-hero-bio p {
    margin: 0;
    color: #65737b;
    font-size: 14px;
    line-height: 1.9;
}

.ms-author-stat {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 108px;
    min-height: 108px;
    place-content: center;
    border: 1px solid rgba(34, 168, 135, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    text-align: center;
}

.ms-author-stat strong {
    color: #116b58;
    font-size: 26px;
    line-height: 1.15;
}

.ms-author-stat span {
    margin-top: 4px;
    color: #71808a;
    font-size: 10px;
    font-weight: 700;
}

.ms-author-posts {
    padding-top: 52px;
}

.ms-author-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.ms-author-section-head h2 {
    margin: 5px 0 0;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.35;
}

.ms-author-section-head>p {
    margin: 0;
    color: #7b888f;
    font-size: 12px;
}

.ms-author-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ms-author-grid .ms-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.ms-author-grid .ms-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(31, 49, 64, .12);
}

.ms-author-empty {
    padding: 56px 24px;
    border: 1px dashed #cbded8;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.ms-author-empty>span {
    display: block;
    color: #22a887;
    font-size: 30px;
}

.ms-author-empty h2 {
    margin: 8px 0;
    font-size: 21px;
}

.ms-author-empty p {
    margin: 0 0 20px;
    color: #71808a;
    font-size: 13px;
}

.ms-author-empty a {
    display: inline-flex;
    padding: 9px 18px;
    border-radius: 999px;
    background: #116b58;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .ms-author-hero {
        grid-template-columns: auto 1fr;
        padding: 38px;
    }

    .ms-author-stat {
        display: none;
    }

    .ms-author-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ms-author-archive {
        padding-bottom: 46px;
    }

    .ms-author-hero {
        display: block;
        min-height: 0;
        padding: 30px 22px;
        border-radius: 18px;
        text-align: center;
    }

    .ms-author-hero-avatar {
        width: 112px;
        height: 112px;
        margin: 0 auto 18px;
    }

    .ms-author-hero h1 {
        font-size: 28px;
    }

    .ms-author-hero-bio {
        text-align: left;
    }

    .ms-author-posts {
        padding-top: 38px;
    }

    .ms-author-section-head {
        align-items: start;
    }

    .ms-author-section-head>p {
        white-space: nowrap;
    }

    .ms-author-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.ms-hero-carousel>.ms-hero-slide:not(:first-child) {
    display: none;
}

.ms-native-carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(31, 49, 64, .1);
}

.ms-native-carousel-track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}

.ms-native-carousel-track>.ms-hero-slide {
    display: block !important;
    flex: 0 0 100%;
    min-width: 100%;
    box-shadow: none;
}

.ms-native-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 45px;
    padding: 8px 10px 0;
}

.ms-native-carousel-controls>button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid #dfe7e8;
    border-radius: 50%;
    background: #fff;
    color: #26343d;
    box-shadow: 0 3px 10px rgb(0 0 0 / .08);
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.ms-native-carousel-controls>button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ms-native-carousel-controls>button:hover,
.ms-native-carousel-controls>button:focus-visible {
    transform: translateY(-2px);
    background: #22a887;
    color: #fff;
    box-shadow: 0 7px 16px rgb(34 168 135 / .24);
}

.ms-native-carousel-controls>button:active {
    transform: translateY(0) scale(.94);
}

.ms-native-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ms-native-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #cfd8d9;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.ms-native-dot.is-active {
    width: 22px;
    background: #22a887;
}

@media (prefers-reduced-motion: reduce) {

    .ms-native-carousel-track,
    .ms-native-carousel-controls>button,
    .ms-native-dot {
        transition-duration: .01ms;
    }
}

/* Homepage content and sidebar use the same proportions as single posts. */
.ms-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
    align-items: start;
}

/* Keep archive/category/search sidebars aligned with home and single posts. */
.ms-archive .ms-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
}

.ms-home-main {
    min-width: 0;
}

.ms-home-sidebar,
.ms-single-sidebar {
    min-width: 0;
}

.ms-blog-sidebar > .ms-side {
    margin-bottom: 16px;
}

.ms-blog-sidebar > .ms-side:last-child {
    margin-bottom: 0;
}

.ms-blog-sidebar .ms-sidebar-posts time {
    display: block;
    margin-top: 2px;
    color: #98a5aa;
    font-size: 9px;
}

.ms-author-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    align-items: start;
}

.ms-author-content-layout > .ms-blog-sidebar {
    margin-top: 52px;
}

@media (min-width: 901px) {

    .ms-home-sidebar,
    .ms-single-sidebar {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 900px) {

    .ms-home-layout,
    .ms-single-layout,
    .ms-layout,
    .ms-archive .ms-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ms-home-sidebar,
    .ms-single-sidebar {
        margin-top: 8px;
    }

    .ms-author-content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ms-author-content-layout > .ms-blog-sidebar {
        margin-top: 0;
    }
}

/* Shared sidebar feedback/contact form. */
:is(.ms-home-sidebar, .ms-single-sidebar) .widget {
    margin: 0 0 18px;
    padding: 24px 22px;
    overflow: hidden;
    border: 1px solid #e3ecea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(31, 76, 65, .07);
}

:is(.ms-home-sidebar, .ms-single-sidebar) :is(.widget-title, .wp-block-heading) {
    margin: 0 0 18px;
    color: #26323c;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-form p {
    margin: 0 0 15px;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-form label {
    display: block;
    color: #42515a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 :is(input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, select) {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7e4e1;
    border-radius: 10px;
    background: #fbfdfc;
    color: #26323c;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 :is(input, textarea, select):focus {
    border-color: #22a887;
    background: #fff;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(34, 168, 135, .12) !important;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-list-item {
    display: inline-flex;
    margin: 0 14px 6px 0;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    cursor: pointer;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 input:is([type="checkbox"], [type="radio"]) {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #22a887;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 input[type="submit"] {
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: #168b70;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(22, 139, 112, .2);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
    background: #116b58;
    box-shadow: 0 11px 22px rgba(22, 139, 112, .25);
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-spinner {
    display: block;
    margin: 10px auto 0;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 11px;
}

:is(.ms-home-sidebar, .ms-single-sidebar) .wpcf7-response-output {
    margin: 14px 0 0 !important;
    padding: 10px 12px !important;
    border-width: 1px !important;
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    :is(.ms-home-sidebar, .ms-single-sidebar) .widget {
        padding: 22px 20px;
    }
}

/* HTML sitemap. */
.ms-sitemap-page {
    padding-bottom: 56px;
}

.ms-sitemap-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 36px clamp(24px, 5vw, 52px);
    overflow: hidden;
    border: 1px solid #dcece7;
    border-radius: 22px;
    background: linear-gradient(120deg, #fff 0%, #f2fbf8 68%, #e9f7f3 100%);
    box-shadow: 0 14px 40px rgba(31, 76, 65, .07);
}

.ms-sitemap-hero::after {
    position: absolute;
    right: -70px;
    bottom: -115px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(34, 168, 135, .07);
    content: "";
}

.ms-sitemap-hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ms-sitemap-hero h1 {
    margin: 8px 0 10px;
    color: #26323c;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.2;
}

.ms-sitemap-hero p {
    max-width: 680px;
    margin: 0;
    color: #6d7d84;
    font-size: 14px;
    line-height: 1.9;
}

.ms-sitemap-intro {
    max-width: 680px;
    color: #6d7d84;
    font-size: 14px;
    line-height: 1.9;
}

.ms-sitemap-intro > :first-child {
    margin-top: 0;
}

.ms-sitemap-intro > :last-child {
    margin-bottom: 0;
}

.ms-sitemap-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    margin: 0;
}

.ms-sitemap-stats>div {
    display: flex;
    width: 78px;
    height: 78px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 168, 135, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
}

.ms-sitemap-stats dt {
    margin-top: 2px;
    color: #71808a;
    font-size: 9px;
    font-weight: 700;
}

.ms-sitemap-stats dd {
    margin: 0;
    color: #116b58;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.ms-sitemap-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0 34px;
}

.ms-sitemap-quick a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px;
    border: 1px solid #e1ebe9;
    border-radius: 13px;
    background: #fff;
    color: #34434b;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(31, 76, 65, .05);
    transition: transform .2s ease, border-color .2s ease;
}

.ms-sitemap-quick a:hover {
    transform: translateY(-2px);
    border-color: #22a887;
}

.ms-sitemap-quick a>span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: #e8f7f3;
    color: #168b70;
}

.ms-sitemap-quick strong {
    font-size: 13px;
}

.ms-sitemap-section+.ms-sitemap-section {
    margin-top: 38px;
}

.ms-sitemap-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}

.ms-sitemap-heading>span {
    width: 7px;
    height: 29px;
    border-radius: 99px;
    background: #22a887;
}

.ms-sitemap-heading h2 {
    margin: 0;
    color: #26323c;
    font-size: clamp(22px, 3vw, 29px);
}

.ms-sitemap-category-index {
    display: flex;
    gap: 7px;
    margin: -3px 0 18px;
    padding: 2px 0 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #b9d9d1 transparent;
}

.ms-sitemap-category-index a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #dfeae7;
    border-radius: 999px;
    background: #fff;
    color: #526169;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.ms-sitemap-category-index a:hover {
    border-color: #22a887;
    color: #168b70;
}

.ms-sitemap-category-index span {
    display: grid;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: #e8f7f3;
    color: #168b70;
    font-size: 8px;
}

.ms-sitemap-page-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-sitemap-page-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 16px;
    border: 1px solid #e2ebe9;
    border-radius: 11px;
    background: #fff;
    color: #34434b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.ms-sitemap-page-links a:hover {
    border-color: #22a887;
    color: #168b70;
}

.ms-sitemap-page-links a span {
    color: #22a887;
}

.ms-sitemap-groups {
    column-count: 2;
    column-gap: 18px;
}

.ms-sitemap-group {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    overflow: hidden;
    break-inside: avoid;
    border: 1px solid #e1ebe9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 76, 65, .05);
}

.ms-sitemap-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e8efed;
    background: linear-gradient(90deg, #f7fcfa, #fff);
}

.ms-sitemap-group-head h3 {
    margin: 0;
    font-size: 17px;
}

.ms-sitemap-group-head h3 a {
    color: #26323c;
    text-decoration: none;
}

.ms-sitemap-group-head h3 a:hover {
    color: #168b70;
}

.ms-sitemap-group-head>span {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e2f5f0;
    color: #168b70;
    font-size: 10px;
    font-weight: 800;
}

.ms-sitemap-group>p {
    margin: 0;
    padding: 14px 20px 0;
    color: #71808a;
    font-size: 11px;
    line-height: 1.7;
}

.ms-sitemap-group ul {
    margin: 0;
    padding: 6px 18px 12px;
    list-style: none;
}

.ms-sitemap-group li+li {
    border-top: 1px solid #edf2f1;
}

.ms-sitemap-group li>a {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    color: #45545c;
    font-size: 11px;
    line-height: 1.55;
    text-decoration: none;
}

.ms-sitemap-group li>a:hover {
    color: #168b70;
}

.ms-sitemap-group time {
    flex: 0 0 auto;
    padding-top: 2px;
    color: #98a5aa;
    font-size: 9px;
}

.ms-footer-sitemap-link {
    margin-top: 12px;
}

@media (max-width: 767px) {
    .ms-sitemap-page {
        padding-bottom: 40px;
    }

    .ms-sitemap-hero {
        display: block;
        padding: 27px 20px;
        border-radius: 17px;
    }

    .ms-sitemap-stats {
        gap: 6px;
        margin-top: 20px;
    }

    .ms-sitemap-stats>div {
        width: 66px;
        height: 66px;
    }

    .ms-sitemap-stats dd {
        font-size: 17px;
    }

    .ms-sitemap-quick {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 16px 0 28px;
    }

    .ms-sitemap-page-links {
        grid-template-columns: 1fr;
    }

    .ms-sitemap-groups {
        column-count: 1;
    }

    .ms-sitemap-group {
        margin-bottom: 14px;
    }

    .ms-sitemap-group li>a {
        display: block;
    }

    .ms-sitemap-group time {
        display: block;
        margin-top: 3px;
    }
}

/* Single-post reading experience. */
.ms-single {
    padding-bottom: 64px;
}

.ms-single .ms-breadcrumb {
    margin-bottom: 8px;
}

.ms-single-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
}

.ms-article {
    border: 1px solid #e2ebe9;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(31, 49, 64, .07);
}

.ms-article-head {
    background: linear-gradient(145deg, #fff 0%, #fbfefd 100%);
}

.ms-article-category {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e8f7f3;
    color: #116b58;
    font-size: 10px;
    text-decoration: none;
}

.ms-article-category:hover {
    background: #d9f1eb;
    color: #0d594a;
}

.ms-article h1 {
    max-width: 850px;
    margin: 14px 0 18px;
    color: #24323b;
    font-size: clamp(29px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.ms-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 18px;
    color: #839198;
    font-size: 11px;
}

.ms-article-meta>span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ms-article-meta i {
    color: #22a887;
    font-size: 12px;
}

.ms-article-meta a {
    color: inherit;
    text-decoration: none;
}

.ms-article-meta a:hover {
    color: #168b70;
}

.ms-article-hero {
    display: block;
    width: calc(100% - clamp(36px, 5vw, 36px));
    max-height: 520px;
    margin: 0 auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(31, 49, 64, .09);
    margin-bottom: 30px;
}

.ms-article-placeholder {
    margin: 0 clamp(18px, 3.5vw, 38px);
    border-radius: 16px;
}

.ms-content {
    max-width: 820px;
    margin: 0 auto;
    color: #3d4a51;
    font-size: 16px;
    line-height: 1.95;
padding: 0;
}

.ms-content> :first-child:not(.ms-toc) {
    margin-top: 0;
}

.ms-content p {
    margin: 0 0 1.55em;
}

.ms-content>p:first-of-type {
    color: #34434b;
    font-size: 17px;
    line-height: 2;
}

.ms-content h2 {
    position: relative;
    margin: 2.2em 0 .9em;
    padding: 14px 18px 14px 21px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #f2faf7;
    color: #26323c;
    font-size: clamp(22px, 3vw, 27px);
    line-height: 1.45;
    letter-spacing: -.015em;
}

.ms-content h2::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 99px;
    background: #22a887;
    content: "";
}

.ms-content h3 {
    margin: 2em 0 .75em;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5eeeb;
    color: #2b3941;
    font-size: clamp(19px, 2.5vw, 22px);
    line-height: 1.5;
}

.ms-content h4 {
    margin: 1.8em 0 .65em;
    color: #34434b;
    font-size: 17px;
    line-height: 1.55;
}

.ms-content :is(ul, ol) {
    margin: 0 0 1.7em;
    padding-left: 1.45em;
}

.ms-content li {
    margin: .42em 0;
    padding-left: .25em;
}

.ms-content li::marker {
    color: #22a887;
    font-weight: 800;
}

.ms-content a {
    color: #147a65;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ms-content a:hover {
    color: #0d594a;
}

.ms-content :is(img, video, iframe) {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ms-content figure {
    max-width: 100%;
    margin: 2em 0;
}

.ms-content figcaption,
.ms-content .wp-caption-text {
    margin-top: 8px;
    color: #839198;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.ms-content blockquote {
    position: relative;
    margin: 2em 0;
    padding: 22px 24px 22px 52px;
    border: 1px solid #dcece7;
    border-radius: 13px;
    background: #f8fcfb;
    color: #526169;
}

.ms-content blockquote::before {
    position: absolute;
    top: 10px;
    left: 17px;
    color: #69bba7;
    font-family: Georgia, serif;
    font-size: 44px;
    line-height: 1;
    content: "“";
}

.ms-content blockquote p:last-child {
    margin-bottom: 0;
}

.ms-content :is(table, .wp-block-table table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #dfe8e6;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.6;
}

.ms-content .wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
}

.ms-content :is(th, td) {
    padding: 11px 13px;
    border: 0;
    border-right: 1px solid #e4ecea;
    border-bottom: 1px solid #e4ecea;
    text-align: left;
    vertical-align: top;
}

.ms-content th {
    background: #edf8f5;
    color: #29443d;
    font-weight: 800;
}

.ms-content tr:last-child>* {
    border-bottom: 0;
}

.ms-content tr>*:last-child {
    border-right: 0;
}

.ms-content :is(pre, code) {
    font-family: Consolas, Monaco, monospace;
}

.ms-content code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #edf4f2;
    color: #295c50;
    font-size: .88em;
}

.ms-content pre {
    margin: 2em 0;
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: 12px;
    background: #24323b;
    color: #e9f4f1;
    font-size: 12px;
    line-height: 1.75;
}

.ms-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.ms-content hr {
    margin: 2.5em 0;
    border: 0;
    border-top: 1px solid #dfe8e6;
}

.ms-content .wp-block-button__link {
    display: inline-flex;
    padding: 11px 20px;
    border-radius: 999px;
    background: #168b70;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 17px rgba(22, 139, 112, .18);
}

.ms-content .wp-block-button__link:hover {
    background: #116b58;
    color: #fff;
}

.ms-toc {
    margin: 0 0 36px;
    padding: 22px 24px;
    border: 1px solid #d8eae5;
    border-radius: 14px;
    background: linear-gradient(145deg, #f3fbf8, #fbfefd);
}

.ms-toc>strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #29443d;
    font-size: 15px;
}

.ms-toc>strong::before {
    display: block;
    width: 5px;
    height: 20px;
    border-radius: 99px;
    background: #22a887;
    content: "";
}

.ms-toc :is(ul, ol) {
    margin: 0;
    padding-left: 1.3em;
}

.ms-toc li {
    margin: .25em 0;
}

.ms-toc a {
    color: #526169;
    font-size: 12px;
    text-decoration: none;
}

.ms-toc a:hover {
    color: #168b70;
}

@media (max-width: 900px) {
    .ms-single-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ms-single {
        padding-bottom: 42px;
    }

    .ms-article {
        border-radius: 16px;
    }

    .ms-article-head {
        padding: 24px 20px 20px;
    }

    .ms-article h1 {
        margin: 11px 0 15px;
        font-size: clamp(25px, 7vw, 33px);
        line-height: 1.4;
    }

    .ms-article-hero {
        width: calc(100% - 24px);
        border-radius: 11px;
    }

    .ms-content {
        padding: 30px 20px 38px;
        font-size: 15px;
        line-height: 1.9;
    }

    .ms-content>p:first-of-type {
        font-size: 15px;
        line-height: 1.95;
    }

    .ms-content h2 {
        margin-top: 1.9em;
        padding: 12px 14px 12px 17px;
    }

    .ms-content blockquote {
        padding: 19px 18px 19px 42px;
    }

    .ms-content blockquote::before {
        left: 12px;
    }

    .ms-toc {
        margin-bottom: 28px;
        padding: 18px;
    }
}
/* Helpful 404 recovery page. */
.ms-error-page { display:grid; min-height:clamp(540px, 70vh, 760px); padding:48px 0 70px; place-items:center; }
.ms-error-card { display:grid; grid-template-columns:minmax(280px, 38%) minmax(0, 1fr); min-height:480px; overflow:hidden; border:1px solid #dceae7; border-radius:26px; background:#fff; box-shadow:0 20px 60px rgba(31,76,65,.1); }
.ms-error-visual { position:relative; display:grid; min-height:100%; place-items:center; overflow:hidden; background:linear-gradient(145deg,#e7f7f2,#f6fcfa); color:#168b70; }
.ms-error-visual::before,.ms-error-visual::after { position:absolute; border-radius:50%; content:""; }
.ms-error-visual::before { top:-90px; left:-90px; width:240px; height:240px; background:rgba(34,168,135,.08); }
.ms-error-visual::after { right:-75px; bottom:-85px; width:220px; height:220px; border:35px solid rgba(34,168,135,.07); }
.ms-error-visual strong { position:relative; z-index:2; color:#116b58; font-size:clamp(76px,10vw,130px); line-height:1; letter-spacing:-.08em; text-shadow:0 10px 25px rgba(17,107,88,.1); }
.ms-error-visual i { position:absolute; z-index:3; top:calc(50% + 48px); left:calc(50% + 68px); display:grid; width:64px; height:64px; place-items:center; border:7px solid #fff; border-radius:50%; background:#22a887; color:#fff; font-size:25px; box-shadow:0 10px 24px rgba(22,139,112,.25); }
.ms-error-orbit { position:absolute; width:250px; height:250px; border:1px dashed rgba(22,139,112,.25); border-radius:50%; }
.ms-error-content { display:flex; min-width:0; flex-direction:column; justify-content:center; padding:46px clamp(28px,5vw,64px); }
.ms-error-content h1 { margin:9px 0 12px; color:#26323c; font-size:clamp(30px,4vw,43px); line-height:1.3; letter-spacing:-.025em; }
.ms-error-content>p { max-width:620px; margin:0 0 24px; color:#6c7b82; font-size:13px; line-height:1.9; }
.ms-error-search { display:flex; max-width:560px; align-items:center; padding:5px; border:1px solid #d7e5e1; border-radius:13px; background:#fbfdfc; transition:border-color .2s ease,box-shadow .2s ease; }
.ms-error-search:focus-within { border-color:#22a887; box-shadow:0 0 0 4px rgba(34,168,135,.1); }
.ms-error-search>i { margin-left:11px; color:#7c8b91; font-size:15px; }
.ms-error-search input { min-width:0; height:42px; flex:1; padding:0 11px; border:0; outline:0; background:transparent; color:#26323c; font:inherit; font-size:13px; }
.ms-error-search button { height:40px; padding:0 20px; border:0; border-radius:9px; background:#168b70; color:#fff; font-size:12px; font-weight:800; cursor:pointer; }
.ms-error-search button:hover { background:#116b58; }
.ms-error-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:17px; }
.ms-error-actions :is(a,button) { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:7px; padding:9px 16px; border-radius:999px; font:inherit; font-size:11px; font-weight:800; text-decoration:none; cursor:pointer; }
.ms-error-home { border:0; background:#e5f5f1; color:#116b58; }
.ms-error-home:hover { background:#d7eee8; color:#0d594a; }
.ms-error-back { border:1px solid #dfe8e6; background:#fff; color:#637279; }
.ms-error-back:hover { border-color:#a9d7cb; color:#168b70; }
.ms-error-categories { margin-top:28px; padding-top:19px; border-top:1px solid #e8efed; }
.ms-error-categories>span { display:block; margin-bottom:9px; color:#7c8a91; font-size:9px; font-weight:800; letter-spacing:.08em; }
.ms-error-categories>div { display:flex; flex-wrap:wrap; gap:7px; }
.ms-error-categories a { padding:6px 10px; border-radius:999px; background:#f2f7f5; color:#526169; font-size:9px; font-weight:700; text-decoration:none; }
.ms-error-categories a:hover { background:#e2f3ee; color:#168b70; }
@media (max-width:767px) {
    .ms-error-page { display:block; min-height:0; padding:24px 0 46px; }
    .ms-error-card { grid-template-columns:1fr; min-height:0; border-radius:19px; }
    .ms-error-visual { min-height:210px; }
    .ms-error-visual strong { font-size:86px; }
    .ms-error-visual i { top:calc(50% + 25px); left:calc(50% + 45px); width:52px; height:52px; border-width:5px; font-size:20px; }
    .ms-error-orbit { width:175px; height:175px; }
    .ms-error-content { padding:30px 20px 34px; }
    .ms-error-content h1 { font-size:28px; }
    .ms-error-search button { padding:0 15px; }
}
/* Sticky site header. */
html { scroll-padding-top: 86px; }
.ms-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(150%) blur(12px);
    transition: box-shadow .22s ease, background-color .22s ease;
}
.ms-header.is-scrolled {
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 8px 24px rgba(31, 49, 64, .1);
}
.admin-bar .ms-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .ms-header { top: 0px; }
}
@media (max-width: 767px) {
    html { scroll-padding-top: 74px; }
}

/* Responsive sticky-header layout. */
.ms-header .ms-logo {
    display: inline-flex;
    min-width: 0;
    flex: 0 0 auto;
}

.ms-header .ms-links {
    min-width: 0;
}

@media (max-width: 900px) {
    html { scroll-padding-top: 132px; }

    .ms-header-top {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px 14px;
        padding: 8px 0 9px;
    }

    .ms-header .ms-logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
    }

    .ms-header .ms-logo :is(img, .custom-logo) {
        width: 125px;
        max-height: 38px;
    }

    .ms-header .ms-links {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
        overflow: hidden;
    }

    .ms-header .ms-links ul {
        justify-content: flex-end;
        gap: 6px;
        padding: 2px 0;
        overflow-x: auto;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .ms-header .ms-links ul::-webkit-scrollbar {
        display: none;
    }

    .ms-header .ms-links li {
        flex: 0 0 auto;
        margin: 0;
    }

    .ms-header .ms-links li a {
        padding: 6px 8px;
        font-size: 10px;
    }

    .ms-header .ms-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-width: none;
    }

    .ms-header .ms-search input[type="search"] {
        height: 40px;
        padding-right: 46px;
        font-size: 12px;
    }
}

@media (max-width: 520px) {
    html { scroll-padding-top: 124px; }

    .ms-header-top {
        gap: 6px 9px;
        padding: 7px 0 8px;
    }

    .ms-header .ms-logo :is(img, .custom-logo) {
        width: 104px;
        max-height: 34px;
    }

    .ms-header .ms-links li a {
        padding: 5px 6px;
        font-size: 9px;
    }

    .ms-header .ms-search input[type="search"] {
        height: 38px;
        padding-left: 14px;
        font-size: 11px;
    }

    .ms-header .ms-search button {
        right: 4px;
        min-width: 31px;
        min-height: 31px;
    }
}
