/* Static OneNav adaptation. The existing theme CSS supplies the card and grid design. */
/* Preserve complete identity marks; padding is small after reviewed border trimming. */
.sites-icon, .result-card img { object-fit: contain !important; object-position: center; padding: 1px !important; box-sizing: border-box; border-radius: 4px !important; }
.static-card { --site-icon-width: 48px; --site-icon-height: 48px; }
.more-directory .static-card { --site-icon-width: 44px; --site-icon-height: 44px; }
/* One frame size owns the header, media, image and artwork; legacy widths cannot diverge. */
.static-card .item-header { flex: 0 0 var(--site-icon-width) !important; width: var(--site-icon-width) !important; min-width: var(--site-icon-width) !important; max-width: var(--site-icon-width) !important; }
.static-card .item-media, .static-card .item-image { width: var(--site-icon-width) !important; height: var(--site-icon-height) !important; padding: 0 !important; border-radius: 4px !important; }
.static-card .item-image { position: relative !important; }
.static-card .item-image img.sites-icon { position: static !important; width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; transform: none !important; }
/* A verified wordmark without a standalone symbol gets a wider, uncropped frame. */
.static-card:has(.sites-icon-wordmark) { --site-icon-width: 72px; --site-icon-height: 44px; }
.result-card img.sites-icon-wordmark { width: 72px !important; flex-basis: 72px !important; }
@media (max-width: 767.98px) {
  .static-card, .more-directory .static-card { --site-icon-width: 32px; --site-icon-height: 32px; }
  .static-card:has(.sites-icon-wordmark) { --site-icon-width: 48px; --site-icon-height: 32px; }
  .result-card img.sites-icon-wordmark { width: 48px !important; height: 32px !important; flex-basis: 48px !important; }
}
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.main-footer .footer-copyright { text-align: center; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid #f1404b !important; outline-offset: 3px; }
button { cursor: pointer; }
.header-banner.static-banner { background-size: cover !important; background-position: center 58% !important; height: 240px; min-height: 210px; display: flex; align-items: center; position: relative; }
.static-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.08) 58%, rgba(0,0,0,.25)); pointer-events: none; }
.static-banner > .search-container { position: relative; z-index: 1; width: 100%; }
.static-search { width: 100%; max-width: 800px; min-height: 0; padding: 14px 0 12px; }
.static-search .search-box-big { width: 100%; }
.static-search .search-list-menu { display: flex; justify-content: center; align-items: center; gap: 0; margin: 0 auto; overflow: visible; }
.static-search .search-menu { display: block; background: transparent; border: 0; border-radius: 0; color: rgba(255,255,255,.76); font-family: inherit; font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0; opacity: 1; padding: 5px 20px 10px; position: relative; }
.static-search .search-menu, .static-search .search-term { text-shadow: 0 1px 5px rgba(0,0,0,.65); }
.static-search .search-menu:hover, .static-search .search-menu.active { color: #fff; }
.static-search .search-menu.active::after { content: ""; position: absolute; left: 35%; right: 35%; bottom: 3px; height: 4px; border-radius: 8px; background: #fff; }
.static-search .search-form { display: block; position: relative; height: 50px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); margin: 0; }
.static-search .search-form:focus-within { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.static-search .search-key { display: block; width: 100%; height: 100%; box-sizing: border-box; padding: 0 60px 0 20px; border: 0 !important; border-radius: inherit !important; background: transparent !important; box-shadow: none !important; font-size: 18px; color: #333; }
.static-search .search-key:focus-visible { outline: none !important; }
.static-search .search-submit-btn:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px; }
.static-search .search-key::placeholder { color: #62707f; opacity: 1; }
.static-search .search-tools { position: absolute; display: flex; align-items: center; justify-content: center; right: 0; top: 0; height: 100%; padding: 3px; }
.static-search .search-submit-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 0; padding: 0; border: 0; border-radius: 10px; background: #f1404b !important; color: #fff !important; font-size: 22px; }
.static-search .search-submit-btn:hover { background: #d92531 !important; color: #fff !important; }
.static-search .search-list-group { margin-top: 0; min-height: 41px; }
.static-search .search-group[hidden] { display: none; }
.static-search .search-group { display: flex; justify-content: center; align-items: center; gap: 0; padding: 0; margin: 0; list-style: none; overflow: visible; }
.static-search .search-group li { list-style: none; margin: 0; padding: 10px 16px; }
.static-search .search-term { display: block; background: none; border: 0; padding: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; white-space: nowrap; }
.static-search .search-group li:has(.search-term.active)::before { opacity: 1; border-width: 8px 8px 0; }
.static-search .search-term.active, .static-search .search-term:hover { color: #fff; }
.home .tab-item > a[data-home-tab-link] { color: inherit; text-decoration: none; }
.home .slider-tab .tab-item { color: #52616f; }
.slider-tab .tab-item.active, .btn-tab-h.active { background: #d63743 !important; color: #fff !important; }
.home .tab-item[aria-busy="true"] { cursor: progress; opacity: .75; }
.home [data-home-panel-error] button { margin: 0 6px; }
.home [data-home-panel-error] button, .home [data-home-panel-error] a { min-height: 44px; display: inline-flex; align-items: center; }
.container-body input::placeholder { color: #62707f; opacity: 1; }
.container-body .post-meta, .container-body .meta-time, .container-body .meta-like, .container-body .posts-item .text-muted { color: #62707f !important; }
.container-body .vc-l-theme, .container-body .list-select.active { color: #b12e40 !important; }
.rights-page a, .rights-page .text-muted a { color: #506271 !important; }
.container-body .static-supplement .lead { color: #5f6d7a; }
.static-card .item-image img { object-fit: contain !important; background: #fff; }
.static-card .sites-tags { display: flex; align-items: center; }
.static-card .togo { font-size: 18px; line-height: 1; }
.static-card .sites-body { min-width: 0; }
.static-card:hover .sites-body { color: #b12e40; }
.static-card .item-title b { font-weight: 600; }
.rights-page .text-muted, .rights-page .rights-updated { color: #5f6b7a !important; }
.io-black-mode .rights-page .text-muted, .io-black-mode .rights-page .rights-updated { color: var(--night-muted, #a9b4c2) !important; }
.static-card .item-body > div { color: #657180 !important; }
.io-black-mode .static-card .item-body > div { color: var(--night-muted, #a9b4c2) !important; }
@media (min-width: 768px) {
  .static-card:focus-within > .sites-tags, .static-card:focus-within .sites-tags .togo { opacity: 1 !important; }
}
.sites-preview .static-preview-image { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(145deg, #f5f7f9, #e8edf1); color: #777f88; }
.sites-preview .static-preview-image img.static-preview-logo { width: 84px; height: 84px; object-fit: contain; border-radius: 18px; background: #fff; padding: 12px; }
.static-preview-label { max-width: 85%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; }
.static-category-sidebar { gap: 8px; }
.static-sidebar-site { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px; border-radius: 8px; background: #f7f8f9; color: #4b4f54; font-size: 12px; }
.static-sidebar-site:hover { color: #b12e40; background: #fff3f4; }
.static-sidebar-site img { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; border-radius: 50%; background: #fff; }
.static-sidebar-site span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body.tax-favorites .io-widget-single-posts-list .widget-header h3 { font-size: 18px; font-weight: 600; }
body.tax-favorites .static-category-sidebar { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.tax-favorites .static-category-sidebar > .static-sidebar-site { width: 100% !important; max-width: none !important; min-height: 46px; margin: 0 !important; flex: none !important; font-size: 14px; }
body.tax-favorites .static-category-sidebar .static-sidebar-site img { width: 30px; height: 30px; flex-basis: 30px; }
.empty-category { padding: 28px; color: #70757b; background: #fff; border-radius: 12px; }
.slider-tab .tab-item.active { background-color: var(--focus-color, #f1404b); }
.tab-pane:not(.active) { display: none; }
.aside-ul .aside-btn.active { color: #f1404b; }
@media (min-width: 768px) {
  #layout_aside .aside-card > .aside-ul { flex: 1 1 0%; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(100,110,120,.4) transparent; }
  #layout_aside .aside-ul::-webkit-scrollbar { display: block; width: 4px; }
  #layout_aside .aside-ul::-webkit-scrollbar-thumb { border-radius: 4px; background: rgba(100,110,120,.4); }
  #layout_aside .aside-ul > .aside-item > .aside-btn { padding-block: 6px; transition-property: background-color, color; }
  #layout_aside .aside-bottom { flex: none; }
  #layout_aside .aside-card.aside-compact { padding-block: 0; }
  #layout_aside .aside-card.aside-compact .aside-bottom { margin-block: 0 !important; padding-block: 0 !important; }
  body.aside-min #layout_aside:not(.hover-show) .aside-ul > .aside-item > .aside-btn { padding-inline: 6px; }
}
.static-results-page { min-height: calc(100vh - 140px); padding: 0 24px 72px; background: #f1f3f6; }
.static-results-container { max-width: 1260px; margin: 0 auto; }
.directory-search-hero { position: relative; margin: 0 -24px; padding: 14px 24px 24px; color: #34434c; background: #dce2df center / cover no-repeat; }
.directory-search-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(240,244,241,.5),rgba(240,244,241,.62)); pointer-events: none; }
.directory-search-hero > .static-results-container { position: relative; z-index: 1; }
.directory-breadcrumb { display: flex; gap: 10px; align-items: center; color: #52636d; font-size: 12px; line-height: 18px; }
.directory-breadcrumb a { color: inherit; }
.directory-breadcrumb a:hover { color: #9e2739; text-decoration: underline; }
.directory-hero-content { max-width: 850px; margin: 6px auto 0; text-align: center; }
.directory-hero-kicker { display: inline-block; padding: 5px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; background: rgba(255,255,255,.12); font-size: 13px; }
.directory-hero-content h1 { margin: 0 0 5px; color: #34434c; font-size: clamp(24px,2.2vw,28px); font-weight: 650; line-height: 1.25; }
.directory-hero-content > p { margin: 0; color: #52636d; font-size: 14px; line-height: 1.5; }
#directory-search { max-width: 850px; margin: 12px auto 0; }
.directory-search-controls { display: flex; height: 52px; padding: 4px; border-radius: 13px; background: #fff; box-shadow: 0 9px 24px rgba(0,0,0,.16); }
.directory-search-controls:focus-within { box-shadow: 0 9px 24px rgba(0,0,0,.16), 0 0 0 3px rgba(241,64,75,.3); }
.directory-search-controls input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 9px; padding: 0 18px; background: transparent; color: #333; font-size: 17px; box-shadow: none; }
/* The group owns the outer focus ring; field outlines must not cross the button seam. */
.directory-search-controls input:focus, .directory-search-controls input:focus-visible { outline: none !important; outline-offset: 0; box-shadow: none; }
.directory-search-controls input::placeholder { color: #62707f; opacity: 1; }
.directory-search-controls button { display: flex; flex: none; align-items: center; justify-content: center; gap: 7px; min-width: 94px; border: 0; border-radius: 10px; padding: 0 18px; color: #fff; background: #d63743; font-weight: 600; }
.directory-search-controls button:focus-visible { outline: 2px solid #fff !important; outline-offset: -4px; }
.directory-search-controls button:hover { background: #d92531; color: #fff; }
.directory-search-controls button .iconfont { font-size: 19px; font-weight: 400; }
.directory-results-wrap { position: relative; z-index: 2; margin-top: 16px; }
.directory-results-panel { min-height: 260px; padding: 20px; border-radius: 15px; background: #fff; box-shadow: 0 6px 26px rgba(30,38,50,.055); }
.directory-results-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #eceef0; }
.directory-results-kicker { display: block; color: #b12e40; font-size: 12px; font-weight: 600; }
.directory-results-head h2 { margin: 0; color: #3f4449; font-size: 21px; font-weight: 650; }
#result-status { margin: 0; color: #62707f; font-size: 14px; text-align: right; }
.static-results-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.result-card { min-width: 0; padding: 16px; border-radius: 12px; background: #f7f8f9; transition: background .2s, box-shadow .2s, transform .2s; }
.result-card:hover { background: #fff; box-shadow: 0 10px 25px rgba(30,38,50,.1); transform: translateY(-2px); }
.result-card-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 70px; color: #3f4449; }
.result-card-main:hover { color: #b12e40; }
.result-card img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; border-radius: 50%; background: #fff; }
.result-card-main > div { min-width: 0; }
.result-card h3 { margin: 1px 0 5px; color: inherit; font-size: 17px; font-weight: 600; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow-wrap: break-word; }
.result-card p { margin: 0; color: #62707f; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #e7e9eb; color: #62707f; font-size: 12px; }
.result-card-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-card-foot a { flex: 0 0 auto; color: #5f6d7a; }
.result-card-foot a:hover { color: #b12e40; }
.directory-browse[hidden] { display: none !important; }
.directory-browse > p { margin: 0 0 15px; color: #71777d; font-size: 14px; }
.directory-browse nav { display: flex; flex-wrap: wrap; gap: 10px; }
.directory-browse a { display: inline-block; padding: 10px 16px; border-radius: 9px; background: #f3f4f6; color: #4b5056; font-size: 14px; }
.directory-browse a:hover { background: #fff0f1; color: #f1404b; }
.static-supplement { padding: 86px 18px 60px; min-height: 70vh; }
.static-supplement h1 { font-size: clamp(28px,3vw,40px); font-weight: 650; margin-bottom: 8px; }
.static-supplement .lead { color: #70757b; font-size: 16px; margin-bottom: 34px; }
.static-supplement section { margin: 0 0 30px; }
.static-supplement h2 { font-size: 22px; font-weight: 600; margin: 0 0 14px; }
.supplement-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.supplement-links li { min-width: 0; }
.supplement-links a { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px; border-radius: 11px; min-height: 51px; color: #30343a; box-shadow: 0 2px 10px rgba(18,28,38,.04); }
.supplement-links a:hover { color: #f1404b; }
.supplement-links img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; }
.supplement-links span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.static-author { padding-top: 86px; padding-bottom: 70px; }
.static-author-cover { min-height: 265px; padding: 72px 30px 28px; border-radius: 14px; color: #fff; background: linear-gradient(180deg,rgba(18,30,45,.12),rgba(18,30,45,.7)),url('rights/landscape.svg') center / cover; text-align: center; }
.static-author-avatar { display: block; margin: 0 auto 12px; width: 88px; height: 88px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; background: #fff; }
.static-author-cover h1 { color: #fff; font-size: 30px; font-weight: 650; margin: 0 0 6px; }
.static-author-cover p { color: rgba(255,255,255,.92); margin: 0; }
.static-author-nav { display: flex; gap: 4px; padding: 10px 20px; margin: 14px 0 24px; background: #fff; border-radius: 12px; }
.static-author-nav a { display: inline-block; padding: 10px 18px; color: #555; border-radius: 8px; }
.static-author-nav a:hover { color: #f1404b; background: #fff3f4; }
.static-author-section { background: #fff; border-radius: 14px; padding: 22px; margin-bottom: 24px; }
.static-author-section h2 { margin: 0 0 18px; font-size: 23px; font-weight: 650; }
.static-author-post { display: block; padding: 16px 18px; border-radius: 10px; background: #f7f8f9; color: #333; }
.static-author-post:hover { color: #f1404b; }
.static-author-section .supplement-links a { background: #f7f8f9; }
@media (max-width: 767px) {
  body.mobile-menu-open .mobile-header::before { content: ""; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.45); }
  body.mobile-menu-open .mobile-nav { transform: translateX(0); }
}
@media (min-width: 992px) {
  main.is_category > .sidebar.sidebar-tools { position: sticky; top: 80px; max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  body.tax-favorites main.is_category.container { width: calc(100% - 32px); max-width: 1920px !important; }
  body.tax-favorites main.is_category > .sidebar { width: clamp(340px, 25vw, 500px) !important; margin-right: calc(-1 * clamp(340px, 25vw, 500px)) !important; }
  body.tax-favorites main.is_category .content-layout { margin-left: calc(clamp(340px, 25vw, 500px) + 15px) !important; }
}
@media (max-width: 1199px) { .static-results-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .supplement-links { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 767px) {
  .ioui-aside { display: none !important; }
  .header-banner.static-banner { height: 216px; min-height: 196px; background-position: 59% center !important; }
  .static-search { padding: 10px 0; }
  .static-search .search-list-menu { gap: 0; margin-bottom: 0; }
  .static-search .search-menu { font-size: 16px; padding: 4px 16px 10px; }
  .static-search .search-menu.active::after { height: 4px; }
  .static-search .search-form { height: 54px; border-radius: 12px; }
  .static-search .search-key { padding: 0 60px 0 18px; font-size: 17px; }
  .static-search .search-submit-btn { width: 48px; height: 48px; font-size: 22px; }
  .static-search .search-list-group { margin-top: 0; }
  .static-search .search-group { justify-content: center; gap: 0; }
  .static-search .search-group li { padding: 10px 5px; }
  .static-search .search-term { font-size: 13px; }
  .static-results-page { padding: 0 16px 40px; }
  .directory-search-hero { margin: 0 -16px; padding: 12px 16px 20px; }
  .directory-hero-content { margin-top: 4px; }
  .directory-hero-content > p { font-size: 13px; line-height: 1.5; }
  #directory-search { margin-top: 12px; }
  .directory-search-controls { height: 52px; }
  .directory-search-controls input { padding: 0 13px; font-size: 15px; }
  .directory-search-controls button { min-width: 74px; padding: 0 10px; }
  .directory-search-controls button .iconfont { font-size: 16px; }
  .directory-results-wrap { margin-top: 12px; }
  .directory-results-panel { padding: 16px; }
  .directory-results-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  #result-status { text-align: left; }
  .static-supplement { padding: 72px 16px 40px; }
  .static-author { padding: 70px 10px 36px; }
  .static-author-cover { min-height: 235px; padding: 42px 15px 22px; }
  .static-author-nav { margin: 10px 0 18px; padding: 7px; }
  .static-author-section { padding: 16px 12px; }
  .supplement-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .supplement-links a { padding: 9px; font-size: 13px; }
  .static-results-grid { grid-template-columns: 1fr; gap: 10px; }
  .result-card { padding: 14px; }
  .result-card h3 { font-size: 16px; }
  body.mobile-menu-open .mobile-header { display: block; }
  body.mobile-menu-open .mobile-nav { display: block; }
}
@media (min-width: 768px) and (max-width: 900px) { .static-results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.education-school-facts { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 6px 16px; margin: 18px 0; font-size: 14px; }
.education-school-facts dt { font-weight: 500; color: #647382; }
.education-school-facts dd { margin: 0; overflow-wrap: anywhere; }
.education-source { color: #647382; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Keep the four header controls separate on 320px phones, including enlarged text. */
@media (max-width: 359px) {
  body .navbar-logo .site-brand-logo img { height: 28px !important; max-width: 124px !important; }
}

/* Shared phone controls: visible detail links, readable text and native inputs. */
@media (max-width: 767px) {
  body.mobile-menu-open { overflow: hidden; }
  .header-nav .menu-btn { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; }
  .header-nav .menu-btn .menu-bar { left: 13px; }
  .header-nav .menu-btn[aria-expanded="true"] .menu-bar { left: 12px; }
  .header-icon-btn > .inline-search-link { min-width: 44px; min-height: 44px; }
  body.mobile-menu-open .menu-btn { z-index: 110; }
  .mobile-header .mobile-nav { padding-top: calc(var(--main-nav-hight, 70px) + env(safe-area-inset-top)); padding-bottom: calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .mobile-nav .menu-nav a, .mobile-nav .mobile-category-icons > a { min-height: 44px; }
  .mobile-nav .mobile-category-icons { gap: 4px; }
  .mobile-nav .mobile-category-icons > a { padding: 10px 4px; }
  .mobile-nav .mobile-category-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-header .mobile-nav .mobile-category-icons > a { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
  .static-card .sites-body { padding-right: 52px !important; min-height: 76px; }
  .static-card:not(.style-sites-max) .sites-tags .togo,
  .static-card:not(.style-sites-max):hover .sites-tags .togo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; right: 4px; top: 50%; transform: translateY(-50%); opacity: 1; }
  .static-card .togo svg { width: 20px; height: 20px; }
  .sites-item.style-sites-max .sites-tags .togo { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; opacity: 1; }
  .static-card .item-title { font-size: 15px; }
  .slider-tab .tab-item, .static-search .search-term { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .static-search .search-term { min-width: 44px; }
  .static-search .search-list-menu, .static-search .search-group { flex-wrap: wrap; }
  .io-slider-tab .tab-more { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .directory-browse a { min-height: 44px; }
  .static-search .search-group li { padding-top: 0; padding-bottom: 0; }
  .directory-search-controls input { font-size: 16px; }
  .result-card-foot a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .reviewed-profile > nav, .profile-summary h1, .profile-summary > p, .official-preview-toolbar { overflow-wrap: anywhere; }
  .profile-outline a { min-height: 44px; display: inline-flex; align-items: center; }
  .main-footer .footer-copyright { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; line-height: 1.8; }
  .main-footer { padding-bottom: env(safe-area-inset-bottom); }
  .io-slider-tab[id] { scroll-margin-top: calc(var(--main-nav-hight, 80px) + 12px); }
}
@media (max-width: 340px) {
  .navbar-logo .site-brand-logo img { max-width: 126px !important; }
}
@media (pointer: coarse) {
  .directory-search-controls input { font-size: 16px; }
  .static-card .sites-body { padding-right: 52px !important; }
  .static-card:not(.style-sites-max) .sites-tags .togo,
  .static-card:not(.style-sites-max):hover .sites-tags .togo { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; right: 4px; top: 50%; transform: translateY(-50%); opacity: 1; }
}

/* Phone cards reserve their width for the primary website link. */
@media (max-width: 767px) {
  .row > .static-card { flex: 0 0 calc(50% - var(--this-card-padding)); max-width: calc(50% - var(--this-card-padding)); }
  .static-card { position: relative; flex-direction: column; }
  .static-card .sites-body { display: flex !important; align-items: center; min-height: 68px; padding: 8px !important; transition-property: color, background-color, box-shadow !important; }
  .static-card .item-header { flex: 0 0 32px; width: 32px; margin: 0 6px 0 0 !important; }
  .static-card .item-media { width: 32px !important; }
  .static-card .item-title { font-size: 13px; line-height: 1.4; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .static-card .item-body > div { font-size: 12px; line-height: 16px; }
  .static-card .item-title, .result-card h3 { overflow-wrap: anywhere; }
  .static-card:not(.province-home-entry):not(.province-directory-entry):not(.civic-region-card) > .sites-tags { display: none !important; }
  .static-card:not(.province-home-entry):not(.province-directory-entry):not(.civic-region-card) > .sites-body { width: 100%; flex: 1 1 auto; }
  .static-card .togo svg { width: 18px; height: 18px; }
  .static-results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .result-card { padding: 10px; }
  .result-card-main { gap: 7px; }
  .result-card img { width: 32px; height: 32px; flex-basis: 32px; }
  .result-card h3 { font-size: 13px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .result-card p { font-size: 12px; }
  .result-card-foot { gap: 4px; padding-top: 0; margin-top: 8px; }
  .result-card-foot span { min-width: 0; }
  .result-card-foot a { font-size: 12px; }
}

@media (max-width: 340px) {
  .static-card:not(.province-home-entry):not(.province-directory-entry):not(.civic-region-card) { --site-icon-width: 28px; --site-icon-height: 28px; }
  .static-card:not(.province-home-entry):not(.province-directory-entry):not(.civic-region-card) > .sites-body { padding: 6px !important; }
  .static-card .item-header { margin-right: 4px !important; }
}
/* Verified public-service metadata, inheriting the site's card and text palette. */
.civic-service-info{margin:20px 0;padding:24px;background:#fff;border-radius:14px;}
.civic-service-info h2{font-size:20px;margin:0 0 14px;}
.civic-usage{line-height:1.8;margin-bottom:14px;}
.civic-facts{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px 16px;font-size:14px;line-height:1.7;}
.civic-facts dt{font-weight:500;color:#7a8088;}.civic-facts dd{margin:0;overflow-wrap:anywhere;}
.civic-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.civic-links a{display:inline-block;padding:8px 12px;border-radius:8px;background:#f3f5f7;line-height:1.5;overflow-wrap:anywhere;}
.civic-region-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#f2f7fd;flex-shrink:0;}
.civic-region-icon .category-icon{width:30px;height:30px;}
.io-black-mode .civic-service-info{background:#25282c;}.io-black-mode .civic-links a{background:#30353c;}
@media(max-width:767px){.civic-service-info{padding:18px;}.civic-facts{grid-template-columns:72px minmax(0,1fr);gap:8px 10px;}}

/* City artwork is secondary navigation, not an institution identity mark. */
.civic-city-grid.ajax-list-body{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(max(188px,calc((100% - 40px)/5)),1fr));gap:10px;margin:0!important;}
.province-directory{margin:18px 0 26px;padding:18px;border:1px solid #e7eaee;border-radius:18px;background:#f8fafb;}
.province-directory h2{font-size:20px;font-weight:700;margin:0 0 14px;color:#253746;}
.province-region-grid,.province-home-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;}
.province-home-links{margin:0 0 20px;}
.province-region-only-grid,.province-index-only .more-tools,.province-index-only .more-results-head,.province-index-only #more-sites,.province-index-only #more-empty,.province-index-only .more-results-bottom,.province-index-only noscript{display:none!important;}
.province-home-sites-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0!important;}
.province-home-sites-grid>article{position:relative;min-width:0;max-width:none!important;width:auto!important;flex:none!important;}
.province-home-entry .sites-body{display:flex;align-items:center;gap:12px;min-height:92px;padding:12px 48px 12px 12px!important;}
.province-home-entry .item-body{min-width:0;}
.province-home-entry .item-title{color:#263746;}
.province-home-entry:hover .item-title{color:#b43c4f;}
.province-home-sites-grid>article .sites-tags{position:absolute;inset:0 0 0 auto;width:44px;height:auto;pointer-events:none;}
.province-home-sites-grid>article .sites-tags .togo,.province-home-sites-grid>article:hover .sites-tags .togo{position:absolute;display:flex;align-items:center;justify-content:center;right:0;top:50%;bottom:auto;width:44px;height:44px;min-width:0;transform:translateY(-50%);opacity:1;color:#788a99!important;background:none;pointer-events:auto;}
.province-home-sites-grid>article .togo svg{width:18px;height:18px;}
.province-home-sites-grid>article:hover .togo{color:#bc4052!important;}
.province-directory-entry .sites-body{align-items:center;justify-content:center;text-align:center;min-height:100%;padding-right:44px!important;}
.province-directory-entry .item-body{flex:none!important;}
.province-directory-entry .item-title{color:#ef3e4e;}
@media(max-width:1199px){.province-home-sites-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:575px){.province-home-sites-grid{grid-template-columns:minmax(0,1fr);gap:10px}.province-home-entry .sites-body{gap:13px;min-height:84px;padding:12px 50px 12px 12px!important}.province-home-entry .province-stamp{flex-basis:48px;width:48px;height:48px}.province-home-entry .item-title{font-size:16px}.province-home-sites-grid>article .sites-tags{width:44px}.province-home-sites-grid>article .sites-tags .togo,.province-home-sites-grid>article:hover .sites-tags .togo{width:44px}}
.province-region-card{min-width:0;}
.province-region-link{display:flex;align-items:center;gap:10px;min-height:68px;padding:10px;border:1px solid #e3e8ec;border-radius:13px;background:#fff;color:#263746;transition:border-color .18s,box-shadow .18s;}
.province-region-link:hover,.province-region-link:focus-visible{border-color:#d76271;box-shadow:0 4px 14px rgba(35,48,61,.08);color:#b43c4f;}
.province-stamp{display:block;flex:0 0 48px;width:48px;height:48px;object-fit:contain;border-radius:8px;}
.province-region-copy{display:flex;flex-direction:column;min-width:0;line-height:1.35;}
.province-region-copy strong{font-size:15px;font-weight:600;}
.province-region-copy small{margin-top:4px;color:#71808b;font-size:12px;}
.province-all-link{display:flex;align-items:center;justify-content:center;min-height:44px;color:#ad4051;font-weight:600;}
.io-black-mode .province-directory{background:#222a32;border-color:#39414b;}
.io-black-mode .province-directory h2{color:#edf2f6;}
.io-black-mode .province-region-link{background:#252b32;border-color:#39414b;color:#edf2f6;}
.io-black-mode .province-region-copy small{color:#b2bec9;}
@media(max-width:575px){.province-directory{padding:12px;margin:14px 0 20px}.province-region-grid,.province-home-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.province-region-link{gap:7px;padding:7px;min-height:58px}.province-stamp{flex-basis:40px;width:40px;height:40px}.province-region-copy strong{font-size:14px}.province-region-copy small{font-size:11px}}
.civic-city-grid>.civic-region-card{position:relative;display:flex;flex-direction:row;flex:none;width:auto;max-width:none;min-width:0;margin:0;border:1px solid #e5eaee;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(27,45,61,.025);transition:border-color .18s,box-shadow .18s;}
.civic-city-grid>.civic-region-card:hover{border-color:#e8bbc1;box-shadow:0 5px 16px rgba(35,48,61,.07);transform:none;}
.civic-city-grid>.civic-region-card:focus-within{outline:2px solid #dc5364;outline-offset:3px;}
.civic-city-grid .civic-region-card .sites-body{display:flex;align-items:center;gap:12px;min-width:0;min-height:90px;padding:14px 48px 14px 14px!important;background:none;box-shadow:none;}
.civic-city-grid .civic-region-card .item-header{width:56px!important;max-width:56px!important;flex:0 0 56px!important;margin:0!important;}
.civic-city-grid .civic-region-icon{position:relative;display:block;width:56px;height:56px;border-radius:11px;overflow:hidden;background:#f1f5f7;}
.civic-city-grid .civic-region-icon img{display:block;width:56px;height:56px;max-width:none;object-fit:contain;border-radius:11px;}
.civic-city-grid .civic-region-card .item-body{min-width:0;gap:5px;}
.civic-city-grid .civic-region-card .item-title{display:block;font-size:16px;line-height:1.4;white-space:normal;overflow-wrap:normal;margin:0;color:#263747;}
.civic-city-grid .civic-region-card .item-title b{font-weight:600;}
.civic-city-grid .civic-region-card .item-desc{font-size:12px;line-height:1.5;margin:0;color:#647381;white-space:nowrap;}
.civic-city-grid .civic-region-card .sites-tags{position:absolute;inset:0 0 0 auto;width:44px;height:auto;pointer-events:none;}
.civic-city-grid .civic-region-card .sites-tags .togo,.civic-city-grid .civic-region-card:hover .sites-tags .togo{position:absolute;display:flex;align-items:center;justify-content:center;right:0;top:50%;bottom:auto;width:44px;height:44px;min-width:0;transform:translateY(-50%);opacity:1;color:#788a99!important;background:none;pointer-events:auto;}
.civic-city-grid .civic-region-card .togo svg{width:18px;height:18px;}
.civic-city-grid .civic-region-card:hover .item-title,.civic-city-grid .civic-region-card:hover .togo{color:#bc4052!important;}
.civic-city-grid .civic-directory-entry .sites-body{justify-content:center;text-align:center;}
.civic-city-grid .civic-directory-entry .item-body{flex:none;}
.civic-city-grid .civic-directory-entry .item-title{color:#ef3e4e;}
.io-black-mode .civic-city-grid>.civic-region-card{background:#252b32;border-color:#39414b;box-shadow:none;}
.io-black-mode .civic-city-grid>.civic-region-card:hover{border-color:#a66470;background:#2b3038;}
.io-black-mode .civic-city-grid .civic-region-card .item-title{color:#edf2f6;}
.io-black-mode .civic-city-grid .civic-region-card .item-desc{color:#b2bec9;}
.io-black-mode .civic-city-grid .civic-directory-entry .item-title{color:#ff9aab;}
.io-black-mode .civic-city-grid .civic-region-card:hover .item-title,.io-black-mode .civic-city-grid .civic-region-card:hover .togo{color:#ff9aab!important;}
@media(min-width:576px){
 .civic-city-grid .civic-region-card .sites-body{min-height:76px;padding:12px 34px 12px 10px!important;gap:8px;}
 .civic-city-grid .civic-region-card .item-header{width:48px!important;max-width:48px!important;flex-basis:48px!important;}
 .civic-city-grid .civic-region-icon,.civic-city-grid .civic-region-icon img{width:48px;height:48px;border-radius:9px;}
 .civic-city-grid .civic-region-card .item-title{font-size:15px;}
 .civic-city-grid .civic-region-card .item-body{gap:3px;}
 .civic-city-grid .civic-region-card .sites-tags{width:32px;}
 .civic-city-grid .civic-region-card .sites-tags .togo,.civic-city-grid .civic-region-card:hover .sites-tags .togo{width:32px;right:0;}
}
@media(min-width:1200px){
 .civic-city-grid.ajax-list-body{grid-template-columns:repeat(5,minmax(0,1fr));}
}
@media(min-width:1200px) and (max-width:1279px){
 .civic-city-grid .civic-region-card .sites-body{padding-left:8px!important;padding-right:32px!important;gap:6px;}
 .civic-city-grid .civic-region-card .item-header{width:44px!important;max-width:44px!important;flex-basis:44px!important;}
 .civic-city-grid .civic-region-icon,.civic-city-grid .civic-region-icon img{width:44px;height:44px;}
}
@media(max-width:575px){
 .civic-city-grid.ajax-list-body{grid-template-columns:minmax(0,1fr);gap:10px;}
 .civic-city-grid .civic-region-card .sites-body{min-height:84px;padding:12px 50px 12px 12px!important;gap:13px;}
 .civic-city-grid .civic-region-card .sites-tags{width:44px;}
 .civic-city-grid .civic-region-card .sites-tags .togo,.civic-city-grid .civic-region-card:hover .sites-tags .togo{width:44px;right:4px;}
}
/* Related-site navigation shares the toolbox's icon and touch geometry. */
.header-nav .navbar-header{align-items:center;gap:6px;}
.header-nav .navbar-header>li>a,.mobile-header .mobile-nav .menu-nav a,.mobile-header .mobile-nav .mobile-category-icons>a{display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border-radius:8px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",sans-serif;font-size:15px;font-weight:400;line-height:22px;}
.header-nav .navbar-header>li>a>svg,.header-nav .navbar-header>li>a>.iconfont,.mobile-header .mobile-nav .menu-nav a>svg,.mobile-header .mobile-nav .menu-nav a>.iconfont,.mobile-header .mobile-nav .mobile-category-icons>a>svg,.mobile-header .mobile-nav .mobile-category-icons>a>img{width:16px;height:16px;flex:0 0 16px;margin:0!important;vertical-align:middle;}
.mobile-header .mobile-nav .menu-nav{display:grid;gap:6px;}
.mobile-header .mobile-nav .mobile-category-icons{gap:6px;}

/* Country navigation and search share one geometry across the site group. */
@media(min-width:768px){
 .main-header .header-center .navbar-logo{flex:0 0 176px!important;width:176px!important;max-width:176px!important;margin-right:24px!important;justify-content:flex-start}
 .main-header .navbar-header-menu{flex:0 0 auto;min-width:0}
 .main-header .navbar-header{flex-wrap:nowrap;white-space:nowrap}
 body .static-banner .search-container{padding-left:15px!important;padding-right:15px!important}
}
@media(min-width:768px) and (max-width:1100px){
 .main-header .header-center .navbar-logo{flex-basis:176px!important;width:176px!important;max-width:176px!important;margin-right:24px!important}
 .main-header .navbar-header>li>a{padding-left:7px!important;padding-right:7px!important;gap:5px!important;font-size:14px!important}
 .main-header .navbar-header{gap:0!important;margin-right:4px!important}
 .main-header .site-brand-logo .us-brand-name,.main-header .site-brand-logo .au-brand-name{font-size:17px!important}
 .main-header .site-brand-logo>img.ru-brand-image{width:176px!important;height:auto!important}
 .main-header .site-theme-toggle span{display:none}
 .main-header .site-theme-toggle{min-width:44px;padding:8px}
}
.main-header .header-nav.blur-bg{background:rgba(241,245,243,.94)!important}
.io-black-mode .main-header .header-nav.blur-bg{background:rgba(31,40,46,.96)!important}
body .static-search .search-term,body .static-search .search-menu{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif!important;font-size:14px!important;font-weight:400!important;line-height:22px!important;text-shadow:none!important;color:#364b58!important}
body .static-search .search-term.active,body .static-search .search-menu.active{color:#a62b40!important}
body .static-search .search-group{background:transparent!important;gap:0!important;justify-content:safe center}
body .static-search .search-group li{padding:0!important;opacity:1}
body .static-search .search-term{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px!important}
body .static-search .search-key{font-size:16px!important}
.io-black-mode body .static-search .search-term,.io-black-mode body .static-search .search-menu{color:#e2ebef!important;text-shadow:none!important}
.io-black-mode body .static-search .search-term.active,.io-black-mode body .static-search .search-menu.active{color:#ffb4c0!important}
body .static-banner{height:240px!important;padding-top:80px!important}
@media(max-width:767px){
 body .static-banner{height:272px!important;padding-top:80px!important}
 body .static-banner .search-container{padding-top:0!important;padding-left:15px!important;padding-right:15px!important}
 body .static-search .search-term{font-size:13px!important;padding-left:10px!important;padding-right:10px!important}
}

.io-black-mode body[data-country-site] .static-banner::before{background:rgba(14,27,37,.72)!important}

/* Keep country brands inside the shared tablet slot. */
@media(min-width:768px){.main-header .header-center{max-width:none!important;width:100%}}
@media(min-width:768px) and (max-width:1100px){body .main-header .us-brand-mark,body .main-header .au-brand-mark{width:66px!important;height:34px!important;flex-basis:66px!important}body .main-header .us-brand-mark img,body .main-header .au-brand-mark img{width:130px!important;height:34px!important}}

/* Compact country brands preserve the shared navigation/content alignment. */
.main-header .site-brand-logo.country-brand{display:inline-flex!important;align-items:center;gap:7px;max-width:176px;min-width:0;text-decoration:none}
.main-header .country-brand .country-brand-mark{display:block;position:relative;overflow:hidden;width:66px!important;height:34px!important;flex:0 0 66px!important}
.main-header .country-brand .country-brand-mark img{display:block;width:130px!important;height:34px!important;max-width:none!important;object-fit:fill}
.main-header .country-brand .country-brand-name{display:block;white-space:nowrap;font-size:18px!important;font-weight:600;line-height:1.2;letter-spacing:0;color:var(--main-color,#364b58)}
.main-header [data-country-brand="de"] .country-brand-name{font-size:15px!important}
.main-header .navbar-header>li>a:hover{background:rgba(54,75,88,.06)}
.main-header .navbar-header>li>a:focus-visible,.main-header .site-brand-logo:focus-visible,.static-search .search-term:focus-visible{outline:2px solid #1876ad;outline-offset:2px}
.io-black-mode .main-header .navbar-header>li>a:hover{background:rgba(226,235,239,.09)}
.io-black-mode .main-header .country-brand .country-brand-name{color:#e2ebef}
@media(max-width:359px){.main-header [data-country-brand="de"]{gap:5px}.main-header [data-country-brand="de"] .country-brand-name{font-size:14px!important}}

/* Use the same centered width as the navigation content and sidebar. */
.main-header{max-width:var(--home-max-width,1600px)!important;width:100%;left:0;right:0;margin-left:auto;margin-right:auto}
