main.content {
    width: 100%;
    overflow: auto;
    padding: 0px;
}

.filter-section {
    background: #fff;
    padding: 0px;
    margin-top: 10px;
    font-size: 0.975em;
}

.filter-row {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.filter-row:last-of-type {
    margin-bottom: 0;
}

.filter-label {
    font-weight: bold;
    margin-right: 0px;
    flex-shrink: 0;
}

.filter-tags {
    display: inline-flex;
    gap: 0;
    flex-shrink: 0;
}

.tag {
    display: inline-block;
    padding: 0px 4.5px;
    margin: 5px 0px;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 0.75em;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.tag:hover {
    color: #ff6b6b;
}

.tag.active {
    background: #ff6b6b;
    color: #fff;
    border: none;
}

.drawing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
    margin: 0px -15px;
}

.drawing-item {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 10px;
}

.drawing-image {
    width: 100%;
    overflow: hidden;
}

.drawing-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.drawing-info {
    padding: 10px 15px;
    font-size: 0.9em;
    text-align: center;
    margin-top: auto;
}

.drawing-info p {
    margin: 0;
    line-height: 1.5em;
}

.drawing-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.empty-state {
    text-align: center;
    padding: 15px;
    color: #999;
    position: relative;
}

.mobile-back{
    display: none;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .container {
        padding: 0px 30px;
    }

    .filter-section{
        margin-top: 20px;
    }

    .filter-label {
        margin-right: 5px;
    }
    
    .tag {
        padding: 0px 15px;
        height: 1.6em;
        line-height: 1.6em;
        border-radius: 8px;
    }

    .drawing-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0px -10px;
    }

    .drawing-item {
        padding: 20px 10px 0px;
    }

    .drawing-info{
        padding: 10px 0px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px){    
    .container {
        padding: 0px 50px;
    }

    .tag {
        padding: 0px 20px;
    }

    .drawing-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0px -15px;
    }
}

@media (min-width: 1200px) {
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 0px 15px;
    }

    .filter-section{
        font-size: 1em;
    }

    .filter-label {
        margin-right: 10px;
    }
    
    .tag {
        padding: 0px 20px;
        height: 2em;
        line-height: 2em;
        border-radius: 8px;
        margin: 8px 0px;
    }

    .drawing-grid {
        grid-template-columns: repeat(3, 1fr);
        margin: 0px -7.5px;
    }

    .drawing-item {
        padding: 10px 7.5px 0px;
    }

    .drawing-info{
        padding: 10px 0px;
    }
}

