.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.content-card {
    border-radius: 12px;
    overflow: hidden;
    padding: 10px; /* This creates the frame */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-card-inner {
    background: #fff;
    overflow: hidden;
    border-radius: 8px; /* Optional: for inner rounded corners */
}

.video-thumb {
    position: relative;
    display: block;
    width: 100%;
}

.video-thumb img {
    width: 100%;
    height: 150px; /* Fixed height from gallary plugin */
    object-fit: cover; /* Crop image to fit */
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: block;
}

.content-card:hover .video-thumb img {
    opacity: 0.85;
}

.category-section {
    padding: 2rem 5%;
}

.category-title {
    color: #005875;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap:10px;
}

.content-card-title {
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.content-card-title h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 15px;
}

.content-card-title h3 a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Responsive styles for mobile */
@media (max-width: 767px) {
    .content-card-title h3 {
        font-size: 14px;
        padding: 10px;
    }
}
