/*
Theme Name: Trendscape
Theme URI: https://www.venomad.com/
Author: Venomad
Author URI: https://www.venomad.com/
Description: Kantar Marketing Trends 캠페인 페이지의 구조를 참고해 만든 오렌지 포인트 컬러의 인사이트·트렌드 리포트 테마. 로고와 카테고리 3개뿐인 최소 헤더, 우측 고정 퀵 메뉴, 번호가 붙은 트렌드 섹션, 검정 푸터로 구성됩니다.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trendscape
Tags: one-column, custom-logo, custom-menu, featured-images, full-width-template, editor-style, translation-ready
*/

/* ==========================================================================
   1. 디자인 토큰
   ========================================================================== */
:root {
  --ts-orange: #f2620f;        /* 포인트 컬러 (Customizer에서 변경 가능) */
  --ts-orange-dark: #c94d05;   /* 텍스트 링크용 진한 오렌지 */
  --ts-orange-light: #ff8a3d;
  --ts-amber: #ffb347;
  --ts-peach: #fff3ea;         /* 카드 배경 (원본의 연분홍 역할) */
  --ts-peach-deep: #ffe4d1;
  --ts-ink: #141414;
  --ts-ink-soft: #2a2a2a;
  --ts-gray: #6b6b6b;
  --ts-gray-light: #9a9a9a;
  --ts-line: #e8e8e8;
  --ts-white: #ffffff;
  --ts-bg: #ffffff;

  --ts-font-display: "Outfit", "Noto Sans KR", "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ts-font-body: "Noto Sans KR", "Outfit", "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ts-container: 924px;
  --ts-container-wide: 1200px;
  --ts-gutter: 24px;
  --ts-header-h: 64px;
  --ts-quickbar-w: 76px;

  --ts-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. 리셋 & 기본 타이포
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ts-font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--ts-ink);
  background: var(--ts-bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ts-orange-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ts-orange); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ts-font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ts-ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 7vw, 88px); font-weight: 700; }
h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 300; }
h3 { font-size: 24px; font-weight: 300; }
h4 { font-size: 20px; font-weight: 500; }
p { margin: 0 0 1.25em; }
strong, b { font-weight: 700; }
blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--ts-orange);
  background: var(--ts-peach);
  font-size: 1.1em;
  font-weight: 300;
}
hr { border: 0; border-top: 1px solid var(--ts-line); margin: 3em 0; }
figure { margin: 0 0 1.5em; }
figcaption { font-size: 14px; color: var(--ts-gray); margin-top: .5em; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
th, td { border-bottom: 1px solid var(--ts-line); padding: .75em .5em; text-align: left; }
th { font-weight: 700; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
pre { background: #f6f6f6; padding: 1em 1.25em; overflow: auto; border-radius: 6px; }
::selection { background: var(--ts-orange); color: #fff; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto; clip-path: none; color: var(--ts-ink); display: block;
  font-size: 14px; height: auto; left: 8px; line-height: normal; padding: 12px 20px; text-decoration: none; top: 8px; width: auto; z-index: 100000;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.4);
}
:focus-visible { outline: 3px solid var(--ts-orange); outline-offset: 3px; }

/* ==========================================================================
   3. 레이아웃 유틸
   ========================================================================== */
.ts-container {
  width: 100%;
  max-width: calc(var(--ts-container) + var(--ts-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--ts-gutter);
}
.ts-container--wide { max-width: calc(var(--ts-container-wide) + var(--ts-gutter) * 2); }
.ts-section { padding: clamp(56px, 8vw, 110px) 0; }
.ts-section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.ts-eyebrow {
  display: inline-block;
  font-family: var(--ts-font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ts-orange);
  margin-bottom: 14px;
}
.ts-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--ts-orange);
  vertical-align: middle;
  margin-right: 10px;
}

/* 버튼: 원본의 100px 라운드 알약 버튼 */
.ts-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: var(--ts-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ts-ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.ts-btn:hover { transform: translateY(-2px); }
.ts-btn--primary { background: var(--ts-orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 98, 15, .6); }
.ts-btn--primary:hover { background: var(--ts-orange-dark); color: #fff; }
.ts-btn--white { background: #fff; color: var(--ts-ink); }
.ts-btn--white:hover { background: var(--ts-orange); color: #fff; }
.ts-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.ts-btn--ghost:hover { background: #fff; color: var(--ts-ink); border-color: #fff; }
.ts-btn--outline { background: transparent; color: var(--ts-ink); border-color: var(--ts-ink); }
.ts-btn--outline:hover { background: var(--ts-ink); color: #fff; }
.ts-btn--sm { padding: 12px 20px; font-size: 12px; }

/* 화살표 링크 (원본의 "Find out more") */
.ts-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ts-font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ts-ink);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.ts-arrow-link::after {
  content: "";
  width: 9px; height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ts-ease);
}
.ts-arrow-link:hover { color: var(--ts-orange-dark); }
.ts-arrow-link:hover::after { transform: rotate(45deg) translate(3px, -3px); }

/* 스크롤 등장 애니메이션 (원본의 animate--slide) */
.ts-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ts-ease), transform .7s var(--ts-ease); }
.ts-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ts-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   4. 헤더 (로고 + 상단 카테고리 3개)
   ========================================================================== */
.ts-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ts-header-h);
  z-index: 900;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.ts-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 32px);
}
.ts-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ts-font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ts-ink);
  line-height: 1;
}
.ts-header__brand img { max-height: 32px; width: auto; }
.ts-header__brand:hover { color: var(--ts-orange); }
.ts-header__brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ts-orange); display: inline-block; }


