/*
Theme Name: ZScript Clone v2
Theme URI: https://zscript.net/
Author: Custom Build
Description: WordPress theme clone styled like zscript.net
Version: 2.0
License: GNU General Public License v2 or later
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #0f111a;
    color: #fff;
}

a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #161923;
}

.header .logo {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #eee;
    font-size: 14px;
}

.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.hero form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.hero input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
}

.hero button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #58a6ff;
    color: #fff;
    cursor: pointer;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: #161923;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    overflow: hidden;
}

.card img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}

.card h2 {
    font-size: 16px;
    margin: 10px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 8px;
}

.pagination a {
    padding: 8px 12px;
    background: #222;
    border-radius: 6px;
    color: #fff;
}

.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #888;
    border-top: 1px solid #202536;
}


.footer-menu {
    margin-top: 15px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-menu a {
    color: #000000;
    font-size: 14px;
    text-decoration: none;
}

.footer-menu a:hover {
    color: #0bb635;
    text-decoration: none;
}
