.blog-page{padding-block:48px;color:var(--kih-ink,#102d48)}.blog-page header{margin-bottom:28px}.blog-page h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15}.blog-page a{color:var(--kih-blue,#09519e)}.blog-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.blog-list-card{border:1px solid #dce7f3;border-radius:20px;overflow:hidden;background:white}.blog-list-card img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.blog-list-card>div{padding:22px}.blog-list-card h2{font-size:1.4rem;line-height:1.3}.blog-detail{max-width:1000px}.blog-detail-cover{width:100%;max-height:480px;object-fit:cover;border-radius:20px;margin-bottom:30px}.blog-rich-content{overflow-wrap:anywhere;line-height:1.8}.blog-rich-content img,.blog-rich-content video{max-width:100%;height:auto;display:block;border-radius:12px}.blog-rich-content iframe{border:0;width:100%;aspect-ratio:16/9}.blog-rich-content blockquote{border-left:4px solid #09519e;padding:12px 20px;background:#eef5fc}.blog-rich-content figure{margin:24px 0}.blog-align-center{text-align:center}.blog-align-right{text-align:right}.blog-align-justify{text-align:justify}@media(max-width:991px){.blog-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575px){.blog-list-grid{grid-template-columns:1fr}.blog-page{padding-block:28px}}


/* Blog detail: photo hero with the article details, then the article and related reads. */
.blog-detail-page { color: var(--kih-ink, #102d48); }
.blog-hero { position: relative; isolation: isolate; overflow: hidden; background: #063b74; }
.blog-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.blog-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 30, 60, .96) 0%, rgba(6, 46, 86, .88) 45%, rgba(6, 46, 86, .55) 75%, rgba(6, 46, 86, .35) 100%); }
.blog-hero-copy { max-width: 760px; padding: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.blog-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; margin-bottom: .75rem; color: #d3e2f3; font-size: .85rem; font-weight: 500; }
.blog-hero-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.blog-hero-meta .bi { color: #fff; }
.blog-hero-category { padding: .35rem .8rem; border-radius: 999px; background: var(--kih-red, #e51b3e); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.blog-hero h1 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 600; line-height: 1.12; }

.blog-detail-body { max-width: 900px; padding-block: clamp(2rem, 4vw, 3rem); }
.blog-detail-body .blog-detail-cover { display: block; width: 100%; max-height: 480px; margin: 0 0 2rem; border-radius: 20px; object-fit: cover; }
.blog-detail-body .blog-rich-content { color: #2c4560; font-size: 1rem; }
/* Desktop: the photo sits on the left and the text starts beside it, then runs full width below it.
   The photo keeps its own shape, so the whole picture shows without cropping. */
@media (min-width: 992px) {
    .blog-detail-body { display: flow-root; max-width: 1100px; }
    .blog-detail-body .blog-detail-cover { float: left; width: 50%; height: auto; max-height: none; margin: .35rem 2rem 1rem 0; }
    .blog-detail-body .blog-rich-content > p:first-child { margin-top: 0; }
}

.blog-related { padding-block: clamp(2rem, 4vw, 3rem); background: #f6f9fd; }
.blog-related-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.blog-related-head h2 { margin: 0; color: var(--kih-ink, #102d48); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; }
/* Same look as the home page "view all" buttons. */
.blog-view-all { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; height: 35px; padding: 0 16px; border: 1px solid #c9d9eb; border-radius: 9px; background: rgba(255, 255, 255, .72); color: var(--kih-blue, #09519e); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease; }
.blog-view-all i { font-size: 1rem; transition: transform .22s ease; }
.blog-view-all:hover { border-color: var(--kih-blue, #09519e); background: var(--kih-blue, #09519e); color: #fff; transform: translateY(-2px); }
.blog-view-all:hover i { transform: translateX(3px); }
.blog-view-all:focus-visible { outline: 2px solid var(--kih-blue, #09519e); outline-offset: 2px; }
.blog-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.blog-related-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce7f3; border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-related-card:hover { border-color: #b9cde4; box-shadow: 0 14px 32px rgba(6, 46, 86, .1); transform: translateY(-3px); }
.blog-related-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #eef5fc; }
.blog-related-body { display: grid; gap: .4rem; padding: 1rem 1.15rem 1.2rem; }
.blog-related-meta { color: #71869a; font-size: .75rem; font-weight: 600; }
.blog-related-title { color: var(--kih-ink, #102d48); font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.blog-related-card:hover .blog-related-title { color: var(--kih-blue, #09519e); }

@media (max-width: 1199.98px) { .blog-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .blog-hero::before { background: rgba(3, 30, 60, .82); } }
@media (max-width: 575.98px) { .blog-related-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .blog-related-card, .blog-view-all, .blog-view-all i { transition: none; } .blog-related-card:hover, .blog-view-all:hover { transform: none; } }
