@import url("https://fonts.googleapis.com/css2?family=Kulim+Park:wght@300;400;700&display=swap");

/* Filter Dropdown Styling */
.filter-dropdown {
    padding: 5px 10px;

    border: 1px solid #000;
    border-radius: 7px;
    font-size: 14px;
    outline: none;
    min-width: 150px;
}

.filter-dropdown::after {
    content: "▼";
    font-size: 1rem;
    top: 6px;
    right: 10px;
    position: absolute;
  }

form > select {
    width:100px;
}

/* Post Grid Styling */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top:80px;
}

.post {
    /* border: 1px solid #ddd; */
    border-radius: 5px;
    /* padding: 15px; */
    transition: box-shadow 0.3s ease;
    /* text-align: center; */
    /* margin-left:10px; */
}

/* .post:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
} */

.post h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color:black;
    font-family:"Inter";
    font-weight:400;
}

.post a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    font-family:"Inter";
    font-size:12px;
    transition: color 0.2s ease;
}

.post a:hover {
    color: #005177;
}

.post-thumbnail {
    width:252px; 
    height:160px; 
    overflow:hidden; 
    border-radius:18px;
}

/* Mobile View */
@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

.srijanalaya-resource {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.resource-title {
    width: 100%;
    padding: 100px 0px;
    background-color: #d9d9d9;
    margin: 60px 0px;
    border-radius: 20px;
    font-size: 36px;
    font-family: 'Kulim Park';
    font-weight: 300;
}



.resource-label {
    text-align:left;
    font-family:"Kulim Park";
}

.resource-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    max-width: 527px;
    margin: auto;
    font-family: 'KULIM PARK';
    margin-bottom: 80px;
    text-align:left;
}

.resource-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}


@media (min-width: 1100px) {
    .resource-files-grid {
        grid-template-columns: repeat(4, minmax(250px, 1fr)); /* Limit to 4 items */
    }
}


.file-card {
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s;
    max-width: 250px;
}

.file-card:hover {
    transform: scale(1.05);
}

.featured-image {
    width: 100%c;
    height: 211px;
    background-color:#d9d9d9;
    border-radius:20px;
    margin:auto;
}

.file-icon {
    width: 50px;
    height: 50px;
    background: #f4f4f4;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-name {
    font-size: 14px;
    color: #333;
    word-wrap: break-word;
    margin:20px 0px;
}

/* .resource-title,  */
/* .resource-description,  */
/* .page-header, */
#comments
{
    display:none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
}
