/* Container Layouts */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.org-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.org-card a {
    text-decoration: none;
    color: inherit;
}

.org-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.org-card-title {
    padding: 15px;
    font-size: 1.1rem;
    margin: 0;
}

/* Category Tabs Styling */
.org-tabs-header {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.org-tabs-header li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.org-tabs-header li.active, .org-tabs-header li:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.org-tab-pane {
    display: none;
}

.org-tab-pane.active {
    display: block;
}

/* Single Views Flex Split */
.org-single-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.org-single-col {
    flex: 1;
    min-width: 300px;
}

/* Responsive Grid Tweaks */
@media (max-width: 768px) {
    .org-single-container {
        flex-direction: column;
    }
}

/* RTL Support */
body.rtl .org-single-container {
    direction: rtl;
    text-align: right;
}