/* Shared component presentation; text, images and links remain native blocks. */
.fs-team-description > .wp-block-buttons { margin: 20px 0 0; }

/* Stretch the existing columns and their wrapper, letting the longest editable
   description set the row height. No text clipping or fixed card heights. */
.fs-row:has(> .fs-column .fs-service-card) { align-items: stretch; }
.fs-row > .fs-column:has(.fs-service-card),
.fs-code:has(> .fs-service-card),
.fs-service-card { display: flex; flex-direction: column; }
.fs-code:has(> .fs-service-card), .fs-service-card, .fs-service-card > p { flex: 1; }

/* Give the native catalog search and price inputs the site's control style. */
.fs-content .wp-block-search { margin-block: 24px; }
.fs-content .wp-block-search__label { display: block; margin-bottom: 8px; }
.fs-content .wp-block-search__inside-wrapper { gap: 10px; align-items: stretch; }
.fs-content .wp-block-search__input,
.wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__left input[type="text"],
.wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__right input[type="text"] {
    min-height: 44px;
    min-width: 0;
    border: 1px solid var(--site-color-navy);
    border-radius: 2px;
    padding: 9px 12px;
    color: var(--site-color-navy);
    background: var(--site-color-paper);
    font: inherit;
}
.wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__left input[type="text"],
.wc-block-product-filter-price-slider .wc-block-product-filter-price-slider__right input[type="text"] {
    width: 88px;
    max-width: 100%;
}
.fs-content .wp-block-search__button {
    margin: 0;
    min-height: 44px;
    border: 2px solid var(--site-color-navy);
    border-radius: 2px;
    padding: 9px 20px;
    background: var(--site-color-navy);
    color: var(--site-color-paper);
    font: inherit;
    font-weight: 600;
}
.fs-content .wp-block-search__button:hover { background: var(--site-color-paper); color: var(--site-color-navy); }
.wc-block-product-filters__open-overlay { min-height: 44px; }
.wc-block-product-filters :is(.wp-block-woocommerce-product-filter-taxonomy,
    .wp-block-woocommerce-product-filter-price, .wp-block-woocommerce-product-filter-status) {
    margin-block: 0 24px;
}
.wc-block-product-filters .wp-block-heading { padding-bottom: 12px; }

/* Keep the desktop menu in one row without shrinking its text or targets. */
@media (min-width: 1200px) {
    .fs-header-inner { width: max(80%, 1120px); max-width: calc(100% - 48px); }
    nav.fs-navigation .wp-block-navigation-item > .wp-block-navigation__submenu-container {
        min-width: 240px;
        border: 0;
        border-top: 3px solid var(--site-color-accent);
        padding: 12px;
        background: var(--site-color-paper);
    }
}
