/* Grid Layout */
.pu-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Standard Card */
.pu-standard-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative; /* For stretched link */
    transition: transform 0.3s, box-shadow 0.3s;
}

.pu-standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pu-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

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

.pu-placeholder-image {
    width: 100%;
    height: 100%;
    background: #eee;
}

.pu-card-content {
    padding: 20px 0 0 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pu-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.pu-card-title a {
    color: #333;
    text-decoration: none;
}

.pu-card-title a:hover {
    color: #0073aa;
}

.pu-card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.pu-card-action {
    margin-top: 15px;
}

.pu-read-more-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.pu-read-more-btn:hover {
    background: #005177;
    color: #fff;
}

/* Video Icon */
.pu-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.pu-video-icon:hover {
    background: rgba(200,0,0,0.8);
}

.pu-video-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

/* Load More */
.pu-load-more-container {
    text-align: center;
    margin-top: 40px;
}

.pu-load-more-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.pu-load-more-btn:hover {
    background: #005177;
}

/* Category Filters */
.pu-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}
.pu-filter-btn {
    background: #f1f1f1;
    color: #333;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.pu-filter-btn:hover {
    background: #e2e2e2;
}
.pu-filter-btn.active {
    background: #0073aa;
    color: #fff;
}

/* Modal Lightbox */
.pu-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pu-video-modal.pu-modal-open {
    opacity: 1;
}

.pu-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.pu-video-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pu-video-modal.pu-modal-open .pu-video-content {
    transform: scale(1);
}

.pu-video-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    padding: 0;
    outline: none;
}

.pu-video-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.08);
    color: #ffffff;
}

.pu-iframe-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pu-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pu-video-content {
        width: 94%;
    }
    .pu-video-close {
        top: -44px;
        right: 0;
        width: 34px;
        height: 34px;
    }
    .pu-video-close svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .pu-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

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