.kenh-blog-catalog,
.kenh-blog-catalog * {
    box-sizing: border-box;
}

.kenh-blog-catalog {
    --kenh-blog-ink: #241c18;
    --kenh-blog-muted: #766e67;
    --kenh-blog-orange: #c84c17;
    --kenh-blog-paper: #faf7f1;
    background: var(--kenh-blog-paper);
    color: var(--kenh-blog-ink);
    font-family: 'Be Vietnam Pro', sans-serif;
}

.kenh-blog-catalog h1,
.kenh-blog-catalog h2,
.kenh-blog-catalog h3,
.kenh-blog-catalog p {
    margin-top: 0;
}

.kenh-blog-container {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.kenh-blog-hero {
    position: relative;
    isolation: isolate;
    min-height: 700px;
    overflow: hidden;
    background: #25170d;
    color: #fff;
}

.kenh-blog-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgb(18 10 5 / 68%) 0%, rgb(24 13 7 / 48%) 25%, rgb(24 13 7 / 12%) 55%, transparent 85%);
    content: '';
    pointer-events: none;
}

.kenh-blog-hero::after {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 65px;
    background: #fff;
    clip-path: polygon(0 25%, 10% 45%, 25% 75%, 40% 94%, 55% 100%, 70% 92%, 85% 65%, 100% 20%, 100% 100%, 0 100%);
    content: '';
    pointer-events: none;
}

.kenh-blog-hero__media,
.kenh-blog-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.kenh-blog-hero__img {
    object-fit: cover;
    object-position: center center;
}

.kenh-blog-hero__media {
    z-index: 0;
}

.kenh-blog-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 700px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-block: 170px 70px;
}

.kenh-blog-hero__inner::before,
.kenh-blog-hero__inner::after {
    position: absolute;
    width: 220px;
    height: 220px;
    background: url('leaf-sprig.svg') center/contain no-repeat;
    content: '';
    opacity: .65;
    pointer-events: none;
}

.kenh-blog-hero__inner::before {
    top: 100px;
    left: calc((1200px - 100vw) / 2 - 30px);
    transform: rotate(-8deg);
}

.kenh-blog-hero__inner::after {
    right: calc((1200px - 100vw) / 2 - 30px);
    bottom: 65px;
    transform: scaleX(-1) rotate(8deg);
}

.kenh-blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
    color: #f9e8d2;
    font-size: 13px;
}

.kenh-blog-breadcrumb a {
    color: #ffb45e;
    text-decoration: none;
}

.kenh-blog-breadcrumb a:hover,
.kenh-blog-breadcrumb a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.kenh-blog-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(58px, 5.2vw, 88px);
    font-weight: 600;
    line-height: .9;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.kenh-blog-hero__tagline {
    max-width: 70%;
    margin: 0 0 15px;
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(28px, 2.8vw, 43px);
    font-weight: 400;
    line-height: 1.3;
}

