/* Latest Blogs + Upcoming Webinars styles */

.bwp-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.bwp-blogs {
    flex: 1 1 68%;
    min-width: 320px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(20, 20, 43, 0.04);
}

.bwp-webinars {
    flex: 1 1 28%;
    min-width: 300px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(20, 20, 43, 0.04);
}

.bwp-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.bwp-column-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.bwp-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #7C5CFC;
    text-decoration: none;
    white-space: nowrap;
}
.bwp-view-all:hover { text-decoration: underline; }

/* --- Blog card grid --- */
.bwp-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.bwp-blog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.bwp-blog-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.bwp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bwp-blog-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: capitalize;
}

.bwp-blog-body {
    padding-top: 12px;
}

.bwp-blog-date {
    font-size: 12px;
    color: #9a9aa8;
    display: block;
    margin-bottom: 6px;
}

.bwp-blog-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.35;
}

.bwp-blog-body p {
    font-size: 13px;
    color: #7a7a8c;
    margin: 0 0 10px;
    line-height: 1.45;
}

.bwp-blog-body .bwp-readmore {
    font-size: 13px;
    font-weight: 600;
    color: #7C5CFC;
}

/* --- Webinar list --- */
.bwp-webinar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f2f2f6;
}
.bwp-webinar-item:last-child { border-bottom: none; }

.bwp-webinar-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
}

.bwp-webinar-body {
    flex: 1;
    min-width: 0;
}

.bwp-webinar-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.35;
}

.bwp-webinar-meta {
    font-size: 12px;
    color: #9a9aa8;
}

.bwp-register-btn {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #7C5CFC;
    border: 1.5px solid #7C5CFC;
    border-radius: 6px;
    padding: 7px 14px;
    text-decoration: none;
    white-space: nowrap;
}
.bwp-register-btn:hover {
    background: #7C5CFC;
    color: #fff;
}

@media (max-width: 1100px) {
    .bwp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .bwp-blog-grid { grid-template-columns: 1fr; }
    .bwp-blogs, .bwp-webinars { flex: 1 1 100%; }
}
