.social-wrap {	display: grid;	grid-template-columns: repeat(6, 1fr);	gap: 5px;	max-width: 1300px;	margin: 0 auto;	margin-top:24px;}
.social-item {	position: relative;	display: block;	overflow: hidden;	text-decoration: none;	border: 1px solid #ddd;border-radius:8px;}
.social-video {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.social-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.social-overlay {display: flex;	align-items: center;	padding: 10px;	background: #fff;	color: #000;	opacity: 0.95;}
.social-logo {	width: 40px;	height: 40px;	object-fit: contain;	margin-right: 10px;}
.social-text {	display: flex;	flex-direction: column;	line-height: 1.2;}
.social-name {font-size: 14px;	font-weight: bold;}
.social-our {font-size: 10px;font-weight: 600;background: linear-gradient(90deg, #ff7018, #e98d00);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}
.social-border {	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;	pointer-events: none;}
.social-border rect {	fill: none;	stroke: #f29100;	stroke-width: 2;	stroke-dasharray: 0;	stroke-dashoffset: 0;}
.social-item:hover .social-border rect {stroke-dashoffset: 0;}
@media (max-width: 1024px) {.social-wrap {grid-template-columns: repeat(2, 1fr);gap: 24px;}.social-video{height:600px;}}
@media (max-width: 768px) {.social-wrap {grid-template-columns: 1fr;gap: 24px;padding: 24px;}.social-overlay {top: 8px;left: 8px;    right: 8px;    padding: 8px;  }.social-logo {width: 32px;height: 32px;    margin-right: 8px;  }.social-name {font-size: 13px;}.social-our {font-size: 11px;}}
.headerclass {	width: 1300px;	margin: 0 auto;	text-align: left;}
.headerclass h2 {position: relative;display: block;font-size: 28px;font-weight: 700;color: #222;margin-bottom: 20px;}
.headerclass h2:not(:first-child) {margin-top: 120px;}

.headerclass h2::after {	content: "";	display: block;	width: 60px;	height: 3px;	background: #f29100;	margin-top: 12px;	border-radius: 2px;}
.headerclass p {	font-size: 16px;	line-height: 1.6;	color: #555;	margin:0;}
.subsection-posts {	display: grid;	grid-template-columns: repeat(3, 1fr);	gap: 20px;	margin-top: 20px;}
.sub-post {	display: block;	position: relative;	text-decoration: none;	color: inherit;	overflow: hidden;border-radius:16px;border: 1px solid #ebebeb;background: white;}
.sub-post-preview {	position: relative;	width: 100%;	aspect-ratio: 4 / 4;	overflow: hidden;}
.sub-post-preview img {	width: 100%;	height: 100%;	object-fit: cover;	transition: opacity 0.4s ease;	display: block;}

.promo-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  max-height: 680px;
  overflow: hidden;
  color: #fff;
  margin-bottom:24px;
}

.promo-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.promo-hero-inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 20px;
  z-index: 2;
  min-height: 800px;margin-top:100px;
}

.promo-hero-logo {
  max-width: 655px;
  margin-bottom: 20px;
  display: block;
}

.promo-hero-slogan {
  font-size: 32px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ff7018, #e98d00);
  max-width: 618px;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.promo-hero-img {
  position: absolute;
  right: 300px;
  bottom: 0;
  z-index: 2;
  max-height: 820px;
  height: 620px;
}


@media (max-width: 1520px) and (min-width: 601px) {
  .promo-hero-bg {
    background-position: right center;
  }


  .promo-hero-img {
    position: absolute;
    right: 50px;
    height: auto;
	height: 620px;
    min-height: 620px;
    width: auto; 
    max-width: none;
	max-height: none;
  }

  /* уменьшаем логотип и слоган */
  .promo-hero-logo {
    max-width: 480px;
  }

  .promo-hero-slogan {
    font-size: 28px;
    padding: 15px;
    max-width: 480px;
  }
}
@media (max-width: 900px) and (min-width: 601px) {
  .promo-hero {
    min-height: 900px;  /* увеличиваем высоту блока */
  }

  .promo-hero-bg {
    background-size: cover;       /* растягиваем фон */
    background-repeat: no-repeat; /* убираем повтор */
    background-position: center;  /* центрируем */
  }
}
@media (max-width: 600px) {
  .promo-hero {min-height: 1080px;max-height: none;}
  .promo-hero-bg {background-size: cover;background-position: center;}
  .promo-hero-inner {padding: 0 15px;text-align:center;}
  .promo-hero-logo {margin: 0 auto 20px;}
  .promo-hero-slogan {font-size: 22px;padding: 15px;}
  .promo-hero-img {
    position: absolute;
    max-width: 720px;
    margin: 20px auto 0;
    display: block;
    right: -60px;
	height:795px;
    object-fit: cover;

  }
}

@media (max-width: 1024px) {
  .headerclass {
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .headerclass h2 {
    font-size: 24px;
    margin-top: 80px;
  }

  .subsection-posts {
    grid-template-columns: repeat(2, 1fr); /* планшет — по 2 */
    gap: 16px;
  }

  .sub-post-overlay h4 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .headerclass {
    padding: 0 15px;
    text-align: center;
  }

  .headerclass h2 {
    font-size: 20px;
    margin-top: 60px;
  }

  .headerclass h2::after {
    margin: 8px auto 0; /* полоска по центру */
  }

  .headerclass p {
    font-size: 14px;
    line-height: 1.4;
  }

  .subsection-posts {
    grid-template-columns: 1fr; /* мобильные — одна колонка */
    gap: 12px;
  }

  .sub-post-overlay h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .sub-post-overlay p {
    font-size: 13px;
  }
}
.sub-post-preview {
  overflow: hidden;
  position: relative;
}

.sub-post-preview .preview-img {
  display: block;        /* всегда показывается */
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.sub-post-preview:hover .preview-img {
  transform: scale(1.1); /* при ховере увеличивается */
}
.sub-post-text {
  text-align: left;
  padding: 20px;
}

.sub-post-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    background: linear-gradient(90deg, #ff7018, #e98d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-post-text p {
  line-height: 1.4;
  margin: 0;
  color: #333;
}
.sub-post:hover {border: 1px solid #f29100;}