.tl-artwork-grid {
    display: grid;
    /* Grid gap and columns are now controlled by Elementor Widget Settings */
}

/* Base image container styling */
.tl-artwork-img {
    overflow: hidden;
    display: block;
}
.tl-artwork-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover effects (controlled by widget) */
.tl-artwork-card {
    transition: transform 0.3s ease;
}
.tl-artwork-card:hover {
    transform: translateY(-5px);
}
.tl-artwork-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.tl-hover-zoom:hover .tl-artwork-img img {
    transform: scale(1.05);
}

/* Pagination */
.tl-artwork-pagination {
    margin-top: 50px;
    text-align: center;
}
.tl-artwork-pagination a, .tl-artwork-pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #111;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.tl-artwork-pagination .current {
    background: #111;
    color: #fff;
    border-color: #111;
}
.tl-artwork-pagination a:hover {
    background: #fcfbf9;
    border-color: #111;
}
.tl-artwork-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}
.tl-artwork-artist {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin: 0 0 5px 0;
}
.tl-artwork-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: #111;
}

.tl-artwork-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.tl-artwork-details li {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: #444;
}
.tl-artwork-details li strong {
    color: #111;
    margin-right: 5px;
}
.tl-artwork-provenance h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin: 0 0 15px 0;
    color: #111;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
.tl-artwork-provenance p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Single Artwork Page Native Template */
.tl-single-artwork-container {
    max-width: 1440px;
    margin: 80px auto;
    padding: 0 40px;
}
.tl-single-artwork-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.tl-single-artwork-image {
    flex: 1;
    min-width: 0;
}
.tl-single-artwork-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.tl-single-artwork-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.tl-single-artwork-info {
    flex: 1;
    min-width: 0;
    max-width: 500px;
}
.tl-artist-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #666;
    margin: 0 0 10px 0;
}
.tl-artwork-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 500;
    color: #111;
    margin: 0 0 30px 0;
    line-height: 1.2;
}
.tl-artwork-meta-list {
    margin-bottom: 40px;
}
.tl-meta-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #444;
    margin: 0 0 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 12px;
}
.tl-meta-item strong {
    color: #111;
    font-weight: 600;
    display: inline-block;
    width: 100px;
}
.tl-inquire-btn-wrap {
    margin-bottom: 40px;
}
.tl-artwork-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}
.tl-artwork-accordion {
    margin-bottom: 40px;
}
.tl-accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.tl-accordion-item summary {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: #111;
    padding: 15px 0;
    cursor: pointer;
    list-style: none;
    position: relative;
}
.tl-accordion-item summary::-webkit-details-marker {
    display: none;
}
.tl-accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 300;
}
.tl-accordion-item[open] summary::after {
    content: '−';
}
.tl-accordion-content {
    padding-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Related Artworks */
.tl-related-artworks {
    margin-top: 80px;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 60px;
}
.tl-related-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    text-align: center;
    color: #111;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .tl-single-artwork-wrapper {
        flex-direction: column;
    }
    .tl-single-artwork-info {
        max-width: 100%;
    }
}

.tl-inquire-btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #111;
    text-decoration: none;
    border: 1px solid #111;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}
.tl-inquire-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}
.tl-inquire-btn:hover {
    color: #fff;
}
.tl-inquire-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
