body.k365-site {
    --k365-brand: #950b01;
    --k365-brand-hover: #720e08;
    --k365-text: #2b2220;
    --k365-secondary: #645550;
    --k365-border: #e7d8d4;
    --k365-surface: #faf4f2;
    --k365-page-background: #f6f0ee;
    --k365-shell-gutter: 15px;
    --k365-shell-max: 1140px;
    --k365-soft-active: #f3e5e1;
    color: var(--k365-text);
    background-color: var(--k365-page-background);
}
.k365-site :is(.header-nav, main, .k365-footer) :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.k365-site .header-nav .navbar-default {
    min-height: 53px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--k365-border);
    border-radius: 0;
}
.k365-site .header-nav .navbar-brand { padding: 3px 0; height: 52px; }
.k365-site .header-nav .navbar-brand img { width: auto; height: 46px; }
.k365-site #menu-main > li > a {
    color: var(--k365-text);
    border-radius: 7px;
    margin: 6px 2px;
    padding: 10px 11px;
}
.k365-site #menu-main > li > a:hover,
.k365-site #menu-main > li.active > a,
.k365-site #menu-main > li.current-menu-item > a {
    color: var(--k365-brand);
    background: var(--k365-surface);
}
.k365-site .navbar-default .navbar-toggle {
    background: #fff;
    border: 1px solid var(--k365-border);
    border-radius: 8px;
    min-width: 44px;
    min-height: 40px;
    margin-top: 6px;
    margin-bottom: 6px;
}
.k365-site .navbar-default .navbar-toggle:hover,
.k365-site .navbar-default .navbar-toggle[aria-expanded=true] { background: var(--k365-surface); }
.k365-site .navbar-default .navbar-toggle .icon-bar { background-color: var(--k365-brand); }

@media (min-width: 768px) {
    .k365-site #menu-main { display: block !important; float: right; }
}