/* 상단 카테고리 (최대 3개) */
.ts-header__nav { display: block; margin-left: auto; }
.ts-header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.ts-header__nav a {
  display: inline-block;
  font-family: var(--ts-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ts-ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.ts-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ts-orange); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ts-ease);
}
.ts-header__nav a:hover::after, .ts-header__nav .current-menu-item > a::after { transform: scaleX(1); }
.ts-header__nav a:hover { color: var(--ts-orange-dark); }
@media (max-width: 719px) {
  .ts-header__inner { padding: 0 14px; gap: 10px; }
  .ts-header__brand { font-size: 17px; letter-spacing: .04em; }
  .ts-header__brand img { max-height: 26px; }
  .ts-header__nav ul { gap: 12px; }
  .ts-header__nav a { font-size: 12px; letter-spacing: .02em; }
}
@media (max-width: 379px) {
  .ts-header__nav a { font-size: 11px; }
  .ts-header__nav ul { gap: 9px; }
}

/* 프론트 페이지: 히어로 위에서는 투명 헤더 */
.ts-header--overlay:not(.is-scrolled) { background: transparent; box-shadow: none; }
.ts-header--overlay:not(.is-scrolled) .ts-header__brand { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ts-header--overlay:not(.is-scrolled) .ts-header__brand img.ts-logo--dark { display: none; }
.ts-header:not(.ts-header--overlay) .ts-header__brand img.ts-logo--light,
.ts-header--overlay.is-scrolled .ts-header__brand img.ts-logo--light { display: none; }
.ts-header--overlay:not(.is-scrolled) .ts-header__nav a { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.ts-header--overlay:not(.is-scrolled) .ts-header__nav a:hover { color: var(--ts-amber); }

/* ==========================================================================
   5. 우측 고정 퀵 메뉴 (세로 바)
   ========================================================================== */
.ts-quickbar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  width: var(--ts-quickbar-w);
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(242, 98, 15, .55);
  background: var(--ts-orange);
}
.ts-quickbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px 6px 14px;
  color: #fff;
  font-family: var(--ts-font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: background .25s, transform .25s var(--ts-ease);
  background: var(--ts-orange);
}
.ts-quickbar__item:last-child { border-bottom: 0; }
.ts-quickbar__item:hover { background: var(--ts-ink); color: #fff; }
.ts-quickbar__item--accent { background: var(--ts-ink); }
.ts-quickbar__item--accent:hover { background: var(--ts-orange-dark); }
.ts-quickbar__icon { width: 24px; height: 24px; display: block; }
.ts-quickbar__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ts-quickbar__label { display: block; white-space: pre-line; }

/* 퀵 메뉴가 본문을 가리지 않도록 중간 폭에서는 오른쪽 여백 확보 */
@media (min-width: 720px) and (max-width: 1400px) {
  .has-quickbar .ts-container,
  .has-quickbar .ts-hero { padding-right: calc(var(--ts-gutter) + var(--ts-quickbar-w)); }
  .has-quickbar .ts-header__inner { padding-right: calc(clamp(16px, 3vw, 32px) + 8px); }
}
@media (max-width: 719px) {
  .ts-quickbar {
    top: auto; bottom: 0; right: 0; left: 0;
    transform: none;
    width: 100%;
    flex-direction: row;
    border-radius: 0;
    box-shadow: 0 -8px 30px -10px rgba(0,0,0,.35);
  }
  .ts-quickbar__item { flex: 1; padding: 10px 4px 9px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.22); font-size: 11px; gap: 4px; }
  .ts-quickbar__item:last-child { border-right: 0; }
  .ts-quickbar__icon { width: 20px; height: 20px; }
  body { padding-bottom: 64px; }
}

/* ==========================================================================
   6. 히어로
   ========================================================================== */
.ts-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #1a0a03;
  padding: calc(var(--ts-header-h) + 40px) var(--ts-gutter) 80px;
  isolation: isolate;
}
.ts-hero--short { min-height: 62vh; }
.ts-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 80% at 18% 20%, rgba(255, 179, 71, .55) 0%, rgba(255,179,71,0) 60%),
    radial-gradient(55% 70% at 85% 25%, rgba(255, 138, 61, .55) 0%, rgba(255,138,61,0) 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(242, 98, 15, .9) 0%, rgba(242,98,15,0) 70%),
    linear-gradient(135deg, #2b0f05 0%, #7a2b06 45%, #d8560c 100%);
}
.ts-hero__bg img, .ts-hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,10,5,.45) 0%, rgba(20,10,5,.1) 40%, rgba(20,10,5,.35) 100%);
}
.ts-hero__shapes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.ts-hero__inner { position: relative; max-width: 980px; margin: 0 auto; }
.ts-hero__eyebrow {
  display: inline-block;
  font-family: var(--ts-font-display);
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.ts-hero__title {
  color: #fff;
  font-size: clamp(42px, 8.5vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.ts-hero__subtitle {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 300;
  color: rgba(255,255,255,.88);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.ts-hero__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 560px) { .ts-hero__actions { flex-direction: row; justify-content: center; } }
.ts-hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 36px; height: 36px; color: #fff; opacity: .8;
  animation: ts-bob 1.8s ease-in-out infinite;
}
.ts-hero__scroll::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -70%) rotate(45deg); }
@keyframes ts-bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ==========================================================================
   7. 인트로 / 다운로드 CTA
   ========================================================================== */
