/* Native Search, Buttons and Group wrappers retain the approved search layout. */
.petal .t-search-controls > .wp-block-search { margin: 0; }
.petal .t-search-results-section .t-search-controls { margin-bottom: 20px; }
.petal .t-search-controls .wp-block-search__label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 1.6; font-weight: 400; }
.petal .t-search-controls .t-search-suggestions { margin-top: 4px; }
.petal .t-search-controls .wp-block-search__inside-wrapper { display: flex; align-items: stretch; padding: 0; border: 0; gap: 0; }
.petal .t-search-controls .wp-block-search__input { border-radius: 0; line-height: 1.6; }
.petal .t-search-controls .wp-block-search__button { margin: 0; min-height: 50px; padding: 14px 22px; border: 1px solid var(--s-color-wine); border-radius: 0; background: var(--s-color-wine); color: var(--s-color-cream); font: 400 14px/1.6 var(--s-font-body); letter-spacing: .02em; white-space: nowrap; }
.petal .t-search-suggestions > p { margin: 0; font-size: 14px; line-height: 1.6; }
.petal .t-search-suggestions .wp-block-buttons { display: contents; }
.petal .t-search-suggestions .wp-block-button { margin: 0; }
.petal .t-search-suggestions .wp-block-button__link { padding: 0; min-height: 44px; display: inline-flex; align-items: center; border: 0; border-radius: 0; background: none; color: inherit; font: 400 14px/1.6 var(--s-font-body); text-decoration: underline; text-underline-offset: 4px; }
.petal .serein-search-output > .t-count { margin: 0 0 20px; }
.petal .t-search-results-section .t-empty h2 { margin: 0; }
.petal .t-search-results-section .t-empty > p { margin-block: 20px; }
.petal .t-search-results-section .t-empty .wp-block-button__link { padding: 10px 0; min-height: 44px; line-height: 1.5; }
.serein-search-pagination { display: flex; gap: 20px; margin-top: 32px; }
.serein-search-pagination a,.serein-search-pagination span { padding: 8px; }
.editor-styles-wrapper .wp-block-serein-search-results .serein-search-empty-preview { margin: 0; }
.editor-styles-wrapper .wp-block-serein-search-results:not(:has(.serein-search-output[data-search-count="0"])) .serein-search-empty-preview { display: none; }
/* Header search is a native link to the Search page, with its accessible text intact. */
.petal .serein-header-search-wrap,.petal .serein-header-search { margin: 0; }
.petal .serein-header .serein-header-search .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 0; line-height: 0; }
.petal .serein-header-search .wp-block-button__link::before { content: ''; display: block; width: 23px; height: 23px; background: currentColor; mask: url('../assets/icons/search.svg') center / contain no-repeat; }
@media(max-width:700px) {
 .petal .t-search-results-section .t-search-controls { margin-bottom: 16px; }
 .petal .t-search-controls .wp-block-search__button { padding-inline: 16px; }
 .petal .serein-header .serein-header-search .wp-block-button__link { width: 40px; }
}
