/*!
Theme Name: koyc
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: koyc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

koyc is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  word-break: keep-all;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #000000;
  font-family: "Roboto Mono", "Gothic A1", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", monospace, Arial,
    sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.13em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight:400;
  display:inline-block;
  margin:0;
}

p {
  margin-bottom: 0;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Roboto Mono", "Gothic A1", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", monospace, Arial,
    sans-serif;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: "Roboto Mono", "Gothic A1", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", monospace, Arial,
    sans-serif;
}
body code {
  font-size: 14px;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

li > ul,
li > ol {
  margin-bottom: 0;
  /* margin-left: 1.5em; */
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
}

a:visited {
  /* color: #800080; */
}

a:hover,
a:focus,
a:active {
  /* color: #191970; */
}

a:focus {
  /* outline: thin dotted; */
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  /* margin: 0 0 1.5em; */
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
#New style added by yeonsu
--------------------------------------------------------------*/

/*common*/
.block {
  display: block;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.ml-auto {
  margin-left: auto;
}
.mobile-only {
  display: none;
}

/**/
body {
  font-size: 16px;
  /* min-height: 100vh; */
  overscroll-behavior-y: contain;
}
.site-main {
  padding: 40px 14px 50px;
  margin-top: 50px;
  min-height: 900px;
}
.home .site-main {
  padding: 0;
  margin-top: 0;
  min-height:100svh;
}

/*footer*/
.site-footer {
  height: 50px;
  line-height: 48px;
  z-index: 8;
}
.home .site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.site-footer,
.site-footer * {
  color: #000;
  letter-spacing: 0.13em;
  font-weight: 400;
}
.home .site-footer,
.home .site-footer * {
  color: #fff;
}
.site-info {
  padding: 0 14px;
  gap: 30px;
  height:100%;
  align-items: center;
}

/*header*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  line-height: 48px;
  z-index: 9;
}
.site-header > div {
  height:100%;
}
#site-navigation {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
}
body.opened #site-navigation {
  display: block;
}
.header-inner {
  padding: 0 14px;
  height:100%;
}
.header-term {
  height:100%;
  display:flex;
  align-items: center;
}
.right-nav-fold {
  gap: 10px;
}
.right-nav-fold .fold {
  display: none;
}
.right-nav-fold a {
  display: inline-flex;
}
.right-nav-fold a span {
  display: block;
  width: 100%;
  height: 100%;
}

/*sidebar*/
#primary-menu.menu.nav-menu {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 38vh 28vh 34vh;
  grid-template-areas:
    "ko work"
    "work project" 
    "text text";
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 각 li를 영역에 매핑 (메뉴 순서 기준) */
#primary-menu > li:nth-child(1) {
  grid-area: ko;
}
#primary-menu > li:nth-child(2) {
  grid-area: work;
}
#primary-menu > li:nth-child(3) {
  grid-area: project;
}
#primary-menu > li:nth-child(4) {
  grid-area: text;
}

/* 카드처럼 꽉 채우기 */
#primary-menu > li > a {
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 14px;
  text-decoration: none;
  color: #000;
  letter-spacing: 0.13em;
  font-weight: 400;
}

#primary-menu > li:nth-child(1) {
  background: #3b2f39;
}
#primary-menu > li:nth-child(1) > a {
  color: #fff;
}
#primary-menu > li:nth-child(2) {
  background: #b8c27b;
}
#primary-menu > li:nth-child(3) {
  background: #a9f0a5;
}
#primary-menu > li:nth-child(4) {
  background: #eee59a;
}

/*main*/

/* .category-grid {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 38vh 28vh 34vh;
  grid-template-areas:
    "ko work"
    "projects work"
    "text text";
  gap: 0;
}
.slot-ko {
  grid-area: ko;
}
.slot-projects {
  grid-area: projects;
}
.slot-work {
  grid-area: work;
}
.slot-text {
  grid-area: text;
}

.cat-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 14px;
  text-decoration: none;
  overflow: hidden;
}
.cat-card__media {
  position: absolute;
  inset: 0;
  display: block;
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card__label {
  position: relative;
  z-index: 1;
  letter-spacing: 0.13em;
  font-weight: 400;
  font-size: 24px;
  color: #fff;
}
.cat-card:hover .cat-card__media img {
  opacity: 0;
}
.cat-card:not(.slot-ko):hover .cat-card__label,
.is-hovering-text.home .site-footer,
.is-hovering-text.home .site-footer * {
  color: #000;
}
.cat-card.slot-ko:hover {
  background-color: #392338;
}
.cat-card.slot-projects:hover {
  background-color: #b9c87a;
}
.cat-card.slot-work:hover {
  background-color: #9eff9e;
}
.cat-card.slot-text:hover {
  background-color: #fff9a6;
} */