.kenh-blog-hero__intro {
    max-width: 365px;
    margin: 0 0 24px;
    color: rgb(255 255 255 / 95%);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.kenh-blog-hero__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 24px;
    border: 1px solid #c6531b;
    border-radius: 50px;
    background: #d95d20;
    box-shadow: 0 4px 14px rgb(0 0 0 / 15%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background .3s ease, box-shadow .3s ease;
}

.kenh-blog-hero__button span {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform .3s ease;
}

.kenh-blog-hero__button:hover,
.kenh-blog-hero__button:focus-visible {
    background: #bc4d19;
    box-shadow: 0 6px 20px rgb(0 0 0 / 25%);
    color: #fff;
}

.kenh-blog-hero__button:hover span,
.kenh-blog-hero__button:focus-visible span {
    transform: translateX(5px);
}

.kenh-blog-hero__quote {
    position: absolute;
    right: 0;
    bottom: 115px;
    max-width: 260px;
    margin: 0;
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.3;
    text-align: right;
    text-shadow: 0 2px 8px rgb(0 0 0 / 55%);
    transform: rotate(-8deg);
}

.kenh-blog-topics,
.kenh-blog-listing {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.kenh-blog-topics > .kenh-blog-container,
.kenh-blog-listing > .kenh-blog-container {
    position: relative;
    z-index: 1;
}

.kenh-blog-topics::before,
.kenh-blog-listing::after {
    position: absolute;
    z-index: 0;
    width: 125px;
    height: 190px;
    background: url('leaf-sprig.svg') center/contain no-repeat;
    content: '';
    opacity: .48;
    pointer-events: none;
}

.kenh-blog-topics::before {
    left: -38px;
    bottom: 8px;
}

.kenh-blog-listing::after {
    right: -30px;
    bottom: 12px;
    transform: scaleX(-1);
}

.kenh-blog-topics {
    padding: 0 0 20px;
    background: radial-gradient(circle at center, #fffdfa, var(--kenh-blog-paper) 76%);
}

.kenh-blog-section-heading {
    margin-bottom: 16px;
}

.kenh-blog-topics .kenh-blog-section-heading {
    margin-bottom: 8px;
}

.kenh-blog-section-heading__script {
    display: block;
    color: #d45420;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 33px;
    font-weight: 400;
    line-height: 1.15;
}

.kenh-blog-section-heading h2 {
    margin: 0;
    color: #201816;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: clamp(33px, calc(3.2vw + 2px), 35px);
    font-weight: 600;
    line-height: 1.6;
    text-transform: uppercase;
}

.kenh-blog-topics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kenh-blog-topic {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eae3d9;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 18px rgb(76 42 25 / 5%);
    color: var(--kenh-blog-ink);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.kenh-blog-topic:hover,
.kenh-blog-topic:focus-visible,
.kenh-blog-topic.is-active {
    border-color: #c95823;
    color: var(--kenh-blog-ink);
    transform: translateY(-3px);
}

.kenh-blog-topic__media {
    display: block;
    height: 160px;
    overflow: hidden;
    background: #f5efe7;
}

.kenh-blog-topic__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.kenh-blog-topic__placeholder,
.kenh-blog-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(145deg, #d9ae7a, #745535);
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 48px;
}

.kenh-blog-topic__body {
    position: relative;
    display: flex;
    min-height: 53px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 30px 8px 10px;
}

.kenh-blog-topic__name {
    overflow: hidden;
    color: #29221e;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kenh-blog-topic small {
    color: var(--kenh-blog-muted);
    font-size: 12px;
    line-height: 1.4;
}

.kenh-blog-topic__arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--kenh-blog-orange);
    color: #fff;
    font-size: 14px;
    transform: translateY(-50%);
}

.kenh-blog-listing {
    padding: 20px 0 50px;
    border-top: 1px solid #ebe4d9;
    background: linear-gradient(130deg, #fcf9f3, #f6f0e6);
    scroll-margin-top: 80px;
}

.kenh-blog-listing__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: start;
    gap: 26px;
}

.kenh-blog-listing__layout.is-full-width {
    grid-template-columns: minmax(0, 1fr);
}

.kenh-blog-main {
    min-width: 0;
}

.kenh-blog-main > .kenh-blog-section-heading {
    margin-bottom: 13px;
}

.kenh-blog-search-summary {
    margin: -4px 0 15px;
    color: var(--kenh-blog-muted);
    font-size: 15px;
}

.kenh-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.kenh-blog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee5db;
    border-radius: 6px;
    background: #fffdfa;
    box-shadow: 0 8px 20px rgb(71 43 25 / 4%);
}

.kenh-blog-card__media {
    position: relative;
    display: block;
    height: 130px;
    overflow: hidden;
    background: #f5efe7;
}

.kenh-blog-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.kenh-blog-card__tag {
    position: absolute;
    bottom: 0;
    left: 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    padding: 4px 11px;
    border-radius: 14px 14px 0 0;
    background: var(--kenh-blog-orange);
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kenh-blog-card__body {
    display: flex;
    min-height: 130px;
    flex-direction: column;
    padding: 10px 12px 12px;
}

.kenh-blog-card time {
    margin-bottom: 4px;
    color: #8c8781;
    font-size: 12px;
}

.kenh-blog-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kenh-blog-card h3 a {
    color: #211913;
    text-decoration: none;
}

.kenh-blog-card h3 a:hover,
.kenh-blog-card h3 a:focus-visible {
    color: var(--kenh-blog-orange);
}

.kenh-blog-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 10px;
    color: #77716d;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.kenh-blog-card__read {
    align-self: flex-start;
    margin-top: auto;
    color: var(--kenh-blog-orange);
    font-size: 13px;
    text-decoration: none;
}

.kenh-blog-card__read span {
    margin-left: 4px;
    font-size: 16px;
    vertical-align: -1px;
}

.kenh-blog-card__read:hover,
.kenh-blog-card__read:focus-visible {
    color: #952f0d;
    text-decoration: underline;
}

.kenh-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 20px;
}

