/* Hub page specific styles */
.hub-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.hub-nav-item {
    text-decoration: none;
    color: #495057;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hub-nav-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hub-section {
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.hub-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hub-section p {
    text-align: center;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hub-callout {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto 3rem;
    text-align: center;
    max-width: 700px;
    border: 1px solid #e9ecef;
}

.hub-callout p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.card-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    display: block;
    text-decoration: none;
    color: #667eea;
    font-weight: bold;
    margin-top: auto;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icons {
    display: flex;
    gap: 1rem;
}

.card-icons a {
    color: #6c757d;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.card-icons a:hover {
    color: #667eea;
}

/* Table View */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-toggle button {
    padding: 0.5rem 1rem;
    border: 1px solid #667eea;
    background: transparent;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle button.active {
    background: #667eea;
    color: white;
}

.view-toggle button:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.view-toggle button:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-left: none;
}