/* 레이아웃 */
.category-grid {
  position: relative;
  display: grid;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 38vh 28vh 34vh;
  grid-template-areas:
    "ko project"
    "work project"
    "text text";
  gap: 0;
  overflow: hidden;
}

/* 공통 배경 1장 */
.category-grid .grid-base {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.category-grid .grid-base > img,
.category-grid .grid-base > source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 슬롯(클릭 영역) */
.category-grid .slot {
  position: relative;
  z-index: 1;
  display: block;
  outline: none;
  padding: 14px;
  cursor:pointer;
}
.category-grid .slot-ko {
  grid-area: ko;
}
.category-grid .slot-projects {
  grid-area: project;
}
.category-grid .slot-work {
  grid-area: work;
}
.category-grid .slot-text {
  grid-area: text;
}

/* 슬롯 라벨 */

.category-grid .slot .cat-card__label {
  position: relative;
  z-index: 1;
  letter-spacing: 0.13em;
  font-weight: 400;
  color: #fff;
}

/* ===== 컬러 틴트 시스템 =====
   각 슬롯에 --tint 변수를 세팅해두고,
   호버 시 ::after로 해당 색상을 이미지 위에 blend */
:root {
  --tint-ko: #392338;
  --tint-projects: #b9c87a;
  --tint-work: #A2FFA2;
  --tint-text: #fff9a6;
}

.slot-ko {
  --tint: var(--tint-ko);
}
.slot-projects {
  --tint: var(--tint-projects);
}
.slot-work {
  --tint: var(--tint-work);
}
.slot-text {
  --tint: var(--tint-text);
}
.category-grid .slot.slot-projects:hover .cat-card__label,
.category-grid .slot.slot-work:hover .cat-card__label,
.category-grid .slot.slot-text:hover .cat-card__label,
.is-hovering-text.home .site-footer,
.is-hovering-text.home .site-footer * {
  color:#000;
}

/* 오버레이(초기엔 보이지 않음) */
.category-grid .slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tint, transparent);
  mix-blend-mode: color; /* 핵심: 이미지 색조를 바꿈 */
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

/* 호버/포커스 시 색상 드러나기 */
.category-grid .slot:hover::after,
.category-grid .slot:focus-visible::after {
  opacity: 1;
}

/*about*/
.page-id-2,
.page-id-2 .site-header,
.page-id-2 .site-footer {
  background-color: #392338;
}
.page-id-2 .right-nav-fold a,
.about-title > li,
.about-title > li > a,
.page-id-2 .site-footer,
.page-id-2 .site-footer * {
  color: #fff;
}
.about-title > li,
.about-title > li > a,
.about-title > li span {
  opacity: 0.5;
}
.about-title > li.current,
.about-title > li.current > a {
  opacity: 1;
  cursor: default;
}
.page-id-2 .right-nav-fold a svg,
.page-id-2 .right-nav-fold a svg rect {
  fill: #fff;
}
.about-title {
  gap: 10px;
  text-transform: uppercase;
}
.about-content {
  display: flex;
}
.about-content .inner-content.sticky-side {
  flex-basis: 35%;
  padding-right:100px;
}
.about-content .inner-content.scrolled-side {
  flex-basis:65%;
  padding-left:100px;
}
.about-content .inner-content * {
  color: #fff;
  text-transform: uppercase;
  word-break:keep-all;
}
.about-content .inner-content h1, 
.about-content .inner-content h2, 
.about-content .inner-content h3, 
.about-content .inner-content h4, 
.about-content .inner-content h5, 
.about-content .inner-content h6 {
  margin:0;
}
.about-content .inner-content .sticky-wrap {
  position: sticky;
  top: 90px;
  align-self: flex-start;
}
.about-content .inner-content.scrolled-side {
  padding-left:50px;
}
.about-content .inner-content.scrolled-side .content-group {
  display:block;
  /* align-items: flex-start; */
}
.about-content .inner-content.scrolled-side .content-group h3 {
  /* flex-basis:25%; */
  margin:0;
  word-break:keep-all;
}
.about-content .inner-content.scrolled-side .content-group ul {
  /* flex-basis:75%; */
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* padding-left:30px; */
  margin-top:20px;
}
.about-content .inner-content.scrolled-side .content-group ul li {
  display:inline-flex;
  gap:50px;
}
.about-content .inner-content.scrolled-side .content-group ul li span {
  display:inline-flex;
  align-items: flex-start;
}
.about-content .inner-content.scrolled-side .content-group ul li .cv-title {
  flex-basis:10%;
}
.about-content .inner-content.scrolled-side .content-group ul li span.cv-content { 
  flex-basis:90%;
  display:inline;
}
.about-content .inner-content.scrolled-side .content-group ul li span.cv-content * {
  display:inline;
}
.about-content .sticky-wrap h1 {
  margin: 0 0 20px;
  font-weight: 400;
  line-height:1;
}
.sticky-wrap p {
  margin-top: 20px;
}
.content-group h3 {
  font-weight: 400;
}
.content-group {
  margin-top: 100px;
  line-height: 1.8;
}
.content-group:first-child {
  text-transform: uppercase;
  margin-bottom: 50%;
  margin-top: 0;
}
.entry-content.content-en .about-content.kr,
.entry-content.content-kr .about-content.en {
  display: none;
}

