@charset "UTF-8";
/*
 Theme Name:   GeneratePress EP Theme
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme made by EP.
 Author:       EVERYDAY PRACTICE
 Author URI:   http://everyday-practice.com
 License:      GNU General Public License v3.0 (or later)
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Template:     generatepress
 Version:      0.1
*/
/* Initialize */
:root {
  --color-white: #fff;
  --color-black: #000;
  --color-blue: #1100ff;
}

.artist-meta__section.artist-meta__section--kr {
  margin-bottom: 1rem;
}

.artist-meta__row {
  display: flex;
  gap: 0.5rem;
}
.artist-meta__row p {
  margin: 0;
}

.artist-meta__experiment-status {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.artist-meta__experiment-status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.artist-meta__experiment-status-item .artist-meta__experiment-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.artist-meta__experiment-checkbox {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  position: relative;
  box-sizing: border-box;
  border: 1px solid currentColor;
}

.artist-meta__experiment-status-item.is-selected .artist-meta__experiment-checkbox {
  border-color: var(--color-blue, #1100ff);
  background: var(--color-blue, #1100ff);
}

.artist-meta__workshop {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.artist-meta__workshop p {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin: 0;
}

body.single-observation .inside-article {
  gap: 20px;
}
body.single-observation .inside-article .caption-container {
  grid-column: 1/4;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
}
body.single-observation .inside-article .caption-container .observation-post-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.single-observation .inside-article .caption-container .observation-post-list .observation-post-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.single-observation .inside-article .caption-container .observation-post-list .observation-post-item h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
  width: fit-content;
}
body.single-observation .inside-article .caption-container .observation-post-list .observation-post-item.active h3 {
  font-weight: 700;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='4px'%3E%3Cline x1='0' y1='2' x2='100%25' y2='2' stroke='%231100FF' stroke-width='2' stroke-dasharray='0.5 5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 4px;
}
body.single-observation .inside-article .caption-container .observation-post-meta__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.25rem;
}
body.single-observation .inside-article .caption-container .observation-post-meta__title p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
body.single-observation .inside-article .caption-container .observation-post-meta__author {
  display: flex;
  flex-direction: column;
}
body.single-observation .inside-article .entry-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 20px;
  grid-column: 4/12;
  /* artist-main-container 와 동일: 확정 높이 → 그리드 자식에 스크롤 포트 */
  min-height: 0;
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin));
  overflow: hidden;
  align-items: stretch;
  box-sizing: border-box;
}
body.single-observation .inside-article .entry-content > * {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue) transparent;
}
body.single-observation .inside-article .entry-content > *::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
body.single-observation .inside-article .entry-content > *::-webkit-scrollbar-track {
  background: transparent;
}
body.single-observation .inside-article .entry-content > *::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
body.single-observation .inside-article .entry-content > *::-webkit-scrollbar-thumb:hover {
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
body.single-observation .inside-article .entry-content > *::-webkit-scrollbar-corner {
  background: transparent;
}
body.single-observation .inside-article .entry-content .kr p {
  font-weight: 600;
  line-height: 1.7;
}
body.single-observation .inside-article .sidebar {
  right: var(--ep-margin);
  width: calc((100dvw - var(--ep-margin) * 2) / 12 - 20px);
}

body.post-type-archive-participate .site-main {
  display: grid;
  padding-top: 3.5rem;
  grid-template-columns: repeat(12, 1fr);
}
body.post-type-archive-participate .site-main .participate-list {
  grid-column: 1/12;
  display: flex;
  flex-direction: column;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item {
  border-top: 1px solid var(--color-blue);
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item span,
body.post-type-archive-participate .site-main .participate-list .participate-post-item time,
body.post-type-archive-participate .site-main .participate-list .participate-post-item p {
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 500;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary {
  display: grid;
  grid-template-columns: 1fr 2fr 4fr 4fr;
  list-style: none;
  cursor: pointer;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--ep-margin);
  padding: 0.5rem 0 0.3rem 0;
  transition: background-color 0.3s ease;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary:hover {
  background-color: var(--color-blue);
  color: #fff;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary:hover span,
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary:hover time,
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary:hover p {
  color: #fff;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary::-webkit-details-marker {
  display: none;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item > summary::marker {
  content: none;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel {
  display: grid;
  grid-template-columns: 1fr 2fr 4fr 4fr;
  gap: var(--ep-margin);
  padding: 1rem 0 1rem;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel div {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel div .participate-post-item__progress-status-label,
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel div .participate-post-item__experiment-notes-label,
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel div .participate-post-item__observations-label,
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel div .participate-post-item__remarks-label {
  margin-bottom: 1rem;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__panel .participate-post-item__observations-remarks-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ep-margin);
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button {
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-size: 13px;
  line-height: 1.2;
  padding: 4px;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button img {
  grid-area: 1/1;
  width: 1rem;
  height: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  margin: 0;
  transform-origin: 50% 50%;
  transition: transform 0.18s ease;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button[aria-expanded=true] img {
  transform: rotate(45deg);
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button {
  /* default: blue icon */
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button img:nth-child(2) {
  display: none;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:hover, body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:focus-visible {
  /* hover: white icon */
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:hover img:nth-child(1), body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:focus-visible img:nth-child(1) {
  display: none;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:hover img:nth-child(2), body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container button:focus-visible img:nth-child(2) {
  display: block;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing-container div p {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing {
  appearance: none;
  background: transparent;
  border: 1px solid var(--color-blue);
  color: var(--color-blue);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  justify-self: start;
  width: fit-content;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing:hover, body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing:focus-visible {
  background: var(--color-blue);
  color: #fff;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__toggle-drawing--disabled {
  opacity: 0.5;
  cursor: default;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__drawing {
  margin: 0;
  grid-column: 1/-1;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__drawing--hidden {
  display: none;
}
body.post-type-archive-participate .site-main .participate-list .participate-post-item .participate-post-item__drawing-img {
  max-width: 380px;
  height: auto;
  vertical-align: middle;
}

.submit-modal[aria-hidden=true] {
  display: none;
}

.submit-modal[aria-hidden=false] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.submit-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.submit-modal__inner {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 1rem;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue) transparent;
}
.submit-modal__inner::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
.submit-modal__inner::-webkit-scrollbar-track {
  background: transparent;
}
.submit-modal__inner::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
.submit-modal__inner::-webkit-scrollbar-thumb:hover {
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
.submit-modal__inner::-webkit-scrollbar-corner {
  background: transparent;
}

/* submit form (modal content) */
#submit-form {
  --submit-border: 1px solid var(--color-blue);
  --submit-gap: 24px;
  display: block;
  padding: 0 5rem;
}

#submit-form > * {
  min-width: 0;
}

#submit-form input,
#submit-form select,
#submit-form textarea {
  width: 100%;
  color: var(--color-blue);
  background: transparent;
  border: none;
  border-bottom: var(--submit-border);
  border-radius: 0;
  padding: 0.35rem 0;
  outline: none;
  box-shadow: none;
  font-size: 13px !important;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

#submit-form textarea {
  height: 2.2em;
  min-height: 2.2em;
  padding: 0.35em 0;
  resize: vertical;
}

#submit-form input::placeholder,
#submit-form textarea::placeholder {
  color: var(--color-blue);
  opacity: 0.75;
}

.submit-form__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}
.submit-form__header h2 {
  width: fit-content;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 500;
  margin: 0;
}
.submit-form__header h2.font-rhymes-display {
  font-family: "Rhymes Display", "MOCA Gothic", sans-serif;
}

.submit-form__2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ep-margin);
}
.submit-form__2-cols .submit-form__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.submit-form__row-label,
.submit-form__row-input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.submit-form__row-label {
  margin-bottom: 1rem;
}

label {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

.submit-form__1-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.submit-form__1-col .submit-form__row-label {
  align-items: start;
}
.submit-form__1-col .submit-form__row-label label {
  margin-bottom: 0.5rem;
}
.submit-form__1-col .submit-form__row-label textarea {
  text-align: left !important;
}

#field-name {
  font-size: 13px !important;
  padding: 0.2rem 0 0.5rem;
}

#field-progress-status {
  width: 100%;
}

.submit-form__progress-options {
  display: flex;
  position: relative;
  width: 100%;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 0 0.3rem;
}

.submit-form__progress-options::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 1px;
  background: var(--color-blue);
  opacity: 0.9;
}

.submit-form__progress-option {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  user-select: none;
}

.submit-form__progress-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.submit-form__progress-indicator {
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-blue);
  background: transparent;
  box-sizing: border-box;
  opacity: 0;
  position: absolute;
  top: 6px;
  transform: translateY(-50%);
}

.submit-form__progress-option input[type=radio]:checked + .submit-form__progress-indicator {
  opacity: 1;
  background: var(--color-blue);
}

.submit-form__progress-tick {
  width: 1px;
  height: 16px;
  background: var(--color-blue);
  opacity: 0.9;
  position: absolute;
  top: 14px;
  transform: translateY(-100%);
}

.submit-form__progress-text {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-blue);
  margin-top: 0.9rem;
}

#field-workshop {
  padding: 0.3rem 0;
}

.submit-form__workshop-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.submit-form__workshop-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}
.submit-form__workshop-option div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.submit-form__workshop-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.submit-form__workshop-box {
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-blue);
  background: transparent;
  box-sizing: border-box;
}

.submit-form__workshop-option input[type=radio]:checked + .submit-form__workshop-box {
  background: var(--color-blue);
}

.submit-form__workshop-text {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-blue);
}

#drawing-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  border: var(--submit-border);
  background: transparent;
}

.submit-form__drawing-container {
  position: relative;
}

.submit-form__drawing-cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-blue);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.submit-form__submit-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}
.submit-form__submit-btn-container button {
  background: var(--color-blue);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  padding: 6px 20px;
}

:root[data-size=desktop] {
  --ep-margin: 20px;
  --ep-pageTop: 12px;
  --ep-headerH: 64px;
}

:root[data-size=tablet],
:root[data-size=phone_large],
:root[data-size=phone] {
  --ep-margin: 15px;
  --ep-pageTop: 10px;
  --ep-headerH: 50px;
}

* {
  word-break: keep-all;
  box-sizing: border-box;
  position: relative;
}

html {
  font-size: 20px !important;
}

body,
input,
select,
optgroup,
textarea {
  font-size: 1rem !important;
  line-height: 1.4em !important;
  font-family: "MOCA Gothic", sans-serif !important;
  color: var(--color-blue);
}

body {
  background-color: var(--icaseoul-bg-1);
  padding: var(--ep-margin);
}

.site {
  margin: 0;
  max-width: 100%;
}
@media (max-width: 780px) {
  .site {
    display: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-blue);
}

h1 {
  font-size: 3.125rem;
  line-height: 1.1;
  font-weight: 400;
}

h2 {
  font-size: 1.8125rem;
  line-height: 1.1;
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: var(--color-blue);
}

.caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-blue);
}

a {
  text-decoration: none;
  color: var(--color-blue);
}
a:hover {
  color: var(--color-blue) !important;
}

.font-rhymes-display p,
.font-rhymes-display li,
.font-rhymes-display h2 {
  font-family: "Rhymes Display", "MOCA Gothic", sans-serif;
  line-height: 1.5 !important;
}

/* i / em → Rhymes Display Italic (@font-face font-style: italic 일치) */
.font-rhymes-display i,
.font-rhymes-display em {
  font-family: inherit;
  font-style: italic;
}

/* ----- Initialize End ----- */
/* Global Styles */
@keyframes gp-menu-active-step-rotate {
  from {
    transform: translateY(calc(-50% - 2px)) rotate(0deg);
  }
  to {
    transform: translateY(calc(-50% - 2px)) rotate(360deg);
  }
}
.temporary-msg {
  width: 100%;
  min-height: min(60dvh, 520px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.temporary-msg .temporary-msg__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 14px;
  text-align: center;
  color: var(--color-blue);
  letter-spacing: 0.02em;
}
.temporary-msg .temporary-msg__text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
}
@media (max-width: 780px) {
  header {
    grid-template-columns: repeat(1, 1fr);
  }
}
header .menu-menu-container ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
  row-gap: 0;
  margin: 0;
}
header .menu-menu-container ul li {
  list-style: none;
  padding: 2px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='4px'%3E%3Cline x1='0' y1='2' x2='100%25' y2='2' stroke='%231100FF' stroke-width='2' stroke-dasharray='0.5 5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 4px;
}
header .menu-menu-container ul li.current-menu-item a {
  font-weight: 600;
}
header .menu-menu-container ul li.current-menu-item::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 2px)) rotate(0deg);
  right: 0;
  width: 1rem;
  height: 1rem;
  background-image: url("/wp-content/themes/generatepress_child/assets/svg/menu_active.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  animation: gp-menu-active-step-rotate 1.2s steps(8) infinite;
}
header .menu-menu-container ul li a {
  font-size: 1.2rem;
}
header .menu-menu-container ul li a:hover {
  color: var(--color-blue);
  font-weight: 600;
}
@media (max-width: 780px) {
  header .menu-menu-container {
    display: none;
  }
}
header .header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5rem;
  margin-right: var(--ep-margin);
}
@media (max-width: 780px) {
  header .header-right {
    gap: 1rem;
    margin-right: 0;
  }
}
header .header-right figure {
  display: flex;
  align-items: center;
}
header .header-right figure img {
  width: 100%;
}

