/*!
Theme Name: trustygaming
Theme URI: http://trustygaming.com/
Author: trustygaming
Author URI: http://trustygaming.com/
Description: Made with ❤️
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: trustygaming
*/

body {
	background: #f5f5f5;
}

.wpcf7-not-valid {
	border: 1px solid red !important;
}

.wpcf7 form.invalid .wpcf7-response-output {
	display: none !important;
}

.contacts .wrapper .right form {
	position: relative;
}

.wpcf7 form.sent .wpcf7-response-output {
	border: unset;
	text-align: center;
	position: absolute;
	bottom: -50px;
	left: 0px;
	right: 0px;
	font-weight: 400;
}

.wpcf7-not-valid-tip {
	display: none !important;
}

input[type="text"],
input[type="email"] {
	width: 100%;
}

.terms__text h2 {
	margin: 32px 0 16px;
	font-size: 22px;
	line-height: 26px;
	letter-spacing: unset;
	font-weight: 600;
}

.terms__text a {
	text-decoration: underline;
}

.error404 h1 {
	font-size: 7em !important;
}

.img.fix_height {
	bottom: 100px !important;
}

/* .our__games .list .item .img img {
	max-height: 150px;
} */

section.hero.--game.custom {
	margin: 0;
	margin-bottom: 50px;
}

.hero.--game.custom .wrapper {
	justify-content: center;
	flex-direction: column;
	gap: 30px;
	height: 584px;
}

.hero.--game.custom .image_wrapper::before {
	content: "";
	background: #000000de;
	width: 100%;
	height: 100%;
	position: absolute;
}

.image_wrapper {
	position: relative;
}

.custom .btn {
	left: 0px;
	right: 0px;
	margin: 0 auto;
	position: absolute !important;
	top: 50%;
}

.show {
	margin: 0 auto;
	display: block;
	width: 100%;
}
.show::before {
	content: unset !important;
}

.show a {
	display: none;
}

@media only screen and (max-width: 1024px) {
	.hero.--game .img {
		max-height: 200px;
		width: 100%;
	}

	.hero.--game .img img {
		width: 100%;
	}
}

.item.second-link-style {
	flex: 0 0 49% !important;
}

@media (min-width: 1200px) {
	.partner .container .column:nth-child(2) {
		padding-top: 55px;
	}

	section.hero.--game.false {
		margin-bottom: 50px;
	}

	.hero.--game .img img {
		width: auto;
		max-height: 357px;
	}
	.description.--main .list .item .title{
		min-height: 52px;
	}
}

@media only screen and (max-width: 1024px) {
	.hero.--game .img {
		height: 300px;
	}

	.hero.--game .img img {
		object-fit: contain;
	}

	.hero.--game .wrapper {
		height: 450px;
	}

	.hero.--game {
		margin: 40px 0 40px;
	}

	footer {
		background: #0c0b0b;
	}
}

.image_wrapper.show {
	transition: opacity 0.3s ease-in-out;
	opacity: 1;
}

.hero.--game.custom .wrapper {
	height: 650px;
}

@media (max-width: 768px) {
	#demoImage {
		max-width: 100%;
	}
	.hero.--game.custom .wrapper {
		height: 230px;
	}
}

/* Устанавливаем iframe на всю ширину контейнера с пропорцией 16:9 */

.image_wrapper iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	max-width: 800px;
	border: none;
	margin: 0 auto;
	display: block;
	height: 450px;
}

