/*
Theme Name: PropFirm VIP
Theme URI: https://macxs.cn
Author: PropFirm VIP
Author URI: https://macxs.cn
Description: PropFirm VIP 自定义主题
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: propfirmvip
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005177;
}

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

/* ===== Layout ===== */
.site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* ===== Header ===== */
.site-header {
    background-color: #1a1a2e;
    color: #fff;
    padding: 15px 0;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-description {
    color: #ccc;
    font-size: 0.875rem;
}

/* ===== Navigation ===== */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #e94560;
}

/* ===== Posts & Pages ===== */
.post,
.page {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.entry-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.entry-title a {
    color: #1a1a2e;
}

.entry-title a:hover {
    color: #e94560;
}

.entry-meta {
    color: #888;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1em;
}

/* ===== Pagination ===== */
.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #1a1a2e;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.site-footer a {
    color: #fff;
}

/* ===== Sidebar & Widgets ===== */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 5px 0;
}

/* ===== Comments ===== */
.comments-area {
    margin-top: 40px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
}

/* ===== Search Form ===== */
.search-form {
    display: flex;
}

.search-form .search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-form .search-submit {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-form .search-submit:hover {
    background-color: #005177;
}

/* ===== 404 Page ===== */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-404 .page-title {
    font-size: 6rem;
    color: #e94560;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .site-header .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
