/* Search stays within the shared canvas; only the modal has its own surface. */
.nav[data-focuschrist-header="standard"] .fc-search-trigger {
    position:absolute;right:44px;top:50%;transform:translateY(-50%);
    display:flex;align-items:center;gap:8px;min-height:44px;padding:0 8px;
    color:#f0c36a;text-decoration:none;font:600 13px/1.2 Arial,sans-serif;
}
.fc-search-icon {display:block;width:16px;height:16px;border:2px solid currentColor;border-radius:50%;position:relative;box-sizing:border-box;margin-right:4px;}
.fc-search-icon::after {content:'';position:absolute;width:7px;height:2px;background:currentColor;right:-6px;bottom:-3px;transform:rotate(45deg);}
.fc-search-trigger:focus-visible,.fc-search-dialog button:focus-visible,.fc-search-form input:focus-visible,.fc-search-result a:focus-visible {outline:2px solid #f0c36a;outline-offset:4px;}
.fc-search-dialog {box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:calc(100svh - 32px);overflow:auto;padding:clamp(22px,4vw,36px);border:1px solid #779488;border-radius:18px;background:#17323f;color:#fff2dc;box-shadow:0 20px 70px #06171d80;margin:auto;}
.fc-search-dialog::backdrop {background:#041319b8;}
.fc-search-dialog h2 {clear:both;font:normal clamp(25px,4vw,34px)/1.2 Georgia,serif;color:#f0c36a;margin:12px 0 24px;}
.fc-search-close {float:right;background:transparent;color:#f0c36a;border:1px solid #779488;border-radius:24px;min-height:44px;padding:8px 18px;cursor:pointer;}
.fc-search-form {width:100%;margin:0;}
.fc-search-form label {display:block;font-weight:600;margin:0 0 12px;color:#fff2dc;}
.fc-search-row {display:flex;align-items:stretch;gap:12px;}
.fc-search-form input {box-sizing:border-box;min-width:0;flex:1;width:100%;border:1px solid #819e9f;border-radius:12px;background:#102a35;color:#fff2dc;padding:14px 16px;font:inherit;font-size:16px;min-height:50px;}
.fc-search-form input::placeholder {color:#b8cbce;opacity:1;}
.fc-search-row .fc-button {flex-shrink:0;min-height:50px;cursor:pointer;margin:0;}
.fc-search-directory {margin-bottom:32px;padding-bottom:28px;border-bottom:1px solid #f0c36a26;scroll-margin-top:96px;}
.fc-search-main {max-width:1040px;margin:0 auto;padding:48px 24px 56px;color:#fff2dc;}
.fc-search-main h1 {font:normal clamp(34px,5vw,48px)/1.2 Georgia,serif;color:#f0c36a;margin:0 0 16px;}
.fc-search-main > p {max-width:68ch;line-height:1.6;margin:0 0 28px;}
.fc-search-main .fc-search-form {margin-bottom:24px;}
#fc-search-status {margin:24px 0;line-height:1.6;overflow-wrap:anywhere;}
.fc-search-results {list-style:none;padding:0;margin:0;}
.fc-search-result {display:flex;gap:20px;padding:26px 0;border-bottom:1px solid #f0c36a26;}
.fc-search-result-copy {min-width:0;}
.fc-search-result h2 {font:normal clamp(23px,3vw,29px)/1.25 Georgia,serif;margin:6px 0 10px;overflow-wrap:anywhere;text-align:left;}
.fc-search-result h2 a {color:#f0c36a;text-decoration:none;}
.fc-search-result h2 a:hover {text-decoration:underline;}
.fc-search-category {font:600 12px/1.5 Arial,sans-serif;letter-spacing:.7px;color:#bfd0c6;margin:0;}
.fc-search-excerpt {font-size:16px;line-height:1.65;margin:0;overflow-wrap:anywhere;}
.fc-search-result img {width:112px;height:84px;object-fit:cover;border-radius:10px;flex-shrink:0;margin-top:6px;}
.fc-search-next {margin-top:32px;}
.fc-search-next p {line-height:1.6;}
#fc-search-more {margin-top:24px;}
.fc-search-main [hidden] {display:none!important;}
@media(max-width:1200px){.fc-search-trigger-label {display:none;}.nav[data-focuschrist-header="standard"] .fc-search-trigger {width:44px;justify-content:center;padding:0;right:30px;}}
@media(max-width:1020px){
    .nav[data-focuschrist-header="standard"].fc-has-current-study .nav-links {margin-right:58px!important;}
    .nav[data-focuschrist-header="standard"].fc-has-current-study .nav-links a[data-focuschrist-current-study] {display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:2.6em;}
}
@media(max-width:540px){.fc-search-row {flex-direction:column;}.fc-search-main{padding:36px 20px 40px;}.fc-search-result{gap:12px;}.fc-search-result img{width:76px;height:76px;}.fc-search-directory{margin-bottom:26px;padding-bottom:24px;}}

.fc-search-group-title {font:normal 28px/1.3 Georgia,serif;color:#f0c36a;margin:28px 0 0;}
.fc-search-supporting {margin-top:28px;}
.fc-search-supporting summary {color:#f0c36a;font-weight:600;cursor:pointer;padding:14px 0;min-height:44px;box-sizing:border-box;}
.fc-search-supporting > p {max-width:68ch;line-height:1.6;}
.fc-search-supporting summary:focus-visible {outline:2px solid #f0c36a;outline-offset:4px;}
.fc-search-supporting > button {margin-top:24px;}