/*text*/
.page-id-9,
.page-id-9 .site-header,
.page-id-9 .site-footer {
  background-color: #fff9a6;
}
.page-id-9 .site-footer,
.page-id-9 .site-footer * {
  color: #000;
}
.text-tabs {
  display: flex;
  text-transform: uppercase;
}
.text-tabs__left {
  flex-basis: 35%;
  width:35%;
  padding-right: 100px;
}
.text-tabs__left > .text-tabs-wrapper {
  position: sticky;
  top: 90px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding-bottom: 50px;
}
.text-tabs__right {
  line-height: 1.8;
  flex-basis: 65%;
  width:65%;
  padding-left: 100px;
}
.text-tabs__right article {
  overflow:hidden;
}
.text-tabs__right .post-header {
  line-height: 1.3;
}
.text-tabs__right .post-header h2 {
  margin: 0;
  font-weight: 400;
}
.text-tabs__right .post-header .text-list-writer {
  margin-top: 40px;
}
#lang-changer {
  display: none;
}
#lang-changer.lang-changer-show {
  display:block;
}
.text-tabs__right .post-header #lang-changer span {
  width: 100px;
  height: 42px;
  border: 1px solid #000;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.text-en,
.text-fr,
.post-fr .text-kr,
.post-en .text-kr {
  display: none;
}
.post-en .text-en,
.post-fr .text-fr,
.post-kr .text-kr {
  display: block;
}

.text-tabs__right .post-content {
  margin-top: 60px;
}
.text-tabs__right .post-content ol {
    list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: fn;
}
.text-tabs__right .post-content ol li {
  counter-increment:fn;
  display:grid;
  grid-template-columns:2.6em 1fr; /* 10) 대비해서 조금 넉넉히 */
  gap:.6em;
  margin:.35em 0;
}
.text-tabs__right .post-content ol li:before {
    content: counter(fn) ")";
  text-align: right;
}

.text-tabs__right .post-content ol li a{
    display: inline !important;
  width: auto !important;
  max-width: none !important;
   flex: none !important;
  align-items: baseline !important;
  gap: 0 !important;
}

.text-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  padding-right:10px;
}
.text-tabs__list > li {
  padding-bottom: 20px;
}
.text-tabs__list > li:last-child {
  padding-bottom: 0;
}
.text-tabs__link {
  display: block;
  text-decoration: none;
  color: #111;
}
.text-tabs__link .text-list-writer {
  margin-top: 5px;
}

.text-tabs__related-link {
  display: inline-flex;
  margin-top: 10px;
}
/* .text-tabs__list > li.is-active .text-tabs__related-link */
.text-tabs__list > li:not(.is-active) .text-tabs__link:hover span,
.text-tabs__list > li.is-active span {
  opacity: 0.3;
}
.text-tabs__list > li.is-active .text-tabs__related-link span {
  opacity:1;
}
.text-tabs__list > li:hover .text-tabs__related-link,
.text-tabs__list > li.is-active .text-tabs__related-link {
  opacity:0.5;
}

/* .text-tabs__list > li:hover .text-tabs__related-link, */
.text-tabs__list > li .text-tabs__link span,
.text-tabs__list > li .text-tabs__related-link {
  transition: all 0.15s ease-in-out;
}

.text-tabs__list > li .text-tabs__related-link {
  position:relative;
}

.text-tabs__list > li .text-tabs__related-link:after {
  content: '';
  position: absolute;
  height: 1px;
  left:0;
  right: calc(100% + 1px);
  bottom: -2px;
  background-color: #000;
  transition: .3s right;
}
.text-tabs__list > li .text-tabs__related:hover .text-tabs__related-link:after {
  right:0;
}

.text-tabs__title {
  display: block;
}
.text-tabs__panel[hidden] {
  display: none;
}

.divider {
  margin: 40px 0 0;
  padding: 40px 0 0;
  position: relative;
}
.divider:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
}

