/* AR TMC Elements - Frontend Widgets CSS */

/* Grid Layout */
.artmc-grid-container {
    display: grid;
    /* Columns and Gap are injected dynamically via Elementor Widget Settings */
}

/* Scroller (Swiper) Layout */
.artmc-swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Shared Card Styles */
.artmc-item-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artmc-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.artmc-item-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    background: #f5f5f5;
}

.artmc-item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artmc-item-card:hover .artmc-item-thumbnail img {
    transform: scale(1.05);
}

.artmc-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artmc-item-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

.artmc-item-title a {
    color: inherit;
    text-decoration: none;
}

.artmc-item-meta {
    margin-top: auto;
    font-size: 0.9rem;
    color: #666;
}

.artmc-item-meta p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}