/* =========================================
   Clove 丁香影视模板 - 完整样式
   ========================================= */

/* ===== 全局基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 14px;
    color: #3b3850;
    background: #f5f4fa;
    line-height: 1.65;
}
a {
    text-decoration: none;
    color: #3b3850;
    transition: color 0.25s ease;
}
a:hover {
    color: #7b5ce0;
}
ul, ol {
    list-style: none;
}
img {
    border: 0;
    max-width: 100%;
    vertical-align: middle;
    display: block;
}
h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: #232136;
}

/* ===== 一体式渐变导航头部 ===== */
.clove-header {
    background: linear-gradient(135deg, #5b4bd6 0%, #7b5ce0 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(91, 75, 214, 0.15);
}
.clove-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 36px;
}
.clove-logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* 主导航 */
.clove-nav {
    flex: 1;
}
.clove-nav-list {
    display: flex;
    gap: 4px;
}
.clove-nav-item {
    position: relative;
}
.clove-nav-link {
    display: block;
    padding: 0 18px;
    line-height: 64px;
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.clove-nav-link.active,
.clove-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* 二级下拉菜单 */
.clove-subnav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 140px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 6px 0;
    display: none;
    z-index: 99;
}
.clove-nav-item:hover .clove-subnav {
    display: block;
}
.clove-subnav-link {
    display: block;
    padding: 0 20px;
    line-height: 40px;
    font-size: 14px;
    color: #3b3850;
}
.clove-subnav-link:hover {
    background: #f0edfb;
    color: #7b5ce0;
}

/* 头部右侧 */
.clove-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.clove-search-form {
    display: flex;
    align-items: center;
}
.clove-search-input {
    width: 200px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    border-radius: 18px;
    padding: 0 16px;
    outline: none;
    font-size: 13px;
    color: #fff;
    transition: all 0.25s;
}
.clove-search-input::placeholder {
    color: rgba(255,255,255,0.7);
}
.clove-search-input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.25);
}
.clove-search-btn {
    height: 36px;
    padding: 0 18px;
    background: #fff;
    color: #7b5ce0;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    font-size: 13px;
    margin-left: -36px;
}

/* 移动端菜单按钮 */
.clove-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.clove-menu-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== 主容器 ===== */
.clove-wrapper {
    max-width: 1320px;
    margin: 0 auto 36px;
    padding: 0 20px;
    width: 100%;
}
.clove-page {
    width: 100%;
}

/* ===== 焦点区域 顶部12px间距 ===== */
.clove-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 12px;
    margin-bottom: 30px;
    height: 360px;
}

/* 左侧轮播 */
.clove-hero-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e6f3;
    height: 100%;
}
.clove-slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}
.clove-slider-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}
.clove-slider-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.clove-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.clove-slider-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    background: linear-gradient(transparent, rgba(35,33,54,0.9));
    color: #fff;
    pointer-events: none;
}
.clove-slider-info h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}
.clove-slider-info p {
    font-size: 14px;
    opacity: 0.9;
}
.clove-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}
.clove-slider-btn:hover {
    background: rgba(255,255,255,0.35);
}
.clove-prev {
    left: 18px;
}
.clove-next {
    right: 18px;
}
.clove-slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.clove-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.clove-slider-dots span.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* 右侧四宫格：横向长方形 16:9 */
.clove-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 100%;
}
.clove-hero-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    background: #e8e6f3;
    height: 100%;
}
.clove-hero-pic {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e6f3;
}
.clove-hero-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}
.clove-hero-card:hover .clove-hero-pic img {
    transform: scale(1.06);
}
.clove-hero-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(35,33,54,0.85));
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}
.clove-hero-mask span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}
.clove-hero-mask em {
    display: block;
    font-size: 12px;
    font-style: normal;
    opacity: 0.8;
    margin-top: 2px;
}

/* ===== 区块通用 ===== */
.clove-home {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.clove-section {
    width: 100%;
}
.clove-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7b5ce0;
}
.clove-section-head h2 {
    font-size: 18px;
}
.clove-more {
    font-size: 13px;
    color: #787190;
}
.clove-more:hover {
    color: #7b5ce0;
}

/* ===== 视频卡片网格 悬停详情 ===== */
.clove-card-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    width: 100%;
}
.clove-video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    width: 100%;
}
.clove-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(91, 75, 214, 0.12);
}
.clove-card-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e8e6f3;
}
.clove-card-cover > a {
    display: block;
    width: 100%;
    height: 100%;
}
.clove-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.clove-video-card:hover .clove-card-cover img {
    transform: scale(1.06);
}

/* 悬停详情遮罩 点击穿透 */
.clove-card-hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(transparent, rgba(35,33,54,0.9));
    color: #fff;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}
.clove-card-cover:hover .clove-card-hover {
    opacity: 1;
}
.clove-card-hover h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.clove-card-hover p {
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.9;
}