.ts-intro { padding-top: clamp(64px, 9vw, 120px); }
.ts-intro__lead { font-family: var(--ts-font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; line-height: 1.5; letter-spacing: -0.01em; color: var(--ts-ink); margin: 0 0 1.2em; }
.ts-intro__lead strong { font-weight: 600; color: var(--ts-orange-dark); }
.ts-intro p { color: var(--ts-ink-soft); }

.ts-download {
  display: grid; gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background: var(--ts-peach);
  border-left: 6px solid var(--ts-orange);
  border-radius: 0 16px 16px 0;
}
@media (min-width: 760px) { .ts-download { grid-template-columns: 1fr auto; } }
.ts-download h2 { font-size: 24px; font-weight: 300; margin: 0 0 6px; }
.ts-download p { margin: 0; color: var(--ts-gray); font-size: 15px; }

/* ==========================================================================
   8. 트렌드 섹션 (번호 + 2열)
   ========================================================================== */
.ts-trends { padding-bottom: clamp(40px, 6vw, 80px); }
.ts-trend {
  padding: clamp(56px, 8vw, 100px) 0;
  border-top: 1px solid var(--ts-line);
}
.ts-trend:first-child { border-top: 0; }
.ts-trend__head { max-width: 768px; margin-bottom: clamp(28px, 4vw, 48px); }
.ts-trend__num {
  font-family: var(--ts-font-display);
  font-size: 14px; font-weight: 700; letter-spacing: .2em;
  color: var(--ts-orange);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.ts-trend__num::after { content: ""; flex: 0 0 48px; height: 2px; background: var(--ts-orange); }
.ts-trend__title {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 200;
  line-height: 1.2;
  margin: 0;
}
.ts-trend__title em { font-style: normal; font-weight: 600; color: var(--ts-orange-dark); }
.ts-trend__grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .ts-trend__grid { grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .ts-trend--alt .ts-trend__aside { order: -1; }
}
.ts-trend__body { font-size: 17px; line-height: 1.8; color: var(--ts-ink-soft); }
.ts-trend__body p:last-child { margin-bottom: 0; }
.ts-trend__body a { border-bottom: 1px solid currentColor; }
.ts-trend__author {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 2px solid var(--ts-orange);
  display: flex; gap: 14px; align-items: center;
}
.ts-trend__author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.ts-trend__author-name { font-family: var(--ts-font-display); font-weight: 700; font-size: 16px; display: block; }
.ts-trend__author-role { font-size: 14px; color: var(--ts-gray); display: block; }
.ts-trend__figure { margin: 0 0 24px; border-radius: 12px; overflow: hidden; background: var(--ts-peach); }
.ts-trend__figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ts-ease); }
.ts-trend__figure:hover img { transform: scale(1.03); }
/* 이미지가 없을 때 쓰는 통계 카드 */
.ts-stat {
  aspect-ratio: 3 / 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(255,179,71,.7) 0%, rgba(255,179,71,0) 60%),
    linear-gradient(140deg, var(--ts-orange-dark) 0%, var(--ts-orange) 55%, var(--ts-orange-light) 100%);
  position: relative; overflow: hidden;
}
.ts-stat::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  background: rgba(255,255,255,.12); transform: rotate(35deg); border-radius: 30px;
}
.ts-stat__value { font-family: var(--ts-font-display); font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.ts-stat__label { font-size: 15px; font-weight: 300; margin-top: 8px; opacity: .92; max-width: 300px; line-height: 1.4; }

/* 더 알아보기 카드 (원본 Dive deeper) */
.ts-dive {
  background: var(--ts-peach);
  padding: 30px;
  border-radius: 12px;
  position: relative;
}
.ts-dive::before {
  content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 4px; background: var(--ts-orange); border-radius: 0 4px 4px 0;
}
.ts-dive h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.ts-dive p { font-size: 15px; color: var(--ts-ink-soft); margin-bottom: 18px; }
.ts-dive .ts-arrow-link { font-size: 15px; }

/* ==========================================================================
   8b. 서비스 섹션 (병원마케팅 / AEO·GEO) — 상단 카테고리 앵커 대상
   ========================================================================== */
[id] { scroll-margin-top: calc(var(--ts-header-h) + 16px); }
.ts-service { padding: clamp(64px, 9vw, 120px) 0; background: var(--ts-peach); }
.ts-service--alt { background: var(--ts-ink); color: #fff; }
.ts-service__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.ts-service__title { font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.ts-service--alt .ts-service__title { color: #fff; }
.ts-service__lead { font-size: clamp(17px, 2vw, 21px); font-weight: 300; line-height: 1.6; margin: 0; color: var(--ts-ink-soft); }
.ts-service--alt .ts-service__lead { color: rgba(255,255,255,.75); }
.ts-service__more { margin: 18px 0 0; }
.ts-service--alt .ts-arrow-link { color: #fff; }
.ts-service--alt .ts-arrow-link:hover { color: var(--ts-orange-light); }
.ts-service--alt .ts-eyebrow { color: var(--ts-orange-light); }
.ts-service--alt .ts-eyebrow::before { background: var(--ts-orange-light); }
.ts-service__grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .ts-service__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ts-feature {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px 30px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 4px solid var(--ts-orange);
  transition: transform .3s var(--ts-ease), box-shadow .3s;
}
.ts-feature:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(242, 98, 15, .45); }
.ts-service--alt .ts-feature { background: rgba(255,255,255,.06); border-top-color: var(--ts-orange-light); }
.ts-feature__num { font-family: var(--ts-font-display); font-size: 13px; font-weight: 700; letter-spacing: .18em; color: var(--ts-orange); }
.ts-service--alt .ts-feature__num { color: var(--ts-orange-light); }
.ts-feature__title { font-size: 20px; font-weight: 600; margin: 0; }
.ts-service--alt .ts-feature__title { color: #fff; }
.ts-feature__text { font-size: 15px; line-height: 1.7; color: var(--ts-gray); margin: 0; }
.ts-service--alt .ts-feature__text { color: rgba(255,255,255,.7); }

/* ==========================================================================
   9. 하단 CTA 밴드
   ========================================================================== */
.ts-cta {
  background: var(--ts-orange);
  color: #fff;
  padding: clamp(56px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.ts-cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px;
  background: rgba(255,255,255,.12); transform: rotate(25deg); border-radius: 60px;
}
.ts-cta::after {
  content: ""; position: absolute; width: 320px; height: 320px; left: -120px; bottom: -180px;
  background: rgba(20,10,5,.18); transform: rotate(-20deg); border-radius: 50px;
}
.ts-cta__inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .ts-cta__inner { grid-template-columns: 1.3fr auto; } }
.ts-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 300; margin: 0 0 10px; }
.ts-cta h2 strong { font-weight: 700; }
.ts-cta p { margin: 0; font-size: 17px; font-weight: 300; opacity: .95; max-width: 560px; }
.ts-cta .ts-btn--white { color: var(--ts-orange-dark); }
.ts-cta .ts-btn--white:hover { background: var(--ts-ink); color: #fff; }

/* ==========================================================================
   10. 푸터 (검정)
   ========================================================================== */
.ts-footer { background: #000; color: #fff; padding: clamp(48px, 7vw, 80px) 0 32px; font-size: 14px; }
.ts-footer a { color: rgba(255,255,255,.75); }
.ts-footer a:hover { color: var(--ts-orange-light); }
.ts-footer__grid { display: grid; gap: 36px; margin-bottom: 48px; }
@media (min-width: 760px) { .ts-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ts-footer__brand { font-family: var(--ts-font-display); font-weight: 800; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: #fff; display: inline-flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ts-footer__brand img { max-height: 30px; width: auto; }
.ts-footer__desc { color: rgba(255,255,255,.6); max-width: 360px; line-height: 1.7; }
.ts-footer h3, .ts-footer .ts-footer__title { color: var(--ts-orange); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.ts-footer ul { list-style: none; margin: 0; padding: 0; }
.ts-footer li { margin-bottom: 10px; }
.ts-footer .widget { margin-bottom: 24px; }
.ts-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.ts-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.ts-footer__bottom li { margin: 0; }

/* ==========================================================================
   11. 일반 페이지 / 글 / 아카이브
   ========================================================================== */
.ts-page-hero {
  background: var(--ts-ink);
  color: #fff;
  padding: calc(var(--ts-header-h) + clamp(56px, 8vw, 100px)) 0 clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.ts-page-hero::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(242,98,15,.55), rgba(242,98,15,0));
  pointer-events: none;
}
.ts-page-hero .ts-container { position: relative; }
.ts-page-hero__title { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 600; margin: 0; }
.ts-page-hero__meta { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.65); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ts-page-hero__meta a { color: var(--ts-orange-light); }

.ts-entry { padding: clamp(48px, 6vw, 80px) 0; }
.ts-entry__content > *:first-child { margin-top: 0; }
.ts-entry__content h2 { font-weight: 500; font-size: clamp(24px, 3vw, 32px); margin-top: 1.6em; }
.ts-entry__content h3 { font-weight: 600; font-size: 22px; margin-top: 1.4em; }
.ts-entry__content img { border-radius: 10px; }
.ts-entry__content a { border-bottom: 1px solid currentColor; }
.ts-entry__content ul, .ts-entry__content ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.ts-entry__content li { margin-bottom: .4em; }
.ts-entry__thumb { margin: 0 0 32px; border-radius: 14px; overflow: hidden; }
.ts-entry__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ts-line); display: flex; flex-wrap: wrap; gap: 10px; }
.ts-tag { display: inline-block; padding: 6px 12px; border-radius: 100px; background: var(--ts-peach); color: var(--ts-orange-dark); font-size: 13px; font-weight: 600; }
.ts-tag:hover { background: var(--ts-orange); color: #fff; }

.ts-post-nav { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .ts-post-nav { grid-template-columns: 1fr 1fr; } }
.ts-post-nav a { display: block; padding: 20px; border: 1px solid var(--ts-line); border-radius: 12px; color: var(--ts-ink); transition: border-color .2s, transform .25s var(--ts-ease); }
.ts-post-nav a:hover { border-color: var(--ts-orange); transform: translateY(-2px); }
.ts-post-nav span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ts-orange); margin-bottom: 6px; font-weight: 600; }
.ts-post-nav--next { text-align: right; }

/* 글 목록 카드 */
.ts-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .ts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ts-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.ts-card { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--ts-line); transition: transform .3s var(--ts-ease), box-shadow .3s; }
.ts-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); }
.ts-card__thumb { aspect-ratio: 3 / 2; background: var(--ts-peach); overflow: hidden; }
.ts-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ts-card__thumb--placeholder { display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(140deg, var(--ts-orange-dark), var(--ts-orange-light)); color: #fff; font-family: var(--ts-font-display); font-size: 40px; font-weight: 700; }
.ts-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ts-card__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ts-orange); font-weight: 600; }
.ts-card__title { font-size: 20px; font-weight: 500; margin: 0; }
.ts-card__title a { color: var(--ts-ink); }
.ts-card__title a:hover { color: var(--ts-orange-dark); }
.ts-card__excerpt { font-size: 15px; color: var(--ts-gray); margin: 0; }
.ts-card__more { margin-top: auto; padding-top: 8px; }

.ts-pagination { margin-top: 48px; display: flex; justify-content: center; }
.ts-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 100px; border: 1px solid var(--ts-line); color: var(--ts-ink); font-family: var(--ts-font-display); font-weight: 600; font-size: 14px; }
.ts-pagination .page-numbers.current, .ts-pagination .page-numbers:hover { background: var(--ts-orange); border-color: var(--ts-orange); color: #fff; }

.ts-empty { text-align: center; padding: 80px 0; }
.ts-empty h2 { font-weight: 300; }

/* 검색 폼 */
.ts-search { display: flex; max-width: 520px; margin: 0 auto; border: 2px solid var(--ts-ink); border-radius: 100px; overflow: hidden; }
.ts-search input[type="search"] { flex: 1; border: 0; padding: 14px 22px; font: inherit; font-size: 16px; outline: none; min-width: 0; }
.ts-search button { border: 0; background: var(--ts-ink); color: #fff; padding: 0 24px; font-family: var(--ts-font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; cursor: pointer; }
.ts-search button:hover { background: var(--ts-orange); }

/* 댓글 (기본) */
.ts-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ts-line); }
.ts-comments .comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.ts-comments .comment { padding: 20px 0; border-bottom: 1px solid var(--ts-line); }
.ts-comments .comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 10px; }
.ts-comments .comment-metadata { font-size: 13px; color: var(--ts-gray); }
.ts-comments input[type="text"], .ts-comments input[type="email"], .ts-comments input[type="url"], .ts-comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ts-line); border-radius: 8px; font: inherit; }
.ts-comments .submit { background: var(--ts-orange); color: #fff; border: 0; padding: 14px 28px; border-radius: 100px; font-family: var(--ts-font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; cursor: pointer; }

/* 워드프레스 기본 클래스 */
.alignleft { float: left; margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide { margin-left: calc(50% - min(50vw, 600px)); margin-right: calc(50% - min(50vw, 600px)); width: auto; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--ts-gray); text-align: center; }
.sticky { position: relative; }
.bypostauthor { display: block; }
.wp-block-button__link { border-radius: 100px; background: var(--ts-orange); font-family: var(--ts-font-display); font-weight: 600; letter-spacing: .08em; }
.wp-block-quote { border-left-color: var(--ts-orange); }
.has-ts-orange-color { color: var(--ts-orange) !important; }
.has-ts-orange-background-color { background-color: var(--ts-orange) !important; }
.has-ts-peach-background-color { background-color: var(--ts-peach) !important; }
.has-ts-ink-color { color: var(--ts-ink) !important; }
.has-ts-ink-background-color { background-color: var(--ts-ink) !important; }

/* 관리자 바 보정 */
.admin-bar .ts-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ts-header { top: 46px; } }
