/*
Theme Name: wp-philia
Description: WordPress Theme for Manga, Novel sites
Author: Shido.Dono
Author URI: https://themesdiff.com/user/shido.dono/
Theme URI: https://themesdiff.com/themes/wp-philia/
Tags: manga, novel, light, dark, responsive, seo, fast, clean, modern
Text Domain: wp-philia
Domain Path: /languages
Version: 2.0.0
*/

/*--------------------------------------------------------------
>>> Theme Variables
----------------------------------------------------------------*/
:root {
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-rating: #eab308;
    --bg-page: #ffffff;
    --bg-surface: #f3f4f6;
    --bg-card: #f9fafb;
    --bg-item: #f3f4f6;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border-main: #e5e7eb;
    --border-card: #e5e7eb;
}
.dark {
    --accent-primary: #3b82f6;
    --accent-secondary: #60a5fa;
    --accent-rating: #eab308;
    --bg-page: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: #121212;
    --bg-item: #1c1c1c;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-main: #222;
    --border-card: #222;
}

/*--------------------------------------------------------------
>>> Swiper Loading State
----------------------------------------------------------------*/
.swiper { opacity: 0; transition: opacity 0.3s ease; }
.swiper.swiper-initialized { opacity: 1; }

/*--------------------------------------------------------------
>>> Page Content Typography
----------------------------------------------------------------*/
.entry-content {
    line-height: 1.7;
    color: var(--text-main);
}
.entry-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.3;
}
.entry-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.875rem;
    color: var(--text-main);
    line-height: 1.3;
}
.entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    line-height: 1.4;
}
.entry-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
    color: var(--text-main);
    line-height: 1.4;
}
.entry-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.4;
}
.entry-content h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    line-height: 1.4;
}
.entry-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.entry-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.entry-content a:hover {
    color: var(--accent-secondary);
}
.entry-content ul,
.entry-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-main);
}
.entry-content ul {
    list-style-type: disc;
}
.entry-content ol {
    list-style-type: decimal;
}
.entry-content li {
    margin-bottom: 0.5rem;
}
.entry-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent-primary);
    background: var(--bg-surface);
    font-style: italic;
    color: var(--text-muted);
}
.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}
.entry-content code {
    padding: 0.125rem 0.375rem;
    background: var(--bg-surface);
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: var(--accent-primary);
}
.entry-content pre {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-surface);
    border-radius: 0.5rem;
    overflow-x: auto;
}
.entry-content pre code {
    padding: 0;
    background: transparent;
    color: var(--text-main);
}
.entry-content hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid var(--border-main);
}
.entry-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border-main);
    text-align: left;
}
.entry-content table th {
    background: var(--bg-surface);
    font-weight: 600;
    color: var(--text-main);
}
.entry-content table td {
    color: var(--text-main);
}