:root {
    --kk-navy: #102a54;
    --kk-deep: #011843;
    --kk-red: #d91d23;
    --kk-muted: #777f8f;
    --kk-line: #e7ebf2;
    --kk-bg: #f4f6fb;
    --kk-white: #ffffff;
}

.kk-wp-theme {
    background: var(--kk-bg);
    color: var(--kk-deep);
    font-family: "Montserrat", sans-serif;
}

.kk-wp-theme a {
    text-decoration: none;
}

.kk-blog-site {
    background:
        radial-gradient(circle at 3% 8%, rgba(16, 42, 84, 0.08) 0 72px, transparent 74px),
        linear-gradient(180deg, #f8f9fd 0%, #f2f4fa 100%);
}

.kk-blog-hero {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    display: flex;
    align-items: center;
    padding: 52px 0 58px;
    background: var(--kk-deep);
    color: var(--kk-white);
    text-align: center;
}

.kk-blog-hero::before,
.kk-blog-hero::after,
.kk-blog-hero-pattern::before,
.kk-blog-hero-pattern::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 32px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.kk-blog-hero::before {
    width: 188px;
    height: 188px;
    left: -78px;
    bottom: -88px;
}

.kk-blog-hero::after {
    width: 174px;
    height: 174px;
    right: -34px;
    top: -110px;
}

.kk-blog-hero-pattern::before {
    width: 86px;
    height: 86px;
    left: 17%;
    top: -42px;
    border-width: 18px;
}

.kk-blog-hero-pattern::after {
    width: 108px;
    height: 108px;
    right: 17%;
    bottom: -62px;
    border-width: 20px;
}

.kk-blog-hero .container {
    position: relative;
    z-index: 1;
}

.kk-blog-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
}

.kk-blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.kk-blog-breadcrumb a:hover {
    color: var(--kk-red);
}

.kk-blog-hero h1 {
    margin: 0;
    color: var(--kk-white);
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.1;
}

.kk-blog-hero p {
    max-width: 620px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

.kk-blog-list-section,
.kk-single-content-section {
    padding: 58px 0 78px;
}

.kk-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 304px;
    gap: 34px;
    align-items: start;
}

.kk-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.kk-blog-card {
    overflow: hidden;
    background: var(--kk-white);
    border: 1px solid rgba(16, 42, 84, 0.06);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1, 24, 67, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kk-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(1, 24, 67, 0.13);
}

.kk-blog-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: #e9edf6;
}

.kk-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.kk-blog-card:hover .kk-blog-card-media img {
    transform: scale(1.045);
}

.kk-blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--kk-red);
    color: var(--kk-white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kk-blog-card-body {
    padding: 20px 22px 18px;
}

.kk-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 12px;
    color: #7b8495;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.kk-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kk-blog-meta i {
    color: var(--kk-red);
    font-size: 12px;
}

.kk-blog-card h2,
.kk-blog-card h3 {
    margin: 0 0 11px;
    color: var(--kk-deep);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.32;
}

.kk-blog-card h2 a,
.kk-blog-card h3 a {
    color: inherit;
}

.kk-blog-card h2 a:hover,
.kk-blog-card h3 a:hover {
    color: var(--kk-red);
}

.kk-blog-card p {
    min-height: 68px;
    margin: 0 0 18px;
    color: #697286;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.kk-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--kk-line);
}

.kk-blog-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kk-deep);
    font-size: 12px;
    font-weight: 700;
}

.kk-blog-author i {
    color: var(--kk-red);
}

.kk-blog-read {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--kk-deep);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.kk-blog-read i {
    color: var(--kk-red);
    font-size: 11px;
}

.kk-blog-read:hover {
    color: var(--kk-red);
}

.kk-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.kk-sidebar-widget,
.kk-sidebar-cta,
.kk-author-box {
    background: var(--kk-white);
    border: 1px solid rgba(16, 42, 84, 0.06);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(1, 24, 67, 0.08);
}

