/* Hero */
.section-hero {
	padding: 0;
	position: relative;
}
.hero_height-auto {
	min-height: initial;
}
.hero_height-s {
	min-height: 300px;
}
.hero_height-m {
	min-height: 600px;
}
.hero_height-l {
	min-height: 900px;
}
.hero {
    position: relative;
    height: 100%;
}
.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	position: absolute;
	inset: 0;
	animation: scale-up-center 40s linear infinite ;
}
.hero__content {
	background-color: rgba(0,0,0,0.5);
}
.hero__container {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
    gap: 20px;
    padding: 5% 3%;
}

.hero__slogan {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
	color: #fff;
}

.section-hero .search  {
    background-color: #02a0e3d1;
}

@media (min-width: 768px) {
    .hero__container {
        padding: 5% 3%;
    }
    .hero__slogan {
        font-size: 60px;
    }    
}

@keyframes scale-up-center {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(1.2);
    }
    60% {
      transform: scale(1.2);
    }
    90% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
/* /Hero */

/* Directions */
.section-directions {

}
.card-directions {
	display: block;
	text-decoration: none;
	height: 250px;
	position: relative;
	border-radius: 6px;
    overflow: hidden;
}
.card-directions__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card-directions__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: rgba(0, 0, 0, 20%);  
	padding: 3%;  
}
.card-directions__title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-align: center;
}
.card-directions__text {
    font-size: 20px;
    color: #fff;
    text-align: center;
}
/* /Directions */


/* Reviews */
.section-reviews-simple {
	padding: 30px 0 40px;
	background: #f3f3f3;
}
.reviews-simple__item { 
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	height: 100%;
}
.reviews-simple__figure {
	margin-bottom: 20px;
    /* aspect-ratio: 1; */
	
}
.reviews-simple__img {
	max-width: 200px;
	max-height: 200px;
    width: 100%;
    height: 100%;
	border-radius: 50%;
	margin: 0 auto;
	display: block;
	object-fit: cover;
}
.reviews-simple__content { }
.reviews-simple__stars {
	display: flex;
	gap:5px;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}
.reviews-simple__star { 
	fill: #ffcc00;
	font-size: 1.5rem;
}
.reviews-simple__name { 
	text-align: center;
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 700;
}
.reviews-simple__text { 
	font-size: 16px;
	line-height: 1.5;
	color: #555;
}
/* /Reviews */


/* Text TODO: to text*/
.about__content {
    padding: 10px;
}
.about__content .u-content {
    font-size: 18px;
    line-height: 1.5;
}
.about__figure {
    height: 100%;
}
.about__img {
    border-radius: 40px;
    width: 100%;
    max-height: 100%;
}
@media (min-width: 768px) {
    .about__content {
        padding: 30px;
    }    
}
/* /Text */

/* News */

.card-news { }
.card-news__figure {
    margin-bottom: 12px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.card-news__link { 
    display: block;
    line-height: 1;
}
.card-news__img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    border-radius: var(--border-radius);
    transition: transform linear 0.2s;
}
.card-news__date {
    font-size: 14px;
    line-height: 1.222;
    margin-bottom: 8px;
}
.card-news__title {
    font-size: 20px;
    line-height: 1.222;
    font-weight: 600;
    margin-bottom: 5px;
}
.card-news__link-title {
    text-decoration: none
}
.card-news__descr {
    font-size: 16px;
    line-height: 1.4;
    
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.card-news__figure:hover .card-news__img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .card-news__descr {
        
        /* display: block;
        -webkit-box-orient: initial;
        -webkit-line-clamp: initial;
        overflow: inherit; */
    }   
}
/* /News */
