/* Cayman Style · Sections */
.cs-bc,.cs-sx,.cs-pj{--teal:#005661;--deep:#003b43;--cream:#F6F2E9;--mint:#BAE7C9;--orange:#DF5C20;--peach:#F4A06B;--ink:#333;--muted:#666}

/* Breadcrumb */
.cs-bc{margin:0}
.cs-bc__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 0}
.cs-bc__item{display:flex;align-items:center;margin:0;padding:0;font-family:'Suisse Intl',system-ui,sans-serif;font-weight:700;font-size:15px;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.cs-bc__item a{color:var(--ink);text-decoration:none;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.cs-bc__item a:hover,.cs-bc__item a:focus-visible{color:var(--orange);border-bottom-color:currentColor}
.cs-bc__item [aria-current]{color:var(--ink)}
.cs-bc__chev{flex:0 0 auto;margin:0 14px;color:var(--peach)}
@media (max-width:767px){.cs-bc__item{font-size:12px}.cs-bc__chev{margin:0 9px;width:8px;height:11px}.cs-bc__item:last-child span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}}

/* Shared card bits */
.cs-sx__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.cs-sx__pill{background:var(--mint);color:#333;font-family:'Suisse Intl',system-ui,sans-serif;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1;padding:6px 11px;border-radius:20px}
.cs-sx__date{font-family:'Suisse Intl',system-ui,sans-serif;font-size:13px;color:#6b6b6b}
.cs-sx__h{font-family:'Recoleta',Georgia,serif;font-weight:500;color:var(--deep);font-size:24px;line-height:1.18;margin:0;text-wrap:balance}
.cs-sx__ex{margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-family:'Suisse Intl',system-ui,sans-serif;font-size:15px;line-height:1.55;color:#555}
.cs-sx__img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .5s ease}
.cs-sx__img--empty{background:linear-gradient(135deg,#BAE7C9,#93E6DC)}

/* Section index */
.cs-sx{margin:0}
.cs-sx__filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px}
.cs-sx__chip{font-family:'Suisse Intl',system-ui,sans-serif;font-size:14px;line-height:1;color:var(--deep);background:#fff;border:1px solid rgba(0,86,97,.22);border-radius:999px;padding:12px 18px;min-height:44px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.cs-sx__chip:hover{border-color:var(--teal)}
.cs-sx__chip[aria-pressed="true"]{background:var(--deep);border-color:var(--deep);color:#fff}
.cs-sx__chip:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.cs-sx__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cs-sx__card{margin:0;padding:0}
.cs-sx__card[hidden]{display:none}
.cs-sx__link{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid rgba(0,86,97,.12);border-radius:20px;padding:10px 10px 24px;text-decoration:none;color:inherit;transition:transform .25s ease,box-shadow .25s ease}
.cs-sx__link:hover,.cs-sx__link:focus-visible{transform:translateY(-6px);box-shadow:0 16px 34px rgba(0,59,67,.12)}
.cs-sx__link:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.cs-sx__link:hover .cs-sx__img{transform:scale(1.04)}
.cs-sx__media{display:block;border-radius:14px;overflow:hidden;aspect-ratio:4/3;background:#e9e4d8}
.cs-sx__body{display:flex;flex-direction:column;gap:10px;padding:16px 8px 0}
.cs-sx__cta{font-family:'Suisse Intl',system-ui,sans-serif;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);margin-top:6px}
/* Lead card spans the row, image beside text */
.cs-sx__card--lead{grid-column:1/-1}
.cs-sx__card--lead .cs-sx__link{flex-direction:row;align-items:stretch;padding:10px}
.cs-sx__card--lead .cs-sx__media{flex:1 1 58%;aspect-ratio:auto;min-height:420px}
.cs-sx__card--lead .cs-sx__body{flex:1 1 42%;justify-content:center;gap:14px;padding:32px 36px}
.cs-sx__card--lead .cs-sx__h{font-size:clamp(30px,3.2vw,42px);line-height:1.08}
.cs-sx__card--lead .cs-sx__ex{-webkit-line-clamp:4;font-size:17px}
.cs-sx__none{font-family:'Suisse Intl',system-ui,sans-serif;color:var(--muted);margin:24px 0 0}
.cs-sx--empty p{font-family:'Suisse Intl',system-ui,sans-serif;color:var(--muted)}
@media (max-width:1024px){.cs-sx__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cs-sx__h{font-size:22px}}
@media (max-width:767px){
.cs-sx__grid{grid-template-columns:minmax(0,1fr)}
.cs-sx__filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-bottom:24px}
.cs-sx__filters::-webkit-scrollbar{display:none}
.cs-sx__chip{flex:0 0 auto}
.cs-sx__card--lead .cs-sx__link{flex-direction:column;padding:10px 10px 24px}
.cs-sx__card--lead .cs-sx__media{aspect-ratio:4/3;min-height:0}
.cs-sx__card--lead .cs-sx__body{padding:16px 8px 0;gap:10px}
.cs-sx__card--lead .cs-sx__h{font-size:28px}
.cs-sx__card--lead .cs-sx__ex{font-size:15px}
}

/* Project stories */
.cs-pj{margin:0}
.cs-pj__title{font-family:'Recoleta',Georgia,serif;font-weight:500;color:var(--deep);font-size:clamp(28px,3vw,38px);line-height:1.1;margin:0 0 24px}
.cs-pj__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.cs-pj__item{margin:0;padding:0}
.cs-pj__link{display:flex;align-items:center;gap:28px;background:#fff;border:1px solid rgba(0,86,97,.12);border-radius:20px;padding:12px 28px 12px 12px;text-decoration:none;color:inherit;transition:transform .25s ease,box-shadow .25s ease}
.cs-pj__link:hover,.cs-pj__link:focus-visible{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,59,67,.12)}
.cs-pj__link:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.cs-pj__link:hover .cs-sx__img{transform:scale(1.04)}
.cs-pj__media{flex:0 0 260px;height:180px;border-radius:14px;overflow:hidden;background:#e9e4d8}
.cs-pj__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:10px}
.cs-pj__part{font-family:'Shantell Sans',cursive;font-weight:700;color:var(--orange);font-size:17px;line-height:1}
@media (max-width:767px){
.cs-pj__link{flex-direction:column;align-items:stretch;gap:0;padding:10px 10px 24px}
.cs-pj__media{flex:none;height:auto;aspect-ratio:4/3}
.cs-pj__body{padding:16px 8px 0}
}
@media (prefers-reduced-motion:reduce){.cs-sx__link,.cs-pj__link,.cs-sx__img{transition:none}.cs-sx__link:hover,.cs-pj__link:hover{transform:none}.cs-sx__link:hover .cs-sx__img,.cs-pj__link:hover .cs-sx__img{transform:none}}

/* Hold our type against theme heading and link styles */
.cs-bc .cs-bc__item a,.cs-bc .cs-bc__item a:visited{color:var(--ink)!important;text-decoration:none!important;background:none!important}
.cs-bc .cs-bc__item a:hover,.cs-bc .cs-bc__item a:focus-visible{color:var(--orange)!important}
.cs-pj h2.cs-pj__title{font-family:'Recoleta',Georgia,serif!important;font-weight:500!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.1!important;letter-spacing:0!important;text-transform:none!important;color:var(--deep)!important}
.cs-sx .cs-sx__h,.cs-pj .cs-sx__h{font-family:'Recoleta',Georgia,serif!important;font-weight:500!important;font-size:24px!important;line-height:1.18!important;letter-spacing:0!important;text-transform:none!important;color:var(--deep)!important;margin:0!important}
.cs-sx .cs-sx__card--lead .cs-sx__h{font-size:clamp(30px,3.2vw,42px)!important;line-height:1.08!important}
.cs-sx .cs-sx__ex,.cs-pj .cs-sx__ex{margin:0!important;text-transform:none!important}
.cs-sx a.cs-sx__link,.cs-pj a.cs-pj__link{color:inherit!important;text-decoration:none!important}
@media (max-width:1024px){.cs-sx .cs-sx__h,.cs-pj .cs-sx__h{font-size:22px!important}}
@media (max-width:767px){.cs-sx .cs-sx__card--lead .cs-sx__h{font-size:28px!important}.cs-bc .cs-bc__item{font-size:12px}}

/* Card titles never balloon: fixed size, 3 lines max, grid fills the row */
.cs-sx .cs-sx__grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.cs-sx .cs-sx__h,.cs-pj .cs-sx__h{display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-wrap:pretty;hyphens:manual;word-break:normal}
.cs-sx .cs-sx__card--lead .cs-sx__h{-webkit-line-clamp:3}
.cs-sx .cs-sx__ex,.cs-pj .cs-sx__ex{font-size:15px!important;line-height:1.55!important}
@media (max-width:767px){.cs-sx .cs-sx__grid{grid-template-columns:minmax(0,1fr)}}
/* Lead card sits in its own row; the grid below always fills its width */
.cs-sx .cs-sx__lead{list-style:none;margin:0 0 24px;padding:0}
.cs-sx .cs-sx__lead .cs-sx__card--lead{grid-column:auto}
@media (max-width:767px){.cs-sx .cs-sx__lead{margin-bottom:16px}}

/* Breadcrumb, brand pass: breathing room under the hero, quieter type, teal links, muted current page */
.cs-bc{padding:28px 0 4px;margin:0}
.cs-bc .cs-bc__list{gap:6px 0}
.cs-bc .cs-bc__item{font-family:'Suisse Intl',system-ui,sans-serif;font-weight:600;font-size:12.5px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;color:var(--deep)}
.cs-bc .cs-bc__item a,.cs-bc .cs-bc__item a:visited{color:var(--deep)!important;border-bottom:1px solid transparent!important;padding-bottom:1px}
.cs-bc .cs-bc__item a:hover,.cs-bc .cs-bc__item a:focus-visible{color:var(--orange)!important;border-bottom-color:currentColor!important}
.cs-bc .cs-bc__item span:not([aria-current]){color:var(--deep)}
.cs-bc .cs-bc__item [aria-current]{color:#6b6b6b;font-weight:500;display:inline-block;max-width:48ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}
.cs-bc .cs-bc__chev{width:7px;height:10px;margin:0 12px;color:var(--orange);opacity:.85}
@media (max-width:767px){
.cs-bc{padding:20px 0 0}
.cs-bc .cs-bc__item{font-size:11px;letter-spacing:.1em}
.cs-bc .cs-bc__chev{margin:0 8px}
.cs-bc .cs-bc__item [aria-current]{max-width:22ch;display:inline-block}
}
/* On articles, line the breadcrumb up with the 700px reading column */
.single-post .e-con:has(> .e-con-inner .cs-bc){padding-left:20px!important;padding-right:20px!important}
.single-post .e-con:has(.cs-bc) > .e-con-inner{max-width:100%!important;width:100%!important;padding-left:0!important;padding-right:0!important}
.single-post .cs-bc{width:100%;max-width:700px;margin:0 auto;box-sizing:border-box}