@media (max-width: 768px) {
	.image_wrapper {
		position: relative;
		width: 100%;
	}

	/* Для мобильных устройств */
	.image_wrapper iframe {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.custom .btn {
		top: 40%;
	}
}

header .container .menu ul.hidden-lg {
	text-transform: capitalize;
}

@media (max-width: 768px) {
	.hero.--game.custom .wrapper {
		height: 300px;
	}
}
@media (max-width: 400px) {
	.hero.--game.custom .wrapper {
		height: 230px;
	}
}

.logo h1 {
	 font-family: verdana,sans-serif;
	font-weight: 900;
	font-size: 113px;
	line-height: 99px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	color: #000000;
}

@media (max-width: 1024px) {
	.logo h1 {
		font-size: 45px;
		line-height: 5px;
	}
	.breadcrumbs p {
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
		width: 100%;
		display: block;
	}
}

.copyright a {
	text-decoration: underline;
	color: #7f7f7f;
}

.hero.--main .container .right {
	width: 100%;
}

.btn.--primary:hover span {
	top: unset;
}

.btn.--primary {
	background: #141414;
	box-shadow: inset 0 5px 10px rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.btn.--primary::before,
.btn.--primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: opacity 0.3s ease;
}

.btn.--primary::before {
	content: url(/wp-content/themes/trustygaming/assets/img/btn.png);
	opacity: 1;
}

.btn.--primary::after {
	content: url(/wp-content/themes/trustygaming/assets/img/btn_hover.png);
	opacity: 0;
}

.btn.--primary:hover::before {
	opacity: 0;
}

.btn.--primary:hover::after {
	opacity: 1;
}

.btn.--primary:hover {
	box-shadow: none;
}

@media (min-width: 1200px) {
	.hero.--main .container .right {
		width: 100%;
		height: unset;
	}
	.hero.--main .container .right img {
		position: unset;
		left: unset;
		transform: unset;
		width: 100%;
		height: 100%;
	}

	.hero.--main {
		margin: 24px 0 24px;
	}
}

@media (max-width: 1024px) {
	.hero.--main .container .right {
		margin-top: 0;
	}
	.hero.--main {
		margin: 0px 0 30px;
	}

	header .container .menu:after {
		background: unset;
	}
}

header {
	box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
	.menu-burger {
		display: none;
	}
}

@media (max-width: 1024px) {
	.menu-burger {
		position: absolute;
		top: 70px;
		transform: unset;
		visibility: hidden;
		clip-path: inset(0 0 100% 0);
		transition: 0.75s;
		width: 100%;
		height: 100vh;
		z-index: 2000;
		background: #fff;
	}

	.burger_wrap {
		gap: 60px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		gap: 60px;
	}

	.menu-burger.burger-open {
		clip-path: inset(0 0 0 0);
		visibility: visible;
		pointer-events: all;
		transition: 0.75s;
	}
	.menu-burger.burger-open {
		padding-top: 10%;
	}

	.menu-burger ul li a {
		font-weight: 600;
		font-size: 16px;
		line-height: 18px;
		color: #141414;
		transition: 0.3s ease;
		text-transform: capitalize;
	}

	.menu-burger ul {
		flex-direction: column;
		gap: 40px;
		display: flex;
		align-items: center;
	}
}

footer .top .container {
	flex-direction: column;
	gap: 20px;
}

footer .bot .container {
	flex-direction: column-reverse;
	gap: 20px;
}

footer .top .container .menu ul,
.lks {
	flex-direction: column;
}

.contacts .wrapper {
	flex-direction: column;
	gap: 48px;
	padding: 48px 16px;
	border-radius: 20px;
	align-items: center;
}

.partners img {
	max-width: 150px;
	min-width: 150px;
	filter: contrast(0);
}

.partners {
	display: flex;
	gap: 20px;
	align-items: center;
}

footer .top {
	position: relative;
	padding-bottom: 16px;
	margin-bottom: 16px;
}

footer .logo:after,
footer .social_wrap:after,
footer .menu:after,
footer .bot:after,
footer .top:after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(
		100deg,
		rgb(20, 20, 20) 0%,
		rgb(127, 127, 127) 50%,
		rgb(20, 20, 20) 100%
	);
	content: "";
}

footer .top .container .logo {
	width: 100%;
	justify-content: center;
	padding-bottom: 20px;
}

.social {
	justify-content: center;
}

footer .bot {
	padding: 0px 0 20px;
}

.copyright {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	color: #7f7f7f;
}

footer {
	padding: 30px 0;
}

@media only screen and (max-width: 1024px) {
	footer .bot .container .lks {
		margin-bottom: 0px;
	}
}

.bot,
footer .logo,
.social_wrap,
footer .menu {
	position: relative;
}

.social_wrap,
footer .menu {
	padding-bottom: 20px;
	width: 100%;
}

footer .container {
	max-width: unset;
	padding: unset;
}

footer .top {
	border-bottom: unset;
}

.news__text ol,
.news__text ul {
	/* font-weight: 400; */
	color: #4e4e4e;
}

@media (max-width: 1060px) {
	.partners {
		flex-direction: column;
	}
}

.contacts .wrapper .h1 {
	margin-bottom: 40px;
	font-size: 28px;
	line-height: 31px;
	color: #141414;
}