/*project*/
.cat-project,
.cat-project .site-header,
.cat-project .site-footer {
  background-color: #b9c87a;
}
.category-project .project-list-card .entry-header {
  flex-basis: 70%;
  padding-right: 50px;
}
.category-project .project-list-card .card-thumb {
  flex-basis: 30%;
  padding-left: 50px;
}
.category-project .project-list-card .entry-header h2 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
}
.category-project .project-list-card .entry-header h2 a span {
  display: block;
}

.category-project .project-list-card .entry-header h2 a span.t2 {
  margin-top: 5px;
}
.category-project .project-list-card .entry-header h2 a span.t3 {
  margin-top: 10px;
}
.cat-project .post {
  margin-bottom: 6px;
}
.cat-project .post .post-thumbnail {
  display: block;
  line-height: 0;
}
.category-project .post .project-list-card .entry-header h2 a span {
  transition: all 0.15s ease-in-out;
}
.category-project .post:hover .project-list-card .entry-header h2 a span {
  opacity: 0.3;
}
/*work*/
.header-term > a {
  text-transform: uppercase;
}
.header-center {
  line-height: 1;
}
.header-center p {
  margin: 0;
  text-transform: uppercase;
}
.header-center ul {
  gap: 14px;
  margin-left:10px;
}
.header-center ul li a {
  display: block;
  line-height: 0;
}
.header-center ul li a.is-active svg g {
  opacity: 1;
}

.work-views a {
  margin-left: 10px;
  text-decoration: none;
  color: #666;
}
.work-views a.is-active {
  color: #111;
  font-weight: 700;
}

/*점*/
.cat-work.point,
.cat-work.point .site-header,
.cat-work.point .site-footer {
  background:#A2FFA2
}
.cat-work.point .site-footer {
  position:fixed;
  width:100%;
  height:50px;
  bottom:0;
  left:0;
}
.cat-work.point .site-main {
  height:calc(100svh - 200px);
  min-height:100%;
}
/*선*/
.cat-work.line,
.cat-work.line .site-header,
.cat-work.line .site-footer {
  background:#C0FFC0
}
/*면*/
.cat-work,
.cat-work .site-header,
.cat-work .site-footer {
  background-color: #d5ffd5;
}


/* line */
.view-line .work-archive__list {
  display: block;
}
.work-item--line.post {
  margin-bottom: 0;
}

.work-line__link {
  display: flex;
  padding: 10px 0;
  color: #000;
  text-decoration: none;
  align-items: flex-start;
  gap: 30px;
  transition: all 0.15s ease-in-out;
}

.work-item--line:hover .work-line__link {
  opacity: 0.3;
}
.work-line__link span {
  display: block;
  text-transform: uppercase;
}

.work-line__title-ko {
  flex-basis: 30%;
}
.work-line__title-en {
  flex-basis: 40%;
}
.work-line__credit {
  flex-basis: 30%;
}

/* plane */
.view-plane .work-archive__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.view-plane .work-archive__list a {
  display: flex;
  justify-content: space-between;
  gap:20px;
  align-items: flex-start;
}
.view-plane .work-archive__list a .work-plane__media,
.view-plane .work-archive__list a .work-plane__title {
  flex-basis: 50%;
}
.view-plane .work-archive__list .work-item.post {
  margin: 0;
}
.view-plane .work-archive__list .work-item:nth-child(even) a .work-plane__media {
  order: 1;
}
.view-plane .work-archive__list .work-item:nth-child(even) a .work-plane__title {
  order: 2;
}
.view-plane .work-archive__list .work-item:nth-child(even) a .work-plane__title {
  text-align: right;
}
.view-plane .work-archive__list a .work-plane__title span {
  display: block;
  text-transform: uppercase;
  word-break: break-all;
}
.work-plane__card .work-plane__title span {
transition: all 0.15s ease-in-out;
}
.work-plane__card:hover .work-plane__title span {
  color:rgba(0,0,0,0.3);
}

.work-plane__title-ko {
  margin-top: 5px;
}
.work-plane__credit {
  margin-top: 10px;
}
.work-plane__media {
  display: block;
  width: 100%;
  padding-top: 33%;
  position: relative;
  overflow:hidden;
  
}
.work-plane__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* display: block;
  width:100%;
  max-height: 264px;
  height:264px;
  overflow: hidden;
  object-fit: cover; */
}
.work-plane__title {
  display: block;
}

/* point */
.view-point .work-archive__list {
  position: relative;
  min-height: 60vh;
  position: relative;
overflow: visible;       /* 툴팁/호버가 밖으로 나와도 보이게 */
  contain: layout;
}
/* .work-item--point {
  position: absolute;
  transform: translate(-50%, -50%);
} */

/* 점 아이템: transform으로 이동 */
.work-item--point{
  position: absolute;
  width:58px;
  height:28px;
  will-change: transform;
}

