/* Theme Name: Sweet Berries Dark Template: astra Description: Dark child theme matching original Sweet Berries design Version: 1.0 */ @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;600;700&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #0a192f !important; color: #ffffff !important; font-family: 'Ubuntu', sans-serif !important; line-height: 1.6; min-height: 100vh; } /* Убираем дефолтные стили Astra которые мешают */ .ast-separate-container { background-color: #0a192f !important; } .ast-container { max-width: 1400px !important; padding: 30px 20px !important; } @media (max-width: 768px) { .ast-container { padding: 0 !important; } } .site-content .ast-container { display: block !important; } /* Хедер Astra скрываем - у нас свой */ .ast-primary-header-bar, .site-header, .main-header-bar { display: none !important; } .ast-mobile-header-wrap { display: none !important; } /* Header */ .sweet-header { text-align: center; padding: 40px 0 60px; border-bottom: 2px solid #b81f1f; margin-bottom: 50px; } .sweet-header h1 { font-size: 42px; margin-bottom: 15px; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); } .sweet-header .subtitle { font-size: 20px; color: #ff6b6b; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; } /* Service Banner */ .service-banner { background: linear-gradient(135deg, rgba(184,31,31,0.2), rgba(255,107,107,0.1)); border-radius: 16px; padding: 40px; margin: 60px 0; text-align: center; border: 1px solid rgba(184,31,31,0.4); position: relative; overflow: hidden; } .service-banner::before { content: '🍓'; position: absolute; top: 20px; right: 20px; font-size: 60px; opacity: 0.1; } .service-banner h2 { color: #ffffff !important; margin-bottom: 20px; font-size: 28px; } .service-banner p { color: #cccccc; margin-bottom: 25px; max-width: 800px; margin-left: auto; margin-right: auto; font-size: 17px; } .service-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; } .service-button { display: inline-block; background-color: #b81f1f; color: white !important; padding: 14px 28px; text-decoration: none; border-radius: 10px; font-weight: bold; font-size: 16px; transition: all 0.3s; border: 2px solid transparent; } .service-button:hover { background-color: transparent; border-color: #b81f1f; color: #ff6b6b !important; transform: translateY(-3px); } /* Posts Grid */ .posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 30px; margin-top: 40px; } .post-card { background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border-radius: 16px; padding: 30px; transition: all 0.4s; border: 1px solid rgba(184,31,31,0.15); position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column; } .post-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #b81f1f, #ff6b6b); border-radius: 16px 16px 0 0; } .post-card:hover { transform: translateY(-10px); border-color: #b81f1f; box-shadow: 0 15px 35px rgba(184,31,31,0.2); background: linear-gradient(145deg, rgba(184,31,31,0.1), rgba(255,107,107,0.05)); } .game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; } .game-tag { background-color: rgba(184,31,31,0.2); color: #ff6b6b; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid rgba(184,31,31,0.3); } .game-tag-link { display: inline-block; background-color: rgba(184,31,31,0.2); color: #ff6b6b; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(184,31,31,0.3); text-decoration: none; transition: all 0.2s ease; } .game-tag-link:hover { background-color: rgba(184,31,31,0.4); color: #ffffff; border-color: #ff6b6b; transform: translateY(-1px); } .post-title { color: #ffffff; font-size: 24px; margin-bottom: 18px; text-decoration: none; display: block; line-height: 1.4; flex-grow: 1; } .post-title:hover { color: #ff6b6b; } .post-excerpt { color: #cccccc; line-height: 1.7; margin-bottom: 25px; font-size: 15px; flex-grow: 2; } .post-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); } .read-more { display: inline-block; background-color: #b81f1f; color: white !important; padding: 12px 24px; text-decoration: none; border-radius: 8px; font-weight: bold; font-size: 15px; transition: all 0.3s; } .read-more:hover { background-color: #d32f2f; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(184,31,31,0.3); } /* Пагинация */ .pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 50px 0 30px; flex-wrap: wrap; } .pagination-button { display: inline-block; padding: 10px 18px; background-color: rgba(184,31,31,0.1); color: white !important; text-decoration: none; border-radius: 8px; border: 1px solid rgba(184,31,31,0.3); transition: all 0.3s; font-weight: 500; } .pagination-button:hover { background-color: rgba(184,31,31,0.3); border-color: #b81f1f; transform: translateY(-2px); } .pagination-current { display: inline-block; padding: 10px 18px; background-color: #b81f1f; color: white; border-radius: 8px; font-weight: bold; } .pagination-dots { padding: 10px 5px; color: #888; } .page-info { text-align: center; color: #888; font-size: 14px; margin-bottom: 40px; } /* Footer */ footer { text-align: center; margin-top: 80px; padding-top: 40px; border-top: 1px solid #333; color: #888; font-size: 14px; } .footer-links { display: flex; justify-content: center; gap: 30px; margin: 25px 0; flex-wrap: wrap; } .footer-links a { color: #ff6b6b; text-decoration: none; font-size: 15px; transition: color 0.3s; } .footer-links a:hover { color: #ffffff; text-decoration: underline; } /* Ссылка "Новости" в футере — убираем полупрозрачность */ .footer-news-link { opacity: 1 !important; color: #ff6b6b !important; } .emoji { font-size: 22px; margin-right: 8px; vertical-align: middle; } /* Секция заголовка */ .section-title { font-size: 32px; margin-bottom: 30px; color: #ffffff; } /* Single post */ .single-post-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; } .single-post-content h1 { font-size: 28px; border-bottom: 2px solid #b81f1f; padding-bottom: 10px; } .single-post-content h2 { font-size: 24px; color: #b81f1f; } .single-post-content h3 { font-size: 20px; color: #ff6b6b; } .single-post-content p { margin-bottom: 20px; font-size: 16px; color: #cccccc; } /* Search wrapper */ .search-wrapper { margin-bottom: 40px; padding: 25px; background: linear-gradient(135deg, #1a1a2e, #16213e); border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); text-align: center; position: relative; } .search-wrapper .section-title { margin-top: 0; margin-bottom: 20px; } .search-wrapper .search-form { position: relative; } .search-hint { color: #888; font-size: 13px; margin-top: 15px; } /* Back link */ .back-link { display: inline-block; margin-bottom: 25px; color: #ff6b6b; text-decoration: none; font-size: 15px; transition: all 0.2s; } .back-link:hover { color: #ffffff; padding-left: 5px; } @media (max-width: 768px) { .container { padding: 15px 10px !important; margin: 0 auto !important; max-width: 100% !important; width: 100% !important; } .sweet-header h1 { font-size: 32px; } .posts-grid { grid-template-columns: 1fr !important; gap: 25px !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; } .post-card { padding: 20px !important; margin: 0 !important; } .service-banner { padding: 30px 20px; } .service-buttons { flex-direction: column; align-items: center; } .service-button { width: 100%; max-width: 300px; margin-bottom: 10px; } .footer-links { flex-direction: column; gap: 15px; } .ast-container { padding: 0 !important; max-width: 100% !important; } .site-content .ast-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; } #primary { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; } .posts-grid .post-card { margin-left: 0; margin-right: 0; width: 100%; } } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #0a192f; } ::-webkit-scrollbar-thumb { background: #b81f1f; border-radius: 4px; } /* Убираем астра-футер */ .ast-small-footer, .site-footer, .ast-footer-overlay { display: none !important; } /* Scrollbar */ @media (max-width: 768px) { .search-wrapper { padding: 25px 15px; } .search-wrapper .search-form { position: relative !important; } }