html,
body {
    overflow-x: clip;
}
.cbc-post-detail {
    min-height: 100vh;
    background: #fff;
    color: #06477c;
    font-family: "CBC Josefin Sans", "Josefin Sans", Arial, sans-serif;
}
.cbc-post-detail__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: clamp(420px, 54vw, 620px);
    overflow: hidden;
    background-image: var(--cbc-detail-hero);
    background-position: center;
    background-size: cover;
}
.cbc-post-detail__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(10, 34, 45, .54); */
}
.cbc-post-detail__shade {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg, rgba(4, 25, 36, .16) 0%, rgba(4, 35, 48, .24) 52%, rgba(4, 35, 48, .34) 100%); */
}
.cbc-post-detail__hero h1 {
       position: relative;
    z-index: 1;
    margin: 0 0 -1.3%;
    color: #fff;
    font-size: clamp(54px, 9.4vw, 132px);
    font-weight: 800;
    line-height: .86;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}
.cbc-post-detail__filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 8px;
    width: min(780px, calc(100% - 48px));
    margin: 76px auto 88px;
}
.cbc-post-detail__filter-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    border: 1px solid #06477c;
    color: #06477c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
}
.cbc-post-detail__filter-item.is-active {
    border-color: #58bee1;
    background: #58bee1;
}
.cbc-post-detail__filter-item:not(.is-active):hover,
.cbc-post-detail__filter-item:not(.is-active):focus {
    border-color: #e6302e;
    color: #e6302e;
}
.cbc-post-detail__filter-item.is-muted {
    border-color: #9fa3a7;
    color: #9fa3a7;
}
.cbc-post-detail__body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(350px, 1fr);
    gap: 42px;
    align-items: start;
    width: min(1200px, calc(100% - 72px));
    margin: 20px auto 96px;
}
.cbc-post-detail__article {
    position: relative;
    min-width: 0;
}
.cbc-post-detail__header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 40%);
    column-gap: 48px;
    align-items: end;
    margin-bottom: 1em;
}
.cbc-post-detail__back {
    grid-column: 1 / -1;
    width: max-content;
    margin-bottom: 46px;
    color: #06477c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}
.cbc-post-detail__back::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: currentColor;
}
.cbc-post-detail__meta {
   display: flex;
    gap: 8px;
    align-items: center;
    color: #06477c;
    /*  */
    font-size: 14pt;
    font-weight: 700;
    line-height: 1;
    margin-top: 15px;
}
.cbc-post-detail__meta span + span::before,
.cbc-post-detail__card-meta span + span::before {
    content: "|";
    margin-right: 8px;
}
.cbc-post-detail__meta sup,
.cbc-post-detail__card-meta sup {
    font-size: .65em;
    line-height: 0;
}
.cbc-post-detail__header h2 {
    grid-column: 1 / -1;
    margin: 13px 0 0;
    color: #06477c;
    font-size: 24pt;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}
