﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */
.lb-details {display: none;}
.mobile-menu-placeholder + .site-content {margin-top:0}
.entry-content p {line-height: 1.6; margin: 20px 0 !important;}
h2 {margin: 20px 0;line-height: 30px;color: #000;font-size: 20px;}
h1 {font-size: 24px;color: #000;padding: 5px 0 15px;font-weight: 500;}
.site-content {border-radius: 25px;margin-bottom:20px}
.widget-header {margin-bottom: 1em;padding: 20px 0 15px;text-align: center;}
.ads-one {margin: auto auto 20px auto; max-width: 1190px;}
.privacy {text-decoration: none; font-size:14px;}

.search-boxx {display: inline-block;margin: 0 30px;}
.searchformm {height: 50px;display: -ms-flexbox;display: flex; -ms-flex-align: center;align-items: center;}
.searchformm input.s {width: 450px;height: 32px;position: relative;border: 0;font-size: 14px;padding: 0 10px 0 40px;background-color: transparent;background: url(/images/ico-search.svg) no-repeat 10px center;background-color: rgba(0, 0, 0, 0);background-size: auto;background-size: 15px 15px;box-sizing: border-box;background-color: #f0f0f0;border-radius: 10px;}

.menu {height:35px;}
#menu-item-76 {background: url(/images/menu-icon-game.webp) 15px center no-repeat;background-size: auto 100%;padding-left: 60px;font-weight: 500;display: flex;align-items: center;}
#menu-item-393 {background: url(/images/menu-icon-prog.webp) 15px center no-repeat;background-size: auto 100%;padding-left: 60px;font-weight: 500;display: flex;align-items: center;}
.hamburger[open] {background:0;}
#related-posts {padding: 20px;background: #e6e6e6;}

.social-button--facebook {display:none}
.social-button--twitter {display:none}
.social-buttons {text-align: center;}
.expert-review-likes--size-s {font-size: 14px !important;}
.expert-review-faq-item__question {font-weight: 500;}
.expert-review-faq-item__answer {text-align:start;padding-bottom: 0;line-height: 1.5;}
.how {text-align:center;}
.expert-review-faq--color-black-1.expert-review-faq--style-style-2 .expert-review-faq-item.expand {border-color: #e6e6e6;border-radius: 25px;background: #e6e6e6;}
.expert-review-faq {margin: 1em 0;}

.block-up{display: flex;align-items: center;background: #fff;border-radius: 25px;margin: auto auto 20px auto;padding: 20px;max-width: 1190px;}
.ava-up{float: left;text-align: center;padding-top: 5px;padding-bottom: 20px;margin: auto;}
.table-up {float: left;width: 65%;padding-top: 5px;padding-bottom: 20px;}
.table-bottom {float: left;width: 100%;padding-top: 5px;padding-bottom: 20px;text-align: center;}
.table-responsive {display: block;width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;-ms-overflow-style: -ms-autohiding-scrollbar;margin-top: 20px;padding-left: 15%;}

.dwn-up {display: flex;width: 35%;flex-direction: column;align-items: center;padding-top: 40px;}
.dwn-up-inside {height: 36px;line-height: 37px;padding: 0 20px;border-radius: 25px;vertical-align: top;font-size: 14px;white-space: nowrap;text-align: center;text-transform: uppercase;display: inline-block;border: 0;font-weight: 500;cursor: pointer;outline: none;text-decoration: none !important;color: #fff !important;background-color: #12806e;margin-top: 10px;width: 250px;}

.flex-gallery {display: flex;overflow-x: auto;padding-left: 0px;margin: auto auto 20px auto;max-width: 1190px;}
.flex-gallery img {height: 200px;max-width: none;padding-right: 15px;margin-bottom: 10px;}
.flex-gallery-vertical {display: flex;overflow-x: auto;padding-left: 0px;margin: auto auto 20px auto;max-width: 1190px;justify-content: center;}
.flex-gallery-vertical img {height: 300px;max-width: none;padding-right: 15px;margin-bottom: 10px;}

.download {margin: 15px 0 0;background: #e6e6e6;border-radius: 18px;padding: 20px 30px 30px;}
.dw-inside-1 {display: flex;align-items: center;min-width: 0;padding: 0 0 5px;line-height: 24px;}
.download-img {line-height: 0;}
.download-img img {width: 35px;height: auto;border-radius: 10px;}
.download-text {font-size: 18px;font-weight: 500;margin: 0 0 0 15px;line-height: 22px;}
.dw-button{width: 100%;}
.dw-button a {text-decoration: none;}
.button-link {display: flex;border-radius: 1.5rem;padding: .5rem;color: #fff !important;min-height: 3rem;margin-top: 10px;background-color: #12806e;}
a.button-link:hover {text-decoration: none; background-color: #12957f;}
.button-inside {align-items: center;display: flex; width: 100%;}
.button-icon {width: 24px;height: 24px;margin: 0 10px;}
.button-icon svg {margin: 3px 0 0;opacity: .7;}
.button-size {background-color: rgba(0,0,0,.1);height: 2rem;line-height: 1.5rem;padding: .25rem .75rem;border-radius: 1rem;font-size: 14px; white-space: nowrap;margin-left: auto;}
.info-items {padding-top:10px}
.info-items-inside {background-color: rgb(255, 255, 255); line-height: 1.5rem; padding: .25rem .75rem; border-radius: 1rem; font-size: 14px; margin: auto 5px 10px auto; color: #000; white-space: normal; word-break: break-word; height: auto; min-height: 2rem; display: inline-flex; align-items: center;}

.post-card--related .post-card__meta {display: none;}
.related-posts__header {text-align: start;background: url(/images/menu-icon-game.webp) 15px center no-repeat;background-size: auto 100%;padding-left: 60px;font-weight: 500;font-size: 1.375em;}

.post-cards--small {display: flex;}
.post-card--small {display: flex;flex-direction: column;align-items: center;}
.post-card--small  {margin-right:0;margin-bottom: 10px;}
.post-card__body {display: flex;flex-direction: column;align-items: center;max-width: 90%;}
.post-card__thumbnail {margin-right: 0 !important;margin-bottom: 10px !important;}
.post-card__description , .post-card__title {text-align:center;}

@media (max-width:768px) {.block-up {display:block;margin-bottom: -20px;}}
@media (max-width:768px) {.ava-up {width:100%;}}
@media (max-width:768px) {.dwn-up {display:block;width:100%;text-align:center;}}
@media (max-width:768px) {.table-up {width:100%;text-align:center;}}
@media (max-width:768px) {.social-buttons {text-align:center;}}
@media (max-width:768px) {.table-responsive {padding-left:0;}}
@media (max-width:768px) {h1 {text-align:center;}}
@media screen and (max-width: 600px) {.download {padding: 20px 20px 30px;}}
@media (max-width:768px) {.search-boxx {max-width: 100%;margin: auto;}}
@supports (display:grid) {.post-cards--vertical {display: grid;grid-auto-flow: row dense;grid-gap: 40px;grid-template-columns: repeat(auto-fit,minmax(200px,1fr));-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;}}
@media (min-width: 1200px) {.post-card--related .post-card__title {font-size: 0.9em;}}
@media (min-width: 1200px) {.post-card--related {min-width: 200px;max-width: 200px;}}
@media (max-width:768px) {.related-posts__header {text-align:center;background: url(/images/menu-icon-game.webp) no-repeat;background-size: auto 100%;padding-left: 0;}}
@media (max-width:768px) {.related-posts {text-align:center;}}
@media (max-width:768px) {#menu-item-148 , #menu-item-203 {background: 0;padding-left: inherit;display: block;}}
@media (max-width:768px) {.flex-gallery-vertical {justify-content: start;}}

/* Download Page */
.back-button {padding:10px 20px;background:#f0f0f0;border:1px solid #ccc;border-radius:5px;cursor:pointer;}
.download-page-wrapper {width:100%;max-width:1200px;margin:0 auto;padding:20px 20px 50px;box-sizing:border-box;}
#countdown {color:#666;font-size:1.2em;text-align:center;padding:15px;background:#f3f4f6;border-radius:8px;margin:20px 0;}
@media (max-width:576px){#countdown{font-size:1em;padding:10px;}}

/* Related Posts Section */
.related-posts-section {margin:auto;margin-bottom:50px;padding:20px;background:#f8f9fa;border-radius:12px;box-sizing:border-box;}
.related-posts-section h3 {text-align:center;font-size:24px;margin-bottom:30px;color:#2c3e50;}
.related-posts-grid {display:grid;grid-template-columns:repeat(4,1fr);gap:25px;max-width:1400px;margin:0 auto;}
.related-post-item {background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 6px rgba(0,0,0,0.1);transition:transform 0.3s ease;display:flex;flex-direction:column;}
.related-post-thumbnail {height:160px;overflow:hidden;position:relative;flex-shrink:0;}
.related-post-thumbnail img {width:100%;height:100%;object-fit:cover;transition:transform 0.3s ease;}
.related-post-item:hover .related-post-thumbnail img {transform:scale(1.05);}
.related-post-title {margin:15px 10px;font-size:16px;color:#34495e;line-height:1.4;text-align:center;flex-grow:1;padding:0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;}
.related-post-meta {padding:0 15px 15px;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#7f8c8d;align-items:center;}
.related-post-meta span {display:block;width:100%;text-align:center;padding:6px 10px;background:#ecf0f1;border-radius:4px;line-height:1.2;box-sizing:border-box;}
.related-post-meta span:not(:last-child) {border-bottom:1px solid #ddd;padding-bottom:8px;}
@media (max-width:1200px){.related-posts-grid{grid-template-columns:repeat(3,1fr);max-width:1000px;}}
@media (max-width:992px){.related-posts-grid{grid-template-columns:repeat(2,1fr);gap:20px;}.related-post-thumbnail{height:140px;}}
@media (max-width:768px){.related-posts-grid{grid-template-columns:1fr;max-width:500px;}.related-post-thumbnail{height:180px;}.related-post-title{font-size:17px;}}
@media (max-width:480px){.related-posts-section{padding:15px;}.related-post-thumbnail{height:150px;}.related-post-meta{font-size:13px;}.related-post-title{margin:12px 8px;}}
@media (min-width:1600px){.related-posts-grid{max-width:1600px;gap:30px;}.related-post-thumbnail{height:180px;}}

/* Лента для мобильных */
@media (max-width:480px){.post-card__badge--updated{width:70px;font-size:8px;top:6px;left:-22px;}}
.post-card__thumbnail {position:relative;}
.post-card__badge--updated {position:absolute;top:8px;left:-28px;transform:rotate(-45deg);background:#e53935;color:#fff;width:90px;text-align:center;font-size:9px;font-weight:bold;text-transform:uppercase;padding:3px 0;z-index:10;box-shadow:0 1px 4px rgba(0,0,0,0.3);line-height:1;pointer-events:none;white-space:nowrap;}

/* Кнопки на странице скачивания */
.apk-download-card {background:#f9f9f9;border:1px solid #d7e0e6;border-radius:12px;padding:16px;margin:20px auto;max-width:700px;text-align:center;box-shadow:0 3px 10px rgba(0,0,0,0.05);}
.download-button {background:#178066;color:white;display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px 14px;border-radius:8px;font-weight:bold;text-decoration:none;margin-bottom:12px;transition:background 0.3s ease;}
.download-button:hover {background:#0f5c4c;}
.button-title {font-size:16px;font-weight:bold;}
.button-meta {font-size:13px;opacity:0.85;margin-top:4px;}
.apk-desc-grid {display:flex;flex-wrap:wrap;gap:6px 10px;justify-content:center;margin-top:8px;}
.apk-desc-pill {background:#ecfdf5;color:#065f46;padding:4px 10px 5px;font-size:13px;border-radius:6px;display:inline-block;line-height:1.4;white-space:nowrap;max-width:100%;word-break:break-word;box-shadow:none;border:1px solid #d1fae5;}
.apk-desc-grid.collapsed {max-height:150px;overflow:hidden;mask-image:linear-gradient(to bottom,black 70%,transparent);-webkit-mask-image:linear-gradient(to bottom,black 70%,transparent);}
.toggle-desc-btn {background:#178066;color:white;border:none;border-radius:6px;font-size:14px;font-weight:500;padding:6px 14px;margin-top:10px;cursor:pointer;transition:background 0.2s ease;}
.toggle-desc-btn:hover {background:#0f5c4c;}
@media (max-width:600px){.apk-desc-grid{gap:6px 6px;justify-content:flex-start;padding:0 5px;}.apk-desc-pill{white-space:normal;font-size:13px;padding:5px 8px;text-align:left;}}
.apk-note {background:#fff8e6;border:1px solid #ffe3ad;color:#5b3d00;padding:8px 12px;border-radius:8px;display:flex;align-items:flex-start;gap:8px;margin:8px auto;max-width:700px;box-shadow:0 1px 4px rgba(0,0,0,0.04);font-size:13px;line-height:1.5;}
.apk-note-icon {flex:0 0 auto;}
.apk-note-text {flex:1 1 auto;}
@media (max-width:600px){.apk-note{margin-left:8px;margin-right:8px;}}