.contacts .wrapper .right {
	padding-left: 0;
}

@media (min-width: 1025px) {
	.contacts .wrapper .left,
	.contacts .wrapper .right {
		width: 80%;
	}
}

.news__text ol,
.news__text ul {
	padding-bottom: 16px;
	gap: 16px;
	font-size: 15px;
	padding-left: 40px;
	 font-family: verdana,sans-serif;
}

.news__text ul li,
.news__text ol li {
	font-size: 16px;
	line-height: 26px;
}

.news__text img {
	width: 100%;
	height: auto;
}

.hero.--single-news .img {
	box-shadow: 1px 2px 40px 0px #00000040;
}

@media (max-width: 390px) {
	.hero.--single-news .img {
		height: 250px;
	}
}

/* h1 {
	font-size: 32px;
	line-height: calc(32px * 1.618);
  font-weight: 700;
} */

.h1 {
	text-transform: none;
}

.hero.--main .container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

/* .hero.--main .container h1{
    font-size: 32px;
	line-height: calc(32px * 1.618);
  margin-bottom: 25px;
  font-weight: 700;
} */

@media (max-width: 1024px) {
	.hero.--main {
		margin: 24px 0 30px;
	}
}

@media (max-width: 768px) {
	.hero.--main .container h1 {
		font-size: 24px;
	}
}

/* .our__games .img {
	background: #c8e2ff;
	z-index: 2;
	position: relative;
} */

/* .our__games .title {
	background: white;
	padding: 30px 20px 15px 20px;
	margin-top: -15px;
	text-align: center;
} */




/* new */
.btn.--play {
  width: auto;
  padding: 11px 49px;
  background: url(/wp-content/themes/trustygaming/assets/img/button.png) center center/100% 100% no-repeat;
  font-weight: 700;
  font-size: 16px;
  line-height: 110%;
  text-transform: capitalize;
  color: #141414;
  transition: 0.3s ease;
}
.btn.--play:hover {
  background-image: url(/wp-content/themes/trustygaming/assets/img/button-hover.png);
}


.hero.--single-game .wrapper .info .item img {
  min-width: 18px;
}
.hero.--single-game .wrapper .info .item .caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.hero.--single-game .wrapper .info .item .caption .name {
  font-weight: 500;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #000;
}
.hero.--single-game .wrapper .info .item .caption .data {
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  color: #141414;
	text-align: right;
}


.game__description {
margin-bottom: 96px;
padding: unset;
}



@media only screen and (max-width: 1024px) {
  .game__description {
    margin-bottom: 40px;
  }
}
.game__description .h3 {
  margin-bottom: 40px;
  font-weight: 800;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1A1919;
}
@media only screen and (max-width: 1024px) {
  .game__description .h3 {
    margin-bottom: 16px;
    font-size: 18px;
  }
}
.game__description p + p {
  margin-top: 8px;
}



.faq {
  max-width: 900px;
  margin: 0 auto 96px;
}
@media only screen and (max-width: 1024px) {
  .faq {
    margin: 0 auto 80px;
  }
	.latest__news .news__list .item:nth-child(1) .img {
    margin-bottom: 16px !important;
}

.latest__news .news__list .item .img{
	max-height: 220px;
}

.faq .list .item{
	padding: 15px 18px !important;
}

}
.faq .h3 {
  margin-bottom: 40px;
  font-weight: 800;
  font-size: 24px;
  line-height: 120%;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1A1919;
}
@media only screen and (max-width: 1024px) {
  .faq .h3 {
    margin-bottom: 16px;
    font-size: 18px;
  }
}
.faq .list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq .list .item {
  padding: 4px 0;
	box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    padding: 20px 60px;
}
.faq .list .item .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  text-transform: capitalize;
  color: #141414;
  cursor: pointer;
}
@media only screen and (max-width: 1024px) {
  .faq .list .item .title {
    font-size: 16px;
  }
	.hero.--single-game .wrapper .gallery .main{
		min-width: 100%;
	}
}
.faq .list .item .title.active .btn:after {
  transform: rotateZ(0);
}
.faq .list .item .title.active + .description {
  margin-top: 16px;
}
@media only screen and (max-width: 1024px) {
  .faq .list .item .title.active + .description {
    margin-top: 8px;
  }
}
.faq .list .item .description {
  max-height: 0;
  padding: 0;
  transition: 0.3s ease;
  overflow: hidden;
  font-weight: 300;
  font-size: 15px;
  line-height: 140%;
  color: #141414;
}
.faq .btn {
  position: relative;
  width: 24px;
  min-width: 24px;
  height: 24px;
  background: black;
  border-radius: 4px;
}
.faq .btn:before, .faq .btn:after {
  position: absolute;
  top: 12px;
  right: 6px;
  width: 12px;
  height: 2px;
  background: #FFFFFF;
  transition: 0.3s ease;
  border-radius: 5px;
  content: "";
}
.faq .btn:after {
  transform: rotateZ(90deg);
}

