.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #5B21B6, #7C3AED 55%, #A855F7);
    padding: 72px 0 64px;
    color: #fff;
    text-align: center;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #E9D8FD;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.hero p {
    font-size: 16px;
    color: #EDE4FB;
    max-width: 560px;
    margin: 0 auto;
}

/* Category pills */
.cat-bar {
    background: #fff;
    border-bottom: 1px solid #E7E3F0;
    padding: 20px 0;
}

.cat-scroll {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pill {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #E7E3F0;
    color: #6B6478;
    white-space: nowrap;
    cursor: pointer;
}

.pill.active {
    background: #123524;
    border-color: #123524;
    color: #fff;
}

.pill.c-purple {
    border-color: #DCCBF7;
    color: #5B21B6;
}

.pill.c-teal {
    border-color: #BEE7EE;
    color: #0891B2;
}

.pill.c-orange {
    border-color: #FBD9B8;
    color: #F97316;
}

.pill.c-blue {
    border-color: #C3D6FB;
    color: #2563EB;
}

/* Grid */
.section {
    padding: 56px 0;
}

.grid-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.grid-head h2 {
    font-size: 24px;
}

.grid-head p {
    font-size: 14px;
    color: #6B6478;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    background: #FFFFFF;
    border: 1px solid #E7E3F0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(91, 33, 182, .10);
}

.card-img {
    height: 170px;
    background: linear-gradient(135deg, #A855F7, #0891B2);
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-img i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
}

.card-body {
    padding: 20px 22px 24px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6B6478;
    margin-bottom: 12px;
}

.tag {
    background: #F1E9FB;
    color: #5B21B6;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
}

.card h3 {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.card p {
    font-size: 13.5px;
    color: #6B6478;
    margin-bottom: 14px;
}

.read-more {
    font-size: 13px;
    font-weight: 600;
    color: #0891B2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    border: 1.5px solid #123524;
    color: #123524;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

@media(max-width:900px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

@media(max-width:640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.load-more-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    margin: 0 4px;
    border: 1px solid #d9dce3;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.load-more-wrap .page-numbers:hover {
    border-color: #222;
    background: #222;
    color: #fff;
}

.load-more-wrap .page-numbers.current {
    border-color: #222;
    background: #222;
    color: #fff;
    cursor: default;
}

.load-more-wrap .page-numbers.dots {
    border: 0;
    background: transparent;
    padding: 0 5px;
    min-width: auto;
    pointer-events: none;
}

.load-more-wrap .page-numbers.prev,
.load-more-wrap .page-numbers.next {
    padding: 0 18px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.7;
}

.text-left {
    text-align: left;
}

.site-header.bg-white {
    border-bottom: 1px solid #E7E3F0;
}