/* Presentation only: retain the existing case content, layout and gallery. */
body:has(.kl-works-detail) {
    background: #f3f1e8 !important;
}

.kl-works-detail,
.kl-works-detail .new-blog,
.kl-works-detail .sidebared-page {
    background: #f3f1e8 !important;
    color: #1d1d19;
    font-family: "KL4 Onest", Arial, sans-serif;
}

.kl-works-detail .content-blog,
.kl-works-detail .text-blog {
    background: #f8f7f1 !important;
    box-shadow: none !important;
}

.kl-works-detail :is(p, li, a, .text-blog, .breadcrumb, .for-dillers-text, .btn-txt-name, .btn-txt-anons) {
    font-family: "KL4 Onest", Arial, sans-serif;
    color: #1d1d19;
}

.kl-works-detail .text-blog {
    font-size: 16px;
    line-height: 1.55;
}

.kl-works-detail h1 {
    font-family: "KL4 Cormorant Garamond", Georgia, serif !important;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    color: #1d1d19;
}

.kl-works-detail :is(h2, h3, h4, h5, h6, .for-dillers-heading),
.kl-works-detail :is(h2, h3, h4, h5, h6) a,
.kl-works-detail .text-blog a[href^="/product/"],
.kl-works-detail .btn-txt-name b {
    font-family: "KL4 Cormorant Garamond", Georgia, serif !important;
    font-weight: 400 !important;
    color: #1d1d19;
}

.kl-works-detail :is(h2, .for-dillers-heading) {
    font-size: 30px;
    line-height: 1.2;
}

.kl-works-detail :is(h3, h4, h5, h6),
.kl-works-detail .text-blog a[href^="/product/"],
.kl-works-detail .btn-txt-name b {
    font-size: 28px;
    line-height: 1.2;
}

.kl-works-detail .text-blog :is(b, strong) {
    font-weight: 600;
}

.kl-works-detail .text-blog a:not(.button):not(.download_btn):not(.fancybox),
.kl-works-detail .breadcrumb .last {
    color: #d31327;
}

.kl-works-detail .breadcrumb {
    background: transparent;
}

.kl-works-detail .breadcrumb a {
    color: #6d6c65;
}

.kl-works-detail .good-sidebar-left .panel {
    background: #ebe9e0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.kl-works-detail .good-sidebar-left .panel:nth-child(even) {
    background: #f8f7f1 !important;
}

.kl-works-detail .good-sidebar-left .panel-heading {
    background: transparent !important;
}

.kl-works-detail .good-sidebar-left .panel-heading a {
    font-family: "KL4 Onest", Arial, sans-serif;
    font-weight: 400;
    color: #1d1d19;
}

.kl-works-detail .good-sidebar-left .panel-heading a[aria-expanded="true"] {
    background: #d31327 !important;
    color: #fff !important;
}

.kl-works-detail .good-sidebar-left .panel-heading a[aria-expanded="true"]::after {
    background: #d31327 !important;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.kl-works-detail .text-blog :is(.button, .download_btn) {
    display: inline-block !important;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #d31327 !important;
    border-radius: 0 !important;
    background: #d31327 !important;
    color: #fff !important;
    font-family: "KL4 Onest", Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none !important;
}

.kl-works-detail .text-blog :is(.button, .download_btn):hover {
    border-color: #a80e1e !important;
    background: #a80e1e !important;
}

/* Preserve the existing unavailable state and authorization requirement. */
.kl-works-detail .text-blog .download_btn.not_active,
.kl-works-detail .text-blog .download_btn.not_active:hover {
    border-color: #cbc9bf !important;
    background: #ebe9e0 !important;
    color: #6d6c65 !important;
}

.kl-works-detail .one_photo a img {
    border-color: #cbc9bf;
}

.kl-works-detail .one_photo a:hover img {
    border-color: #d31327;
}

.kl-works-detail a:focus-visible {
    outline: 2px solid #d31327;
    outline-offset: 3px;
}