.kenh-blog-pagination .page-numbers {
    display: grid;
    min-width: 29px;
    height: 29px;
    place-items: center;
    padding: 0 7px;
    border: 1px solid #e6ded5;
    border-radius: 50%;
    background: #fff;
    color: #302823;
    font-size: 14px;
    text-decoration: none;
}

.kenh-blog-pagination .page-numbers.current,
.kenh-blog-pagination .page-numbers:hover,
.kenh-blog-pagination .page-numbers:focus-visible {
    border-color: var(--kenh-blog-orange);
    background: var(--kenh-blog-orange);
    color: #fff;
}

.kenh-blog-empty {
    padding: 45px 20px;
    border: 1px solid #eee5db;
    border-radius: 6px;
    background: #fff;
    text-align: center;
}

.kenh-blog-empty h3 {
    margin-bottom: 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 28px;
}

.kenh-blog-empty p {
    margin-bottom: 12px;
    color: var(--kenh-blog-muted);
    font-size: 15px;
}

.kenh-blog-empty a {
    color: var(--kenh-blog-orange);
}

.kenh-blog-sidebar {
    padding-top: 8px;
}

.kenh-blog-sidebar > .widget {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
}

.kenh-blog-sidebar .widget-title {
    margin: 0 0 12px;
    color: var(--kenh-blog-ink);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: none;
}

.kenh-blog-sidebar .widget .widget-title a {
    font-size: inherit;
}

.kenh-blog-sidebar .widget a,
.kenh-blog-sidebar .widget li,
.kenh-blog-sidebar .widget p,
.kenh-blog-sidebar .widget .post-title {
    font-size: 14px;
}

.kenh-blog-sidebar .widget small,
.kenh-blog-sidebar .widget .wp-block-latest-posts__post-date {
    font-size: 16px;
}

.kenh-blog-sidebar .post_comments {
    display: none !important;
}

.kenh-blog-sidebar .widget input[type='search'],
.kenh-blog-sidebar .widget .wp-block-search__input {
    min-width: 0;
    font-size: 16px;
}

.kenh-blog-sidebar .widget button,
.kenh-blog-sidebar .widget input[type='submit'] {
    font-size: 16px;
}

.kenh-blog-newsletter {
    margin-top: 24px;
    padding: 16px 13px 14px;
    border: 1px solid #eee4da;
    border-radius: 6px;
    background: rgb(255 255 255 / 55%);
}

.kenh-blog-sidebar > .kenh-blog-newsletter:first-child {
    margin-top: 0;
}

.kenh-blog-newsletter .kenh-blog-section-heading__script {
    margin-bottom: 5px;
    font-size: 27px;
}

.kenh-blog-newsletter p {
    margin-bottom: 13px;
    color: #625a53;
    font-size: 16px;
    line-height: 1.5;
}

.kenh-blog-newsletter__form form {
    margin: 0;
}

.kenh-blog-newsletter__form input[type='email'] {
    width: 100%;
    height: 34px;
    margin: 0 0 6px;
    border: 1px solid #e2d9cf;
    border-radius: 4px;
    background: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
}

.kenh-blog-newsletter__form button,
.kenh-blog-newsletter__form input[type='submit'] {
    min-height: 34px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: var(--kenh-blog-orange);
    color: #fff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    text-transform: none;
}

