/* =====================================================================
   12 — 시네마틱 제목 띠 (커뮤니티 · 정보글 · 업체와의 만남)
   ---------------------------------------------------------------------
   홈의 큰 카드(「키우는 일의 전부를」)처럼 **사진을 띠 가득** 깔고,
   왼쪽을 먹색으로 눌러 흰 굵은 제목을 얹습니다.
   ⚠️ 사진·자르는 자리는 nuri-shell.js 가 정합니다(.ph-cine, --ph-pos).
   ⚠️ 09-nuri-design.css 는 integrate.cjs 가 다시 써서 여기 따로 둡니다.
   ⚠️ 띠(.page-hero)는 자르지 않습니다 — 「동물 골라 보기」 펼침이 띠 밖으로
      나와야 해요(11-fixes.css). 둥근 모서리는 사진 상자만 자릅니다.
   ===================================================================== */

.page-hero.ph-cine{
  --cine-ink:#0a0d0b;
  width:min(1264px,calc(100% - 64px));
  min-height:clamp(260px,34vh,380px);
  margin:20px auto 0;
  padding:48px 0 40px;
  align-items:flex-end;
  border:0;
  border-radius:28px;
  background:var(--cine-ink);
  isolation:isolate;
}
/* 홈 띠의 연두 번짐·종이결은 밝은 바탕용이라 끕니다 */
.page-hero.ph-cine::after{content:none}

/* 사진 상자 — 띠 가득, 모서리 둥글게 */
.page-hero.ph-cine .ph-media{
  inset:0;width:auto;border-radius:inherit;overflow:hidden;
  -webkit-mask-image:none;mask-image:none;
  opacity:0;transition:opacity .9s ease;
}
.page-hero.ph-cine .ph-media.on{opacity:1}
.page-hero.ph-cine .ph-media img,
.page-hero.ph-cine .ph-media video{
  object-position:var(--ph-pos,50% 50%);
  transform:scale(1.06);
  transition:transform 1.6s cubic-bezier(.22,1,.36,1);
}
.page-hero.ph-cine .ph-media.on img,
.page-hero.ph-cine .ph-media.on video{transform:none}
/* 왼쪽 아래를 먹색으로 — 글이 놓이는 자리만 어둡게, 오른쪽 사진은 살립니다 */
.page-hero.ph-cine .ph-media::after{
  background:
    linear-gradient(90deg,rgba(10,13,11,.82) 0%,rgba(10,13,11,.55) 38%,rgba(10,13,11,.08) 72%),
    linear-gradient(0deg,rgba(10,13,11,.55) 0%,rgba(10,13,11,0) 55%);
}

.page-hero.ph-cine>.container{width:100%;max-width:none;padding:0 clamp(24px,4vw,56px)}

