
/* UI Style 7 - Layout B */
body.ui-style-7 {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.hero {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.video-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.video-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.video-card .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.video-card .desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s;
}

.video-item:hover {
    background: #e9ecef;
}

.video-item a {
    font-size: 16px;
    flex: 1;
}

.video-item .year {
    color: #888;
    font-size: 14px;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin-bottom: 15px;
}

.nav-list a {
    font-size: 18px;
    display: inline-block;
    padding: 10px 0;
}

.more-link {
    text-align: center;
    margin-top: 20px;
}

.more-link a {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    transition: background 0.3s;
}

.more-link a:hover {
    background: #2980b9;
    text-decoration: none;
}

.page-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.video-list-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-card {
    display: flex;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.list-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-index, .rank-num {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking .rank-num {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    width: 50px;
    height: 50px;
}

.topic-tag, .date-tag {
    background: #3498db;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    align-self: flex-start;
    margin-right: 15px;
    white-space: nowrap;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card-content .meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
}

.card-content p {
    color: #555;
    line-height: 1.6;
}

.full-desc {
    font-size: 15px;
}

.video-detail {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.video-detail h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.oneline {
    font-size: 20px;
    color: #3498db;
    font-weight: 500;
    line-height: 1.8;
}

.summary, .review {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.related-card:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.related-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 24px; }
    .video-grid { grid-template-columns: 1fr; }
    .list-card { flex-direction: column; }
    .card-index, .rank-num, .topic-tag, .date-tag { margin-bottom: 15px; }
    .video-detail { padding: 20px; }
    .video-detail h1 { font-size: 28px; }
    .related-grid { grid-template-columns: 1fr; }
}