/* 내부 미디어는 정사각 박스 꽉 채우기 */
.work-point__dot, .work-point__media, .work-item--point img{
  display:block; width:100%; height:100%; object-fit:cover;
}

/* point 썸네일 고정 박스 */
.work-point__media {
  width: 50px;
  height: 28px;
  display: block;
  overflow: hidden;
}

.work-point__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.work-point__title {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  opacity:0;
  visibility:hidden;
  padding: 20px;
  background: #392338;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.work-item--point.is-edge-right .work-point__title {
  left:auto;
  right:0;
}
.work-point__title * {
  text-transform: uppercase;
}
.work-point__title span {
  display: block;
}
.work-point__title .t-en {
  font-weight: 400;
  white-space: nowrap;
}
.work-point__title .t-ko {
  margin-top: 5px;
  white-space: nowrap;
}
.work-point__title .t-credit {
  margin-top: 10px;
  white-space: nowrap;
}
.work-item--point:hover {
  z-index: 5;
}
.work-item--point .work-point__dot {
  display: block;
}
.work-item--point:hover .work-point__title {
  opacity:1;
  visibility:visible;
}

/* .cat-work.point .navigation.pagination {
  display:none;
} */

.navigation.pagination {
  margin:100px 0 50px;
}
/*detail*/
.site-main .post-navigation,
.detail-view .entry-header {
  display: none;
}
.detail-view .entry-content img,
.detail-view .entry-content figure,
.detail-view .entry-content picture,
.detail-view .entry-content .wp-caption,
.detail-view .entry-content iframe,
.detail-view .entry-content video,
.detail-view .entry-content .wp-block-embed,
.detail-view .entry-content .wp-block-video,
.detail-view .entry-content .wp-block-image {
  display: none !important;
}
.detail-content {
  display: flex;
  margin-top: 30px;
  padding: 0 30px 200px;
  text-transform: uppercase;
}
.detail-content h2 {
  margin:0;
}
.detail-content > div {
  flex-basis: 50%;
}
.detail-content > div.detail-content-left {
  padding-right: 50px;
}

.detail-content > div.detail-content-right {
  padding-left: 50px;
}
.detail-content .work-line__credit {
  text-transform: uppercase;
  display:block;
  margin-top: 20px;
}
.detail-content .work-line__title-en,
.detail-content .detail-credit {
  text-transform: uppercase;
}