/* 글 — 흰색, 홈과 같은 굵은 고딕 */
.page-hero.ph-cine h1,
.page-hero.ph-cine p,
.page-hero.ph-cine .breadcrumb{text-shadow:0 1px 18px rgba(10,13,11,.45)}
.page-hero.ph-cine .breadcrumb,
.page-hero.ph-cine .breadcrumb a{color:rgba(255,255,255,.82);letter-spacing:.02em;opacity:1}
.page-hero.ph-cine .breadcrumb a:hover{color:#fff;text-decoration:underline}
.page-hero.ph-cine h1,
.page-hero.ph-cine .ph-title h1{
  color:#fff;
  font-family:var(--sans);
  font-weight:800;
  font-size:clamp(36px,4.6vw,64px);
  line-height:1.08;
  letter-spacing:-.045em;
}
.page-hero.ph-cine p{max-width:34rem;color:rgba(255,255,255,.88);font-size:16.5px;line-height:1.7}

/* 제목 옆 「동물 골라 보기」 — 어두운 사진 위에서 보이도록 유리 질감 */
.page-hero.ph-cine .ph-title .an-inline .an-trigger{
  color:#fff;
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.page-hero.ph-cine .ph-title .an-inline .an-trigger:hover{background:rgba(255,255,255,.24)}
.page-hero.ph-cine .an-inline .an-pop{color:var(--fg);text-shadow:none}

/* 「전체 누리」 표시 (커뮤니티 허브 제목 옆) */
.page-hero.ph-cine .hub-allbadge{
  color:#fff;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.34);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  text-shadow:none;letter-spacing:-.01em;
}
/* 제목 아래 설명 속 링크(「동물 중심으로 보기」 등) — 어두운 바탕에서 읽히게 */
.page-hero.ph-cine p a{color:color-mix(in srgb,var(--accent) 70%,#fff);text-decoration:underline;text-underline-offset:3px}
.page-hero.ph-cine p a:hover{color:#fff}

/* 「지금 무엇을 보고 있나요?」 — 사진을 가로로 가로막던 연두 막대를
   작은 유리 알약으로. 펼치면 밝은 카드가 아래로 나옵니다. */
.page-hero.ph-cine #nuriHelpHint{margin-top:12px}
.page-hero.ph-cine .nh{display:inline-block;max-width:min(100%,36rem);background:transparent;border:0;text-shadow:none}
.page-hero.ph-cine .nh-h{
  display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;
  border-radius:999px;border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.14);color:#fff;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.page-hero.ph-cine .nh-h b{color:#fff;font-weight:600}
.page-hero.ph-cine .nh-h::after{color:rgba(255,255,255,.8)}
.page-hero.ph-cine .nh-h:hover{background:rgba(255,255,255,.24)}
.page-hero.ph-cine .nh-h:focus-visible{outline:2px solid #fff;outline-offset:2px}
.page-hero.ph-cine .nh-ico{display:none}
.page-hero.ph-cine .nh[open] .nh-body{
  margin-top:8px;padding:14px 16px;border-radius:18px;
  background:var(--surface,#fffdf8);color:var(--fg);border:1px solid var(--line);
}
.page-hero.ph-cine .nh-body p{color:var(--fg-2);font-size:14px;text-shadow:none}

/* 띠 아래 본문이 띠에 바짝 붙지 않게 */
.page-hero.ph-cine + .section{padding-top:28px}

@media (max-width:900px){
  .page-hero.ph-cine{
    width:calc(100% - 32px);
    min-height:220px;
    margin-top:12px;
    padding:32px 0 26px;
    border-radius:22px;
  }
  .page-hero.ph-cine>.container{padding:0 20px}
  .page-hero.ph-cine h1,
  .page-hero.ph-cine .ph-title h1{font-size:clamp(30px,8.4vw,40px)}
  .page-hero.ph-cine p{font-size:14.5px;line-height:1.6}
  /* 폰 띠는 거의 정사각이라 커뮤니티 그림의 간판 글씨까지 들어옵니다 — 그 그림만 더 당겨서 아래쪽(동물들)만 */
  .page-hero.ph-cine[data-cine="community"] .ph-media.on img{transform:scale(1.45);transform-origin:50% 92%}
  /* 폰에서는 글이 띠 폭을 다 써서 아래쪽까지 어둡게 */
  .page-hero.ph-cine .ph-media::after{
    background:linear-gradient(0deg,rgba(10,13,11,.85) 0%,rgba(10,13,11,.5) 55%,rgba(10,13,11,.2) 100%);
  }
}

@media (prefers-reduced-motion:reduce){
  .page-hero.ph-cine .ph-media img,
  .page-hero.ph-cine .ph-media video{transform:none;transition:none}
}

/* =====================================================================
   ✂️ 사진 띠는 「제목 + 이 공간이 무엇을 하는 곳인지 한 줄」 만 (운영자 요청 2026-11-19)
   「누를 단추가 너무 많고, 같은 정보가 너무 많다」.
   지금 무엇을 보는지(전체 누리 / 동물)와 동물 바꾸기는 머리띠 바로 아래
   「현재 보기」 줄이 **한 곳에서** 맡습니다. 띠에서 같은 말 · 같은 단추를 뺍니다:
     · 「지금 무엇을 보고 있나요?」 안내   — 현재 보기 줄이 그 답이에요
     · 제목 옆 「전체 누리」 · 「동물 골라 보기 ▾」 — 현재 보기 줄의 「동물 중심으로 보기 ▾」 와 같은 일
     · 허브의 「홈 / 전체 일정」 길잡이   — 바로 아래 큰 제목과 같은 말 (갈래 › 종 처럼
       단계가 있는 동물 화면의 길잡이는 남깁니다)
   ===================================================================== */
.page-hero.ph-cine #nuriHelpHint,
.page-hero.ph-cine .ph-title .an-inline,
.page-hero.ph-cine .hub-allbadge,
.page-hero.ph-cine .hub-lead-go{display:none!important}
body[data-page="hub"] .page-hero.ph-cine .breadcrumb{display:none}
body[data-page="hub"] .page-hero.ph-cine .ph-title{margin-top:0}
