.movie-card {
    background: var(--card-background);
    border: 1px solid var(--light-gray);
    border-radius: 0;
    overflow: hidden;
    transition: none;
    box-shadow: var(--card-shadow);
}
.poster-fallback {
    width: 100%;
    height: 0;
    padding-bottom: 150px;
    background: linear-gradient(135deg, var(--light-gray), var(--card-background));
}
/* 文章卡片容器 */
.single-article-card {
    max-width: 600px;
    margin: 0 auto 24px;
    background: var(--card-background);
    border: 1px solid var(--light-gray);
    border-top: none; /* 与上方封面无缝衔接 */
    border-radius: 0;
    padding: 16px 20px;
    box-shadow: none;
    box-sizing: border-box; /* 保证外宽等于600px（含内边距/边框） */
}

.movie-card:hover {
    transform: none;
    box-shadow: none;
}

.movie-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.movie-card-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background-color: var(--light-gray);
}

.movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none;
}

.movie-card:hover .movie-card-poster img {
    transform: none;
}


.movie-card-title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card-year, .movie-card-rating {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

/* Pagination */
.navigation.posts-navigation {
    margin: 30px 0;
}
.navigation .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.navigation .nav-links a,
.navigation .nav-links span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    background: var(--card-background);
    color: var(--text-color);
}
.navigation .nav-links a:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.navigation .nav-links .current {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

/* Douban Rating Styles */
.douban-rating {
    display: inline-flex;
    align-items: center; /* Vertically center content */
    border: 1px solid #2e9d3c;
    border-radius: 3px; /* Round all corners */
    margin-left: 10px;
    font-size: 12px; /* Make it smaller */
    color: #2e9d3c;
    padding: 0; /* Remove padding from the main container */
    height: 22px; /* A fixed height for better control */
    line-height: 22px; /* Match height to vertically center text */
    overflow: hidden; /* Clip children to fit the border-radius */
}

.douban-logo {
    background-color: #2e9d3c;
    color: white;
    padding: 0 6px;
    margin-right: 5px;
    font-weight: bold;
    height: 100%; /* Make the logo fill the container's height */
    display: flex;
    align-items: center;
    /* border-radius is now on the parent container */
}

.douban-text {
    margin-right: 4px;
}

.rating-value {
    font-weight: bold;
    margin-right: 4px;
}

.rating-stars {
    color: #ffac2d;
    margin-right: 6px; /* Add padding at the end */
    line-height: 1; /* Prevent stars from increasing container height */
}

.star-icon {
    font-size: 12px; /* Match font size */
    vertical-align: middle;
}