/*
Theme Name: Ru.com
Theme URI: http://ru.com.uxthemes.com
Author: UX-Themes
Author URI: https://uxthemes.com
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.19.6
Requires at least: 6.4
WC requires at least: 8.3
Tested up to: 6.9
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ru-com
Tags: responsive-layout, one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, sticky-post, threaded-comments, translation-ready, blog, portfolio, e-commerce
*/

/* Import the parent theme's style */
@import url("../astra/style.css");

/* Custom styles for ru.com child theme */
body {
    font-family: Arial, sans-serif;
}

.ast-container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-content {
    padding: 20px 0;
}

.content-area {
    width: 100%;
}

.page-header {
    margin: 20px 0;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 2em;
    margin: 0;
    color: #333;
}

.entry-header {
    margin: 20px 0;
}

.entry-title {
    font-size: 1.8em;
    margin: 0 0 10px;
}

.entry-meta {
    color: #777;
    font-size: 0.9em;
    margin: 10px 0;
}

.entry-content {
    line-height: 1.6;
}

.entry-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.posted-on,
.byline {
    margin-right: 15px;
}

.archive-description {
    margin-top: 10px;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 50px 0;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.button:hover {
    background-color: #005a87;
}

.pagination {
    margin: 30px 0;
    text-align: center;
}

.search-form {
    margin: 20px 0;
}

.search-field {
    width: 250px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.error-404 {
    text-align: center;
    padding: 50px 0;
}

/* 粘性头部样式 */
.header-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* 确保内容在头部固定时不被遮挡 */
.elementor-location-header + div,
#content {
    margin-top: 0;
}

/* 适配移动设备 */
@media (max-width: 768px) {
    .ast-container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 1.5em;
    }
    
    .entry-title {
        font-size: 1.4em;
    }
    
    /* 移动设备上的粘性头部样式 */
    .header-sticky {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}