﻿/* ========================================
   Resource Listing Page
======================================== */

.resource-page {
    padding: 25px 0 50px;
}

.resource-page-title {
    display: inline-block;
    margin-bottom: 28px;
    padding-bottom: 8px;
    border-bottom: 3px solid #3478ef;
    font-size: 27px;
    font-weight: 700;
}

.resource-card {
    position: relative;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fff;
}

.resource-main-image {
    width: 100%;
    height: 285px;
    object-fit: cover;
}

.resource-post-title {
    margin: 0 100px 12px 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

    .resource-post-title a {
        color: #111;
        text-decoration: none;
    }

        .resource-post-title a:hover {
            color: #3478ef;
        }

.resource-date-box {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    color: #666;
    font-size: 14px;
}

.resource-excerpt {
    color: #555;
    font-size: 16px;
    line-height: 1.55;
}

.resource-read-more {
    display: inline-block;
    margin-top: 15px;
    color: #444;
    text-decoration: none;
}

    .resource-read-more:hover {
        color: #3478ef;
    }

/* ========================================
   Sidebar
======================================== */

.resource-sidebar {
    overflow: hidden;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #fff;
}

.resource-sidebar-heading {
    padding: 15px 20px;
    background: #397cf0;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

.resource-sidebar-body {
    padding: 22px;
}

.recent-resource {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

    .recent-resource:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .recent-resource img {
        width: 100%;
        height: 190px;
        margin-bottom: 12px;
        object-fit: cover;
    }

.recent-resource-title {
    display: block;
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.recent-resource-date {
    margin-top: 7px;
    color: #888;
    font-size: 13px;
}

/* ========================================
   Pagination
======================================== */

.resource-pagination {
    display: flex;
    gap: 7px;
    margin-top: 25px;
}

    .resource-pagination a,
    .resource-pagination span {
        min-width: 38px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-align: center;
        text-decoration: none;
    }

    .resource-pagination .active {
        background: #397cf0;
        border-color: #397cf0;
        color: #fff;
    }
/* ========================================
   Resource Card Footer
======================================== */

.resource-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px dashed #dedede;
}

.resource-read-more {
    display: inline-block;
    margin-top: 0;
    color: #4c4c4c;
    font-size: 16px;
    text-decoration: none;
}

    .resource-read-more:hover {
        color: #3478ef;
    }

/* ========================================
   Social Share Buttons
======================================== */

.resource-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

    .resource-social-links a {
        display: inline-flex;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid #dcdcdc;
        border-radius: 50%;
        background: #fff;
        color: #58616d;
        font-size: 17px;
        text-decoration: none;
        transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }

        .resource-social-links a:hover {
            border-color: #3478ef;
            background: #3478ef;
            color: #fff;
            transform: translateY(-2px);
        }

/* ========================================
   Pagination
======================================== */

.resource-pagination-wrapper {
    margin-top: 30px;
    padding: 7px 12px;
    border: 1px solid #dedede;
    border-radius: 11px;
    background: #fff;
}

.resource-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

    .resource-pagination a,
    .resource-pagination span {
        display: inline-flex;
        width: 43px;
        height: 43px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #d9dce1;
        border-radius: 0;
        background: #fff;
        color: #333;
        font-size: 14px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

        .resource-pagination a:hover {
            border-color: #397cf0;
            background: #f0f5ff;
            color: #397cf0;
        }

    .resource-pagination .active {
        border-color: #397cf0;
        background: #397cf0;
        color: #fff;
    }

    .resource-pagination .pagination-arrow {
        font-size: 25px;
        font-weight: 300;
    }

.resource-sidebar-section {
    margin-top: 25px;
}

.resource-category-list {
    display: flex;
    flex-direction: column;
}

    .resource-category-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 0;
        border-bottom: 1px dashed #ddd;
        color: #444;
        text-decoration: none;
    }

        .resource-category-list a:last-child {
            border-bottom: 0;
        }

        .resource-category-list a:hover {
            color: #397cf0;
        }

.resource-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

    .resource-tag-cloud span {
        color: #555;
        font-size: 14px;
        line-height: 1.4;
    }

        .resource-tag-cloud span:nth-child(5n+1) {
            font-size: 24px;
        }

        .resource-tag-cloud span:nth-child(5n+2) {
            font-size: 18px;
        }

        .resource-tag-cloud span:nth-child(5n+3) {
            font-size: 16px;
        }

        .resource-tag-cloud span:nth-child(5n+4) {
            font-size: 13px;
        }

.resource-category-list a.active {
    color: #397cf0;
    font-weight: 700;
}

.resource-category-count {
    display: inline-flex;
    min-width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 14px;
    background: #f0f4fa;
    color: #555;
    font-size: 12px;
}

.resource-category-list a.active .resource-category-count {
    background: #397cf0;
    color: #fff;
}
/* ========================================
   Responsive
======================================== */
/* ========================================
   Resource Details Page
======================================== */

.resource-details-page {
    padding-top: 24px;
    padding-bottom: 55px;
}

.resource-breadcrumb {
    margin-bottom: 18px;
}

    .resource-breadcrumb .breadcrumb {
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .resource-breadcrumb a {
        color: #555;
        text-decoration: none;
    }

        .resource-breadcrumb a:hover {
            color: #397cf0;
        }

.resource-details-heading {
    position: relative;
    margin-bottom: 28px;
    padding-bottom: 12px;
    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
}

    .resource-details-heading::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 110px;
        height: 3px;
        background: #397cf0;
        content: "";
    }

.resource-details-card {
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    background: #fff;
}

.resource-details-image-wrapper {
    padding: 22px;
}

.resource-details-image {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    background: #f8f9fb;
}

.resource-details-body {
    padding: 10px 30px 35px;
}

.resource-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
    color: #666;
    font-size: 14px;
}

    .resource-details-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .resource-details-meta i {
        color: #397cf0;
    }

    .resource-details-meta a {
        color: #555;
        text-decoration: none;
    }

        .resource-details-meta a:hover {
            color: #397cf0;
        }

/* ========================================
   Article Content
======================================== */

.resource-content {
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

    .resource-content h2 {
        margin-top: 34px;
        margin-bottom: 15px;
        color: #111;
        font-size: 27px;
        font-weight: 700;
        line-height: 1.35;
    }

    .resource-content h3 {
        margin-top: 28px;
        margin-bottom: 12px;
        color: #111;
        font-size: 22px;
        font-weight: 700;
    }

    .resource-content h4 {
        margin-top: 24px;
        margin-bottom: 10px;
        font-size: 19px;
        font-weight: 700;
    }

    .resource-content p {
        margin-bottom: 18px;
    }

    .resource-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 24px auto;
    }

    .resource-content ul,
    .resource-content ol {
        margin-bottom: 20px;
        padding-left: 25px;
    }

    .resource-content li {
        margin-bottom: 8px;
    }

    .resource-content table {
        width: 100%;
        margin: 25px 0;
        border-collapse: collapse;
    }

    .resource-content th,
    .resource-content td {
        padding: 13px;
        border: 1px solid #ddd;
        text-align: left;
        vertical-align: top;
    }

    .resource-content th {
        background: #f4f7fb;
        font-weight: 700;
    }

    .resource-content blockquote {
        margin: 25px 0;
        padding: 18px 22px;
        border-left: 4px solid #397cf0;
        background: #f5f8fd;
    }

/* ========================================
   Article Tags and Share
======================================== */

.resource-details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}

    .resource-details-tags a {
        padding: 7px 13px;
        border: 1px solid #dfe4eb;
        border-radius: 20px;
        background: #f8fafc;
        color: #555;
        font-size: 13px;
        text-decoration: none;
    }

        .resource-details-tags a:hover {
            border-color: #397cf0;
            color: #397cf0;
        }

.resource-details-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

/* ========================================
   Related Posts
======================================== */

.related-resource-section {
    margin-top: 38px;
}

.resource-section-heading {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

    .resource-section-heading::after {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background: #397cf0;
        content: "";
    }

.related-resource-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .related-resource-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    }

.related-resource-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.related-resource-body {
    padding: 16px;
}

.related-resource-title {
    display: block;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

    .related-resource-title:hover {
        color: #397cf0;
    }

.related-resource-date {
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}
/* ========================================
   Previous / Next Resource Navigation
======================================== */

.resource-post-nav {
    position: fixed;
    top: 55%;
    z-index: 999;
    width: 38px;
    height: 102px;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transform: translateY(-50%);
    overflow: visible;
}

    .resource-post-nav:hover,
    .resource-post-nav:focus {
        color: #fff;
        text-decoration: none;
    }

.resource-post-nav-left {
    left: 0;
    justify-content: flex-start;
}

.resource-post-nav-right {
    right: 0;
    justify-content: flex-end;
}

.resource-post-nav-arrow {
    position: relative;
    z-index: 2;
    display: flex;
    width: 38px;
    height: 102px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    background: rgba(35, 35, 35, 0.65);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .resource-post-nav-arrow:hover {
        background: #222;
    }

.resource-post-nav-preview {
    position: absolute;
    top: 0;
    display: flex;
    width: 380px;
    min-height: 102px;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    background: #222;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.resource-post-nav-left .resource-post-nav-preview {
    left: 38px;
    transform: translateX(-10px);
}

.resource-post-nav-right .resource-post-nav-preview {
    right: 38px;
    transform: translateX(10px);
}

.resource-post-nav:has(.resource-post-nav-arrow:hover)
.resource-post-nav-preview,
.resource-post-nav:has(.resource-post-nav-preview:hover)
.resource-post-nav-preview {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.resource-post-nav-preview img {
    width: 110px;
    height: 78px;
    flex: 0 0 110px;
    border-radius: 2px;
    background: #fff;
    object-fit: cover;
}

.resource-post-nav-text {
    flex: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.resource-post-nav-left .resource-post-nav-text {
    text-align: right;
}

.resource-post-nav-right .resource-post-nav-text {
    text-align: left;
}
/* ========================================
   Professional Comments Section
======================================== */

.resource-comments-section {
    margin-top: 38px;
    padding: 28px;
    border: 1px solid #e2e7ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 44, 82, 0.05);
}

.resource-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ebf0;
}

.resource-comments-title {
    margin: 0 0 4px;
    color: #172033;
    font-size: 22px;
    font-weight: 700;
}

.resource-comments-summary {
    margin: 0;
    color: #788191;
    font-size: 14px;
}

.resource-comments-count {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 50px;
    background: #eef4ff;
    color: #397cf0;
    font-weight: 700;
}

.resource-comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-comment {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    background: #fbfcfe;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .resource-comment:hover {
        border-color: #cbd9f5;
        box-shadow: 0 8px 22px rgba(29, 74, 146, 0.08);
        transform: translateY(-1px);
    }

.resource-comment-hidden {
    display: none;
}

.resource-comment-avatar {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #397cf0, #65a0ff);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(57, 124, 240, 0.22);
}

.resource-comment-content {
    min-width: 0;
    flex: 1;
}

.resource-comment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 11px;
}

.resource-comment-author {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .resource-comment-author strong {
        color: #182033;
        font-size: 16px;
        font-weight: 700;
    }

.resource-comment-badge {
    padding: 3px 8px;
    border-radius: 20px;
    background: #edf3ff;
    color: #397cf0;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.resource-comment-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8a92a0;
    font-size: 12px;
    white-space: nowrap;
}

.resource-comment-message {
    color: #4c5564;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* Load More Comments */

.resource-load-more-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.resource-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 210px;
    padding: 11px 22px;
    border: 1px solid #397cf0;
    border-radius: 50px;
    background: #fff;
    color: #397cf0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .resource-load-more-button:hover {
        background: #397cf0;
        color: #fff;
        box-shadow: 0 10px 24px rgba(57, 124, 240, 0.22);
        transform: translateY(-2px);
    }

    .resource-load-more-button i {
        transition: transform 0.2s ease;
    }

    .resource-load-more-button:hover i {
        transform: translateY(2px);
    }

.resource-comment-progress {
    color: #858d9a;
    font-size: 12px;
}

/* Empty Comments */

.resource-empty-comments {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px dashed #cfd7e4;
    border-radius: 12px;
    background: #fafcff;
}

.resource-empty-comments-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ff;
    color: #397cf0;
    font-size: 20px;
}

.resource-empty-comments h3 {
    margin: 0 0 4px;
    color: #202838;
    font-size: 17px;
}

.resource-empty-comments p {
    margin: 0;
    color: #7d8695;
    font-size: 14px;
}

/* Comment Form Box */

.resource-comment-form-box {
    margin-top: 30px;
    padding: 26px;
    border: 1px solid #e1e6ee;
    border-radius: 14px;
    background: linear-gradient( 180deg, #fbfdff 0%, #ffffff 100% );
}

.resource-comment-form-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.resource-comment-form-icon {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf3ff;
    color: #397cf0;
    font-size: 19px;
}

.resource-comment-form-heading h3 {
    margin: 0 0 3px;
    color: #1e2635;
    font-size: 20px;
    font-weight: 700;
}

.resource-comment-form-heading p {
    margin: 0;
    color: #858d9a;
    font-size: 13px;
}

.resource-comment-form label {
    display: block;
    margin-bottom: 7px;
    color: #273043;
    font-size: 14px;
    font-weight: 600;
}

    .resource-comment-form label span {
        color: #dc3545;
    }

.resource-input-wrapper {
    position: relative;
}

    .resource-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        z-index: 2;
        color: #8992a2;
        transform: translateY(-50%);
    }

    .resource-input-wrapper .form-control {
        min-height: 48px;
        padding-left: 43px;
        border: 1px solid #dce2eb;
        border-radius: 9px;
        background: #fff;
    }

.resource-comment-form .form-control:focus {
    border-color: #6c9cf5;
    box-shadow: 0 0 0 4px rgba(57, 124, 240, 0.12);
}

.resource-comment-textarea {
    min-height: 145px;
    padding: 14px 16px;
    resize: vertical;
}

.resource-comment-character-count {
    margin-top: 6px;
    color: #929aa7;
    font-size: 12px;
    text-align: right;
}

/* Submit Button */

.resource-comment-button {
    display: inline-flex;
    min-width: 220px;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 27px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, #2d73f5, #4a8cff);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(52, 120, 239, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .resource-comment-button:hover {
        background: linear-gradient(135deg, #1f63df, #397cf0);
        color: #fff;
        box-shadow: 0 15px 30px rgba(52, 120, 239, 0.32);
        transform: translateY(-2px);
    }

    .resource-comment-button:disabled {
        cursor: not-allowed;
        opacity: 0.7;
        transform: none;
    }

.resource-page .breadcrumb a,
.resource-breadcrumb-link {
    color: #0d6efd;
    text-decoration: none;
    cursor: pointer;
}

    .resource-page .breadcrumb a:hover,
    .resource-breadcrumb-link:hover {
        color: #084298;
        text-decoration: underline;
    }

.post-holder {
    margin-bottom: 28px;
    padding: 0 0 28px;
    border-bottom: 1px solid #e4e4e4;
}

.post-inner {
    align-items: flex-start;
}

.post-ftimg-hld {
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
}

    .post-ftimg-hld .post-img {
        display: block;
        width: 100%;
        text-decoration: none;
    }

    .post-ftimg-hld img.post-img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 310px;
        object-fit: cover;
    }

.post-info-panel {
    padding-left: 10px;
}

.post-date {
    margin-bottom: 8px;
    color: #777;
    font-size: 14px;
}

.post-title {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 600;
}

    .post-title a {
        color: #222;
        text-decoration: none;
    }

        .post-title a:hover {
            color: #315ecb;
        }

.post-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

    .post-info .label {
        margin-right: 4px;
        color: #444;
        font-weight: 600;
    }

.post-categories a {
    color: #555;
    text-decoration: none;
}

    .post-categories a:hover {
        color: #315ecb;
    }

.post-description {
    margin-bottom: 18px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.post-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.post-read-more {
    color: #315ecb;
    font-weight: 600;
    text-decoration: none;
}

    .post-read-more:hover {
        text-decoration: underline;
    }
/* =========================================================
   MAGENTO PAGE BUILDER RESPONSIVE IMAGES
   ========================================================= */

.resource-content .pagebuilder-mobile-only {
    display: none !important;
}

.resource-content .pagebuilder-mobile-hidden {
    display: block !important;
}

.resource-content figure img {
    max-width: 100%;
    height: auto;
}
/* ========================================
   Responsive Details
======================================== */
@media (max-width:991px) {

    .resource-post-nav {
        width: 34px;
        height: 76px;
    }

    .resource-post-nav-preview {
        display: none;
    }

    .resource-post-nav-arrow {
        width: 34px;
        height: 76px;
        flex-basis: 34px;
        font-size: 20px;
    }
}

@media (max-width:767px) {

    .resource-main-image {
        height: auto;
        margin-bottom: 18px;
    }

    .resource-date-box {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
    }

    .resource-post-title {
        margin-right: 0;
    }

    .resource-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-social-links {
        width: 100%;
    }

        .resource-social-links a {
            width: 38px;
            height: 38px;
            font-size: 15px;
        }

    .resource-pagination-wrapper {
        overflow-x: auto;
    }

    .resource-pagination {
        flex-wrap: nowrap;
    }

        .resource-pagination a,
        .resource-pagination span {
            min-width: 40px;
            width: 40px;
            height: 40px;
        }

    .resource-details-heading {
        font-size: 24px;
    }

    .resource-details-image-wrapper {
        padding: 12px;
    }

    .resource-details-body {
        padding: 10px 18px 25px;
    }

    .resource-content {
        font-size: 16px;
        line-height: 1.7;
    }

        .resource-content h2 {
            font-size: 23px;
        }

        .resource-content h3 {
            font-size: 20px;
        }

        .resource-content table {
            display: block;
            overflow-x: auto;
        }

    .resource-details-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-comments-section {
        padding: 18px;
    }

    .resource-comment {
        padding: 16px;
    }

    .resource-comment-header {
        flex-direction: column;
        gap: 6px;
    }

    .resource-comment-avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .resource-comment-form-box {
        padding: 18px;
    }

    .resource-comment-button {
        width: 100%;
    }

    .post-info-panel {
        padding-top: 18px;
        padding-left: 0;
    }

    .post-title {
        font-size: 21px;
    }

    .post-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .resource-content .pagebuilder-mobile-hidden {
        display: none !important;
    }

    .resource-content .pagebuilder-mobile-only {
        display: block !important;
    }
}

@media (max-width: 576px) {

    .resource-post-nav {
        top: 50%;
        width: 30px;
        height: 65px;
    }

    .resource-post-nav-arrow {
        width: 30px;
        height: 65px;
        flex-basis: 30px;
    }
}
/* =========================================================
   KHELMART RICH BLOG / RESOURCE CONTENT
   Reusable for all Khelmart articles
   ========================================================= */

.km-blog {
    width: 100%;
    max-width: 100%;
    color: #263238;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
}

    .km-blog,
    .km-blog * {
        box-sizing: border-box;
    }

        .km-blog h1 {
            margin: 0 0 22px;
            color: #172b4d;
            font-size: 32px;
            font-weight: 750;
            line-height: 1.25;
        }

        .km-blog h2 {
            margin: 38px 0 16px;
            padding-bottom: 10px;
            border-bottom: 2px solid #08783e;
            color: #172b4d;
            font-size: 25px;
            font-weight: 700;
            line-height: 1.35;
        }

        .km-blog h3 {
            margin: 22px 0 10px;
            color: #172b4d;
            font-size: 19px;
            font-weight: 700;
        }

        .km-blog p {
            margin: 0 0 16px;
        }

        .km-blog a {
            color: #08783e;
            font-weight: 600;
            text-decoration: underline;
        }

            .km-blog a:hover {
                color: #065f31;
                text-decoration: none;
            }


/* INTRO / IMPORTANT HIGHLIGHT */

.km-blog-highlight {
    width: 100%;
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #cce3d5;
    border-left: 5px solid #08783e;
    border-radius: 8px;
    background: #f2f8f4;
    color: #34443b;
    line-height: 1.65;
}

    .km-blog-highlight strong {
        color: #08783e;
    }


/* FEATURE CARDS */

.km-blog-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.km-blog-feature {
    min-width: 0;
    padding: 18px;
    border: 1px solid #e0e6e2;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.km-blog-feature-title {
    display: block;
    margin-bottom: 7px;
    color: #08783e;
    font-size: 17px;
    font-weight: 700;
}


/* INFO BOX */

.km-blog-info {
    margin: 22px 0;
    padding: 17px 19px;
    border: 1px solid #d9e2dc;
    border-radius: 8px;
    background: #fafcfb;
}

    .km-blog-info strong {
        color: #08783e;
    }


/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.km-blog-compare {
    width: 100%;
    margin: 22px 0 30px;
    overflow: hidden;
    border: 1px solid #d9e2dc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

.km-blog-compare-grid {
    display: block !important;
    width: 100% !important;
}

.km-blog-row {
    display: grid !important;
    grid-template-columns: 28% 36% 36% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #e3e8e5;
}

    .km-blog-row:last-child {
        border-bottom: 0;
    }

.km-blog-cell {
    display: flex !important;
    align-items: center;
    min-width: 0 !important;
    padding: 13px 15px !important;
    border-right: 1px solid #e3e8e5;
    line-height: 1.45;
    overflow-wrap: break-word;
}

    .km-blog-cell:last-child {
        border-right: 0;
    }

.km-blog-header {
    background: #08783e;
}

.km-blog-head {
    color: #fff !important;
    font-weight: 700;
}

.km-blog-label {
    background: #f5f7f6;
    color: #263238;
    font-weight: 700;
}

.km-blog-option-a {
    color: #34443b;
}

.km-blog-option-b {
    background: #f4faf6;
    color: #08783e;
    font-weight: 600;
}


/* =========================================================
   TEST / RATING BOX
   ========================================================= */

.km-blog-rating {
    margin: 22px 0 28px;
    padding: 18px 20px;
    border: 1px solid #cfe3d6;
    border-radius: 9px;
    background: #f3f8f5;
}

.km-blog-rating-title {
    display: block;
    margin-bottom: 12px;
    color: #172b4d;
    font-size: 17px;
    font-weight: 700;
}

.km-blog-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #dce9e1;
}

    .km-blog-rating-row:last-of-type {
        border-bottom: 0;
    }

.km-blog-score {
    flex: 0 0 auto;
    min-width: 62px;
    padding: 5px 9px;
    border-radius: 5px;
    background: #08783e;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.km-blog-rating-note {
    display: block;
    margin-top: 11px;
    color: #68736d;
    font-size: 12px;
    line-height: 1.5;
}


/* IMAGES */

.km-blog-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 26px auto 32px;
    border-radius: 8px;
}


/* RELATED / CTA */

.km-blog-related {
    margin: 28px 0;
    padding: 18px 20px;
    border-radius: 8px;
    background: #f2f8f4;
}

    .km-blog-related h2,
    .km-blog-related h3 {
        margin-top: 0;
    }


/* =========================================================
   FAQ
   ========================================================= */

.km-blog-faq {
    width: 100%;
    margin: 42px 0 25px;
}

.km-blog-faq-intro {
    margin-bottom: 20px !important;
    color: #5b6760;
}

.km-blog-faq-card {
    width: 100%;
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid #dce5df;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.km-blog-question {
    display: flex !important;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 14px 16px;
    background: #f3f8f5;
    color: #172b4d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.km-blog-number {
    display: inline-flex !important;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #08783e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.km-blog-answer {
    padding: 14px 17px 15px 57px;
    color: #445049;
    line-height: 1.65;
}

    .km-blog-answer p {
        margin: 0;
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

    .km-blog {
        font-size: 15px;
        line-height: 1.65;
    }

        .km-blog h1 {
            font-size: 25px;
        }

        .km-blog h2 {
            margin-top: 30px;
            font-size: 21px;
        }

    .km-blog-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .km-blog-highlight,
    .km-blog-info,
    .km-blog-related,
    .km-blog-rating {
        padding: 15px;
    }


    /* Comparison becomes cards on mobile */

    .km-blog-compare {
        border: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .km-blog-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        margin: 0 0 13px !important;
        overflow: hidden;
        border: 1px solid #dce5df !important;
        border-radius: 8px;
        background: #fff;
    }

    .km-blog-header {
        display: none !important;
    }

    .km-blog-cell {
        display: block !important;
        width: 100% !important;
        padding: 10px 12px !important;
        border-right: 0 !important;
        border-bottom: 1px solid #e4e9e6;
    }

        .km-blog-cell:last-child {
            border-bottom: 0;
        }

    .km-blog-label {
        background: #08783e !important;
        color: #fff !important;
        font-size: 14px;
    }

    .km-blog-option-a::before {
        content: "Arcsaber 11 Pro: ";
        color: #66736c;
        font-weight: 700;
    }

    .km-blog-option-b::before {
        content: "Astrox 100ZZ: ";
        color: #66736c;
        font-weight: 700;
    }


    /* FAQ */

    .km-blog-faq {
        margin-top: 32px;
    }

    .km-blog-question {
        align-items: flex-start;
        padding: 12px;
        font-size: 15px;
    }

    .km-blog-number {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .km-blog-answer {
        padding: 12px 14px 14px;
        font-size: 14px;
    }

    .km-blog-image {
        margin: 20px auto 25px;
        border-radius: 6px;
    }
}
