/* Shared catalog navigation and reading hierarchy. */
.kf .koc-trail {padding:22px 0 0}
.kf .koc-trail ol {display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 8px;margin:0;padding:0;list-style:none}
.kf .koc-trail>ol {justify-content:center}
.kf .koc-trail ol::before,.kf .koc-trail ol::after {content:none}
.kf .koc-trail li {display:flex;align-items:baseline;gap:8px;color:#52697b;font-size:13px;line-height:1.6;list-style:none}
.kf .koc-trail li+li:before {content:"";display:inline-block;width:5px;height:5px;border:solid #8294a2;border-width:1px 1px 0 0;transform:rotate(45deg);align-self:center}
.kf .koc-trail a {color:#315e7a}
.kf .koc-trail a:hover,.kf .koc-fold a:hover {text-decoration:underline;text-underline-offset:3px}
.koc-mobile-path {display:none}
.kf .kf-object-hero {padding:32px 0 24px}
.kf h1.koc-object-title .kf-cad {font-weight:400;line-height:1.6;letter-spacing:normal}
.kf h1.koc-object-title .kf-address {display:block;font-weight:400;letter-spacing:normal}
.kf .koc-search {padding:18px 20px;background:#fff;border:1px solid #d8e4ed;border-radius:14px;margin:0 0 14px;gap:16px}
.kf .koc-search label {font-weight:600;color:#344f64;font-size:13px}
.kf .koc-search input,.kf .koc-search select {font:inherit;font-size:16px;font-weight:400;min-width:0}
.kf .koc-search .kf-button {padding-inline:26px;align-self:end}
.koc-browse {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px;align-items:start}
.koc-browse:has(details[open]) {grid-template-columns:minmax(0,1fr)}
.kf .koc-fold,.kf .koc-related {background:#fff;border:1px solid #d8e4ed;border-radius:14px;min-width:0}
.koc-fold {margin-bottom:22px}
.koc-browse .koc-fold {margin:0}
.koc-fold summary {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 19px;color:#24465f;cursor:pointer;font-weight:600;list-style:none}
.koc-fold summary::-webkit-details-marker,.koc-mobile-path summary::-webkit-details-marker {display:none}
.koc-fold summary:after {content:"";width:8px;height:8px;border:solid #48738c;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 2px 0}
.koc-fold[open] summary:after {transform:rotate(225deg);margin-top:4px}
.kf .koc-fold ul {columns:3 200px;column-gap:24px;padding:12px 0 16px;margin:0 18px;border-top:1px solid #e6edf2;list-style:none}
.kf .koc-fold li {break-inside:avoid;list-style:none;margin:0}
.kf .koc-fold li a {display:block;padding:7px 3px;color:#185e88;line-height:1.4}
.kf .koc-list {gap:14px}
.kf a.koc-item {position:relative;display:flex;flex-direction:column;gap:6px;padding:20px 40px 20px 20px;color:#203e55;line-height:1.45}
.koc-item:after,.koc-related a:after {content:"";width:7px;height:7px;border:solid #6493ae;border-width:1.5px 1.5px 0 0;transform:rotate(45deg);position:absolute;right:18px;top:26px}
.kf .koc-item strong {font-size:18px;line-height:1.3}
.kf .koc-item span {font-size:14px;font-weight:500;margin:0;color:#176391;font-variant-numeric:tabular-nums}
.kf .koc-item p,.kf .koc-related a > p {font-size:14px;line-height:1.5;margin:2px 0 0;color:#4c6579;overflow-wrap:anywhere}
.kf .koc-related {padding:22px 24px}
.kf .koc-related ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;list-style:none;padding:0;margin:12px 0 0}
/* The theme inserts a clearfix before lists. It must not occupy a grid cell. */
.kf .koc-related > ul::before, .kf .koc-related > ul::after {content:none;display:none}
.kf .koc-related li {margin:0;list-style:none;border-top:1px solid #e2ebf1}
.kf .koc-related a {display:block;position:relative;padding:13px 26px 13px 0;line-height:1.45}
.koc-related strong {display:block;font-weight:600;color:#203e55}
.koc-related small {font-size:14px;font-variant-numeric:tabular-nums}
.kf .koc-item:hover,.kf .koc-related a:hover {background:#f5faff}
.kf summary:focus-visible {outline:3px solid #3088c2;outline-offset:2px;border-radius:6px}
@media(max-width:700px){
  .kf .koc-trail {padding:14px 0 0}
  .koc-trail>ol {display:none!important}
  .koc-mobile-path {display:flex;align-items:baseline;justify-content:center;gap:12px;font-size:14px;position:relative}
  .koc-mobile-path>details {text-align:right}
  .koc-mobile-path summary {list-style:none;cursor:pointer;color:#42647c;padding:6px 0}
  .koc-mobile-path details[open] ol {position:absolute;z-index:4;left:0;right:0;top:100%;display:grid;justify-items:center;padding:10px 14px;background:white;border:1px solid #ccdce6;border-radius:12px;box-shadow:0 6px 18px #183e5520;text-align:left}
  .koc-mobile-path li+li:before {display:none!important}
  .koc-mobile-path li a {padding:4px 0}
  .kf .kf-object-hero {padding:20px 0}
  .kf .koc-search {padding:16px;gap:12px}
  .koc-browse {gap:8px;margin-bottom:16px}
  .koc-fold summary {padding:13px;font-size:14px}
  .kf .koc-related {padding:18px}
  .kf .koc-related ul {grid-template-columns:1fr}
}

/* Geographic directory on the existing catalog grid. */
.kf.koc-catalog .kf-object-hero {padding:36px 0 22px;text-align:center}
.kf.koc-catalog .kf-object-hero h1 {margin:0 auto;text-align:center;max-width:36ch;text-wrap:balance;overflow-wrap:anywhere}
.koc-catalog .koc-search {margin:0 0 32px;align-items:end}
.koc-catalog .koc-places h2,.koc-catalog .koc-result-heading h2 {margin:0 0 20px;text-align:center;color:#19324a;font-size:clamp(22px,2.5vw,30px);line-height:1.25}
.koc-catalog .koc-place-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;background:#fff;border:1px solid #d7e3ee;border-radius:16px;list-style:none;margin:0;padding:8px 22px}
.koc-catalog .koc-place-list:empty {display:none}
.koc-catalog .koc-place-list::before,.koc-catalog .koc-place-list::after {content:none}
.koc-catalog .koc-place-list li {display:flex;min-width:0;list-style:none;margin:0;border-bottom:1px solid #e4ecf2}
.koc-catalog .koc-place-list li:nth-last-child(-n+3) {border-bottom:0}
.koc-catalog .koc-place-list a {position:relative;display:flex;align-items:center;width:100%;padding:15px 26px 15px 8px;color:#214e75;line-height:1.4;font-weight:500;border-radius:5px;overflow-wrap:anywhere}
.koc-catalog .koc-place-list a::after {content:"";position:absolute;right:10px;width:7px;height:7px;border:solid #6e92ad;border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
.koc-catalog .koc-place-list a:hover {background:#f1f7fc;color:#105596}
.koc-catalog a:focus-visible {outline:2px solid #337cc1;outline-offset:2px}
.koc-catalog .koc-unassigned {display:inline-block;margin:16px 0 0;color:#315e7a;text-decoration:underline;text-underline-offset:3px}
.koc-catalog .koc-result-heading {margin-bottom:18px;text-align:center}
.koc-catalog .koc-result-heading h2 {margin-bottom:6px}
.koc-catalog .koc-empty {padding:24px;text-align:center;background:#fff;border:1px solid #d7e3ee;border-radius:14px}
@media(max-width:900px){
  .koc-catalog .koc-place-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  .koc-catalog .koc-place-list li:nth-last-child(3) {border-bottom:1px solid #e4ecf2}
}
@media(max-width:700px){
  .kf.koc-catalog .kf-object-hero {padding:22px 0 18px}
  .koc-catalog .koc-search {grid-template-columns:minmax(0,1fr);margin-bottom:24px}
  .koc-catalog .koc-place-list {grid-template-columns:minmax(0,1fr);padding:4px 12px}
  .koc-catalog .koc-place-list li:nth-last-child(2) {border-bottom:1px solid #e4ecf2}
  .koc-catalog .koc-place-list a {padding-block:13px}
}

.kf.koc-catalog .koc-search label {margin:0}
.kf.koc-catalog .koc-search .kf-button {justify-content:center;text-align:center}

.koc-catalog .koc-alphabet {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;margin:0 auto 20px}
.koc-catalog .koc-alphabet a,.koc-catalog .koc-alphabet span {display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:4px 8px;border-radius:7px;color:#285f8c;background:white;border:1px solid #d5e3ee;font-size:15px;line-height:1.2}
.koc-catalog .koc-alphabet a:hover {color:#074c85;border-color:#7da6c7;background:#edf6fd}
.koc-catalog .koc-alphabet [aria-current] {background:#255f93;border-color:#255f93;color:white}
.koc-catalog .koc-letter-groups {border:1px solid #d7e3ee;border-radius:16px;background:#fff;padding:0 24px}
.koc-catalog .koc-letter-group {display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:14px;padding:16px 0;scroll-margin-top:16px}
.koc-catalog .koc-letter-group+.koc-letter-group {border-top:1px solid #dae6ee}
.koc-catalog .koc-letter-group h3 {color:#236496;font-size:25px;line-height:1.4;margin:7px 0 0;font-weight:650}
.koc-catalog .koc-letter-group .koc-place-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;padding:0;margin:0;border:0;border-radius:0}
.koc-catalog .koc-letter-group .koc-place-list li {border:0}
.koc-catalog .koc-letter-group .koc-place-list a {min-height:46px;padding:9px 20px 9px 6px}
.koc-catalog .koc-place-list small {color:#546b7b;font-size:.84em;font-weight:400}
.koc-catalog .koc-alphabet-top {display:block;width:fit-content;margin:18px auto 0;color:#245f8c}
@media(max-width:950px){.koc-catalog .koc-letter-group .koc-place-list {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .koc-catalog .koc-letter-groups {padding:0 14px}
  .koc-catalog .koc-letter-group {grid-template-columns:29px minmax(0,1fr);gap:5px;padding:10px 0}
  .koc-catalog .koc-letter-group .koc-place-list {grid-template-columns:minmax(0,1fr)}
  .koc-catalog .koc-alphabet {gap:4px}
  .koc-catalog .koc-alphabet a,.koc-catalog .koc-alphabet span {min-width:36px;min-height:38px}
}

.kf #house > h2,.kf #house > .kf-house-address {text-align:center}

.kf .koc-same-address h2 {text-align:left}
.koc-same-address td small {display:block;font-size:12px;color:#52697b}
.koc-same-address td a,.koc-address-pages a {color:#195d91;text-underline-offset:3px;text-decoration:underline}
.koc-address-pages {display:flex;justify-content:center;align-items:center;gap:16px;margin-top:14px;font-size:14px}
@media(max-width:600px){
 .kf .koc-same-address table,.kf .koc-same-address tbody {display:block}
 .koc-same-address thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .kf .koc-same-address tr {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;border-top:1px solid #e2ebf1;padding:10px 4px}
 .kf .koc-same-address td {display:block;border:0;background:transparent;white-space:normal;padding:0}
 .kf .koc-same-address td:first-child {grid-column:1/-1;font-weight:600}
 .koc-same-address td small {display:inline-block;font-weight:400;margin-left:4px}
 .koc-same-address td:nth-child(2) {overflow-wrap:anywhere}
}

.kf > .kf-wrap:has(> .kf-layout) {max-width:1520px}