.detail-group {
  line-height: 1.8;
  margin-top: 100px;
}
.detail-group:first-child {
  margin-top: 0;
}
.site-main.detail-view {
  padding: 0 0 50px;
  margin: 0;
}
.single .site-header {
  background-color: transparent;
}
.single .site-header * {
  color: #fff;
}
.is-passed-top.single .site-header * {
  color:#000;
}
.single .site-header .header-center {
  display: none;
}
.single .site-footer {
  position: static;
}
.site-main.detail-view .post-swiper .swiper-slide {
  justify-content:center;
  align-items: center;
}
.site-main.detail-view .post-swiper .swiper-slide > img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.video-embed {
  width: 100%;
  height: 100%;
  position:relative;
  /* padding-top:56.25%; */
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
button.video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: #fff;
  border-radius: 50px;
  background: none;
  color: #fff;
  height: 48px;
  line-height: 48px;
  padding: 0 40px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
button.video-full-btn {
  position: absolute;
  right: 14px;
  bottom: 20px;
  cursor: pointer;
  width:28px;
  height:28px;
  border: 0;
  background: transparent;
  padding:0;
}
button.video-full-btn:after {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-image: url("data:image/svg+xml,%3Csvg width='27' height='27' viewBox='0 0 27 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 26.9167V18.2083H2.375V24.5417H8.70833V26.9167H0ZM18.2083 26.9167V24.5417H24.5417V18.2083H26.9167V26.9167H18.2083ZM0 8.70833V0H8.70833V2.375H2.375V8.70833H0ZM24.5417 8.70833V2.375H18.2083V0H26.9167V8.70833H24.5417Z' fill='white'/%3E%3C/svg%3E%0A");
  width:27px;
  height:27px;
  background-repeat: no-repeat;
  background-size:contain;
  background-position: center center;
}
button.video-btn:hover {
  background-color: #fff;
  color: #000;
}
.is-playing button.video-btn.video-play,
button.video-btn.video-pause {
  display: none;
}
.is-playing:hover button.video-btn.video-pause,
.is-paused button.video-btn.video-play {
  display: block;
}
.post-swiper .swiper-button-prev,
.post-swiper .swiper-button-next {
  color: #eee;
  display: flex;
  flex-direction: column;
  margin: 0;
  gap: 7px;
}
.post-swiper .swiper-button-prev:after,
.post-swiper .swiper-button-next:after {
  display: none;
}
.post-swiper .swiper-button-prev {
  left: 14px;
}
.post-swiper .swiper-button-next {
  right: 14px;
}
.post-swiper .swiper-slide {
  height: 100svh;
  max-height: 100svh;
  align-items: center;
  display: flex;
  background: #000;
}

/*common tag*/

.indent {
  display:inline-block;
  text-indent: 1rem;
}
.content-divider {
  width:100%;
  height:1px;
  background-color: rgba(0, 0, 0, 0.3);
  margin:50px 0;
}

/*font-size*/

/* .site-footer,
.site-footer * {
  font-size: 20px;
}
.header-center p,
#primary-menu > li > a,
.category-grid .slot .cat-card__label,
.right-nav-fold a,
*/

.sticky-wrap h1 {
  font-size: 60px;
  line-height: 80px;
}
.detail-credit p {
  font-size: 14px;
  line-height: 24px;
}

/**/

.font-01,
.detail-content .work-line__title-ko {
  font-size: 80px;
  line-height: 100px;
}
.font-02,
.detail-content .work-line__title-en {
  font-size: 50px;
  line-height: 66px;
}
.font-03,
.work-plane__title-en,
.work-point__title .t-en,
.work-line__title-ko,
.category-project .project-list-card .entry-header h2 a span.t1 {
  font-size: 30px;
  line-height: 38px;
}
.font-04,
.font-05,
.content-group h3,
.text-tabs__right .post-header .text-list-title,
.text-tabs__link .text-list-title,
.about-title > li,
.about-title > li > a,
.header-term > a,
.work-line__title-en {
  font-size: 24px;
  line-height: 32px;
}

.font-06,
.detail-content .work-line__credit,
.category-project .project-list-card .entry-header h2 a span.t2,
.work-point__title .t-ko,
.work-plane__title-ko,
.text-tabs__link .text-list-writer,
.text-tabs__right .post-header .text-list-writer {
  font-size: 20px;
  line-height: 26px;
}

.font-07,
.text-tabs__related-link,
.category-project .project-list-card .entry-header h2 a span.t3,
.work-line__credit,
.work-plane__credit,
.work-point__title,
.work-point__title .t-credit {
  font-size: 12px;
  line-height: 16px;
}

.b-font,
.content-group,
.sticky-wrap p,
.text-tabs__right .post-content {
  font-size: 16px;
  line-height: 30px;
}

.mobile-sidebar {
  display:none;
}
@media (max-width: 1080px) {
  .text-tabs__left {
    padding-right:30px;
  }

  /*different font break*/
  .detail-content .work-line__title-ko {
    font-size: 30px;
    line-height: 40px;
    }
  .detail-content .work-line__title-en {
    font-size: 18px;
    line-height: 24px;
  }
  body .detail-content .work-line__credit {
    font-size: 12px;
    line-height: 18px;
  }
  .detail-credit p,
  .detail-credit {
    font-size:10px;
    line-height:16px;
  }
  .detail-group:first-child,
  .detail-group,
  body .content-group {
    font-size: 12px;
    line-height: 24px;
  }
  .category-project .project-list-card .entry-header h2 a span.t1 {
    font-size: 18px;
    line-height: 24px;
  }

}

@media (max-width: 1020px) {
  /*different font break*/
  .work-plane__title-en {
    font-size: 18px;
    line-height: 24px;
  }
  .work-plane__title-ko {
    font-size: 15px;
    line-height: 20px;
  }
  body .work-plane__credit {
    font-size: 10px;
    line-height: 13px;
  }
}
/*responsive*/
@media (max-width: 900px) {
  /*about*/
  .about-content {
    display: block;
  }
  .about-content .inner-content {
    flex-basis: 100%;
    padding:0;
  }
  .about-content .inner-content.sticky-side {
    padding:0;
  }
  .content-group:first-child {
    margin: 60px 0 200px;
  }
  .about-content .inner-content.scrolled-side {
    padding-left:0;
  }

  .about-content .inner-content.scrolled-side .content-group {
    display:block;
  }
  /* .about-content .inner-content.scrolled-side .content-group h3 {
    flex-basis:25%;
  } */
  .about-content .inner-content.scrolled-side .content-group ul {
    flex-basis:100%;
    padding-left:0;
    margin-top:10px;
  }
  .about-content .inner-content.scrolled-side .content-group ul li {
    display:inline-flex;
    gap:50px;
  }

  /*text*/
  .mobile-sidebar {
    display:block;
  }
  .page-id-9 .site-header {
    position: static;
  }
  .text-tabs,
  .text-tabs__right .post-header.flex {
    display: block;
  }
  .text-tabs__left,
  .text-tabs__right {
    flex-basis: 100%;
    padding: 0;
    width:100%;
  }
  .text-tabs__right .post-header {
    padding: 20px 0;
    /* position: sticky;
    top: 80px;
    background-color: #fff9a6;
    padding: 40px 0 20px; */
  }
  .text-tabs__right .post-header .text-list-writer {
    margin-top: 10px;
  }
  .text-tabs__right .post-header #lang-changer {
    /* display: flex !important; */
    width: 100%;
    justify-content: flex-end;
  }
  .text-tabs__right .post-header #lang-changer.lang-changer-show {
    display: flex;
  }
  .text-tabs__right .post-header #lang-changer span {
    width: 60px;
    height: 28px;
    margin-top: 20px;
  }
  .text-tabs__list > li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
  .text-tabs__list > li:first-child {
    padding-top: 0;
  }
  .text-tabs__list > li:last-child {
    padding-bottom: 8px;
  }
  .text-tabs__left ul {
    position: static;
    top: 0;
  }

  .text-tabs__right .post-content {
    margin-top: 0;
  }
  .text-tabs__right .post-content h1,
  .text-tabs__right .post-content h2,
  .text-tabs__right .post-content h3,
  .text-tabs__right .post-content h4,
  .text-tabs__right .post-content h5,
  .text-tabs__right .post-content h6 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .text-tabs.site-main {
    grid-template-columns: 1fr;
    padding-top: 0;
    margin-top: 0;
    overflow:hidden;
  }

  .text-tabs__left {
    position: fixed;
    top: 0; /*나중에 50으로 바꾸기*/
    left: 0;
    width: 100%;
    height: 70svh;
    overflow-y: auto;
    background-color: #fff9a6;
    z-index: 9;
    padding: 0 14px;
    transform:translateY(-100%);
    transition: all 0.2s ease-in-out;
  }

  .mobile-side-opened .text-tabs__left {
    transform:translateY(0);
  }
  
  .mobile-side-opened:before {
    content:'';
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.3);
  }
  .mobile-side-opened .mobile-sidebar.mobile-text-fold.close-fold {
    z-index: 9;
  }
  .mobile-side-opened .mobile-sidebar.mobile-text-fold.close-fold > div {
    border-top:0;
  }
  .text-tabs__left > .text-tabs-wrapper {
    height: calc(100% - 50px);
    overflow-y: hidden;
    padding-bottom: 0;
    top: 0;
  }
  .text-tabs__list {
    margin-top: 10px;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 50px;
  }
  .text-tabs__right {
    position: static;
    height: auto;
    overflow: visible;
  }
  .mobile-sidebar.mobile-text-fold {
    position: sticky;
    top: 0;
    background-color: #fff9a6;
  }

  .mobile-sidebar.mobile-text-fold > div {
    cursor: pointer;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
  #mobile-fold.mobile-sidebar.mobile-text-fold {
    position: sticky;
  }