.site-main {
  margin: 0 !important;
}

.inside-article {
  display: grid;
  padding: 0 !important;
  padding-top: 3.5rem !important;
  grid-template-columns: repeat(12, 1fr);
}
.inside-article .entry-header {
  display: none;
}
.inside-article .entry-content {
  grid-column: 1/12;
  margin-top: 0 !important;
}
.inside-article:has(.dynamic-content-template .sidebar-artist-stack), .inside-article:has(.sidebar-artist-stack) {
  overflow-x: clip;
}
.inside-article:has(.dynamic-content-template.is-gallery-open) {
  overflow-x: visible;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: calc(96px + 3.5rem + var(--ep-margin));
  bottom: var(--ep-margin);
  right: 0;
  width: calc((100dvw - var(--ep-margin) * 2) / 12);
  overflow-x: visible;
  z-index: 1000;
}
.sidebar p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.sidebar .experiment-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.sidebar .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sidebar .footer .copyright {
  margin-bottom: 1rem;
}
.sidebar {
  /* 갤러리: 행(본문 열 + 패널), 패널은 relative — 템플릿 translate 로 노출 */
}
.sidebar .sidebar-artist-stack {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  flex: 1 1 auto;
  align-self: stretch;
  width: max-content;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-body {
  flex: 0 0 calc((100dvw - var(--ep-margin) * 2) / 12);
  width: calc((100dvw - var(--ep-margin) * 2) / 12);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  transform: translateX(20px);
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0.45rem 0.5rem;
  width: max-content;
  max-width: 100%;
  border: 0;
  background: var(--icaseoul-bg-1, #fff);
  color: var(--color-blue);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open .sidebar__gallery-open-face {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  transition: opacity 0.32s ease;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open .sidebar__gallery-open-face--idle {
  opacity: 1;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open .sidebar__gallery-open-face--active {
  opacity: 0;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open figure {
  margin: 0;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-open figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel {
  position: relative;
  z-index: 1002;
  flex: 0 0 var(--artist-gallery-w, 50dvw);
  width: var(--artist-gallery-w, 50dvw);
  min-width: 0;
  min-height: 0;
  padding: 2.25rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: var(--icaseoul-bg-1, #fff);
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.38s ease;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .sidebar__gallery-close {
  position: absolute;
  display: none;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-slide .sidebar__gallery-slide-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-slide .sidebar__gallery-slide-figure img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev,
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-next {
  color: transparent;
  width: 40px;
  height: 40px;
  background-image: url("/wp-content/themes/generatepress_child/assets/svg/view_img_btn.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.18s ease;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev::after,
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-next::after {
  content: none;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev:hover, .sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev:focus-visible,
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-next:hover,
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-next:focus-visible {
  transform: scale(1.1);
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev {
  transform: rotate(180deg);
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev:hover, .sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-button-prev:focus-visible {
  transform: rotate(180deg) scale(1.1);
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-pagination-bullet {
  border-radius: 0 !important;
}
.sidebar .sidebar-artist-stack .sidebar__gallery-panel .artist-gallery-swiper .swiper-pagination-bullet-active {
  background: var(--color-blue);
}
.sidebar .sidebar-artist-stack.is-gallery-open .sidebar__gallery-panel {
  pointer-events: auto;
  overflow: visible;
  opacity: 1;
}

/* 갤러리 열림: 같은 자리에서 보기/닫기 면 전환 (클래스는 템플릿 또는 스택에만 붙음) */
.sidebar-artist-stack.is-gallery-open .sidebar__gallery-open .sidebar__gallery-open-face--idle,
.dynamic-content-template.is-gallery-open .sidebar__gallery-open .sidebar__gallery-open-face--idle {
  opacity: 0;
}
.sidebar-artist-stack.is-gallery-open .sidebar__gallery-open .sidebar__gallery-open-face--active,
.dynamic-content-template.is-gallery-open .sidebar__gallery-open .sidebar__gallery-open-face--active {
  opacity: 1;
}

/* 아티스트 갤러리: 템플릿 translate + overflow (닫힘/열림은 .inside-article :has) */
.dynamic-content-template:has(.sidebar-artist-stack) {
  --artist-gallery-w: 50dvw;
  position: relative;
  /* 너비는 그리드/100dvw 흐름 그대로 — 갤러리는 가로 overflow 로만 잘림 */
  overflow-x: hidden;
  overflow-y: hidden;
  /* fixed 자손 기준 박스. 가로 이동량만 JS 가 --artist-gallery-shift-x 로 넣음 (transform 정의는 여기만) */
  transform: translateX(var(--artist-gallery-shift-x, 0px));
  transition: transform 0.75s ease-in-out;
}
.dynamic-content-template:has(.sidebar-artist-stack).is-gallery-open {
  overflow-x: visible;
  overflow-y: visible;
}
.dynamic-content-template:has(.sidebar-artist-stack).is-gallery-open .sidebar__gallery-panel {
  pointer-events: auto;
  overflow: visible;
  opacity: 1;
}
.dynamic-content-template:has(.sidebar-artist-stack) {
  /* transform 조상 안 fixed: top 은 JS 가 채우는 --artist-sidebar-top-offset (뷰포트 기준 픽셀) */
}
.dynamic-content-template:has(.sidebar-artist-stack) .sidebar {
  top: var(--artist-sidebar-top-offset, 0px);
  right: var(--ep-margin);
  bottom: var(--ep-margin);
  margin-left: 20px;
}

html.artist-gallery-scroll-lock,
body.artist-gallery-scroll-lock {
  overflow: hidden;
}

.site-footer {
  display: none;
}

/* ----- Global Styles End ----- */
/* Custom Styles */
.main-contents,
.dynamic-content-template {
  display: grid;
  grid-template-columns: 3fr 4fr 4fr;
  gap: 1rem;
  min-height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
}
.main-contents .main-introduction p,
.dynamic-content-template .main-introduction p {
  font-weight: 500;
  line-height: 1.5;
}

.dynamic-content-template {
  min-height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
}

.caption-container {
  columns: 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
}
.caption-container p {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.main-contents {
  /* 섹션(컬럼)별 독립 스크롤을 위해 확정 높이 + 스크롤 포트 생성 */
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
  box-sizing: border-box;
}
.main-contents > * {
  min-width: 0;
  min-height: 0;
}
.main-contents {
  /* 캡션 영역은 다른 템플릿처럼 고정 높이 안에서 정렬 */
}
.main-contents .caption-container {
  /* 다른 템플릿(.dynamic-content-template 등)과 동일한 세로 정렬/높이 */
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 1rem;
  overflow: hidden;
}
.main-contents {
  /* 나머지 컬럼들은 각자 내부 스크롤 */
}
.main-contents > :not(.caption-container) {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue) transparent;
}
.main-contents > :not(.caption-container)::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
.main-contents > :not(.caption-container)::-webkit-scrollbar-track {
  background: transparent;
}
.main-contents > :not(.caption-container)::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
.main-contents > :not(.caption-container)::-webkit-scrollbar-thumb:hover {
  box-shadow: inset -1px 0 0 0 var(--color-blue);
}
.main-contents > :not(.caption-container)::-webkit-scrollbar-corner {
  background: transparent;
}

.dynamic-content-template {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding-top: 3.5rem;
  overflow: hidden;
}
.dynamic-content-template .caption-container {
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin) * 2);
  grid-column: 1/3;
  justify-content: space-between;
}
.dynamic-content-template .caption-container .artists-menu-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dynamic-content-template .caption-container .artists-menu ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.dynamic-content-template .caption-container .artists-menu ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dynamic-content-template .caption-container .artists-menu ul li a {
  font-size: 1.2rem;
}
.dynamic-content-template .caption-container .artists-menu ul li.is-active a {
  color: var(--color-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='4px'%3E%3Cline x1='0' y1='2' x2='100%25' y2='2' stroke='%231100FF' stroke-width='2' stroke-dasharray='0.5 5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 4px;
}
.dynamic-content-template .caption-container .artists-menu__current-symbol {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.dynamic-content-template .caption-container .artists-menu__current-symbol img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100px;
  max-height: 3rem;
  object-fit: contain;
}
.dynamic-content-template .artist-main-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-column: 3/12;
  gap: 1rem;
  min-height: 0;
  /* max-height만 있으면 행 높이가 내용에 맞춰 커져 flex 자식에 스크롤 포트가 안 생김 → 확정 높이 필요 */
  height: calc(100dvh - 96px - 3.5rem - var(--ep-margin));
  overflow: hidden;
  align-items: stretch;
  box-sizing: border-box;
}
.dynamic-content-template .artist-main-container .artists-main-content__left {
  grid-column: 1/2;
  min-height: 0;
  overflow: hidden;
}
.dynamic-content-template .artist-main-container .artists-main-content__right {
  grid-column: 2/4;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  align-self: stretch;
  box-sizing: border-box;
}
.dynamic-content-template .artist-main-container .artist-content-wrapper {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue) transparent;
}
.dynamic-content-template .artist-main-container .artist-content-wrapper::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
.dynamic-content-template .artist-main-container .artist-content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.dynamic-content-template .artist-main-container .artist-content-wrapper::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: inset -2px 0 0 0 var(--color-blue);
}
.dynamic-content-template .artist-main-container .artist-content-wrapper::-webkit-scrollbar-thumb:hover {
  box-shadow: inset -2px 0 0 0 var(--color-blue);
}
.dynamic-content-template .artist-main-container .artist-content-wrapper::-webkit-scrollbar-corner {
  background: transparent;
}
.dynamic-content-template .artist-main-container .artist-content-wrapper p {
  font-weight: 500;
}
.dynamic-content-template .artist-main-container h2 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  text-decoration: underline 1px;
  text-underline-offset: 6px;
  margin-bottom: 0.5rem;
}

.moving-poster {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
@media (max-width: 780px) {
  .moving-poster {
    display: none !important;
  }
}

.moving-poster.is-fading-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 780px) {
  .moving-poster.is-fading-out {
    display: none !important;
  }
}

.temporary-msg-mobile {
  display: none;
}
@media (max-width: 780px) {
  .temporary-msg-mobile {
    display: block;
  }
  .temporary-msg-mobile .temporary-msg__text-wrap {
    gap: 0;
  }
  .temporary-msg-mobile .temporary-msg__text-wrap span {
    font-size: 20px;
  }
}

/* ----- Custom Styles End ----- */