a, a:hover, a:focus {
	outline: none !important;
} 
.page-header {
	/* 	display: none; */
}

.padding-30 {
  padding: 30px;
}
.display-row-box {
	display: flex;
	flex-direction: row;
}
.display-column-box {
	display: flex;
	flex-direction: column;
}
.flex-wrap {
	display: flex;
	flex-wrap: wrap;
}
.absolute-bottom-right-0 {
  position: absolute;
  bottom: 0;
  right: 0;
}
.absolute-bottom-right-30 {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

#right-sidebar { display: none !important; }
#products {}
#sound-pill {}
#good-rest {}
#product-description {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#product-description .content-info .description {
	margin-bottom: 20px;	
}

#product-description .content-info .description p {
	margin-bottom: 0;
}

#product-description .content-logo .content-logo-child {
	width: 60px;
	height: 71px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 15px 2px;

	color: var(--gray-500, #7F7F7F);
	text-align: center;
	font-family: Pretendard;
	font-size: 10px;
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 18.2px */
	letter-spacing: -0.26px;

	border: 1px solid #e5e5e5;
	background-color: #fff;
	border-radius: 10px;
}
#product-description .content-logo .content-logo-child p {
	margin-bottom: 0;
}
#product-description .content-logo .content-logo-child .img {
	width: 25px;
	height: 25px;
	margin-bottom: 5px;
	background-size: 25px 25px;
}
#product-description .content-logo .content-logo-child .img-1 { background-image: url('/wp-content/uploads/icon/MoonStars.svg'); }
#product-description .content-logo .content-logo-child .img-2 { background-image: url('/wp-content/uploads/icon/BookOpenText.svg'); }
#product-description .content-logo .content-logo-child .img-3 { background-image: url('/wp-content/uploads/icon/Coffee.svg'); }
#product-description .content-logo .content-logo-child .img-4 { background-image: url('/wp-content/uploads/icon/FlowerLotus.svg'); }
#product-description .content-logo .content-logo-child .img-5 { background-image: url('/wp-content/uploads/icon/Gauge.svg'); }

#product-description .products-content-button { display: flex; gap: 10px; }

#good-rest .products-content-button .link-web-btn { height: auto; }
.products-content-button .link-web-btn {
	border-radius: 59px;
	border: 1px solid #001963;
	background: #001963;
	color: #FFF;
	text-align: center;
	font-family: Pretendard;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 145%;
	white-space: nowrap;
	padding: 6px 13px;
	height: auto;
}

.products-content-button .link-web-btn:hover { border: 1px solid #4F68FC; background: #4F68FC; }

#sound-pill .products-content-button .store-img {
	padding: 0;
	border: none;
	background: none;
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;            /* shrink 방지 */
}

#sound-pill .products-content-button .store-img img {
	pointer-events: none; /* 클릭 이벤트를 이미지가 아닌 a태그가 받게 함 */
	width: 110px;
}

#soundpill-store {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}
#soundpill-store .soundpill-store-container {
	position: relative; /* 기준 컨테이너 */
	width: 339px;
	height: 202px; /* 카드 높이 */
}

#soundpill-app-download .soundpill-store-container {
	transition: transform 0.4s ease, opacity 0.4s ease; /* 부드럽게 변화 */
	transform-origin: bottom right; /* 확대 기준을 우측 하단으로 설정 */
}
#soundpill-app-download .soundpill-store-container:hover { transform: scale(1.5); } /* 50% 확대 */

#soundpill-store .soundpill-store-container .soundpill-store-container-inner {
	display: flex;
	flex-direction: column;
	padding: 15px;
	width: 339px;
	height: 202px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.10);
	box-shadow: 1px 2px 4px 0 rgba(255, 255, 255, 0.20) inset, 0 4px 18px 0 rgba(0, 0, 0, 0.10);
	backdrop-filter: blur(10px);
	position: absolute; /* 내부 겹침 요소 기준 가능 */
	top: 0;
	left: 0;
	z-index: 1; /* phone-img보다 뒤에 오도록 낮은 값 */
}
#soundpill-store .soundpill-store-container .soundpill-store-container-inner h3 {
	color: #FFF;
	text-align: left;
	font-family: 'Pretendard';
	font-size: 32px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1.6px;
	margin-bottom: 20px;
}

