/*!
Theme Name: antimine
Theme URI: https://antimine.me/
Author: antmine
Author URI: https://antimine.me
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: antimine
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.

antimine 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/

/* Slick carousel override styles */
@font-face {
    font-family: The Future;
    src: url(./fonts/the-future-thin.woff2) format("woff2");
    font-weight: 100;
    font-style: normal;	
}
@font-face {
    font-family: 'chusalove-subset';
    src: url('./fonts/chusalove-namtaeryeong.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.slick-slider {
  margin-bottom: 2rem;
  padding: 5px;
}

/* Swiper override styles */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-pagination-bullet {
  width: 20px !important;
  height: 20px !important;
}

.swiper-slide {
  max-height: 700px;
  overflow: hidden;
}

.swiper-pagination-bullet-active {
  background: var(--purple) !important;
}

/* Reset styles */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  src: url(https://fonts.gstatic.com/s/opensans/v40/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu1aB.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Typography styles */
/* ====== 1. 폰트 및 기본 설정 ====== */
:root {
  --font-family-kr: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-base: clamp(1rem, 0.9rem + 0.6vw, 1.125rem); /* 기본 본문: 16~18px */
  --font-sm: clamp(0.875rem, 0.75rem + 0.5vw, 1rem); /* 작은 글씨: 14~16px */
  --font-md: clamp(1.125rem, 1rem + 1vw, 1.5rem); /* 중간 글씨: 18~24px */
  --font-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); /* 큰 제목: 24~36px */
  --font-xl: clamp(2rem, 1.5rem + 2vw, 2.3rem); /* 섹션 타이틀: 32~48px */
  --line-height-base: 1.7;
  --line-height-heading: 1.3;
  --color-text: #1a1a1a;
  --color-heading: #111;
  --color-muted: #555;
}

/* ====== 2. 글로벌 스타일 ====== */
body {
  font-family: var(--font-family-kr);
  font-size: var(--font-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: #fff;
  margin: 0;
  padding: 0;
}

/* ====== 3. 기본 요소 스타일 ====== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-heading);
  line-height: var(--line-height-heading);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: var(--font-xl);
}

h2 {
  font-size: var(--font-lg);
}

h3 {
  font-size: var(--font-md);
}

h4, h5, h6 {
  font-size: var(--font-base);
  font-weight: 600;
}

p {
  margin: 1em 0;
  font-size: var(--font-base);
}

a {
  color: #000;
  text-decoration: none;
  word-break: break-all;  
}

a:hover {
  color: #60269e;
  text-decoration: none;
}

ul, ol {
  padding-left: 1.5rem;
  margin: 1em 0;
}

blockquote {
  font-style: italic;
  color: var(--color-muted);
  border-left: 4px solid #ddd;
  padding-left: 1rem;
  margin: 1.5em 0;
}
pre,
code {
  white-space: pre-wrap !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}
/* ====== 4. 레이아웃 구성 요소 ====== */
/* ====== 5. 캡션 / 부가정보 ====== */
.caption,
figcaption,
.wp-caption-text {
  font-size: var(--font-sm);
  color: var(--color-muted);
  text-align: center;
}

/* ====== 6. 반응형 타이포 예시: 미디어 쿼리 없이 clamp()로 처리 ====== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
/* Base styles */
body {
  background: #fff;
  color: #333;
}

/* Header layout */
.header {
  padding: 1rem;
  background: #60269E;
  color: #fff;
  margin: 10px;
}

header#masthead {
  position: relative;
  background: transparent;
  z-index: 2;
}

.site-branding {
  margin: 0;
}

p.site-title,
h1.site-title {
  margin: 0;
}

.site-header {
  position: relative;
}

/* 🌟 로고와 상단메뉴: 풀스크린(1000)보다 낮게 설정하여 메뉴가 열리면 깔끔하게 덮이도록 함 */
.header-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  /* 왼쪽 75px 패딩: 고정된 햄버거 버튼에 로고가 가려지지 않도록 공간 확보 */
  /*padding: 0 20px 0 75px; */
  background-color: transparent;
  padding: 0 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.site-title a {
  height: 60px;
  display: block;
  background-size: contain;
      font-size: var(--font-xl);font-weight: 800;font-family: chusalove-subset;
}
.wp-block-button__link {
      padding: 7px 10px !important;
}
nav.navigation.post-navigation {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding:0 10px;
}
.post-navigation .nav-label {
    display: inline-block;
    /* margin-bottom: 0.35rem; */
    font-size: 0.82rem;
    line-height: 1.2;
    background: #706d6d45;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    align-items: flex-end;
    position: absolute;
    right: 0;transition: all 0.3s;
}
.ajax-post-card:hover span.nav-label {
        background-color: #000; color:#fff;
		transition: all 0.3s;
}
.nav-links.ajax-slider-wrapper.related {
    flex: 0 0 calc(65% - 20px);	
}
@media (max-width: 1024px) {
  .site-branding {
    margin: 1.5rem auto 1.5rem !important;
  }
}
/* Footer layout */
.footer {
  padding: 1rem;
  background: #222;
  color: #ccc;
}

footer#colophon {
  position: relative;
}

/* Webflow 컨테이너 스타일 */
.w-container {
  max-width: 100%;
    margin: 0 auto 30px;
  position: relative;
}

.w-container:before,
.w-container:after {
  content: " ";
  display: table;
}

.w-container:after {
  clear: both;
}

/* 섹션 스타일 */
.gradient-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  color: white;
  z-index: 0;
}

/* 블러 배경 래퍼 */
.bg-gradient-blur-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* 회전 키프레임 */
@keyframes rotate-soft {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes rotate-soft-reverse {
  0% {
    transform: rotate(360deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(0.95);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
/* 블러 원 공통 스타일 */
.bg-gradient-blur-circle {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
  mix-blend-mode: screen;
}

.circle-1 {
  background: radial-gradient(circle, #6923ff, transparent 70%);
  top: -30%;
  left: -20%;
  animation: rotate-soft 60s linear infinite;
}

.circle-2 {
  background: radial-gradient(circle, #1766ff, transparent 70%);
  bottom: -30%;
  right: -20%;
  animation: rotate-soft-reverse 80s linear infinite;
}

.circle-3 {
  background: radial-gradient(circle, #ff4895, transparent 70%);
  top: -40%;
  right: -25%;
  animation: rotate-soft 100s linear infinite;
}

/* 데스크톱(기본): 좌/우 2칼럼 + 아래 link 100% */
.site-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
  align-items: start;
}

.site-info .left-section {
  grid-column: 1;
}

.site-info .right-section {
  grid-column: 2;
  justify-self: end;
}

.site-info .link {
  grid-column: 1/-1;
} /* 맨 아래 100% */

p.site-description {
    margin: 0;
    font-family: 'Indie Flower', 'Noto Sans KR', cursive, Montserrat, "Helvetica Neue";
    font-size: xx-large;    margin-top: -12px;	
}

/* 모바일: 오른쪽 -> 왼쪽 -> link 순서 */
@media (max-width: 1024px) {
  .site-info {
    display: flex;
    flex-direction: column;
  }
  .site-info .right-section {
    order: 1;
  }
  .site-info .left-section {
    order: 2;
  }
  .site-info .link {
    order: 3;
    width: 100%;
  }
}
.site-info h2 {
  color: #ddd;
  font-size: 1.21rem;
  margin-bottom: 10px;
}

.site-info h5 {
    font-family: chusalove-subset;
    margin-bottom: 0;
}
main.site-search {
    padding: 0 10px;
    max-width: 1400px;
    margin: 0 auto;
}
.error-404.not-found {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 10px;
}
.mogef {
  background: url(./img/mogef_white.svg) no-repeat;
  height: 40px;
  text-indent: -8000px;
  display: block;
  background-size: contain;
  max-width: 170px;
}

.link {
  border-top: 1px solid #3e3c6a;
  padding-top: 1rem;
  margin-top: 1rem;
}

.line.yellow {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 0, 0.6) 60%);
}
.line.pink {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 105, 180, 0.5) 60%);
}
.line.blue {
  background: linear-gradient(180deg, transparent 60%, rgba(135, 206, 250, 0.5) 60%);
}
.line.marker {
  background: linear-gradient(transparent 60%, #fff475 60%);
  background-size: 100% 100%;
  filter: blur(0.4px);
}
.line.underline {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}
/* 텍스트용 공통 */
span.line {
  display: inline;
  padding: 0 0.04em;
}

/* 아래는 SVG line에만 필요하면 클래스를 분리하는 게 안전 */
.svg-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 2.8s ease-in-out forwards infinite;
  fill-opacity: 0.5;
  will-change: stroke-dashoffset, fill-opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}


.site-info p {
  margin: 0;
  font-size: 0.9rem;
}
table.wrap.footer,
table.wrap.header {display:none}
article.newsletter img {
    width: 100%;
    height: auto;
}
td.sm-block.sm-w-full {
    vertical-align: top;
}
.wp-block-mailster-form-outside-wrapper-455 {
  max-width: 500px;
  width: 100%;
}
article.newsletter p {margin:0;    font-size: 1.07rem;}
article.newsletter h1,
article.newsletter h2 {
    font-size: 1.8rem;
}
table.w-640px.w-full.max-w-640px.sm-max-w-full {
    max-width: 740px;
}
table.w-full.reverse {
    width: 100%;
    direction: rtl;
}
td.sm-block.sm-w-full {
    direction: ltr;
}
table.textbutton td {
    border-radius: 2px;
    padding: 10px 20px;
    font-size: 16px;
    display: block;
    max-width: 100%;
    background-color: #2bb3e7;
    text-align: center;
    color: #ffffff;
    margin-top: 10px;
}
table.textbutton td a {
    color: #fff;
}
	@media only screen and (max-width: 599px) {
		.wrap{width:100% !important;}
		.wrap table{width:100% !important;}
		.wrap .padd{width:12px !important;}
		.wrap .f-body{margin-right:12px !important;margin-left:12px !important;}
		.wrap img{max-width:100% !important;height:auto !important;}
		.wrap.header img,.wrap.footer img{min-width:initial !important;max-width:50% !important}
		.wrap .m-padd{padding:12px 12px 0 !important;}
		.wrap .m-padd-r{padding-right:12px !important;}
		.wrap .m-padd-l{padding-left:12px !important;}
		.wrap .m-l{text-align:left !important;}
		.wrap .m-0{width:0;display:none;}
		.wrap .m-b{}
		.wrap.header .m-b,.wrap.footer .m-b{margin-bottom:0 !important;}
		.wrap .m-b,.m-b img{display:block;min-width:100% !important;width:100% !important;}
		table{font-size:15px !important;}
		table.textbutton td{height:44px !important;}
		table.textbutton a{line-height:26px !important;padding:10px 0 !important;font-size:18px !important;}
		.label table.textbutton td{height:auto !important;}
		.label table.textbutton a{padding:2px 0 !important;font-size:12px !important;}
	}
/* Mailster block form – transparent inputs + white text + border #3e3c6a */
.wp-block-mailster-form-wrapper.mailster-block-form {
  --mf-border: #3e3c6a;
  --mf-text: #fff;
}

/* input 기본 */
.wp-block-mailster-form-wrapper.mailster-block-form .mailster-wrapper input.input {
  width: 100%;
  background: transparent !important;
  color: var(--mf-text) !important;
  border: 1px solid var(--mf-border) !important;
  border-radius: 6px;
  padding: 12px 14px;
  line-height: 1.2;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 10px !important;
  height: 45px !important;
  line-height: 45px !important;
  font-size: 0.9rem !important;
}

/* 이메일/이름 input 타입별 안전망 */
.wp-block-mailster-form-wrapper.mailster-block-form input[type=text].input,
.wp-block-mailster-form-wrapper.mailster-block-form input[type=email].input {
  background: transparent !important;
  color: var(--mf-text) !important;
  border-color: var(--mf-border) !important;
}

/* placeholder (현재 placeholder=" " 이지만 혹시를 대비) */
.wp-block-mailster-form-wrapper.mailster-block-form .mailster-wrapper input.input::placeholder {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem !important;
  height: 45px !important;
}

/* label 색 */
.wp-block-mailster-form-wrapper.mailster-block-form .mailster-label {
  font-size: 0.9rem !important;
  height: 45px !important;
}

/* focus 상태 */
.wp-block-mailster-form-wrapper.mailster-block-form .mailster-wrapper input.input:focus {
  border-color: var(--mf-border) !important;
  box-shadow: 0 0 0 3px rgba(62, 60, 106, 0.35);
}

input#mailster-id-4731c2 {
  background-color: #111;
  border: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.wp-block-mailster-field-submit:hover input {
  background-color: #60269e !important;
  transition: all 0.3s ease;
}

/* submit 버튼은 기존 스타일 유지하되 글자만 흰색으로(원치 않으면 이 블록 삭제) */
.wp-block-mailster-form-wrapper.mailster-block-form input.submit-button {
  color: #fff;
}

/* 크롬 autofill(노란 배경) 제거 */
.wp-block-mailster-form-wrapper.mailster-block-form input.input:-webkit-autofill,
.wp-block-mailster-form-wrapper.mailster-block-form input.input:-webkit-autofill:hover,
.wp-block-mailster-form-wrapper.mailster-block-form input.input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  transition: background-color 99999s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px transparent inset !important;
}

/* Main layout */
.main {
  padding: 2rem;
}

.site-main {
  z-index: 1;
  position: relative;
}

body.single-post article.post.type-post,
body.page article.page.type-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}
/* 데스크톱 레이아웃 */
article.post > .entry-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1380px;
  margin: 0 auto;
}
code[class*=language-], pre[class*=language-] { font-size:.9rem;} 
h2.comments-title:after,
h1.entry-title:after {
  content: "";
  width: 300%;
  border-bottom: 1px solid;
  display: block;
  margin-left: -200%;
  padding-bottom: 25px;
}