.k365-site > header:has(#soft-slider .k365-consumer) {
    background: transparent;
    padding-bottom: 0;
}
.k365-site > header:has(#soft-slider .k365-consumer) > .container,
.k365-site > main.container {
    width: calc(100% - 2 * var(--k365-shell-gutter)) !important;
    max-width: var(--k365-shell-max);
    margin-inline: auto;
}
.k365-site > header:has(#soft-slider .k365-consumer) > .container { padding-inline: 0; }
.k365-site > header:has(#soft-slider .k365-consumer) > .container > .row,
.k365-site > header #soft-slider:has(.k365-consumer) { margin-inline: 0; }

.k365-site > header:not(:has(#soft-slider)) {
    background: transparent;
    padding: 0;
}
.k365-site > header:has(#soft-slider):not(:has(.k365-consumer)) {
    padding: 16px 0 0;
    background: transparent;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) {
    box-shadow: 0 3px 12px rgb(70 24 16 / 7%);
    border: 1px solid var(--k365-border);
    border-radius: 14px;
    margin-inline: 15px;
}
.k365-site #site-sidebar #soft-slider:not(:has(.k365-consumer)) { margin: 0; max-width: 100%; }
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-forms {
    border: 0;
    padding-bottom: 8px;
    background: #fff;
    border-radius: 0 0 13px 13px;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-header-slider-mobile-select-container {
    border: 0;
    border-bottom: 1px solid var(--k365-border);
    background: var(--k365-surface);
    border-radius: 13px 13px 0 0;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-header-slider-mobile-select {
    border-radius: 8px;
    border-color: #9e8881;
    color: var(--k365-text);
    font-size: 16px;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers {
    background: var(--k365-surface);
    border: 0;
    border-bottom: 1px solid var(--k365-border);
    border-radius: 13px 13px 0 0;
    overflow: hidden;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li {
    background: transparent !important;
    padding-inline: 1px;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li a {
    color: var(--k365-text);
    text-transform: none;
    border-radius: 7px;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(69%) saturate(4233%) hue-rotate(354deg) brightness(77%) contrast(122%);
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li a:hover { background-color: var(--k365-soft-active); }
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li:is(.active:not(.pse-disabled), .pse-active) a {
    background: var(--k365-brand);
    color: #fff;
}
.k365-site #soft-slider:not(:has(.k365-consumer)) #soft-slider-switchers li:is(.active:not(.pse-disabled), .pse-active) img {
    filter: brightness(0) invert(1);
}
.k365-site #soft-slider:not(:has(.k365-consumer)) :is(.soft-accept, .soft-math) {
    background: var(--k365-brand);
    border-color: var(--k365-brand);
    color: #fff;
}

.k365-site #soft-slider:not(:has(.k365-consumer)) :is(.ui-slider-range, .ui-slider-handle) {
    background: var(--k365-brand);
    border-color: var(--k365-brand);
}
.k365-site #soft-slider:not(:has(.k365-consumer)) .price-box {
    background: var(--k365-surface);
    color: var(--k365-brand-hover);
}

.k365-site > main.container {
    margin: 16px auto 22px;
    padding: 21px 22px 24px;
    border: 1px solid var(--k365-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgb(70 24 16 / 5%);
}
.k365-site main :is(.col-md-9, .narrowcolumn) > h1:first-child { margin-top: 0; }
.k365-site main #custom-price-slider:has(.k365-consumer) { margin-top: 0; }
.k365-site main #site-sidebar > .aside { margin-inline-end: 0; }
.k365-site main .wic-comparator-slot:has(#soft-slider .k365-consumer) { margin-top: 0; }
.k365-site main :is(h1, h2, h3) { color: var(--k365-text); }
.k365-site main h1 {
    font-size: clamp(29px, 3.2vw, 39px);
    font-weight: 700;
    line-height: 1.15;
    margin: 23px 0 15px;
    overflow-wrap: break-word;
}
.k365-site .post-content :is(p, li),
.k365-site #content .entry :is(p, li) {
    font-size: 16px;
    line-height: 1.62;
}
.k365-site .post-content p { margin: 0 0 14px; }
.k365-site .post-content h2 { font-size: clamp(22px, 2.2vw, 29px); font-weight: 700; line-height: 1.22; margin: 25px 0 11px; }
.k365-site .post-content h3 { font-weight: 700; line-height: 1.32; }
.k365-site .post-content ul, .k365-site .post-content ol { padding-inline-start: 23px; }
.k365-site .post-content li + li { margin-top: 4px; }
.k365-site .post-content img { max-width: 100%; }
.k365-site :is(.post-content, .post-list, #content .entry) a {
    color: var(--k365-brand);
    text-underline-offset: .15em;
}
.k365-site :is(.post-content, #content .entry) a:hover { color: var(--k365-brand-hover); }
.k365-site main hr.divider { border: 0; border-top: 1px solid var(--k365-border); }
.k365-site main > hr.divider:first-child,
.k365-site main > .row:has(> #site-head-sidebar):not(:has(> #site-head-sidebar > .row > *)),
.k365-site main > .row:has(> #site-head-sidebar):not(:has(> #site-head-sidebar > .row > *)) + hr.divider,
.k365-site .post-meta:has(> span:last-child:empty),
.k365-site .post-meta:has(> span:last-child:empty) + hr.divider { display: none; }
.k365-site .post-meta { color: var(--k365-secondary); font-size: 13px; }
.k365-site .post-list .post-heading {
    padding: 14px 0;
    border-bottom: 1px solid var(--k365-border);
}
.k365-site .post-list .post-heading h2 {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 650;
    line-height: 1.35;
    padding: 0;
}
.k365-site .post-list .post-heading h2 .date { color: var(--k365-secondary); font-size: 13px; }

.k365-site #site-sidebar .panel {
    margin-bottom: 16px;
    border: 1px solid var(--k365-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}
.k365-site #site-sidebar .panel > .panel-heading {
    padding: 12px;
    border-bottom: 1px solid var(--k365-border);
    border-radius: 11px 11px 0 0;
    background: var(--k365-surface);
}
.k365-site #site-sidebar .panel:not(:has(> .panel-body)) {
    border: 0;
    background: transparent;
}
.k365-site #site-sidebar .panel > .panel-heading:only-child {
    padding: 0;
    border: 0;
    background: transparent;
}
.k365-site #site-sidebar .panel:has(> .panel-heading:only-child :is(p, .textwidget):empty):not(:has(:is(a, img, li))) {
    margin-bottom: 0;
}
.k365-site #site-sidebar .panel > .panel-heading:empty { display: none; }
.k365-site #site-sidebar .panel h2 { font-size: 17px; font-weight: 700; line-height: 1.24; padding: 0; }
.k365-site #site-sidebar .panel-body { padding: 10px 12px; }
.k365-site #site-sidebar .top-loaner-row { border-color: var(--k365-border); }
.k365-site #site-sidebar .top-loaner-row .loaner-btn > button {
    background: var(--k365-surface);
    color: var(--k365-brand);
    border: 1px solid var(--k365-border);
    border-radius: 7px;
    height: calc(100% - 8px);
    line-height: 1.12;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
}
.k365-site #site-sidebar .top-loaner-row .loaner-btn > button:hover {
    color: #fff;
    border-color: var(--k365-brand);
    background: var(--k365-brand);
}

.k365-site #loaner-table .loaner-table-heading > th {
    background: var(--k365-surface);
    color: var(--k365-text);
    border-color: var(--k365-border);
}
.k365-site #loaner-table .loaner-table-heading > th:first-child { border-start-start-radius: 8px; }
.k365-site #loaner-table .loaner-table-heading > th:last-child { border-start-end-radius: 8px; }
.k365-site #loaner-table .loaner-row > td,
.k365-site #loaner-table .after-loaner > td { border-color: var(--k365-border); }
.k365-site #loaner-table .loaner-row.active > td { background: #faf6f4; }
.k365-site #loaner-table .after-loaner > td { background-color: #fdfaf9; }
.k365-site main .btn-accept-loan {
    border-radius: 7px;
    background: var(--k365-brand);
    color: #fff;
    font-weight: 700;
}
.k365-site main .btn-accept-loan:hover,
.k365-site main .btn-accept-loan:active { background: var(--k365-brand-hover); color: #fff; }
.k365-site #loaner-table .showLoanerPriceTable {
    border: 1px solid var(--k365-brand);
    border-radius: 7px;
    background: #fff;
    color: var(--k365-brand);
}
.k365-site #loaner-table .showLoanerPriceTable:is(:hover, :focus-visible) {
    background: var(--k365-surface);
}
.k365-site #loaner-table .showLoanerPriceTable:focus-visible {
    outline: 2px solid var(--k365-brand);
    outline-offset: 3px;
}
.k365-site #loaner-table .showLoanerPriceTable:active { background: var(--k365-soft-active); }

.k365-site footer.k365-footer#site-footer {
    margin-top: 12px;
    background: #2e1916;
    color: #fff7f4;
    padding: 33px 0 16px;
}
.k365-footer .k365-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
    gap: 22px 30px;
}
.k365-footer .k365-footer-brand {
    display: inline-block;
    margin: 0 0 9px;
    color: #fff7f4;
    font-size: 25px;
    line-height: 1.12;
    font-weight: 750;
}
.k365-footer .k365-footer-brand span { color: #f6a58f; }
.k365-footer .k365-footer-about p {
    color: #e5cec7;
    max-width: 32ch;
    margin: 0;
    line-height: 1.55;
}
.k365-footer nav h2 {
    color: #fff7f4;
    font-size: 15px;
    font-weight: 750;
    margin: 1px 0 9px;
    padding: 0;
}
.k365-footer nav ul { list-style: none; padding: 0; margin: 0; }
.k365-footer nav ul a,
.k365-footer .k365-footer-settings {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    color: #f4e3df;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    text-underline-offset: .17em;
}
.k365-footer .k365-footer-settings {
    border: 0;
    padding: 0;
    background: transparent;
}
.k365-footer nav ul a:hover,
.k365-footer .k365-footer-settings:hover { color: #fff; text-decoration: underline; }
.k365-footer .k365-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px 20px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 13px;
    border-top: 1px solid #6b4841;
    color: #e5cec7;
    font-size: 13px;
}
.k365-footer .k365-footer-bottom p { margin: 0; }
.k365-footer .k365-footer-bottom .k365-footer-warning { color: #fff7f4; font-weight: 600; }

@media (min-width: 992px) and (max-width: 1199px) {
    body.k365-site { --k365-shell-max: 940px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .k365-site #menu-main > li > a { margin-inline: 1px; padding-inline: 8px; }
}
@media (max-width: 767px) {
    .k365-site .header-nav .navbar-brand { margin-left: 0; }
    .k365-site #menu-main { margin: 0; }
    .k365-site #menu-main > li > a { margin: 3px 0; padding: 11px 10px; }
    .k365-site > main.container { margin-top: 12px; padding: 15px 11px 16px; }
    .k365-site .post-content :is(p, li) { font-size: 15px; }
    .k365-site .post-list .post-heading h2 .date { display: block; float: none !important; margin-top: 4px; }
    .k365-site #site-sidebar .panel-body { padding: 8px 12px; }
    .k365-site footer.k365-footer#site-footer { padding-top: 24px; }
    .k365-footer .k365-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
    .k365-footer .k365-footer-about { grid-column: 1 / -1; }
    .k365-footer nav ul a, .k365-footer .k365-footer-settings { min-height: 37px; }
}


@media (max-width: 380px) {
    body.k365-site { --k365-shell-gutter: 7px; }
    .k365-site > main.container { padding-inline: 7px; }
}