.kk-sidebar-widget {
    padding: 24px;
}

.kk-sidebar-widget h3,
.kk-sidebar-cta h3 {
    position: relative;
    margin: 0 0 20px;
    color: var(--kk-deep);
    font-size: 17px;
    font-weight: 800;
}

.kk-sidebar-widget h3::after {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 8px;
    border-radius: 10px;
    background: var(--kk-red);
}

.kk-sidebar-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    height: 50px;
    border: 1px solid var(--kk-line);
    border-radius: 6px;
    overflow: hidden;
    background: #fbfcff;
}

.kk-sidebar-search input {
    min-width: 0;
    border: 0;
    padding: 0 15px;
    outline: 0;
    color: var(--kk-deep);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    background: transparent;
}

.kk-sidebar-search button {
    border: 0;
    background: var(--kk-deep);
    color: var(--kk-white);
    transition: background 0.2s ease;
}

.kk-sidebar-search button:hover {
    background: var(--kk-red);
}

.kk-category-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kk-category-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--kk-line);
}

.kk-category-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.kk-category-list a,
.kk-category-list span {
    color: var(--kk-deep);
    font-size: 13px;
    font-weight: 700;
}

.kk-category-list a:hover {
    color: var(--kk-red);
}

.kk-category-list li > span:last-child {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #f1f3f8;
    color: var(--kk-red);
    font-size: 12px;
}

.kk-recent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kk-recent-post {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--kk-deep);
}

.kk-recent-post img {
    width: 64px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    background: #eef2f7;
}

.kk-recent-post strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--kk-deep);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.kk-recent-post em {
    display: block;
    margin-top: 4px;
    color: #7b8495;
    font-style: normal;
    font-size: 11px;
}

.kk-recent-post:hover strong {
    color: var(--kk-red);
}

.kk-sidebar-cta {
    padding: 30px 24px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(217, 29, 35, 0.92), rgba(16, 42, 84, 0.96)),
        var(--kk-deep);
    color: var(--kk-white);
}

.kk-sidebar-cta h3 {
    color: var(--kk-white);
    margin-bottom: 10px;
}

.kk-sidebar-cta p {
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.kk-sidebar-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--kk-white);
    color: var(--kk-deep);
    font-size: 12px;
    font-weight: 800;
}

.kk-sidebar-cta a:hover {
    background: var(--kk-deep);
    color: var(--kk-white);
}

.kk-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.kk-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    background: var(--kk-white);
    color: var(--kk-deep);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(1, 24, 67, 0.08);
}

.kk-blog-pagination .page-numbers.current,
.kk-blog-pagination .page-numbers:hover {
    background: var(--kk-red);
    color: var(--kk-white);
}

.kk-blog-empty {
    grid-column: 1 / -1;
    padding: 46px;
    background: var(--kk-white);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 18px 42px rgba(1, 24, 67, 0.08);
}

.kk-single-hero {
    min-height: 250px;
}

.kk-single-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(30px, 3.4vw, 50px);
}

.kk-single-article {
    overflow: hidden;
    background: var(--kk-white);
    border-radius: 8px;
    box-shadow: 0 20px 56px rgba(1, 24, 67, 0.1);
}

.kk-single-featured {
    aspect-ratio: 1.74 / 1;
    overflow: hidden;
    background: #e9edf6;
}

.kk-single-featured img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.kk-single-body {
    padding: 34px 36px 32px;
}

.kk-single-badge {
    position: static;
    margin-bottom: 17px;
}

.kk-single-body h2 {
    margin: 0 0 14px;
    color: var(--kk-deep);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.18;
}

.kk-single-meta {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--kk-line);
}

.kk-single-entry {
    color: #5f687a;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.9;
}

.kk-single-entry h1,
.kk-single-entry h2,
.kk-single-entry h3,
.kk-single-entry h4 {
    margin: 1.4em 0 0.55em;
    color: var(--kk-deep);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    line-height: 1.25;
}