#entry-left {
  flex: 0 0 calc(65% - 20px);    text-align: justify;
}

#entry-right {
  flex: 0 0 calc(35% - 40px);
  position: sticky;
  top: 40px; /* 스크롤 시 상단에 고정 */
}


.entry-meta-etc {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.entry-meta {
  display: flex;
  justify-content: end;
}
span.byline {
  display: none;
}

span.byline img {
  border-radius: 50%;
  margin-right: 5px;
}
span.cat-links {
    display: block;
    margin: 10px 0 15px;
	position:relative;
}
span.cat-links a {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: #222;
    letter-spacing: -1px;
    background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
    background-size: 4px 4px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-color: #ccc;
    z-index: 5;
    text-transform: uppercase;
}
span.cat-links a:after {
	content:"";
	width:100%; 
	height:5px; 
	background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
    background-size: 4px 4px;
    background-color: #ccc;display: block;
    position: absolute;margin-top: 5px;
}
span.cat-links a:hover {
    background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
    background-color: #000;
  transition: all 0.3s ease;
}

span.tags-links {
  display: flex;
  gap: 0 7px;
  flex-flow: wrap;
}

/* 모바일 레이아웃 */
@media (max-width: 768px) {
  .entry-content {
    flex-direction: column;
    gap: 15px;
  }
  #entry-left,
  #entry-right {
    flex: none;
    width: 100%;
  }
  #entry-right {
    position: static;
    order: 2; /* 글 내용 다음에 배치 */
  }
}
/* 태블릿 중간 사이즈 */
@media (max-width: 1024px) and (min-width: 769px) {
  #entry-left {
      flex: 0 0 calc(60% - 20px);
  }
}
/*
a.pdf {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px;
    display: block;
    color: #fff;
    background: #f0595d;
    margin-bottom: 7px;  transition: all 0.3s ease;
}
a.pdf:hover {
    background: #ec4848;
    color: #fff;  transition: all 0.3s ease;
}
*/
a.pdf:before {
    content: "PDF";
    display: inline-block;
    margin-right: 5px;
    background: #cb0606;
    color: #fff;
    padding: 5px;
    border-radius: 2px;
    letter-spacing: 2px;
    font-size: .9rem;
}

.author-archive {
  width: 100%;
  max-width:1400px;
  margin: 0 auto;
}

.author-header {
  margin-bottom: 2rem;
}

.author-header__inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
}

.author-avatar img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
}

.author-name {
  margin: 0 0 0.75rem;
}

.author-bio {
  margin-bottom: 1rem;
}

.author-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.8;
}

div#respond,
h2.comments-title {
    max-width: 880px;
}
.logged-in-as {
    display: flex;
    align-items: center;
    gap: 12px;
}
p.logged-in-as img {
    border-radius: 50%;
}
span.user-name {
    font-weight: 600;
}
.logged-in-as .user-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logged-in-as .logout-link {
    display: inline-flex;
    align-items: center;
}
.comment-content.entry img {
    max-width: 100%;
}
/* 1. 댓글 리스트 전체 컨테이너 초기화 */
.comment-list, 
.comment-list .children {
    list-style: none;
    padding: 0;
    max-width: 880px;
}

/* 2. 최상위 부모 댓글 (말풍선 본체) */
.comment-list > li.depth-1 {
    border: 1px solid #000;
    border-radius: 4px;
    background: #ffffff;
    margin-top: 100px; /* 프로필 사진과 이름이 들어갈 상단 여백 */
    margin-bottom: 30px;
    position: relative;
    overflow: visible; 
    padding-bottom: 10px; /* 자식 댓글 하단 여백 */
}

/* 상단 말풍선 꼬리 (검정 테두리) */
.comment-list > li.depth-1::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 12px; /* 아바타 중앙에 맞춤 */
    border-width: 0 10px 12px 10px;
    border-style: solid;
    border-color: transparent transparent #000 transparent;
}

/* 상단 말풍선 꼬리 (흰색 배경 덮개) */
.comment-list > li.depth-1::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 12px;
    border-width: 0 10px 12px 10px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

/* 3. 부모 댓글의 메타 정보 (박스 바깥 상단 한 줄 정렬 유지) */
.comment-list > li.depth-1 > article > .comment-meta {
    position: absolute;
    top: -60px; /* 박스 위로 위치 */
    left: 0px;
    right: 10px;
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    flex-wrap: nowrap; /* 화면이 좁아져도 절대 줄바꿈 하지 않음 */
    gap: 8px;
    z-index: 10;
}

/* 아바타와 이름 묶음 */
.comment-meta .comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap; /* 이름 줄바꿈 방지 */
}

/* 아바타 크기 */
.comment-meta .comment-author .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #000;
    display: block;
}
.comment-list > li.depth-1 > .comment-body > .comment-meta > .comment-author > .avatar {    width: 45px;
    height: 45px;}

/* 작성자 이름 */
.comment-meta .comment-author .fn {
    font-weight: 700;
    font-size: 13px;
    font-style: normal;
    color: #000;
    margin: 0;
}
.comment-list > li.depth-1 > .comment-body > .comment-meta >.comment-author > .fn {
	    font-size: 1rem;
} 
/* 날짜 및 편집 (이름 바로 옆에 표시) */
.comment-meta .comment-metadata {
    font-size: 11px;
    color: #666;
    margin: 0;
    white-space: nowrap; /* 날짜 줄바꿈 방지 */
}
.comment-list > li.depth-1 > .comment-body > .comment-meta > .comment-metadata { font-size:.9rem}

.comment-meta .comment-metadata a { color: #666; text-decoration: none; }
.comment-meta .comment-metadata a:hover { text-decoration: underline; }

/* 4. 부모 댓글 본문 영역 */
.comment-list > li.depth-1 > article.comment-body {
    position: relative;
    padding: 15px 15px 25px 15px; /* 하단 45px는 버튼 공간 */
}

/* 자식 댓글이 없으면 하단 선 제거 */
.comment-list > li.depth-1:not(:has(.children)) > article.comment-body {
    border-bottom: none;
}

/* 5. 글 작성자(관리자) 댓글 시각적 강조 */
.comment-list li.bypostauthor {
    background: #efefef !important;
}

.comment-list > li.depth-1.bypostauthor {
    border: 2px solid #555;
}

.comment-list > li.depth-1.bypostauthor::after {
    border-color: transparent transparent #efefef transparent;
    top: -9px;
}

/* 6. 자식 댓글 (대댓글 트리) */
.comment-list .children {
    padding: 10px 15px;
}

.comment-list .children li.comment {
    position: relative;
    padding: 12px 12px 40px 12px; 
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-list .children li.bypostauthor {

}

/* 자식 댓글 메타 정보 */
.comment-list .children .comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    position: static; 
}

/* 7. 수정/삭제/답변 버튼 한 줄 정렬 (우측 하단 고정) */
.bouquins-comment-actions,
.comment-reply {
    position: absolute;
    bottom: 0px;
}

.bouquins-comment-actions {
    right: 58px;
}
.comment-content p {
    margin: .4em 0;
}
.comment-reply {
    right: 15px;
}

a#cancel-comment-reply-link,
.bouquins-comment-actions button,
.comment-reply a {
    border: 1px solid #ccc;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 4px;
	margin-right:inherit;vertical-align: super;
}
a#cancel-comment-reply-link {margin-left:11px; vertical-align: baseline;}
.bouquins-comment-actions button:hover,
.comment-reply a:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 숨김 요소 */
.bouquins-original-content {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
}

/* =========================================
   8. 모바일 뷰 최적화 (639px 이하)
   ========================================= */
@media (max-width: 639px) {

    /* 한 줄 유지를 위해 모바일에서 메타 정보 텍스트 크기 미세 조정 */
    .comment-meta .comment-author .avatar {
        width: 30px; /* 아바타 살짝 축소 */
        height: 30px;
    }
    .comment-meta .comment-author .fn {
        font-size: 12px;
    }
    .comment-meta .comment-metadata {
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis; /* 극단적으로 좁을 경우 날짜 말줄임표 처리 */
    }

    /* 내부 여백 다이어트 */
    .comment-list > li.depth-1 > article.comment-body {
        padding: 12px 12px 22px 12px;
    }

    /* 자식 댓글 폼 모바일 여백 축소 */
    .comment-list .children {
        padding: 5px 10px;        margin: 0;
    }
    
    .comment-list .children li.comment {
        padding: 10px 10px 35px 10px;
        margin-bottom: 10px;
    }

.bouquins-comment-actions {
    right: 52px;
}
    .bouquins-comment-actions button,
    .comment-reply a {
        padding: 4px 6px;
        font-size: 10px;
    }
}

/* 댓글 폼 기본 스타일 */
.comment-form {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
}

/* WordPress 기본 P 태그 제거 */
.comment-form p {
  margin: 0;
}

/* 댓글 텍스트 영역 기본 스타일 */
.comment-form-comment label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.comment-form-comment textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid #555;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}



/* 비로그인 사용자: CSS Grid로 레이아웃 */
.comment-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  grid-template-areas: "comment comment comment comment" "author email password submit" "cookies cookies cookies cookies";
}

.comment-form-comment {
  grid-area: comment;
}

.comment-form-author {
  grid-area: author;
}

.comment-form-email {
  grid-area: email;
}

.comment-form-bouquins-cmt-pw {
  grid-area: password;
}

.form-submit {
  grid-area: submit;
}

.comment-form-cookies-consent {
  grid-area: cookies;
}

/* 각 필드 스타일 */
.comment-form-bouquins-cmt-pw,
.comment-form-author,
.comment-form-email {
  display: flex;
  flex-direction: column;
}

.comment-form-submit label,
.comment-form-bouquins-cmt-pw label,
.comment-form-author label,
.comment-form-email label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  min-height: 20px; /* 라벨 높이 통일 */  
}

/* 입력 필드 */
.bouquins-guest-pw,
.comment-form-bouquins-cmt-pw input,
.comment-form-author input,
.comment-form-email input {
  padding: 10px 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  height: 44px;
}

