﻿/* 13. Automatic Table of Contents (TOC) Styles */
.kj-toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #FF7A00; /* Warm orange accent line */
    padding: 20px 24px;
    border-radius: 8px;
    margin: 35px 0;
    transition: all 0.3s ease;
}
.kj-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 15px;
}
.kj-toc-title {
    font-size: 16px;
    font-weight: 800;
    color: #0F4C81; /* Theme primary blue */
    font-family: var(--font-heading);
}
.kj-toc-toggle-btn {
    background: none;
    border: none;
    color: #FF7A00; /* Warm orange accent */
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.kj-toc-toggle-btn:hover {
    color: #e06b00;
    text-decoration: underline;
}
.kj-toc-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.kj-toc-list li {
    margin-bottom: 8px;
    padding-left: 0;
    list-style-type: none;
}
.kj-toc-list li::before {
    content: none;
}
.kj-toc-list li.toc-item a {
    color: #475569; /* Slate 600 */
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}
.kj-toc-list li.toc-item a:hover {
    color: #FF7A00; /* Warm orange accent */
    text-decoration: underline;
}
.kj-toc-list li.toc-h2 {
    padding-left: 0;
}
.kj-toc-list li.toc-h3 {
    padding-left: 20px;
    font-size: 14px;
}
.kj-toc-collapsed .kj-toc-list {
    display: none;
}
.kj-toc-collapsed .kj-toc-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* 14. Warm Orange Accent Palette Styles */
.entry-categories a {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.08) 0%, rgba(255, 122, 0, 0.04) 100%);
    color: #FF7A00;
    border: 1px solid rgba(255, 122, 0, 0.1);
}
.entry-categories a:hover {
    background: #FF7A00;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}
.sidebar-area .widget-title {
    border-bottom: 3px solid #FF7A00;
}
.sidebar-area .widget ul li::before {
    color: #FF7A00;
}
.sidebar-area .widget ul li a:hover {
    color: #FF7A00;
}
.post-navigation-links .nav-prev a:hover,
.post-navigation-links .nav-next a:hover {
    border-color: #FF7A00;
    color: #FF7A00;
    box-shadow: 0 10px 15px -3px rgba(255, 122, 0, 0.05);
}

/* ===== 15. Premium Blog Card Layout Styles (v4.9.56) ===== */
.blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
    border-color: rgba(255, 122, 0, 0.2);
}
.blog-card-img {
    height: 200px;
    max-height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    flex-shrink: 0;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
}
.blog-card-meta svg {
    color: #94a3b8;
}
.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    font-family: var(--font-heading);
}
.blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog-card-title a:hover {
    color: #FF7A00; /* Warm orange accent */
}
.blog-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.blog-card-excerpt p {
    margin: 0;
}
.blog-card-btn {
    font-size: 13px;
    font-weight: 700;
    color: #FF7A00; /* Warm orange accent */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
.blog-card-btn:hover {
    color: #e06b00;
}
.blog-card-btn:hover svg {
    transform: translateX(4px);
}

/* ===== 16. Sidebar Tour Package Cards (v4.9.57) ===== */
.recommended-tours-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
}
.sidebar-tour-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}
.sidebar-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border-color: #FF7A00;
}
.sidebar-tour-card-link {
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 15px;
}
.sidebar-tour-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}
.sidebar-tour-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sidebar-tour-card:hover .sidebar-tour-img img {
    transform: scale(1.06);
}
.sidebar-tour-body {
    padding: 0;
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.sidebar-tour-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-heading);
}
.sidebar-tour-card:hover .sidebar-tour-title {
    color: #FF7A00;
}
.sidebar-tour-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.sidebar-tour-duration {
    font-size: 11px;
    color: #64748b;
}
.sidebar-tour-price {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
}
.sidebar-tour-price small {
    font-size: 9px;
    font-weight: 500;
    color: #94a3b8;
    margin-left: 2px;
}

/* 11. Cross-Sell Widget (Below Single Post) */
.kj-cross-sell-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.kj-cross-sell-header {
    text-align: center;
    margin-bottom: 30px;
}

.kj-cross-sell-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.kj-cross-sell-header p {
    color: #64748b;
    font-size: 15px;
}

.kj-cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kj-cross-sell-item {
    display: block;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.kj-cross-sell-item:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.kj-cs-thumb {
    position: relative;
    height: 160px;
    background: #e2e8f0;
}

.kj-cs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kj-cs-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
}

.kj-cs-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.kj-cs-content {
    padding: 15px;
}

.kj-cs-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.kj-cs-price {
    font-size: 12px;
    color: #64748b;
}

.kj-cs-price span {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

/* Mobile responsive for cross sell */
@media (max-width: 767px) {
    .kj-cross-sell-grid {
        grid-template-columns: 1fr;
    }
}

