* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { background-color: #f0f2f5; padding-bottom: 20px; }

/* Header & Sidebar */
.header { background: #00897b; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.header h1 { font-size: 18px; }
.sidebar { height: 100%; width: 0; position: fixed; z-index: 1000; top: 0; left: 0; background: #111; overflow-x: hidden; transition: 0.3s; padding-top: 60px; }
.sidebar a { padding: 15px 25px; text-decoration: none; color: #ccc; display: block; border-bottom: 1px solid #222; }
.sidebar .closebtn { position: absolute; top: 10px; right: 25px; font-size: 30px; color: #00897b; }
#overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; }

/* Search Bar */
.search-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 60px; background: #00897b; z-index: 1001; align-items: center; padding: 0 15px; }
.search-overlay input { flex: 1; padding: 10px; border: none; border-radius: 4px; outline: none; }

/* Grid & Cards */
.category { background: white; padding: 10px 15px; margin: 10px 0; font-weight: bold; color: #00897b; border-bottom: 2px solid #00897b; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
.card { background: white; border-radius: 8px; overflow: hidden; text-decoration: none; color: black; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-info { padding: 8px; }
.card-title { font-size: 13px; height: 36px; overflow: hidden; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.pagination a { padding: 8px 12px; background: white; color: #00897b; text-decoration: none; border: 1px solid #ddd; border-radius: 4px; }
.pagination a.active { background: #00897b; color: white; }
