.wm-collection-section {
    padding: 40px 0;
}

.wm-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.wm-collection-header h2 {
    font-size: 38px;
    line-height: 1;
    margin: 0 0 10px;
    color: #111;
    font-weight: 800;
}

.wm-collection-header p {
    max-width: 420px;
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.wm-collection-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.wm-filter-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: #f1e2ff;
    color: #111;
}

.wm-filter-btn:nth-child(2) {
    background: #c9f5be;
}

.wm-filter-btn:nth-child(3) {
    background: #ffd7c9;
}

.wm-filter-btn.active {
    outline: 2px solid #111;
}

.wm-collection-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 18px;
    transition: opacity 0.2s ease;
}

.wm-card-large {
    grid-column: span 6; /* 60% */
    min-height: 330px;
}

.wm-card-small {
    grid-column: span 4; /* 40% */
    min-height: 330px;
}

.wm-card-half {
    grid-column: span 5; /* 50% */
    min-height: 260px;
}

.wm-card-full {
    grid-column: 1 / -1;
    min-height: 360px;
}

.wm-collection-grid.loading {
    opacity: 0.45;
    pointer-events: none;
}

.wm-collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #111;
    min-height: 260px;
}

.wm-collection-card a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.wm-collection-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.wm-collection-card:hover img {
    transform: scale(1.06);
}

.wm-card-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
}

.wm-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.05) 65%);
    z-index: 1;
}

.wm-card-overlay span {
    display: block;
    font-size: 10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 7px;
}

.wm-card-overlay h3 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.wm-card-overlay p {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    line-height: 1.4;
    max-width: 430px;
}

.wm-no-items {
    grid-column: 1 / -1;
}

/* Single page post */
.wm-single-collection {
    padding: 50px 0;
}

.wm-single-hero {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
}

.wm-single-hero img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
}

.wm-single-content {
    max-width: 850px;
    margin-bottom: 40px;
}

.wm-single-type {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.wm-single-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.wm-single-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wm-gallery-item {
    border-radius: 18px;
    overflow: hidden;
}

.wm-gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.wm-card-full {
    grid-column: 1 / -1;
    min-height: 360px;
}

@media (max-width: 768px) {
    .wm-collection-header {
        flex-direction: column;
    }

    .wm-collection-filters {
        justify-content: flex-start;
    }

    .wm-collection-grid {
        grid-template-columns: 1fr;
    }

    .wm-card-large,
    .wm-card-small,
    .wm-card-half,
    .wm-card-full {
        grid-column: 1 / -1;
        min-height: 260px;
    }

    .wm-collection-header h2 {
        font-size: 32px;
    }
    
    .wm-single-content h1 {
        font-size: 34px;
    }

    .wm-single-gallery {
        grid-template-columns: 1fr;
    }
}