

/**
 * Autol App Gallery
 * -------------------------------------------------------------

 * -------------------------------------------------------------
 */

 .autol-app-gallery {
	--autol-gap: 6px;
	--autol-radius: 10px;
	--autol-height: 460px;
	display: flex;
	width: 100%;
	height: var(--autol-height);
	gap: var(--autol-gap);
	box-sizing: border-box;
}

.autol-app-gallery .autol-app-tile {
	position: relative;
	display: block;
	flex: 1 1 0%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	border-radius: var(--autol-radius);
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	background: #111;
	transition: flex-grow 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.autol-app-gallery.is-active .autol-app-tile {
	flex-grow: 0.55;
}
.autol-app-gallery.is-active .autol-app-tile.is-hovered {
	flex-grow: 2;
}
.autol-app-gallery .autol-app-tile .autol-app-tile__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
	pointer-events: none;
  opacity:0.8;
}
.autol-app-gallery .autol-app-tile .autol-app-tile__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.2) 55%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
}
.autol-app-gallery .autol-app-tile .autol-app-tile__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 2;
	padding: 4px 0;
	margin: 0;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  background:rgba(43, 41, 41, 0.8);
  text-align:center;
}
.autol-app-gallery .autol-app-tile .autol-app-tile__eyebrow {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
  font-weight: 600;
	opacity: 0;
  height: 0;
  z-index: -1;
	transform: translateY(6px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.autol-app-gallery .autol-app-tile .autol-app-tile__title {
  display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: font-size 0.35s ease;
  opacity: 0.8;
}
.autol-app-gallery .autol-app-tile.is-hovered .autol-app-tile__content {
  top:50%;
  transform:translateY(-50%);
  bottom:auto;
  height:auto;
  background-color:transparent;
}
.autol-app-gallery .autol-app-tile.is-hovered .autol-app-tile__eyebrow {
  height: auto;
  opacity: 1;
  z-index: 0;
  transform: translateY(0);
  color:#fff;
}
.autol-app-gallery .autol-app-tile.is-hovered .autol-app-tile__title {
	font-size: 2rem;
  color:#fff;
  font-weight: 500;
}

@media (max-width: 768px) {
	.autol-app-gallery {
		--autol-height: 640px;
		flex-direction: column;
	}
	.autol-app-gallery .autol-app-tile__title {
		font-size: 18px;
	}
}



/**
 * Autol Product Cards — Shortcode (ACF 연동)
*/

.autol-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
}
.autol-product-card {
	/* ACF "배경 그라디언트 색상 시작점/끝점"(bg_color_start / bg_color_end) 값이 있으면
	   PHP에서 인라인 style로 이 변수들을 덮어씁니다. 없으면 아래 기본값(검정 → 투명)을 사용합니다. */
	--autol-card-bg-start: rgba(0, 0, 0, 0.72);
	--autol-card-bg-end: rgba(0, 0, 0, 0);
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
	background-image:linear-gradient(to right, var(--autol-card-bg-start), var(--autol-card-bg-end));
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.autol-product-card .autol-product-card__image {
	position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
	width: 70%;
	height: 70%;
	object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}
.autol-product-card .autol-product-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 20px 40px 30px ;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.2) 55%,
		rgba(0, 0, 0, 0) 100%
	);
}
.autol-product-card .autol-product-card__body {
	color: #fff;
}
.autol-product-card .autol-product-card__name {
	margin: 0 0 4px;
	font-size: 2.625rem;
	font-weight: 600;
	line-height: 1.2;
}
.autol-product-card .autol-product-card__tagline {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
}
.autol-product-card .autol-product-card__purpose {
  position:absolute;
  right:40px;
  bottom:30px;
  padding: 6px 12px;
  margin:0;
  background-color:rgba(255,255,255,0.3);
  font-size:0.75rem;
  line-height: 1;
  border-radius: 20px;
  color:#fff;
  letter-spacing: -0.1px;
}
.autol-product-card:hover .autol-product-card__image {
	transform: translate(-50%,-50%) scale(1.04);
}

.autol-product-swiper {
	width: 100%;
	padding: 4px 4px 44px;
	box-sizing: border-box;
}
.autol-product-swiper .swiper-wrapper {
  padding-bottom:40px;
}
.autol-product-swiper .swiper-slide {
	height: auto;
}
.autol-product-swiper .swiper-slide .autol-product-card {
	width: 100%;
}
.autol-product-swiper .swiper-pagination {
  bottom:0;
  text-align: right;
}
.autol-product-swiper .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.5;
  width:10px;
  height:10px;
  border-radius:5px;
  margin:4px;
}
.autol-product-swiper .swiper-pagination-bullet-active {
	opacity: 1;
  width:24px;
}
.autol-product-swiper__nav-prev,
.autol-product-swiper__nav-next {
	top: calc(50% - 22px);
	width: 36px;
	height: 36px;
	margin-top: 0;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.autol-product-swiper__nav-prev::after,
.autol-product-swiper__nav-next::after {
	font-weight: 700;
}
@media (max-width: 1599px) {
  .autol-product-card .autol-product-card__purpose {
    bottom:auto;
    top: 30px;
  }
}
@media (max-width: 900px) {
	.autol-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
 
@media (max-width: 560px) {
	.autol-product-grid {
		grid-template-columns: 1fr;
	}
	.autol-product-card {
		aspect-ratio: 4 / 3;
	}
  .autol-product-swiper .autol-product-card {
		aspect-ratio: 4 / 3;
	}
}

/**
 * Autol Tech Cards — Stylesheet
 */
 
 .autol-tech-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
}
.autol-tech-card {
	position: relative;
	display: block;       
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 12px;
	background: #111;
	color: inherit;       
	text-decoration: none;
}
.autol-tech-card:hover,
.autol-tech-card:focus,
.autol-tech-card:visited {
	color: inherit;
	text-decoration: none;
}
.autol-tech-card:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.autol-tech-card .autol-tech-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.autol-tech-card:hover .autol-tech-card__image {
	transform: scale(1.04);
}
.autol-tech-card .autol-tech-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.2) 55%,
		rgba(0, 0, 0, 0) 100%
	);
}
.autol-tech-card .autol-tech-card__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 24px;
	color: #fff;
}
.autol-tech-card .autol-tech-card__title {
	margin: 0 0 8px;
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.2;
}
.autol-tech-card .autol-tech-card__tagline {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.5;
  letter-spacing: -0.1px;
}
 
@media (max-width: 768px) {
	.autol-tech-grid {
		grid-template-columns: 1fr;
	}
	.autol-tech-card {
		aspect-ratio: 4 / 3;
	}
	.autol-tech-card .autol-tech-card__title {
		font-size: 1.25rem;
	}
	.autol-tech-card .autol-tech-card__tagline {
		max-width: 100%;
	}
}
 