#soundpill-store .soundpill-store-container .soundpill-store-container-inner p {
	color: #FFF;
	font-family: Pretendard;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 22.4px */
	letter-spacing: 0.8px;
	margin: 0;
}

#soundpill-store .soundpill-store-container .store {
	position: absolute;
	bottom: 15px;
	left: 15px;
	display: flex;
	gap: 10px;
	z-index: 3; /* 제일 위 */
}
#soundpill-store .soundpill-store-container a.store-img {
	display: flex;
	background: none;
	border: none;
	padding: 0;
	z-index: 10;
}
#soundpill-store .soundpill-store-container a:focus {
	outline: none !important;
}
#soundpill-store .soundpill-store-container .store-img img {
	pointer-events: none; /* 클릭 이벤트를 이미지가 아닌 a태그가 받게 함 */
	width: 130px;
	opacity: 0.8; /* 투명도 50% */
}
#soundpill-store .soundpill-store-container .phone-img {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 160px;
	z-index: 2; /* 가운데 */
}

#link-blog-btn .elementor-button:hover {
	border: 1px solid #4F68FC;
	background: #4F68FC;
}
#link-news-btn .elementor-button:hover {
	border: 1px solid #4F68FC;
	background: #4F68FC;
	color: #FFF;
}
#app-store-btn {
	display: inline-block;
	background: url(/wp-content/themes/custom-theme/header/assets/img/soundpill/appstore.svg) no-repeat center center;
	background-size: 110px auto;
	width: 110px;
	height: 33px;
}
#google-store-btn {
	display: inline-block;
	background: url(/wp-content/themes/custom-theme/header/assets/img/soundpill/googleplay.svg) no-repeat center center;
	background-size: 110px auto;
	width: 110px;
	height: 33px;
}
#dn-sub-info {
	padding: 0 80px;
	display: flex;
    justify-content: center;
}
#dn-sub-info .elementor-container { margin: 0; }
#dn-sub-info p { margin: 0; }
#dn-sub-info .dn-sub-info-inner-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%; 
/*     padding: 80px 0; */
}
#dn-sub-info .sub-video-box {
	flex: 0 0 clamp(320px, 40%, 560px);
    width: 40%;               /* 기존 40% 유지하되, flex-basis가 우선 */
    max-width: 500px;
    height: auto !important;   /* 기존 height:100% 덮어쓰기 */
    max-height: 700px;
    aspect-ratio: 3 / 4;       /* 스샷 비율 비슷하게 */
    overflow: hidden;
    background: #eef2f7;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
#dn-sub-info .sub-video-box .bg-video {
    inset: 0;                  /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;         /* 가득 채우기 (배경처럼) */
    pointer-events: none;      /* 클릭 방해 X */
}

#dn-sub-info .sub-info-title {
    font-size: 40px;
	font-family: 'Pretendard';
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -1.28px;
    color: #4F68FC;
	margin-bottom: 35px;
}
#dn-sub-info .lines {
	display: grid;
	font-size: 21px;
	font-weight: 400px;
	line-height: 140%;
	color: var(--base, #CCC);
}
#dn-sub-info .lines .line { --p: 0; position: relative; }
#dn-sub-info .lines.sub-lines { font-weight: 300; }
#dn-sub-info .line .fill { 
	position: absolute; 
	inset: 0; 
	pointer-events: none; 
	color: var(--hi);
	white-space: pre-wrap;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(var(--p,0)*1%), transparent 0);
	-webkit-mask-repeat: no-repeat;
	mask-image: linear-gradient(90deg, #000 calc(var(--p,0)*1%), transparent 0);
	mask-repeat: no-repeat;
}
@media (prefers-reduced-motion: reduce) {
	#dn_sub_info .line { --p: 100; } /* 접근성: 모션 줄이기 설정이면 항상 강조 상태 */
}

