/* Main Content */

.orgs-page-container {
    font-family: 'Inter', sans-serif !important; 
}

.main-content {
    padding: 40px 20px;
}

.content-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: #004080;
    margin-bottom: 10px;
}

.content-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Search Bar for orgs */
.search-bar {
    margin-bottom: 20px;
    text-align: center;
}

.search-bar input {
    padding: 10px;
    width: 100%;
    max-width: 600px;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 30px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-bar input:focus {
    border-color: #004080;
    box-shadow: 0 4px 8px rgba(0, 64, 128, 0.2);
}

/* Content Wrapper */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Adds space between org list and vertical ad */
}

/* orgs List */
.orgs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    flex: 1;
}

.org-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 64, 128, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 64, 128, 0.2);
}

.org-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.org-details {
    text-align: center;
}

.org-details h3 {
    font-size: 1.5rem;
    color: #004080;
    margin-bottom: 5px;
}

.org-details .location {
    font-size: 1rem;
    color: #888;
    margin-bottom: 10px;
}

.org-details span {
    font-size: 1rem;
    color: #ff8800;
    text-decoration: none;
    font-weight: bold;
}

.org-details span:hover {
    text-decoration: underline;
}





/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    
}

@media only screen and (max-width: 768px) {
    
    .mobile-only {
        display: block;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .left-block {
        width: 70%;
        margin-right: 10px;
    }
    
    .right-block {
        width: 30%;
    }

    
}

@media only screen and (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .orgs-list,
    .right-sidebar {
        width: 100%;
    }
}