.comment-form-bouquins-cmt-pw input:focus,
.comment-form-author input:focus,
.comment-form-email input:focus {
  outline: none;
  border-color: #60269e;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* 제출 버튼 */
.form-submit {
  display: flex;
  align-items: flex-start;
}

.form-submit input.submit {
  background: #111;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  height: 44px;
  box-sizing: border-box;
  transition: background-color 0.3s;
  width: 100%;
}

.form-submit input.submit:hover {
  background: #000;
}

/* 필수 표시 */
.required {
  color: #e74c3c;
  font-weight: bold;
}

/* 이메일 설명 텍스트 */
.pw-description,
.email-description {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* 쿠키 동의 */
.comment-form-cookies-consent {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 0;
  border: 1px solid #e9ecef;
}

.comment-form-cookies-consent input[type=checkbox] {
  margin-right: 8px;
}

.comment-form-cookies-consent label {
  font-size: 13px;
  color: #495057;
  cursor: pointer;
}

form#commentform label {
    display: none;
}
p.comment-form-cookies-consent label {
    display: contents !important;
}
/* 로그인 관련 메시지 */
.must-log-in {
  background: #f0f8ff;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #007cba;
  grid-column: 1/-1;
}

/* 로그인한 사용자 프로필 영역 */
.logged-in-user-profile {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 0;
  background: none;
  border: none;
  grid-column: 1/-1;
}

.logged-in-user-profile .user-avatar {
  margin-right: 12px;
  flex-shrink: 0;
}

.logged-in-user-profile .profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #007cba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logged-in-user-profile .user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logged-in-user-profile .user-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.logged-in-user-profile .logout-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.logged-in-user-profile .logout-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 로그인 사용자 전용 레이아웃 */
.comment-form:has(.logged-in-user-profile) {
  grid-template-areas: "profile profile profile" "comment comment comment" "submit submit submit";
  grid-template-columns: 1fr;
}

.comment-form:has(.logged-in-user-profile) .logged-in-user-profile {
  grid-area: profile;
}

.comment-form:has(.logged-in-user-profile) .comment-form-comment {
  position: relative;
  margin-left: 60px;
  margin-bottom: 20px;
}

.comment-form:has(.logged-in-user-profile) .comment-form-comment textarea {
  background: #f8f9fa;
  border: 2px solid #e1e5e9;
  border-radius: 18px 18px 18px 4px;
  padding: 16px 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* 말풍선 꼬리 */
.comment-form:has(.logged-in-user-profile) .comment-form-comment::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 12px 0;
  border-color: transparent #e1e5e9 transparent transparent;
  z-index: 1;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: rgba(96, 38, 158, 0.9411764706) !important;
  box-shadow: 0 0 0 1px rgba(96, 38, 158, 0.1) !important;
}

.comment-form:has(.logged-in-user-profile) .comment-form-comment textarea:focus {
  background: #ffffff;
  border-color: rgba(96, 38, 158, 0.9411764706);
  box-shadow: 0 4px 20px rgba(96, 38, 158, 0.15);
  transform: translateY(-1px);
}

.comment-form:has(.logged-in-user-profile) .comment-form-comment textarea:focus::before {
  border-color: transparent #ffffff transparent transparent;
}

/* 로그인 사용자 라벨 숨기기 */
.comment-form:has(.logged-in-user-profile) .comment-form-comment label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 로그인 사용자 제출 버튼 */
.comment-form:has(.logged-in-user-profile) .form-submit {
  text-align: right;
  margin-left: 60px;
  align-items: center;
  justify-content: flex-end;
}

.comment-form:has(.logged-in-user-profile) .form-submit input.submit {
  background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
  border-radius: 20px;
  padding: 12px 24px;
  min-width: 120px;
  width: auto;
  box-shadow: 0 2px 10px rgba(0, 124, 186, 0.2);
}

.comment-form:has(.logged-in-user-profile) .form-submit input.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

/* 로그인 사용자에서는 이름, 이메일 필드 숨기기 */
.comment-form:has(.logged-in-user-profile) .comment-form-author,
.comment-form:has(.logged-in-user-profile) .comment-form-email {
  display: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {

.site-info {gap: inherit;}

  .comment-form {
    margin: 0;
    gap: 7px;
    grid-template-columns: 1fr;
    grid-template-areas: "comment" "author" "email" "password" "submit" "cookies";
  }
  .comment-form-fields-row {
    flex-direction: column;
    gap: 12px;
  }
  .comment-form-comment textarea {
    min-height: 100px;
  }
  /* 로그인 사용자 모바일 */
  .comment-form:has(.logged-in-user-profile) {
    grid-template-areas: "profile" "comment" "submit";
  }
  .comment-form:has(.logged-in-user-profile) .comment-form-comment {
    margin-left: 0;
  }


}
/* 2. 3개 필드 가로 배치 컨테이너 */
.comment-form-fields-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.comment-form-fields-row > div {
  flex: 1; /* 각각 33.3% */
}





/* 검색 */
.site-search-form {
	margin: 0 0 18px;
}

.search-results-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.search-item {
	padding: 14px 0;
	border-top: 1px solid #eee;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.search-item-thumb {
	flex: 0 0 120px;
	display: block;
}

.search-item-body {
	flex: 1 1 auto;
}

.search-item-date {
	font-size: 12px;
	color: #666;
	margin-bottom: 4px;
}

.search-item-title {
	display: block;
	font-size: 16px;
	font-weight: 700;
	margin: 0;
	text-decoration: none;
}

/* 제출 버튼 */
.comment-form-submit input.submit,
.comment-form-submit-only input.submit {
  background: #60269e;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  height: 44px; /* 입력 필드와 높이 맞춤 */
  box-sizing: border-box;
  transition: background-color 0.3s;
}

.comment-form-submit input.submit:hover,
.comment-form-submit-only input.submit:hover {
  background: #005a87;
}

/* 로그인 사용자 전용 제출 버튼 (중앙 정렬) */
.comment-form-submit-only {
  text-align: center;
  margin-bottom: 20px;
}

.comment-form-submit-only input.submit {
  width: 200px; /* 고정 너비 */
  max-width: 100%; /* 모바일 대응 */
}

/* 필수 표시 */
.required {
  color: #e74c3c;
  font-weight: bold;
}

/* 이메일 설명 텍스트 */
.email-description {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
}

/* 쿠키 동의 */
.comment-form-cookies-consent {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 0;
  border: 1px solid #e9ecef;
}

.comment-form-cookies-consent input[type=checkbox] {
  margin-right: 8px;
}

.comment-form-cookies-consent label {
  font-size: 13px;
  color: #495057;
  cursor: pointer;
}

/* 로그인 관련 메시지 */
.must-log-in {
  background: #f0f8ff;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #007cba;
}

/* 로그인한 사용자 프로필 영역 */
.logged-in-user-profile {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 0;
  background: none;
  border: none;
}

.logged-in-user-profile .user-avatar {
  margin-right: 12px;
  flex-shrink: 0;
}

.logged-in-user-profile .profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #007cba;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logged-in-user-profile .user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logged-in-user-profile .user-name {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.logged-in-user-profile .logout-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.logged-in-user-profile .logout-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* 로그인 사용자를 위한 말풍선 스타일 댓글 영역 */
.comment-form:has(.logged-in-user-profile) .comment-form-comment {
  position: relative;
  margin-left: 60px; /* 아바타 공간 확보 */
  margin-bottom: 20px;
}

.comment-form:has(.logged-in-user-profile) .comment-form-comment textarea {
  background: #f8f9fa;
  border: 1px solid #555;
  border-radius: 18px 18px 18px 4px; /* 말풍선 모양 */
  padding: 16px 20px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* 말풍선 꼬리 */
.comment-form:has(.logged-in-user-profile) .comment-form-comment textarea::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f8f9fa transparent transparent;
  z-index: 2;
}

/* 말풍선 꼬리 외곽선 */
.comment-form:has(.logged-in-user-profile) .comment-form-comment::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 12px 0;
  border-color: transparent #e1e5e9 transparent transparent;
  z-index: 1;
}

/* 로그인 사용자 라벨 숨기기 (말풍선에서는 불필요) */
.comment-form:has(.logged-in-user-profile) .comment-form-comment label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* :has() 지원하지 않는 브라우저를 위한 폴백 */
@supports not (selector(:has(*))) {
  .comment-form .logged-in-user-profile ~ .comment-form-comment {
    margin-left: 60px;
  }
  .comment-form .logged-in-user-profile ~ .comment-form-comment textarea {
    background: #f8f9fa;
    border-radius: 18px 18px 18px 4px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  .comment-form .logged-in-user-profile ~ .comment-form-comment::after {
    content: "";
    position: absolute;
    left: -12px;
    top: 40px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-color: transparent #e1e5e9 transparent transparent;
  }
}
/* 로그인 사용자 전용 제출 버튼 개선 */
.comment-form:has(.logged-in-user-profile) .comment-form-submit-only {
  text-align: right;
  margin-left: 60px; /* 아바타와 정렬 */
  margin-bottom: 20px;
}

.comment-form:has(.logged-in-user-profile) .comment-form-submit-only input.submit {
  background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
  border-radius: 20px;
  padding: 12px 24px;
  font-size: 14px;
  min-width: 120px;
  box-shadow: 0 2px 10px rgba(0, 124, 186, 0.2);
  transition: all 0.3s ease;
}

.comment-form:has(.logged-in-user-profile) .comment-form-submit-only input.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

.bouquins-edit-form.is-edit-mode #bouquins-edit-text,
.bouquins-edit-form.is-edit-mode textarea,
.bouquins-edit-form.is-edit-mode .bouquins-update-comment {
  display: block;
}

.bouquins-edit-form.is-edit-mode .bouquins-delete-message,
.bouquins-edit-form.is-edit-mode .bouquins-confirm-delete {
  display: none;
}

.bouquins-edit-form.is-delete-mode textarea,
.bouquins-edit-form.is-delete-mode .bouquins-update-comment {
  display: none;
}

.bouquins-edit-form.is-delete-mode .bouquins-delete-message,
.bouquins-edit-form.is-delete-mode .bouquins-confirm-delete {
  display: inline-block;
}

.bouquins-edit-form.active {
  display: grid;
  grid-template-columns: minmax(140px, 220px) auto;
  grid-template-areas:
    "textarea textarea"
    "password actions";
  gap: 0.75rem;
  align-items: center;
}
.logged-in .bouquins-edit-form.active {
  grid-template-areas:
    "textarea textarea"
    "actions actions";	
}
.bouquins-edit-form textarea {
  grid-area: textarea;
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  box-sizing: border-box;
}

.bouquins-edit-form .bouquins-guest-pw {
  grid-area: password;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height:35px;
}

.bouquins-edit-form .bouquins-form-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: start;
}

.bouquins-edit-form .bouquins-form-actions button {
  min-width: 60px;
  max-width: 60px;
  width: 60px;    height: 33px;
}
.bouquins-edit-form.active.is-delete-mode {
    background: #ddd;
    font-size: medium;
    font-weight: 600;
    text-indent: 5px;
}
#reply-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bouquins-comment-notice {
  display: none;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #b91c1c;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.08);  
}

.bouquins-comment-notice.is-visible {
  display: inline;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0;
}

#load-more {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-sizing: border-box;
  background: none;
  border: none;
  padding: 0;
  flex: 0 0 100px;
  display: block;
  -webkit-appearance: none;
  appearance: none;
}

.info {
  font-weight: 700;
  transition: all 0.8s ease-in-out;
  color: #ff6863;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  border-radius: 50%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate(-50%, -50%);
  width:60px;
}

#load-more:hover .spinner {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

#load-more .spinner {
 display:block;	
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: conic-gradient(#60269E 0deg, #FC7F3F 300deg, #60269E 360deg);
  /*background: conic-gradient(#60269E, #FC7F3F); /* 그라디언트 */
  -webkit-mask: radial-gradient(farthest-side, transparent 77%, rgba(0, 0, 0, 0.5) 78%, black 80%);
  mask: radial-gradient(farthest-side, transparent 77%, rgba(0, 0, 0, 0.5) 78%, black 80%);
  transition: transform 0.8s ease-in-out;
}

/* Button component */
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #60269E;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
}

.grecaptcha-badge {
  display: none !important;
}

span.sl-icon svg {
  fill: currentColor;
  vertical-align: middle;
}

span.sl-count {
  font-size: 1.45rem;
  padding-left: 4px;
  vertical-align: middle;
}

span.sl-wrapper a {
  color: #111;
}

span.sl-wrapper a:hover,
span.sl-wrapper a.liked {
  color: #f51835;
}

/* 툴팁 스타일 */
.sl-wrapper a[title] {
  position: relative;
}

.sl-wrapper a[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 133%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
}

.sl-wrapper a[title]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

/* Loader */
.loader,
.loader:before,
.loader:after {
  background: rgba(0, 0, 0, 0.2);
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 0.2em;
  height: 0.6em;
}

.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: "";
}

.loader:before {
  left: -0.375em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader {
  text-indent: -9999em;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  font-size: 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:after {
  left: 0.375em;
}

@-webkit-keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0 rgba(0, 0, 0, 0.2);
    height: 0.6em;
  }
  40% {
    box-shadow: 0 -0.3em rgba(0, 0, 0, 0.2);
    height: 1em;
  }
}
@keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0 rgba(0, 0, 0, 0.2);
    height: 0.6em;
  }
  40% {
    box-shadow: 0 -0.3em rgba(0, 0, 0, 0.2);
    height: 1em;
  }
}
/* 다크모드 버튼 */
#toggle2,
#toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
}

div#dark-mode-button {
  position: absolute;
  top: 66px;
  right: 5%;
  z-index: 3;
}

/* 다크모드 버튼 위치 */
.site-header > #dark-mode-button {
  position: absolute;
  top: 10px;
  right: 20px;
}

.menu-container > #dark-mode-button {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 88px;
}

@media (max-width: 768px) {
  .menu-container > #dark-mode-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001; /* 풀스크린(1000) 위, 버튼(1002) 아래 */
  }
}
/* 토글 스위치 스타일 */
.toggleSwitch {
  width: 5.5rem;
  height: 2.8rem;
  display: block;
  position: relative;
  border-radius: 2.2rem;
  background-color: #eee;
  box-shadow: 0 0 1rem 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s ease-in;
}

/* 버튼 원형 핸들 */
.toggleSwitch .toggleButton {
  width: 2.6rem;
  height: 2.6rem;
  position: absolute;
  top: 49%;
  left: 0.2rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #f5bb18 url(img/moon.svg) no-repeat center;
  background-size: 25px 25px;
  transition: all 0.2s ease-in;
}

/* 체크 상태일 때 배경 및 버튼 이동 */
#toggle2:checked + .toggleSwitch,
#toggle:checked + .toggleSwitch {
  background: #f5bb18;
}
#toggle2:checked + .toggleSwitch .toggleButton,
#toggle:checked + .toggleSwitch .toggleButton {
  left: calc(100% - 2.8rem);
  background: #eee url(img/sun.svg) no-repeat center;
  background-size: 25px 25px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease-in-out;
  outline: none;
  flex-shrink: 0;
}
.icon-btn:hover:not(:disabled) {
  background-color: #f5f5f5;
  border-color: #999;
}
.icon-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.icon-btn.btn-prev::before, .icon-btn.btn-next::before, .icon-btn.swiper-button-prev::after, .icon-btn.swiper-button-next::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  top: 50%;
  left: 50%;
  font-family: unset;
}
.icon-btn.btn-prev::before, .icon-btn.swiper-button-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.icon-btn.btn-next::before, .icon-btn.swiper-button-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}
.icon-btn.swiper-autoplay-toggle .pause-icon, .icon-btn.swiper-autoplay-toggle .play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}
.icon-btn.swiper-autoplay-toggle .pause-icon::before {
  content: "";
  display: block;
  width: 4px;
  height: 14px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.icon-btn.swiper-autoplay-toggle .play-icon::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 13px solid currentColor;
  margin-left: 4px;
}

.nav-controls,
.slider-controls .nav-buttons,
.ajax-slider-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.nav-buttons {
  max-width: 180px;
}

.full-width {
  width: 100%;
  position: relative;
}
.full-width #prevBtn {
  margin-right: auto;
}
.full-width #nextBtn {
  margin-left: auto;
}
.full-width #pauseBtn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

[data-theme=dark] .icon-btn {
  background-color: #2a2a2a;
  border-color: #444;
  color: #eee;
}
[data-theme=dark] .icon-btn:hover:not(:disabled) {
  background-color: #3a3a3a;
  border-color: #666;
}

/**
 * grid Slider component
 * 그리드 슬라이더더
 */
.grid-slider-wrapper {
  background: #efefef;
  position: relative;
  padding: 2rem 0;
  background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
  background-size: 4px 4px;
}
.grid-slider-wrapper h2 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: #222;
  letter-spacing: -1px;
  background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
  background-size: 4px 4px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #eee;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: -90px;
  margin-bottom: 3rem;
}
[data-theme=dark] .grid-slider-wrapper {
  background: transparent;
  background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
  background-size: 4px 4px;
}
[data-theme=dark] .grid-slider-wrapper h2 {
  background-color: transparent;
}

.swiper.large-swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  border-radius: 10px;
}

.custom-rotating-slider {
  display: flex;
  max-width: 1400px;
  height: 500px;
  margin: auto;
  position: relative;
  user-select: none;
}

.swiper {
  height: 100%;
}