.kk-single-entry p,
.kk-single-entry ul,
.kk-single-entry ol,
.kk-single-entry blockquote,
.kk-single-entry figure {
    margin-bottom: 20px;
}

.kk-single-entry a {
    color: var(--kk-red);
    font-weight: 700;
}

.kk-single-entry img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.kk-single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--kk-line);
}

.kk-single-tags strong {
    margin-right: 4px;
    color: var(--kk-deep);
    font-size: 13px;
    font-weight: 800;
}

.kk-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #f2f4fa;
    color: var(--kk-deep);
    font-size: 12px;
    font-weight: 700;
}

.kk-single-tags a:hover {
    background: var(--kk-red);
    color: var(--kk-white);
}

.kk-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.kk-post-nav-item {
    min-height: 92px;
    padding: 18px;
    border: 1px solid var(--kk-line);
    border-radius: 8px;
    background: #fbfcff;
}

.kk-post-nav-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--kk-red);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.kk-post-nav-item a {
    color: var(--kk-deep);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.kk-post-nav-item a:hover {
    color: var(--kk-red);
}

.kk-post-nav-next {
    text-align: right;
}

.kk-author-box {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    max-width: calc(100% - 338px);
    margin-top: 28px;
    padding: 26px 30px;
}

.kk-author-avatar img {
    width: 76px;
    height: 76px;
    border-radius: 999px;
}

.kk-author-box span,
.kk-related-kicker {
    display: block;
    color: var(--kk-red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.kk-author-box h3 {
    margin: 3px 0 5px;
    color: var(--kk-deep);
    font-size: 18px;
    font-weight: 800;
}

.kk-author-box p {
    margin: 0;
    color: #6c7485;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;
}

.kk-related-posts {
    margin-top: 76px;
}

.kk-related-posts h2 {
    margin: 4px 0 28px;
    color: var(--kk-deep);
    font-size: 32px;
    font-weight: 800;
}

.kk-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.kk-related-card .kk-blog-card-body {
    padding: 18px;
}

.kk-related-card .kk-blog-card-media {
    aspect-ratio: 1.35 / 1;
}

.kk-related-card h3 {
    font-size: 17px;
}

.kk-related-card p {
    min-height: 0;
    font-size: 13px;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    width: 265px;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--kk-navy);
    color: var(--kk-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
    animation: kk-vertical-floating 1.5s ease-out infinite;
}

.floating-btn .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--kk-white);
    font-size: 18px;
}

.floating-btn .whatsapp-btn i {
    font-size: 24px;
}

@keyframes kk-vertical-floating {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1199px) {
    .kk-blog-layout {
        grid-template-columns: minmax(0, 1fr) 285px;
        gap: 26px;
    }

    .kk-blog-card h2,
    .kk-blog-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .kk-blog-layout {
        grid-template-columns: 1fr;
    }

    .kk-blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kk-sidebar-cta {
        grid-column: 1 / -1;
    }

    .kk-author-box {
        max-width: none;
    }

    .kk-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .kk-blog-hero {
        min-height: 185px;
        padding: 40px 0 44px;
    }

    .kk-blog-list-section,
    .kk-single-content-section {
        padding: 38px 0 58px;
    }

    .kk-blog-grid,
    .kk-blog-sidebar,
    .kk-related-grid {
        grid-template-columns: 1fr;
    }

    .kk-blog-card-body,
    .kk-single-body {
        padding: 20px;
    }

    .kk-post-nav {
        grid-template-columns: 1fr;
    }

    .kk-post-nav-next {
        text-align: left;
    }

    .kk-author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .kk-author-avatar {
        display: flex;
        justify-content: center;
    }

    .floating-btn {
        width: calc(100% - 40px);
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .kk-blog-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .kk-sidebar-widget {
        padding: 20px;
    }

    .kk-single-featured {
        aspect-ratio: 1.15 / 1;
    }
}
