/* Header controls use the existing cream and forest-green palette. */
.myths-search-form,.myths-search-form input,.myths-search-form button,#mobile-header .myths-mobile-search summary{box-sizing:border-box}
#masthead .myths-header-search{margin-left:20px;margin-right:0;flex-shrink:0}
.myths-search-form{display:flex;align-items:stretch;margin:0;border:1px solid #9aa69b;border-radius:6px;background:#fff;color:#193c32;overflow:hidden}
#masthead .myths-search-form{width:236px}
.myths-search-form input[type="search"]{width:100%;min-width:0;border:0!important;box-shadow:none!important;border-radius:0;padding:10px 12px;background:transparent;color:#193c32;font-family:inherit;font-size:16px;line-height:1.4;height:44px}
.myths-search-form input::placeholder{color:#53665d;opacity:1}
.myths-search-form button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:44px;border:0;border-radius:0;background:transparent;color:#214d3f;box-shadow:none;padding:10px;cursor:pointer}
.myths-search-form button:hover{background:#e9ece1;color:#163b30}
.myths-search-form:focus-within{outline:2px solid #305b47;outline-offset:3px}
.myths-search-form input:focus{outline:none}
.myths-search-form button:focus-visible{outline:2px solid #305b47;outline-offset:-3px}
#mobile-header .myths-mobile-search{position:static;align-self:center;margin:0 4px 0 0;padding:0;border:0}
#mobile-header .myths-mobile-search summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;background:transparent;color:#193c32;cursor:pointer;border-radius:4px}
#mobile-header .myths-mobile-search summary::-webkit-details-marker{display:none}
#mobile-header .myths-mobile-search summary:hover,#mobile-header .myths-mobile-search[open] summary{background:#e9ece1}
#mobile-header .myths-mobile-search summary:focus-visible{outline:2px solid #305b47;outline-offset:2px}
#mobile-header .site-main-header-wrap{position:relative}
#mobile-header .site-main-header-wrap .site-header-row-container-inner,#mobile-header .site-main-header-wrap .site-container,#mobile-header .site-main-header-inner-wrap,#mobile-header .site-header-main-section-right{position:static}
#mobile-header .myths-mobile-search-panel{position:absolute;top:100%;left:0;right:0;z-index:100;padding:18px 20px 14px;background:#f7f4eb;border-top:1px solid #d9d9ce;border-bottom:1px solid #b4bbae;box-shadow:0 10px 16px rgba(25,60,50,.09)}
#mobile-header .myths-mobile-search-panel .myths-search-form{width:100%;max-width:650px;margin:0 auto}
#mobile-header .myths-mobile-search-panel p{max-width:650px;margin:10px auto 0;color:#52645b;font-size:16px;line-height:1.45}
.myths-library-results{width:calc(100% - 48px);max-width:1180px;margin:0 auto;padding:52px 0 64px;color:#193c32}
.myths-results-header{margin-bottom:30px}
.myths-search-eyebrow,.myths-result-type{font-family:Arial,sans-serif;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9c462e}
.myths-search-eyebrow{font-size:13px;margin:0 0 14px}
.myths-results-header h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,58px);line-height:1.13;margin:0 0 24px;color:#222;overflow-wrap:anywhere}
.myths-results-header .myths-search-form{max-width:650px}
.myths-result-count{font-size:16px;margin:16px 0 0;color:#52645b}
.myths-search-results-list{display:grid;gap:20px}
.myths-search-result{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding:24px;background:#f7f4eb;border:1px solid #dddfd4;border-radius:6px}
.myths-search-result.has-image{grid-template-columns:200px minmax(0,1fr)}
.myths-result-image{align-self:start;display:block;overflow:hidden;border-radius:3px}
.myths-result-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.myths-result-type{font-size:12px;line-height:1.5;margin:0 0 7px}
.myths-result-copy h2{font-family:Georgia,serif;font-size:28px;line-height:1.2;margin:0 0 12px}
.myths-result-copy h2 a{color:#214d3f;text-decoration:none}
.myths-result-copy h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.myths-result-copy>p:last-child{font-size:17px;line-height:1.65;margin:0;color:#42594e}
.myths-library-results .pagination{margin-top:32px}
.myths-search-empty{padding:24px;background:#f7f4eb;border-top:3px solid #305b47}
.myths-search-empty h2{margin-top:0;font-family:Georgia,serif}
.myths-search-empty p{font-size:18px;line-height:1.6}
@media(min-width:1025px) and (max-width:1250px){#masthead .myths-header-search{margin-left:12px}#masthead .myths-header-search .myths-search-form{width:210px}#masthead #site-navigation .primary-menu-container>ul>li>a{padding-left:10px;padding-right:10px}}
@media(max-width:600px){.myths-library-results{width:calc(100% - 36px);padding-top:32px}.myths-search-result,.myths-search-result.has-image{grid-template-columns:minmax(0,1fr);padding:18px;gap:16px}.myths-result-image img{aspect-ratio:16/9}.myths-result-copy h2{font-size:26px}.myths-result-count{line-height:1.6}}
@media(max-width:360px){#mobile-header .site-branding .custom-logo{max-width:44px}#mobile-header .site-title{font-size:26px}#mobile-header .myths-mobile-search{margin-right:0}}