.kenh-blog-catalog.is-loading .kenh-blog-main,
.kenh-blog-catalog.is-loading .kenh-blog-sidebar {
    opacity: .55;
    transition: opacity .15s ease;
}

@media (min-width: 850px) and (max-width: 1199px) {
    .kenh-blog-hero__inner::before {
        top: 110px;
        left: -6vw;
    }

    .kenh-blog-hero__inner::after {
        right: -6vw;
        bottom: 55px;
    }

    .kenh-blog-hero h1 {
        font-size: 65px;
    }
}

@media (max-width: 1000px) {
    .kenh-blog-topics__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kenh-blog-topic__media {
        height: 145px;
    }

    .kenh-blog-listing__layout {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 20px;
    }

    .kenh-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .kenh-blog-hero__quote {
        display: none;
    }
}

@media (min-width: 550px) and (max-width: 849px) {
    .kenh-blog-hero,
    .kenh-blog-hero__inner {
        min-height: 620px;
    }

    .kenh-blog-hero__inner {
        padding-block: 100px;
    }

    .kenh-blog-hero__inner::before,
    .kenh-blog-hero__inner::after {
        width: 150px;
        height: 150px;
    }

    .kenh-blog-hero__inner::before {
        top: 100px;
        left: -35px;
    }

    .kenh-blog-hero__inner::after {
        right: -35px;
        bottom: 45px;
    }

    .kenh-blog-hero::after {
        height: 45px;
    }

    .kenh-blog-hero h1 {
        font-size: 60px;
    }

    .kenh-blog-hero__tagline {
        max-width: 65%;
        font-size: 32px;
    }

    .kenh-blog-hero__intro {
        max-width: 330px;
        font-size: 14px;
    }
}

@media (max-width: 760px) {
    .kenh-blog-container {
        width: min(100% - 36px, 640px);
    }

    .kenh-blog-listing__layout {
        grid-template-columns: 1fr;
    }

    .kenh-blog-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        align-items: start;
        gap: 20px;
    }

    .kenh-blog-sidebar > .widget {
        margin-bottom: 0;
    }

    .kenh-blog-newsletter {
        margin-top: 0;
    }
}

@media (max-width: 549px) {
    .kenh-blog-hero,
    .kenh-blog-hero__inner {
        min-height: 600px;
    }

    .kenh-blog-hero::before {
        background: linear-gradient(90deg, rgb(15 10 5 / 82%), rgb(15 10 5 / 55%) 65%, rgb(15 10 5 / 25%));
    }

    .kenh-blog-hero::after {
        height: 35px;
    }

    .kenh-blog-hero__img {
        object-position: 62% center;
    }

    .kenh-blog-hero__inner {
        padding-block: 120px 80px;
    }

    .kenh-blog-hero__inner::before,
    .kenh-blog-hero__inner::after {
        width: 115px;
        height: 115px;
    }

    .kenh-blog-hero__inner::before {
        top: 100px;
        left: -25px;
    }

    .kenh-blog-hero__inner::after {
        right: -25px;
        bottom: 35px;
    }

    .kenh-blog-hero h1 {
        margin-bottom: 12px;
        font-size: clamp(44px, 11vw, 58px);
        line-height: 1;
    }

    .kenh-blog-hero__tagline {
        max-width: 100%;
        font-size: 29px;
    }

    .kenh-blog-hero__intro {
        max-width: 320px;
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .kenh-blog-hero__button {
        min-height: 40px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .kenh-blog-topics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kenh-blog-topic__media {
        height: 125px;
    }

    .kenh-blog-grid,
    .kenh-blog-sidebar {
        grid-template-columns: 1fr;
    }

    .kenh-blog-card__media {
        height: 195px;
    }

    .kenh-blog-card__body {
        min-height: 145px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .kenh-blog-hero__button,
    .kenh-blog-hero__button span,
    .kenh-blog-topic {
        transition: none;
    }
}

/* Replace handwritten labels with the site typography. */
.kenh-blog-hero__tagline,
.kenh-blog-hero__quote,
.kenh-blog-section-heading__script {
    color: #C8541E;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.kenh-blog-hero__quote {
    transform: none;
    text-align: left;
}
