/*
Theme Name: WECENT Russian Exact Clone
Theme URI: https://ru.gdwecent.com/
Author: WECENT
Description: Russian WECENT theme reconstructed from the public English main-site structure and styles, with reusable blog templates.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wecent-russian-clone
*/

/* Keep the source-site hero visible while the bundled video is loading or blocked. */
.elementor-11388 .elementor-element.elementor-element-6d959d6 {
	position: relative;
	overflow: hidden;
	background-color: #8f8f8f;
	background-image: url("assets/media/homepage-hero-poster.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.elementor-11388 .elementor-element.elementor-element-6d959d6 > .elementor-background-video-container {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.elementor-11388 .elementor-element.elementor-element-6d959d6 .elementor-background-video-hosted {
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
}

.elementor-11388 .elementor-element.elementor-element-6d959d6 > .e-con-inner,
.elementor-11388 .elementor-element.elementor-element-6d959d6 > .e-con-full {
	position: relative;
	z-index: 1;
}

/* Explicit product backgrounds: reliable even when an optimizer rewrites inline styles. */
.elementor-11388 .elementor-cta__bg {
	opacity: 1 !important;
	visibility: visible !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

.elementor-11388 .elementor-element.elementor-element-f89b779 .elementor-cta__bg {
	background-image: url("assets/media/Minimalist-Ultra-Portable.webp?ver=1.0.0") !important;
}

.elementor-11388 .elementor-element.elementor-element-ac75a9c .elementor-cta__bg {
	background-image: url("assets/media/01.-Little-Ice-Cube.webp?ver=1.0.0") !important;
}

.elementor-11388 .elementor-element.elementor-element-f5d9273 .elementor-cta__bg {
	background-image: url("assets/media/02.-charging-penguin.webp?ver=1.0.0") !important;
}

.elementor-11388 .elementor-element.elementor-element-6998139 .elementor-cta__bg {
	background-image: url("assets/media/03.-Foldable-3-in-1-Wireless-Charge.webp?ver=1.0.0") !important;
}

html { direction: ltr; }
body { direction: ltr; text-align: left; }

.wecent-commerce-shell {
	width: min(1320px, calc(100% - 48px));
	margin: 60px auto;
}

/* Keep the source site's exact design tokens with Spanish LTR direction. */
.elementor-11388,
.site-header,
.site-footer { direction: ltr; }

.main-navigation .menu { direction: ltr; }

.wecent-article-hero {
  min-height: 285px;
  display: grid;
  align-items: center;
  position: relative;
  color: #fff;
  background-color: #153c31;
  background-position: center;
  background-size: cover;
}
.wecent-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 45, 36, .58);
}
.wecent-article-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1300px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 54px;
}
.wecent-article-hero h1 {
  max-width: 1100px;
  margin: 0 0 22px;
  color: #fff;
  font-family: "Poppins", "Roboto", Tahoma, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.18;
  font-weight: 700;
}
.wecent-article-meta { display: flex; gap: 12px; flex-wrap: wrap; font-weight: 700; }
.wecent-article-wrap {
  width: min(1300px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 50px 80px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}
.wecent-share-title { color: #284f3a; margin: 8px 0 28px; }
.wecent-share-buttons { position: sticky; top: 110px; display: grid; gap: 10px; }
.wecent-share-buttons a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.wecent-share-buttons [data-share="facebook"] { background: #3b5998; }
.wecent-share-buttons [data-share="x"] { background: #1da1f2; }
.wecent-share-buttons [data-share="pinterest"] { background: #bd081c; }
.wecent-share-buttons [data-share="linkedin"] { background: #0077b5; }
.wecent-article-content { min-width: 0; font-size: 18px; line-height: 1.82; }
.wecent-article-content h2,
.wecent-article-content h3 { color: #284f3a; }
.wecent-article-content img { max-width: 100%; height: auto; }
.wecent-article-sidebar { border-inline-start: 4px solid #ff4b4b; padding-inline-start: 18px; }
.wecent-search { display: flex; gap: 8px; margin-bottom: 28px; }
.wecent-search input { width: 100%; min-width: 0; height: 56px; padding: 0 16px; border: 1px solid #d2d2d2; }
.wecent-search button { height: 56px; padding: 0 22px; border: 0; color: #fff; background: #214c36; font-weight: 700; }
.wecent-sidebar-title { color: #284f3a; font-size: 22px; }
.wecent-recent { margin: 0; padding: 0; list-style: none; }
.wecent-recent li { margin-bottom: 28px; }
.wecent-recent a { color: #284f3a; text-decoration: none; font-size: 17px; line-height: 1.35; }
.wecent-recent p { margin: 7px 0 0; color: #777; font-size: 14px; line-height: 1.5; }

@media (max-width: 980px) {
  .wecent-article-wrap { grid-template-columns: 48px minmax(0, 1fr); }
  .wecent-article-sidebar { grid-column: 2; border-inline-start: 0; padding-inline-start: 0; margin-top: 28px; }
}
@media (max-width: 680px) {
  .wecent-article-wrap { display: block; width: min(100% - 30px, 1300px); }
  .wecent-share-buttons { position: static; display: flex; margin-bottom: 25px; }
  .wecent-article-sidebar { margin-top: 42px; }
}

/* Blog archive follows the English main-site three-column card rhythm. */
.wecent-blog-index {
  width: min(1290px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 56px 90px;
}
.wecent-blog-index__header { margin-bottom: 38px; }
.wecent-blog-index__header p { margin: 0 0 8px; color: #ff6500; font-weight: 700; letter-spacing: .08em; }
.wecent-blog-index__header h1 { max-width: 900px; color: #173f31; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.14; }
.wecent-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wecent-blog-card { overflow: hidden; background: #fff; border: 1px solid #e6e9e7; box-shadow: 0 12px 30px rgba(23, 63, 49, .08); }
.wecent-blog-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.wecent-blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.wecent-blog-card__body { padding: 26px; }
.wecent-blog-card__category, .wecent-blog-card__category a { color: #ff6500; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.wecent-blog-card h2 { margin: 9px 0 14px; font-size: 23px; line-height: 1.32; }
.wecent-blog-card h2 a { color: #173f31; text-decoration: none; }
.wecent-blog-card p { color: #5f6663; line-height: 1.65; }
.wecent-blog-card__more { color: #1479cc; font-weight: 700; text-decoration: none; }
.wecent-blog-pagination { margin-top: 42px; }
@media (max-width: 980px) { .wecent-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .wecent-blog-index { width: min(100% - 30px, 1290px); }
  .wecent-blog-grid { grid-template-columns: 1fr; }
}
