/*
Theme Name: InvestoPersia
Description: A modern WordPress theme for Persian investment platform with interactive game, travel bonuses, and cultural integration. Features responsive design, PWA capabilities, and optimized performance.
Version: 1.0.0
Author: InvestoPersia Team
Author URI: https://investopersia.com
Text Domain: investopersia
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: investment, persian, culture, travel, pwa, responsive, modern, game
*/

/* Base styles for InvestoPersia theme */

/* WordPress-specific styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1em;
}

.alignright {
    float: right;
    margin-left: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 0.5em;
}

/* WordPress admin bar adjustment */
.admin-bar .main-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .main-header {
        top: 46px;
    }
}

/* WordPress comments */
.comments-area {
    margin-top: 2em;
    padding: 2em;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

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

.comment {
    margin-bottom: 1.5em;
    padding: 1em;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.comment-author {
    font-weight: bold;
    color: #e94560;
}

.comment-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 0.5em;
}

/* WordPress widgets */
.widget {
    margin-bottom: 2em;
    padding: 1.5em;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.widget-title {
    color: #e94560;
    margin-bottom: 1em;
    font-size: 1.2em;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget ul li:last-child {
    border-bottom: none;
}

/* WordPress search */
.search-form {
    display: flex;
    gap: 0.5em;
    margin-bottom: 1em;
}

.search-field {
    flex: 1;
    padding: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.search-submit {
    padding: 0.5em 1em;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-submit:hover {
    background: #d63384;
}

/* WordPress pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin: 2em 0;
}

.page-numbers {
    padding: 0.5em 1em;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #e94560;
}

/* WordPress sidebar */
.sidebar {
    padding: 2em;
}

@media (max-width: 768px) {
    .sidebar {
        margin-top: 2em;
    }
}

/* WordPress content area */
.content-area {
    padding: 2em;
}

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

.entry-title {
    color: #e94560;
    margin-bottom: 1em;
}

.entry-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1em;
}

/* WordPress footer widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    padding: 2em 0;
}

/* WordPress customizer support */
.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* WordPress block editor styles */
.wp-block-quote {
    border-left: 4px solid #e94560;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
}

.wp-block-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1em;
    border-radius: 5px;
    font-family: monospace;
}

.wp-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.wp-block-table th,
.wp-block-table td {
    padding: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.wp-block-table th {
    background: rgba(233, 69, 96, 0.2);
    font-weight: bold;
} 