/* Grid Style 36: Premium Card Grid */
.mpgw-style-36 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.mpgw-style-36 .mpgw-post-item {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.mpgw-style-36 .mpgw-post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mpgw-style-36 .mpgw-post-thumbnail {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.mpgw-style-36 .mpgw-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mpgw-style-36 .mpgw-post-item:hover .mpgw-post-thumbnail img {
    transform: scale(1.08);
}

.mpgw-style-36 .mpgw-post-content {
    padding: 32px;
}

.mpgw-style-36 .mpgw-post-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--mpgw-accent-color);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.mpgw-style-36 .mpgw-post-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.mpgw-style-36 .mpgw-post-meta {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mpgw-style-36 .mpgw-post-excerpt {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

.mpgw-style-36 .mpgw-read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--mpgw-title-color);
    position: relative;
}

.mpgw-style-36 .mpgw-read-more-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--mpgw-accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.mpgw-style-36 .mpgw-read-more-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Grid Style 37: Hero Split Grid */
.mpgw-style-37 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mpgw-style-37 .mpgw-post-item:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
    min-height: 450px;
}

.mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-thumbnail {
    height: 100%;
    border-radius: 24px 0 0 24px;
}

.mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-content {
    padding: 40px 40px 40px 0;
}

.mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-excerpt {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Other items in Style 37 */
.mpgw-style-37 .mpgw-post-item:not(:first-child) {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mpgw-style-37 .mpgw-post-item:not(:first-child):hover {
    transform: translateY(-5px);
}

.mpgw-style-37 .mpgw-post-item:not(:first-child) .mpgw-post-thumbnail {
    height: 200px;
    border-radius: 16px 16px 0 0;
}

@media (max-width: 1024px) {
    .mpgw-style-37 .mpgw-post-item:first-child {
        grid-template-columns: 1fr;
    }

    .mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-thumbnail {
        height: 300px;
        border-radius: 24px 24px 0 0;
    }

    .mpgw-style-37 .mpgw-post-item:first-child .mpgw-post-content {
        padding: 30px;
    }
}

/* Grid Style 38: Glass Dark Grid */
.mpgw-style-38 {
    background: #0f172a;
    padding: 40px;
    border-radius: 24px;
    gap: 30px;
}

.mpgw-style-38 .mpgw-post-item {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mpgw-style-38 .mpgw-post-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.mpgw-style-38 .mpgw-post-thumbnail {
    height: 220px;
    position: relative;
}

.mpgw-style-38 .mpgw-post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
}

.mpgw-style-38 .mpgw-post-content {
    padding: 24px;
}

.mpgw-style-38 .mpgw-post-title a {
    color: #f8fafc;
}

.mpgw-style-38 .mpgw-post-meta {
    color: #94a3b8;
}

.mpgw-style-38 .mpgw-post-excerpt {
    color: #cbd5e1;
}

.mpgw-style-38 .mpgw-read-more-link {
    color: #38bdf8;
    font-weight: 600;
}

.mpgw-style-38 .mpgw-read-more-link:hover {
    color: #7dd3fc;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}