.channels-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.channel-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.channel-thumbnail {
    width: 150px;
    height: 100px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.channel-card h3 {
    margin: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

/* Dropdown styles */
.dropdown-channel {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.channel-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.dropdown-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    transition: transform 0.3s;
}

.dropdown-channel.active .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.channel-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--primaryColor);
    border-radius: 5px;
    position: absolute;
    top: calc(100% - 20px);
    left: 0;
    width: 100%;
}

.dropdown-channel.active .channel-dropdown {
    max-height: 300px;
}

.channel-sub-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    transition: background 0.2s;
}

.channel-sub-item:last-child {
    border-bottom: none;
}

.channel-sub-item:hover {
    background: #e9e9e9;
    color: #000;
}

.page-title {
    text-align: center;
    margin: 30px 0;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}