/*
 * 옛 「사용자 정의하기 > 추가 CSS」(it-service 테마에 저장돼 있던 것, custom_css 글 1411 — 2026-08-27) 원문.
 * 테마를 바꾸면 사라지는 값이라 파일로 옮겼다. 맨 뒤에 싣는다(inc/enqueue.php).
 */

/* ====== Base layout for single posts ====== */
.single-post .entry-content,
.single-post .post-content,
.single-post .post-inner,
.single-post .site-main article {
  max-width: 720px;         /* comfortable reading width */
  margin: 0 auto 4rem auto; /* center + bottom space */
  padding: 0 1.5rem;        /* side padding on small screens */
  font-size: 1.05rem;
  line-height: 1.8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans KR", sans-serif;
  color: #222;
}

/* Body background and contrast */
body.single-post {
  background: #f5f5f7;
}

.single-post .site-main article {
  background: #fff;
  border-radius: 12px;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

/* ====== Headings hierarchy ====== */
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans KR", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.single-post .entry-content h1 { font-size: 2rem; }
.single-post .entry-content h2 { font-size: 1.6rem; }
.single-post .entry-content h3 { font-size: 1.3rem; }
.single-post .entry-content h4 { font-size: 1.15rem; }

/* Tighten spacing when heading comes right after another element */
.single-post .entry-content h2:first-child,
.single-post .entry-content h3:first-child {
  margin-top: 0;
}

/* ====== Paragraphs & links ====== */
.single-post .entry-content p {
  margin: 0 0 1.2em;
}

.single-post .entry-content a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.35);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.single-post .entry-content a:hover {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.7);
}

/* ====== Lists ====== */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 1.5em 1.3em;
  padding-left: 1.1em;
}

.single-post .entry-content li {
  margin: 0.25em 0;
}

/* ====== Images & figures ====== */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.5rem auto;
}

.single-post .entry-content figure {
  margin: 1.5rem 0;
  text-align: center;
}

.single-post .entry-content figcaption {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* ====== Blockquotes ====== */
.single-post .entry-content blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid #3b82f6;
  background: #f1f5f9;
  border-radius: 8px;
  font-style: italic;
  color: #111827;
}

.single-post .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* ====== Code blocks ====== */
.single-post .entry-content pre,
.single-post .entry-content code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
               "Courier New", monospace;
  font-size: 0.9rem;
}

.single-post .entry-content pre {
  background: #020617;
  color: #e5e7eb;
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.single-post .entry-content code {
  background: #e5e7eb;
  padding: 0.15em 0.35em;
  border-radius: 4px;
}

/* ====== Tables ====== */
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.single-post .entry-content th,
.single-post .entry-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 0.9rem;
}

.single-post .entry-content th {
  background: #f3f4f6;
  font-weight: 600;
}

/* ====== Meta (title, date, categories) ====== */
.single-post .entry-title {
  max-width: 720px;
  margin: 0.5rem auto 0.75rem auto;
  padding: 0 1.5rem;
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

.single-post .entry-meta {
  max-width: 720px;
  margin: 0  auto 1.5rem auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #6b7280;
}

/* ====== Mobile tweaks ====== */
@media (max-width: 768px) {
  .single-post .entry-content,
  .single-post .post-content,
  .single-post .post-inner,
  .single-post .site-main article,
  .single-post .entry-title,
  .single-post .entry-meta {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .single-post .entry-title {
    font-size: 1.7rem;
  }

  .single-post .entry-content {
    font-size: 1rem;
    line-height: 1.75;
  }
}

.m-only {
  display: none;
}


	.mobile-only{
	   display: none;
	}

@media (max-width: 768px) {
  .m-only {
    display: inline;
  }
	.pc-only{
		display: none;
	}
	.mobile-only{
	   display: block;
	}
}

.pp-card-slider-content p{
	  white-space: normal!important;
    overflow-wrap: break-word!important;
    word-break: break-word!important;
}


.pp-card-slider-content p strong{
	  white-space: normal!important;
    overflow-wrap: break-word!important;
    word-break: break-word!important;
}

.elementor-element.elementor-element-1b7a89d.e-con-full.e-flex.e-con.e-child .reservation-button a {
    width: 200px !important;
}

.elementor-element.elementor-element-fc165a6.e-con-full.e-flex.e-con.e-child .reservation-button a {
    width: 108px;
}

@media only screen and (max-width: 767px) {
    .pp-card-slider {
        height: auto !important;
    }
}

#elementor-popup-modal-6083 .dialog-message {
    width: 360px!important;
    height: auto;
}

@media only screen and (max-width: 767px) {
	#elementor-popup-modal-6083 .dialog-message {
       width: 300px!important;
	}
}


