/*
Theme Name: Next Theme
Theme URI: http://example.com/next-theme
Author: Your Name
Author URI: http://example.com
Description: A custom WordPress theme based on Next.js design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom, responsive, blog
Text Domain: next-theme
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
    color: #2c3e50;
}

/* Video Styles */
.video-container {
    max-width: 480px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    max-height: 480px;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-date {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.video-excerpt {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
}

/* Dark mode support */
.dark .video-card {
    background: #1e293b;
}

.dark .video-title {
    color: #f7fafc;
}

.dark .video-date {
    color: #a0aec0;
}

.dark .video-excerpt {
    color: #cbd5e0;
}

/* Navigation */
nav .flex {
    display: flex;
}

nav .space-x-4 > li {
    margin-left: 1rem;
}

nav .space-x-4 > li:first-child {
    margin-left: 0;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
}

nav a:hover {
    color: #3498db;
}

/* Header */
header.bg-white {
    background: #ffffff;
}

header.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer.bg-gray-100 {
    background: #f8f9fa;
}

footer .py-8 {
    padding: 2rem 0;
}

footer .mt-12 {
    margin-top: 3rem;
}

footer .text-center {
    text-align: center;
}

/* Container */
.max-w-4xl {
    max-width: 56rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-800 {
    color: #2c3e50;
}

.hover\:text-gray-600:hover {
    color: #718096;
}