/* ===================================================
   GT Dash - TMDB Latest Films Widget Styles
   =================================================== */

/* Widget list container */
.gt-dash-tmdb-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each movie item */
.gt-dash-tmdb-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gt-dash-tmdb-item:last-child {
    border-bottom: none;
}

/* Thumbnail link */
.gt-tmdb-thumb-link {
    flex-shrink: 0;
    display: block;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.gt-tmdb-thumb-link:hover {
    opacity: 0.85;
}

.gt-tmdb-thumb-link img {
    display: block;
    border-radius: 4px;
    width: 46px;
    height: 69px;
    object-fit: cover;
    background: #eee;
}

/* Text wrapper */
.gt-tmdb-item-text {
    flex: 1;
    min-width: 0;
}

.gt-tmdb-item-text a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
    text-decoration: none;
    word-break: break-word;
    margin-bottom: 3px;
    transition: color 0.15s ease;
}

.gt-tmdb-item-text a:hover {
    color: #e44d26;
}

/* Release date */
.gt-tmdb-item-date {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

/* ===================================================
   Card HTML variant (gt_dash_get_tmdb_movie_card_html)
   =================================================== */

.gt-dash-tmdb-card {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gt-dash-tmdb-card:last-child {
    border-bottom: none;
}

.gt-tmdb-poster {
    flex-shrink: 0;
}

.gt-tmdb-poster-img {
    display: block;
    border-radius: 6px;
    width: 92px;
    height: 138px;
    object-fit: cover;
    background: #eaeaea;
}

/* Info section */
.gt-tmdb-info {
    flex: 1;
    min-width: 0;
}

/* Badge: Now Playing / Upcoming */
.gt-tmdb-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 2px 6px;
    margin-bottom: 6px;
}

.gt-tmdb-now-playing {
    background: #22c55e;
    color: #fff;
}

.gt-tmdb-upcoming {
    background: #f59e0b;
    color: #fff;
}

/* Title */
.gt-tmdb-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.gt-tmdb-title a {
    color: inherit;
    text-decoration: none;
}

.gt-tmdb-title a:hover {
    color: #e44d26;
}

/* Release date */
.gt-tmdb-release {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 5px;
}

/* Overview excerpt */
.gt-tmdb-overview {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