.latest__games {
  margin-bottom: 96px;
}
.latest__games .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media only screen and (max-width: 1024px) {
  .latest__games .list {
    display: flex;
    flex-direction: column;
  }
}
.latest__games .list .item {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 32px;
  box-shadow: 1px 2px 14px rgba(0, 0, 0, 0.06);
  border-radius: 18px;
}
.latest__games .list .item .img {
  width: 100%;
  height: 248px;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
}
.latest__games .list .item .img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: 0.3s ease;
}
.latest__games .list .item .name {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  text-transform: capitalize;
  color: #000000;
}
.latest__games .list .item .date {
  font-weight: 200;
  font-size: 15px;
  line-height: 140%;
  color: #000000;
}
.latest__games .list .item:nth-child(1) {
  background: #C8E2FF;
}
.latest__games .list .item:nth-child(2) {
  background: #FCE6B9;
}
.latest__games .list .item:hover img {
  scale: 1.03;
}



.hero.--single-game {
  margin: 32px 0 64px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game {
    margin: 24px 0 40px;
  }
}
.hero.--single-game .wrapper {
  padding: 40px 88px 64px;
  background: #C8E2FF;
  box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.08);
  border-radius: 40px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper {
    padding: 24px;
  }
}
.hero.--single-game .wrapper .h1 {
  margin-bottom: 32px;
  font-weight: 900;
  font-size: 32px;
  line-height: 110%;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #141414;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .h1 {
    margin-bottom: 16px;
    font-size: 24px;
  }
}
.hero.--single-game .wrapper .gallery {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .gallery {
    gap: 16px;
    margin-bottom: 24px;
  }
}
.hero.--single-game .wrapper .gallery .main {
  position: relative;
}
.hero.--single-game .wrapper .gallery .main .img {
  display: flex;
  width: 100%;
  height: auto;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .gallery .main .img {
    width: 100%;
    height: 250px;
  }
}
.hero.--single-game .wrapper .gallery .main .img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.hero.--single-game .wrapper .gallery .main:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
  border-radius: 20px;
  content: "";
}
.hero.--single-game .wrapper .gallery .main .btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hero.--single-game .wrapper .gallery .thumbs {
  display: flex;
  flex-direction: column;
  width: 298px;
  gap: 24px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .gallery .thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 16px;
  }
}
.hero.--single-game .wrapper .gallery .thumbs .thumb {
  width: 100%;
  height: 186px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .gallery .thumbs .thumb {
    height: 120px;
  }
}
.hero.--single-game .wrapper .gallery .thumbs .thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
.hero.--single-game .wrapper .info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 112px;
  margin: 0 -12px;
}
@media only screen and (max-width: 1024px) {
  .hero.--single-game .wrapper .info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
  }
}
.hero.--single-game .wrapper .info .item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 12px;
  border-bottom: 1px solid #FFFFFF;
}
.hero.--single-game .wrapper .info .item img {
  min-width: 18px;
}
.hero.--single-game .wrapper .info .item .caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.hero.--single-game .wrapper .info .item .caption .name {
  font-weight: 500;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #000;
}
.hero.--single-game .wrapper .info .item .caption .data {
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  color: #141414;
}








.list a{
	background: #fff;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.our__games .list .item .title{
	padding: 15px 0px;
}

.our__games .list .item .img {
	margin-bottom: unset;
}

h2,
h3,
h4,
h5 {
	font-weight: 700;
}


section.hero.--main h1{
	padding: 50px 0px;
}

.in__touch .wrapper .text .title{
	font-size: 60px !important;
}
h1,
.h1,
.hero.--single-game .wrapper .h1 {
	font-size: 32px !important;
	line-height: 40px;
	font-weight: bold;
}