blockquote {
  font-family: 'Paperlogy Regular', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
  padding: 1.2em 2em;
  margin: 2em 0;
  position: relative;
  background: #f9f9f9;
  border-left: 5px solid #000;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

blockquote::before {
  content: "“";
  font-size: 4rem;
  color: #000;
  position: absolute;
  left: 10px;
  top: -10px;
  font-family: 'Georgia', serif;
  line-height: 1;
}

blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: 0.95rem;
  color: #666;
  text-align: right;
}


/* Target lists only inside single post content */
/* 2026-08-27: 목록 글머리가 두 번 찍히던 문제 수정.
   테마(it-service)가 `.single .elementor-widget-theme-post-content ul/ol li` 에
   list-style:disc/decimal 을 지정하는데(우선순위가 여기보다 높음), 아래 커스텀
   `li::before` 글머리가 그 위에 하나 더 그려져 "• •", "1. 1." 로 보였다.
   커스텀 글머리(::before, list-style:none, counter)를 걷어내고 테마 기본 글머리만 쓴다. */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.75em;
}

/* Scope only to lists inside Elementor post content */
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  font-family: 'Paperlogy Regular', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.elementor-widget-theme-post-content ul li,
.elementor-widget-theme-post-content ol li {
  margin-bottom: 0.75em;
}

/* Change link color inside post content */
.elementor-widget-theme-post-content a {
  color: #000;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

/* Headings inside post content - black color */
.elementor-widget-theme-post-content h1,
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-theme-post-content h5,
.elementor-widget-theme-post-content h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #000; /* changed from brand color to black */
  margin: 1.8em 0 0.6em;
	font-family: Paperlogy Regular
}

/* Optional: keep font sizes defined */
.elementor-widget-theme-post-content h1 { font-size: 2rem; }
.elementor-widget-theme-post-content h2 { font-size: 1.75rem; }
.elementor-widget-theme-post-content h3 { font-size: 1.5rem; }
.elementor-widget-theme-post-content h4 { font-size: 1.3rem; }
.elementor-widget-theme-post-content h5 { font-size: 1.15rem; }
.elementor-widget-theme-post-content h6 {
  font-size: 1rem;
  color: #444; /* slightly softer tone for h6 */
}

.elementor-widget-theme-post-content img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1em;
}

/* Wrap: spacing + layout */
.elementor-post-navigation {
   display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  align-items: stretch;
}

/* Style only when link exists */
.elementor-post-navigation__link a {
  display: flex;
  align-items: center;
  gap: 1em;
  flex: 1;
  border: 1px solid #929292;
  padding: 1.2em 1.5em;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: inherit;
}


/* Hide empty prev/next blocks completely */
.elementor-post-navigation__link:empty {
  display: none;
}

/* Arrows */
.post-navigation__arrow-wrapper {
  font-size: 1.5em;
  color: #000;
  transition: color 0.3s ease;
}

.elementor-post-navigation__link a:hover .post-navigation__arrow-wrapper {
  color: #fff;
}

/* MOBILE layout: stack vertically */
@media (max-width: 768px) {
  .elementor-post-navigation {
    display: none;
  }

}

/* Labels and titles */
.post-navigation__prev--label,
.post-navigation__next--label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #999;
  display: block;
  margin-bottom: 0.2em;
}

.post-navigation__prev--title,
.post-navigation__next--title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
}

/* Outer container layout */
.elementor-element-20d29cf1 .e-con-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

/* Post content area (left side) */
.elementor-element-45ae1c2c {
  flex: 1 1 65%;
  padding-right: 2rem;
/*   border-right: 2px solid #eee; */
}
@media (max-width: 768px) {
  .mobile-br {
    display: block;
    height: 0;
  }
}

figure.wp-block-embed {
    margin: 20px 0;
}

.elementor-button:hover {
  background-color: #929292 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

/* Reset default styles */
.e-n-menu-title-container {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.25rem;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* On hover: smooth dark shift + elegant lift */
.e-n-menu-title-container:hover {
  color: black;
  transform: translateY(-2px);
}

/* Animated underline */
.e-n-menu-title-container::after {
  content: '';
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: black;
  transition: transform 0.3s ease;
}

.e-n-menu-title-container:hover::after {
  transform: translateX(-50%) scaleX(1);
}


.elementor-element.elementor-widget.elementor-widget-theme-post-content p {
    color: #000 !important;
}

#webchart a{
    min-width: 105.53px;
}