.large-swiper .swiper-slide {
  transition: transform 0.4s ease-out !important;
}

.large-swiper .swiper-slide img {
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.large-swiper .swiper-slide a:hover img,
.small-slide a:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.small-slide:hover img,
#largeSlideWrapper:hover img {
  transform: scale(1.04);
  transition: transform 0.3s ease;
}

.large-swiper .swiper-slide:hover img.main-image {
  transform: scale(1.05) !important;
}

/* 자동 전환 시 미세한 줌 효과 */
@keyframes subtleZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
.auto-transition {
  animation: subtleZoom 5s ease-in-out infinite;
}

/* 드래그 상태 커서 스타일 */
.custom-rotating-slider.grabbing {
  cursor: grabbing;
}

.custom-rotating-slider.grabbing img {
  cursor: grabbing;
}

/* 작은 슬라이드 효과 */
.small-slide img {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 활성화 상태 클래스 */
.slide-active {
  transform: scale(1) !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

.slide-next {
  transform: translateX(20%) scale(0.9);
  opacity: 0.7;
  z-index: 1;
}

.slide-prev {
  transform: translateX(-20%) scale(0.9);
  opacity: 0.7;
  z-index: 1;
}

/* 오버레이 효과 */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
  z-index: 3;
  pointer-events: none;
}

.left-panel {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.right-panel {
  width: 50%;
  height: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}

.large-swiper img,
.small-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-drag: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* 추가: 링크 영역 확장을 위한 스타일 */
.large-swiper .swiper-slide a,
.small-slide a {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto; /* 제목 링크만 클릭 가능 */
}

.small-slide,
.large-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden; /* 애니메이션 성능 향상 */
  transform: translate3d(0, 0, 0); /* 하드웨어 가속 활성화 */
}

.nav-controls {
  position: absolute;
  top: 10px;
  left: 1%;
  /* transform: translateX(-50%); */
  display: flex;
  gap: 20px;
  width: 48%;
  z-index: 2;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.custom-rotating-slider:hover .nav-controls {
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* 추가된 스타일 */
.slide-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-title-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 4;
}

.slide-title-link {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  display: block;
  padding: 10px;
  transition: all 0.3s ease;
}

.slide-title-link:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

/* 오른쪽 작은 이미지 캡션 스타일 추가 */
.small-slide {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.small-slide:hover {
  opacity: 1;
  transition: all 0.3s ease;
}

.small-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  z-index: 2;
}

.small-slide-caption h4 {
  margin: 0;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px;
}
.small-slide-caption h4 a {
  color: white;
  text-decoration: none;
}

.small-slide-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* [필수] 터치 컨트롤 */
.left-panel {
  touch-action: pan-y; /* 세로 스크롤 허용 + 가로 터치 제어 */
  position: relative;
}

/* [선택] 드래그 효과 */
.large-swiper .swiper-slide {
  transition: transform 0.4s cubic-bezier(0.17, 0.67, 0.21, 0.99);
}

/* [필수] 링크 레이어 보호 */
.slide-title-link, .small-slide-link {
  position: relative;
  z-index: 20;
}

/* [선택] 모바일 터치 피드백 */
@media (hover: none) {
  .large-swiper .swiper-slide {
    transition-duration: 0.2s;
  }
}
.small-slide-inner {
  transform: scale(0.95);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.small-slide-inner.animated {
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  height: 100%;
}

.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #ffcc00;
  animation: progressBar 4s linear forwards;
}

@keyframes progressBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes thumbFromRight {
  0% {
    transform: translateX(30px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes thumbFromBottom {
  0% {
    transform: translateY(30px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes thumbFromTop {
  0% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes thumbFromLeft {
  0% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(0);
  }
}
/* 모바일 (600px 이하) 반응형 처리 */
@media (max-width: 600px) {
  .custom-rotating-slider {
    flex-direction: column; /* right-panel을 아래로 내림 */
    height: auto; /* 고정 높이(500px) 해제하여 내용물에 맞게 늘어남 */
    padding: 0; /* 필요시 래퍼의 기본 패딩 초기화 */
  }
  .left-panel {
    width: 100%;
    height: 350px; /* 모바일 메인 슬라이더 높이 (원하는 대로 조정 가능) */
    padding: 0 10px; /* 좌우 10px 띄우기 */
    box-sizing: border-box;
    margin-bottom: 15px; /* 아래쪽 right-panel과의 간격 */
  }
  .right-panel {
    width: 100%;
    height: 350px; /* 모바일 우측(하단) 4개 슬라이더 그리드 높이 */
    padding: 0 10px; /* 좌우 10px 띄우기 (기존 유지) */
    box-sizing: border-box;
  }
}
/**
 * vertical list slider
 * 왼쪽 목록 리스트 슬라이더
 */
.dual-slider-fixed {
  display: flex;
  gap: 40px;
  align-items: stretch;
  padding: 40px;
  max-height: 800px;
  overflow: hidden;
}

.post-list-fixed-wrapper {
  width: 40%;
  height: 800px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}

.post-list-fixed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.6s ease;
  position: relative;
  width: 100%;
}

.post-item-fixed {
  position: relative;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 8px;
  opacity: 0.5;
  transition: all 0.5s ease;
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.post-item-fixed.active {
  opacity: 1;
  background: #e0e0e0;
  font-weight: bold;
  z-index: 2;
  gap: 0;
}

.post-item-fixed.active .post-thumbnail {
  width: 0;
  min-width: 0;
  opacity: 0;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-thumbnail.entry img {
    width: inherit;
	max-width:100%;
	
}
.post-content {
  flex: 1;
  transition: all 0.3s ease;
}
.post-content .sl-icon {
  margin-left: 10px;
}

.post-item-fixed.active .post-content {
  margin-left: 0;
}

.overlay-link {
  pointer-events: none;
}

.post-item-fixed.active .overlay-link {
  pointer-events: inherit;
  inset: 0;
  z-index: 1;
  width: 100%;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: transparent;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  z-index: 0;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, #60269E, #FC7F3F);
  transition: width 0.3s ease;
}

.post-image-fixed {
  width: 60%;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  user-select: none; /* 드래그 시 텍스트 선택 방지 */
  -webkit-user-drag: none; /* 웹킷 기반 브라우저에서 이미지 드래그 방지 */
}

.post-image-fixed img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.swiper-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}
@media (max-width: 468px) {
  .swiper-pagination {
    display: none;
  }
}

.swiper-slide-caption {
  position: absolute;
  bottom: 0;
  display: none;
}

@keyframes m-spin-forward {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes m-spin-backward {
  0% {
    transform: rotate(360deg) scale(1.1);
  }
  50% {
    transform: rotate(180deg) scale(0.9);
  }
  100% {
    transform: rotate(0deg) scale(1.1);
  }
}
@keyframes blob-morph {
  0%, 100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 40% 60% 70% 30%/50% 60% 30% 60%;
  }
}
.blob-slider-outer {
  --local-bg: #fdfdfd;
  --local-c1: rgba(255, 113, 85, 0.7);
  --local-c2: rgba(190, 100, 255, 0.6);
  --local-c3: rgba(90, 210, 180, 0.7);
  --local-blend: normal;
  --local-text: #111111;
  --local-date: #666666;
  --local-blob-bg: #ffffff;
  --local-shadow: rgba(0, 0, 0, 0.08);
  --local-blur: 90px;
  --glass-blur: 35px;
  --noise-opacity: 0.12;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: var(--local-bg);
  position: relative;
  transition: background-color 0.5s ease;
}
[data-theme=dark] .blob-slider-outer, .blob-slider-outer[data-theme=dark] {
  --local-bg: #121212;
  --local-c1: rgba(220, 70, 50, 0.6);
  --local-c2: rgba(150, 50, 190, 0.5);
  --local-c3: rgba(50, 150, 130, 0.5);
  --local-blend: screen;
  --local-text: #fcfcfc;
  --local-date: #aaaaaa;
  --local-blob-bg: #1e1e1e;
  --local-shadow: rgba(0, 0, 0, 0.6);
  --noise-opacity: 0.08;
}

@media (max-width: 768px) {
  .blob-slider-outer {
    height: auto;
    min-height: 600px;
  }
}
.blob-slider-outer .mesh-bg-fixed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.blob-slider-outer .mesh-bg-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  z-index: 2;
}
.blob-slider-outer .mesh-bg-fixed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity);
  mix-blend-mode: var(--noise-blend, normal);
  z-index: 3;
}
.blob-slider-outer .mesh-cluster {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  filter: blur(var(--local-blur));
  z-index: 1;
}
.blob-slider-outer .mesh-circle {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: var(--local-blend);
  will-change: transform;
}
.blob-slider-outer .mesh-circle.mc1 {
  width: 550px;
  height: 550px;
  background: var(--local-c1);
  top: -5%;
  left: 0%;
  transform-origin: 40% 60%;
  animation: m-spin-forward 15s linear infinite;
}
.blob-slider-outer .mesh-circle.mc2 {
  width: 450px;
  height: 450px;
  background: var(--local-c2);
  bottom: -5%;
  right: 0%;
  transform-origin: 60% 40%;
  animation: m-spin-backward 20s linear infinite;
}
.blob-slider-outer .mesh-circle.mc3 {
  width: 500px;
  height: 500px;
  background: var(--local-c3);
  top: 15%;
  left: 30%;
  transform-origin: 45% 55%;
  animation: m-spin-forward 25s linear infinite;
}
.blob-slider-outer .swiper.my-blob-slider {
  position: relative;
  z-index: 10;
  height: 100%;
}
.blob-slider-outer .swiper.my-blob-slider:not(.swiper-initialized) .swiper-slide {
  opacity: 0 !important;
  visibility: hidden !important;
  position: absolute !important;
  top: 0;
  left: 0;
  pointer-events: none;
}
.blob-slider-outer .swiper.my-blob-slider:not(.swiper-initialized) .swiper-slide:first-child {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  pointer-events: auto;
}
.blob-slider-outer .blob-swiper-slide {
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: var(--local-text);
  transition: color 0.5s ease;
}
@media (max-width: 768px) {
  .blob-slider-outer .blob-swiper-slide {
    align-items: flex-start;
    padding-top: 30px;
  }
}
.blob-slider-outer .slide-inner-box {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 60px;
}
@media (max-width: 768px) {
  .blob-slider-outer .slide-inner-box {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0;
    gap: 20px;
  }
}
.blob-slider-outer .slide-inner-box .text-wrap {
  flex: 1.2;
}
.blob-slider-outer .slide-inner-box .text-wrap .post-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--local-date);
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: 1px;
  transition: color 0.5s ease;
}
.blob-slider-outer .slide-inner-box .text-wrap .post-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 25px 0;
  color: var(--local-text);
  word-break: keep-all;
  /*font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px #000;
  font-family: "맑은 고딕", dotum, "돋움", sans-serif;*/
}
@media (max-width: 468px) {
  .blob-slider-outer .slide-inner-box .text-wrap .post-title {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
  }
}
.blob-slider-outer .slide-inner-box .image-blob-frame {
  width: 460px;
  height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  animation: blob-morph 10s ease-in-out infinite;
  box-shadow: 0 20px 50px var(--local-shadow);
  background-color: var(--local-blob-bg);
  position: relative;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
@media (max-width: 768px) {
  .blob-slider-outer .slide-inner-box .image-blob-frame {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
}

.client-testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 80px 5%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #444;
  overflow: hidden;
  transition: all 0.3s ease;
}
.client-testimonial-wrapper .testimonial-header {
  width: 35%;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.client-testimonial-wrapper .testimonial-header .subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.client-testimonial-wrapper .testimonial-header .main-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: #222;
  letter-spacing: -1px;
  background-image: linear-gradient(135deg, transparent 45%, var(--white) 45%, var(--white) 55%, transparent 0);
  background-size: 4px 4px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #222;
}
.client-testimonial-wrapper .testimonial-slider-area {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.client-testimonial-wrapper .testimonial-slider-area .comments-slider {
  width: 100%;
  overflow: hidden;
}
.client-testimonial-wrapper .comment-slide {
  cursor: pointer;
  padding-right: 20px;
  transition: opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
.client-testimonial-wrapper .comment-slide .comment-author {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.client-testimonial-wrapper .comment-slide .comment-excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.client-testimonial-wrapper .swiper-slide-active {
  opacity: 1 !important;
  pointer-events: auto;
}
.client-testimonial-wrapper .swiper-slide-next {
  opacity: 0.8 !important;
  pointer-events: auto;
}
.client-testimonial-wrapper .swiper-slide-next + .swiper-slide {
  opacity: 0.5 !important;
  pointer-events: auto;
}
.client-testimonial-wrapper .slider-controls {
  margin-top: 40px;
  position: relative;
}
.client-testimonial-wrapper .slider-controls .control-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(to right, #ccc 0, #ccc 4px, transparent 4px, transparent 8px);
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .client-testimonial-wrapper .testimonial-header,
  .client-testimonial-wrapper .testimonial-slider-area {
    width: 100%;
  }
  .client-testimonial-wrapper .testimonial-header {
    margin-bottom: 40px;
  }
  .client-testimonial-wrapper .testimonial-header .main-title {
    font-size: 40px;
  }
}

.comment-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}
.comment-modal .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh; /* 화면 높이의 80%까지만 커지도록 제한 */
  overflow-y: auto; /* 세로로 내용이 넘칠 경우 스크롤 생성 */
  border-radius: 5px; /* 요청하신 모서리 둥글기 */
  position: relative;
  animation: modalFadeIn 0.3s;
}
.comment-modal .modal-content::-webkit-scrollbar {
  width: 6px;
}
.comment-modal .modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.comment-modal .modal-content .close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  z-index: 10;
}
.comment-modal .modal-content .comment-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}
.comment-modal .modal-content .comment-author-info #modalDate {
  font-size: 0.8em;
}
.comment-modal .modal-content .comment-author-info #modalAuthor {
  font-weight: 500;
}
.comment-modal .modal-content .comment-author-info #modalAvatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.comment-modal .modal-content .comment-full-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  word-break: break-all;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme=dark] .client-testimonial-wrapper {
  color: #cccccc;
}
[data-theme=dark] .client-testimonial-wrapper .testimonial-header .main-title {
  color: #f0f0f0;
}
[data-theme=dark] .client-testimonial-wrapper .comment-slide .comment-author {
  color: #999999;
}
[data-theme=dark] .client-testimonial-wrapper .comment-slide .comment-excerpt {
  color: #cccccc;
}
[data-theme=dark] .client-testimonial-wrapper .slider-controls .control-line {
  background: repeating-linear-gradient(to right, #444444 0, #444444 4px, transparent 4px, transparent 8px);
}
[data-theme=dark] .comment-modal .modal-content {
  background-color: #2a2a2a;
  color: #cccccc;
}
[data-theme=dark] .comment-modal .modal-content .close-modal {
  color: #ccc;
}
[data-theme=dark] .comment-modal .modal-content .comment-author-info {
  border-bottom-color: #444444;
}
[data-theme=dark] .comment-modal .modal-content .comment-author-info strong {
  color: #f0f0f0;
}
[data-theme=dark] .comment-modal .modal-content .comment-full-content {
  color: #cccccc;
}


/**
 * ajax-slider 최신글 - 최종 수정본 (1px 튀김 방지 적용)
 */
header.entry-header,
.ajax-slider-wrapper-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

div#comments {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2rem;
  position: relative;	
  padding:0 10px;
} 