h2,
.h2,
h2.h3 {
	font-size: 24px !important;
	line-height: 32px;
	font-weight: bold;
	text-transform: none;
}

h3,
.h3,
.latest__news .news__list .item .caption .title,
.faq .list .item .title {
	font-size: 18.72px !important;
	line-height: 28px;
	font-weight: 500;
}

h4,
.h4 {
	font-size: 16px !important;
	line-height: 24px;
	font-weight: bold;
}

h5,
.h5 {
	font-size: 13.28px !important;
	line-height: 20px;
	font-weight: bold;
}


/* Tablet sizes */
@media (max-width: 992px) {
	h1,
	.h1,
	.hero.--single-game .wrapper .h1 {
		font-size: 28px;
		line-height: 36px;
	}

	h2,
	.h2,
	h2.h3 {
		font-size: 22px !important;
		line-height: 30px;
	}

	h3,
	.h3,
	.latest__news .news__list .item .caption .title {
		font-size: 17px !important;
		line-height: 26px;
	}

	h4,
	.h4 {
		font-size: 15px !important;
		line-height: 22px;
	}

	h5,
	.h5 {
		font-size: 12px !important;
		line-height: 18px;
	}
}


/* Mobile sizes */
@media (max-width: 576px) {
	h1,
	.h1,
	.hero.--single-game .wrapper .h1 {
		font-size: 24px;
		line-height: 32px;
	}

	h2,
	.h2,
	h2.h3 {
		font-size: 20px !important;
		line-height: 28px;
	}

	h3,
	.h3,
	.latest__news .news__list .item .caption .title {
		font-size: 16px !important;
		line-height: 24px;
	}

	h4,
	.h4 {
		font-size: 14px !important;
		line-height: 20px;
	}

	h5,
	.h5 {
		font-size: 11px !important;
		line-height: 16px;
	}
}


@media only screen and (max-width: 1024px) {
    .in__touch {
        padding-bottom: 0px;
    }
}



section.hero.--single-news .date{
	text-align: center;
	margin-bottom: 40px;
}


section.hero.--single-news h1{
	margin-bottom: 10px !important;
}





.news .news__list .item .img {
    max-width: 100%;
    border-radius: 12px 12px 0px 0px;
		
  }


	.news .news__list .item{
padding: unset;
	}


	.news .news__list .item .caption {
    padding: 0px 10px;
}
.news .news__list .item .caption p {
    margin-bottom: 10px;
    font-size: 14px !important;
}


@media only screen and (max-width: 1024px) {
    .our__games {
        margin-bottom: 0px;
    }
		.hero.--news .wrapper{
			overflow: hidden;
		}
		.hero.--news .img img{
			max-width: 375px;
		}

	.speed	.hero.--news .img{
			bottom: unset;
		}
		.speed .hero.--news .img img{
			width: 563px;
		}
}

.speed .breadcrumbs a{
	color: black;
}


.contacts .wrapper .right .title{
	line-height: 32px;
}


.game__gallery .h3{
	margin-bottom: 40px;
	letter-spacing: 0.02em;
    text-transform: uppercase;
		text-align: center;
}

/* Общее оформление */
iframe#demoIframe {
    width: 100%; /* Ширина занимает всю доступную область */
    height: auto; /* Высота рассчитывается автоматически */
    min-height: 585px; /* Минимальная высота для малых экранов */
    max-height: 800px; /* Максимальная высота для больших экранов */
    border: none; /* Убираем рамку для эстетики */
    z-index:20;
}

/* Адаптивные стили для разных размеров экрана */

/* Для экранов шириной до 768px (планшеты) */
@media (max-width: 768px) {
    iframe#demoIframe {
        min-height: 250px; /* Уменьшаем минимальную высоту */
    }
}

/* Для экранов шириной до 480px (мобильные устройства) */
@media (max-width: 480px) {
    iframe#demoIframe {
        min-height: 200px; /* Еще меньше для узких экранов */
    }
}


.count_1 a{
	grid-column: 2 / span 1
}


.count_2 {
	display: flex !important;
	margin-bottom: 48px;
    align-items: center;
    justify-content: center;
}

.count_2  a,
.count-1 a{
	max-width: 384px !important;
    min-width: 384px !important;
}

.count-1{
	justify-content: center;
}


@media(max-width:768px){
	.count_2 a, .count-1 a{
		min-width: 100% !important;
	}
}


.news__text strong {
	font-weight: 600;
}