:root{
    --okb611-primary:#E11D2E;
    --okb611-primary-dark:#005C26;
    --okb611-text:#071214;
    --okb611-muted:#58645D;
    --okb611-border:#E6ECE7;
    --okb611-soft:#F4F4F4;
}
.okb611-section, .okb611-section *{box-sizing:border-box;}
.okb611-section{position:relative;padding:110px 0;background:#fff;font-family:"Clear Sans Thin",Arial,sans-serif;color:var(--okb611-text);}
.okb611-container{width:min(1320px,88%);margin:0 auto;position:relative;z-index:2;}
.okb611-centered{text-align:center;margin:0 auto 50px;}
.okb611-section-head .okb611-eyebrow{display:block;color:var(--okb611-primary);font-size:17px;line-height:22px;font-weight:700;margin:0 0 12px;}
.okb611-section-head h2{margin:0;color:#05080A;font-size:38px;line-height:46px;font-weight:700;letter-spacing:.01em;}
.okb611-filter-pills{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:30px;}
.okb611-filter-pills span{display:inline-flex;align-items:center;justify-content:center;min-width:80px;height:48px;padding:0 28px;border-radius:999px;background:#F0F0F0;color:#071214;font-size:16px;line-height:20px;font-weight:700;box-shadow:none;}
.okb611-filter-pills .is-active{background:var(--okb611-primary);color:#fff;box-shadow:0 10px 18px rgba(0,0,0,.14);}

/* Impact Stories, matched to the supplied Working Projects grid style */
.okb611-impact-section{background:#fff;padding-top:118px;}
.okb611-impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;}
.okb611-impact-card{position:relative;display:block;overflow:hidden;min-height:220px;border-radius:4px;text-decoration:none;background:#ddd;box-shadow:0 1px 0 rgba(0,0,0,.02);}
.okb611-impact-card img{display:block;width:100%;height:100%;min-height:220px;aspect-ratio:3/2;object-fit:cover;object-position:center;transition:transform .45s ease;}
.okb611-impact-card:hover img{transform:scale(1.045);}
.okb611-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 36%,rgba(0,0,0,.36) 66%,rgba(0,0,0,.78) 100%);z-index:1;}
.okb611-card-content{position:absolute;left:34px;right:26px;bottom:26px;z-index:2;color:#fff;}
.okb611-card-content strong{display:block;color:#fff;font-size:24px;line-height:29px;font-weight:700;margin:0 0 12px;text-shadow:0 2px 8px rgba(0,0,0,.35);}
.okb611-card-content em{display:block;color:rgba(255,255,255,.78);font-size:0;line-height:0;font-style:normal;}
.okb611-card-content:after{content:"";display:block;width:48px;height:3px;background:#fff;margin-top:12px;}

/* Team, matched to the supplied 4-card team carousel style */
.okb611-team-section{background:#F0F0F0;padding-top:106px;padding-bottom:122px;overflow:hidden;}
.okb611-team-section .okb611-centered{margin-bottom:56px;}
.okb611-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.okb611-team-card{background:#fff;text-align:center;padding:20px 20px 48px;border-radius:0;min-height:500px;box-shadow:none;border:0;}
.okb611-team-card img{display:block;width:100%;height:278px;object-fit:cover;object-position:center;border-radius:3px;margin:0 0 28px;}
.okb611-team-card h3{margin:0 0 9px;color:#05080A;font-size:24px;line-height:30px;font-weight:700;}
.okb611-team-card p{margin:0 0 28px;color:#1f2428;font-size:16px;line-height:22px;font-weight:400;}
.okb611-socials{display:flex;justify-content:center;gap:10px;}
.okb611-socials a{width:40px;height:40px;border:1px solid var(--okb611-primary);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--okb611-primary);font-size:16px;line-height:16px;font-weight:700;background:#fff;text-transform:lowercase;}
.okb611-socials a:hover{background:var(--okb611-primary);color:#fff;}
.okb611-team-arrows{position:absolute;inset:0;pointer-events:none;z-index:4;}
.okb611-team-arrows span{position:absolute;top:53%;transform:translateY(-50%);width:42px;height:42px;border:2px solid var(--okb611-primary);border-radius:4px;color:var(--okb611-primary);background:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;line-height:38px;font-weight:700;}
.okb611-team-arrows span:first-child{left:7.4%;}
.okb611-team-arrows span:last-child{right:7.4%;}

/* Latest Updates, matched to the supplied two-column horizontal post cards */
.okb611-latest-section{background:#fff;padding-top:112px;}
.okb611-latest-head{margin-bottom:48px;}
.okb611-title-line{display:block;width:50px;height:4px;background:var(--okb611-primary);margin:18px auto 0;}
.okb611-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
.okb611-news-card{position:relative;display:grid;grid-template-columns:48% 52%;min-height:324px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08);border:1px solid #F0F0F0;overflow:visible;}
.okb611-news-img{display:block;overflow:hidden;background:#e8ede9;}
.okb611-news-img img{display:block;width:100%;height:100%;min-height:324px;object-fit:cover;object-position:center;transition:transform .45s ease;}
.okb611-news-card:hover .okb611-news-img img{transform:scale(1.035);}
.okb611-news-body{position:relative;padding:64px 42px 36px 48px;background:#fff;}
.okb611-date-badge{position:absolute;left:-64px;top:112px;width:64px;height:88px;background:var(--okb611-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;z-index:3;}
.okb611-date-badge strong{display:block;font-size:22px;line-height:26px;font-weight:700;margin-bottom:8px;}
.okb611-date-badge span{display:block;font-size:15px;line-height:18px;font-weight:400;}
.okb611-news-body h3{margin:0 0 18px;font-size:24px;line-height:31px;font-weight:700;color:#05080A;}
.okb611-news-body h3 a{text-decoration:none;color:inherit;}
.okb611-news-body h3 a:hover{color:var(--okb611-primary);}
.okb611-news-meta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px;color:#7A7F82;font-size:14px;line-height:18px;font-weight:400;}
.okb611-news-meta span:first-child{color:var(--okb611-primary);}
.okb611-news-body p{margin:0;color:#111;font-size:15px;line-height:27px;font-weight:400;}

@media(max-width:1180px){
    .okb611-container{width:min(1120px,92%);}
    .okb611-team-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .okb611-latest-grid{grid-template-columns:1fr;}
    .okb611-team-arrows{display:none;}
}
@media(max-width:900px){
    .okb611-impact-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .okb611-news-card{grid-template-columns:1fr;}
    .okb611-news-img img{min-height:260px;}
    .okb611-date-badge{left:24px;top:-44px;}
    .okb611-news-body{padding:62px 28px 30px;}
}
@media(max-width:640px){
    .okb611-section{padding:70px 0;}
    .okb611-container{width:92%;}
    .okb611-section-head h2{font-size:31px;line-height:38px;}
    .okb611-filter-pills span{height:42px;padding:0 18px;font-size:14px;}
    .okb611-impact-grid,.okb611-team-grid{grid-template-columns:1fr;gap:22px;}
    .okb611-impact-card img{min-height:245px;}
    .okb611-card-content{left:24px;bottom:22px;}
    .okb611-team-card{min-height:auto;padding-bottom:36px;}
    .okb611-team-card img{height:260px;}
    .okb611-news-body h3{font-size:22px;line-height:28px;}
}

/* v6.12 dynamic latest updates helper */
.okb611-empty-posts {
    max-width: 720px;
    margin: 0 auto;
    padding: 26px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.08);
    color: #222222;
    font-size: 16px;
    line-height: 1.5;
}
.okb611-latest-section .okb611-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* v6.13 dynamic team CPT + social links */
.okb611-team-card .okb611-team-role {
    margin: 0 0 22px;
    color: #1f2428;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}
.okb611-team-card .okb611-team-bio {
    max-width: 92%;
    margin: -8px auto 24px;
    color: #4e5a54;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.okb611-socials a,
.okb611-socials span {
    width: 40px;
    height: 40px;
    border: 1px solid var(--okb611-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--okb611-primary);
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    background: #fff;
    text-transform: none;
}
.okb611-socials svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}
.okb611-socials a:hover {
    background: var(--okb611-primary);
    color: #fff;
}
.okb611-socials span.is-disabled {
    opacity: .34;
    cursor: default;
}
.okb611-team-card {
    display: flex;
    flex-direction: column;
}
.okb611-team-card .okb611-socials {
    margin-top: auto;
}