@media (max-width: 1024px) {
	#home-main .home-main-text .elementor-widget-wrap { padding: 0; }
	#home-main .home-main-image { width: auto; }
	#home-main .home-main-image .elementor-widget-wrap { padding: 0; }
	#home-main .home-main-image .elementor-widget-wrap .textwidget { display: flex; justify-content:center;}

	#home-main .home-main-text { padding-left: 20px; margin-top: 100px; }
	#home-main .home-main-content { font-size: 13px; line-height: 125%; margin-bottom: 20px; }
	#soundpill-store { height: auto; margin-bottom: 15px; }
	#soundpill-store .soundpill-store-container { width: 250px; height: 150px; }
	#soundpill-store .soundpill-store-container .soundpill-store-container-inner { width: 250px; height: 150px; }
	#soundpill-store .soundpill-store-container .soundpill-store-container-inner h3 { font-size: 25px; font-weight: 600; margin-bottom: 10px; }
	#soundpill-store .soundpill-store-container .soundpill-store-container-inner p { font-size: 14px; }
	#soundpill-store .soundpill-store-container .phone-img { width: 120px; margin-right: -10px; }
	#soundpill-store .soundpill-store-container .store-img img { width: 95px; }
	
	#dn-sub-info { padding: 0 20px; }
	#dn-sub-info .dn_sub_info_content .elementor-widget-wrap { padding: 0 !important; margin-top: 20px; }

	#products { padding: 0; }
	#sound-pill .products-content-button { flex-wrap: wrap; }
	#sound-pill .products-content-button .store-img img { width: 100px; }

	#sub-info-image { overflow: hidden; }
	#product-description .content-logo .content-logo-child { width: 55px; font-size: 9px; padding: 11px 0; }
	#products .products-content-button .link-web-btn { font-size: 11px; }

}

@media (max-width: 767px) {
	#home-main .elementor-container { display: flex; flex-direction: column; }
	#home-main .mobile-height { min-height: calc(100dvh - 65px); }
	#home-main .home-main-text .elementor-widget-wrap { padding: 0; }
	#home-main .home-main-image .elementor-widget-wrap { padding: 0; }
	#home-main .home-main-image .elementor-widget-wrap .textwidget { display: flex; justify-content:center }

	#break-limits { font-size: 48px; }
	#home-main .home-main-image { width: auto; }

	#home-main .home-main-text { padding-left: 20px; margin-top: 100px; }
	#home-main .home-main-content { font-size: 13px; line-height: 125%; margin-bottom: 20px; }
	#soundpill-store { height: auto; margin-bottom: 15px; }
	
	#dn_sub_info { padding: 0 20px; }
	#dn_sub_info .image-box { width: 335px; height:275px; overflow: hidden; }
	#dn_sub_info .image-box .img { width: 335px; }
	#dn_sub_info .image-box .elementor-widget-container { padding: 0 !important; }
	#dn_sub_info .dn_sub_info_content .elementor-widget-wrap { padding: 0 !important; margin-top: 20px; }

	#dn_sub_info .dn_sub_info_content .dn_sub_info_content_title { font-size: 25px; }
	#dn_sub_info .dn_sub_info_content .dn_sub_info_content_text { font-size: 13px; }	
	#products { padding: 0; }

	#sound-pill .elementor-container { flex-direction: column-reverse; }
	#sound-pill .products-content-button { flex-wrap: wrap; }

	#sub-info-image { overflow: hidden; }
	#product-description .content-logo .content-logo-child { font-size: 9px;  padding: 13px 0; }
	
	#soundpill-store .soundpill-store-container .soundpill-store-container-inner { width: 250px; height: 150px; }

	#app-store-btn { background-size: 130px auto; width: 130px; height: 40px; }
	#google-store-btn { background-size: 130px auto; width: 130px; height: 40px; }

	#dn_sub_info .lines { font-size: 15px; }
	
	#soundpill-store .soundpill-store-container { width: 335px; height: 200px; }
	#soundpill-store .soundpill-store-container .soundpill-store-container-inner { width: 335px; height: 200px; padding: 15px 18px; }
	#soundpill-store .soundpill-store-container .store { left: 18px; }
	#soundpill-store .soundpill-store-container .phone-img { width: 175px; margin-right: -15px; }
	
}