@charset "UTF-8";

.search-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.header-tools svg, .search-toggle svg, .search-page-input svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.header-search-form { display: flex; align-items: center; width: 310px; height: 36px; border: 1px solid #c8d0c0; background: rgb(255 255 255 / 94%); border-radius: 999px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.header-search-form:focus-within { border-color: #718769; box-shadow: 0 0 0 3px rgb(83 107 71 / 9%); }
.header-search-form .header-search-icon { flex: 0 0 auto; width: 16px; height: 16px; margin-left: 14px; color: #687d60; stroke-width: 1.4; }
.header-search-form input { width: 100%; min-width: 0; padding: 5px 10px; border: 0; outline: 0; background: transparent; color: #344b37; font: inherit; font-size: 13px; line-height: 1.5; letter-spacing: .04em; }
.header-search-form input::placeholder { color: #737d6a; }
.header-search-form button { align-self: stretch; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 56px; padding: 0 14px; color: #405b41; background: transparent; border: 0; border-left: 1px solid #e4e8df; cursor: pointer; font: inherit; font-size: 13px; letter-spacing: .08em; transition: background .2s; }
.header-search-form button:hover { background: #edf1e7; }
.header-search-form .header-search-submit-icon { display: none; width: 18px; height: 18px; stroke-width: 1.4; }
.header-contact-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; color: #fff; background: #395b3e; border: 1px solid #395b3e; border-radius: 999px; font-size: 13px; letter-spacing: .06em; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.header-contact-link:hover { color: #fff; background: #2d4d32; border-color: #2d4d32; }
.header-contact-link svg { flex: 0 0 auto; width: 17px; height: 17px; stroke-width: 1.3; }
.header-contact-link .header-contact-arrow { width: 9px; height: 9px; margin-left: 2px; stroke-width: 1.3; transition: transform .2s; }
.header-contact-link:hover .header-contact-arrow { transform: translateX(2px); }
.search-toggle, .header-search-close, .header-note-link { display: none; }
.header-tools a:focus-visible, .header-tools button:focus-visible, .search-toggle:focus-visible, .nav-toggle:focus-visible { outline: 2px solid #526e49; outline-offset: 3px; }

@media (min-width: 861px) {
  .site-wrapper { padding-top: 100px; }
  .site-header .header-inner { --header-menu-width: 544px; --header-nav-width: 560px; display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: 36px 26px; gap: 10px 30px; min-height: 100px; padding: 14px clamp(24px, 2.1vw, 40px) 14px 20px; }
  .site-header .site-logo { grid-column: 1; grid-row: 1 / 3; width: 220px; margin: 0; }
  .header-tools { grid-column: 2; grid-row: 1; justify-self: end; width: min(100%, var(--header-menu-width)); padding: 0; transform: translateY(3px); z-index: 2; }
  .header-tools .header-search-form { flex: 0 1 246px; width: auto; min-width: 0; }
  .header-note-link { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 36px; padding: 0 4px; color: #40553d; font-size: 13px; letter-spacing: .06em; white-space: nowrap; text-decoration: none; transition: color .2s; }
  .header-note-link svg { flex: 0 0 auto; width: 16px; height: 16px; stroke-width: 1.3; }
  .header-note-link > span { font-weight: 600; }
  .header-note-link::after { content: ""; position: absolute; right: 4px; bottom: 5px; left: 4px; height: 1px; background: #829477; opacity: 0; transform: scaleX(.65); transition: opacity .2s, transform .2s; }
  .header-note-link:hover, .header-note-link:focus-visible { color: #2d4d32; }
  .header-note-link:hover::after, .header-note-link:focus-visible::after { opacity: 1; transform: scaleX(1); }
  .header-search-form > .header-search-icon { display: none; }
  .header-search-form input { padding-left: 16px; }
  .header-search-form button { min-width: 44px; padding: 0 12px; }
  .header-search-form button > span { display: none; }
  .header-search-form button > .header-search-submit-icon { display: block; }
  .header-tools .header-contact-link { flex: 0 0 auto; }
  .site-header .global-nav { grid-column: 2; grid-row: 2; justify-self: end; width: min(100%, var(--header-nav-width)); margin: 0; transform: translate(-15px, 3px); z-index: 1; }
  .site-header .nav-list { width: 100%; justify-content: space-between; }
  .site-header .nav-contact-item, .site-header .nav-note-item { display: none; }
  .site-header .nav-item > a { padding: 0; font-size: 14px; line-height: 24px; }
  .site-header .nav-list > .nav-item > a { margin-top: 0; margin-bottom: 0; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .site-header .header-inner { --header-menu-width: 504px; --header-nav-width: 520px; grid-template-columns: 170px minmax(0, 1fr); column-gap: 20px; }
  .site-header .site-logo { width: 170px; }
  .site-header .nav-item > a { font-size: 13px; }
  .header-tools { gap: 14px; }
}
@media (max-width: 860px) {
  .site-header { --mobile-header-height: 64px; --mobile-control-axis: 31px; }
  .site-wrapper { padding-top: 64px; }
  .site-header .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 8px; min-height: 64px; padding: 0 calc(var(--mobile-control-axis) - 22px) 0 16px; }
  .site-header .site-logo { width: 140px; max-width: 100%; margin: 0; }
  .search-toggle, .site-header .nav-toggle { display: flex; position: relative; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; color: #40553d; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
  .search-toggle, .site-header .nav-toggle, .site-header .global-nav .submenu-toggle { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .search-toggle { grid-column: 2; }
  .search-toggle svg { width: 24px; height: 24px; stroke-width: 1.6; }
  .site-header .nav-toggle { grid-column: 3; }
  .site-header .nav-toggle span { width: 22px; height: 1.5px; top: 50%; background: currentColor; }
  .site-header .nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 7px)); }
  .site-header .nav-toggle span:nth-child(2) { transform: translate(-50%, -50%); }
  .site-header .nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 7px)); }
  body.is-nav-open .site-header .nav-toggle span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
  body.is-nav-open .site-header .nav-toggle span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }
  .header-tools { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 18px 14px; gap: 8px; background: #faf9f5; border-top: 1px solid #e1ded5; border-bottom: 1px solid #d2d8cb; box-shadow: 0 6px 12px rgb(40 50 35 / 7%); }
  body.is-search-open .header-tools { display: flex; }
  .header-search-form { width: 100%; height: 44px; flex: 1; border-radius: 6px; }
  .header-search-form input { font-size: 16px; }
  .header-search-form button { min-width: 66px; font-size: 14px; }
  .header-contact-link { display: none; }
  .header-search-close { display: block; width: 36px; height: 44px; flex: 0 0 auto; border: 0; background: none; color: #4e5c49; font: 28px/1 sans-serif; cursor: pointer; }
  .site-header .global-nav {
    --mobile-nav-level-1-bg: #4d6654;
    --mobile-nav-level-1-line: rgb(255 255 255 / 30%);
    --mobile-nav-level-2-bg: #e8eee9;
    --mobile-nav-level-2-color: #394d3e;
    --mobile-nav-level-2-line: #d1ddd3;
    --mobile-nav-level-3-bg: #f4f7f4;
    --mobile-nav-level-3-color: #566757;
    --mobile-nav-level-3-line: #dfe7e0;
    top: 64px; max-height: calc(100dvh - 64px); margin-left: 0; border-top-color: var(--mobile-nav-level-2-line);
  }
  .site-header .nav-list { display: flex; flex-direction: column; }
  .site-header .nav-item { width: 100%; }
  .site-header .global-nav .submenu-toggle { right: calc(var(--mobile-control-axis) - 18px); }
  .site-header .nav-contact-item { --mobile-nav-level-2-bg: #f0e8dc; --mobile-nav-level-2-color: #594531; --mobile-nav-level-2-line: #ddceba; }
  .site-header .nav-list > .nav-contact-item > a { background: #8d6846; color: #fff; border-bottom-color: var(--mobile-nav-level-1-line); }
  .site-header .nav-contact-item > .sub-menu > li:last-child > a { border-bottom: 1px solid var(--mobile-nav-level-2-line); }
  .site-header .nav-contact-item > .submenu-toggle::before, .site-header .nav-contact-item > .submenu-toggle::after { background: #fff; }
  .site-header .sub-menu .submenu-toggle::before, .site-header .sub-menu .submenu-toggle::after { background: var(--mobile-nav-level-2-color); }
  .webtopics-page-card { scroll-margin-top: 84px; }
}
.webtopics-page-card { scroll-margin-top: 124px; }

/* Results use the same restrained green, paper colours and Mincho headings as the site. */
.search-page { width: 100%; margin: 0; padding-bottom: 100px; }
.search-container { width: min(1084px, calc(100% - 80px)); margin: 0 auto; }
.search-page .breadcrumb { width: 100%; padding-left: 0; padding-right: 0; font-size: 16px; }
.search-heading { margin: 52px 0 40px; text-align: center; }
.search-eyebrow { color: #6b8062; font: 12px/1.6 "Yu Gothic", sans-serif; letter-spacing: .2em; }
.search-heading h1 { margin: 12px 0 22px; color: #30452e; font-size: 34px; font-weight: 500; letter-spacing: .16em; }
.search-heading > p:last-child { font-size: 16px; color: #776d60; }
.search-mobile-break { display: none; }
.search-page-form { display: flex; max-width: 600px; margin: 0 auto; border: 1px solid #aab89e; border-radius: 5px; overflow: hidden; background: #fff; }
.search-page-input { display: flex; flex: 1; align-items: center; min-width: 0; padding-left: 14px; }
.search-page-input svg { width: 18px; height: 18px; flex: 0 0 auto; color: #6c8064; }
.search-page-input input { width: 100%; min-width: 0; padding: 11px 12px; border: 0; background: transparent; color: #2f3e2d; outline: 0; font: 16px/1.6 "Yu Gothic", sans-serif; }
.search-page-form:focus-within { outline: 2px solid #8b9e7d; outline-offset: 2px; }
.search-page-form > button { padding: 0 24px; border: 0; background: #395b3e; color: #fff; font: inherit; font-size: 16px; cursor: pointer; transition: background .2s; }
.search-page-form > button:hover { background: #28482c; }
.search-help { max-width: 600px; margin: 12px auto 50px; font-size: 14px; color: #776f64; }
.search-filters { position: relative; display: flex; flex-wrap: wrap; gap: 10px 40px; border-bottom: 1px solid #dfe3d7; margin: 0 0 24px; }
.search-filters::before { content: ""; position: absolute; bottom: -1px; left: -12px; right: -12px; height: 1px; background: #dfe3d7; pointer-events: none; }
.search-filters a { position: relative; display: flex; gap: 9px; align-items: center; padding: 10px 12px 13px; margin: 0 -12px; border-radius: 3px; color: #756f65; font-size: 16px; transition: background-color .2s, color .2s; }
.search-filters a::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: transparent; transition: background-color .2s; }
.search-filters a[aria-current], .search-filters a:hover, .search-filters a:focus-visible { color: #365637; }
.search-filters a:hover, .search-filters a:focus-visible { background-color: #edf1e7; }
.search-filters a:hover::after, .search-filters a:focus-visible::after { background: #a0b492; }
.search-filters a[aria-current]::after { background: #68825b; }
.search-filters span { font: 13px/1.4 "Yu Gothic", sans-serif; color: #6c7b63; }
.search-summary { font-size: 16px; color: #766e63; margin: 26px 0 8px; overflow-wrap: anywhere; }
.search-summary strong { color: #365337; font-size: 23px; font-weight: 500; padding-left: 12px; }
.search-range { float: right; font-size: 14px; margin-top: 8px; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li { margin: 0 -12px; padding: 0 12px; border-bottom: 1px solid #e3e6dc; }
.search-results li:hover, .search-results li:focus-within { border-bottom-color: transparent; }
.search-result-link { position: relative; z-index: 0; display: block; margin: 0 -12px; padding: 40px 28px 44px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px transparent; transition: transform .2s, box-shadow .2s; }
.search-results li:hover .search-result-link, .search-result-link:focus-visible { z-index: 1; transform: translateY(-2px); box-shadow: inset 0 0 0 1px #d6dfce, 0 8px 22px rgb(44 64 35 / 8%); }
.search-result-link:focus-visible { outline: 2px solid #68825b; outline-offset: 2px; }
.search-result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 13px; color: #756e62; }
.search-result-meta > span:first-child { color: #62745a; }
.search-results h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 12px 0 14px; font-size: 24px; line-height: 1.7; font-weight: 500; color: #30472f; }
.search-result-arrow { flex: 0 0 auto; font-size: 18px; color: #7f9574; transition: transform .2s; }
.search-results li:hover .search-result-arrow, .search-result-link:focus-visible .search-result-arrow { transform: translateX(4px); }
.search-results li:hover .search-result-title, .search-result-link:focus-visible .search-result-title { text-decoration: underline; text-underline-offset: 5px; }
.search-result-link > p { margin: 0; font-size: 16px; line-height: 1.95; color: #71675c; overflow-wrap: anywhere; }
.search-page mark { background: #f0ead6; color: inherit; font-weight: 600; padding: 0 1px; }
.search-empty { padding: 40px 24px; margin: 24px 0; text-align: center; background: #f7f8f3; }
.search-empty h2 { font-size: 22px; font-weight: 500; color: #425c3c; margin: 0 0 14px; }
.search-empty p { font-size: 16px; color: #7b7266; }
.search-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 26px; }
.search-suggestions a, .search-text-link { font-size: 15px; color: #47623e; border-bottom: 1px solid #b7c2ab; }
.search-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 42px; font-size: 15px; }
.search-pagination a { padding: 6px 12px; border: 1px solid #d7decf; transition: background .2s; }
.search-pagination a[aria-current] { background: #405c37; border-color: #405c37; color: #fff; }
.search-pagination a:hover:not([aria-current]) { background: #f0f3eb; }
@media (max-width: 860px) {
  .webtopics-page-card { scroll-margin-top: 84px; }
  .search-page { padding-bottom: 60px; }
  .search-container { width: calc(100% - 36px); }
  .search-heading { margin-top: 28px; }
  .search-page .breadcrumb { font-size: 14px; }
  .search-heading h1 { font-size: 28px; }
  .search-heading > p:last-child { font-size: 15px; }
  .search-mobile-break { display: inline; }
  .search-page-input { padding-left: 12px; }
  .search-page-input input { padding: 12px 10px; font-size: 16px; }
  .search-page-form > button { padding: 0 18px; font-size: 16px; }
  .search-help { font-size: 13px; margin-bottom: 36px; }
  .search-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 0; border-bottom: 0; }
  .search-filters::before { display: none; }
  .search-filters a { justify-content: center; min-width: 0; min-height: 52px; margin: 0; padding: 12px 6px; gap: 6px; border-bottom: 1px solid #dfe3d7; font-size: clamp(13px, 3.8vw, 14px); text-align: center; white-space: nowrap; }
  .search-range { float: none; display: block; margin-top: 4px; }
  .search-results h2 { font-size: 22px; }
  .search-result-link { padding: 32px 20px 36px; }
  .search-empty { padding: 28px 18px; }
  .search-empty h2 { font-size: 20px; }
  .search-pagination { gap: 5px; font-size: 14px; }
  .search-pagination a { padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .header-tools *, .search-page * { transition: none !important; }
  .search-results li:hover .search-result-link, .search-result-link:focus-visible, .search-results li:hover .search-result-arrow, .search-result-link:focus-visible .search-result-arrow { transform: none; }
}