.clove-card-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(35,33,54,0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
}
.clove-card-info {
    padding: 10px 14px;
}
.clove-card-info h4 {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 筛选面板 ===== */
.clove-filter {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-filter-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e6f3;
}
.clove-filter-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.clove-filter-label {
    width: 60px;
    flex-shrink: 0;
    font-size: 13px;
    color: #787190;
    padding-top: 5px;
    font-weight: 500;
}
.clove-filter-scroll {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.clove-filter-scroll::-webkit-scrollbar {
    display: none;
}
.clove-filter-scroll a {
    flex: 0 0 auto;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: #f5f4fa;
    color: #575370;
    white-space: nowrap;
}
.clove-filter-scroll a.active {
    background: #7b5ce0;
    color: #fff;
}
.clove-filter-scroll a:hover {
    background: #ece9f8;
    color: #7b5ce0;
}
.clove-filter-scroll a.active:hover {
    background: #7b5ce0;
    color: #fff;
}

/* ===== 排序栏 ===== */
.clove-sort {
    background: #fff;
    border-radius: 12px;
    padding: 0 20px;
    margin-bottom: 20px;
    height: 44px;
    line-height: 44px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-sort-list {
    display: flex;
    gap: 28px;
}
.clove-sort-item {
    font-size: 13px;
    color: #575370;
}
.clove-sort-item.active {
    color: #7b5ce0;
    font-weight: 500;
}

/* ===== 分页 ===== */
.clove-pagebar {
    text-align: center;
    margin-top: 30px;
}
.clove-pagebar a {
    display: inline-block;
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    padding: 0 12px;
    margin: 0 4px;
    border: 1px solid #e8e6f3;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    color: #575370;
}
.clove-pagebar a.current {
    background: #7b5ce0;
    color: #fff;
    border-color: #7b5ce0;
}
.clove-pagebar a:hover:not(.current) {
    border-color: #7b5ce0;
    color: #7b5ce0;
}

/* ===== 面包屑导航 ===== */
.clove-crumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: #787190;
}
.clove-crumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.clove-crumb-list li {
    display: flex;
    align-items: center;
}
.clove-crumb-list li + li::before {
    content: "›";
    margin: 0 8px;
    color: #d9d6eb;
}
.clove-crumb-list li a {
    color: #787190;
}
.clove-crumb-list li a:hover {
    color: #7b5ce0;
}
.clove-crumb-home a {
    color: #7b5ce0;
    font-weight: 500;
}
.clove-crumb-back {
    margin-left: auto;
}
.clove-crumb-back a {
    padding: 4px 12px;
    border: 1px solid #e8e6f3;
    border-radius: 4px;
    background: #fff;
}
.clove-crumb-back a:hover {
    border-color: #7b5ce0;
    color: #7b5ce0;
}

/* ===== 详情页 ===== */
.clove-detail {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-detail-head {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}
.clove-detail-poster {
    width: 200px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f4fa;
}
.clove-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.clove-detail-body {
    flex: 1;
    min-width: 0;
}
.clove-detail-body h1 {
    font-size: 24px;
    margin-bottom: 16px;
}
.clove-detail-meta {
    line-height: 2.2;
    font-size: 14px;
    color: #575370;
}
.clove-detail-meta dt {
    display: inline-block;
    width: 70px;
    color: #787190;
}
.clove-detail-meta dd {
    display: inline;
    margin-right: 12px;
}
.clove-detail-btn {
    margin-top: 20px;
}
.clove-detail-btn a {
    display: inline-block;
    padding: 10px 36px;
    background: #7b5ce0;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
}
.clove-detail-btn a:hover {
    background: #6a4bd6;
}

.clove-detail-block {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #f0edfb;
}
.clove-detail-block h3 {
    font-size: 16px;
    margin-bottom: 12px;
}
.clove-detail-block p {
    color: #575370;
    line-height: 1.8;
    font-size: 14px;
}

/* ===== 集数列表 ===== */
.clove-episode {
    margin-top: 10px;
}
.clove-episode-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.clove-episode-item {
    width: calc(10% - 7.2px);
}
.clove-episode-item a {
    display: block;
    text-align: center;
    padding: 8px 0;
    background: #f5f4fa;
    border-radius: 6px;
    font-size: 13px;
}
.clove-episode-item a:hover {
    background: #ece9f8;
    color: #7b5ce0;
}
.clove-episode-more {
    text-align: center;
    margin-top: 16px;
}
.clove-episode-more a {
    color: #7b5ce0;
    cursor: pointer;
    font-size: 13px;
}
.clove-episode-hide {
    display: none;
}

/* ===== 播放器 ===== */
.clove-player {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
}
.clove-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== 同类型推荐+排行榜 ===== */
.clove-related {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.clove-related-left {
    flex: 1;
    min-width: 0;
}
.clove-related-right {
    width: 240px;
    flex-shrink: 0;
}
.clove-rank {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-rank h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0edfb;
}
.clove-rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    border-bottom: 1px dashed #f0edfb;
}
.clove-rank-list li:last-child {
    border-bottom: none;
}
.clove-rank-num {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #f0edfb;
    border-radius: 4px;
    font-size: 12px;
    color: #787190;
    flex-shrink: 0;
    font-weight: 500;
}
.clove-rank-list li:nth-child(1) .clove-rank-num {
    background: #7b5ce0;
    color: #fff;
}
.clove-rank-list li:nth-child(2) .clove-rank-num {
    background: #9479e8;
    color: #fff;
}
.clove-rank-list li:nth-child(3) .clove-rank-num {
    background: #afa0ee;
    color: #fff;
}
.clove-rank-name {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 常见问题 ===== */
.clove-faq {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-faq h3 {
    font-size: 16px;
    margin-bottom: 16px;
}
.clove-faq-item {
    margin-bottom: 14px;
}
.clove-faq-item:last-child {
    margin-bottom: 0;
}
.clove-faq-item h4 {
    font-weight: 500;
    color: #232136;
    margin-bottom: 6px;
    font-size: 14px;
}
.clove-faq-item p {
    color: #575370;
    line-height: 1.8;
    font-size: 14px;
}

/* ===== 评论区 ===== */
.clove-comment {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.clove-comment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0edfb;
}
.clove-comment-head h2 {
    font-size: 18px;
}
.clove-comment-count {
    font-size: 13px;
    color: #787190;
}

.clove-comment-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px dashed #f0edfb;
}
.clove-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b5ce0, #9479e8);
    color: #fff;
    text-align: center;
    line-height: 40px;
    flex-shrink: 0;
    font-size: 14px;
}
.clove-comment-body {
    flex: 1;
    min-width: 0;
}
.clove-comment-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
}
.clove-comment-user {
    font-weight: 500;
    color: #232136;
}
.clove-comment-tag {
    color: #787190;
    font-size: 12px;
}
.clove-comment-star {
    color: #ffb428;
    font-size: 12px;
}
.clove-comment-time {
    margin-left: auto;
    color: #9891b0;
    font-size: 12px;
}
.clove-comment-text {
    font-size: 14px;
    color: #575370;
    line-height: 1.7;
}

/* ===== 底部：两段式 ===== */
.clove-footer {
    background: #232136;
    padding: 40px 0 24px;
    margin-top: 48px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}
.clove-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}
.clove-footer-main {
    margin-bottom: 28px;
}
.clove-footer-brand {
    margin-bottom: 20px;
}
.clove-footer-brand h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}
.clove-footer-brand p {
    line-height: 1.8;
    max-width: 720px;
}
.clove-footer-links h5 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}
.clove-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 10px;
}
.clove-links-row a {
    color: rgba(255,255,255,0.6);
}
.clove-links-row a:hover {
    color: #afa0ee;
}
.clove-footer-copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    line-height: 2;
}