.cbc-post-detail__image {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 1em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    background: #d6dee4;
}
.cbc-post-detail__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.58;
    object-fit: cover;
}
.cbc-post-detail__content {
    width: 100%;
    margin: 0;
    color: #173f5f;
    font-family: "CBC Josefin Sans", "Josefin Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.78;
}
.cbc-post-detail__content,
.cbc-post-detail__content * {
    font-family: "CBC Josefin Sans", "Josefin Sans", Arial, sans-serif !important;
}
.cbc-post-detail__article,
.cbc-post-detail__article * {
    font-family: "CBC Josefin Sans", "Josefin Sans", Arial, sans-serif !important;
}
.cbc-post-detail__content h1,
.cbc-post-detail__content h2,
.cbc-post-detail__content h3 {
    color: #06477c;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: uppercase;
}
.cbc-post-detail__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 1em; margin-top: 1em;
    cursor: zoom-in;
}
.cbc-post-detail__content-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.cbc-post-detail__latest-col {
    align-self: start;
    position: relative;
    min-width: 0;
}
.cbc-post-detail__latest {
    height: max-content;
    max-height: calc(100vh - 104px);
    min-width: 0;
    /* overflow-y: auto; */
    border: 1px solid #9aa5b5;
    background: #fff;
}
.cbc-post-detail__latest h2 {
    margin: 0;
    padding: 20px 20px;
    background: #06477c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
}
.cbc-post-detail__latest-list {
    display: grid;
    padding: 0 20px;
}
.cbc-post-detail__latest-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #cfd3da;
    color: #06477c;
    text-decoration: none;
}
.cbc-post-detail__latest-media {
    display: grid;
    gap: 8px;
    min-width: 0;
}
.cbc-post-detail__latest-thumb {
    display: block;
    overflow: hidden;
    width: 90px;
    height: 64px;
    background: #d6dee4;
}
.cbc-post-detail__latest-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.cbc-post-detail__latest-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}
.cbc-post-detail__latest-date {
    color: #9b9b9b;
    font-size: 13px;
    font-style: italic;
    line-height: 1.2;
}
.cbc-post-detail__latest-copy strong {
    display: block;
    color: #0647a5;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.32;
    padding-top: 2px;
    transition: color .28s ease;
}
.cbc-post-detail__latest-copy span {
    display: -webkit-box;
    overflow: hidden;
    color: #3a72bf;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.cbc-post-detail__latest-item:hover .cbc-post-detail__latest-thumb img,
.cbc-post-detail__latest-item:focus .cbc-post-detail__latest-thumb img {
    transform: scale(1.04);
}
.cbc-post-detail__latest-item:hover .cbc-post-detail__latest-copy strong,
.cbc-post-detail__latest-item:focus .cbc-post-detail__latest-copy strong {
    color: #e6302e;
}
.cbc-post-detail__latest-more {
    display: block;
    padding: 18px 20px 20px;
    color: #b6b6b6;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-align: right;
    text-decoration: none;
}
.cbc-post-detail__latest-more:hover,
.cbc-post-detail__latest-more:focus {
    color: #0647a5;
}
.cbc-post-detail__related {
    width: min(1038px, calc(100% - 72px));
    margin: 0 auto 92px;
}
.cbc-post-detail__related h2 {
    margin: 0 0 34px;
    color: #06477c;
    font-size: 28pt;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}
.cbc-post-detail__related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 58px 34px;
}
.cbc-post-detail__card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}
.cbc-post-detail__card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.58;
    background: #d6dee4;
}
.cbc-post-detail__card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}
.cbc-post-detail__card:hover .cbc-post-detail__card-image img {
    transform: scale(1.035);
}
.cbc-post-detail__card-body {
    position: relative;
    box-sizing: border-box;
    height: 86px;
    overflow: hidden;
    padding: 10px 0 0;
    background: transparent;
    transition:
        background-color .32s cubic-bezier(.22, 1, .36, 1),
        padding .32s cubic-bezier(.22, 1, .36, 1);
}
.cbc-post-detail__card-body::before,
.cbc-post-detail__card-body::after {
    position: absolute;
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.cbc-post-detail__card-body::before {
    top: 22px;
    left: 9px;
    width: 19px;
    height: 19px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
.cbc-post-detail__card-body::after {
    top: 22px;
    left: 9px;
    width: 27px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: left center;
}
.cbc-post-detail__card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 7px;
    color: #06477c;
    font-size: 10pt;
    font-weight: 700;
    line-height: 1;
}
.cbc-post-detail__card h3 {
    max-width: 245px;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0;
    text-transform: none;
}
.cbc-post-detail__card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: #06477c;
    text-decoration: none;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color .32s ease;
}
.cbc-post-detail__card:hover .cbc-post-detail__card-body {
    padding: 15px 12px 13px 37px;
    background: #06477c;
}
.cbc-post-detail__card:hover .cbc-post-detail__card-body::before,
.cbc-post-detail__card:hover .cbc-post-detail__card-body::after {
    opacity: 1;
}
.cbc-post-detail__card:hover .cbc-post-detail__card-meta,
.cbc-post-detail__card:hover h3 a {
    color: #fff;
}
@media (max-width: 1199px) {
    .cbc-post-detail__related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991px) {
    .cbc-post-detail__body {
        grid-template-columns: 1fr;
        gap: 46px;
    }
    .cbc-post-detail__latest {
        position: static;
    }
    .cbc-post-detail__latest-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
    .cbc-post-detail__filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 58px auto 64px;
    }
    .cbc-post-detail__header {
        grid-template-columns: 1fr;
    }
    .cbc-post-detail__image {
        margin-left: 0;
    }
    .cbc-post-detail__related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 24px;
    }
}
@media (max-width: 767px) {
.cbc-post-detail__card-meta {
    font-size: 12pt;
}
}
@media (max-width: 575px) {
    .cbc-post-detail__hero {
        min-height: 420px;
    }
    .cbc-post-detail__hero h1 {
         margin-bottom: 0px; 
        font-size: 24pt;
    }
    .cbc-post-detail__filter {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
        margin: 42px auto 42px;
    }
    .cbc-post-detail__body,
    .cbc-post-detail__related {
        width: calc(100% - 32px);
    }
    .cbc-post-detail__article::before {
        display: none;
    }
    .cbc-post-detail__header h2 {
        font-size: 24px;
    }
    .cbc-post-detail__related-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .cbc-post-detail__latest-list {
        grid-template-columns: 1fr;
    }
    .cbc-post-detail__card h3 {
        max-width: none;
    }
}