/*!
Theme Name: v1c3
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: v1c3
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.

v1c3 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.
 */

@import 'styles/reset.css';
@import 'styles/variable.css';
@import 'styles/typography.css';
@import 'styles/body.css';
@import 'styles/header.css';
@import 'styles/main.css';
@import 'styles/footer.css';
@import 'styles/single.css';

/* 전역 video 100vh는 싱글 본문·인라인 스타일과 충돌 — 랜딩 히어로만 적용 */
.index-main > video,
video.index-main-video{
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  object-fit: cover;
}

/* 캡션 "double" 마커: 데스크톱 2열, 모바일 1열 — 열 간격 20px */
.v1c3-double-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--v1c3-media-max, min(100%, 90vw));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  align-items: start;
}

.v1c3-double-row > *{
  min-width: 0;
  width: 100%;
  max-width: none;
}

.v1c3-double-row .wp-block-image,
.v1c3-double-row figure.wp-block-image,
.v1c3-double-row figure{
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* 클래식 wp-caption: WordPress가 붙이는 style="width:310px"보다 우선 */
.v1c3-double-row .wp-caption,
.v1c3-double-row figure.wp-caption{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.v1c3-double-row img{
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.single-project-media .v1c3-double-row figure,
.single-project-media .v1c3-double-row .wp-block-image{
  max-width: none;
  width: 100%;
}

.single-project-media .v1c3-double-row .wp-caption,
.single-project-media .v1c3-double-row figure.wp-caption{
  width: 100% !important;
  max-width: none !important;
}

.single .site-main .single-project-media .v1c3-double-row img{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

/* 캡션 "triple" 마커: 데스크톱 3열, 모바일 1열 — 열 간격 20px */
.v1c3-triple-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--v1c3-media-max, min(100%, 90vw));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  align-items: start;
}

.v1c3-triple-row > *{
  min-width: 0;
  width: 100%;
  max-width: none;
}

.v1c3-triple-row .wp-block-image,
.v1c3-triple-row figure.wp-block-image,
.v1c3-triple-row figure{
  width: 100%;
  max-width: none;
  min-width: 0;
}

.v1c3-triple-row .wp-caption,
.v1c3-triple-row figure.wp-caption{
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.v1c3-triple-row img{
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.single-project-media .v1c3-triple-row figure,
.single-project-media .v1c3-triple-row .wp-block-image{
  max-width: none;
  width: 100%;
}

.single-project-media .v1c3-triple-row .wp-caption,
.single-project-media .v1c3-triple-row figure.wp-caption{
  width: 100% !important;
  max-width: none !important;
}

.single .site-main .single-project-media .v1c3-triple-row img{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.v1c3-is-double-marker figcaption,
.v1c3-is-double-marker .wp-caption-text,
.v1c3-is-triple-marker figcaption,
.v1c3-is-triple-marker .wp-caption-text{
  display: none;
}

@media (max-width: 768px){
  .v1c3-double-row{
    grid-template-columns: 1fr;
  }

  .v1c3-triple-row{
    grid-template-columns: 1fr;
  }

  /* 랜딩 히어로: 가로 100% 기준으로 프레임 전체가 보이게(잘림 최소화) */
  .index-main > video,
  video.index-main-video{
    width: 100%;
    max-width: 100%;
    height: 100vh;
    min-height: 100dvh;
    object-fit: contain;
    object-position: center center;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

.archive-row-search:hover{
  background-color: var(--bg-color) !important;
}

a:hover{
	filter: blur(2px);
	transition: 0.3s;
	/* transition: filter 0.1s ease; */
}
li:hover{
	filter: blur(2px);
	transition: 0.3s;
	/* transition: filter 0.1s ease; */
}