#mobile-fold.mobile-sidebar.mobile-text-fold.is-at-top {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  padding: 0 20px;
}
  #mobile-fold.mobile-sidebar.mobile-text-fold.is-at-top > div {
    border:0;
    position:relative;
  }
  #mobile-fold.mobile-sidebar.mobile-text-fold.is-at-top > div:after {
    content:'';
    width:120%;
    height:1px;
    background-color:rgba(0, 0, 0, 0.3);
    position:absolute;
    bottom:0;
    left:-20px;
  }

  /*detail*/
  .detail-content {
    display: block;
    margin-top: 20px;
    padding: 0 14px;
  }
  .detail-content > div.detail-content-left,
  .detail-content > div.detail-content-right {
    padding: 0;
  }
  .post-gallery-grid {
    margin-top: 60px;
    padding: 0 14px;
  }
  .post-gallery-item {
    margin-bottom: 3px;
    position:relative;
  }
  .post-media-mobile.only-mobile img,
  .post-gallery-item img {
    width:100%;
    height:auto;
  }
  .detail-group:first-child,
  .detail-group {
    margin-top: 60px;
  }
}

@media (max-width: 768px) {
  /*font-size*/

  /* #primary-menu > li > a,
  .cat-card__label,
  .about-title > li > a,
  .header-term > a {
    font-size: 20px;
  } */

  .sticky-wrap h1 {
    font-size:24px;
    line-height:32px;
  }
  /**/
  .font-01,
  .detail-content .work-line__title-ko {
    font-size: 30px;
    line-height: 40px;
  }

  .font-02,
  .font-03,
  .work-line__title-ko,
  .work-plane__title-en,
  .text-tabs__right .post-header .text-list-title,
  .text-tabs__link .text-list-title{
    font-size: 18px;
    line-height: 24px;
  }

  body .font-04,
  .content-group h3,
  .about-title > li > a {
    font-size: 20px;
    line-height: 26px;
  }

  .font-05,
  .mobile-only.mobile-text-fold span,
  .work-line__title-en,
  .text-tabs__link .text-list-writer,
  .text-tabs__right .post-header .text-list-writer,
  .text-tabs__right .post-header #lang-changer {
    font-size: 14px;
    line-height: 18px;
  }

  .font-06,
  .category-project .project-list-card .entry-header h2 a span.t2,
  .work-plane__title-ko {
    font-size: 15px;
    line-height: 20px;
  }

  body .font-07,
  body .text-tabs__related-link,
  body .work-line__credit,
  body .work-plane__credit {
    font-size: 10px;
    line-height: 13px;
  }

  body .b-font,
  .detail-group:first-child,
  .detail-group,
  body .sticky-wrap p,
  body .content-group,
  body .text-tabs__right .post-content {
    font-size: 12px;
    line-height: 24px;
  }


  .mobile-only {
    display: block;
  }