.ajax-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 280px;
  border-radius: 12px;
  margin-bottom: 5rem;
  margin-top: 3rem;
}
.ajax-slider-wrapper.related {
    min-height: inherit;
    margin: 3rem 0 0;
    border-top: 1px solid;
    border-radius: inherit;
    /* border-bottom: 1px solid; */
}
h1.front-masonry,
.ajax-slider-wrapper h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: #222;
  letter-spacing: -1px;
  background-image: linear-gradient(135deg, transparent 45%, #60269e 45%, #60269e 55%, transparent 0);
  background-size: 4px 4px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-color: #ccc;
  z-index: 5;text-transform: uppercase;
}
.front-masonry-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 60px;
}
.ajax-slider-wrapper .ajax-slider-track {
  display: flex;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;margin-top:2rem;
}
.ajax-slider-wrapper .ajax-slide-set {
  min-width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.ajax-slider-wrapper .ajax-post-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.ajax-slider-wrapper .ajax-post-card:last-child {
  border-bottom: none;
}
.ajax-slider-wrapper .ajax-post-card .post-thumbnail {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}
.ajax-slider-wrapper .ajax-post-card .post-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.ajax-slider-wrapper .ajax-post-card .post-content {
  flex: 1;
  min-width: 0;
}
.ajax-slider-wrapper .ajax-post-card .post-content .post-title-link {
  display: inline-block;
  text-decoration: none;
  color: #333;
  position: relative;
  max-width: 100%;
}
.ajax-slider-wrapper .ajax-post-card .post-content .post-title-link h2 {
  font-size: 18px;
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
.desktop-only-nav .primary-menu-row li > a::after,
.ajax-slider-wrapper .ajax-post-card .post-content .post-title-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #60269e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.desktop-only-nav .primary-menu-row li > a:hover::after,
.ajax-slider-wrapper .ajax-post-card .post-content .post-title-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.ajax-slider-wrapper .ajax-post-card .post-date {
  display: block;
  font-size: 12px;
  color: #999;
}
.ajax-slider-wrapper .ajax-slider-controls {
  padding: 20px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;    position: absolute;
    top: 0;
    right: 10px;
}

@media (max-width: 480px) {
  .ajax-slider-wrapper .ajax-post-card .post-thumbnail img {
    width: 80px;
    height: 80px;
  }
  .ajax-slider-wrapper .ajax-post-card .post-content .post-title-link h2 {
    font-size: 16px;
  }
}
.history-slider-container {
  font-family: "Arial", sans-serif;
  background: var(--history-bg-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
  min-height: 100vh;
  padding: 20px;
}
.history-slider-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.history-main-container {
  max-width: 1200px;
  margin: 0 auto;
}

.history-slider-container-wrapper {
  background: white;
  border-radius: var(--history-border-radius, 20px);
  box-shadow: var(--history-shadow, 0 20px 40px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  margin-bottom: 40px;
}

.history-year-navigation {
  background: var(--history-primary-color, #2c3e50);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  position: relative;
}
@media (max-width: 767px) {
  .history-year-navigation {
    padding: 15px;
    flex-wrap: nowrap;
  }
}

.history-nav-arrow {
  background: var(--history-secondary-color, #3498db);
  border: none;
  color: white;
  font-size: 18px;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin: 0 15px;
  z-index: 10;
}
.history-nav-arrow:hover:not(:disabled) {
  background: var(--history-secondary-dark, #2980b9);
  transform: scale(1.1);
}
.history-nav-arrow:disabled {
  background: #7f8c8d;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 767px) {
  .history-nav-arrow {
    margin: 0 8px;
    padding: 8px 12px;
    font-size: 16px;
  }
}
@media (max-width: 479px) {
  .history-nav-arrow {
    margin: 0 5px;
    padding: 6px 10px;
    font-size: 14px;
  }
}

.history-year-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
@media (max-width: 767px) {
  .history-year-wrapper {
    flex: 1;
    min-width: 0;
  }
}

.history-year-list {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
  padding: 0 10px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  justify-content: center;
  width: 100%;
}
.history-year-list::-webkit-scrollbar {
  display: none;
}
@media (max-width: 767px) {
  .history-year-list {
    gap: 10px;
    padding: 0 5px;
    justify-content: flex-start;
  }
}
@media (max-width: 479px) {
  .history-year-list {
    gap: 8px;
  }
}

.history-year-item {
  background: transparent;
  border: 2px solid var(--history-primary-light, #34495e);
  color: var(--history-text-light, #ecf0f1);
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
  scroll-snap-align: center;
}
.history-year-item.active {
  background: var(--history-accent-color, #e74c3c);
  border-color: var(--history-accent-color, #e74c3c);
  color: white;
  transform: scale(1.1);
}
.history-year-item:hover:not(.active) {
  background: var(--history-primary-light, #34495e);
  border-color: var(--history-primary-color, #2c3e50);
}
@media (max-width: 767px) {
  .history-year-item {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 50px;
  }
}
@media (max-width: 479px) {
  .history-year-item {
    min-width: 45px;
    padding: 5px 10px;
    font-size: 11px;
  }
}

.history-main-slider {
  height: 500px;
}

.history-slide-content {
  display: flex;
  height: 100%;
}
@media (max-width: 767px) {
  .history-slide-content {
    flex-direction: column;
  }
}

.history-slide-left {
  flex: 1;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .history-slide-left {
    flex: none;
    height: 250px;
  }
}

.history-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.history-slide-image:hover {
  transform: scale(1.05);
}

.history-slide-right {
  flex: 1;
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 767px) {
  .history-slide-right {
    flex: none;
    padding: 30px 20px;
  }
}

.history-slide-year {
  font-size: 4rem;
  font-weight: bold;
  color: var(--history-text-dark, #2c3e50);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .history-slide-year {
    font-size: 2.5rem;
  }
}

.history-slide-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--history-text-lighten, #34495e);
  margin-bottom: 15px;
}
@media (max-width: 767px) {
  .history-slide-title {
    font-size: 1.4rem;
  }
}

.history-slide-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #495057;
  opacity: 0;
  transform: translateY(20px);
  animation: historyFadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
}
@media (max-width: 767px) {
  .history-slide-description {
    font-size: 1rem;
  }
}

@keyframes historyFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.history-list-container {
  background: white;
  border-radius: var(--history-border-radius, 20px);
  box-shadow: var(--history-shadow, 0 20px 40px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  padding: 40px;
}
@media (max-width: 767px) {
  .history-list-container {
    padding: 20px;
  }
}

.history-list-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--history-text-dark, #2c3e50);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.history-list-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--history-accent-color, #e74c3c);
  border-radius: 2px;
}

.history-timeline {
  position: relative;
  padding: 20px 0;
}
.history-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--history-accent-color, #e74c3c);
}
@media (max-width: 767px) {
  .history-timeline::before {
    left: 15px;
  }
}

.history-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 80px;
  opacity: 0;
  transform: translateY(20px);
  animation: historyFadeInUp 0.6s ease forwards;
}
.history-item:nth-child(1) {
  animation-delay: 0.1s;
}
.history-item:nth-child(2) {
  animation-delay: 0.2s;
}
.history-item:nth-child(3) {
  animation-delay: 0.3s;
}
.history-item:nth-child(4) {
  animation-delay: 0.4s;
}
.history-item:nth-child(5) {
  animation-delay: 0.5s;
}
.history-item.featured {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid var(--history-accent-color, #e74c3c);
  padding: 20px 20px 20px 75px;
  border-radius: 10px;
  margin-right: 20px;
}
@media (max-width: 767px) {
  .history-item.featured {
    padding: 15px 15px 15px 45px;
  }
}
.history-item::before {
  content: "";
  position: absolute;
  left: -55px;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--history-accent-color, #e74c3c);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
  .history-item::before {
    left: -25px;
  }
}
.history-item.featured::before {
  background: var(--history-accent-color, #e74c3c);
  width: 24px;
  height: 24px;
  left: -57px;
  top: 8px;
}
@media (max-width: 767px) {
  .history-item.featured::before {
    left: -27px;
  }
}
@media (max-width: 767px) {
  .history-item {
    padding-left: 50px;
  }
}

.history-year {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--history-accent-color, #e74c3c);
  margin-bottom: 10px;
}

.history-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--history-text-dark, #2c3e50);
  margin-bottom: 10px;
}

.history-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.history-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.history-featured-badge {
  display: inline-block;
  background: var(--history-accent-color, #e74c3c);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

@keyframes historySpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.history-error {
  text-align: center;
  padding: 20px;
  color: var(--history-accent-color, #e74c3c);
  font-weight: 500;
}

.history-page-content {
  margin-top: 40px;
}
.history-page-content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--history-text-dark, #2c3e50);
  margin-bottom: 1rem;
}
.history-page-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}
.history-page-content ul, .history-page-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* #site-loader
================================================== */
.site-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-hash {
  width: 160px;
  height: 160px;
  fill: none;
  transform-origin: center;
}

.spinning {
  animation: spin 6s linear infinite;
}

.indicator-float {
  opacity: 0.7;
  animation: indicator-float 2.5s ease-in-out infinite;
  will-change: transform, opacity;
}

.indicator-float {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.purple {
  fill: #60269E;
}

.orange {
  fill: #FC7F3F;
}

.delay-0 {
  animation-delay: 0s;
}

.delay-1 {
  animation-delay: 0.4s;
}

.delay-2 {
  animation-delay: 0.8s;
}

.delay-3 {
  animation-delay: 1.2s;
}

.delay-4 {
  animation-delay: 1.6s;
}

.delay-5 {
  animation-delay: 2s;
}

.delay-6 {
  animation-delay: 2.4s;
}

.delay-7 {
  animation-delay: 2.8s;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 2000;
    fill-opacity: 0.1;
  }
  40% {
    stroke-dashoffset: 0;
    fill-opacity: 0.4;
  }
  70% {
    stroke-dashoffset: 0;
    fill-opacity: 0.7;
  }
  100% {
    stroke-dashoffset: 2000;
    fill-opacity: 1;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Floating animation */
@keyframes indicator-float {
  0%, 100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px);
  }
}
/* #Progress
================================================== */
.progress-wrap {
  position: fixed;
  right: 10px;
  bottom: 50px;
  height: 51.3px;
  width: 51.3px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 3px rgba(70, 69, 69, 0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 1;
}

svg#arrow_up {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  fill: currentColor;
  pointer-events: none;
  width: 20px;
  height: 18px;
  transition: all 200ms ease;
}

.progress-wrap:hover #arrow_up {
  fill: #FC7F3F; /* 호버 시 색상 변경 */
  transform: translate(-50%, -59%); /* 약간 위로 이동 */
}

.progress-wrap svg path {
  /*fill: none; */
}

.progress-wrap svg.progress-circle path {
  /*stroke: var(--red);*/
  stroke-width: 4;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

/* 다크모드  */
[data-theme=dark] .progress-wrap {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* =========================================
   1. 헤더 기본 구조 및 z-index 정렬
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.screen-reader-text, .visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* =========================================
   2. 햄버거 버튼 (항상 최상단 유지)
   ========================================= */
.menu-toggle {
  position: sticky;
    top: 20px;
	left:5px;
  z-index: 1002; /* 🌟 풀스크린(1000)보다 높아 X 버튼이 항상 위에 보임 */
  background: none;
  border: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: -1000px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin-bottom: -48px;
}
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  display: block;
  width: 27px;
  height: 3px;
  background-color: #222;
  transition: all 0.3s ease;
  position: absolute;
}
.menu-toggle span:before {
  top: -8px;
  content: "";
}
.menu-toggle span:after {
  top: 8px;
  content: "";
}

@media (max-width: 1024px) {
  .menu-toggle {
    position: fixed;

  }
}

.menu-open .menu-toggle span {
  background-color: transparent !important;
}

.menu-open .menu-toggle span:before {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-toggle span:after {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   3. PC 가로형 상단 메뉴 (Desktop Nav)
   ========================================= */
.desktop-only-nav {
  display: none;
  margin-left: auto; /* 우측 끝 정렬 */
}
@media (min-width: 769px) {
  .desktop-only-nav {
    display: block;
  }
  .desktop-only-nav .primary-menu-row {
    display: block;text-transform: uppercase;
    gap: 20px;
    list-style: none;        width:260px;
    /* PC 호버 AJAX 썸네일 (80x80) */
  }
  .desktop-only-nav .primary-menu-row li {
    position: relative;
    list-style: none;
    /* 🌟 우측 끝 메뉴가 화면 밖으로 나가는 것 방지 */
  }
  .desktop-only-nav .primary-menu-row li > a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    padding: 0px; position:relative;
    transition: color 0.2s;
  }
  .desktop-only-nav .primary-menu-row li > a:hover {
    color: #60269e;
  }
  .desktop-only-nav .primary-menu-row li:last-child .sub-menu, .desktop-only-nav .primary-menu-row li:last-child .mega-dropdown-posts {
    left: auto;
    right: 0;
  }
  .desktop-only-nav .primary-menu-row .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    border-radius: 4px;
    padding: 5px 0;
  }
  .desktop-only-nav .primary-menu-row .sub-menu li a {
    padding: 10px 20px;
    display: block;
    color: #333;
    font-weight: 500;
    font-size: medium;
  }
  .desktop-only-nav .primary-menu-row .sub-menu li a:hover {
    background-color: #f1f3f5;
    color: #000;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 380px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin: 1em 0.3em;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #e9ecef;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a .mega-sub-title {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0;
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a:hover .mega-sub-thumb img {
    transform: scale(1.05);
  }
  .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a:hover .mega-sub-title {
    color: #000;
    text-decoration: underline;
  }
  .desktop-only-nav .primary-menu-row li:hover .sub-menu, .desktop-only-nav .primary-menu-row li:focus-within .sub-menu, .desktop-only-nav .primary-menu-row li:hover .mega-dropdown-posts, .desktop-only-nav .primary-menu-row li:focus-within .mega-dropdown-posts {
    opacity: 1;
    visibility: visible;
  }
}

li.current-menu-item > a {
    color: #60269e !important;
    font-weight: 900 !important;
}
/* =========================================
   4. 전체 화면 메뉴 오버레이 (사이트맵)
   ========================================= */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000; /* 🌟 오버레이 z-index */
  transform: translateX(-100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
}
.fullscreen-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-container {
  display: flex;
  flex-direction: column;
  padding: 100px 5% 40px;
}

.mega-search-area {
  margin-bottom: 30px;
}
.mega-search-area form {
  display: flex;
  border-bottom: 3px solid #333;
  padding-bottom: 15px;
}
.mega-search-area form input[type=search] {
  border: none;
  background: transparent;
  flex-grow: 1;
  padding: 10px;
  font-size: 1.2rem;
  outline: none;
}
.mega-search-area form button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.mega-search-area form button:hover {
  color: #000;
}

.primary-menu-col {
  list-style: none;text-transform: uppercase;
}
.primary-menu-col li {
  margin: 12px 0;
}
.primary-menu-col a, .primary-menu-col .menu-trigger {
  color: #333;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 16px 10px;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  transition: all 0.2s;
}
.primary-menu-col a:hover, .primary-menu-col .menu-trigger:hover {
  background-color: #f1f3f5;
  color: #000;
}
.primary-menu-col .sub-menu {
  list-style: none;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.4s ease;
  padding-left: 20px;
}
.primary-menu-col .sub-menu li a {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 12px 10px;
  border: none;
}
.primary-menu-col li.is-open > .sub-menu {
  max-height: 2000px;
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}
.primary-menu-col li.menu-item-has-children > .menu-trigger {
  position: relative;
}
.primary-menu-col li.menu-item-has-children > .menu-trigger::after {
  content: "▶";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.primary-menu-col li.menu-item-has-children.is-open > .menu-trigger::after {
  transform: translateY(-50%) rotate(90deg);
}
.primary-menu-col .mega-dropdown-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}
.primary-menu-col .mega-dropdown-posts .mega-sub-post a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border: none;
  background: transparent;
  transition: background 0.2s;
  border-radius: 6px;
}
.primary-menu-col .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e9ecef;
}
.primary-menu-col .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.primary-menu-col .mega-dropdown-posts .mega-sub-post a .mega-sub-title {
  font-size: 1rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0;
}
.primary-menu-col .mega-dropdown-posts .mega-sub-post a:hover {
  background-color: #e9ecef;
}
@media (min-width: 769px) {
  .primary-menu-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .primary-menu-col > li {
    margin: 0;
    align-self: flex-start;
  }
  .primary-menu-col > a, .primary-menu-col > .menu-trigger {
    font-size: 1.4rem;
    border-bottom: 2px solid #333;
    padding: 10px 0;
  }
  .primary-menu-col li.menu-item-has-children > .menu-trigger::after {
    display: none;
  }
  .primary-menu-col .sub-menu {
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding-left: 0;
    margin-top: 15px;
  }
  .primary-menu-col .sub-menu li a {
    padding: 8px 10px;
  }
}
@media (min-width: 1200px) {
  .primary-menu-col {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.mega-ajax-content {
  margin-top: 40px;
  border-top: 1px solid #ddd;
  padding-top: 30px;
}
.mega-ajax-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}
.mega-ajax-content .mega-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.mega-ajax-content .mega-tag-list a {
  padding: 8px 18px;
  background: #f1f3f5;
  border-radius: 20px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}
.mega-ajax-content .mega-tag-list a:hover {
  background: #60269e;
  color: #fff;
}

html.menu-open {
  overflow: hidden;
}

.navigation.pagination {
  max-width: 1400px;
  margin: 2rem auto 3rem;
  padding: 0 16px;
}
.navigation.pagination .nav-links {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #f4f4f4;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease;
}
.navigation.pagination .page-numbers.current {
  background: #222;
  color: #fff;
}
.navigation.pagination .page-numbers:hover:not(.current):not(.dots) {
  background: #e0e0e0;
  color: #111;
  transform: translateY(-2px);
}
.navigation.pagination .page-numbers.dots {
  background: transparent;
  color: #999;
  width: auto;
  padding: 0 4px;
  pointer-events: none; border:none;
}
.navigation.pagination .page-numbers.prev, .navigation.pagination .page-numbers.next {
  width: auto;
  min-width: 40px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Home page styles */
.home-page {
  padding: 2rem;
}

/* Search page styles */
.search-page {
  padding: 2rem;
}

p.results {
  font-size: 2rem;
  font-weight: 100;
}
p.results small {
    font-size: 1.5rem;
}
b.query {
  font-weight: 500;
}

/* =========================================
   통합 검색 폼 스타일 (input submit & button 공통)
   ========================================= */
form[role=search] {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%; /* 기존 인라인 스타일의 max-width 수용 */
  border-bottom: 3px solid #333; /* 기본 연한 밑줄 */
  transition: border-color 0.3s ease;
  padding: 15px 5px;
  margin: 16px 0; /* 폼2의 인라인 여백 흡수 */
  /* 🌟 입력창에 포커스가 가면 폼 전체 밑줄 색상 변경 */
  /* Form 1 처럼 label 안에 input이 있는 경우를 위한 레이아웃 처리 */
  /* 검색 입력창 공통 스타일 */
  /* 검색 전송 버튼 공통 스타일 (글자 숨기고 CSS 돋보기 노출) */
  /* 🌟 입력창에 포커스가 가면 돋보기 아이콘을 진한 색상으로 교체 */
}
form[role=search]:focus-within {
  border-color: #000; /* 테마 메인 색상 */
}
@media (max-width: 769px) {
  form[role=search] {
    padding: 5px;
  }
}
form[role=search] label {
  flex-grow: 1;
  display: flex;
  width: 100%;
  margin: 0;
}
form[role=search] input[type=search] {
  flex-grow: 1;
  width: 100% !important; /* 폼2의 인라인 넓이(70%) 강제 무시하고 꽉 채움 */
  border: none;
  background: transparent;
  padding: 10px 5px;
  font-size: 1.8rem;
  outline: none;
  color: #333;
  box-shadow: none;
  /* 웹킷 브라우저 기본 X 버튼 디자인 제거 */
}
form[role=search] input[type=search]::-webkit-search-decoration, form[role=search] input[type=search]::-webkit-search-cancel-button, form[role=search] input[type=search]::-webkit-search-results-button, form[role=search] input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
@media (max-width: 769px) {
  form[role=search] input[type=search] {
    font-size: 1.2rem;
    padding: 5px;
  }
}
form[role=search] input[type=submit],
form[role=search] button[type=submit] {
  background-color: transparent;
  border: none;
  width: 60px;
  height: 60px;
  padding: 0;
  cursor: pointer;
  outline: none;
  /* "검색" 글자 투명하게 숨기기 */
  font-size: 0;
  color: transparent;
  /* 돋보기 SVG 삽입 (기본: 연한 회색 #aaaaaa) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 33px; /* 돋보기 크기 */
  transition: transform 0.2s ease, background-image 0.3s ease;
}
form[role=search] input[type=submit]:hover,
form[role=search] button[type=submit]:hover {
  transform: scale(1.2); /* 마우스 오버 시 살짝 커지는 효과 */
}
@media (max-width: 769px) {
  form[role=search] input[type=submit],
  form[role=search] button[type=submit] {
    background-size: 25px; /* 돋보기 크기 */
  }
}
form[role=search]:focus-within input[type=submit], form[role=search]:focus-within button[type=submit] {
  /* 진한 보라색(테마색: #60269e)으로 변경된 돋보기 SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
}

/* =========================================
   다크 모드 대응
   ========================================= */
.tag-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tag-sidebar {
  flex: 0 0 calc(30% - 1rem);
}

.post-list {
  flex: 0 0 calc(70% - 1rem);
}

.tag-list {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1px 0 0 1px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.tag-list li {
  width: 20%;
  aspect-ratio: 1/1; /* 정사각형 비율 유지 */
  margin-left: -1px;
  margin-top: -1px;
  border: 1px solid #333;
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}

.tag-list li:after {
  content: "";
  position: absolute;
  border-right: 1px solid #333;
  right: 0;
  top: 0;
  transition: all 0.4s;
}

.tag-list li:hover {
  border-color: #8e49aa !important;
  z-index: 9;
}

.tag-list li:hover:after {
  border-right: 1px solid #8e49aa !important;
  transition: all 0.4s;
}

.tag-list li a {
  color: #333;
  text-align: center;
  letter-spacing: -0.08rem;
  word-break: break-word;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 0.8rem;
  position: absolute;
  z-index: 9;
  width: 100%;
  height: 100%;
  display: flex;
  transition: all 0.4s;
}

.tag-list li:hover a {
  color: #8e49aa !important;
  transition: all 0.4s;
}

.tag-list li a.tag-link.current {
  background: #8e49aa;
  color: #fff !important;
  transform: scale(1.03);
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .tag-sidebar,
  .post-list {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* category page styles */
.page-marker {
  visibility: hidden;
  height: 0;
}

#loading-indicator {
  padding: 10px;
  margin: 10px 0;
}

.content-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px;
}
.content-grid .grid-wrapper {
  display: grid;
  gap: 12px;
  align-items: stretch;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 320px) {
  .content-grid .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .content-grid .grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .content-grid .grid-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
.content-grid .grid-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  /* 태그 영역 */
}
.content-grid .grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.content-grid .grid-item .item-thumbnail img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.content-grid .grid-item .item-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
@media (min-width: 768px) {
  .content-grid .grid-item .item-content {
    padding: 16px;
  }
}
.content-grid .grid-item .item-meta {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 6px;
}
.item-excerpt {
    font-size: medium;
    font-weight: 300;
}
@media (min-width: 768px) {
  .content-grid .grid-item .item-meta {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
}
.content-grid .grid-item h3 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.66rem;
}
@media (min-width: 768px) {
  .content-grid .grid-item h3 {
    font-size: 1.05rem;
    min-height: 2.94rem;
  }
}
.content-grid .grid-item h3 a {
  text-decoration: none;
  color: #222;
  /* 마법의 CSS: 제목의 클릭 영역을 카드 전체로 덮어씌웁니다. */
}
.content-grid .grid-item h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.content-grid .grid-item .item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  max-height: 48px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .content-grid .grid-item .item-tags {
    gap: 6px;
    max-height: 58px;
  }
}
.content-grid .grid-item .item-tags .tag {
  font-size: 0.7rem;
  color: #555;
  background: #f4f4f4;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}
@media (min-width: 768px) {
  .content-grid .grid-item .item-tags .tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}
.content-grid .grid-item .item-tags .tag:hover {
  background: #e0e0e0;
}

.content-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px;
}
.content-list .list-wrapper {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #eee;
}
.content-list .list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  background-color: transparent;
  transition: background-color 0.3s ease;
  /* 💡 핵심: 왼쪽에서 오른쪽으로 채워지는 하단 라인 애니메이션 */
  /* 1. 왼쪽 정사각형 썸네일 (게시판 비율에 맞춰 축소) */
  /* 2. 오른쪽 텍스트 영역 */
  /* 3. 제목 (2줄 제한 & 링크 마법) */
  /* 4. 태그 영역 */
  /* 5. 날짜 */
}
@media (min-width: 768px) {
  .content-list .list-item {
    gap: 24px;
    padding: 24px 10px;
  }
}
.content-list .list-item:hover {
  background-color: #fafafa;
}
.content-list .list-item::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #222;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 3;
}
.content-list .list-item:hover::after {
  width: 100%;
}
.content-list .list-item .list-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .content-list .list-item .list-thumbnail {
    width: 120px;
    height: 120px;
  }
}
.content-list .list-item .list-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.content-list .list-item .list-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  justify-content: center;
  z-index: 1;
}
.content-list .list-item h2 {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: #222;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .content-list .list-item h2 {
    font-size: 1.15rem;
  }
}
.content-list .list-item h2 a {
  text-decoration: none;
  color: inherit;
  /* 클릭 영역을 항목 전체로 넓힘 */
}
.content-list .list-item h2 a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.content-list .list-item .list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.content-list .list-item .list-tags .tag {
  font-size: 0.75rem;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.content-list .list-item .list-tags .tag:hover {
  color: #222;
  text-decoration: underline;
}
.content-list .list-item .list-meta {
  font-size: 0.8rem;
  color: #999;
  margin-top: auto;
}

.content-masonry {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 16px;
  /* Masonry 기준점 세팅 (화면 크기별로 카드 크기와 간격 지정) */
}

.content-masonry .masonry-wrapper {
  display: block;
  position: relative; width: 100%;marign:0 auto;
}
.content-masonry .masonry-sizer {
  width: 100%;
}
.content-masonry .masonry-gutter {
  width: 12px;
}
@media (min-width: 320px) {
  .content-masonry .masonry-sizer {
    width: calc(50% - 6px);
  }
}
@media (min-width: 768px) {
  .content-masonry .masonry-sizer {
    width: calc(33.333% - 16px);
  }
  .content-masonry .masonry-gutter {
    width: 24px;
  }
}
@media (min-width: 1024px) {
  .content-masonry .masonry-sizer {
    width: calc(25% - 18px);
  }
}
.content-masonry .masonry-item {
  float: left;        /*margin-right: 24px;*/
  width: 100%;
  margin-bottom: 12px;
  z-index: 1;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
@media (min-width: 320px) {
  .content-masonry .masonry-item {
    width: calc(50% - 6px);
  }
}
@media (min-width: 768px) {
  .content-masonry .masonry-item {
    width: calc(33.333% - 16px);
    margin-bottom: 24px;
  }
}
@media (min-width: 1024px) {
  .content-masonry .masonry-item {
    width: calc(25% - 18px);
  }
}
.content-masonry .masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.content-masonry .masonry-item .masonry-thumbnail img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.content-masonry .masonry-item .item-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.content-masonry .masonry-item.notice-item .item-content {
background:#ddd;
}
@media (min-width: 768px) {
  .content-masonry .masonry-item .item-content {
    padding: 16px;
  }
}
.content-masonry .masonry-item .item-meta {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .content-masonry .masonry-item .item-meta {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
}
.content-masonry .masonry-item h3 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
  word-break: keep-all;
}
@media (min-width: 768px) {
  .content-masonry .masonry-item h3 {
    font-size: 1.05rem;
  }
}
.content-masonry .masonry-item h3 a {
  text-decoration: none;
  color: inherit;
}
.content-masonry .masonry-item h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.content-masonry .masonry-item .item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .content-masonry .masonry-item .item-tags {
    gap: 6px;
  }
}
.content-masonry .masonry-item .item-tags .tag {
  font-size: 0.7rem;
  color: #555;
  background: #f4f4f4;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}
@media (min-width: 768px) {
  .content-masonry .masonry-item .item-tags .tag {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}
.content-masonry .masonry-item .item-tags .tag:hover {
  background: #e0e0e0;
}

img.pie-img {
    max-width: 100%;
}

/* 전체 컨테이너 */
.content-book {
  max-width: 1400px;
  margin: 0 auto;
}
.content-book .book-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 40px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .content-book .book-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 10px;
  }
}

/* 📚 개별 책 아이템 (호버 애니메이션 제어) */
.book-item {
  position: relative;
  aspect-ratio: 1/1.414;
  perspective: 1200px; /* 3D 카메라 깊이감 */
}
.book-item:hover .book-3d-wrapper {
  /* 책 몸통은 오른쪽으로 살짝 비틀어서 펼쳐진 안쪽이 잘 보이게 함 */
  transform: translateY(-5px) rotateX(10deg) rotateY(15deg);
  box-shadow: -10px 20px 30px rgba(0, 0, 0, 0.15);
}
.book-item:hover .book-front {
  /* 앞표지는 왼쪽(경첩)을 축으로 하여 바깥으로 엽니다 */
  transform: translateZ(calc(30px / 2)) rotateY(-45deg);
  /* 열린 표지가 만드는 그림자 추가 */
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

/* 3D 형태 래퍼 */
.book-3d-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 2px 12px 12px 2px;
  /* 1. 앞표지 */
  /* 🌟 새로 추가: 책 안쪽 첫 페이지 (표지 열리면 보임) */
  /* 3. 뒷표지 */
  /* 4. 책등 (왼쪽) */
  /* 5. 종이 단면 (오른쪽) */
  /* 6. 종이 단면 (위) */
  /* 7. 종이 단면 (아래) */
}
.book-3d-wrapper .book-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.book-3d-wrapper .book-front {
  transform: translateZ(calc(30px / 2));
  /* 🌟 핵심: 회전의 중심축을 왼쪽 끝(책등)으로 고정 */
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
  border-radius: 2px 12px 12px 2px;
  overflow: hidden;
  background-color: #f8f9fa;
  z-index: 2; /* 안쪽 페이지보다 위에 오도록 설정 */
  /* 이미지 및 텍스트 스타일 (기존과 동일) */
}
.book-3d-wrapper .book-front::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  width: 2px;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  box-shadow: 1px 0 2px rgba(255, 255, 255, 0.4);
  z-index: 4;
  pointer-events: none;
}
.book-3d-wrapper .book-front::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 3;
  pointer-events: none;
}
.book-3d-wrapper .book-front .cover-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}
.book-3d-wrapper .book-front .cover-link .bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-3d-wrapper .book-front .cover-link .fallback-bg {
  width: 100%;
  height: 100%;
  background-color: #e9ecef;
}
.book-3d-wrapper .book-front .book-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 20px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  pointer-events: none;
}
@media (max-width: 768px) {
  .book-3d-wrapper .book-front .book-info {
    padding: 40px 10px 15px 15px;
    gap: 6px;
  }
}
.book-3d-wrapper .book-front .book-info .title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
}
.book-3d-wrapper .book-front .book-info .title a {
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
}
.book-3d-wrapper .book-front .book-info .title a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .book-3d-wrapper .book-front .book-info .title {
    font-size: 0.95rem;
  }
}
.book-3d-wrapper .book-front .book-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.book-3d-wrapper .book-front .book-info .tags .tag {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 6px;
  border-radius: 4px;
  pointer-events: auto;
  transition: background 0.2s;
}
.book-3d-wrapper .book-front .book-info .tags .tag:hover {
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .book-3d-wrapper .book-front .book-info .tags .tag {
    font-size: 0.7rem;
    padding: 2px 4px;
  }
}
.book-3d-wrapper .book-front .book-info .meta .date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
  .book-3d-wrapper .book-front .book-info .meta .date {
    font-size: 0.75rem;
  }
}
.book-3d-wrapper .book-pages-front {
  /* 앞표지 바로 뒤(1px 뒤)에 위치시킴 */
  transform: translateZ(calc(30px / 2 - 1px));
  border-radius: 2px 10px 10px 2px;
  background-color: #fff;
  /* 책등 안쪽으로 들어갈수록 살짝 어두워지는 종이 음영 */
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.02) 10%, rgba(255, 255, 255, 0) 100%);
}
.book-3d-wrapper .book-back {
  transform: rotateY(180deg) translateZ(calc(30px / 2));
  border-radius: 12px 2px 2px 12px;
  background-color: #333;
}
.book-3d-wrapper .book-spine {
  width: 30px;
  left: calc(-30px / 2);
  transform: rotateY(-90deg);
  background-color: #444;
}
.book-3d-wrapper .book-pages-right {
  width: 30px;
  right: calc(-30px / 2);
  transform: rotateY(90deg);
  background-color: #f9f9f9;
  background-image: repeating-linear-gradient(to right, #fff 0px, #fff 2px, #e0e0e0 3px);
}
.book-3d-wrapper .book-pages-top {
  height: 30px;
  top: calc(-30px / 2);
  transform: rotateX(90deg);
  background-color: #f9f9f9;
  background-image: repeating-linear-gradient(to bottom, #fff 0px, #fff 2px, #e0e0e0 3px);
}
.book-3d-wrapper .book-pages-bottom {
  height: 30px;
  bottom: calc(-30px / 2);
  transform: rotateX(-90deg);
  background-color: #f9f9f9;
  background-image: repeating-linear-gradient(to bottom, #fff 0px, #fff 2px, #e0e0e0 3px);
}

.post-nav-track {
  display: flex;
  flex-direction: column;
  max-width: 1400px;
  margin: 40px auto;
}
.post-nav-track .post-nav-set {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.post-nav-track .post-nav-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}
.post-nav-track .post-nav-card:last-child {
  border-bottom: none;
}
.post-nav-track .post-nav-card.current-post {
  background-color: #f8f5ff;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 8px;
  margin: 4px 0;
  border-bottom: 1px solid transparent;
}
.post-nav-track .post-nav-card.current-post .curr-label {
  color: #60269e;
  font-weight: 800;
  margin-right: 6px;
}
.post-nav-track .post-nav-card .post-thumbnail {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.post-nav-track .post-nav-card .post-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
  display: block;
  transition: transform 0.3s ease;
}
.post-nav-track .post-nav-card:not(.current-post):hover .post-thumbnail img {
  transform: scale(1.04);
}
.post-nav-track .post-nav-card .post-content {
  flex: 1;
  min-width: 0;
}
.post-nav-track .post-nav-card .post-content .post-title-link {
  display: inline-block;
  text-decoration: none;
  color: #333;
  position: relative;
}
.post-nav-track .post-nav-card .post-content .post-title-link h2 {
  font-size: 18px;
  margin: 0 0 4px 0;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-track .post-nav-card .post-content .post-title-link:not(.current)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #60269e;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.post-nav-track .post-nav-card .post-content .post-title-link:not(.current):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.post-nav-track .post-nav-card .post-date {
  display: block;
  font-size: 12px;
  color: #999;
}

@media (max-width: 768px) {
  .post-nav-track .post-nav-card {
    padding: 12px 0;
  }
  .post-nav-track .post-nav-card .post-content .post-title-link h2 {
    font-size: 16px;
  }
}
/* 컬러 변수 지정 */
:root {
  --red: #da2c4d;
  --yellow: #f8ab37;
  --green: #2ecc71;
  --white: #ffffff;
  --purple: #60269E;
  --orange: #FC7F3F;
  --grey-light: #f2f7f9;
  --grey: #ecedf3;
  --black: #080808;
  --black-blue: #1f2029;
  --black-blue-light: #353746;
  --black-blue-light-2: #404255;
  --black-blue-light-3: #4b4d64;
  --black-light: #424455;
  --neutral-400: #b7b4c7;
  --neutral-100: white;
  --secondary-1: #ff4895;
  --neutral-300: #d9d7e6;
  --secondary-5: #1d1a27;
  --secondary-2: #6e4fe9;
  --secondary-3: #1766ff;
  --secondary-4: #2d42ff;
  --neutral-700: #302c3f;
  --neutral-600: #5e5b71;
  --neutral-500: #88849c;
  --neutral-200: #f5f4fa;
  --neutral-800: #13111a;
  --shadow-card-default: rgba(0, 0, 0, .1);
  --shadow-card-large: rgba(0, 0, 0, .35);
  --shadow-card-large-dark: rgba(0, 0, 0, .45);
  --history-primary-color: #2c3e50;
  --history-primary-light: rgb(62.0967741935, 87.5, 112.9032258065);
  --history-secondary-color: #3498db;
  --history-secondary-dark: rgb(33.1380753138, 125.1882845188, 186.8619246862);
  --history-accent-color: #e74c3c;
  --history-text-light: #ecf0f1;
  --history-text-dark: #2c3e50;
  --history-text-lighten: rgb(62.0967741935, 87.5, 112.9032258065);
  --history-bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --history-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --history-border-radius: 20px;
}

/* Theme colors and dark mode */
.purple {
  color: #60269E;
}

.orange {
  color: #FC7F3F;
}

.cv-page {
  width: 100%;
}


/*각주*/
:root {
  --am-footnote-scroll-offset: 64px;
}

/* 본문 번호 */
.am-note-ref {
  font-size: 0.85em;
  line-height: 1;
  vertical-align: super;
  border-radius: 3px;
  transition: background-color 0.2s ease;    font-style: normal;
}

.am-note-ref-link {
  text-decoration: none;
}

.am-note-ref-link:hover,
.am-note-ref-link:focus {
  text-decoration: underline;
}

/* 오른쪽 각주 영역 */
.am-footnotes {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.am-footnotes-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.am-footnote-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.am-footnote-item {
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.2rem 0 0.2rem 2rem;
  line-height: 1.7;
  border-radius: 6px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  word-break: keep-all;font-size: 1rem;
}

.am-note-to-body {
  position: absolute;
  left: 0;
  top: 0.2rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.am-note-backlink {
  margin-left: 0.4rem;
  text-decoration: none;
}

.am-note-to-body:hover,
.am-note-to-body:focus,
.am-note-backlink:hover,
.am-note-backlink:focus {
  text-decoration: underline;
}

/* 스크롤 이동 시 잠깐 강조 */
.am-flash {
  animation: amFlash 1.2s ease-out 1;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.55) inset;
  background: linear-gradient(0deg, rgba(255, 235, 130, 0.45), rgba(255, 235, 130, 0));
  border-radius: 4px;
}

@keyframes amFlash {
  0% {
    background-color: rgba(255, 235, 130, 0.65);
  }
  100% {
    background-color: transparent;
  }
}

/* 현재 읽는 위치의 본문 번호 / 오른쪽 각주 강조 */
.am-note-ref.is-active-ref {
  background: rgba(255, 235, 130, 0.4);
}

.am-footnote-item.is-active {
  background: rgba(255, 235, 130, 0.28);
}

/* entry-right 내부 순서 */
#entry-right {
  display: flex;
  flex-direction: column;
}

#entry-right > .entry-meta-etc { order: 1; }
#entry-right > .entry-meta     { order: 2; }
#entry-right > .cat-links      { order: 3; }
#entry-right > .tags-links     { order: 4; }
#entry-right > .am-footnotes   { order: 5; }

/* PC: 각주 목록 내부만 스크롤 */
@media (min-width: 769px) {
  #entry-right .am-footnotes {
    max-height: var(--am-footnotes-max-height, 420px);
    overflow-y: auto;
    padding-right: 0.5rem;
    scroll-behavior: smooth;

    scrollbar-width: thin;                    /* Firefox */
    scrollbar-color: rgba(0,0,0,.28) transparent;
  }

  /* Chrome, Edge, Safari */
  #entry-right .am-footnotes::-webkit-scrollbar {
    width: 6px;
  }

  #entry-right .am-footnotes::-webkit-scrollbar-track {
    background: transparent;
  }

  #entry-right .am-footnotes::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 999px;
  }

  #entry-right .am-footnotes::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.38);
  }
}

