/* Match the original magnifier and dark, full-screen search overlay. */
.sr-header-search summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; font-size:0!important; border-radius:50%; color:#1f1f1f; transition:background-color .2s ease,color .2s ease; }
.sr-header-search summary::before,.sr-search-modal .wp-block-search__button::before { content:""; display:block; width:21px; height:21px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") center/contain no-repeat; }
.sr-header-search summary:hover { background:#f3eee6; color:#756044; }
.sr-search-is-open { overflow:hidden; }
.sr-search-modal { position:fixed; inset:0; width:100%; height:100%; height:100dvh; max-width:none; max-height:none; margin:0; padding:clamp(80px,16vh,180px) 5vw 60px; border:0; background:rgba(10,24,20,.96); color:#fff; overflow-y:auto; z-index:100000; }
.sr-search-modal::backdrop { background:rgba(0,0,0,.15); }
.sr-search-modal[open] { display:flex; align-items:safe center; justify-content:center; }
.sr-search-panel { width:min(100%,900px); margin:auto; }
.sr-search-close { position:fixed; top:28px; right:28px; width:48px; height:48px; border:0; background:transparent; color:white; font:300 38px/1 Arial,sans-serif; cursor:pointer; border-radius:50%; }
.sr-search-close:hover { color:#d8b78b; background:#ffffff10; }
.sr-search-modal .wp-block-search__label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.sr-search-modal .wp-block-search__inside-wrapper { border:0; border-bottom:1px solid #ffffff60; padding:0 0 18px; gap:18px; }
.sr-search-modal .wp-block-search__input { width:100%; background:transparent; color:#fff; border:0; box-shadow:none; border-radius:0; font-family:inherit; font-size:clamp(22px,3vw,32px); padding:10px 4px; }
.sr-search-modal .wp-block-search__input::placeholder { color:#deded9; opacity:1; }
.sr-search-modal .wp-block-search__button { display:flex; align-items:center; justify-content:center; margin:0; width:52px; min-width:52px; height:52px; border:0; border-radius:12px; padding:0; font-size:0; background:#b8956a; color:white; cursor:pointer; }
.sr-search-modal .wp-block-search__button:hover { background:#99794f; }
.sr-search-status { font-size:13px; color:#d3d9d4; margin:18px 0; min-height:22px; }
.sr-live-results { list-style:none; padding:0; margin:20px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 40px; }
.sr-live-results li { margin:0; }
.sr-search-modal a { color:#fff; text-decoration:none; }
.sr-live-results a { display:block; padding:14px 0; font-size:16px; line-height:1.5; }
.sr-search-modal a:is(:hover,:focus-visible) { color:#d8b78b; text-decoration:underline; text-underline-offset:4px; }
.sr-search-more { display:block; text-align:center; margin-top:30px; padding:12px; text-decoration:underline!important; }
.sr-search-more[hidden] { display:none; }
.sr-search-modal :is(a,button,input):focus-visible { outline:2px solid #d8b78b; outline-offset:4px; }
@media(max-width:699px){
 .sr-header-controls { gap:8px; }
 .sr-search-modal { padding:90px 24px 36px; }
 .sr-search-modal[open] { align-items:flex-start; }
 .sr-search-panel { margin:8vh auto 0; }
 .sr-search-close { top:18px; right:16px; }
 .sr-live-results { grid-template-columns:1fr; gap:0; }
 .sr-live-results a { padding:12px 0; }
 .sr-search-status { font-size:12px; }
}
@media(prefers-reduced-motion:reduce){.sr-header-search summary{transition:none}}

/* Desktop search follows navigation; compact headers retain search then menu. */
@media (max-width:1199px) {
 .sr-header-controls > .sr-header-search { order:-1; }
}

/* A clear, generously sized search field in the site's cream and gold palette. */
.sr-search-modal { background:rgba(26,26,26,.97); }
.sr-search-modal .wp-block-search__label { position:static; display:block; width:auto; height:auto; margin:0 0 18px; overflow:visible; clip-path:none; white-space:normal; color:#f8f6f3; font-family:'Cormorant Garamond',serif; font-size:clamp(30px,4vw,44px); font-weight:600; line-height:1.15; }
.sr-search-modal .wp-block-search__inside-wrapper { display:flex; align-items:center; gap:12px; padding:10px; border:1px solid #d8cfc2; border-radius:12px; background:#f8f6f3; box-shadow:0 12px 36px #0003; transition:box-shadow .2s ease,border-color .2s ease; }
.sr-search-modal .wp-block-search__inside-wrapper:focus-within { border-color:#b8956a; box-shadow:0 0 0 3px #b8956a66,0 12px 36px #0003; }
.sr-search-modal .wp-block-search__input { min-width:0; min-height:56px; padding:12px 16px; color:#1f1f1f; font-size:clamp(18px,2vw,24px); line-height:1.4; }
.sr-search-modal .wp-block-search__input::placeholder { color:#716a60; }
.sr-search-modal .wp-block-search__input:focus-visible { outline:0; }
.sr-search-modal .wp-block-search__button { width:auto; min-width:132px; height:56px; gap:10px; padding:0 20px; border-radius:7px; font-size:14px; font-weight:600; background:#b8956a; color:#1a1a1a; }
.sr-search-modal .wp-block-search__button:hover { background:#d4bb97; }
.sr-search-modal .wp-block-search__button:focus-visible { outline-color:#1f1f1f; outline-offset:2px; }
@media(max-width:699px) {
 .sr-search-modal .wp-block-search__inside-wrapper { padding:7px; gap:6px; }
 .sr-search-modal .wp-block-search__input { padding:10px 8px; min-height:50px; font-size:16px; }
 .sr-search-modal .wp-block-search__button { min-width:50px; width:50px; height:50px; padding:0; font-size:0; gap:0; }
}
@media(prefers-reduced-motion:reduce) { .sr-search-modal .wp-block-search__inside-wrapper { transition:none; } }

/* White label and magnifier on the gold search button. */
.sr-search-modal .wp-block-search__button,
.sr-search-modal .wp-block-search__button:hover { color:#fff; }
.sr-search-modal .wp-block-search__button { transition:background-color .35s ease,color .35s ease; }
.sr-search-modal .wp-block-search__button:hover { background:#80613f; color:#fff; translate:none; filter:none; box-shadow:none; }
@media(prefers-reduced-motion:reduce) { .sr-search-modal .wp-block-search__button { transition:none; } }

/* Compact desktop suggestions; retain the established mobile layout. */
@media (min-width:700px) {
 .sr-search-modal[open] {align-items:flex-start;padding-top:clamp(96px,14vh,150px);}
 .sr-search-modal .sr-search-panel {width:min(100%,760px);margin:0 auto;}
 .sr-search-modal .sr-search-status {margin:16px 0 12px;line-height:1.6;}
 .sr-search-modal .sr-live-results {display:block;margin:0;padding:0;border-radius:10px;overflow:visible;}
 .sr-search-modal .sr-live-results li {margin:0;border-bottom:1px solid #ffffff1c;}
 .sr-search-modal .sr-live-results li:last-child {border-bottom:0;}
 .sr-search-modal .sr-live-results a {display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 16px;font-size:15px;line-height:1.5;border-radius:6px;transition:background-color .15s ease,color .15s ease;}
 .sr-search-modal .sr-live-results a::after {content:"";width:15px;height:15px;flex:none;background:currentColor;opacity:.65;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;}
 .sr-search-modal .sr-live-results a:is(:hover,:focus-visible) {background:#ffffff0d;color:#ead3b2;text-decoration:none;}
 .sr-search-modal .sr-live-results a:focus-visible {outline:2px solid #d8b78b;outline-offset:1px;}
 .sr-search-modal .sr-search-more {width:fit-content;margin:16px 0 0 auto;padding:8px 0;font-size:14px;color:#ead3b2;text-underline-offset:4px;}
}
@media (min-width:700px) and (prefers-reduced-motion:reduce) {.sr-search-modal .sr-live-results a {transition:none;}}
