.inner-header {
    position: fixed;
    top: 0;
    z-index: 100;
    background: #fff;
}
html {
    scrollbar-gutter: stable;
}

body .s-listing{
    margin-top: 65px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.left-menu {
    margin-top: 65px;
    height: calc(100% - 65px);
}

.s-listing__body ol, .s-listing__body ul {
    list-style: unset;
}

.s-listing__body ul {
    list-style-type: disc;
}

.s-listing__body ol {
    list-style-type: decimal;
}

a {
    color: #2563eb;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Listing Container --- */
.s-listing {
    max-width: 1060px;
    margin: 0 auto;
    padding: 32px 40px 60px;
}

/* --- Breadcrumbs --- */
.s-listing__breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}
.s-listing__breadcrumb a {
    color: #6b7280;
}
.s-listing__breadcrumb a:hover {
    color: #2563eb;
}

/* --- Page Title --- */
.s-listing__title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 24px;
}

/* --- Filter Pills --- */
.s-listing__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.s-listing__pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 17px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    font-family: inherit;
}

.s-listing__pill:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.s-listing__pill--active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.s-listing__pill--active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

/* --- Card Grid --- */
.s-listing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

/* --- Card --- */
.s-listing__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.s-listing__card:hover {
    text-decoration: none;
}

.s-listing__card:hover .s-listing__card-title {
    color: #2563eb;
}

.s-listing__card-image {
    width: 100%;
    aspect-ratio: 400 / 210;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #e5e7eb;
}

.s-listing__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-listing__card-meta {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.s-listing__card-meta-sep {
    margin: 0 6px;
}

.s-listing__card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s-listing__card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Pagination --- */
.s-listing__pagination {
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-listing__page {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    padding: 0 4px;
    font-family: inherit;
}

.s-listing__page:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    text-decoration: none;
}

.s-listing__page--active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.s-listing__page--active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.s-listing__page-dots {
    font-size: 14px;
    color: #9ca3af;
    padding: 0 2px;
}

.s-listing__page-arrow {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
}

.s-listing__page-arrow:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    text-decoration: none;
}

/* ============================================= */
/* RESPONSIVE: 960px — Tablet Landscape          */
/* ============================================= */
@media (max-width: 1100px) {
    .s-listing {
        padding: 28px 32px 48px;
    }

    .s-listing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================= */
/* RESPONSIVE: 768px — Tablet Portrait           */
/* ============================================= */
@media (max-width: 820px) {
    .s-listing {
        padding: 24px 24px 40px;
    }

    .s-listing__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .s-listing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================= */
/* RESPONSIVE: 480px — Mobile                    */
/* ============================================= */
@media (max-width: 540px) {
    .s-listing {
        padding: 20px 16px 32px;
    }

    .s-listing__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .s-listing__filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin-bottom: 20px;
    }

    .s-listing__filters::-webkit-scrollbar {
        display: none;
    }

    .s-listing__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .s-listing__card-title {
        font-size: 15px;
    }
}

/* ============================================= */
/* RESPONSIVE: 360px — Mobile Small              */
/* ============================================= */
@media (max-width: 390px) {
    .s-listing {
        padding: 16px 12px 28px;
    }

    .s-listing__title {
        font-size: 22px;
    }

    .s-listing__card-image {
        border-radius: 10px;
    }

    .s-listing__card-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .s-listing__card-desc {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .s-listing__page {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .s-listing__page-arrow {
        min-width: 32px;
        height: 32px;
    }
}