/* 모바일: 각주를 위로 */
@media (max-width: 768px) {
  #entry-right > .am-footnotes {
    order: 0;
    margin-bottom: 1.5rem;
  }
}

/* 모바일 */
@media (max-width: 639px) {
.nav-links.ajax-slider-wrapper.related {
    flex: inherit;
}	
.site-title a {text-align:center;font-size: 1.65rem;        height: inherit;
        line-height: 1.8;}	
p.site-description {
    margin: -15px 0 0 0px;
    line-height: normal;        font-size: x-large;
}	
.item-excerpt {display:none;}	

h1.front-masonry, .ajax-slider-wrapper h1 {
    font-size: 34px;
padding-left: 10px;}  
  
}



#primary.content-area {
  width: 100%;
}

#primary .site-main {
  width: 100%;
}

.tag-archive {
  width: 100%;
  padding: 2rem 1.25rem 3rem;
  box-sizing: border-box;
}

.tag-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}


.post-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;    margin-top: -1.25rem;
}

.post-list .list-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e8e8;
  margin: 0;
}

.post-list .list-thumbnail {
  width: 100%;
}

.post-list .list-thumbnail a {
  display: block;
  text-decoration: none;
}

.post-list .list-thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
  background: #f3f3f3;
}

.post-list .list-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.post-list .list-content h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.post-list .list-content h2 a {
  color: inherit;
  text-decoration: none;
}

