/* =========================
   Resources Page Styling
   ========================= */

/* Hide page title */
.resources-page .page-title {
    display: none;
}

/* Page container */
.resources-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
}

/* Page title (if ever needed) */
.resources-page .page-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 40px;
    color: #222;
}

/* Grid layout for resources */
.resources-page .resources-list {
    display: grid !important; /* force grid */
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}



/* Responsive breakpoints */
@media (max-width: 991px) {
    .resources-page .resources-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .resources-page .resources-list {
        grid-template-columns: 1fr !important;
    }
}

/* Each resource card */
.resources-page .resource-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

/* Hover effect on card with scaling */
.resources-page .resource-item:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* Thumbnail image */
.resources-page .resource-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* Resource title */
.resources-page .resource-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #222;
}

/* Resource description */
.resources-page .resource-item .resource-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

/* Download button */
.resources-page .resource-item .nectar-button {
    background-color: #26d17b !important;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resources-page .resource-item .nectar-button:hover {
    background-color: #1eb26a !important;
    transform: translateY(-2px);
}

/* Empty state text */
.resources-page p {
    text-align: center;
    color: #666;
}
