/* Komodo Sailing Blog — editorial layout */
.ksb-blog-shell{max-width:1180px;margin:0 auto;padding:42px 22px 76px;color:#26364a}
.ksb-blog-hero{background:#f3f7fb;border-radius:5px;padding:64px 7%;text-align:center;margin-bottom:28px}
.ksb-eyebrow,.ksb-section-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#16a85a}
.ksb-blog-hero h1{font-family:inherit;color:#063b7a;font-size:clamp(32px,5vw,54px);line-height:1.08;letter-spacing:-1.5px;margin:15px auto;max-width:820px}
.ksb-blog-hero p{font-size:16px;line-height:1.75;color:#64748b;max-width:650px;margin:0 auto 24px}
.ksb-search{display:flex;max-width:560px;margin:0 auto;background:#fff;border:1px solid #dce4ec;padding:5px;border-radius:4px}
.ksb-search input{flex:1;min-width:0;border:0!important;box-shadow:none!important;padding:12px 14px;background:transparent}
.ksb-search button{border:0;border-radius:3px;background:#063b7a;color:#fff;padding:0 22px;font-weight:700;cursor:pointer}
.ksb-category-nav{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;padding:10px 0 38px}
.ksb-category-pill{border:1px solid #e1e8ef;border-radius:30px;padding:9px 15px;text-decoration:none!important;color:#42536a;font-size:12px;font-weight:700}
.ksb-category-pill:hover,.ksb-category-pill.is-active{background:#063b7a;border-color:#063b7a;color:#fff}
.ksb-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 22px}
.ksb-section-heading h2,.ksb-related h2{font-size:27px;line-height:1.2;color:#063b7a;margin:8px 0 0;letter-spacing:-.5px}
.ksb-result-count{font-size:10px;letter-spacing:1.5px;color:#8290a2;font-weight:800}
.ksb-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.ksb-post-card{border:1px solid #e8edf2;background:#fff;min-width:0;transition:transform .2s ease,box-shadow .2s ease}
.ksb-post-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(6,59,122,.08)}
.ksb-card-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#eaf0f5}
.ksb-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ksb-post-card:hover .ksb-card-image img{transform:scale(1.04)}
.ksb-image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#063b7a;font-size:12px;letter-spacing:2px;font-weight:800}
.ksb-card-body{padding:20px 20px 22px}
.ksb-card-meta{display:flex;gap:12px;flex-wrap:wrap;color:#8793a2;text-transform:uppercase;font-size:9px;letter-spacing:1px;font-weight:800}
.ksb-card-meta span:first-child{color:#16a85a}
.ksb-card-body h3{font-size:20px;line-height:1.3;margin:12px 0 9px;color:#063b7a}
.ksb-card-body h3 a{color:inherit;text-decoration:none}
.ksb-card-body p{font-size:13px;line-height:1.75;color:#68778a;margin:0 0 17px}
.ksb-read-more{font-size:12px;font-weight:800;color:#063b7a;text-decoration:none}
.ksb-read-more span{color:#16a85a;margin-left:5px}
.ksb-pagination{margin:38px 0 0}
.ksb-pagination ul{display:flex;justify-content:center;gap:8px;list-style:none;margin:0;padding:0}
.ksb-pagination a,.ksb-pagination span{display:block;padding:9px 13px;border:1px solid #e1e8ef;text-decoration:none;color:#063b7a;font-size:12px}
.ksb-pagination .current{background:#063b7a;color:#fff;border-color:#063b7a}
.ksb-empty-state{text-align:center;padding:55px 20px;background:#f5f8fb}
.ksb-empty-state h2{color:#063b7a}
.ksb-empty-state p{color:#68778a}
.single-post .entry-content{font-size:17px;line-height:1.85;color:#344256}
.single-post .entry-content h2,.single-post .entry-content h3{color:#063b7a;line-height:1.25;margin-top:1.7em}
.single-post .entry-content a{color:#087d55;text-decoration:underline;text-underline-offset:3px}
.single-post .entry-content img{border-radius:3px}
.ksb-article-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#063b7a;color:#fff;padding:30px 34px;margin:45px 0;border-radius:4px}
.ksb-article-cta span{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#9bd8b8}
.ksb-article-cta h2{color:#fff!important;margin:7px 0!important;font-size:25px}
.ksb-article-cta p{color:#d7e2ef;margin:0;font-size:14px}
.ksb-article-cta>a{white-space:nowrap;background:#16a85a;color:#fff!important;text-decoration:none!important;padding:13px 18px;font-size:12px;font-weight:800;border-radius:3px}
.ksb-related{margin:55px 0 10px}
.ksb-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.ksb-related-grid article{border:1px solid #e8edf2}
.ksb-related-grid a{text-decoration:none!important;color:#063b7a!important}
.ksb-related-grid img{width:100%;height:135px;object-fit:cover;display:block}
.ksb-related-grid h3{font-size:16px;line-height:1.35;padding:0 14px;margin:13px 0}
.ksb-related-grid span{display:block;padding:0 14px 15px;font-size:11px;font-weight:800;color:#16a85a}
@media(max-width:900px){.ksb-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ksb-blog-shell{padding:24px 15px 50px}.ksb-blog-hero{padding:42px 18px}.ksb-blog-hero p{font-size:14px}.ksb-search button{padding:0 13px}.ksb-post-grid{grid-template-columns:1fr;gap:18px}.ksb-section-heading{align-items:start;flex-direction:column}.ksb-section-heading h2,.ksb-related h2{font-size:23px}.ksb-article-cta{align-items:flex-start;flex-direction:column;padding:25px 22px}.ksb-related-grid{grid-template-columns:1fr}.ksb-related-grid img{height:190px}}

/* v1.1 editorial homepage additions */
.ksb-featured-story{display:grid;grid-template-columns:1.35fr 1fr;background:#fff;border:1px solid #e8edf2;margin:4px 0 58px;min-height:330px}
.ksb-featured-image{display:block;min-height:330px;background:#eaf0f5;overflow:hidden}
.ksb-featured-image img{width:100%;height:100%;min-height:330px;object-fit:cover;display:block}
.ksb-featured-copy{padding:clamp(24px,4vw,48px);align-self:center}
.ksb-featured-copy h2{font-size:clamp(25px,3vw,37px);line-height:1.18;color:#063b7a;letter-spacing:-.8px;margin:13px 0}
.ksb-featured-copy h2 a{color:inherit;text-decoration:none}
.ksb-featured-copy p{color:#68778a;line-height:1.8;font-size:14px}
.ksb-featured-meta{font-size:10px;letter-spacing:1px;color:#8793a2;font-weight:800;margin:18px 0}
.ksb-featured-link{font-size:12px;font-weight:800;color:#063b7a;text-decoration:none}.ksb-featured-link span{color:#16a85a;margin-left:5px}
.ksb-explore-section{margin:0 0 58px}
.ksb-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.ksb-category-tile{min-height:112px;padding:20px;background:#f3f7fb;border-left:3px solid #16a85a;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none!important;transition:background .2s ease}
.ksb-category-tile:hover{background:#e8f1f8}
.ksb-category-tile span{font-size:17px;font-weight:800;color:#063b7a}
.ksb-category-tile small{font-size:9px;letter-spacing:1.2px;color:#718198;font-weight:800}
.ksb-latest-section{margin-bottom:55px}
.ksb-home-cta{background:#063b7a;color:#fff;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:55px}
.ksb-home-cta>div>span{font-size:10px;letter-spacing:1.5px;color:#9bd8b8;font-weight:800}
.ksb-home-cta h2{color:#fff;margin:8px 0;font-size:27px}
.ksb-home-cta p{color:#d7e2ef;font-size:14px;margin:0}
.ksb-home-cta>a{white-space:nowrap;background:#16a85a;color:#fff;text-decoration:none;padding:14px 19px;font-size:12px;font-weight:800;border-radius:3px}
@media(max-width:760px){.ksb-featured-story{grid-template-columns:1fr}.ksb-featured-image,.ksb-featured-image img{min-height:220px;height:220px}.ksb-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ksb-home-cta{align-items:flex-start;flex-direction:column;padding:28px 22px}}
@media(max-width:420px){.ksb-category-grid{grid-template-columns:1fr}}


/* Single article editorial experience — v1.2.0 */
.single-post .entry-header{max-width:900px;margin:35px auto 22px;padding:0 22px}
.single-post .entry-title{font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-1.4px;color:#063b7a}
.single-post .post-thumbnail{max-width:1180px;margin:25px auto 42px;padding:0 22px}
.single-post .post-thumbnail img{width:100%;max-height:590px;object-fit:cover;display:block}
.ksb-article-topline{max-width:900px;margin:0 auto 18px;padding:0 22px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#8290a2;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.ksb-article-topline a{color:#16a85a;text-decoration:none}
.ksb-article-topline span+span:before{content:"·";margin-right:12px;color:#c2ccd6}
.single-post .entry-content{max-width:820px;margin:0 auto;font-size:17px;line-height:1.9;color:#39485a;padding:0 22px}
.single-post .entry-content>p:first-of-type{font-size:19px;line-height:1.8;color:#52647a}
.single-post .entry-content h2{font-size:30px;letter-spacing:-.5px;margin:2em 0 .65em;scroll-margin-top:110px}
.single-post .entry-content h3{font-size:22px;margin:1.6em 0 .5em}
.single-post .entry-content blockquote{border-left:3px solid #16a85a;background:#f4f8fb;padding:18px 24px;margin:28px 0;color:#42536a}
.ksb-toc{max-width:820px;margin:28px auto 35px;padding:24px 28px;background:#f4f7fa;border:1px solid #e5ebf1;border-radius:4px}
.ksb-toc-heading{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}
.ksb-toc-heading span{font-size:10px;letter-spacing:1.5px;color:#16a85a;font-weight:800}
.ksb-toc-heading strong{font-size:20px;color:#063b7a}
.ksb-toc ol{margin:0;padding-left:20px;columns:2;column-gap:35px}
.ksb-toc li{padding:5px 0;break-inside:avoid;color:#16a85a}
.ksb-toc li a{font-size:13px;color:#42536a;text-decoration:none}
.ksb-toc li a:hover{color:#16a85a;text-decoration:underline}
.ksb-author-note{max-width:820px;margin:42px auto 10px;padding:20px 22px;border-top:1px solid #e7edf2;border-bottom:1px solid #e7edf2;display:flex;align-items:center;gap:15px}
.ksb-author-mark{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#063b7a;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800}
.ksb-author-note strong{color:#063b7a;font-size:14px}
.ksb-author-note p{margin:4px 0 0;color:#718096;font-size:12px;line-height:1.5}
.ksb-article-cta,.ksb-related{max-width:900px;margin-left:auto;margin-right:auto}
@media(max-width:650px){.ksb-toc{margin:22px 15px;padding:20px}.ksb-toc ol{columns:1}.single-post .entry-content{font-size:16px}.single-post .entry-content h2{font-size:25px}.ksb-article-topline{gap:8px;font-size:9px}}

/* v1.3.0 article navigation and SEO reading usability */
.ksb-article-topline{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:0 0 22px;padding:12px 0;border-bottom:1px solid #e6edf3;color:#78879a;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.ksb-article-topline a{color:#16a85a;text-decoration:none}
.ksb-toc{max-width:820px;margin:26px auto 34px;padding:22px 26px;background:#f4f7fa;border-left:3px solid #16a85a}
.ksb-toc-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.ksb-toc-heading span{font-size:10px;letter-spacing:1.5px;color:#16a85a;font-weight:800}
.ksb-toc-heading strong{font-size:19px;color:#063b7a}
.ksb-toc ol{margin:0;padding-left:21px;columns:2;column-gap:30px}
.ksb-toc li{break-inside:avoid;margin:7px 0;color:#16a85a;font-size:13px}
.ksb-toc li a{color:#40536a;text-decoration:none}
.ksb-toc li a:hover{color:#063b7a;text-decoration:underline}
.ksb-author-note{display:flex;gap:14px;align-items:center;margin:38px 0;padding:20px;border-top:1px solid #e7edf2;border-bottom:1px solid #e7edf2}
.ksb-author-mark{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#063b7a;color:#fff;font-weight:800;font-size:12px;flex:0 0 42px}
.ksb-author-note strong{color:#063b7a}
.ksb-author-note p{margin:4px 0 0;font-size:12px;color:#718096}
@media(max-width:600px){.ksb-toc ol{columns:1}.ksb-article-topline{gap:8px 12px;font-size:9px}}