.post-list .list-content h2 a:hover,
.post-list .list-content h2 a:focus {
  text-decoration: underline;
}

.post-list .list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.post-list .list-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.2;
  color: #555;
  background: #fff;
  box-sizing: border-box;
}

.post-list .list-tags .tag:hover,
.post-list .list-tags .tag:focus {
  color: #111;
  border-color: #111;
}

.post-list .list-tags .category-tag {
  background: #fafafa;
}

.post-list .list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: #666;
}

.post-list .list-meta .views,
.post-list .list-meta .date {
  display: inline-flex;
  align-items: center;
}

.page-header {
  padding: 2rem 1.25rem 1rem;
  box-sizing: border-box;
}

.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.page-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}

.page-title .tags {

}

.page-title .heading {
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
}

.archive-description {
  margin-top: 0.85rem;
  color: #666;
  line-height: 1.7;
}

.pagination,
.navigation.pagination {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 0 10px 2rem; 
  box-sizing: border-box;
}
.page-template-page-guestbook-php .navigation.pagination {
padding:0;	
}
@media (max-width: 1100px) {
  .tag-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }

  .post-list .list-item {
    grid-template-columns: 130px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .tag-archive {
    padding-top: 1.5rem;
  }

  .tag-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tag-sidebar {
    width: 100%;
  }

  .post-list .list-item {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 1rem;
  }

  .page-header {
    padding-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .tag-archive {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
  }

  .page-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pagination,
  .navigation.pagination {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 2rem;
  }

  .post-list .list-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .post-list .list-content h2 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .post-list .list-tags .tag {
    font-size: 0.76rem;
    min-height: 1.8rem;
    padding: 0.15rem 0.6rem;
  }

  .post-list .list-meta {
    font-size: 0.8rem;
    gap: 0.6rem;
  }
}
/* 다크모드: [data-theme="dark"] 기반 */
[data-theme=dark] {
  /* 3. 깜빡임 방지를 위한 초기 상태 스타일 */
  /* 6. 다크모드 메뉴 */
  /* 7. 다크모드 AJAX 슬라이더 */
}
[data-theme=dark] html {
  --theme-color: var(--neutral-800);
  background-color: var(--neutral-800) !important;
}
[data-theme=dark] body {
  background-color: var(--neutral-800);
  color: #eee;
}
[data-theme=dark] a {
    color: #fff;
}
[data-theme=dark] .content-masonry .masonry-item {
background-color: #000;	
}
[data-theme=dark] .content-masonry .masonry-item.notice-item .item-content {
    background: #60269e;
}
[data-theme=dark] .content-masonry .masonry-item h3 a {color:#fff;}
[data-theme=dark] .content-masonry .masonry-item .item-tags .tag {
    color: #eee;
background: #333; }
[data-theme=dark] .purple {
  color: rgb(146.8367346939, 84.1020408163, 213.8979591837);
}
[data-theme=dark] .orange {
  color: rgb(253.5692307692, 193.9538461538, 163.4307692308);
}
[data-theme=dark] .site-title a {
  filter: drop-shadow(1px 2px 3px black);color:#fff;
}
[data-theme=dark] .cv-item:last-child {
	    border-bottom: 1px solid rgb(246 241 241 / 21%);
}
[data-theme=dark] .cv-item {
    border-top: 1px solid rgb(246 241 241 / 21%);
}
[data-theme=dark] .research-profile-card,
[data-theme=dark] .cv-pdf-link {  background:#000;}
[data-theme=dark] ul.primary-menu {
  filter: drop-shadow(1px 2px 3px black);
}
[data-theme=dark] .toggle-init-dark + .toggleSwitch {
  background: #f5bb18;
}
[data-theme=dark] .toggle-init-dark + .toggleSwitch .toggleButton {
  left: calc(100% - 2.8rem);
  background: #eee url(img/sun.svg) no-repeat center;
  background-size: 25px 25px;
}
[data-theme=dark] h1, [data-theme=dark] h2, [data-theme=dark] h3, [data-theme=dark] h4, [data-theme=dark] h5, [data-theme=dark] h6 {
  color: #eee;
}

[data-theme=dark] .comment-list > li.depth-1 {
    border: 1px solid #444;
    background: #000 !important;
}
[data-theme=dark] li.depth-1:before {
    border-color: transparent transparent #444 transparent;
}
[data-theme=dark] .comment-list > li.depth-1::after {
    border-color: transparent transparent #000 transparent;	
}
[data-theme=dark] .comment-list > li.depth-1 > .comment-body > .comment-content::before {
  border-color: transparent #444 transparent transparent;
}
[data-theme=dark] li.depth-1.bypostauthor:before,
[data-theme=dark] .comment-list > li.depth-1.bypostauthor > .comment-body > .comment-content::before {
  border-color: transparent  transparent #3e285e transparent !important;
}
[data-theme=dark] .comment-list > li.depth-1.bypostauthor::after {      border-color: transparent transparent #3e285e  transparent;}

[data-theme=dark] .comment-list .bypostauthor > .comment-body > .comment-content,
[data-theme=dark] .comment-list .depth-1.bypostauthor > .comment-body,
[data-theme=dark] .comment-list > li.depth-1.bypostauthor {
    background: #3e285e !important;
    border-color: #3e285e;
}
[data-theme=dark] .comment-list .depth-2.bypostauthor > .comment-body > .comment-content {
  background: #40275f !important;
}
[data-theme=dark] .comment-list .children .bypostauthor .comment-content::before {
  border-color: transparent transparent transparent #40275f !important;
}
[data-theme=dark] .comment-form-comment textarea {
  border: 2px solid #1f1c29;
  background: #1f1c29;
  color:#eee;
}

[data-theme=dark] .bouquins-guest-pw, [data-theme=dark] .comment-form-bouquins-cmt-pw input, [data-theme=dark] .comment-form-author input, [data-theme=dark] .comment-form-email input {
    border: 2px solid #1f1c29;
    background-color: #1f1c29;
    color: #eee;
}
[data-theme=dark] .comment-form-cookies-consent {background: #1f1c29;border: 1px solid #1f1c29;}
[data-theme=dark] p.comment-form-cookies-consent label {color: #ccc;
}

[data-theme=dark] .form-submit input.submit {border: 2px solid #1f1c29;}
[data-theme=dark] .comment-list > li.depth-1 .comment-author .fn {
  color: #ddd;
}

[data-theme=dark] .comment-list .children li.comment {
    background: #6a269e3b;
    border: 1px solid #333;
}
[data-theme=dark] .comment-list .children .comment-meta {
	border-bottom: 1px solid #333;
}
[data-theme=dark] .comment-list li.bypostauthor {
    background: #3e285e !important;
}
[data-theme=dark] .bouquins-comment-actions button,
[data-theme=dark]  .comment-reply a {
color:#ccc;
}

[data-theme=dark] span.sl-wrapper a {
  color: #fff;
}
[data-theme=dark] .menu-toggle span, [data-theme=dark] .menu-toggle span:before, [data-theme=dark] .menu-toggle span:after {
  background-color: #fff;
}
[data-theme=dark] .fullscreen-menu {
  background: rgba(25, 25, 25, 0.98);
}
[data-theme=dark] .mega-search-area form {
  border-color: #555;
}
[data-theme=dark] .mega-search-area form input[type=search], [data-theme=dark] .mega-search-area form button {
  color: #fff;
}
[data-theme=dark] .primary-menu-col a, [data-theme=dark] .primary-menu-col .menu-trigger {
  color: #fff;
  border-color: #444;
}
[data-theme=dark] .primary-menu-col a:hover, [data-theme=dark] .primary-menu-col .menu-trigger:hover {
  background-color: #333;
  color: #6bc2ff;
}
[data-theme=dark] .primary-menu-col .sub-menu li a {
  color: #ccc;
}
[data-theme=dark] .primary-menu-col .sub-menu li a:hover {
  color: #fff;
  background-color: #444;
}
[data-theme=dark] .primary-menu-col .mega-dropdown-posts {
  background-color: #2a2a2a;
}
[data-theme=dark] .primary-menu-col .mega-dropdown-posts .mega-sub-post a:hover {
  background-color: #444;
}
[data-theme=dark] .primary-menu-col .mega-dropdown-posts .mega-sub-post a .mega-sub-title {
  color: #ddd;
}
[data-theme=dark] .primary-menu-col .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb {
  background-color: #444;
}
[data-theme=dark] .mega-ajax-content {
  border-color: #444;
}
[data-theme=dark] .mega-ajax-content h3 {
  color: #fff;
}
[data-theme=dark] .mega-ajax-content .mega-tag-list a {
  background: #333;
  color: #ccc;
}
[data-theme=dark] .mega-ajax-content .mega-tag-list a:hover {
  background: #60269e;
  color: #fff;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row li > a {
  color: #eee;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row .sub-menu,
[data-theme=dark] .desktop-only-nav .primary-menu-row .mega-dropdown-posts {
  background: #2a2a2a;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row .sub-menu li a {
  color: #ddd;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row .sub-menu li a:hover {
  background-color: #444;
  color: #fff;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a .mega-sub-title {
  color: #ddd;
}
[data-theme=dark] .desktop-only-nav .primary-menu-row .mega-dropdown-posts .mega-sub-post a .mega-sub-thumb {
  background-color: #444;
}
[data-theme=dark] form[role=search] {
  border-color: #555; /* 다크모드 기본 밑줄 */
  /* 다크모드 기본 돋보기 (조금 더 밝은 회색: #888) */
  /* 🌟 다크모드 포커스 시 돋보기 (완전한 흰색: #ffffff) */
}
[data-theme=dark] form[role=search] input[type=search] {
  color: #fff; /* 다크모드 글자색 */
}
[data-theme=dark] form[role=search] input[type=search]::placeholder {
  color: #999;
}
[data-theme=dark] form[role=search] input[type=submit],
[data-theme=dark] form[role=search] button[type=submit] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
}
[data-theme=dark] form[role=search]:focus-within input[type=submit], [data-theme=dark] form[role=search]:focus-within button[type=submit] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card {
  border-bottom-color: #333;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card a {
  color: #efefef;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card a:active {
  background-color: rgba(255, 255, 255, 0.05);
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card .post-thumbnail img {
  background: #2a2a2a;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card .post-content h2 {
  color: #f5f5f5;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-post-card .post-date {
  color: #888;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-slider-controls button {
  background: #2a2a2a;
  border-color: #444;
  color: #bbb;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-slider-controls button:hover:not(:disabled) {
  background: #333;
  color: #fff;
}
[data-theme=dark] .ajax-slider-wrapper .ajax-slider-controls button:disabled {
  background: #1a1a1a;
  color: #555;
}
[data-theme=dark] .post-nav-track .post-nav-card.current-post {
  background-color: #000;
}
[data-theme=dark] .content-list .list-item:hover {
  background-color: #000;
}
[data-theme=dark] .content-list .list-item {
  border-bottom: 1px solid #333;
}

[data-theme=dark] .content-list .list-item h2 a {
    color: #eee;
}
[data-theme=dark] .tag-list li a.tag-link.current span {
    color: #fff !important;
}
[data-theme=dark] .content-list .list-item .list-tags .tag:hover {
	color: inherit;
}
[data-theme=dark] .tag-list li {border: 1px solid #999; }

[data-theme=dark] .tag-list li a {color: #ccc;}

/* 다크모드: [data-theme="dark"] 기반 끝 */
