.pkh-home, .pkh-home * {
    box-sizing: border-box;
}

.pkh-home {
    padding: 16px 0 40px;
}

@media (max-width: 768px) {
    .pkh-home {
        padding: 8px 18px 40px;
    }
}

.pkh-home-trending {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ececec;
    margin-bottom: 20px;
    overflow: visible;
    position: relative;
    width: 100%;
}

.pkh-home-trending-label {
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #e9323d;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.pkh-trending-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.pkh-home-trending-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0;
}

.pkh-home-trending-scroll::-webkit-scrollbar {
    display: none;
}

.pkh-trending-arrow {
    background: #fff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 12px !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    z-index: 5 !important;
    position: relative !important;
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    min-width: auto !important;
    min-height: auto !important;
}

.pkh-trending-arrow:hover {
    background: #e9323d !important;
    color: #fff !important;
    border-color: #e9323d !important;
}

.pkh-trending-arrow i {
    font-size: 12px !important;
    line-height: 1 !important;
}

@media (min-width: 769px) {
    .pkh-trending-arrow {
        display: flex !important;
    }
}

.pkh-home-trending-tag {
    font-family: 'Noto Sans Devanagari', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #e2e2e2;
    flex-shrink: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pkh-home-trending-tag i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 10px;
    color: #aaa;
}

.pkh-home-trending-tag:hover {
    background: #e9323d;
    color: #fff;
    border-color: #e9323d;
}

.pkh-home-trending-tag:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .pkh-trending-wrapper {
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .pkh-home-trending-scroll {
        animation: pkhTickerScroll 20s linear infinite;
        flex-wrap: nowrap;
        width: max-content;
        padding-right: 0;
        overflow: visible !important;
    }

    .pkh-home-trending-scroll:hover {
        animation-play-state: paused;
    }

    .pkh-home-trending-scroll .pkh-home-trending-tag {
        flex-shrink: 0;
    }
}

@keyframes pkhTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.pkh-featured-post {
    margin-bottom: 28px;
}

.pkh-featured-post a {
    text-decoration: none;
    display: block;
}

.pkh-featured-title {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 27px;
    line-height: 1.5;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .pkh-featured-title {
        font-family: 'Noto Sans Devanagari', sans-serif;
        font-size: 22px;
        line-height: 1.5;
    }

    .pkh-post-title a {
        font-size: 18px !important;
    }
}

.pkh-featured-cat {
    color: #e9323d;
    font-weight: 700;
}

.pkh-featured-thumb-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.pkh-featured-thumb-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.pkh-thumb-fallback {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 28px;
}

.pkh-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.pkh-post-right .pkh-play-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.pkh-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.pkh-category-section {
    margin-bottom: 40px;
}

.pkh-latest-header {
    border-bottom-color: #e9323d !important;
}

.pkh-latest-title {
    color: #e9323d !important;
}

.pkh-latest-title span {
    background: #e9323d;
    color: #fff;
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .pkh-latest-title span {
        font-size: 16px;
        padding: 3px 12px;
    }
}

.pkh-category-header {
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e9323d;
}

.pkh-category-title {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pkh-category-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pkh-category-title a:hover {
    color: #e9323d;
}

.pkh-category-secondary {
    display: flex;
    flex-direction: column;
}

.pkh-more-heading {
    text-align: center;
    padding: 30px 0 20px;
    margin-bottom: 20px;
    border-top: 2px solid #ececec;
    position: relative;
}

.pkh-more-heading span {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    background: #fff;
    padding: 0 20px;
    position: relative;
    display: inline-block;
}

.pkh-more-heading span::after {
    content: '↓';
    display: inline-block;
    margin-left: 10px;
    color: #e9323d;
    animation: pkhBounce 1.5s ease infinite;
}

@keyframes pkhBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
    .pkh-more-heading span {
        font-size: 20px;
        padding: 0 12px;
    }
}

.pkh-post-list {
    display: flex;
    flex-direction: column;
}

.pkh-post-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
}

.pkh-post-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pkh-post-title {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.pkh-post-title a {
    font-size: 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.pkh-post-title .pkh-title-highlight {
    color: #e9323d;
}

.pkh-post-title a:hover {
    color: #e9323d;
}

.pkh-post-cat {
    font-family: 'Noto Sans Devanagari', sans-serif;
    border: 1px solid #d1cdcd;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    background: #fefefe;
    color: #2e2e2e;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 21px;
    text-decoration: none;
}

.pkh-post-cat i {
    font-size: 9px;
}

.pkh-post-right {
    flex: 0 0 144px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pkh-post-thumb-wrap {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
    width: 144px;
    height: 108px;
}

.pkh-post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pkh-item-share {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.pkh-item-share-btn {
    width: 22px;
    height: 22px;
    background: transparent;
    color: #7c7c7c;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.pkh-item-share-btn:hover {
    transform: translateY(-2px);
}

.pkh-item-share-fb:hover {
    color: #1877f2;
}

.pkh-item-share-wa:hover {
    color: #25d366;
}

.pkh-item-share-copy:hover {
    color: #e9323d;
}

.pkh-loader {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 13px;
}

.pkh-scroll-sentinel {
    height: 1px;
}

@media (min-width: 500px) {
    .pkh-post-right {
        flex: 0 0 144px;
    }
}

@media (max-width: 600px) {
    .pkh-post-right {
        flex: 0 0 111px;
    }

    .pkh-post-thumb-wrap {
        width: 120px;
        height: 95px;
    }
}

.pkh-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e9323d;
    flex-wrap: wrap;
    gap: 10px;
}

.pkh-category-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkh-category-icon {
    font-size: 24px;
    color: #e9323d;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .pkh-category-icon {
        font-size: 18px;
    }
}

.pkh-category-title {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pkh-category-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pkh-category-title a:hover {
    color: #e9323d;
}

.pkh-category-view-all {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e9323d;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid #e9323d;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.pkh-category-view-all:hover {
    background: #e9323d;
    color: #fff;
    text-decoration: none;
}

.pkh-category-view-all i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.pkh-category-view-all:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .pkh-category-view-all {
        font-size: 12px;
        padding: 4px 10px;
    }

    .pkh-category-title {
        font-size: 18px;
    }

    .pkh-category-header {
        gap: 6px;
    }
}

.pkh-latest-header {
    border-bottom-color: #e9323d !important;
}

.pkh-latest-icon {
    color: #e9323d !important;
}

.pkh-latest-title {
    color: #1a1a1a !important;
}

.pkh-latest-title span {
    background: #e9323d;
    color: #fff;
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .pkh-latest-title span {
        font-size: 16px;
        padding: 3px 12px;
    }
}
