.oprf-events-wrapper-3361493c {
    font-family: inherit;
    color: #eaeaea;
    background-color: #111;
    padding: 20px 0;
}

.oprf-main-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Filter Panel Style */
.oprf-filter-panel {
    width: 300px;
    flex-shrink: 0;
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 8px;
}

.oprf-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #8B0000;
    padding-bottom: 10px;
}

.oprf-filter-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
}

.oprf-filter-toggle-btn {
    display: none;
    background: #8B0000;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.oprf-filter-group {
    margin-bottom: 25px;
}

.oprf-filter-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.oprf-filter-group select {
    width: 100%;
    padding: 10px;
    background-color: #262626;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.oprf-program-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oprf-program-btn {
    text-align: left;
    background: #222;
    color: #ccc;
    border: 1px solid #444;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.oprf-program-btn:hover, .oprf-program-btn.active {
    background-color: #8B0000;
    color: #fff;
    border-color: #8B0000;
}

/* Right Content Panel Styling */
.oprf-content-panel {
    flex-grow: 1;
}

.oprf-view-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.oprf-tab-btn {
    background: #222;
    color: #ccc;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.oprf-tab-btn.active, .oprf-tab-btn:hover {
    background-color: #8B0000;
    color: #fff;
    border-color: #8B0000;
}

/* Events Grid */
.oprf-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.oprf-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oprf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.2);
}

.oprf-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.oprf-card-date-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(139, 0, 0, 0.95);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

.oprf-card-content {
    padding: 20px;
}

.oprf-card-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: #fff;
}

.oprf-card-meta {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0 0 15px;
}

.oprf-card-tags span {
    display: inline-block;
    font-size: 0.75rem;
    color: #ff9999;
    background: rgba(139, 0, 0, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 6px;
}

/* Album Grid Cover Style */
.oprf-gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.oprf-album-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.oprf-album-card:hover {
    transform: scale(1.02);
    border-color: #8B0000;
}

.oprf-album-cover {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.oprf-album-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
}

.oprf-album-overlay span {
    background: rgba(139, 0, 0, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.oprf-album-info {
    padding: 15px;
    text-align: center;
}

.oprf-album-info h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: #fff;
}

.oprf-album-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

/* Details Page Layout styling */
.oprf-detail-hero {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    margin-top: 15px;
}

.oprf-detail-columns {
    display: flex;
    gap: 30px;
}

.oprf-detail-img-col {
    width: 35%;
    flex-shrink: 0;
}

.oprf-detail-img-col img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #444;
}

.oprf-detail-text-col {
    flex-grow: 1;
}

.oprf-detail-tags-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.oprf-detail-tag {
    background: #8B0000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.oprf-detail-text-col h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 2rem;
}

.oprf-detail-meta p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.oprf-detail-desc {
    margin-top: 20px;
    line-height: 1.6;
    color: #ddd;
}

/* Event Album grid inside details page */
.oprf-gallery-section-title {
    margin: 40px 0 20px;
    border-left: 4px solid #8B0000;
    padding-left: 15px;
    font-size: 1.4rem;
    color: #fff;
}

.oprf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.oprf-gallery-thumb-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.oprf-gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.oprf-gallery-hover-actions {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(139, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.oprf-gallery-thumb-container:hover .oprf-gallery-hover-actions {
    opacity: 1;
}

.oprf-gallery-thumb-container:hover .oprf-gallery-thumb {
    transform: scale(1.1);
}

.oprf-gallery-hover-actions span {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 4px;
}

.oprf-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #8B0000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-align: center;
}

.oprf-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 10px 0;
    margin-bottom: 10px;
    color: #ff4d4d;
}

.oprf-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #1a1a1a;
    border: 1px dashed #444;
    border-radius: 8px;
    color: #aaa;
}

/* Lightbox Enhancements */
.oprf-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oprf-lb-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
}

.oprf-lb-content {
    position: relative;
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.oprf-lb-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid #222;
    border-radius: 4px;
}

.oprf-lb-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.oprf-lb-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 0, 0, 0.6);
    border: none;
    color: #fff;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.oprf-lb-nav button:hover {
    background: rgba(139, 0, 0, 0.9);
}

.oprf-lb-prev { left: -70px; }
.oprf-lb-next { right: -70px; }

.oprf-lb-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    color: #fff;
    align-items: center;
    background: rgba(20,20,20,0.8);
    padding: 15px;
    border-radius: 6px;
}

.oprf-lb-meta-text h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    color: #fff;
}

.oprf-lb-meta-text p {
    margin: 0 0 4px;
    font-size: 0.85rem;
    color: #ccc;
}

.oprf-lb-counter {
    font-size: 0.8rem;
    color: #aaa;
}

.oprf-lb-actions {
    display: flex;
    gap: 10px;
    position: relative;
}

.oprf-lb-actions .oprf-btn {
    margin: 0;
    padding: 8px 16px;
    font-size: 0.85rem;
}

.oprf-share-popover {
    position: absolute;
    bottom: 45px;
    right: 0;
    background: #222;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.oprf-share-popover button {
    background: #333;
    color: #fff;
    border: none;
    padding: 6px 12px;
    text-align: left;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.8rem;
}

.oprf-share-popover button:hover {
    background: #8B0000;
}

/* Responsive Styling */
@media (max-width: 991px) {
    .oprf-main-container {
        flex-direction: column;
    }
    
    .oprf-filter-panel {
        width: 100%;
    }
    
    .oprf-filter-toggle-btn {
        display: block;
    }
    
    .oprf-filter-body {
        display: none;
        margin-top: 15px;
    }
    
    .oprf-detail-columns {
        flex-direction: column;
    }
    
    .oprf-detail-img-col {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .oprf-lb-prev { left: 10px; }
    .oprf-lb-next { right: 10px; }
    .oprf-lb-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .oprf-lb-actions {
        width: 100%;
        justify-content: space-between;
    }
}
