/* =========================================================================
   템플릿 공통 CSS (모든 템플릿 사이트가 같이 쓴다)
   -------------------------------------------------------------------------
   규칙 (새 템플릿도 이대로):
   1. 이 파일은 @layer t-core, 템플릿의 theme.css 는 @layer t-theme. theme 이 늘 이긴다.
   2. 색 · 글꼴 · 크기 · 간격은 아래 :root 토큰만 바꾼다. theme.css 맨 위에서 덮어쓴다.
      간격(--t-gap-*) · 글자(--t-fs-*)는 화면 너비를 따라 줄어드는 clamp 값이다(숫자 = 넓은 화면 px).
   3. 공통 부품은 .t-이름 / .t-이름__부분 / .t-이름--변형 (BEM). 템플릿만의 부품은 .{키}-이름(.wp-hero).
   4. 화면 너비 기준: 1440 · 1024 · 768 · 480. 큰 화면부터 줄여 내려간다(max-width).
   5. 움직임은 .t-reveal 과 hover 전환뿐. prefers-reduced-motion 이면 모두 끈다.
   6. core 는 템플릿 폴더의 그림을 부르지 않는다. 아이콘이 필요하면 아래 토큰(data URI)을 쓰고, 템플릿이 바꾼다.
   ========================================================================= */
@layer t-core, t-theme;

