/* kb-g3d.css — Gemini로 만든 실사 피규어·미니어처 이미지를 페이지에 얹는 공통 스타일 (2026.11)
   이미지: img/g3d/  (figure-*: 김보미 리얼 피규어, scene-*: 미니어처 디오라마, ic-*: 버튼용 3D 아이콘) */

/* 버튼·카드용 3D 아이콘 타일 — 크림색 배경이 이미지에 포함돼 있어 둥근 타일로 보인다 */
.g3i{display:block;width:56px;height:56px;border-radius:14px;object-fit:cover;flex:none;
  background:#F3EEE3;box-shadow:0 1px 0 rgba(0,0,0,.04),0 4px 12px rgba(15,35,64,.08)}
.g3i.sm{width:42px;height:42px;border-radius:11px}
.g3i.lg{width:72px;height:72px;border-radius:18px}

/* 섹션 위 와이드 배너(디오라마) — 부모 상자의 모서리에 꼭 맞춘다 */
.g3band{display:block;overflow:hidden;position:relative;background:#1b2a3f}
.g3band img{display:block;width:100%;height:100%;object-fit:cover}

/* 서브페이지 머리말: 왼쪽 글 + 오른쪽 이미지 */
.g3hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,44%);gap:34px;align-items:center;text-align:left}
.g3hero .g3t{min-width:0}
.g3hero .g3f{margin:0;aspect-ratio:16/9;background:none;box-shadow:none;border-radius:0}
.g3hero .g3f img{display:block;width:100%;height:100%;object-fit:cover}
.g3hero .g3f.fig{aspect-ratio:auto;background:#EFE7D6;box-shadow:none;max-width:340px;justify-self:center}
.g3hero .g3f.fig img{height:auto}
.g3hero h1,.g3hero p{text-align:left}

@media(max-width:820px){
  .g3hero{grid-template-columns:1fr;gap:20px}
  .g3hero .g3f{order:-1}
  .g3hero .g3f.fig{max-width:240px}
}
@media(prefers-reduced-motion:no-preference){
  .g3hero .g3f img,.g3band img{animation:g3in .7s ease both}
  @keyframes g3in{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:none}}
}

/* 글자 버튼 안의 작은 3D 아이콘 (이모지 대신) */
.g3i.in{display:inline-block;width:28px;height:28px;border-radius:8px;vertical-align:middle;margin:-4px 6px -2px 0;box-shadow:none}

/* 2026-11 다듬기 — 작은 머리말은 고정폭·대문자·넓은 자간 대신 본문 글꼴로 (AI 템플릿 티 줄이기) */
.eyebrow,.hero .eyebrow,.alme-eyebrow{font-family:inherit!important;text-transform:none!important;letter-spacing:.01em!important;font-weight:700}

/* 브라우저 기본 표면도 사이트 색으로: 글자 선택, 키보드 초점, 입력 커서 */
::selection{background:rgba(15,90,74,.18);color:inherit}
:focus-visible{outline:2px solid #0F5A4A;outline-offset:2px}
input,textarea{caret-color:#0F5A4A}
html[data-theme="dark"] ::selection{background:rgba(142,207,178,.28)}
html[data-theme="dark"] :focus-visible{outline-color:#8ECFB2}

/* 2026-11 슬로건 띠 — Gemini로 만든 아트토이 미니어처 장면 위에 김보미 한 줄 (글자는 HTML이라 또렷하고 검색에도 잡힘) */
.kslog{padding:36px 16px 44px}
.kslog-in{position:relative;max-width:1200px;margin:0 auto;border-radius:22px;overflow:hidden;aspect-ratio:16/9;max-height:600px;background:#F7F2E6;box-shadow:0 18px 40px rgba(40,30,10,.10);container-type:inline-size}
.kslog-in img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;display:block}
.kslog-in::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(247,242,230,.97) 0%,rgba(247,242,230,.93) 36%,rgba(247,242,230,.5) 47%,rgba(247,242,230,0) 60%)}
.kslog .kslog-t{position:absolute;z-index:2;left:6%;top:0;bottom:0;width:46%;margin:0;display:flex;flex-direction:column;justify-content:center}
.kslog .kslog-t p{margin:0!important;padding:0;font-family:'Noto Serif KR','Nanum Myeongjo',serif!important;font-weight:900!important;font-size:clamp(24px,4.4cqi,58px)!important;line-height:1.34!important;letter-spacing:-.035em;color:#16191C!important;word-break:keep-all;max-width:none}
.kslog .kslog-t p em{font-style:normal;color:#0F5A4A}
.kslog .kslog-t cite{margin-top:clamp(14px,2vw,26px);display:flex;align-items:center;gap:12px;font:700 clamp(14px,1.6cqi,20px)/1 'Pretendard Variable',sans-serif;font-style:normal;color:#16305A}
.kslog .kslog-t cite::before{content:"";width:38px;height:3px;background:#C99A2E;border-radius:2px}
@media(max-width:760px){
  .kslog{padding:24px 16px 30px}
  .kslog-in{aspect-ratio:auto;max-height:none;display:flex;flex-direction:column}
  .kslog-in img{position:relative;inset:auto;height:62vw;object-position:78% center}
  .kslog-in::before{display:none}
  .kslog .kslog-t{position:relative;left:auto;width:auto;padding:20px 22px 24px}
  .kslog .kslog-t p{font-size:1.6rem!important}
}
html[data-theme="dark"] .kslog-in{box-shadow:0 18px 40px rgba(0,0,0,.4)}

/* 2026-11-07 이미지 자연스럽게 — 크림색 바탕이 든 디오라마가 흰 상자처럼 떠 보이지 않도록
   네 가장자리를 투명하게 풀어 페이지 바탕색(밝은·어두운 테마 모두)에 스며들게 한다. 상자 모서리·그림자 없음 */
:root{--g3-feather:linear-gradient(90deg,transparent 0,#000 13%,#000 87%,transparent 100%),linear-gradient(180deg,transparent 0,#000 11%,#000 89%,transparent 100%)}
.g3hero .g3f:not(.fig) img,.kslog-in{
  -webkit-mask-image:var(--g3-feather);mask-image:var(--g3-feather);
  -webkit-mask-composite:source-in;mask-composite:intersect;border-radius:0!important}
.kslog-in{box-shadow:none!important;border-radius:0!important;
  --g3-feather:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%),linear-gradient(180deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
html[data-theme="dark"] .kslog-in{box-shadow:none!important}
/* 피규어(공약 쪽) — 크림 바탕을 가장자리에서 풀어 준다 */
.g3hero .g3f.fig{background:none}
.g3hero .g3f.fig img{-webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 72%,transparent 100%);mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 72%,transparent 100%)}