/* ===== 回到顶部 ===== */
.clove-gotop {
    position: fixed;
    right: 30px;
    bottom: 60px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    line-height: 44px;
    cursor: pointer;
    display: none;
    z-index: 99;
    font-size: 18px;
    color: #7b5ce0;
    transition: all 0.3s;
}
.clove-gotop:hover {
    background: #7b5ce0;
    color: #fff;
}

/* ===== 空提示 ===== */
.clove-empty {
    background: #fff;
    border-radius: 12px;
    padding: 60px 0;
    text-align: center;
    color: #787190;
}
.clove-empty p {
    line-height: 2;
}

/* ===== 响应式适配 ===== */
@media screen and (max-width: 1200px) {
    .clove-card-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .clove-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .clove-hero {
        height: 300px;
    }
    .clove-related-right {
        display: none;
    }
    .clove-episode-item {
        width: calc(20% - 6.4px);
    }
}

@media screen and (max-width: 768px) {
    .clove-header-inner {
        height: 60px;
        gap: 16px;
    }
    .clove-logo {
        font-size: 20px;
    }

    .clove-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    .clove-nav.show {
        display: block;
    }
    .clove-nav-link {
        line-height: 48px;
        border-bottom: 1px solid #f0edfb;
        padding: 0 20px;
        color: #3b3850;
    }
    .clove-nav-link.active,
    .clove-nav-link:hover {
        color: #7b5ce0;
        background: #f0edfb;
    }

    .clove-subnav {
        position: static;
        box-shadow: none;
        display: none;
        padding: 0 0 0 30px;
        background: #f5f4fa;
        border-radius: 0;
    }
    .clove-nav-item.open .clove-subnav {
        display: block;
    }

    /* 汉堡菜单固定最右侧 */
    .clove-menu-btn {
        display: flex;
        margin-left: auto;
    }
    .clove-search-input {
        width: 120px;
        height: 34px;
    }
    .clove-search-btn {
        height: 34px;
    }

    .clove-hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .clove-hero-slider {
        height: 220px;
    }
    .clove-hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 10px;
        height: auto;
        margin-top: 12px;
    }
    .clove-hero-card {
        height: auto;
    }
    .clove-hero-pic {
        aspect-ratio: 16 / 9;
    }

    .clove-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .clove-detail-head {
        flex-direction: column;
        align-items: center;
    }
    .clove-detail-body {
        text-align: center;
    }
    .clove-episode-item {
        width: calc(25% - 6px);
    }
}

@media screen and (max-width: 480px) {
    .clove-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .clove-search-input {
        width: 100px;
    }
    .clove-episode-item {
        width: calc(33.33% - 5.3px);
    }
}
