/* ai_theme 메인 구성 개선: 기존 CSS와 4슬라이드 동작은 변경하지 않습니다. */
.ai-hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:clamp(24px,4vw,65px)}
.ai-hero-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.ai-choice-card{min-width:0;padding:24px 20px;background:#fff;border:1px solid #dae6ed;border-radius:14px;box-shadow:0 10px 25px rgba(30,65,85,.045)}
.ai-choice-icon{width:38px;height:38px;display:grid;place-items:center;color:#2a849c;background:#edf7fa;border-radius:10px;font-size:19px}
.ai-choice-card h2{font-size:20px;line-height:1.4;letter-spacing:-.055em;color:#173a4d;margin:18px 0 8px}
.ai-choice-card p{margin:0 0 17px;font-size:12px;line-height:1.7;color:#6b808c;min-height:3.4em;word-break:keep-all}
.ai-choice-card form{display:flex;border:1px solid #e0e8ed;background:#f5f8fa;border-radius:8px;overflow:hidden;min-width:0}
.ai-choice-card input{flex:1;min-width:0;padding:0 10px;height:44px;border:0;background:transparent;color:#234354;font:inherit;font-size:12px;outline-offset:-2px}
.ai-choice-card form button{flex:none;border:0;background:#133a4f;color:#fff;padding:0;width:42px;cursor:pointer;font-size:20px}
.ai-choice-links{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:16px}
.ai-choice-links a{color:#287fa2;font-size:12px;font-weight:650;white-space:nowrap}
.ai-choice-links a:hover{text-decoration:underline}
.ai-portal-content{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:65px;padding-bottom:24px}
.ai-portal-card{border:1px solid #dfe8ee;border-radius:13px;padding:30px;background:#fff;min-width:0}
.ai-portal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-portal-heading h2{margin:0;color:#17384a;font-size:23px;letter-spacing:-.055em}.ai-portal-heading p{color:#718391;font-size:13px;margin:8px 0 0}.ai-portal-heading a{white-space:nowrap;color:#43829b;font-size:12px;margin-top:7px}
.ai-portal-story-list{margin-top:23px;border-top:1px solid #e6ebee}.ai-portal-story-list a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #e6ebee;color:#314b5b;font-size:14px;line-height:1.6}.ai-portal-story-list a span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-portal-story-list a span:last-child{color:#49899e}.ai-portal-empty{font-size:13px;color:#758994;line-height:1.7}
.ai-video-placeholder{min-height:230px;margin-top:22px;border-radius:10px;background:#f0f5f7;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px;text-align:center;color:#466274}.ai-video-play{width:56px;height:56px;display:grid;place-items:center;background:white;border:1px solid #dbe6ec;color:#3d748a;border-radius:50%;font-size:20px;margin-bottom:15px}.ai-video-placeholder strong{font-size:15px}.ai-video-placeholder p{font-size:12px;color:#738895;margin:7px 0 0}
.ai-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-bottom:80px}.ai-shortcuts a{display:flex;align-items:center;gap:12px;min-width:0;border:1px solid #dfe8ee;border-radius:10px;background:#fff;color:#243f50;padding:22px;font-size:15px}.ai-shortcuts a>span:first-child{font-size:23px;color:#5d90a6}.ai-shortcuts a strong{font-weight:650}.ai-shortcut-arrow{margin-left:auto;color:#5d90a6}
@media(max-width:1250px){.ai-hero-grid{grid-template-columns:1fr;gap:30px}.ai-hero-choices{max-width:none}.ai-choice-card p{min-height:0}}
@media(max-width:767px){.ai-hero-choices{grid-template-columns:1fr 1fr;gap:10px}.ai-choice-card{padding:19px 15px}.ai-choice-card h2{font-size:18px}.ai-portal-content{grid-template-columns:1fr;padding-top:35px}.ai-portal-card{padding:22px}.ai-shortcuts{gap:8px;padding-bottom:50px}.ai-shortcuts a{padding:17px 11px;gap:7px;flex-direction:column;text-align:center}.ai-shortcut-arrow{display:none}}
@media(max-width:540px){.ai-hero-choices{grid-template-columns:1fr}.ai-choice-card{padding:20px}.ai-choice-card p{margin-bottom:13px}.ai-shortcuts a strong{font-size:12px}.ai-shortcuts a>span:first-child{font-size:20px}.ai-portal-heading h2{font-size:20px}}


/* 2026-10-24: 메인 추천 리뷰 섹션 */
.ai-review-section{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:14px 0 66px;align-items:start}.ai-review-heading h2{margin:0;color:#17384a;font-size:34px;letter-spacing:-.06em}.ai-review-heading a{display:inline-block;margin-top:12px;color:#2782a0;font-size:15px;font-weight:650}.ai-review-categories{list-style:none;margin:34px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}.ai-review-categories li{margin:0}.ai-review-categories button{display:flex;align-items:center;gap:12px;width:100%;padding:8px 0;background:none;border:0;color:#7c8f99;font-size:15px;font-weight:650;text-align:left;cursor:pointer}.ai-review-categories button.is-active{color:#17384a}.ai-review-categories button.is-active:after{content:'';flex:1;height:1px;background:#17384a;min-width:36px}.ai-review-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}.ai-review-card{background:#fff;border:1px solid #dfe8ee;min-width:0}.ai-review-thumb{display:block;aspect-ratio:1.1/1;overflow:hidden;background:#f1f5f7}.ai-review-thumb img{width:100%;height:100%;object-fit:cover;display:block}.ai-review-thumb-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:240px;color:#90a0a9;font-size:13px}.ai-review-body{padding:18px 18px 20px}.ai-review-category{margin:0 0 10px;color:#2782a0;font-size:12px;font-weight:700}.ai-review-card h3{margin:0 0 10px;font-size:16px;line-height:1.5;letter-spacing:-.03em}.ai-review-card h3 a{color:#17384a}.ai-review-excerpt{margin:0;color:#718391;font-size:13px;line-height:1.75;min-height:3.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.ai-review-date{margin:16px 0 0;color:#97a8b1;font-size:12px}.ai-review-meta{display:flex;flex-direction:column;gap:3px;margin-top:16px;padding-top:15px;border-top:1px solid #e5ecef}.ai-review-meta strong{color:#17384a;font-size:13px}.ai-review-meta span{color:#8a9ba4;font-size:12px}.ai-review-empty{display:flex;align-items:center;justify-content:center;min-height:260px;border:1px solid #dfe8ee;background:#fff;color:#718391;font-size:14px;padding:20px;text-align:center}
@media(max-width:1200px){.ai-review-section{grid-template-columns:1fr;gap:20px}.ai-review-categories{flex-direction:row;flex-wrap:wrap;margin-top:18px;gap:10px 14px}.ai-review-categories button{width:auto;padding:7px 0}.ai-review-categories button.is-active:after{display:none}.ai-review-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.ai-review-section{padding:6px 0 46px}.ai-review-heading h2{font-size:26px}.ai-review-cards{grid-template-columns:1fr;gap:14px}.ai-review-thumb-empty{min-height:180px}.ai-review-body{padding:15px}.ai-review-card h3{font-size:15px}}

/* 2026-10-25: 메인화면 직각형 UI 정책 — 카드, 배지, 입력폼, 버튼,
   슬라이드 컨트롤, 영상 플레이스홀더 등 main 안의 모든 모서리 통일.
   헤더, 서브페이지, 쇼핑몰, 웹진은 적용 대상에서 제외. */
.ai-home main *,
.ai-home main *::before,
.ai-home main *::after {
    border-radius: 0 !important;
}

/* 2026-10-25: 리뷰 4열 컴팩트 카드 / 모바일 가로 스와이프 */
.ai-home .ai-review-section{grid-template-columns:220px minmax(0,1fr);gap:22px;padding-bottom:46px}
.ai-home .ai-review-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.ai-home .ai-review-card{min-width:0}
.ai-home .ai-review-thumb{aspect-ratio:auto;height:170px}
.ai-home .ai-review-thumb img{width:100%;height:100%;object-fit:cover}
.ai-home .ai-review-thumb-empty{min-height:0;height:100%}
.ai-home .ai-review-body{padding:12px 13px 14px}
.ai-home .ai-review-card h3{font-size:14px;line-height:1.45;margin-bottom:6px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ai-home .ai-review-category{font-size:11px;margin-bottom:5px}
.ai-home .ai-review-excerpt{font-size:12px;line-height:1.55;min-height:0;-webkit-line-clamp:2}
.ai-home .ai-review-date{font-size:11px;margin-top:10px}
.ai-home .ai-review-meta{display:none}
@media(max-width:1200px){
 .ai-home .ai-review-section{grid-template-columns:1fr}
 .ai-home .ai-review-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
 .ai-home .ai-review-section{gap:14px;padding-bottom:35px}
 .ai-home .ai-review-cards{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:0 0 12px;max-width:100%;min-width:0}
 .ai-home .ai-review-card{flex:0 0 min(72vw,280px);scroll-snap-align:start}
 .ai-home .ai-review-thumb{height:158px}
 .ai-home .ai-review-cards::-webkit-scrollbar{height:5px}
 .ai-home .ai-review-cards::-webkit-scrollbar-thumb{background:#b9cbd4}
}

/* 홈 고객 인터뷰·현장 영상: youtube 게시판 연동 (직각형 UI) */
.ai-home .ai-home-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.ai-home .ai-home-video-item{min-width:0}
.ai-home .ai-home-video-thumb,.ai-home .ai-home-video-item iframe{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;border:0;background:#edf2f5;overflow:hidden;border-radius:0}
.ai-home .ai-home-video-thumb{cursor:pointer}
.ai-home .ai-home-video-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ai-home .ai-home-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:36px;background:#143d51;color:#fff;font-size:15px}
.ai-home .ai-home-video-thumb:focus-visible{outline:3px solid #2782a0;outline-offset:3px}
.ai-home .ai-home-video-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:9px;line-height:1.5;font-size:13px;font-weight:650;color:#17384a;word-break:keep-all}
@media(max-width:540px){.ai-home .ai-home-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ai-home .ai-home-video-play{width:36px;height:30px}}

/* 2026-10-25: independent manual product showcase (4 fixed slots) */
.ai-main-products{padding-top:18px;padding-bottom:68px}.ai-main-products-header{margin-bottom:22px}.ai-main-products-header p{font-size:11px;color:#367d9c;letter-spacing:.14em;font-weight:750;margin:0 0 5px}.ai-main-products-header h2{font-size:27px;color:#142f42;letter-spacing:-.05em;margin:0}.ai-main-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ai-main-product{min-width:0;background:#fff;border:1px solid #dce7ed;padding:20px;display:flex;flex-direction:column;border-radius:0;box-shadow:0 8px 24px rgba(25,55,75,.025)}.ai-main-product-badge{align-self:flex-start;display:inline-flex;align-items:center;min-height:29px;background:#e8f3f8;color:#196483;font-weight:750;font-size:12px;padding:5px 9px;border-radius:0}.ai-main-product-image{display:flex;align-items:center;justify-content:center;height:172px;margin:15px 0;background:#f5f8fa;overflow:hidden}.ai-main-product-image img{display:block;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain}.ai-main-product-no-image{font-size:12px;color:#91a3ad;text-align:center}.ai-main-product h3{font-size:17px;line-height:1.45;min-height:2.8em;margin:0 0 11px;font-weight:750;letter-spacing:-.04em;word-break:keep-all}.ai-main-product h3 a{color:#17384a}.ai-main-product-price{font-size:17px;color:#167397;line-height:1.5;font-weight:800;margin-bottom:10px;white-space:normal}.ai-main-product-description{font-size:12px;color:#718594;line-height:1.65;margin:0;word-break:keep-all;min-height:3.3em}.ai-home .ai-main-products *{border-radius:0!important}
@media(max-width:1000px){.ai-main-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}}
@media(max-width:600px){.ai-main-products{padding-top:12px;padding-bottom:40px}.ai-main-products-header h2{font-size:23px}.ai-main-products-grid{gap:10px}.ai-main-product{padding:12px}.ai-main-product-image{height:130px;margin:12px 0}.ai-main-product h3{font-size:14px}.ai-main-product-price{font-size:14px}.ai-main-product-description{font-size:11px}}
@media(max-width:370px){.ai-main-products-grid{grid-template-columns:1fr}.ai-main-product-image{height:175px}}

/* ai_theme: 2026-10-25 구매방식 접이식 비교 영역. 메인에만 적용 */
.ai-home .ai-purchase-compare{padding-top:0;padding-bottom:26px}
.ai-home .ai-purchase-compare-details{border:1px solid #dce7ee;background:#fff}
.ai-home .ai-purchase-compare-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 23px;cursor:pointer;list-style:none;user-select:none}
.ai-home .ai-purchase-compare-toggle::-webkit-details-marker{display:none}
.ai-home .ai-purchase-compare-intro{display:flex;flex-direction:column;gap:5px;min-width:0}
.ai-home .ai-purchase-compare-intro strong{font-size:16px;font-weight:750;color:#17384a}
.ai-home .ai-purchase-compare-intro small{font-size:12px;font-weight:400;color:#718391;line-height:1.6}
.ai-home .ai-purchase-compare-action{display:inline-flex;align-items:center;justify-content:center;gap:13px;border:1px solid #d3e1e8;padding:10px 13px;background:#f6f9fb;color:#173f53;font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}
.ai-home .ai-purchase-compare-toggle:focus-visible{outline:2px solid #207a9d;outline-offset:3px}
.ai-home .ai-compare-label-open{display:none}
.ai-home .ai-purchase-compare-details[open] .ai-compare-label-open{display:inline}
.ai-home .ai-purchase-compare-details[open] .ai-compare-label-closed{display:none}
.ai-home .ai-compare-chevron{font-size:19px;line-height:1;transform-origin:center;transition:transform .18s}
.ai-home .ai-purchase-compare-details[open] .ai-compare-chevron{transform:rotate(180deg)}
.ai-home .ai-purchase-compare-content{padding:0 23px 20px}
.ai-home .ai-purchase-compare-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ai-home .ai-purchase-compare-table{border-collapse:collapse;width:100%;table-layout:fixed;text-align:left;color:#254353}
.ai-home .ai-purchase-compare-table th,.ai-home .ai-purchase-compare-table td{border-bottom:1px solid #e4edf1;padding:13px 15px;vertical-align:middle;font-size:13px;line-height:1.6;word-break:keep-all}
.ai-home .ai-purchase-compare-table thead th{background:#eff5f8;font-weight:750;color:#17384a}
.ai-home .ai-purchase-compare-table thead th:first-child{width:24%}
.ai-home .ai-purchase-compare-table tbody th{font-weight:700;color:#35546a;background:#f9fbfc}
.ai-home .ai-purchase-compare-note{margin:14px 0 0;color:#7b8f9b;font-size:12px;line-height:1.75}
.ai-home .ai-purchase-compare *{border-radius:0!important}
@media(max-width:600px){.ai-home .ai-purchase-compare{padding-bottom:20px}.ai-home .ai-purchase-compare-toggle{padding:14px;align-items:flex-start;flex-direction:column;gap:12px}.ai-home .ai-purchase-compare-intro strong{font-size:14px}.ai-home .ai-purchase-compare-action{align-self:stretch;justify-content:space-between}.ai-home .ai-purchase-compare-content{padding:0 12px 15px}.ai-home .ai-purchase-compare-table th,.ai-home .ai-purchase-compare-table td{font-size:11px;padding:10px 7px}.ai-home .ai-purchase-compare-table thead th:first-child{width:25%}.ai-home .ai-purchase-compare-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ai-home .ai-compare-chevron{transition:none}}

/* 2026-10-25: 비교 버튼의 화살표를 텍스트와 정확히 수직 중앙 정렬 */
.ai-home .ai-purchase-compare-action{display:inline-flex;align-items:center;justify-content:center}
.ai-home .ai-compare-chevron{
  display:inline-block;
  box-sizing:border-box;
  flex:none;
  width:8px;
  height:8px;
  margin:0 2px 4px 0;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  font-size:0;
  line-height:0;
  transform:rotate(45deg);
  transform-origin:center center;
  transition:transform .18s;
}
.ai-home .ai-purchase-compare-details[open] .ai-compare-chevron{
  margin-top:4px;
  margin-bottom:0;
  transform:rotate(225deg);
}

/* Comparison visual customization (only the existing accordion). */
.ai-home .ai-purchase-compare-details{background:var(--ai-compare-bg,#eaf4f8)}
.ai-home .ai-purchase-compare-intro strong{color:var(--ai-compare-title-color,#12394d);font-size:var(--ai-compare-title-size,19px);line-height:1.45}
.ai-home .ai-purchase-compare-intro small{color:var(--ai-compare-desc-color,#557386);font-size:var(--ai-compare-desc-size,13px);line-height:1.6}
.ai-home .ai-purchase-compare-action{background:var(--ai-compare-button-bg,#123e54);color:var(--ai-compare-button-color,#fff);border-color:var(--ai-compare-button-bg,#123e54)}
.ai-home .ai-purchase-compare-toggle:hover .ai-purchase-compare-action{filter:brightness(1.09)}
.ai-home .ai-purchase-compare-toggle:focus-visible{outline:2px solid var(--ai-compare-title-color,#12394d)}


/* 2026-10-25: 구매방식 비교표 - 열별 색상과 SI구독 강조 (메인 전용) */
.ai-home .ai-purchase-compare-table{border:1px solid #d2e0e8;border-collapse:collapse;background:#fff}
.ai-home .ai-purchase-compare-table thead th{background:#244c62;color:#fff;font-weight:750;border-right:1px solid #42677a;border-bottom:1px solid #244c62}
.ai-home .ai-purchase-compare-table thead th:last-child{background:#136c8d;color:#fff;border-right:0;font-weight:800}
.ai-home .ai-purchase-compare-table tbody th{background:#edf3f6;color:#25495e;font-weight:750;border-right:1px solid #d8e4ea}
.ai-home .ai-purchase-compare-table tbody td:nth-child(2){background:#fff;color:#344d5d;font-weight:450;border-right:1px solid #dae6ec}
.ai-home .ai-purchase-compare-table tbody td:nth-child(3){background:#e7f4fa;color:#0c5979;font-weight:700}
.ai-home .ai-purchase-compare-table tbody tr:nth-child(even) td:nth-child(2){background:#f8fafc}
.ai-home .ai-purchase-compare-table tbody tr:nth-child(even) td:nth-child(3){background:#dff0f8}
.ai-home .ai-purchase-compare-table tbody tr:last-child th,.ai-home .ai-purchase-compare-table tbody tr:last-child td{border-bottom:0}

/* 히어로 질문 카드: 업로드 SVG 적용 */
.ai-hero-choices .ai-choice-icon img{display:block;width:22px;height:22px;object-fit:contain}

/* 메인 질문 카드 SVG 크기 확대 (인덱스 및 다른 기능 변경 없음) */
.ai-hero-choices .ai-choice-icon{width:46px;height:46px;flex:0 0 46px;}
.ai-hero-choices .ai-choice-icon img{width:34px;height:34px;max-width:none;max-height:none;object-fit:contain;}
@media(max-width:540px){
 .ai-hero-choices .ai-choice-icon{width:44px;height:44px;flex-basis:44px;}
 .ai-hero-choices .ai-choice-icon img{width:32px;height:32px;}
}


/* 2026-10-26: 히어로 이미지 표시 오류 수정 — 실제 마크업 선택자 적용 */
.ai-hero .ai-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(480px,.92fr);gap:clamp(20px,2.5vw,42px)}
.ai-hero-slide-with-image.is-current{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.44fr);gap:clamp(8px,1vw,18px);align-items:center}
.ai-hero-slide-copy{min-width:0}
.ai-hero-slide-with-image .ai-hero-slide-copy h1{max-width:520px;letter-spacing:-.065em}
.ai-hero-slide-with-image .ai-hero-slide-copy h1 span,.ai-hero-slide-with-image .ai-hero-slide-copy h1 em{overflow-wrap:normal;word-break:keep-all}
.ai-hero-slide-visual{width:100%;min-width:0;align-self:end;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;height:390px}
.ai-hero-slide-visual img{display:block;width:auto;max-width:100%;height:100%;max-height:390px;object-fit:contain;object-position:center bottom}
.ai-hero-slide-with-image .ai-hero-actions{flex-wrap:wrap}
@media(max-width:1250px){
 .ai-hero .ai-hero-grid{grid-template-columns:1fr}
 .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(180px,.42fr)}
 .ai-hero-slide-visual{height:360px}
 .ai-hero-slide-visual img{max-height:360px}
}
@media(max-width:767px){
 .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(110px,.45fr);gap:8px}
 .ai-hero-slide-visual{height:295px}
 .ai-hero-slide-visual img{max-height:295px}
 .ai-hero-slide-with-image .ai-hero-slide-copy h1{margin-top:8px}
}
@media(max-width:520px){
 .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(96px,.40fr);align-items:center}
 .ai-hero-slide-visual{height:235px}
 .ai-hero-slide-visual img{max-height:235px}
 .ai-hero-slide-with-image .ai-hero-slide-copy h1 span,.ai-hero-slide-with-image .ai-hero-slide-copy h1 em{font-size:clamp(23px,6vw,34px)!important}
 .ai-hero-slide-with-image .ai-hero-slide-copy p{font-size:12px!important}
}

/* 히어로 모델 이미지: 문구와 가깝게, 모든 슬라이드 동일한 중앙 정렬 */
.ai-hero .ai-hero-slide-with-image.is-current{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(170px, .57fr);
    column-gap:clamp(6px, 1vw, 15px);
    align-items:center;
}
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy{
    min-width:0;
    align-self:center;
}
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy h1{
    max-width:none;
    margin-top:18px;
    overflow-wrap:normal;
    word-break:keep-all;
}
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy h1 span,
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy h1 em{
    overflow-wrap:normal;
    word-break:keep-all;
    letter-spacing:-.06em;
}
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{
    align-self:center;
    display:flex;
    justify-content:center;
    align-items:center;
    height:360px;
    max-height:360px;
    overflow:hidden;
}
.ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:360px;
    object-fit:contain;
    object-position:center center;
}
@media(max-width:1250px){
 .ai-hero .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(160px,.53fr)}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{height:320px;max-height:320px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{max-height:320px}
}
@media(max-width:767px){
 .ai-hero .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(100px,.45fr);column-gap:7px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{height:265px;max-height:265px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{max-height:265px}
}
@media(max-width:520px){
 .ai-hero .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(85px,.42fr);column-gap:5px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{height:210px;max-height:210px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{max-height:210px}
}


/* 2026-10-26 모바일 히어로 미세조정: PC 디자인은 변경하지 않음 */
@media (max-width:600px){
 /* 제목과 이미지는 같은 행, 설명과 CTA는 전체 너비로 배치 */
 .ai-hero .ai-hero-slide-with-image.is-current{
   display:grid;
   grid-template-columns:minmax(0,1fr) minmax(100px,32%);
   column-gap:8px;
   row-gap:12px;
   align-items:center;
 }
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy{display:contents}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy h1{
   grid-column:1;
   grid-row:1;
   align-self:center;
   min-width:0;
   margin:0;
   line-height:1.25;
 }
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{
   grid-column:2;
   grid-row:1;
   align-self:center;
   justify-self:center;
   width:100%;
   height:190px;
   max-height:190px;
   display:flex;
   align-items:center;
   justify-content:center;
 }
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{
   width:auto;
   height:auto;
   max-width:100%;
   max-height:190px;
   object-fit:contain;
   object-position:center;
 }
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-copy>p{
   grid-column:1/-1;
   grid-row:2;
   margin:0;
   min-height:0;
 }
 .ai-hero .ai-hero-slide-with-image .ai-hero-actions{
   grid-column:1/-1;
   grid-row:3;
 }
 /* 이미지가 없는 슬라이드도 CTA 2개를 한 줄로 표시 */
 .ai-hero .ai-hero-slide .ai-hero-actions{
   display:flex;
   flex-flow:row nowrap!important;
   width:100%;
   gap:8px;
   align-items:stretch;
 }
 .ai-hero .ai-hero-slide .ai-hero-actions .ai-hero-custom-button{
   box-sizing:border-box;
   width:calc((100% - 8px)/2);
   flex:1 1 0;
   min-width:0;
   padding:12px 7px;
   display:inline-flex;
   align-items:center;
   justify-content:center;
   gap:6px;
   line-height:1.3;
   white-space:nowrap;
   font-size:clamp(10px,2.85vw,13px)!important;
 }
 .ai-hero .ai-hero-slide .ai-hero-actions .ai-hero-custom-button span{flex:none}
}
@media (max-width:380px){
 .ai-hero .ai-hero-slide-with-image.is-current{grid-template-columns:minmax(0,1fr) minmax(90px,29%);column-gap:5px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual{height:165px;max-height:165px}
 .ai-hero .ai-hero-slide-with-image .ai-hero-slide-visual img{max-height:165px}
 .ai-hero .ai-hero-slide .ai-hero-actions .ai-hero-custom-button{padding-inline:4px;gap:4px}
}
