/*
Theme Name: Anime Naked Girls
Theme URI: https://example.com/simple-grid
Author: Grid Generator
Description: Bulletproof minimalist grid theme. Centered 800px column, zero blue links.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: simple-image-grid
*/

/* 1. GLOBAL RESET - Prevents WordPress/Browser overrides */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. HEADER & BRANDING */
.site-header {
    padding: 100px 20px 80px;
    text-align: center;
    width: 100%;
}

.site-title {
    margin: 0 0 40px 0;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.custom-logo-link {
    display: inline-block;
    margin-bottom: 30px;
}

.custom-logo {
    max-width: 320px;
    height: auto;
    margin: 0 auto;
}

.main-navigation {
    margin-top: 40px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.main-navigation a {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #111 !important; /* Force Dark */
}

.main-navigation a:hover {
    opacity: 0.5;
}

/* 3. ARCHIVES (Category & Tag) */
.breadcrumbs {
    padding: 60px 20px 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #ccc;
}

.archive-header {
    padding: 60px 20px 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.archive-title {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -0.04em;
    margin: 0;
    color: #000;
    text-align: center;
}

/* 4. POST GRID */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 30px;
    width: 100%;
}

.post-item {
    position: relative;
    overflow: hidden;
}

.post-item:hover img {
    opacity: 0.8;
}

/* 5. SINGLE POST - THE LOCKDOWN CENTER */
.single-post-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Force elements to center */
}

.entry-header {
    width: 100%;
    margin-bottom: 80px;
    text-align: center;
}

.entry-title {
    font-size: 3.5rem;
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #000;
    text-align: center;
}

.entry-content {
    font-size: 1.4rem;
    color: #333;
    line-height: 2;
    max-width: 800px;
    width: 100%;
    margin: 0 auto; /* Hard center */
    text-align: left; /* Text remains left-aligned inside centered container */
}

.entry-content p {
    margin-bottom: 2.5rem;
}

/* Cleanup Content Links */
.entry-content a {
    color: #000 !important;
    font-weight: 700;
    border-bottom: 2px solid #eee;
}

/* Meta Styling */
.entry-footer {
    width: 100%;
    margin-top: 120px;
    padding: 100px 20px;
    border-top: 1px solid #f8f8f8;
    text-align: center;
}

.cat-links, .tags-links {
    display: block;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-weight: 800;
}

.cat-links a, .tags-links a {
    color: #000 !important;
    text-decoration: none;
    margin: 0 12px;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.cat-links a:hover, .tags-links a:hover {
    border-bottom-color: #000;
}

/* 6. FOOTER */
.site-footer {
    padding: 150px 20px;
    text-align: center;
    border-top: 1px solid #f2f2f2;
}

.footer-description {
    max-width: 700px;
    margin: 0 auto 60px;
    color: #bbb;
    font-size: 1.6rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
}

.site-info {
    font-size: 0.7rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 900;
}

@media (max-width: 768px) {
    .archive-title { font-size: 2.8rem; }
    .entry-title { font-size: 2.5rem; }
    .entry-content { font-size: 1.2rem; }
    .site-header { padding: 60px 20px; }
}