@layer t-core {
  :root {
    /* 색 */
    --t-primary: #111;
    --t-primary-ink: #fff;          /* primary 위 글자 */
    --t-text: #111;
    --t-text-2: #333;
    --t-text-3: #555;
    --t-muted: #888;
    --t-line: #ddd;
    --t-line-2: #d9d9d9;
    --t-bg: #fff;
    --t-bg-soft: #f5f5f5;
    --t-bg-dark: #000;
    --t-on-dark: #fff;

    /* 글꼴 */
    --t-font: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
    --t-font-en: var(--t-font);

    /* 글자 크기 (숫자 = 넓은 화면 px) */
    --t-fs-display: clamp(34px, 4.9vw, 70px);  /* 메인 첫 화면 제목 */
    --t-fs-h2: clamp(30px, 3.75vw, 54px);      /* 메인 섹션 제목 */
    --t-fs-h3: clamp(22px, 2.4vw, 34px);       /* 메인 카드 제목 */
    --t-fs-lead: clamp(17px, 1.7vw, 24px);
    --t-fs-eyebrow: clamp(16px, 1.55vw, 22px);
    --t-fs-body: clamp(15px, 1.25vw, 18px);
    --t-fs-small: 15px;
    --t-fs-15: clamp(13px, 1.5vw, 15px);
    --t-fs-18: clamp(14px, 1.8vw, 18px);
    --t-fs-20: clamp(14px, 2vw, 20px);
    --t-fs-24: clamp(17px, 2.4vw, 24px);
    --t-fs-26: clamp(17px, 2.6vw, 26px);
    --t-fs-30: clamp(19px, 3vw, 30px);
    --t-fs-36: clamp(22px, 3.6vw, 36px);
    --t-fs-40: clamp(24px, 4vw, 40px);
    --t-fs-46: clamp(27px, 4.6vw, 46px);
    --t-fs-50: clamp(29px, 5vw, 50px);
    --t-fs-54: clamp(31px, 5.4vw, 54px);
    --t-fs-60: clamp(34px, 6vw, 60px);
    --t-fs-70: clamp(39px, 7vw, 70px);

    /* 간격 (숫자 = 넓은 화면 px) */
    --t-gap-10: clamp(7px, 1vw, 10px);
    --t-gap-15: clamp(10px, 1.5vw, 15px);
    --t-gap-20: clamp(12px, 2vw, 20px);
    --t-gap-30: clamp(15px, 3vw, 30px);
    --t-gap-40: clamp(25px, 4vw, 40px);
    --t-gap-50: clamp(30px, 5vw, 50px);
    --t-gap-60: clamp(30px, 6vw, 60px);
    --t-gap-80: clamp(40px, 8vw, 80px);
    --t-gap-100: clamp(70px, 10vw, 100px);
    --t-gap-140: clamp(70px, 14vw, 140px);
    --t-col-20: clamp(15px, 1.1vw, 20px);
    --t-col-40: clamp(15px, 2.1vw, 40px);

    /* 틀 */
    --t-container: 1730px;
    --t-gutter: 30px;
    --t-header-h: 110px;
    --t-section-gap: 140px;
    --t-radius-s: 10px;
    --t-radius-m: 15px;
    --t-radius-l: 20px;
    --t-pill: 999px;
    --t-ease: cubic-bezier(.22, .61, .36, 1);
    --t-shadow: 0 0 20px rgb(0 0 0 / .2);

    /* 아이콘 */
    --t-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E");
    --t-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5'/%3E%3Cpath d='M16 16l6 6'/%3E%3C/svg%3E");
  }

  /* ---------------------------------------------------------------- 바탕 */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--t-header-h); }
  body {
    margin: 0;
    font-family: var(--t-font);
    font-size: var(--t-fs-small);
    line-height: 1.3;
    color: var(--t-text);
    background: var(--t-bg);
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4, h5, p, dl, dd, ul, ol, figure { margin: 0; }
  h1, h2, h3, h4, h5 { font-size: inherit; font-weight: inherit; }
  ul, ol { padding: 0; list-style: none; }
  em, i { font-style: normal; }
  a { color: inherit; text-decoration: none; }
  img, video, svg, iframe { display: block; max-width: 100%; }
  img { height: auto; }
  iframe { border: 0; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  input, select, textarea { font: inherit; color: inherit; }
  table { border-collapse: collapse; }
  :focus-visible { outline: 2px solid var(--t-primary); outline-offset: 3px; }

  .t-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .t-skip a {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 12px 18px; background: var(--t-primary); color: var(--t-primary-ink);
  }
  .t-skip a:focus { top: 16px; }

  .t-container {
    width: min(100% - var(--t-gutter) * 2, var(--t-container));
    margin-inline: auto;
  }
  /* 카드 전체를 덮는 링크(카드 안 글자는 그대로 두고 어디를 눌러도 간다) */
  .t-cover-link { position: absolute; inset: 0; z-index: 3; }

  /* 넓은 화면에서만 줄을 바꾸는 <br class="t-br-pc"> */
  @media (max-width: 1024px) { .t-br-pc { display: none; } }

  /* --------------------------------------------------------------- 머리말 */
  .t-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--t-header-h);
    background: var(--t-bg);
    box-shadow: inset 0 -1px 0 var(--t-line);
  }
  .t-header__inner {
    position: relative; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
  }
  .t-logo img { width: auto; height: 36px; }
  .t-header__menu { display: grid; gap: 5px; width: 28px; padding: 6px 0; }
  .t-header__menu span { display: block; height: 2px; background: currentColor; border-radius: 2px; }

  /* 대메뉴 + 펼침 메뉴 (마우스를 올리거나 키보드로 들어가면 열린다) */
  .t-gnb {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    display: flex; gap: clamp(24px, 4.2vw, 60px); height: 100%;
  }
  .t-gnb__item { position: relative; }
  .t-gnb__link {
    display: flex; align-items: center; height: 100%;
    font-size: 19px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap;
    transition: color .2s;
  }
  .t-gnb__item:hover > .t-gnb__link,
  .t-gnb__item:focus-within > .t-gnb__link,
  .t-gnb__item.is-current > .t-gnb__link { color: var(--t-primary); }
  .t-gnb__sub {
    position: absolute; left: 50%; top: calc(var(--t-header-h) - 22px);
    width: 200px; padding: 20px 0; border-radius: var(--t-radius-s);
    background: var(--t-primary); color: var(--t-primary-ink);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
    transition: opacity .2s, transform .2s var(--t-ease), visibility .2s;
  }
  .t-gnb__item:hover > .t-gnb__sub,
  .t-gnb__item:focus-within > .t-gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .t-gnb__sub > li { position: relative; }
  .t-gnb__sub a { display: block; padding: 10px 20px; font-size: 17px; font-weight: 500; line-height: 1.3; }
  .t-gnb__sub a:hover, .t-gnb__sub a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
  .t-gnb__sub3 {
    position: absolute; left: 100%; top: -20px; width: 230px; padding: 20px 0;
    border-radius: var(--t-radius-s); background: var(--t-bg-dark); color: var(--t-on-dark);
    opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
  }
  .t-gnb__sub > li:hover > .t-gnb__sub3,
  .t-gnb__sub > li:focus-within > .t-gnb__sub3 { opacity: 1; visibility: visible; }

  /* 전체 메뉴 (오른쪽 단추) */
  .t-allmenu {
    position: fixed; inset: 0; z-index: 60;
    background: var(--t-bg-dark); color: var(--t-on-dark);
    overflow-y: auto; opacity: 0; visibility: hidden;
    /* 닫을 땐 흐려진 뒤에 숨기고, 열 땐 바로 보이게 한다(열자마자 닫기 단추로 초점을 옮겨야 해서). */
    transition: opacity .3s, visibility 0s .3s;
  }
  .t-allmenu.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
  .t-allmenu__head { display: flex; justify-content: flex-end; align-items: center; height: var(--t-header-h); }
  .t-allmenu__close { position: relative; width: 36px; height: 36px; }
  .t-allmenu__close::before, .t-allmenu__close::after {
    content: ""; position: absolute; left: 4px; top: 17px; width: 28px; height: 2px; background: currentColor;
  }
  .t-allmenu__close::before { transform: rotate(45deg); }
  .t-allmenu__close::after { transform: rotate(-45deg); }
  .t-allmenu__list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px 32px;
    padding: 40px 0 120px;
  }
  .t-allmenu__list > li > a { display: block; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / .2); font-size: 22px; font-weight: 600; }
  .t-allmenu__list ul a { display: block; padding: 7px 0; font-size: 17px; opacity: .75; }
  .t-allmenu__list ul a:hover { opacity: 1; }
  .t-allmenu__list ul ul { padding-left: 12px; }
  .t-allmenu__list ul ul a { font-size: 15px; }
  body.is-locked { overflow: hidden; }

  /* ------------------------------------------------------------ 본문 틀 */
  .t-main { padding-top: var(--t-header-h); overflow-x: clip; }  /* 가로 줄이 화면 끝까지 흘러넘쳐도 가로 스크롤은 생기지 않게 */
  .t-main--flush { padding-top: 0; }
  .t-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--t-section-gap); }

  /* 메인 섹션 제목: 윗줄(영문) + 큰 제목 */
  .t-title__eyebrow { font-family: var(--t-font-en); font-size: var(--t-fs-eyebrow); font-weight: 500; line-height: 1.4; color: var(--t-primary); }
  .t-title__heading { margin-top: 6px; font-size: var(--t-fs-h2); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
  .t-title__lead { margin-top: 20px; font-size: var(--t-fs-lead); font-weight: 500; line-height: 1.6; letter-spacing: -.03em; opacity: .8; }
  .t-title--light { color: var(--t-on-dark); }
  .t-title--light .t-title__eyebrow { color: rgb(255 255 255 / .8); }
  .t-title--center { text-align: center; }

  /* 하위 페이지 본문 제목 묶음: h2~h5 + 설명 문단. .is-dot 은 제목 오른쪽 위 점 */
  .t-heading { display: flex; flex-direction: column; gap: var(--t-gap-30); margin-bottom: var(--t-gap-50); }
  .t-heading--center { text-align: center; }
  .t-heading :is(h2, h3, h4, h5) { position: relative; font-weight: 600; line-height: 1.4; letter-spacing: -.03em; color: #000; }
  .t-heading h2 { font-size: var(--t-fs-54); line-height: 1.3; }
  .t-heading h3 { font-size: var(--t-fs-50); }
  .t-heading h4 { font-size: var(--t-fs-46); }
  .t-heading h5 { font-size: var(--t-fs-40); line-height: 1.3; }
  .t-heading .is-dot { width: fit-content; padding-right: clamp(14px, 2vw, 20px); }
  .t-heading .is-dot::after { content: ""; position: absolute; top: 0; right: 0; width: clamp(6px, 1vw, 8px); aspect-ratio: 1; border-radius: 50%; background: var(--t-primary); }
  .t-heading p { font-size: var(--t-fs-18); line-height: 1.8; letter-spacing: -.03em; color: #000; }

  /* 점 목록 */
  .t-bullets { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 12px); width: 100%; }
  .t-bullets > li { display: flex; align-items: baseline; gap: clamp(6px, 1vw, 8px); font-size: var(--t-fs-18); line-height: 1.4; letter-spacing: -.03em; color: var(--t-text-3); }
  .t-bullets > li::before { content: ""; flex-shrink: 0; width: clamp(2px, .5vw, 3px); aspect-ratio: 1; border-radius: 50%; background: var(--t-muted); translate: 0 clamp(-6px, -.8vw, -4px); }
  .t-bullets--lg { gap: var(--t-gap-20); }
  .t-bullets--lg > li { font-size: var(--t-fs-20); line-height: 1.6; gap: clamp(8px, 1.4vw, 12px); }
  .t-bullets--lg > li::before { background: var(--t-text-3); }

  /* VIEW MORE + 동그라미 화살표 */
  .t-more {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--t-font-en); font-size: 18px; font-weight: 600; color: inherit;
  }
  .t-more__arrow {
    display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%;
    background: var(--t-primary); transition: transform .3s var(--t-ease);
  }
  .t-more__arrow img { width: 11px; }
  .t-more:hover .t-more__arrow { transform: translateX(6px); }

  /* 동그라미 바로가기 표시(카드 오른쪽 위) */
  .t-go {
    display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    background: var(--t-bg); flex: none;
  }
  .t-go img { width: 14px; }

  /* 알약 탭(메인) */
  .t-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
  .t-tab {
    display: inline-flex; align-items: center; height: 45px; padding: 0 24px;
    border: 1px solid var(--t-line); border-radius: var(--t-pill);
    font-size: 18px; font-weight: 500; letter-spacing: -.03em; color: var(--t-muted);
    transition: background-color .2s, color .2s, border-color .2s;
  }
  .t-tab:hover { color: var(--t-text); border-color: var(--t-text); }
  .t-tab[aria-selected="true"], .t-tab.is-current {
    background: var(--t-primary); border-color: var(--t-primary); color: var(--t-primary-ink);
  }
  [data-t-panel][hidden] { display: none; }

  /* 가로로 넘기는 줄 (손가락 · 마우스 끌기). 오른쪽 화면 끝까지 흘러넘친다. */
  .t-carousel { position: relative; }
  .t-carousel__track {
    display: flex; gap: var(--t-carousel-gap, 40px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; overscroll-behavior-x: contain;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: calc((100vw - 100%) / 2);
    cursor: grab;
  }
  .t-carousel__track::-webkit-scrollbar { display: none; }
  .t-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .t-carousel__track > * { flex: 0 0 var(--t-slide-w, 355px); scroll-snap-align: start; }
  /* 넘김 단추(data-t-carousel-prev / -next). 같은 섹션 안의 가로 줄을 한 장씩 민다. */
  .t-carousel__nav { display: flex; gap: 10px; }
  .t-carousel__btn {
    display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--t-line-2); border-radius: 50%;
    background: var(--t-bg); color: var(--t-text); cursor: pointer; transition: border-color .2s, opacity .2s;
  }
  .t-carousel__btn:hover:not(:disabled) { border-color: var(--t-text); }
  .t-carousel__btn:disabled { opacity: .35; cursor: default; }

  /* ------------------------------------------------------- 영상 첫 화면 */
  .t-hero-video {
    position: relative; display: grid; place-items: center;
    height: var(--t-hero-h, 960px); overflow: hidden; color: var(--t-on-dark);
    background: var(--t-bg-dark);
  }
  .t-hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .t-hero-video::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .25); }
  .t-hero-video__text { position: relative; z-index: 1; text-align: center; }

  /* ====================================================== 하위 페이지 머리 (YHB 틀, 2026-10-14) */
  /* 큰 사진 + 제목 + 한 줄 설명. 사진은 들어올 때 살짝 줄어든다 */
  .t-sv { position: relative; overflow: hidden; color: var(--t-on-dark); background: #1c1d1d; }
  .t-sv__bg { position: absolute; inset: 0; background: center / cover no-repeat; animation: t-sv-in 2s var(--t-ease) both; }
  .t-sv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 15 15 / .66) 0%, rgb(14 15 15 / .25) 100%); }
  .t-sv__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: clamp(200px, 22vw, 320px); padding-block: 40px; }
  .t-sv__title { font-size: clamp(32px, 4.2vw, 58px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; }
  .t-sv__desc { font-size: var(--t-fs-18); line-height: 1.5; color: rgb(255 255 255 / .88); }
  @keyframes t-sv-in { from { scale: 1.08; } to { scale: 1; } }

  /* 위치 줄: 왼쪽 경로, 오른쪽 같은 단계 메뉴(지금 쪽은 빨간 밑줄) */
  .t-lnb { border-bottom: 1px solid var(--t-line); background: var(--t-bg); }
  .t-lnb__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 40px; min-height: 64px; }
  .t-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: #878787; }
  .t-path li { display: flex; align-items: center; gap: 10px; }
  .t-path li + li::before { content: ""; width: 6px; height: 6px; border: solid #b3b3b3; border-width: 1.5px 1.5px 0 0; rotate: 45deg; }
  .t-path a:hover { color: var(--t-text); }
  .t-path [aria-current="page"] { font-weight: 600; color: var(--t-primary); }
  .t-path__home { display: grid; place-items: center; width: 28px; height: 28px; color: #878787; }
  .t-lnb__list { display: flex; gap: clamp(20px, 3.2vw, 46px); overflow-x: auto; scrollbar-width: none; }
  .t-lnb__list::-webkit-scrollbar { display: none; }
  .t-lnb__list a { position: relative; display: flex; align-items: center; height: 64px; font-size: 16px; font-weight: 600; white-space: nowrap; color: var(--t-text-2); transition: color .2s; }
  .t-lnb__list a:hover, .t-lnb__list a[aria-current="page"] { color: var(--t-primary); }
  .t-lnb__list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--t-primary); }
  .t-page { padding-block: clamp(50px, 7vw, 90px) clamp(90px, 12vw, 140px); }

  /* ===================================================== 하위 페이지 부품 */
  /* 쪽 안의 항목(layout item): 항목끼리 띄운다. 머리말에 가리지 않게 스크롤 위치를 내린다 */
  .t-item { margin-top: var(--t-gap-100); scroll-margin-top: calc(var(--t-header-h) + 20px); }

  .t-nodata { padding-block: var(--t-gap-30); font-size: var(--t-fs-15); text-align: center; color: #666; }

  .t-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--t-gap-15); margin-top: clamp(30px, 6vw, 60px); }
  .t-btn {
    display: inline-flex; align-items: center; justify-content: center; min-width: clamp(110px, 16vw, 140px);
    padding: clamp(11px, 2vw, 14px) 20px clamp(11px, 2vw, 15px); border: 1px solid var(--t-text-2); border-radius: 50px;
    background: var(--t-bg); font-size: var(--t-fs-18); font-weight: 500; line-height: 1.4; letter-spacing: -.03em; color: var(--t-text-2);
    transition: background-color .2s, color .2s;
  }
  .t-btn:hover { background: var(--t-text-2); color: var(--t-bg); }
  .t-btn--primary { min-width: clamp(180px, 22vw, 240px); min-height: 60px; border-color: var(--t-primary); border-radius: 8px; background: var(--t-primary); font-weight: 700; color: var(--t-primary-ink); }
  .t-btn--primary:hover { border-color: #c4000d; background: #c4000d; color: var(--t-primary-ink); }

  /* 사진 카드 목록 */
  .t-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--t-col-40); }
  .t-gallery > li { position: relative; overflow: hidden; border-radius: var(--t-radius-l); background: var(--t-bg); box-shadow: inset 0 0 0 1px var(--t-line); }
  .t-gallery > li::before { content: ""; position: absolute; inset: 0; z-index: 1; border: 2px solid var(--t-primary); border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none; }
  .t-gallery__thumb { position: relative; display: block; aspect-ratio: 1.571; overflow: hidden; background: var(--t-bg-soft); }
  .t-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s; }
  .t-gallery__thumb i {
    position: absolute; top: clamp(15px, 2vw, 20px); left: clamp(15px, 2vw, 20px); padding: clamp(6px, 1vw, 8px) clamp(10px, 1.2vw, 12px);
    border-radius: 4px; background: var(--t-primary); font-size: clamp(14px, 1.7vw, 17px); line-height: 1.2; color: var(--t-primary-ink);
  }
  .t-gallery__desc { display: grid; gap: var(--t-gap-20); padding: var(--t-gap-30); }
  .t-gallery__desc :is(dt, dd) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: break-all; }
  .t-gallery__desc dt { -webkit-line-clamp: 1; font-size: var(--t-fs-26); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; color: var(--t-text-2); }
  .t-gallery__desc dd { font-size: var(--t-fs-18); line-height: 1.6; letter-spacing: -.03em; color: var(--t-text-3); }
  @media (hover: hover) and (pointer: fine) {
    .t-gallery > li:hover::before { opacity: 1; }
    .t-gallery > li:hover .t-gallery__thumb img { scale: 1.08; }
  }

  /* 사진 카드 한 장(메인 소식 · PostCard.cshtml) */
  .t-post-card { display: block; }
  .t-post-card__thumb { aspect-ratio: 431 / 276; overflow: hidden; border-radius: var(--t-radius-s); background: var(--t-bg-soft); }
  .t-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--t-ease); }
  .t-post-card:hover .t-post-card__thumb img { transform: scale(1.05); }
  .t-post-card__body { padding: 24px 4px 0; }
  .t-post-card__label { font-size: 15px; font-weight: 600; color: var(--t-primary); }
  .t-post-card__title { margin-top: 8px; font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -.03em; color: var(--t-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .t-post-card__excerpt { margin-top: 6px; font-size: 17px; line-height: 1.6; color: var(--t-text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .t-post-card__date { margin-top: 14px; font-size: 15px; color: var(--t-muted); }

  /* ====================================================== 게시판 (YHB 틀, 모든 템플릿 공통, 2026-10-14) */
  /* 분류 알약 */
  .t-board-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--t-gap-40); }
  .t-board-cats a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid #dde3e9; border-radius: var(--t-pill);
    background: var(--t-bg); font-size: 16px; font-weight: 600; color: #5c6672; transition: border-color .2s, background-color .2s, color .2s;
  }
  .t-board-cats a:hover { border-color: #b9c3cc; color: #2b323a; }
  .t-board-cats a[aria-current="page"] { border-color: var(--t-primary); background: var(--t-primary); color: var(--t-primary-ink); }

  /* 전체 N건 + 검색 */
  .t-board-search { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
  .t-board-search__total { font-size: 15px; color: #686868; }
  .t-board-search__total strong { font-weight: 700; color: var(--t-primary); }
  .t-board-search__form { display: flex; gap: 5px; margin-left: auto; }
  .t-board-search :is(select, input) { height: 44px; padding: 0 14px; border: 1px solid #ddd; border-radius: 4px; background-color: var(--t-bg); font: inherit; font-size: 15px; color: #333; }
  .t-board-search :is(select, input):focus { outline: none; border-color: var(--t-primary); }
  .t-board-search select { width: 150px; padding-right: 36px; appearance: none; background: var(--t-bg) var(--t-icon-chevron) no-repeat right 14px center / 12px auto; }
  .t-board-search input { width: 300px; }
  .t-board-search input::placeholder { color: #8a8a8a; }
  .t-board-search button { height: 44px; padding: 0 24px; border: 0; border-radius: 4px; background: var(--t-primary); font-size: 15px; font-weight: 600; color: var(--t-primary-ink); cursor: pointer; transition: background-color .2s; }
  .t-board-search button:hover { background: #c4000d; }

  /* 표 목록 */
  .t-board-list { width: 100%; border-collapse: collapse; border-top: 2px solid #868686; }
  .t-board-list th { height: 53px; padding: 9px 5px; border-bottom: 1px solid #ddd; background: #fafafa; font-size: 16px; font-weight: 700; color: #333; }
  .t-board-list td { height: 53px; padding: 9px 5px; border-bottom: 1px solid #ddd; font-size: 16px; text-align: center; color: #505050; }
  .t-board-list .is-no { width: 90px; }
  .t-board-list .is-writer { width: 120px; }
  .t-board-list .is-date { width: 140px; }
  .t-board-list .is-file { width: 90px; }
  .t-board-list td.is-subject { padding-left: 15px; text-align: left; }
  .t-board-list td.is-subject a:hover { text-decoration: underline; }
  .t-board-list tbody tr:hover td { background: #fafafa; }
  .t-board-file { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--t-primary); transition: background-color .2s; }
  .t-board-file:hover { background: #fdecee; }
  /* 좁은 화면 줄 목록 */
  .t-board-m { display: none; border-top: 2px solid #868686; }
  .t-board-m li { border-bottom: 1px solid #ddd; }
  .t-board-m a { display: block; padding: 14px 2px; }
  .t-board-m__tit { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; color: #333; }
  .t-board-m__info { margin-top: 7px; font-size: 12px; color: #888; }
  .t-board-m__info span { margin-right: 10px; }
  .t-board-empty { padding: var(--t-gap-80) 0; border-top: 2px solid #868686; border-bottom: 1px solid #ddd; font-size: 16px; text-align: center; color: #8b9199; }

  /* 사진 목록: 4칸 정사각, 가운데 제목 · 날짜 */
  .t-board-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px 30px; padding-block: 25px 35px; border-top: 2px solid #868686; border-bottom: 1px solid #ddd; }
  .t-board-gallery a { display: block; text-align: center; }
  .t-board-gallery__thumb { position: relative; display: block; aspect-ratio: 1; margin-bottom: 12px; overflow: hidden; background: var(--t-bg-soft); }
  .t-board-gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(0 0 0 / .08); }
  .t-board-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s ease-in-out; }
  .t-board-gallery a:hover .t-board-gallery__thumb img { scale: 1.05; }
  .t-board-gallery__cat { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--t-primary); }
  .t-board-gallery__tit { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.4; color: #333; }
  .t-board-gallery a:hover .t-board-gallery__tit { text-decoration: underline; }
  .t-board-gallery__date { display: block; margin-top: 6px; font-size: 14px; color: #767676; }

  /* 자주 묻는 질문: Q 표식 + 질문 + 둥근 화살표. 열면 회색 상자에 A */
  .t-faq { border-top: 2px solid var(--t-text); }
  .t-faq > li { border-bottom: 1px solid #e5e9ed; }
  .t-faq__item summary { display: flex; align-items: flex-start; gap: 16px; padding-block: 28px; cursor: pointer; list-style: none; }
  .t-faq__item summary::-webkit-details-marker { display: none; }
  .t-faq__mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--t-primary); font-size: 16px; font-weight: 700; line-height: 1; color: var(--t-primary-ink); }
  .t-faq__mark--a { background: #e6eaee; color: #4a5159; }
  .t-faq__q { flex: 1; min-width: 0; padding-top: 4px; font-size: var(--t-fs-18); font-weight: 600; line-height: 1.5; color: var(--t-text); transition: color .2s; }
  .t-faq__ico { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; background: #f1f4f7; transition: background-color .2s; }
  .t-faq__ico::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px; border: solid #7b838c; border-width: 0 2px 2px 0; rotate: 45deg; transition: rotate .25s, border-color .2s; }
  .t-faq__item summary:hover .t-faq__ico { background: #e6ebef; }
  .t-faq__item[open] .t-faq__ico { background: var(--t-primary); }
  .t-faq__item[open] .t-faq__ico::before { margin-top: -3px; border-color: #fff; rotate: -135deg; }
  .t-faq__item[open] .t-faq__q { color: var(--t-primary); }
  .t-faq__a { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; padding: 28px; border-radius: 12px; background: #f7f9fa; }
  .t-faq__a p { flex: 1; min-width: 0; padding-top: 5px; font-size: 17px; line-height: 1.75; color: #4a5158; }

  /* 쪽 번호 */
  .t-paging { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
  .t-paging :is(a, strong) { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 15px; color: #555; transition: background-color .2s, color .2s; }
  .t-paging strong { background: var(--t-primary); font-weight: 700; color: var(--t-primary-ink); }
  .t-paging a:hover { background: #f4f4f4; color: var(--t-primary); }
  .t-paging__dir--prev { margin-right: 14px; }
  .t-paging__dir--next { margin-left: 14px; }
  .t-paging__dir--prev { margin-right: 14px; }
  .t-paging__dir--next { margin-left: 14px; }

  /* 글 보기 */
  .t-board-view { border-top: 2px solid #868686; }
  .t-board-view__tit { padding: 16px; border-bottom: 1px solid #ddd; }
  .t-board-view__tit h2 { font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; color: #333; }
  .t-board-view__cat { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--t-primary); }
  .t-board-view__info { display: flex; flex-wrap: wrap; gap: 15px; padding: 13px 16px; border-bottom: 1px solid #ddd; font-size: 15px; color: #767676; }
  .t-board-view__info strong { margin-right: 4px; font-weight: 700; color: #333; }
  .t-board-view__cnt { padding: 24px 16px 60px; border-bottom: 1px solid #ddd; font-size: 16px; line-height: 1.8; color: #333; }
  .t-board-view__cnt h3 { margin-top: 1.6em; font-size: var(--t-fs-24); font-weight: 600; line-height: 1.4; color: var(--t-text); }
  .t-board-view__cnt h3:first-child { margin-top: 0; }
  .t-board-view__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: var(--t-gap-40); padding: 28px 32px; border-radius: var(--t-radius-s); background: var(--t-bg-soft); }
  .t-board-view__cta p { font-size: var(--t-fs-18); font-weight: 600; }
  .t-board-view__cta a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 8px; background: var(--t-primary); font-size: 16px; font-weight: 700; color: var(--t-primary-ink); }
  .t-board-view__cnt figure { margin: 0 0 24px; }
  .t-board-view__cnt img { max-width: min(760px, 100%); border-radius: 8px; }
  .t-board-view__cnt p + p { margin-top: 1em; }
  .t-board-prevnext { border-bottom: 1px solid #ddd; font-size: 16px; line-height: 1.5; }
  .t-board-prevnext dl { display: flex; padding: 12px 16px; }
  .t-board-prevnext dl + dl { border-top: 1px solid #eee; }
  .t-board-prevnext dt { flex: none; width: 90px; font-weight: 700; color: #333; }
  .t-board-prevnext dt::after { content: ""; display: inline-block; vertical-align: middle; margin: -.2em 0 0 10px; border-left: 5px solid transparent; border-right: 5px solid transparent; }
  .t-board-prevnext .is-prev dt::after { border-bottom: 5px solid #aaa; }
  .t-board-prevnext .is-next dt::after { border-top: 5px solid #aaa; }
  .t-board-prevnext dd { flex: 1; min-width: 0; color: #505050; }
  .t-board-prevnext dd :is(a, span) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .t-board-prevnext dd span { color: #9a9a9a; }
  .t-board-prevnext dd a:hover { text-decoration: underline; }
  .t-board-btns { display: flex; justify-content: flex-end; margin-top: 20px; }
  .t-board-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border: 1px solid #ccc; border-radius: 4px; background: var(--t-bg); font-size: 15px; font-weight: 600; color: #333; transition: border-color .2s, color .2s; }
  .t-board-btn:hover { border-color: var(--t-primary); color: var(--t-primary); }

  @media (max-width: 1024px) {
    .t-board-list :is(th, td) { font-size: 15px; }
    .t-board-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
    .t-board-search input { width: 240px; }
    .t-path { display: none; }
    .t-lnb__inner { justify-content: flex-start; }
  }
  @media (max-width: 640px) {
    .t-board-list { display: none; }
    .t-board-m { display: block; }
    .t-board-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 14px; padding-top: 15px; }
    .t-board-gallery__tit { font-size: 14px; }
    .t-board-gallery__date { font-size: 12px; }
    .t-board-search { display: block; margin-bottom: 10px; }
    .t-board-search__form { width: 100%; }
    .t-board-search__total { margin-bottom: 8px; font-size: 13px; }
    .t-board-search select { width: 100px; }
    .t-board-search input { flex: 1; min-width: 0; width: 1%; }
    .t-board-search button { padding: 0 16px; }
    .t-faq__item summary { gap: 12px; padding-block: 22px; }
    .t-faq__mark { width: 28px; height: 28px; font-size: 14px; }
    .t-faq__ico { width: 30px; height: 30px; }
    .t-faq__a { gap: 12px; padding: 22px; }
    .t-board-view__tit h2 { font-size: 18px; }
    .t-board-prevnext { font-size: 14px; }
    .t-board-prevnext dt { width: 70px; }
  }
  @media (prefers-reduced-motion: reduce) { .t-sv__bg { animation: none; } .t-faq__ico::before { transition: none; } }

  /* 문의 폼 */
  .t-form__intro { margin-bottom: var(--t-gap-30); font-size: var(--t-fs-18); line-height: 1.7; color: var(--t-text-2); }
  .t-form__intro em { color: var(--t-primary); font-style: normal; font-weight: 600; }
  .t-form__field { flex: 1; min-width: 0; }
  .t-form__err:not(:empty) { margin-top: 8px; font-size: 15px; font-weight: 500; color: #c4000d; }
  .t-form__hint { margin-top: 8px; font-size: 14px; line-height: 1.5; color: #666; }
  .t-form__row select { width: 100%; height: clamp(46px, 7vw, 60px); padding: 0 clamp(15px, 2vw, 20px); border: 1px solid var(--t-line); border-radius: 6px; background: var(--t-bg); font-size: 16px; }
  .t-form [aria-invalid] { border-color: #c4000d !important; }
  .t-form { padding-top: var(--t-gap-40); border-top: 1px solid #000; }
  .t-form__grid { display: flex; flex-wrap: wrap; gap: clamp(15px, 2vw, 20px) clamp(40px, 5vw, 96px); padding-bottom: var(--t-gap-40); border-bottom: 1px solid var(--t-line); }
  .t-form__row { display: flex; align-items: flex-start; width: calc(50% - clamp(40px, 5vw, 96px) / 2); }
  .t-form__row--full { width: 100%; }
  .t-form__row > label { flex-shrink: 0; width: clamp(100px, 16.2vw, 162px); padding-right: 15px; font-size: var(--t-fs-20); font-weight: 500; letter-spacing: -.03em; color: var(--t-text-2); }
  .t-form__row > label { line-height: clamp(46px, 7vw, 60px); }
  .t-form__row > label em, .t-check em { color: var(--t-primary); font-weight: 600; }
  .t-form__row :is(input[type="email"], input[type="text"], input[type="tel"], input[type="password"]) {
    width: 100%; height: clamp(46px, 7vw, 60px); padding: 0 clamp(15px, 2vw, 20px); border: 1px solid var(--t-line); border-radius: 6px; font-size: 16px;
  }
  .t-form__row :is(input, textarea)::placeholder { color: #aaa; }
  .t-form__row textarea { width: 100%; height: clamp(150px, 25vw, 250px); padding: clamp(15px, 2.4vw, 24px); border: 1px solid var(--t-line); border-radius: var(--t-radius-s); font-size: 16px; resize: vertical; }
  .t-form__row input[type="file"] { width: 100%; padding: 12px; border: 1px solid var(--t-line); border-radius: 6px; font-size: 15px; }
  .t-form__policy { display: grid; gap: var(--t-gap-20); margin-top: var(--t-gap-40); }
  .t-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: var(--t-fs-18); font-weight: 500; line-height: 26px; color: var(--t-text-2); cursor: pointer; }
  .t-check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--t-primary); flex-shrink: 0; }
  .t-form__policy-text { max-height: 160px; overflow-y: auto; padding: clamp(15px, 3vw, 30px); border: 1px solid var(--t-line); border-radius: var(--t-radius-s); font-size: var(--t-fs-15); line-height: 1.73; color: #666; }
  .t-form__policy-text p + p { margin-top: 1em; }
  .t-form__msg:not(:empty) { margin-top: var(--t-gap-30); padding: 16px 20px; border-radius: var(--t-radius-s); background: var(--t-bg-soft); font-size: var(--t-fs-18); text-align: center; color: var(--t-text-2); }

  /* ------------------------------------------------------------ 꼬리말 */
  .t-footer { padding-block: 60px 58px; background: var(--t-bg-dark); color: var(--t-on-dark); }
  .t-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .t-footer__logo img { height: 36px; width: auto; }
  .t-family { position: relative; width: 240px; }
  .t-family summary {
    display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 0 24px;
    border-radius: var(--t-pill); background: rgb(255 255 255 / .1); cursor: pointer; list-style: none;
  }
  .t-family summary::-webkit-details-marker { display: none; }
  .t-family summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); }
  .t-family[open] summary::after { transform: rotate(-135deg); }
  .t-family ul { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); padding: 10px 0; border-radius: var(--t-radius-s); background: #222; }
  .t-family ul a { display: block; padding: 8px 24px; opacity: .8; }
  .t-family ul a:hover { opacity: 1; }
  .t-footer__info { margin-top: 50px; padding-block: 40px; border-top: 1px solid rgb(255 255 255 / .15); }
  .t-footer__addr p { font-size: 18px; font-weight: 300; line-height: 1.6; opacity: .8; }
  .t-footer__meta { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-top: 14px; font-size: 16px; }
  .t-footer__meta div { display: flex; gap: 12px; }
  .t-footer__meta dt { opacity: .5; }
  .t-footer__copy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .t-footer__copy p { font-size: 16px; opacity: .6; }
  .t-footer__menu { display: flex; gap: 24px; font-size: 17px; }
  .t-footer__menu a { opacity: .8; }
  .t-footer__menu a:hover { opacity: 1; }

  /* 오른쪽 아래 바로가기. 첫 화면에서는 숨기고, 내려가면 보인다. */
  .t-quick { position: fixed; right: 30px; bottom: 40px; z-index: 40; display: grid; gap: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .t-quick.is-visible { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
  .t-quick a, .t-quick button {
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: var(--t-primary); color: var(--t-primary-ink); box-shadow: var(--t-shadow);
  }
  .t-quick img { width: 26px; }
  .t-quick__top { background: var(--t-text) !important; }
  .t-quick__top::before { content: ""; width: 12px; height: 12px; border: solid currentColor; border-width: 2px 0 0 2px; transform: translateY(3px) rotate(45deg); }

  /* 아래에서 올라오며 나타나기. 스크립트가 켜졌을 때만 숨긴다(.t-js). */
  .t-js .t-reveal { opacity: 0; transform: translateY(60px); transition: opacity .9s var(--t-ease), transform .9s var(--t-ease); }
  .t-js .t-reveal.is-in { opacity: 1; transform: none; }

  /* ------------------------------------------------------- 너비별 조정 */
  @media (max-width: 1440px) {
    :root { --t-section-gap: 120px; }
  }
  @media (max-width: 1280px) {
    .t-gnb { display: none; }
  }
  @media (max-width: 1024px) {
    :root { --t-header-h: 80px; --t-section-gap: 100px; }
    .t-logo img { height: 30px; }
    .t-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-form__row { width: 100%; }
  }
  @media (max-width: 768px) {
    :root { --t-header-h: 64px; --t-gutter: 20px; --t-section-gap: 80px; }
    .t-logo img { height: 26px; }
    .t-tab { height: 40px; padding: 0 18px; font-size: 15px; }
    .t-footer__top, .t-footer__copy { flex-direction: column; align-items: flex-start; }
    .t-footer__addr p { font-size: 15px; }
    .t-quick { right: 16px; bottom: 20px; gap: 12px; }
    .t-quick a, .t-quick button { width: 48px; height: 48px; }
  }
  @media (max-width: 480px) {
    .t-gallery { grid-template-columns: 1fr; }
    .t-form__row { flex-wrap: wrap; gap: 8px; }
    .t-form__row > label { width: 100%; line-height: 1.4; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
    .t-js .t-reveal { opacity: 1; transform: none; }
  }
}