.site-main {
  min-height:700px;
  overflow-x:hidden;
}
  /*main*/
  /* 호버/포커스 시 색상 드러나기 */
.category-grid .slot:hover::after,
.category-grid .slot:focus-visible::after {
  opacity: 0;
}.category-grid .slot.slot-projects:hover .cat-card__label,
.category-grid .slot.slot-work:hover .cat-card__label,
.category-grid .slot.slot-text:hover .cat-card__label,
.is-hovering-text.home .site-footer,
.is-hovering-text.home .site-footer * {
  color:#fff;
}
  .home .site-footer,
  .home .site-footer * {
    color: #fff;
  }
  .category-grid .slot-work {
  border-top: 1px solid #999;
}
.category-grid .slot-projects {
  border-left: 1px solid #999;
}
.category-grid .slot-text {
  border-top: 1px solid #999;
}
  /*about*/

  /*project*/
  .category-project .project-list-card {
    display: block;
    margin-top: 40px;
  }
  .category-project:first-child .project-list-card {
    margin-top: 0;
  }
  .category-project .project-list-card .entry-header,
  .category-project .project-list-card .card-thumb {
    flex-basis: 100%;
    padding: 0;
  }
  .category-project .project-list-card .card-thumb {
    margin-top: 10px;
  }
  .cat-project .post .post-thumbnail {
    width:100%;
    padding-top:51%;
    position:relative;
  }
  .cat-project .post .post-thumbnail img {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit: cover;
  }

  /*work*/
  .header-center ul li a svg {
    height: 16px;
    width: auto;
  }
  .header-center {
    margin-right: auto;
  }
  .header-center p span:first-child {
    display: none;
  }

  /* plane */
  .view-plane .work-archive__list,
  .view-plane .work-archive__list a {
    display: block;
  }
  .view-plane .work-archive__list .work-item.post {
    margin-top: 40px;
  }
  .view-plane .work-archive__list .work-item.post:first-child {
    margin-top: 0;
  }
  .view-plane .work-archive__list a .work-plane__media,
  .view-plane .work-archive__list a .work-plane__title {
    flex-basis: 100%;
  }
  .work-plane__media {
    padding-top:55%;
  }
  .view-plane .work-archive__list .work-item a .work-plane__media {
    order: 2;
    display: block;
    margin-top: 10px;
  }
  .view-plane .work-archive__list .work-item a .work-plane__title {
    order: 1;
  }
  .view-plane
    .work-archive__list
    .work-item:nth-child(even)
    a
    .work-plane__title {
    text-align: left;
  }

  /*line*/
  .work-line__link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }
  .work-line__title-ko {
    flex-basis: 100%;
  }
  .work-line__title-en {
    flex-basis: 100%;
    margin-top: 5px;
  }
  .work-line__credit {
    flex-basis: 100%;
    margin-top: 10px;
  }

  /*point*/
  .work-item--point:hover .work-point__title {
    display: none;
  }

  /*detail*/
  .detail-credit {
    margin-top:20px;
  }


  .post-media-mobile.only-mobile {
    padding-top:133.333%;
    position:relative;
    overflow:hidden;
  }
  .post-media-mobile.only-mobile img {
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    object-fit: cover;
  }
.video-embed {
  /* position:static;
  padding-top:0; */
  padding-top:56.25%;
}
  /* .video-embed iframe{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 237%;
    max-width:none;
    transform: translate(-50%, -50%);
  } */
   button.video-full-btn {
  position: absolute;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  width:14px;
  height:14px;
}
button.video-full-btn:after {
  width:14px;
  height: 14px;;
}
button.video-btn {
  padding: 0 20px;
height: 28px;
line-height: 28px;
font-size: 14px;
}
.is-playing:hover button.video-btn.video-pause{
  display: none;
}
}
